/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: #fff; color: #1d1d1f; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── TOKENS ─── */
:root {
  --ink: #1d1d1f; --ink-soft: #6e6e73; --ink-mute: #a1a1a6;
  --surface: #f5f5f7; --surface-warm: #faf8f5;
  --amber: #bf7c30; --amber-dark: #a56828;
  --amber-glow: rgba(191,124,48,.12); --amber-line: rgba(191,124,48,.3);
  --white: #ffffff; --dark: #1d1d1f; --dark2: #2d2d2f;
  --radius-card: 18px;
  --shadow-s: 0 2px 8px rgba(0,0,0,.06); --shadow-m: 0 8px 32px rgba(0,0,0,.1); --shadow-l: 0 16px 60px rgba(0,0,0,.14);
}
a:hover { color: var(--amber-dark); }

/* ─── SCROLL REVEAL ─── */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.25,.46,.45,.94), transform .7s cubic-bezier(.25,.46,.45,.94); }
.rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ─── NAV (shared) ─── */
nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 300; background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); transition: box-shadow .3s; }
nav.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,.08); }
.nav-w { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; height: 48px; }
.nav-logo { font-family: 'Space Grotesk', sans-serif; font-size: .95rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: .76rem; font-weight: 400; color: var(--ink-soft); transition: color .2s; letter-spacing: .01em; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.nav-active { color: var(--ink); font-weight: 500; }
.nav-cta { background: var(--amber); color: var(--white) !important; padding: 7px 16px; border-radius: 20px; font-size: .76rem !important; font-weight: 500 !important; transition: background .2s, transform .15s !important; }
.nav-cta:hover { background: var(--amber-dark) !important; transform: scale(1.03); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; padding: 0; margin-right: -8px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, top .25s, background .2s; }
.nav-toggle span { position: relative; }
.nav-toggle span::before { content: ''; position: absolute; left: 0; top: -6px; }
.nav-toggle span::after { content: ''; position: absolute; left: 0; top: 6px; }
#N.nav-open .nav-toggle span { background: transparent; }
#N.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
#N.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ─── BUTTONS (shared) ─── */
.btn-amber { background: var(--amber); color: var(--white); padding: 14px 28px; border-radius: 30px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: .9rem; letter-spacing: -.01em; transition: background .2s, transform .15s; display: inline-flex; align-items: center; gap: 9px; border: 0; cursor: pointer; }
.btn-amber:hover { background: var(--amber-dark); transform: scale(1.02); color: var(--white); }
.btn-amber:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-amber:focus-visible, .btn-secondary-ink:focus-visible { outline: 2px solid var(--amber-dark); outline-offset: 3px; }
.btn-secondary-ink { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); background: transparent; border: 1.5px solid rgba(0,0,0,.18); padding: 13px 22px; border-radius: 30px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: .9rem; letter-spacing: -.01em; transition: background .2s, border-color .2s, transform .15s; cursor: pointer; }
.btn-secondary-ink:hover { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.32); transform: scale(1.02); color: var(--ink); }
.btn-secondary-ink:disabled { opacity: .4; cursor: not-allowed; transform: none; }

/* ─── SECTION SHELL (shared) ─── */
.sec { padding: 96px 32px; }
.sec-surface { background: var(--surface); }
.max { max-width: 1080px; margin: 0 auto; }
.max-narrow { max-width: 720px; margin: 0 auto; }
.eyebrow { font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; display: block; }
.display-hl { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.9rem, 3.8vw, 2.7rem); font-weight: 600; line-height: 1.14; letter-spacing: -.03em; color: var(--ink); }
.display-hl em { font-style: italic; font-family: 'Lora', serif; color: var(--amber); font-weight: 500; }
.body-lg { font-size: 1.02rem; color: var(--ink-soft); font-weight: 300; line-height: 1.75; }

/* ─── BREADCRUMB ─── */
.bc-wrap { padding: 72px 32px 0; background: var(--surface-warm); }
.bc { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--ink-mute); max-width: 1080px; margin: 0 auto; }
.bc a { color: var(--ink-soft); font-weight: 500; }
.bc a:hover { color: var(--amber-dark); }
.bc-sep { color: var(--ink-mute); }
.bc [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ─── PAGE HERO ─── */
.g-hero { background: var(--surface-warm); padding: 28px 32px 64px; border-bottom: 1px solid rgba(0,0,0,.06); }
.g-hero-in { max-width: 1080px; margin: 0 auto; }
.g-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); margin-bottom: 18px; max-width: 720px; }
.g-hero h1 em { font-style: italic; font-family: 'Lora', serif; color: var(--amber); font-weight: 500; }
.g-hero-intro { font-size: 1.02rem; color: var(--ink-soft); font-weight: 300; line-height: 1.75; max-width: 600px; }

/* ─── FORM SHELL ─── */
.form-wrap { max-width: 640px; margin: -40px auto 0; padding: 0 32px; position: relative; z-index: 2; }
.form-card { background: var(--white); border-radius: 22px; box-shadow: var(--shadow-l); border: 1px solid rgba(0,0,0,.06); padding: 40px 40px 34px; }

/* progress */
.fp-track { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.fp-seg { flex: 1; height: 4px; border-radius: 3px; background: rgba(0,0,0,.08); overflow: hidden; }
.fp-seg i { display: block; height: 100%; width: 0; background: var(--amber); border-radius: 3px; transition: width .35s ease; }
.fp-seg.done i { width: 100%; }
.fp-seg.active i { width: 100%; }
.fp-label { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 26px; display: block; }

/* steps */
.step-panel { display: none; }
.step-panel.active { display: block; }
.step-h { font-family: 'Space Grotesk', sans-serif; font-size: 1.28rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin-bottom: 6px; }
.step-sub { font-size: .88rem; color: var(--ink-soft); font-weight: 300; margin-bottom: 26px; line-height: 1.6; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: .8rem; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.field label .opt { font-weight: 400; color: var(--ink-mute); text-transform: none; letter-spacing: 0; }
.field input, .field textarea {
  width: 100%; font-family: 'DM Sans', sans-serif; font-size: .94rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid transparent; border-radius: 12px;
  padding: 12px 14px; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--amber-line); box-shadow: 0 0 0 3px var(--amber-glow); }
.field input:invalid:not(:placeholder-shown), .field textarea:invalid:not(:placeholder-shown) { border-color: rgba(191,60,30,.4); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.radio-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.radio-opt { display: flex; align-items: center; gap: 9px; background: var(--surface); border: 1.5px solid transparent; border-radius: 12px; padding: 11px 16px; font-size: .88rem; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.radio-opt input { accent-color: var(--amber); width: 16px; height: 16px; flex-shrink: 0; }
.radio-opt:has(input:checked) { border-color: var(--amber-line); background: var(--amber-glow); }
.consent-opt { width: 100%; align-items: flex-start; }
.consent-opt input { margin-top: 2px; }
.consent-opt span { font-weight: 500; }

.step-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; }
.step-nav .spacer { flex: 1; }
.fm-err { font-size: .82rem; color: #a53e2b; margin-top: -6px; margin-bottom: 16px; display: none; }
.fm-err.show { display: block; }

/* thank you */
.ty-panel { display: none; text-align: center; padding: 12px 0 6px; }
.ty-panel.active { display: block; }
.ty-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--amber-glow); color: var(--amber-dark); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.ty-icon svg { width: 28px; height: 28px; }
.ty-panel h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin-bottom: 12px; }
.ty-panel p { font-size: .96rem; color: var(--ink-soft); font-weight: 300; line-height: 1.7; max-width: 460px; margin: 0 auto 26px; }
.ty-btns { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

.fine { font-size: .8rem; color: var(--ink-mute); text-align: center; margin-top: 20px; }
.fine a { color: var(--amber-dark); font-weight: 500; border-bottom: 1px solid var(--amber-line); }
.callout { background: var(--surface-warm); border: 1px solid var(--amber-line); border-radius: 16px; padding: 20px 22px; }
.callout p { font-size: .88rem; color: var(--ink); font-weight: 400; line-height: 1.65; }

/* ─── FOOTER (shared) ─── */
footer { background: var(--dark); color: rgba(255,255,255,.45); padding: 64px 32px 32px; }
.ft { max-width: 1080px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.fb-logo { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: -.02em; color: var(--white); margin-bottom: 10px; }
.fb-desc { font-size: .78rem; color: rgba(255,255,255,.35); line-height: 1.65; max-width: 240px; font-weight: 300; }
.fc h5 { font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 16px; }
.fc a { display: block; font-size: .8rem; color: rgba(255,255,255,.45); margin-bottom: 9px; transition: color .2s; }
.fc a:hover { color: var(--white); }
.fc a.active { color: var(--amber); }
.fc span { display: block; font-size: .8rem; color: rgba(255,255,255,.35); margin-bottom: 9px; }
.fb-bot { max-width: 1080px; margin: 28px auto 0; display: flex; justify-content: space-between; font-size: .72rem; color: rgba(255,255,255,.22); flex-wrap: wrap; gap: 8px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-w { position: relative; }
  .nav-links { position: absolute; top: calc(100% + 10px); right: 0; flex-direction: column; align-items: stretch; gap: 2px; min-width: 210px; background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 16px; box-shadow: 0 18px 44px rgba(0,0,0,.16); padding: 10px; opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .2s, transform .2s; }
  #N.nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { font-size: .95rem; padding: 11px 14px; border-radius: 9px; }
  .nav-links a:not(.nav-cta):hover { background: rgba(0,0,0,.045); color: var(--ink); }
  .nav-links a.nav-cta { margin-top: 6px; text-align: center; padding: 12px 14px !important; border-radius: 11px; font-size: .9rem !important; }
  .g-hero { padding: 20px 22px 56px; }
  .form-wrap { padding: 0 18px; margin-top: -28px; }
  .form-card { padding: 28px 22px 26px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .step-nav { flex-wrap: wrap; }
}
