/* ═══════════════════════════════════════════════════════════════
   MERODIA — Shared Stylesheet
   Brand: MERODIA BUSINESS CONSULTANCY & ADVISORY S.R.L.
   Design system: Brand/palette.md · Brand/typography.md
═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   TOKENS — verbatim from Brand/palette.md :root
───────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --navy:   #09152a;  /* primary background / darkest field */
  --deep:   #0c1c38;  /* surface / cards on the dark field */
  /* Blues */
  --royal:  #1a3a6e;  /* primary brand blue */
  --mid:    #2a5298;  /* secondary blue */
  --bright: #4a7fd8;  /* accent blue / interactive */
  /* Accent */
  --gold:   #c9a84c;  /* primary accent — emphasis only */
  --gold-l: #e8c97a;  /* light gold / highlights */
  /* Neutrals */
  --sand:   #d4b896;  /* warm neutral */
  --ivory:  #f5f0e8;  /* light background */
  --silver: #8a9bb8;  /* muted / secondary text */
  --white:  #f0f5ff;  /* primary text on dark (cool off-white, never #fff) */

  /* Typography custom properties — from Brand/typography.md */
  --font-display:  'Cormorant Garamond', serif;
  --font-wordmark: 'Cinzel', serif;
  --font-body:     'Montserrat', sans-serif;

  /* Type scale — from Brand/typography.md (web/rem column) */
  --type-display:  4.000rem;   /* 64px  — hero headline */
  --type-h1:       2.500rem;   /* 40px  — page title */
  --type-h2:       1.750rem;   /* 28px  — section head */
  --type-h3:       1.375rem;   /* 22px  — subsection / card head */
  --type-eyebrow:  0.750rem;   /* 12px  — ALL-CAPS label */
  --type-lead:     1.125rem;   /* 18px  — lead paragraph */
  --type-body:     1.000rem;   /* 16px  — body copy */
  --type-caption:  0.813rem;   /* 13px  — footnotes / captions */

  /* Hairlines */
  --hairline:      rgba(255,255,255,0.08);
  --hairline-soft: rgba(255,255,255,0.05);
  --hairline-warm: #d9cfbf;    /* on ivory surfaces */

  /* Layout */
  --max-content: 1200px;
  --section-pad: clamp(56px, 8vw, 112px);
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─────────────────────────────────────────────
   TYPOGRAPHY ATOMS
───────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, var(--type-display));
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, var(--type-h1));
  font-weight: 400;
  line-height: 1.12;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, var(--type-h2));
  font-weight: 400;
  line-height: 1.2;
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: var(--type-h3);
  font-weight: 600;
  line-height: 1.25;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--type-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.lead {
  font-family: var(--font-body);
  font-size: var(--type-lead);
  font-weight: 300;
  line-height: 1.65;
  color: var(--silver);
}

.body-text {
  font-size: var(--type-body);
  font-weight: 300;
  line-height: 1.65;
  color: #c8d4e8;
}

.caption {
  font-size: var(--type-caption);
  font-weight: 300;
  line-height: 1.5;
  color: var(--silver);
}

/* Wordmark / Cinzel lock */
.wm {
  font-family: var(--font-wordmark);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.25em;
  line-height: 1;
  color: var(--white);
}
.wm-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* Gold emphasis inline */
.gold-word { color: var(--gold); }

/* Pull quote */
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.625rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--white);
}

/* ─────────────────────────────────────────────
   DIVIDERS & RULES
───────────────────────────────────────────── */
.rule-gold {
  display: block;
  width: 64px;
  height: 2px;
  background: var(--gold);
  border: none;
}
.rule-fade {
  display: block;
  width: 100%;
  height: 1px;
  border: none;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.rule-fade-centre {
  display: block;
  width: 80px;
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 32px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  line-height: 1;
}

/* Primary — gold fill */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-l);
  border-color: var(--gold-l);
}

/* Ghost — gold border on dark */
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(201,168,76,0.6);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Ghost on ivory */
.btn-ghost-navy {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--royal);
}
.btn-ghost-navy:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ─────────────────────────────────────────────
   LAYOUT UTILITIES
───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

.section-pad {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

/* Atmospheric glow on dark sections */
.glow {
  position: relative;
}
.glow::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 50% 20%, rgba(42,82,152,0.14) 0%, transparent 70%);
  z-index: 0;
}
.glow > * { position: relative; z-index: 1; }

/* Top accent bar used on sections */
.topbar-gold {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--royal), var(--gold), var(--royal));
}

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--navy);
  border-bottom: 1px solid var(--gold);
  height: 72px;
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand identity lockup */
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.header-brand .wm {
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  color: var(--white);
}
.header-mark {
  flex-shrink: 0;
  height: 36px;
  width: 36px;
}

/* Desktop nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-nav a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a.active { color: var(--gold); }

/* CTA button in nav */
.nav-cta {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ─── Hamburger (CSS-only checkbox toggle) ─── */
.nav-toggle { display: none; }
.hamburger-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 910;
}
.hamburger-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}

/* Mobile nav panel */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding: 24px clamp(20px, 5vw, 80px) 32px;
  gap: 20px;
  z-index: 899;
}
.mobile-nav a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline);
}
.mobile-nav .nav-cta {
  display: inline-block;
  margin-top: 8px;
  width: fit-content;
}

/* Checkbox controls mobile nav visibility */
.nav-toggle:checked ~ .site-header .mobile-nav,
.mobile-nav-wrapper:has(#nav-toggle:checked) .mobile-nav {
  display: flex;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--hairline);
}
.footer-main {
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 48px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--silver);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-brand .wm {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
}
.footer-brand-line {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--silver);
  line-height: 1.65;
  max-width: 280px;
}

/* Contact detail items in footer */
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}
.contact-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.contact-detail .label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-detail .value {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--silver);
  line-height: 1.5;
}
.contact-detail .value a {
  color: var(--silver);
  transition: color 0.2s;
}
.contact-detail .value a:hover { color: var(--white); }

/* Legal strip */
.footer-legal {
  border-top: 1px solid var(--hairline);
  padding: 20px 0;
}
.footer-legal p {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--silver);
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.footer-legal .legal-name {
  font-family: var(--font-wordmark);
  letter-spacing: 0.14em;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
}

/* ─────────────────────────────────────────────
   HERO SECTIONS
───────────────────────────────────────────── */
.hero {
  background: var(--navy);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12vw, 140px) 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(42,82,152,0.16) 0%, transparent 65%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.hero-text { max-width: 720px; }
.hero-text .eyebrow { margin-bottom: 20px; }
.hero-text .display { margin-bottom: 28px; }
.hero-text .lead { margin-bottom: 40px; max-width: 560px; }
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-mark {
  flex-shrink: 0;
  opacity: 0.9;
}

/* Compact hero (inner pages) */
.hero-compact {
  min-height: 50vh;
  padding: clamp(60px, 8vw, 100px) 0;
}
.hero-compact .display {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

/* ─────────────────────────────────────────────
   SECTION — WHAT WE DO (Three cards, ivory)
───────────────────────────────────────────── */
.section-ivory {
  background: var(--ivory);
  color: var(--navy);
}
.section-ivory .eyebrow { color: var(--royal); }
.section-ivory .h2 { color: var(--navy); }
.section-ivory .body-text { color: var(--royal); }
.section-ivory .lead { color: var(--mid); }

.section-navy {
  background: var(--navy);
}

.section-header {
  margin-bottom: 56px;
}
.section-header .eyebrow { margin-bottom: 14px; }
.section-header .h2 { margin-bottom: 0; }

/* Three-column card grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--deep);
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--gold);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-card .num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.service-card .h3 {
  color: var(--white);
  font-size: 1.25rem;
}
.service-card .body-text {
  flex: 1;
  font-size: 0.9rem;
}
.card-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  color: var(--gold);
  transition: color 0.2s;
  margin-top: auto;
}
.card-link:hover { color: var(--gold-l); }

/* ─────────────────────────────────────────────
   SECTION — APPROACH (Navy, four steps)
───────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.step {
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.step .step-num {
  font-family: var(--font-wordmark);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.step .h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.step .caption {
  line-height: 1.65;
}

/* ─────────────────────────────────────────────
   SECTION — WHY MERODIA (Trust strip, ivory)
───────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
  margin-bottom: 56px;
}
.stat-block {
  padding-left: 24px;
  border-left: 2px solid var(--hairline-warm);
}
.stat-block.key-stat {
  border-left-color: var(--gold);
}
.stat-block .figure {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-block .lbl {
  font-size: 0.82rem;
  color: var(--royal);
  line-height: 1.5;
  font-weight: 400;
}
.section-pull-quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.section-pull-quote .pull-quote {
  color: var(--royal);
}

/* ─────────────────────────────────────────────
   SECTION — CTA STRIP (navy)
───────────────────────────────────────────── */
.cta-strip {
  background: var(--navy);
  text-align: center;
  padding: 80px 0;
  position: relative;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(42,82,152,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-strip .container { position: relative; z-index: 1; }
.cta-strip .h2 {
  color: var(--white);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ─────────────────────────────────────────────
   ABOUT PAGE — Name story section
───────────────────────────────────────────── */
.name-story {
  max-width: 800px;
}
.name-story p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--royal);
  margin-bottom: 20px;
}
.name-story em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy);
}
.heritage-tags {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.htag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 1px;
}
.htag-meroe {
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
}
.htag-dacia {
  background: rgba(42,82,152,0.22);
  border: 1px solid rgba(74,127,216,0.4);
  color: var(--bright);
}

/* Leadership block */
.leadership-block {
  max-width: 700px;
}
.leadership-block .eyebrow {
  color: var(--royal);
  margin-bottom: 10px;
}
.leadership-block .h2 {
  color: var(--navy);
  margin-bottom: 4px;
}
.leadership-role {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.bio-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--royal);
  font-style: italic;
  border-left: 2px solid var(--gold);
  padding-left: 24px;
}

/* ─────────────────────────────────────────────
   SERVICES PAGE — Alternating sections
───────────────────────────────────────────── */
.service-section {
  padding: var(--section-pad) 0;
}
.service-section.navy-bg { background: var(--navy); }
.service-section.ivory-bg { background: var(--ivory); }

.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.service-layout .service-content .eyebrow {
  margin-bottom: 14px;
}
.service-layout .service-content.on-navy .eyebrow { color: var(--gold); }
.service-layout .service-content.on-ivory .eyebrow { color: var(--royal); }
.service-layout .service-content.on-navy .h2 { color: var(--white); }
.service-layout .service-content.on-ivory .h2 { color: var(--navy); }
.service-layout .service-content .desc {
  margin: 20px 0 28px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
}
.service-layout .service-content.on-navy .desc { color: var(--silver); }
.service-layout .service-content.on-ivory .desc { color: var(--royal); }

.service-scope-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.service-layout .service-content.on-navy .service-scope-label { color: var(--gold); }
.service-layout .service-content.on-ivory .service-scope-label { color: var(--gold); }

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.scope-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.55;
}
.scope-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}
.service-layout .service-content.on-navy .scope-list li { color: var(--silver); }
.service-layout .service-content.on-ivory .scope-list li { color: var(--royal); }

/* Service icon panel */
.service-icon-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-number-display {
  font-family: var(--font-display);
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
  opacity: 0.18;
  user-select: none;
}

/* ─────────────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Contact detail items */
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--gold);
}
.contact-item:first-child { border-top: 1px solid var(--gold); }
.contact-item .ci-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact-item .ci-value {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--royal);
  line-height: 1.55;
}
.contact-item .ci-value a {
  color: var(--royal);
  transition: color 0.2s;
}
.contact-item .ci-value a:hover { color: var(--gold); }

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--royal);
}
.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--hairline-warm);
  padding: 12px 16px;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
  line-height: 1.5;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* ─────────────────────────────────────────────
   RESPONSIVE — 768px breakpoint
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main .footer-col:last-child { grid-column: 1 / -1; }
  .service-layout { grid-template-columns: 1fr; gap: 40px; }
  .service-icon-panel { display: none; }
}

@media (max-width: 768px) {
  /* Header: show hamburger, hide desktop nav */
  .site-nav { display: none; }
  .hamburger-label { display: flex; }

  /* Hero layout collapses */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { display: none; }

  /* Cards single column */
  .cards-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }

  /* Footer single column */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0 36px;
  }
  .footer-main .footer-col:last-child { grid-column: auto; }

  /* Contact layout */
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }

  /* Smaller display type */
  .display { font-size: clamp(1.8rem, 7vw, 2.8rem); }
}

/* Mobile nav toggle logic */
@media (max-width: 768px) {
  .mobile-nav { display: none; }
  #nav-toggle:checked + .site-header-inner .hamburger-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  #nav-toggle:checked + .site-header-inner .hamburger-label span:nth-child(2) {
    opacity: 0;
  }
  #nav-toggle:checked + .site-header-inner .hamburger-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  #nav-toggle:checked ~ .mobile-nav { display: flex; }
}

/* Large screens */
@media (min-width: 1200px) {
  .hero { min-height: 92vh; }
}
