/* Eagle Spirit Collective — site styles
   Palette carried over from the original site: sage #738d6d, light greens,
   indigo accent #3632db, Quicksand + Muli (now "Mulish") type. */

:root {
  --forest: #23332a;
  --forest-2: #2c3e30;
  --moss: #4a6741;
  --sage: #738d6d;
  --sage-light: #a5c99c;
  --mint: #bde6b3;
  --mint-soft: #e6f2e2;
  --cream: #f9f7f4;
  --sand: #efebe4;
  --line: #e2ddd4;
  --indigo: #3632db;
  --indigo-dark: #1d1990;
  --indigo-soft: #d8d8fa;
  --ink: #1f2420;
  --ink-2: #4a514b;
  --white: #ffffff;
  --amber: #b7791f;
  --amber-soft: #fdf3dc;
  --red: #b42318;
  --red-soft: #fde8e6;

  --font-head: "Quicksand", system-ui, sans-serif;
  --font-body: "Mulish", "Muli", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(35, 51, 42, 0.10);
  --shadow-lg: 0 24px 60px rgba(35, 51, 42, 0.18);
  --wrap: 1120px;
  --gutter: 20px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 7vw, 3.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.4rem); }
p { margin: 0 0 1.1em; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--indigo-dark); }
strong { font-weight: 800; }

:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--indigo); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
/* backdrop-filter would make the header the containing block for the fixed mobile menu, so desktop only */
@media (min-width: 1080px) {
  .site-header { background: rgba(249, 247, 244, 0.9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); min-width: 0; }
.brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sage-light); flex: none; }
.brand span { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; line-height: 1.1; white-space: nowrap; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; min-width: 46px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--white);
  font: 700 0.95rem var(--font-head); color: var(--forest); cursor: pointer;
}
.nav-toggle .bars { width: 18px; height: 12px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s, top .25s;
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars span { top: 5px; }
.nav-toggle .bars::after { top: 10px; }
.nav-open .nav-toggle .bars::before { top: 5px; transform: rotate(45deg); }
.nav-open .nav-toggle .bars span { opacity: 0; }
.nav-open .nav-toggle .bars::after { top: 5px; transform: rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--cream);
  padding: 12px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px; min-height: 52px;
  font: 600 1.15rem var(--font-head); color: var(--forest); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav a::after { content: "›"; color: var(--sage); font-size: 1.4rem; line-height: 1; }
.site-nav a[aria-current="page"] { color: var(--indigo); }
.site-nav .nav-cta { margin-top: 22px; display: grid; gap: 12px; }
.site-nav .nav-cta a { border: 0; justify-content: center; }
.site-nav .nav-cta a::after { content: none; }
.site-nav .nav-cta a.btn-primary { color: var(--white); }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; inset: auto; padding: 0; background: none; transform: none; opacity: 1; visibility: visible; overflow: visible; display: flex; align-items: center; gap: 18px; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav a { padding: 8px 10px; min-height: 0; border: 0; font-size: 0.95rem; border-radius: 999px; }
  .site-nav a::after { content: none; }
  .site-nav a:hover { background: var(--mint-soft); }
  .site-nav a[aria-current="page"] { background: var(--mint-soft); }
  .site-nav .nav-cta { margin: 0; display: flex; gap: 8px; }
  .site-nav .nav-cta a { padding: 10px 18px; font-size: 0.95rem; }
  .site-nav .nav-cta .btn-ghost { display: none; }
  .site-nav .nav-cta .btn-primary:hover { background: var(--indigo-dark); color: #fff; }
  .site-nav .more { display: none; }
}
@media (min-width: 1080px) and (max-width: 1240px) { .site-nav .extra { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 26px;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem var(--font-head); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--indigo); color: var(--white); box-shadow: 0 8px 22px rgba(54, 50, 219, 0.28); }
.btn-primary:hover { background: var(--indigo-dark); color: var(--white); }
.btn-sage { background: var(--moss); color: var(--white); }
.btn-sage:hover { background: var(--forest-2); color: var(--white); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--sage); }
.btn-ghost:hover { background: var(--mint-soft); color: var(--forest); }
.btn-light { background: var(--white); color: var(--forest); }
.btn-light:hover { background: var(--mint); color: var(--forest); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .btn-row .btn { flex: 1 1 100%; } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 10vw, 104px) 0; }
.section-tight { padding: clamp(40px, 7vw, 72px) 0; }
.section-sand { background: var(--sand); }
.section-mint { background: var(--mint-soft); }
.section-dark { background: var(--forest); color: #dfe8dc; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font: 700 0.8rem var(--font-head); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--moss);
}
.section-dark .eyebrow { color: var(--mint); }
.lead { font-size: clamp(1.1rem, 2.6vw, 1.25rem); color: var(--ink-2); }
.section-dark .lead { color: #cdd9c9; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: var(--forest);
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,30,24,.35) 0%, rgba(20,30,24,.55) 45%, rgba(20,30,24,.92) 100%),
    radial-gradient(ellipse at 20% 100%, rgba(54,50,219,.35), transparent 60%);
}
.hero-inner { padding: clamp(150px, 42vw, 300px) 0 clamp(48px, 9vw, 96px); max-width: 760px; }
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero .lead { color: #e7efe4; margin-bottom: 28px; }
.hero .eyebrow { color: var(--mint); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font-size: .92rem; color: #cfdccb; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }

.page-hero {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(54,50,219,.22), transparent 55%),
    linear-gradient(160deg, var(--forest) 0%, var(--forest-2) 55%, var(--moss) 100%);
  color: var(--white);
  padding: clamp(48px, 10vw, 96px) 0 clamp(44px, 8vw, 80px);
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 6vw, 3.1rem); margin-bottom: 12px; }
.page-hero .lead { color: #d6e2d2; margin: 0; max-width: 640px; }
.page-hero .eyebrow { color: var(--mint); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 600px) and (max-width: 899px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--white); border-radius: var(--radius); padding: clamp(22px, 4vw, 30px);
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.03);
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mint-soft); color: var(--moss); margin-bottom: 16px;
}
.card .icon svg { width: 24px; height: 24px; }
.card-question { font-family: var(--font-head); font-weight: 700; color: var(--moss); font-size: .95rem; margin-bottom: .6em; }

.split { display: grid; gap: clamp(28px, 6vw, 64px); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--sand); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-tall { aspect-ratio: 4 / 5; }
.photo-wide { aspect-ratio: 4 / 3; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 22px; left: clamp(22px, 4vw, 30px);
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--indigo); color: #fff; font: 700 .95rem var(--font-head);
}
.step a { font-weight: 700; }

/* Quote */
.quote {
  position: relative; margin: 0; padding: clamp(26px, 5vw, 40px);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 5px solid var(--sage);
}
.quote p { font-size: 1.05rem; font-style: italic; color: var(--ink-2); }
.quote footer, .quote cite { font-style: normal; font-weight: 700; color: var(--moss); font-size: .95rem; }
.section-dark .quote { background: rgba(255,255,255,.06); box-shadow: none; border-left-color: var(--mint); }
.section-dark .quote p { color: #e3ebe0; }
.section-dark .quote footer, .section-dark .quote cite { color: var(--mint); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .92rem; color: var(--ink-2); }

/* FAQ accordion */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--radius-sm); box-shadow: 0 2px 10px rgba(35,51,42,.06); border: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative;
  font: 700 1.05rem/1.4 var(--font-head); color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--mint-soft) no-repeat center / 12px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%234a6741' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 20px; color: var(--ink-2); }
.faq .answer p:last-child { margin: 0; }

/* CTA band */
.cta-band {
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(54,50,219,.5), transparent 55%),
    linear-gradient(140deg, var(--forest-2), var(--moss));
  color: #e8efe5; padding: clamp(32px, 6vw, 60px); text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 26px; }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--mint) no-repeat center / 12px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%232c3e30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Prose */
.prose h2 { font-size: clamp(1.4rem, 3.6vw, 1.75rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose > :first-child { margin-top: 0; }

.signoff { margin-top: 2em; padding-top: 1.4em; border-top: 1px solid var(--line); font-family: var(--font-head); }
.signoff strong { display: block; color: var(--forest); font-size: 1.15rem; }

/* Beliefs */
.belief-list { display: grid; gap: 14px; counter-reset: belief; }
.belief { background: var(--white); border-radius: var(--radius-sm); padding: 20px 22px; box-shadow: 0 2px 10px rgba(35,51,42,.05); border: 1px solid var(--line); }
.belief p { margin: 0; }
.belief .lead-in { font-family: var(--font-head); font-weight: 700; color: var(--moss); letter-spacing: .04em; }

/* Testimonials */
.testimonials { columns: 1; column-gap: 18px; }
@media (min-width: 820px) { .testimonials { columns: 2; } }
.testimonial { break-inside: avoid; margin: 0 0 18px; }
.testimonial .quote p { font-style: normal; color: var(--ink); }
.testimonial ul { padding-left: 1.1em; margin: 0 0 1em; color: var(--ink-2); }
.testimonial li { margin-bottom: .25em; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.testimonial .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--forest); display: grid; place-items: center; font: 700 .9rem var(--font-head); flex: none; }
.testimonial .who cite span { display: block; font-weight: 400; color: var(--ink-2); font-size: .88rem; }
.read-more { margin-top: 4px; background: none; border: 0; padding: 6px 0; font: 700 .95rem var(--font-head); color: var(--indigo); cursor: pointer; }
.clamp { max-height: 15em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #000; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.video-poster .play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: var(--indigo); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.video-poster .play::before { content: ""; border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }

/* Info tiles (ceremony page) */
.info-tile { display: flex; gap: 16px; align-items: flex-start; }
.info-tile .icon { margin: 0; flex: none; }
.price { font: 700 2.2rem/1 var(--font-head); color: var(--forest); margin: 4px 0 10px; }
.price small { font-size: .95rem; font-weight: 600; color: var(--ink-2); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 5vw, 40px); border: 1px solid rgba(0,0,0,.03); }
.field { margin-bottom: 22px; }
.field > label, .field > .label, fieldset > legend {
  display: block; font-weight: 700; color: var(--forest); margin-bottom: 8px; line-height: 1.45; font-size: 1rem;
}
.req { color: var(--red); margin-left: 2px; }
.hint { display: block; font-weight: 400; color: var(--ink-2); font-size: .92rem; margin-top: 2px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea, select {
  width: 100%; font: inherit; font-size: 16px; /* 16px stops iOS zoom-on-focus */
  color: var(--ink); background: var(--cream);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 14px; min-height: 52px;
  transition: border-color .15s, box-shadow .15s, background .15s;
  -webkit-appearance: none; appearance: none;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--indigo); background: var(--white); box-shadow: 0 0 0 4px var(--indigo-soft); }
.field.invalid input, .field.invalid textarea, fieldset.invalid .choice { border-color: var(--red); }
.error-msg { display: none; color: var(--red); font-size: .9rem; font-weight: 700; margin-top: 6px; }
.field.invalid .error-msg, fieldset.invalid .error-msg { display: block; }
.input-initials { max-width: 160px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }

fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.choices { display: grid; gap: 10px; }
@media (min-width: 640px) { .choices.cols-2 { grid-template-columns: 1fr 1fr; } }
.choice {
  position: relative; display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; min-height: 54px;
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer; line-height: 1.45; transition: border-color .15s, background .15s;
}
.choice:hover { border-color: var(--sage); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .box {
  flex: none; width: 22px; height: 22px; margin-top: 1px;
  border: 2px solid var(--sage); background: var(--white); border-radius: 6px;
  display: grid; place-items: center; transition: background .15s, border-color .15s;
}
.choice input[type="radio"] + .box { border-radius: 50%; }
.choice input:checked + .box { background: var(--indigo); border-color: var(--indigo); }
.choice input[type="checkbox"]:checked + .box::after {
  content: ""; width: 11px; height: 6px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: translate(0, -1px) rotate(-45deg);
}
.choice input[type="radio"]:checked + .box::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.choice:has(input:checked) { border-color: var(--indigo); background: #f3f3ff; }
.choice:has(input:focus-visible) { box-shadow: 0 0 0 4px var(--indigo-soft); }

.legal {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 18px 4px; margin-bottom: 18px;
  font-size: .9rem; line-height: 1.65; color: var(--ink-2);
}
@media (min-width: 760px) { .legal.scroll { max-height: 420px; overflow-y: auto; } }
.legal h4 { font-size: 1rem; margin-bottom: .6em; }
.legal p { margin-bottom: 1em; }

.notice { border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 22px; font-size: .97rem; }
.notice-info { background: var(--mint-soft); color: var(--forest); border: 1px solid var(--mint); }
.notice-warn { background: var(--amber-soft); color: #6b4a10; border: 1px solid #f2d8a0; }
.notice p:last-child { margin: 0; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 8px; }
.form-actions .btn { flex: 1 1 160px; }
@media (min-width: 640px) { .form-actions .btn { flex: 0 0 auto; } }
.form-status { margin-top: 16px; font-weight: 700; }
.form-status.error { color: var(--red); }
.hp { position: absolute; left: -9999px; }

/* Multi-step form */
.stepper { margin-bottom: 26px; }
.stepper-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font-family: var(--font-head); }
.stepper-top strong { color: var(--forest); font-size: 1.05rem; }
.stepper-top span { color: var(--ink-2); font-size: .9rem; white-space: nowrap; }
.progress { height: 8px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.progress > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--moss), var(--sage-light)); border-radius: inherit; transition: width .35s ease; }
.form-step[hidden] { display: none; }
.form-step h2 { font-size: clamp(1.35rem, 4vw, 1.7rem); }
.js .form-step:not(.active) { display: none; }

.success-panel { text-align: center; padding: clamp(28px, 6vw, 48px) 8px; }
.success-panel .tick { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; background: var(--mint); display: grid; place-items: center; }
.success-panel .tick svg { width: 34px; height: 34px; }

/* Quiz */
.quiz-q h2 { font-size: clamp(1.3rem, 4vw, 1.6rem); margin-bottom: 6px; }
.quiz-q .hint { margin-bottom: 18px; font-size: .95rem; }
.result-card { border-left: 6px solid var(--moss); }
.result-card.status-review { border-left-color: var(--amber); }
.result-card.status-no { border-left-color: var(--red); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font: 700 .85rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; background: var(--mint-soft); color: var(--forest); }
.status-review .status-pill { background: var(--amber-soft); color: #6b4a10; }
.status-no .status-pill { background: var(--red-soft); color: var(--red); }
.score { font: 700 1.05rem var(--font-head); color: var(--forest); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: #c6d3c2; padding: 56px 0 28px; font-size: .97rem; }
.site-footer a { color: #e6eee3; text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sage); }
.footer-brand span { font: 700 1.2rem var(--font-head); color: var(--white); }
.site-footer h4 { color: var(--white); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer ul a { display: inline-block; padding: 6px 0; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--indigo); text-decoration: none; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; font-size: .86rem; color: #9fb09b; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* Mobile sticky CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(249,247,244,.96); border-top: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; gap: 10px;
  transform: translateY(110%); transition: transform .25s ease;
}
.mobile-cta.show { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 48px; padding: 10px 14px; font-size: .95rem; }
@media (min-width: 1080px) { .mobile-cta { display: none; } }
.has-mobile-cta .site-footer { padding-bottom: calc(28px + 76px); }
@media (min-width: 1080px) { .has-mobile-cta .site-footer { padding-bottom: 28px; } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
