/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #F7F2EA;
  --bg-2:      #EFE7D8;
  --paper:     #FFFFFF;
  --ink:       #2B2B28;
  --ink-soft:  #3A3A38;
  --ink-mute:  #6E6A60;
  --petrol:    #2C4A52;
  --petrol-2:  #1F363D;
  --sage:      #8FA89A;
  --sage-2:    #6F8B7C;
  --terracotta:#C17A56;
  --terracotta-2:#A8623F;
  --line:      rgba(43,43,40,0.10);
  --shadow:    0 18px 40px -16px rgba(31,54,61,0.22);

  --serif: "Fraunces", "Georgia", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --container: 1180px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--serif); text-wrap: balance; line-height: 1.1; color: var(--petrol-2); letter-spacing: -0.01em; }
ul { list-style: none; padding: 0; }
::selection { background: var(--terracotta); color: #fff; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--petrol); color: #fff;
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.section { padding-block: 4rem; }
.section--alt { background: var(--bg-2); }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--terracotta-2); font-weight: 700; margin-bottom: .9rem;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--terracotta); display: inline-block; }
.lede { font-size: 1.1rem; color: var(--ink-mute); max-width: 62ch; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: .98rem;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .3s var(--ease-out);
  white-space: nowrap;
}
.btn--primary { background: var(--terracotta); color: #fff; box-shadow: 0 10px 24px -8px rgba(193,122,86,0.55); }
.btn--primary:hover { background: var(--terracotta-2); transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(193,122,86,0.6); }
.btn--ghost { background: transparent; color: var(--petrol); border: 1.5px solid var(--petrol); }
.btn--ghost:hover { background: var(--petrol); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--petrol-2); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--block { width: 100%; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 500;
  background: rgba(247,242,234,0.0);
  backdrop-filter: none;
  transition: background .35s var(--ease-out), box-shadow .35s var(--ease-out), backdrop-filter .35s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(247,242,234,0.92);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px -12px rgba(31,54,61,0.18);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; line-height: 1.15; }
.brand-logo { width: 42px; height: 42px; flex: none; object-fit: contain; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--petrol-2); }
.brand-role { font-size: .72rem; color: var(--ink-mute); letter-spacing: .02em; }
.nav-links { display: none; align-items: center; gap: 1.8rem; }
.nav-links a {
  font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  position: relative; padding-block: .3rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--terracotta); transition: width .3s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--petrol); }
.nav-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: .7rem; }
.nav-toggle {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--bg-2);
}
.nav-toggle svg { width: 20px; height: 20px; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 600;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 100%);
  display: flex; flex-direction: column; padding: 1.5rem;
  transform: translateX(100%); transition: transform .45s var(--ease-out);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-head { display: flex; justify-content: flex-end; }
.mobile-menu-close {
  width: 42px; height: 42px; border-radius: 50%; background: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transform: rotate(-90deg) scale(.7); opacity: 0;
  transition: transform .4s var(--ease-out) .15s, opacity .3s var(--ease-out) .15s;
}
.mobile-menu.is-open .mobile-menu-close { transform: rotate(0) scale(1); opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .4rem; margin-top: 1.5rem; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: 1.7rem; color: var(--petrol-2);
  padding-block: .55rem; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(28px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.mobile-menu nav a[aria-current="page"] { color: var(--terracotta-2); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(1) { transition-delay: .1s; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .16s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: .22s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .28s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: .34s; }
.mobile-menu-cta {
  margin-top: 1.8rem;
  opacity: 0; transform: translateY(16px);
  transition: opacity .45s var(--ease-out) .4s, transform .45s var(--ease-out) .4s;
}
.mobile-menu.is-open .mobile-menu-cta { opacity: 1; transform: none; }
.mobile-menu-phone {
  margin-top: .9rem; text-align: center; font-weight: 700; color: var(--petrol);
  opacity: 0; transform: translateY(16px);
  transition: opacity .45s var(--ease-out) .46s, transform .45s var(--ease-out) .46s;
}
.mobile-menu.is-open .mobile-menu-phone { opacity: 1; transform: none; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  padding-block: 3.5rem 4.5rem;
  overflow: visible;
}
.hero-halo {
  position: absolute; inset: -20% -10% -10% -10%;
  background: radial-gradient(45% 40% at 30% 20%, rgba(143,168,154,0.35), transparent 70%),
              radial-gradient(40% 35% at 85% 60%, rgba(193,122,86,0.18), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center; }
.hero-eyebrow { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-2); font-weight: 700; margin-bottom: 1rem; }
.hero-title { font-size: clamp(2.2rem, 6.4vw, 3.6rem); max-width: 16ch; margin-bottom: 1.1rem; }
.hero-title em { font-style: italic; color: var(--terracotta-2); }
.hero-sub { font-size: 1.15rem; color: var(--ink-mute); max-width: 46ch; margin-bottom: .6rem; }
.hero-support { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--petrol); margin-bottom: 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; font-size: .88rem; color: var(--ink-mute); }
.hero-trust li { display: flex; align-items: center; gap: .5rem; }
.hero-trust li::before { content: "✓"; color: var(--sage-2); font-weight: 700; }
.hero-figure { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure-tag {
  position: absolute; left: 1.1rem; bottom: 1.1rem; right: 1.1rem;
  background: rgba(255,255,255,0.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 14px; padding: .9rem 1.1rem; font-size: .85rem; color: var(--petrol-2); font-weight: 600;
}
@supports not (backdrop-filter: blur(8px)) { .hero-figure-tag { background: rgba(255,255,255,0.96); } }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* =============================================================
   7. Page hero (subpages, smaller)
   ============================================================= */
.page-hero { padding-block: 3rem 2.5rem; position: relative; }
.page-hero-kicker { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-2); font-weight: 700; margin-bottom: .8rem; }
.page-hero h1 { font-size: clamp(2rem, 5.4vw, 3.1rem); max-width: 22ch; }
.page-hero .lede { margin-top: 1rem; }
.page-hero-cta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .9rem; }

/* =============================================================
   8. Cards
   ============================================================= */
.cards-grid { display: grid; gap: 1.4rem; margin-top: 2.6rem; }
.cond-card {
  background: var(--paper); border-radius: 20px; padding: 1.8rem;
  border: 1px solid var(--line); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
  display: flex; flex-direction: column; gap: .9rem;
}
.cond-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cond-card-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--bg-2);
  display: flex; align-items: center; justify-content: center; color: var(--petrol);
}
.cond-card-icon svg { width: 28px; height: 28px; }
.cond-card-num {
  font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--petrol);
}
.cond-card h3 { font-size: 1.25rem; }
.cond-card p { color: var(--ink-mute); font-size: .96rem; }
.cond-card-link { font-weight: 700; color: var(--terracotta-2); display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; }
.cond-card-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.cond-card:hover .cond-card-link svg { transform: translateX(4px); }

@media (min-width: 720px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .cards-grid { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   9. Credentials
   ============================================================= */
.credentials { display: grid; gap: 2.4rem; margin-top: 2.4rem; }
.cred-figure { border-radius: 22px; overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow); }
.cred-figure img { width: 100%; height: 100%; object-fit: cover; }
.cred-list { display: flex; flex-direction: column; gap: 1rem; }
.cred-list li { display: flex; gap: .8rem; align-items: flex-start; font-size: .98rem; color: var(--ink-soft); }
.cred-list li::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--terracotta); margin-top: .5rem;
}
.stats-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; margin-top: 2rem; }
.stat { background: var(--bg-2); border-radius: 16px; padding: 1.3rem; text-align: center; }
.stat-num { font-family: var(--serif); font-size: 2.1rem; color: var(--petrol); font-weight: 700; }
.stat-label { font-size: .82rem; color: var(--ink-mute); margin-top: .2rem; }

@media (min-width: 960px) {
  .credentials { grid-template-columns: 0.85fr 1.15fr; align-items: center; }
  .stats-row { grid-template-columns: repeat(4,1fr); }
}

/* =============================================================
   10. Testimonials
   ============================================================= */
.testi-grid { display: grid; gap: 1.4rem; margin-top: 2.4rem; }
.testi-card {
  background: var(--paper); border-radius: 20px; padding: 1.9rem;
  border: 1px solid var(--line); position: relative;
}
.testi-quote { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 1rem; }
.testi-author { font-size: .85rem; color: var(--ink-mute); font-weight: 600; }
.testi-mark { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--serif); font-size: 2.6rem; color: var(--sage); opacity: .5; }

@media (min-width: 960px) { .testi-grid { grid-template-columns: repeat(3,1fr); } }

/* =============================================================
   11. Steps / timeline
   ============================================================= */
.steps { display: flex; flex-direction: column; gap: 1.3rem; margin-top: 2.4rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem;
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--petrol); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { color: var(--ink-mute); font-size: .95rem; }

.timeline { display: grid; gap: 1rem; margin-top: 2.2rem; }
.timeline-item {
  border-left: 3px solid var(--sage); padding-left: 1.2rem; padding-block: .3rem;
}
.timeline-item h4 { font-family: var(--sans); font-weight: 700; color: var(--petrol); font-size: .95rem; margin-bottom: .25rem; }
.timeline-item p { color: var(--ink-mute); font-size: .92rem; }

@media (min-width: 720px) { .timeline { grid-template-columns: repeat(4,1fr); } .timeline-item { border-left: none; border-top: 3px solid var(--sage); padding-left: 0; padding-top: 1rem; } }

/* =============================================================
   12. Info blocks (criteria lists, definitions)
   ============================================================= */
.info-grid { display: grid; gap: 1.4rem; margin-top: 2.2rem; }
.info-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem;
}
.info-card h3 { font-size: 1.1rem; margin-bottom: .6rem; color: var(--petrol); }
.info-card ul li { color: var(--ink-mute); font-size: .94rem; padding-block: .3rem; padding-left: 1.1rem; position: relative; }
.info-card ul li::before { content: "—"; position: absolute; left: 0; color: var(--terracotta); }
@media (min-width: 720px) { .info-grid { grid-template-columns: repeat(2,1fr); } }

.severity-grid { display: grid; gap: 1.2rem; margin-top: 2.2rem; }
.severity-card { border-radius: 16px; padding: 1.4rem; border: 1px solid var(--line); background: var(--bg-2); }
.severity-card h4 { font-size: 1rem; color: var(--petrol); margin-bottom: .4rem; }
.severity-card p { font-size: .92rem; color: var(--ink-mute); }
@media (min-width: 720px) { .severity-grid { grid-template-columns: repeat(3,1fr); } }

/* =============================================================
   13. FAQ
   ============================================================= */
.faq-list { margin-top: 2rem; display: flex; flex-direction: column; gap: .9rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.4rem; font-weight: 700; color: var(--petrol-2); text-align: left; gap: 1rem;
}
.faq-q svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease-out); color: var(--terracotta); }
.faq-item[data-open="true"] .faq-q svg { transform: rotate(45deg); }
.faq-a { padding: 0 1.4rem; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-soft), padding .35s var(--ease-soft); color: var(--ink-mute); font-size: .95rem; }
.faq-item[data-open="true"] .faq-a { padding: 0 1.4rem 1.2rem; max-height: 400px; }

/* =============================================================
   14. CTA band
   ============================================================= */
.cta-band {
  background: linear-gradient(135deg, var(--petrol) 0%, var(--petrol-2) 100%);
  color: #fff; border-radius: 28px; padding: 2.6rem 1.8rem;
  text-align: center; margin-block: 1rem;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: -40% -10% -60% -10%;
  background: radial-gradient(45% 40% at 70% 20%, rgba(193,122,86,0.35), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.2rem); position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,0.85); margin-top: .7rem; max-width: 50ch; margin-inline: auto; position: relative; z-index: 1; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 1.6rem; position: relative; z-index: 1; }

/* =============================================================
   15. Contact page
   ============================================================= */
.contact-grid { display: grid; gap: 1.6rem; margin-top: 2.2rem; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 1.8rem; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .9rem; color: var(--petrol); }
.contact-row { display: flex; gap: .8rem; align-items: flex-start; padding-block: .55rem; font-size: .96rem; color: var(--ink-soft); }
.contact-row svg { width: 20px; height: 20px; flex: none; color: var(--terracotta); margin-top: .1rem; }
.contact-row a { font-weight: 700; color: var(--petrol); }
.schedule-table { width: 100%; margin-top: .4rem; }
.schedule-table tr { border-bottom: 1px solid var(--line); }
.schedule-table td { padding: .6rem 0; font-size: .94rem; }
.schedule-table td:last-child { text-align: right; font-weight: 700; color: var(--petrol); }
.coverage-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.coverage-pills span { background: var(--bg-2); color: var(--petrol-2); font-size: .82rem; font-weight: 700; padding: .4rem .9rem; border-radius: 999px; }
.contact-big-cta { background: var(--bg-2); border-radius: 24px; padding: 2.2rem 1.6rem; text-align: center; margin-top: .5rem; }
.contact-big-cta h2 { font-size: 1.6rem; margin-bottom: .6rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* =============================================================
   16. Footer
   ============================================================= */
.footer { background: var(--petrol-2); color: rgba(247,242,234,0.85); padding-block: 3rem 1.6rem; }
.footer a { color: rgba(247,242,234,0.85); }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand { font-family: var(--serif); color: #fff; font-size: 1.2rem; margin-bottom: .5rem; }
.footer-col h4 { font-family: var(--sans); color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .9rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; font-size: .92rem; }
.footer-col ul a:hover { color: var(--terracotta); }
.footer-bottom { border-top: 1px solid rgba(247,242,234,0.15); margin-top: 2.4rem; padding-top: 1.4rem; font-size: .8rem; color: rgba(247,242,234,0.55); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* =============================================================
   17. Mobile sticky CTA bar
   ============================================================= */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
  display: flex; gap: .6rem; padding: .7rem .9rem;
  background: rgba(247,242,234,0.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(0); transition: transform .3s var(--ease-out);
}
.mobile-cta-bar .btn { flex: 1; }
@media (min-width: 960px) { .mobile-cta-bar { display: none; } }

/* =============================================================
   18. Reveal animation
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   19. Section header helper
   ============================================================= */
.section-head { max-width: 56ch; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }

/* =============================================================
   20. Reduced motion — only intrusive
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
