/* ==========================================================================
   Villa Peak Homes — Website Stylesheet
   Design tokens + all components. Self-contained; no external CSS deps.
   Fonts: Cormorant Garamond (display) + Nunito (body/UI) via Google Fonts
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Nunito:wght@400;600;700;900&display=swap');

/* ---------- Design Tokens ------------------------------------------------ */
:root {
  --cream-canvas:  #FAF7F2;
  --ironstone-ink: #2D312E;
  --sage-equity:   #5F6F52;
  --amber-action:  #C67A43;
  --amber-deep:    #A85C2E;
  --sand-strat:    #C9BB9E;
  --cream-alt:     #F0EBE1;
  --sage-light:    #8A9B7C;
  --sage-tint:     rgba(95,111,82,0.08);
  --amber-tint:    rgba(198,122,67,0.10);
  --muted:         #5A5E58;
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Nunito', system-ui, sans-serif;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --shadow-sm:  0 2px 8px rgba(45,49,46,0.08);
  --shadow-md:  0 6px 20px rgba(45,49,46,0.10);
  --shadow-lg:  0 16px 40px rgba(45,49,46,0.12);
  --ease:       cubic-bezier(0.22,0.61,0.36,1);
  --dur:        260ms;
  --max-w:      1360px;                    /* container max content width */
  --section-y:  clamp(3rem,7vw,5.5rem);    /* section vertical rhythm */
  --section-x:  clamp(20px, calc(5.63vw - 1.1px), 80px);  /* section L/R spacing: 20px @375 mobile -> 80px @1440 desktop */
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ironstone-ink);
  background: var(--cream-canvas);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--amber-action); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--amber-deep); }
h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.12; font-weight: 600; color: var(--ironstone-ink); text-wrap: balance; }
h1 { font-size: clamp(2.4rem,5vw,3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem,3.2vw,2.5rem); }
h3 { font-size: clamp(1.25rem,2vw,1.6rem); line-height: 1.25; }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--sage-equity); outline-offset: 3px; border-radius: 4px; }

/* ---------- Utilities ---------------------------------------------------- */
/* Container: controls content width only — no padding, no spacing margins.
   The auto inline margin only centres the content; horizontal spacing lives
   on the sections (var(--section-x)). */
.wrap { max-width: var(--max-w); margin-inline: auto; }
.section { padding: var(--section-y) var(--section-x); }
.section--alt { background: var(--cream-alt); }
.section--sage { background: var(--sage-equity); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-equity);
  margin-bottom: 10px;
}
.eyebrow--light { color: rgba(250,247,242,0.75); }
.lead { font-size: clamp(1.05rem,1.6vw,1.25rem); color: var(--muted); line-height: 1.6; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  border-radius: var(--r-sm); padding: 14px 28px;
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none; line-height: 1; white-space: nowrap;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-primary {
  background: var(--amber-action); color: var(--cream-canvas);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--amber-deep); color: var(--cream-canvas);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn-primary:active { transform: scale(0.98); }
.btn-secondary {
  background: transparent; border-color: var(--sage-equity); color: var(--sage-equity);
}
.btn-secondary:hover { background: var(--sage-tint); color: var(--sage-equity); }
.btn-light {
  background: var(--cream-canvas); color: var(--sage-equity);
  box-shadow: var(--shadow-md);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--sage-equity); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-block { width: 100%; justify-content: center; white-space: normal; text-align: center; }

/* ---------- Top bar ------------------------------------------------------ */
.topbar {
  background: var(--sage-equity);
  color: var(--cream-canvas);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px var(--section-x);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar__trust { color: rgba(250,247,242,0.88); }
.topbar__phone a {
  color: var(--cream-canvas); font-weight: 700; display: flex; align-items: center; gap: 6px;
}
.topbar__phone a:hover { color: rgba(250,247,242,0.82); }
.topbar__phone svg { width: 16px; height: 16px; }

/* ---------- Header ------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  padding-inline: var(--section-x);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.hdr--scrolled { border-color: var(--sand-strat); box-shadow: var(--shadow-sm); }
.hdr__bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.hdr__logo img { height: 44px; }
.hdr__nav { display: flex; align-items: center; gap: 6px; }
.hdr__nav a {
  color: var(--ironstone-ink); font-weight: 700; font-size: 0.9rem;
  padding: 6px 10px; border-radius: var(--r-sm);
  transition: background var(--dur) var(--ease);
  white-space: nowrap;
}
.hdr__nav a:hover { background: var(--sage-tint); color: var(--ironstone-ink); }
.hdr__nav .btn-primary { padding: 10px 18px; font-size: 0.9rem; }
.hdr__burger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--ironstone-ink);
}
.hdr__burger svg { width: 28px; height: 28px; }

/* Mobile nav */
.mnav {
  display: none; flex-direction: column;
  background: var(--cream-canvas);
  border-top: 1px solid var(--sand-strat);
  padding: 12px 0 20px;
}
.mnav.open { display: flex; }
.mnav a {
  color: var(--ironstone-ink); font-weight: 700;
  padding: 13px var(--section-x); border-bottom: 1px solid rgba(201,187,158,0.35);
  display: block;
}
.mnav a:hover { background: var(--sage-tint); }
.mnav .btn-primary { margin: 16px var(--section-x) 0; text-align: center; }

/* ---------- Hero --------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 78%; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(34,34,32,0.90) 0%, rgba(34,34,32,0.68) 44%, rgba(34,34,32,0.50) 100%),
    linear-gradient(to bottom, rgba(34,34,32,0.22), rgba(34,34,32,0.18) 45%, rgba(34,34,32,0.42));
}
.hero__inner { position: relative; padding: clamp(3.5rem,8vw,6rem) var(--section-x); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.hero__copy { padding-top: 12px; }
.hero__copy h1 { color: #fff; margin-bottom: 18px; }
.hero__copy .lead { color: rgba(255,255,255,0.90); max-width: 38ch; }
.hero__trust { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.hero__trust-item { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.85); font-size: 0.88rem; font-weight: 700; }
.hero__trust-item svg { width: 18px; height: 18px; color: var(--amber-action); flex-shrink: 0; }

/* Hero form card */
.offer-card {
  background: var(--cream-canvas); border-radius: var(--r-xl);
  padding: 28px 26px; box-shadow: var(--shadow-lg);
}
.offer-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.offer-card .sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.micro-trust { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 10px; }

/* Slim hero (inner pages) */
.hero--slim .hero__inner { padding: clamp(2.5rem,5vw,4rem) var(--section-x); }
.hero--slim h1 { font-size: clamp(1.9rem,4vw,2.8rem); }
.hero--slim .lead { font-size: 1.05rem; max-width: 52ch; margin-top: 12px; }

/* ---------- Form elements ------------------------------------------------ */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--ironstone-ink); margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 0.95rem;
  color: var(--ironstone-ink); background: var(--cream-canvas);
  border: 1px solid var(--sand-strat); border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #aaa49e; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber-action);
  box-shadow: 0 0 0 3px var(--amber-tint);
}
.field textarea { resize: vertical; min-height: 100px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent { font-size: 0.8rem; color: var(--muted); display: flex; gap: 8px; line-height: 1.45; align-items: flex-start; }
.consent input[type=checkbox] { flex-shrink: 0; margin-top: 3px; accent-color: var(--amber-action); }

/* ---------- Trust band --------------------------------------------------- */
.trust-band { background: var(--sage-equity); padding: 24px var(--section-x); }
.trust-pills { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-pill {
  flex: 1; min-width: 180px; display: flex; align-items: center; gap: 11px;
  background: rgba(250,247,242,0.10); border: 1px solid rgba(250,247,242,0.20);
  border-radius: var(--r-pill); padding: 13px 18px;
}
.trust-pill svg { width: 22px; height: 22px; color: var(--cream-canvas); flex-shrink: 0; }
.trust-pill span { font-weight: 700; font-size: 0.92rem; color: var(--cream-canvas); }

/* ---------- Section head ------------------------------------------------- */
.section-head { max-width: 680px; text-align: center; margin: 0 auto 48px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--muted); }

/* ---------- Step cards --------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step-card {
  background: var(--cream-canvas); border: 1px solid var(--sand-strat);
  border-radius: var(--r-lg); padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num { font-weight: 700; font-size: 0.82rem; color: var(--amber-action); letter-spacing: .08em; margin-bottom: 12px; }
.step-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--sage-tint); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step-icon svg { width: 26px; height: 26px; color: var(--sage-equity); }
.step-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step-card p { font-size: 0.97rem; color: var(--muted); }

/* ---------- Situation cards ---------------------------------------------- */
.sit-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.sit-card {
  background: var(--cream-canvas); border: 1px solid var(--sand-strat);
  border-radius: var(--r-lg); padding: 22px 20px;
  box-shadow: 0 1px 4px rgba(45,49,46,0.06);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.sit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sit-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--cream-alt); display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.sit-icon svg { width: 22px; height: 22px; color: var(--sage-equity); }
.sit-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.sit-card p { font-size: 0.87rem; color: var(--muted); line-height: 1.5; margin-bottom: 10px; }
.sit-link { font-size: 0.87rem; font-weight: 700; color: var(--amber-action); }

/* ---------- Comparison table --------------------------------------------- */
.cmp-wrap {
  background: var(--cream-canvas); border: 1px solid var(--sand-strat);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: 16px 20px; text-align: left; font-size: 0.95rem; border-bottom: 1px solid var(--sand-strat); }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: none; }
.cmp-table thead th { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.cmp-table tbody th { font-weight: 700; color: var(--muted); font-size: 0.9rem; font-family: var(--font-body); }
.cmp-table td { color: var(--muted); }
.col-vp { background: var(--sage-tint); }
.col-vp.val { color: var(--ironstone-ink); font-weight: 700; }
thead .col-vp { color: var(--sage-equity); }

/* ---------- Testimonials ------------------------------------------------- */
.quotes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.quote-card { background: var(--cream-alt); border-radius: var(--r-lg); padding: 28px; }
.quote-mark { font-family: var(--font-display); font-size: 3.5rem; color: var(--sage-light); line-height: 0.6; height: 26px; }
.quote-card p { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: var(--ironstone-ink); line-height: 1.45; margin: 10px 0 14px; }
.quote-who { font-size: 0.9rem; font-weight: 700; color: var(--sage-equity); }

/* ---------- FAQ accordion ------------------------------------------------ */
.faq-list {
  background: var(--cream-canvas); border: 1px solid var(--sand-strat);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq-item { border-bottom: 1px solid var(--sand-strat); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  text-align: left; font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  color: var(--ironstone-ink); font-size: 1rem;
}
.faq-q svg { width: 20px; height: 20px; color: var(--sage-equity); flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 340ms var(--ease); }
.faq-a-inner { padding: 0 24px 20px; color: var(--muted); font-size: 0.97rem; line-height: 1.65; }

/* ---------- Founder / about blocks --------------------------------------- */
.founder-block {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center;
  background: var(--cream-canvas); border: 1px solid var(--sand-strat);
  border-radius: var(--r-xl); padding: 44px; box-shadow: var(--shadow-sm);
}
.founder-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.founder-sig { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--ironstone-ink); margin-top: 16px; }

/* ---------- CTA band ----------------------------------------------------- */
.cta-band { background: var(--sage-equity); padding-inline: var(--section-x); }
.cta-band__inner { padding: clamp(3rem,7vw,5rem) 0; text-align: center; }
.cta-band h2 { color: var(--cream-canvas); margin-bottom: 10px; }
.cta-band p { color: rgba(250,247,242,0.82); margin-bottom: 26px; font-size: 1.1rem; }

/* ---------- Page hero (slim inner pages) --------------------------------- */
.page-hero { background: var(--sage-equity); padding: clamp(2.5rem,5vw,4rem) var(--section-x); }
.page-hero h1 { color: var(--cream-canvas); margin-bottom: 12px; }
.page-hero p { color: rgba(250,247,242,0.88); font-size: 1.1rem; max-width: 54ch; }

/* ---------- Footer ------------------------------------------------------- */
.ftr { background: var(--sage-equity); color: var(--cream-canvas); padding: 52px var(--section-x) 24px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-bottom: 40px; }
/* Quick Links on its own full-width vertical row, below brand + contact */
.ftr__grid > div:has(.ftr__links) { grid-column: 1 / -1; order: 1; }
.ftr__logo img { height: 48px; margin-bottom: 14px; }
.ftr__tagline { color: rgba(250,247,242,0.75); font-size: 0.95rem; max-width: 32ch; }
.ftr h4 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-canvas); margin-bottom: 14px; }
.ftr__links { display: flex; flex-flow: row wrap; gap: 10px 24px; justify-content: space-between; }
.ftr__links a { color: rgba(250,247,242,0.75); font-size: 0.92rem; }
.ftr__links a:hover { color: var(--cream-canvas); }
.ftr__contact-item { display: flex; align-items: center; gap: 9px; color: rgba(250,247,242,0.75); font-size: 0.92rem; margin-bottom: 8px; }
.ftr__contact-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.ftr__bottom { border-top: 1px solid rgba(250,247,242,0.14); padding-top: 22px; }
.ftr__disclaimer { font-size: 0.82rem; color: rgba(250,247,242,0.62); max-width: 80ch; line-height: 1.55; margin: 0 auto 12px; text-align: center; }
.ftr__copy { font-size: 0.8rem; color: rgba(250,247,242,0.50); text-align: center; }

/* ---------- Content pages (legal, resources) ----------------------------- */
/* Nested inside a .section, which already provides --section-y / --section-x. */
.content-page { padding: 0; }
.content-page .prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin: 2rem 0 0.75rem; color: var(--ironstone-ink); }
.prose h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
.prose p { color: var(--muted); margin-bottom: 1em; }
.prose ul { list-style: disc; padding-left: 1.5rem; color: var(--muted); }
.prose ul li { margin-bottom: 0.4em; }
.prose a { color: var(--amber-action); }

/* ---------- Contact page ------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.contact-info h3 { font-size: 1.3rem; margin-bottom: 16px; }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 20px; }
.contact-info-item svg { width: 24px; height: 24px; color: var(--amber-action); flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-weight: 700; font-size: 0.9rem; color: var(--ironstone-ink); margin-bottom: 2px; }
.contact-info-item span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Resources page ----------------------------------------------- */
.resources-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.resource-card {
  background: var(--cream-canvas); border: 1px solid var(--sand-strat);
  border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.resource-card h4 { margin-bottom: 8px; }
.resource-card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 14px; }

/* ---------- Values grid -------------------------------------------------- */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.value-card {
  background: var(--cream-canvas); border: 1px solid var(--sand-strat);
  border-radius: var(--r-lg); padding: 24px; text-align: center;
}
.value-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--sage-tint); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.value-icon svg { width: 24px; height: 24px; color: var(--sage-equity); }
.value-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.value-card p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Media strip -------------------------------------------------- */
.media-strip { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; padding: 28px 0; border-top: 1px solid var(--sand-strat); border-bottom: 1px solid var(--sand-strat); }
.media-label { font-size: 0.78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .sit-grid { grid-template-columns: repeat(2,1fr); }
  .quotes-grid { grid-template-columns: 1fr; }
  .founder-block { grid-template-columns: 1fr; padding: 30px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: repeat(2,1fr); }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .cmp-wrap { overflow-x: auto; }
}

@media (max-width: 767px) {
  .hdr__nav { display: none; }
  .hdr__burger { display: block; }
  .topbar__trust { display: none; }
  .sit-grid { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; gap: 28px; }
  .trust-pill { min-width: 140px; }
  .resources-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .faq-a { transition: none; }
}

/* ---------- Scroll reveal ------------------------------------------------ */
[data-reveal].will-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- Form error ---------------------------------------------------- */
.form-error { color: var(--amber-deep); font-size: 0.88rem; font-weight: 700; text-align: center; margin-top: 12px; }

/* ---------- Thank-you state --------------------------------------------- */
.thankyou { text-align: center; padding: 28px 8px; }
.thankyou__icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--sage-tint); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.thankyou__icon svg { width: 30px; height: 30px; color: var(--sage-equity); }
.thankyou h3 { font-size: 1.4rem; margin-bottom: 8px; }
.thankyou p { color: var(--muted); font-size: 0.97rem; }

/* ---- Situations hub grid ----------------------------------------------- */
.sit-hub-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* ---- Check list (situation pages) -------------------------------------- */
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 0.97rem; line-height: 1.5; }
.check-list li svg { width: 18px; height: 18px; color: var(--sage-equity); flex-shrink: 0; margin-top: 2px; }

/* ---- Empathy intro block (situation pages) ------------------------------ */
.empathy-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: center; }
.empathy-grid img { width: 100%; border-radius: var(--r-xl); object-fit: cover; max-height: 420px; box-shadow: var(--shadow-md); }

/* ---- Inline icon pill (trust strip variant) ----------------------------- */
.inline-trust { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0; }
.inline-trust-item { display: flex; align-items: center; gap: 7px; background: var(--cream-alt); border: 1px solid var(--sand-strat); border-radius: var(--r-pill); padding: 8px 16px; font-size: 0.88rem; font-weight: 700; color: var(--ironstone-ink); }
.inline-trust-item svg { width: 16px; height: 16px; color: var(--sage-equity); }

/* ---- Process alt (how-it-works alternating rows) ----------------------- */
.process-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.process-row:last-child { margin-bottom: 0; }
.process-row img { width: 100%; border-radius: var(--r-xl); object-fit: cover; max-height: 380px; box-shadow: var(--shadow-md); }

/* ---- Promise list ------------------------------------------------------- */
.promise-list { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.promise-item { display: flex; align-items: flex-start; gap: 12px; }
.promise-item svg { width: 20px; height: 20px; color: var(--amber-action); flex-shrink: 0; margin-top: 2px; }
.promise-item p { margin: 0; color: var(--muted); }
.promise-item strong { color: var(--ironstone-ink); display: block; margin-bottom: 2px; }

/* ---- Responsive additions ---------------------------------------------- */
@media (max-width: 1023px) {
  .sit-hub-grid { grid-template-columns: repeat(2,1fr); }
  .empathy-grid { grid-template-columns: 1fr; gap: 28px; }
  .process-row { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
}
@media (max-width: 767px) {
  .sit-hub-grid { grid-template-columns: 1fr; }
}
