/* =============================================================
   Lex Financial Advisory — Design System
   Palette: Ink Navy · Graphite · Soft Gold · Paper · Light Gray
   Type: Spectral (display) · IBM Plex Sans (body/UI)
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --navy:      #0E1B2E;
  --navy-700:  #142740;
  --navy-600:  #1c3452;
  --graphite:  #33404F;
  --ink:       #16202E;
  --gold:      #B08D4C;
  --gold-soft: #C6A66A;
  --gold-tint: #F3ECDD;
  --paper:     #FBFAF7;
  --gray:      #EDEEF1;
  --line:      #E3E1DC;
  --line-navy: rgba(255, 255, 255, 0.14);
  --white:     #FFFFFF;
  --muted:     #6C7683;
  --muted-lt:  rgba(255, 255, 255, 0.66);

  /* Type */
  --font-display: 'Spectral', Georgia, 'Times New Roman', serif;
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Rhythm */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 4px;
  --radius-lg: 8px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.6s;

  --shadow-sm: 0 1px 2px rgba(14, 27, 46, 0.06);
  --shadow-md: 0 18px 40px -24px rgba(14, 27, 46, 0.35);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--gold-tint); color: var(--ink); }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section--tint { background: var(--white); border-block: 1px solid var(--line); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Clause eyebrow (signature) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow .clause {
  font-variant-numeric: tabular-nums;
  color: var(--graphite);
  letter-spacing: 0.12em;
}
.section--dark .eyebrow .clause { color: var(--muted-lt); }

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-top: 1.1rem;
}
.section-head p {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40rem;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy);
  --fg: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  background: var(--bg);
  color: var(--fg);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--bg);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
              color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--navy-700); border-color: var(--navy-700); }
.btn .btn-ico { width: 1rem; height: 1rem; transition: transform 0.35s var(--ease); }
.btn:hover .btn-ico { transform: translateX(3px); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: transparent; color: var(--gold); border-color: var(--gold); }

.btn--gold { --bg: var(--gold); --fg: var(--navy); }
.btn--gold:hover { --bg: var(--gold-soft); background: var(--gold-soft); border-color: var(--gold-soft); }

.btn--on-dark { --fg: var(--white); border-color: var(--line-navy); background: transparent; }
.btn--on-dark:hover { background: rgba(255,255,255,0.06); border-color: var(--gold); color: var(--gold-soft); }

.btn--lg { padding: 1.05rem 1.9rem; font-size: 0.95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  color: var(--ink);
}
.brand .mark {
  width: 34px; height: 34px;
  flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  border-radius: 3px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: var(--font-display);
}
.brand .brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-name b { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand .brand-name span {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-menu a {
  position: relative;
  font-size: 0.92rem;
  color: var(--graphite);
  padding: 0.35rem 0;
  transition: color 0.3s var(--ease);
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-menu a:hover,
.nav-menu a[aria-current="page"] { color: var(--ink); }
.nav-menu a:hover::after,
.nav-menu a[aria-current="page"]::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 0.9rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; color: var(--ink); }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: var(--section-y); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { position: relative; }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.15rem);
  margin-top: 1.4rem;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--gold); font-style: italic; font-weight: 400; }
.hero .lede {
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--graphite);
  max-width: 34rem;
  padding-left: 1.4rem;
  border-left: 2px solid var(--gold);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero-meta .item { display: flex; flex-direction: column; }
.hero-meta .k { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.hero-meta .v { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.02em; }

.hero-figure { position: relative; }
.hero-figure .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-figure .badge {
  position: absolute;
  left: -14px; bottom: 28px;
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius);
  border-left: 2px solid var(--gold);
  max-width: 15rem;
  box-shadow: var(--shadow-md);
}
.hero-figure .badge span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.35rem;
}
.hero-figure .badge b { font-family: var(--font-display); font-weight: 500; font-size: 1rem; }

/* ---------- Image placeholder ---------- */
.img-ph {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(14,27,46,0.04), rgba(176,141,76,0.08)),
    var(--gray);
  overflow: hidden;
}
.img-ph img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease); }
.img-ph.has-img img { opacity: 1; }
.img-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 30% 25%, rgba(176,141,76,0.14), transparent 70%);
}
.img-ph::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.6rem 0.9rem;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: linear-gradient(transparent, rgba(255,255,255,0.9));
}
.img-ph.has-img::before,
.img-ph.has-img::after { display: none; }
.img-ph--wide { aspect-ratio: 16 / 10; }
.img-ph--band { aspect-ratio: 21 / 9; }

/* ---------- Practice areas ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card {
  background: var(--paper);
  padding: clamp(1.6rem, 2.6vw, 2.25rem);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.card:hover { background: var(--white); }
.card .ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 1.25rem;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.card:hover .ico { border-color: var(--gold); }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.94rem; color: var(--muted); }
.card .idx {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  float: right;
  font-variant-numeric: tabular-nums;
}

/* ---------- Feature list (Why choose us) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.feature { border-top: 2px solid var(--gold); padding-top: 1.25rem; }
.feature .ico { color: var(--gold); width: 26px; height: 26px; margin-bottom: 1rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature p { font-size: 0.92rem; color: var(--muted); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-body p { font-size: 1.06rem; color: var(--graphite); margin-top: 1.2rem; }
.about-body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.8;
  float: left;
  padding: 0.35rem 0.75rem 0 0;
  color: var(--gold);
}
.values { list-style: none; margin: 1.9rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.values li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.98rem; color: var(--graphite); }
.values .tick { flex: none; color: var(--gold); width: 20px; height: 20px; margin-top: 2px; }
.about-figure .signoff {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Process (How consultation works) ---------- */
.section--dark {
  background: var(--navy);
  color: var(--muted-lt);
  position: relative;
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .section-head p { color: var(--muted-lt); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 2.75rem;
  border-top: 1px solid var(--line-navy);
}
.step .num {
  position: absolute;
  top: 1.1rem; left: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.step p { font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
  display: flex; flex-direction: column;
}
.quote .qmark { font-family: var(--font-display); font-size: 2.6rem; line-height: 0.5; color: var(--gold); height: 1.2rem; }
.quote blockquote { margin: 0.75rem 0 1.5rem; font-size: 1rem; color: var(--graphite); }
.quote .who { margin-top: auto; display: flex; align-items: center; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.quote .who .av {
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.quote .who b { font-size: 0.9rem; color: var(--ink); font-family: var(--font-sans); font-weight: 600; }
.quote .who span { display: block; font-size: 0.78rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 3px;
  background: var(--gold);
}
.cta .eyebrow { color: var(--gold-soft); }
.cta h2 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-top: 1rem; }
.cta p { color: var(--muted-lt); margin-top: 0.9rem; max-width: 32rem; }
.cta .cta-actions { display: flex; justify-content: flex-end; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}
.contact-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.contact-list li { display: flex; gap: 1rem; }
.contact-list .ico { flex: none; color: var(--gold); width: 22px; height: 22px; margin-top: 3px; }
.contact-list .lbl { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.contact-list .val { color: var(--ink); font-size: 1.02rem; }
.contact-list a.val:hover { color: var(--gold); }
.contact-actions { margin-top: 2rem; }

/* Map placeholder */
.map {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy);
}
.map svg.grid-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .pin {
  position: absolute;
  left: 50%; top: 46%;
  transform: translate(-50%, -100%);
  color: var(--gold);
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.4));
}
.map .pin svg { width: 40px; height: 40px; }
.map .map-card {
  position: absolute;
  left: 1.25rem; bottom: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  box-shadow: var(--shadow-md);
}
.map .map-card .t { font-family: var(--font-display); color: var(--ink); font-size: 1rem; }
.map .map-card .s { font-size: 0.8rem; color: var(--muted); }
.map .map-card a { color: var(--gold); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--muted-lt);
  padding-block: clamp(3.5rem, 6vw, 5rem) 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-navy);
}
.footer-brand .brand { color: var(--white); }
.footer-brand .brand .brand-name b { color: var(--white); }
.footer-brand .brand .brand-name span { color: var(--muted-lt); }
.footer-brand p { margin-top: 1.15rem; max-width: 24rem; font-size: 0.92rem; }
.footer-col h4 { color: var(--white); font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.15rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a, .footer-col address { font-size: 0.92rem; color: var(--muted-lt); font-style: normal; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.82rem;
}
.footer-bottom .legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--gold-soft); }

/* ============================================================
   Consultation page
   ============================================================ */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 5vw, 3.6rem); margin-top: 1.2rem; max-width: 18ch; }
.page-hero p { color: var(--muted-lt); margin-top: 1.3rem; max-width: 44rem; font-size: 1.1rem; }
.page-hero .crumbs { display: flex; gap: 0.6rem; align-items: center; font-size: 0.82rem; color: var(--muted-lt); margin-bottom: 1.75rem; }
.page-hero .crumbs a:hover { color: var(--gold-soft); }
.page-hero .crumbs .sep { color: var(--gold); }

.form-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* Form */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: 1.6rem; }
.form-card .form-intro { color: var(--muted); margin-top: 0.6rem; font-size: 0.96rem; margin-bottom: 1.75rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.col-2 { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(176,141,76,0.14);
}
.field .err { font-size: 0.78rem; color: #B23B3B; min-height: 0.9rem; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B23B3B; background: #fdf6f6; }
.field.has-error .err { display: block; }

.consent { grid-column: 1 / -1; display: flex; gap: 0.75rem; align-items: flex-start; margin-top: 0.25rem; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--gold); }
.consent label { font-size: 0.88rem; color: var(--graphite); font-weight: 400; }
.consent.has-error label { color: #B23B3B; }
/* Standalone consent error (sits outside a .field) */
.err[data-err-for="consent"] { display: none; font-size: 0.78rem; color: #B23B3B; }
.consent.has-error ~ .err[data-err-for="consent"] { display: block; }

.form-submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; flex-wrap: wrap; }
.form-submit .note { font-size: 0.8rem; color: var(--muted); }

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) 1rem;
}
.form-success.is-visible { display: block; animation: rise 0.6s var(--ease) both; }
.form-success .check {
  width: 64px; height: 64px; margin: 0 auto 1.5rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold);
}
.form-success .check svg { width: 30px; height: 30px; }
.form-success h2 { font-size: 1.9rem; }
.form-success p { color: var(--muted); margin-top: 0.9rem; max-width: 30rem; margin-inline: auto; }
.form-success .again { margin-top: 1.75rem; }

.is-form-sent .form-fields { display: none; }

/* Info column */
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.info-block { padding: 1.5rem 1.6rem; border-bottom: 1px solid var(--line); }
.info-block:last-child { border-bottom: 0; }
.info-block h3 { font-size: 1.12rem; display: flex; align-items: center; gap: 0.6rem; }
.info-block h3 .ico { color: var(--gold); width: 20px; height: 20px; }
.info-block p { font-size: 0.92rem; color: var(--muted); margin-top: 0.6rem; }
.info-block ul { margin: 0.7rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.info-block ul li { font-size: 0.9rem; color: var(--graphite); display: flex; gap: 0.6rem; }
.info-block ul li .dot { color: var(--gold); flex: none; }

/* FAQ accordion */
.faq { max-width: 52rem; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 1.4rem 3rem 1.4rem 0;
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--ink);
  display: flex; gap: 1rem;
}
.faq-q .qn { color: var(--gold); font-size: 0.85rem; font-family: var(--font-sans); padding-top: 0.35rem; font-variant-numeric: tabular-nums; }
.faq-q .plus {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; flex: none; color: var(--gold);
  transition: transform 0.4s var(--ease);
}
.faq-item.is-open .faq-q .plus { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a-inner { padding: 0 3rem 1.5rem 2.4rem; color: var(--muted); font-size: 0.98rem; }

/* ---------- Reveal animation (progressive enhancement: only when JS active) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-reveal-delay="5"] { transition-delay: 0.40s; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 520px; }
  .about-grid, .form-layout, .contact-grid, .cta { grid-template-columns: 1fr; }
  .cta .cta-actions { justify-content: flex-start; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-menu {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.25rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu li { border-bottom: 1px solid var(--line); }
  .nav-menu li:last-child { border-bottom: 0; }
  .nav-menu a { display: block; padding: 0.95rem 0; font-size: 1rem; }
  .nav-menu a::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta-desktop { display: none; }

  .cards { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero .lede { padding-left: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
