/* ==========================================================================
   С дете на офис — Coworking with Childcare (pre-launch landing page)
   ========================================================================== */

:root {
  /* Palette: earthy neutrals */
  --cream: #F6F1E7;
  --cream-200: #EFE7D8;
  --sand: #E5D6BE;
  --wood: #D8BF98;
  --wood-600: #B48C5E;
  --sage-100: #E4EBDD;
  --sage-300: #B5C2A8;
  --sage-500: #8A9A7B;
  --sage-600: #6F8063;
  --sage-800: #3E4A39;
  --terracotta-300: #E2A385;
  --terracotta: #C2714F;
  --terracotta-700: #A2532F; /* CTA bg — white text passes WCAG AA */
  --terracotta-800: #87431F;
  --slate: #4A5560;
  --slate-700: #333C44;
  --ink: #2A2F2C;
  --muted: #5E665F;
  --white: #FFFFFF;

  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(42, 47, 44, .06), 0 2px 8px rgba(42, 47, 44, .05);
  --shadow: 0 10px 30px -12px rgba(42, 47, 44, .22);
  --shadow-lg: 0 30px 60px -24px rgba(42, 47, 44, .32);

  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; margin: 0; color: var(--ink); letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--terracotta-700); text-underline-offset: 3px; }
a:hover { color: var(--terracotta-800); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--terracotta-700); color: var(--white); box-shadow: 0 8px 20px -10px rgba(162, 83, 47, .7); }
.btn-primary:hover { background: var(--terracotta-800); color: var(--white); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(162, 83, 47, .75); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(42, 47, 44, .22); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 15px; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover .btn-arrow { transform: translateY(3px); }

.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--terracotta-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--terracotta-800); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 231, .82);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: rgba(42, 47, 44, .08); box-shadow: 0 6px 24px -18px rgba(42, 47, 44, .4); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 23px; white-space: nowrap; }
.brand-accent { font-style: italic; font-weight: 500; color: var(--sage-600); }
.brand--light .brand-accent { color: var(--sage-300); }
.brand-tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--slate); text-decoration: none; font-weight: 600; font-size: 15px; position: relative; padding-block: 6px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px; cursor: pointer;
  background: var(--cream-200); border: 1px solid rgba(42, 47, 44, .1);
}
.lang-opt { padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted); transition: background-color .2s, color .2s; }
.lang-opt.is-active { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 7vw, 88px) clamp(64px, 9vw, 112px);
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(181, 194, 168, .35), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(226, 163, 133, .18), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.badge {
  display: inline-flex; align-items: flex-start; gap: 10px;
  padding: 10px 16px 10px 12px; margin-bottom: 26px;
  background: var(--white); border: 1.5px solid var(--terracotta-300); border-radius: 14px;
  color: var(--terracotta-800); font-weight: 700; font-size: 15px; line-height: 1.4;
  box-shadow: 0 6px 18px -10px rgba(162, 83, 47, .45);
}
.badge-icon { font-size: 18px; line-height: 1.2; animation: nudge 3.2s ease-in-out infinite; transform-origin: 30% 70%; }
@keyframes nudge { 0%, 82%, 100% { transform: rotate(0); } 86% { transform: rotate(-12deg); } 90% { transform: rotate(10deg); } 94% { transform: rotate(-6deg); } }

.hero h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.05; margin-bottom: 22px; }
.hero h1 .accent { display: block; color: var(--sage-600); font-style: italic; font-weight: 500; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 34em; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--slate); }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236F8063' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.hero-visual { position: relative; margin: 0; }
.hero-visual > svg { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-visual::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border-radius: var(--radius-lg); background: var(--wood); opacity: .45;
}
.visual-labels { position: absolute; inset: 0; pointer-events: none; }
.zone-chip {
  position: absolute; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  background: var(--white); box-shadow: var(--shadow);
}
.zone-work { left: 5%; bottom: 6%; color: var(--slate); }
.zone-play { right: 5%; bottom: 6%; color: var(--sage-800); }
.zone-glass { left: 50%; top: 5%; transform: translateX(-50%); color: var(--slate); background: rgba(255, 255, 255, .88); font-weight: 600; font-size: 12px; }
.zone-work::before, .zone-play::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.zone-work::before { background: var(--slate); }
.zone-play::before { background: var(--sage-500); }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta-700);
}
.eyebrow--light { color: var(--terracotta-300); }
.section-head h2, .survey-intro h2, .final-cta h2 { font-size: clamp(30px, 3.8vw, 46px); }
.section-lead { margin-top: 18px; color: var(--muted); font-size: 18px; }

/* ---------- Dilemma ---------- */
.dilemma { background: var(--white); }
.dilemma-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dilemma-card { padding: 32px 28px; border-radius: var(--radius); background: var(--cream); border: 1px solid rgba(42, 47, 44, .06); }
.dilemma-card h3 { font-size: 23px; margin: 10px 0 12px; }
.dilemma-card p { color: var(--muted); font-size: 16px; }
.dilemma-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dilemma-card:not(.dilemma-card--answer) h3 { text-decoration: line-through; text-decoration-color: rgba(194, 113, 79, .55); text-decoration-thickness: 2px; }
.dilemma-card--answer { background: var(--sage-600); border-color: transparent; box-shadow: var(--shadow); }
.dilemma-card--answer h3 { color: var(--white); }
.dilemma-card--answer p { color: rgba(255, 255, 255, .88); }
.dilemma-card--answer .dilemma-label { color: var(--sage-100); }

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 44px; left: 16%; right: 16%; height: 2px;
  background-image: linear-gradient(90deg, var(--wood) 50%, transparent 50%); background-size: 14px 2px;
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step-icon {
  width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--white); color: var(--sage-600);
  box-shadow: 0 0 0 8px var(--cream), var(--shadow);
}
.step:nth-child(2) .step-icon { color: var(--slate); }
.step:nth-child(3) .step-icon { color: var(--terracotta); }
.step-icon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.step-num { display: block; font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--wood-600); margin-bottom: 6px; }
.step h3 { font-size: 23px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; max-width: 30ch; margin-inline: auto; }

/* ---------- The space ---------- */
.space { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-200) 100%); }
.wings { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: stretch; }
.wing { padding: 36px 34px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.wing--work { background: var(--slate); color: var(--white); }
.wing--play { background: var(--sage-100); }
.wing-head { margin-bottom: 22px; }
.wing-tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.wing--work .wing-tag { background: rgba(255, 255, 255, .12); color: var(--sand); }
.wing--play .wing-tag { background: var(--white); color: var(--sage-600); }
.wing h3 { font-size: 26px; }
.wing--work h3 { color: var(--white); }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.feature-list li::before {
  content: ""; width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; border-radius: 7px;
  background: center / 13px no-repeat;
}
.wing--work .feature-list li { color: rgba(255, 255, 255, .9); }
.wing--work .feature-list li::before {
  background-color: rgba(255, 255, 255, .12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5D6BE' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}
.wing--play .feature-list li::before {
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236F8063' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}

.glass-divider { position: relative; display: grid; place-items: center; }
.glass-pane {
  position: absolute; top: 12%; bottom: 12%; left: 50%; width: 14px; transform: translateX(-50%);
  border-radius: 8px; border: 1px solid rgba(255, 255, 255, .9);
  background: linear-gradient(90deg, rgba(214, 226, 230, .6), rgba(255, 255, 255, .95), rgba(214, 226, 230, .6));
  box-shadow: 0 4px 16px -6px rgba(74, 85, 96, .35);
}
.glass-heart {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); box-shadow: var(--shadow);
}
.glass-heart svg { width: 24px; height: 24px; fill: var(--terracotta); }

.trust-strip {
  display: flex; gap: 22px; align-items: flex-start;
  max-width: 880px; margin: clamp(40px, 5vw, 56px) auto 0; padding: 28px 32px;
  background: var(--white); border-radius: var(--radius); border-left: 5px solid var(--sage-500); box-shadow: var(--shadow-sm);
}
.trust-icon { width: 46px; height: 46px; flex-shrink: 0; fill: none; stroke: var(--sage-600); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.trust-strip h3 { font-size: 21px; margin-bottom: 6px; }
.trust-strip p { color: var(--muted); font-size: 16px; }

/* ---------- Survey ---------- */
.survey { background: var(--sage-800); color: var(--white); position: relative; overflow: hidden; }
.survey::before {
  content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%;
  right: -260px; top: -260px; background: radial-gradient(circle, rgba(181, 194, 168, .22), transparent 70%);
}
.survey-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.survey-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.survey-intro h2 { color: var(--white); margin-bottom: 16px; }
.survey-intro > p { color: rgba(255, 255, 255, .82); font-size: 18px; }
.why-list { list-style: none; margin: 32px 0; padding: 0; display: grid; gap: 18px; counter-reset: why; }
.why-list li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; counter-increment: why; }
.why-list li::before {
  content: counter(why); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-serif); font-weight: 600;
  background: rgba(255, 255, 255, .1); color: var(--sand); border: 1px solid rgba(255, 255, 255, .18);
}
.why-list strong { color: var(--white); font-weight: 700; }
.why-list span { color: rgba(255, 255, 255, .74); font-size: 15px; }
.survey-perk { padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .9); font-size: 15px; }

.form-card {
  background: var(--cream); color: var(--ink);
  padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; padding: 0; }
.hint { font-weight: 500; color: var(--muted); font-size: 14px; }

input[type="text"], input[type="email"], select, textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  background: var(--white); border: 1.5px solid #D9CFBE;
  font-size: 16px; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: #9A9C94; }
input:hover, select:hover, textarea:hover { border-color: var(--wood-600); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sage-600); box-shadow: 0 0 0 4px rgba(111, 128, 99, .2); }
textarea { resize: vertical; min-height: 110px; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; pointer-events: none;
  border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: translateY(-70%) rotate(45deg);
}
select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
select:invalid { color: #8A8C84; }
select option, select optgroup { color: var(--ink); }

.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; margin: 0 !important; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--white); border: 1.5px solid #D9CFBE; transition: all .2s var(--ease);
}
.pill span::before {
  content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #BFB4A2; background: var(--white) center / 11px no-repeat;
  transition: all .2s;
}
.pill:hover span { border-color: var(--wood-600); }
.pill input:checked + span { background: var(--sage-100); border-color: var(--sage-600); color: var(--sage-800); }
.pill input:checked + span::before {
  border-color: var(--sage-600); background-color: var(--sage-600);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}
.pill input:focus-visible + span { outline: 3px solid var(--terracotta); outline-offset: 2px; }

.char-count { text-align: right; font-size: 13px; color: var(--muted); margin-top: 6px; }

.checkbox { display: grid !important; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; font-weight: 500 !important; font-size: 15px !important; line-height: 1.5; margin: 0 !important; }
.checkbox input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.checkbox-box {
  width: 24px; height: 24px; border-radius: 7px; border: 2px solid #B8AD9B; background: var(--white) center / 15px no-repeat;
  transition: all .2s; margin-top: 1px;
}
.checkbox input:checked + .checkbox-box {
  background-color: var(--sage-600); border-color: var(--sage-600);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}
.checkbox input:focus-visible + .checkbox-box { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.checkbox-text .link-btn { margin-left: 4px; font-size: inherit; }
.consent { padding: 16px; border-radius: 14px; background: var(--white); border: 1.5px solid #E2D9C9; }

.field-error { min-height: 0; margin-top: 6px; font-size: 14px; font-weight: 600; color: #B23A1E; }
.field-error:empty { display: none; }
.is-invalid input[type="text"], .is-invalid input[type="email"], .is-invalid select, input.is-invalid, select.is-invalid { border-color: #C8553A; }
.consent.is-invalid { border-color: #C8553A; }
.is-invalid .pill span { border-color: #E3A08E; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#submitBtn { margin-top: 4px; position: relative; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: var(--white); animation: spin .8s linear infinite; }
#submitBtn.is-loading .spinner { display: inline-block; }
#submitBtn.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-status { text-align: center; font-size: 14px; font-weight: 600; color: #B23A1E; margin-top: 8px; }
.form-status:empty { display: none; }

.form-success { text-align: center; padding: 24px 8px; outline: none; animation: rise .5s var(--ease); }
.success-icon { width: 76px; height: 76px; margin: 0 auto 20px; }
.success-icon svg { width: 100%; height: 100%; fill: var(--sage-100); stroke: var(--sage-600); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.success-icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .2s var(--ease) forwards; }
.form-success h3 { font-size: 30px; margin-bottom: 12px; }
.form-success p { color: var(--muted); max-width: 40ch; margin: 0 auto 14px; }
.success-share { font-size: 15px; padding-top: 14px; border-top: 1px solid #E2D9C9; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 820px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--white); border-radius: var(--radius); border: 1px solid rgba(42, 47, 44, .07); box-shadow: var(--shadow-sm); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-family: var(--font-serif); font-weight: 600; font-size: 19px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--terracotta); border-bottom: 2px solid var(--terracotta); transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final-cta { padding-bottom: clamp(72px, 9vw, 112px); }
.final-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg);
  background: var(--sand) linear-gradient(120deg, var(--wood) 0%, var(--sand) 60%);
}
.final-cta h2 { max-width: 18ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-700); color: rgba(255, 255, 255, .72); padding-top: 64px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; padding-bottom: 40px; }
.brand--light, .brand--light:hover { color: var(--white); }
.brand--light .brand-tag { color: rgba(255, 255, 255, .55); }
.footer-brand p { margin-top: 16px; }
.site-footer a { color: var(--sand); }
.site-footer a:hover { color: var(--white); }
.footer-heading { font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin-bottom: 12px; }
.footer-disclaimer {
  padding: 22px 24px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04);
}
.footer-links { margin-top: 14px; }
.site-footer .link-btn { color: var(--sand); }
.site-footer .link-btn:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px; font-size: 14px; color: rgba(255, 255, 255, .5); }

/* ---------- Privacy dialog ---------- */
.privacy-dialog {
  width: min(680px, calc(100% - 32px)); max-height: min(86vh, 820px); padding: 0;
  border: 0; border-radius: var(--radius-lg); background: var(--cream); color: var(--ink); box-shadow: var(--shadow-lg);
}
.privacy-dialog::backdrop { background: rgba(42, 47, 44, .55); backdrop-filter: blur(3px); }
.privacy-dialog[open] { animation: rise .3s var(--ease); }
.dialog-inner { position: relative; padding: clamp(24px, 4vw, 40px); }
.dialog-inner h2 { font-size: 28px; margin-bottom: 18px; padding-right: 40px; }
.dialog-body p { margin-bottom: 12px; font-size: 15px; color: var(--slate-700); }
.dialog-close {
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--cream-200); font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink);
}
.dialog-close:hover { background: var(--sand); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-ctas, .hero-points { justify-content: center; }
  .hero-visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .survey-grid { grid-template-columns: 1fr; }
  .survey-intro { position: static; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .dilemma-grid, .steps { grid-template-columns: 1fr; }
  .steps { gap: 40px; max-width: 460px; margin-inline: auto; }
  .steps::before { top: 44px; bottom: 44px; left: 50%; right: auto; width: 2px; height: auto; background-image: linear-gradient(180deg, var(--wood) 50%, transparent 50%); background-size: 2px 14px; opacity: .6; }
  .step { background: var(--cream); padding-bottom: 8px; }
  .wings { grid-template-columns: 1fr; }
  .glass-divider { height: 64px; }
  .glass-pane { top: 50%; bottom: auto; left: 12%; right: 12%; width: auto; height: 14px; transform: translateY(-50%); background: linear-gradient(180deg, rgba(214, 226, 230, .6), rgba(255, 255, 255, .95), rgba(214, 226, 230, .6)); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .final-cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-tag { display: none; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 18px; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; }
  .header-cta { padding: 8px 14px; }
  .badge { font-size: 14px; text-align: left; }
  .hero-ctas .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .zone-chip { font-size: 11px; padding: 5px 10px; }
  .zone-glass { display: none; }
  .wing { padding: 28px 24px; }
  .trust-strip { flex-direction: column; padding: 24px; }
}

@media (max-width: 420px) {
  .header-cta { display: none; }
}
