/* =============================================================
   CG HEALTHCARE GROUP — STYLESHEET
   Primary mint-teal #3DBD8A · Secondary #2BAA72
   Target audience: 65+ seniors; accessibility-first
   Fonts: Plus Jakarta Sans (headings) · DM Sans (body / UI)
   ============================================================= */


/* ─────────────────────────────────────────────────────────────
   1. CUSTOM PROPERTIES
───────────────────────────────────────────────────────────── */
:root {
  /* Color palette — Logo mint-teal #3DBD8A · gradient #6CCB8E → #2BAA72 */
  --c-parchment: #FFFFFF;
  --c-parchment-mid: #F2FAF6;
  --c-parchment-dark: #E2F5EC;
  --c-green-deep: #229669;
  /* darker primary — headers, solid fills */
  --c-green-mid: #3DBD8A;
  /* PRIMARY brand color — matches CedarGrove logo text */
  --c-green-light: #5CC994;
  /* lighter primary shade */
  --c-green-darkest: #155F42;
  /* darkest primary — footer / dark sections */
  --c-gold: #2BAA72;
  /* SECONDARY accent — darker gradient from logo icon */
  --c-gold-light: #5CC994;
  /* lighter secondary */
  --c-gold-pale: #E2F5EC;
  /* pale secondary tint */
  --c-text-primary: #0C1F16;
  --c-text-secondary: #1E4A34;
  --c-text-muted: #4A7060;
  --c-white: #FFFFFF;
  --c-card-bg: #FFFFFF;
  --c-border: #B8E8D0;
  --c-focus: #3DBD8A;


  /* Typography — professional sans only (no italic / decorative faces) */
  --font-heading: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-sans: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  --font-nav: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  --font-serif: var(--font-heading);
  --font-mono: var(--font-sans);

  /* Type scale — minimum 18px body for 65+ legibility */
  --text-xs: 0.8125rem;
  /* 13px */
  --text-sm: 0.9375rem;
  /* 15px */
  --text-base: 1.125rem;
  /* 18px */
  --text-md: 1.1875rem;
  /* 19px */
  --text-lg: 1.3125rem;
  /* 21px */
  --text-xl: 1.5rem;
  /* 24px */
  --text-2xl: 1.875rem;
  /* 30px */
  --text-3xl: 2.25rem;
  /* 36px */
  --text-4xl: 3rem;
  /* 48px */
  --text-5xl: 3.75rem;
  /* 60px */

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-pad: 1.5rem;

  /* Misc */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(61, 189, 138, 0.10);
  --shadow-md: 0 4px 16px rgba(61, 189, 138, 0.14);
  --shadow-lg: 0 8px 32px rgba(21, 95, 66, 0.18);
  --transition: 200ms ease;
}


/* ─────────────────────────────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--c-text-primary);
  background-color: var(--c-parchment);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul,
ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* ─────────────────────────────────────────────────────────────
   3. ACCESSIBILITY
───────────────────────────────────────────────────────────── */
/* Skip to content */
.skip-link {
  position: absolute;
  top: -120%;
  left: var(--sp-4);
  z-index: 9999;
  padding: 0.875rem 1.75rem;
  background: var(--c-green-deep);
  color: var(--c-parchment);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid var(--c-gold);
  transition: top var(--transition);
}

.skip-link:focus {
  top: var(--sp-4);
}

/* Keyboard focus ring — visible on all interactive elements */
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Visually hidden but available to screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ─────────────────────────────────────────────────────────────
   4. TYPOGRAPHY
───────────────────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-green-deep);
  /* now deep navy */
}

h1 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
}

h2 {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-3xl));
}

h3 {
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
}

h4 {
  font-size: var(--text-lg);
}

p {
  max-width: 68ch;
}

strong {
  font-weight: 700;
}

a {
  color: var(--c-green-mid);
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover {
  color: var(--c-gold);
}


/* ─────────────────────────────────────────────────────────────
   5. LAYOUT UTILITIES
───────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

section {
  padding-block: var(--sp-20);
}

/* Sections with IDs scroll past sticky nav */
section[id],
[id] {
  scroll-margin-top: 80px;
}


/* ─────────────────────────────────────────────────────────────
   6. BUTTONS
───────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.9375rem 2rem;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  min-height: 52px;
  /* touch-friendly */
}

.btn:active {
  transform: translateY(1px);
}

/* Primary — brand teal */
.btn--primary {
  background-color: #145F42;
  border-color: #145F42;
  color: var(--c-white);
  box-shadow: 0 2px 8px rgba(20, 95, 66, 0.30);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: #0F4A33;
  border-color: #0F4A33;
  color: var(--c-white);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(20, 95, 66, 0.40);
}

/* White fill + forest text — for dark green section bands */
.btn--gold {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #145F42;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background-color: var(--c-parchment-dark);
  border-color: var(--c-parchment-dark);
  color: #145F42;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.20);
}

.btn--forest {
  background-color: #145F42;
  border-color: #145F42;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(20, 95, 66, 0.30);
}

.btn--forest:hover,
.btn--forest:focus-visible {
  background-color: #0F4A33;
  border-color: #0F4A33;
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(20, 95, 66, 0.40);
}

/* Ghost gold — outline only (on dark bg) */
.btn--ghost-gold {
  background-color: transparent;
  border-color: var(--c-gold);
  color: var(--c-gold);
}

.btn--ghost-gold:hover,
.btn--ghost-gold:focus-visible {
  background-color: var(--c-gold);
  color: var(--c-white);
  text-decoration: none;
}

/* Small */
.btn--sm {
  padding: 0.6875rem 1.375rem;
  font-size: var(--text-sm);
  min-height: 44px;
}

/* Full width */
.btn--full {
  width: 100%;
  display: block;
}


/* ─────────────────────────────────────────────────────────────
   7. SECTION HEADERS
───────────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section-header::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--c-green-mid);
  border-radius: 2px;
  margin: 0 auto var(--sp-5);
}

.section-header--light::before {
  background: rgba(255, 255, 255, 0.60);
}

.section-heading {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}

.section-heading--light {
  color: var(--c-parchment);
}

.section-sub {
  font-size: var(--text-lg);
  color: var(--c-text-secondary);
  margin-inline: auto;
}

.section-sub--light {
  color: var(--c-parchment-mid);
}


/* ─────────────────────────────────────────────────────────────
   8. SITE HEADER / NAVIGATION
───────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background-color: transparent;
  border-bottom: 2px solid transparent;
  box-shadow: none;
  transition:
    background-color 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.site-header--scrolled {
  background-color: var(--c-green-darkest);
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(10, 40, 30, 0.30);
}

/* Keep nav text legible over the hero image in transparent state */
.site-header:not(.site-header--scrolled) .nav__link:not(.nav__link--cta) {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  height: 80px;
  gap: var(--sp-6);
  font-family: var(--font-nav);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
  padding: var(--sp-2) 0;
}

.nav__logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(300px, 55vw);
  object-fit: contain;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45));
}

.site-header--scrolled .nav__logo-img {
  filter: none;
}

/* CSS-only hamburger toggle */
.nav__checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 10px;
  min-width: 48px;
  min-height: 48px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: transparent;
  flex-shrink: 0;
}

.nav__hamburger .bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--c-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

/* Desktop: drawer wrapper is transparent so links sit in the header row */
.nav__drawer {
  display: contents;
}

.nav__backdrop,
.nav__drawer-top,
.nav__drawer-footer {
  display: none;
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
  margin-left: auto;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0.7rem;
  font-family: var(--font-nav);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--c-white);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.2rem;
  height: 2px;
  background-color: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.nav__link:hover {
  color: var(--c-white);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__link--cta {
  background-color: #ffffff;
  border: 2px solid #ffffff;
  color: var(--c-green-darkest) !important;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background-color: var(--c-parchment-dark) !important;
  border-color: var(--c-parchment-dark) !important;
  color: var(--c-green-darkest) !important;
  box-shadow: 0 3px 12px rgba(43, 170, 114, 0.45);
}

/* Mobile nav — left slide drawer */
@media (max-width: 900px) {
  .nav__hamburger {
    display: flex;
    z-index: 230;
    position: relative;
  }

  .nav__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 210;
    background: rgba(8, 28, 22, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 320ms ease,
      visibility 320ms ease;
  }

  .nav__drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 220;
    width: min(20rem, 86vw);
    margin: 0;
    padding: 0;
    background:
      linear-gradient(165deg, rgba(43, 170, 114, 0.12) 0%, transparent 42%),
      var(--c-green-darkest);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.35);
    transform: translateX(-105%);
    transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav__drawer-top {
    display: block;
    flex-shrink: 0;
    padding: 1.75rem 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav__drawer-logo {
    display: block;
    height: 44px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 0.65rem;
  }

  .nav__drawer-tagline {
    margin: 0;
    font-family: var(--font-nav);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.65);
  }

  .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex: 1 1 auto;
    margin: 0;
    padding: 0.75rem 0;
    list-style: none;
  }

  .nav__link {
    display: block;
    padding: 0.95rem 1.5rem;
    font-size: 1.125rem;
    border-radius: 0;
    border-bottom: none;
    color: var(--c-white) !important;
    text-shadow: none;
    opacity: 0;
    transform: translateX(-0.75rem);
    transition:
      color var(--transition),
      background-color 200ms ease,
      opacity 320ms ease,
      transform 320ms ease;
  }

  .nav__link::after {
    left: 1.5rem;
    right: auto;
    width: 2rem;
    bottom: 0.55rem;
  }

  .nav__link:hover,
  .nav__link:focus-visible {
    background-color: rgba(255, 255, 255, 0.06);
  }

  .nav__link--cta {
    margin: 0.65rem 1.25rem 0.35rem;
    padding: 0.65rem 1.15rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    background-color: var(--c-white);
    border: 2px solid var(--c-white);
    color: var(--c-green-darkest) !important;
  }

  .nav__link--cta:hover,
  .nav__link--cta:focus-visible {
    background-color: var(--c-parchment-dark) !important;
    border-color: var(--c-parchment-dark) !important;
  }

  .nav__drawer-footer {
    display: block;
    flex-shrink: 0;
    margin-top: auto;
    padding: 0.9rem 1.5rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.18);
  }

  .nav__phone {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.85rem;
    margin-bottom: 0.75rem;
    text-decoration: none;
    color: var(--c-white);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    transition:
      background-color 200ms ease,
      border-color 200ms ease;
  }

  .nav__phone:hover,
  .nav__phone:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
  }

  .nav__phone-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--c-gold);
  }

  .nav__phone-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
  }

  .nav__phone-label {
    font-family: var(--font-nav);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
  }

  .nav__phone-number {
    font-family: var(--font-nav);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--c-white);
  }

  .nav__social {
    display: flex;
    align-items: center;
    gap: 0.65rem;
  }

  .nav__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--c-white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition:
      background-color 200ms ease,
      border-color 200ms ease,
      color 200ms ease,
      transform 200ms ease;
  }

  .nav__social-link:hover,
  .nav__social-link:focus-visible {
    background: var(--c-gold);
    border-color: var(--c-gold);
    color: var(--c-green-darkest);
    transform: translateY(-2px);
  }

  /* Open state */
  .nav__checkbox:checked~.nav__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__checkbox:checked~.nav__drawer {
    transform: translateX(0);
  }

  .nav__checkbox:checked~.nav__drawer .nav__link {
    opacity: 1;
    transform: translateX(0);
  }

  .nav__checkbox:checked~.nav__drawer .nav__links li:nth-child(1) .nav__link {
    transition-delay: 80ms;
  }

  .nav__checkbox:checked~.nav__drawer .nav__links li:nth-child(2) .nav__link {
    transition-delay: 110ms;
  }

  .nav__checkbox:checked~.nav__drawer .nav__links li:nth-child(3) .nav__link {
    transition-delay: 140ms;
  }

  .nav__checkbox:checked~.nav__drawer .nav__links li:nth-child(4) .nav__link {
    transition-delay: 170ms;
  }

  .nav__checkbox:checked~.nav__drawer .nav__links li:nth-child(5) .nav__link {
    transition-delay: 200ms;
  }

  .nav__checkbox:checked~.nav__drawer .nav__links li:nth-child(6) .nav__link {
    transition-delay: 230ms;
  }

  .nav__checkbox:checked~.nav__drawer .nav__links li:nth-child(7) .nav__link {
    transition-delay: 260ms;
  }

  /* Animate hamburger to X */
  .nav__checkbox:checked~.nav__hamburger .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__checkbox:checked~.nav__hamburger .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav__checkbox:checked~.nav__hamburger .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body:has(.nav__checkbox:checked) {
    overflow: hidden;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {

  .nav__backdrop,
  .nav__drawer,
  .nav__link {
    transition: none;
  }

  .nav__checkbox:checked~.nav__drawer .nav__link {
    transition-delay: 0ms;
  }
}


/* ─────────────────────────────────────────────────────────────
   9. HERO CAROUSEL
───────────────────────────────────────────────────────────── */
.s-hero {
  padding: 0;
  overflow: hidden;
  position: relative;
  background-color: var(--c-green-darkest);
}

.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--c-green-darkest);
}

/* ── Track: width + slide widths set by JS (supports clone-based infinite loop) ── */
.carousel__track {
  display: flex;
  will-change: transform;
  transition: transform 900ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .carousel__track {
    transition: none;
  }
}

/* ── Individual slides ── */
.carousel__slide {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  height: 100svh;
  height: 100dvh;
  min-height: 32rem;
  overflow: hidden;
}

.carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel__slide > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.carousel__slide > picture > .carousel__img {
  width: 100%;
  height: 100%;
}

/* ── Dark scrim for hero text legibility ── */
.carousel__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 40, 28, 0.52);
}

/* ── Overlay text ── */
.carousel__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  padding-block: calc(80px + var(--sp-10)) var(--sp-16);
  box-sizing: border-box;
}

.carousel__eyebrow {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  background-color: rgba(20, 95, 66, 0.88);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-4);
  max-width: none;
  text-shadow: none;
}

.carousel__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(2rem, 6vw, var(--text-5xl));
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--c-parchment);
  margin-bottom: var(--sp-5);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  max-width: 18ch;
}

.carousel__sub {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.4vw, var(--text-lg));
  color: rgba(245, 239, 224, 0.92);
  line-height: 1.6;
  max-width: 42ch;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
}

.carousel__sub strong {
  color: var(--c-gold-pale);
}

/* ── Prev / Next arrow buttons ── */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.30);
  border-radius: 50%;
  color: var(--c-white);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.carousel__btn:hover,
.carousel__btn:focus-visible {
  background-color: var(--c-green-mid);
  border-color: var(--c-green-mid);
  outline: none;
  transform: translateY(-50%) scale(1.08);
}

.carousel__btn--prev {
  left: max(var(--sp-4), env(safe-area-inset-left));
}

.carousel__btn--next {
  right: max(var(--sp-4), env(safe-area-inset-right));
}

/* ── Dot indicators ── */
.carousel__dots {
  position: absolute;
  bottom: max(var(--sp-5), env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--sp-3);
  z-index: 10;
}

.carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--c-parchment);
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.carousel__dot:hover,
.carousel__dot:focus-visible {
  border-color: var(--c-gold-light);
  outline: none;
}

.carousel__dot--active {
  background-color: var(--c-gold);
  border-color: var(--c-gold);
  transform: scale(1.3);
}

/* ── Per-slide CTA button ── */
.btn.carousel__cta,
.btn--gold.carousel__cta {
  margin-top: var(--sp-6);
  align-self: flex-start;
  background-color: #266348;
  border-color: #266348;
  color: #FFFFFF;
  max-width: 100%;
  text-align: center;
}

.btn.carousel__cta:hover,
.btn.carousel__cta:focus-visible,
.btn--gold.carousel__cta:hover,
.btn--gold.carousel__cta:focus-visible {
  background-color: #1E4F39;
  border-color: #1E4F39;
  color: #FFFFFF;
  text-decoration: none;
}

/* ── Mobile only (matches picture breakpoint) ── */
@media (max-width: 768px) {
  .carousel__slide {
    height: 90svh;
    height: 90dvh;
    min-height: 26rem;
    max-height: none;
  }

  .carousel__overlay {
    background:
      linear-gradient(
        to top,
        rgba(8, 28, 20, 0.88) 0%,
        rgba(10, 40, 28, 0.55) 42%,
        rgba(10, 40, 28, 0.35) 100%
      );
  }

  .carousel__img {
    object-position: center top;
  }

  .carousel__text {
    justify-content: flex-end;
    padding: calc(72px + var(--sp-4)) var(--sp-5) calc(4.5rem + env(safe-area-inset-bottom));
  }

  .carousel__heading {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
    margin-bottom: var(--sp-3);
    max-width: none;
  }

  .carousel__sub {
    font-size: 1rem;
    max-width: none;
  }

  .btn.carousel__cta,
  .btn--gold.carousel__cta {
    margin-top: var(--sp-5);
    width: 100%;
    justify-content: center;
    align-self: stretch;
    white-space: normal;
    padding-inline: 1rem;
  }

  .carousel__btn {
    top: auto;
    bottom: max(1.15rem, env(safe-area-inset-bottom));
    transform: none;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.35);
  }

  .carousel__btn:hover,
  .carousel__btn:focus-visible {
    transform: none;
  }

  .carousel__btn--prev {
    left: max(var(--sp-4), env(safe-area-inset-left));
  }

  .carousel__btn--next {
    right: max(var(--sp-4), env(safe-area-inset-right));
  }

  .carousel__dots {
    bottom: max(1.35rem, calc(env(safe-area-inset-bottom) + 0.35rem));
  }
}


/* ─────────────────────────────────────────────────────────────
   10. APPROACH
───────────────────────────────────────────────────────────── */
.s-approach {
  background-color: var(--c-parchment-mid);
}

.approach__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

.approach-card {
  padding: var(--sp-8);
  background-color: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-green-mid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-left-color var(--transition);
}

.approach-card:hover,
.approach-card:focus-within {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-left-color: var(--c-gold);
}

.approach-card__icon {
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: var(--sp-4);
}

.approach-card__title {
  font-size: var(--text-xl);
  color: var(--c-green-deep);
  margin-bottom: var(--sp-3);
  font-weight: 700;
}

.approach-card p {
  font-size: var(--text-base);
  color: var(--c-text-secondary);
  max-width: none;
}

@media (max-width: 1024px) {
  .approach__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .approach__grid {
    grid-template-columns: 1fr;
  }
}

.approach__cta {
  text-align: center;
  margin-top: var(--sp-12);
  padding: var(--sp-12) var(--sp-8);
  border-radius: var(--radius-lg);
}

.approach__cta p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-inline: auto;
  margin-bottom: var(--sp-6);
  max-width: 60ch;
}


/* ─────────────────────────────────────────────────────────────
   11. SERVICES
───────────────────────────────────────────────────────────── */
.s-services {
  background-color: var(--c-parchment-mid);
  border-top: 1px solid var(--c-border);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

/* Last card (7th) spans the middle column so the row isn't lopsided */
.service-card--wide {
  grid-column: 2 / 3;
}

.service-card {
  background-color: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover,
.service-card:focus-within {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.8125rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: var(--c-gold-pale);
  color: var(--c-gold);
  border: 1px solid rgba(86, 188, 94, 0.30);
  border-radius: 100px;
}

.service-card__title {
  font-size: var(--text-xl);
  color: var(--c-green-deep);
  margin-block: 0;
}

.service-card__desc {
  font-size: var(--text-base);
  color: var(--c-text-secondary);
  flex-grow: 1;
  max-width: none;
  line-height: 1.65;
}

.service-card__link {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-gold);
  text-decoration: none;
  margin-top: auto;
  padding-top: var(--sp-3);
  letter-spacing: 0.01em;
  transition: color var(--transition);
}

.service-card__link:hover {
  color: var(--c-green-deep);
  text-decoration: underline;
}


/* ─────────────────────────────────────────────────────────────
   11b. CALCULATOR LIBRARY
───────────────────────────────────────────────────────────── */
.s-calculators {
  position: relative;
  overflow: hidden;
  background-color: var(--c-green-darkest);
  color: var(--c-white);
}

.s-calculators__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/backgrounds/bg1.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.s-calculators__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(8, 36, 26, 0.92) 0%, rgba(21, 95, 66, 0.88) 55%, rgba(8, 36, 26, 0.94) 100%);
}

.s-calculators > .container {
  position: relative;
  z-index: 1;
}

.calc-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  min-height: 100%;
  padding: var(--sp-6);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.calc-card:hover,
.calc-card:focus-within {
  background: rgba(0, 0, 0, 0.48);
  border-color: rgba(61, 189, 138, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.calc-card__num {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-green-mid);
}

.calc-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-white);
  margin: 0;
}

.calc-card__desc {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  flex: 1 1 auto;
  max-width: none;
}

.calc-card__inputs {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: var(--sp-1) 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
}

.calc-card__inputs li {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-card__inputs li:last-child {
  border-bottom: none;
}

.calc-card__inputs li::before {
  content: '›';
  flex-shrink: 0;
  color: var(--c-green-mid);
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
}

.calc-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.7rem 1.35rem;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-md);
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.calc-card__cta:hover,
.calc-card__cta:focus-visible {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-green-darkest);
  outline: none;
}

/* Calculator carousel controls (dark section) */
.s-calculators .mc-carousel__btn {
  background-color: rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: var(--c-white);
}

.s-calculators .mc-carousel__btn:hover,
.s-calculators .mc-carousel__btn:focus-visible {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--c-white);
  outline: none;
}

.s-calculators .mc-carousel__progress {
  background-color: rgba(255, 255, 255, 0.18);
}

.s-calculators .mc-carousel__progress-fill {
  background-color: var(--c-green-mid);
}

.s-calculators .mc-carousel {
  margin-bottom: var(--sp-4);
}

@media (prefers-reduced-motion: reduce) {
  .calc-card {
    transition: none;
  }

  .calc-card:hover,
  .calc-card:focus-within {
    transform: none;
  }
}


@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card--wide {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}


/* ─────────────────────────────────────────────────────────────
   13. WEBINARS
───────────────────────────────────────────────────────────── */
.s-webinars {
  background-color: var(--c-parchment-mid);
  border-top: 1px solid var(--c-border);
}

.webinar__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.webinar__subhead {
  font-size: var(--text-xl);
  color: var(--c-green-deep);
  margin-bottom: var(--sp-5);
}

/* Topics list */
.webinar__topics {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
}

.webinar__topics li {
  font-size: var(--text-base);
  color: var(--c-text-secondary);
  padding: var(--sp-3) var(--sp-5);
  background-color: var(--c-white);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-green-mid);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}

/* 24hr reminder box */
.webinar__reminder-box {
  background-color: var(--c-green-darkest);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  border-left: 4px solid #fff;
  box-shadow: var(--shadow-md);
}

.webinar__subhead--light {
  color: #ffffff !important;
}

.webinar__reminder-box p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--sp-6);
  max-width: none;
}

/* Webinar calendar events */
.webinar__events {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.webinar-event {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
  padding: var(--sp-5);
  background-color: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.webinar-event:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.webinar-event__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 62px;
  background-color: var(--c-green-darkest);
  border-radius: var(--radius-md);
  padding: var(--sp-2) var(--sp-3) var(--sp-3);
  text-align: center;
  border-bottom: 3px solid var(--c-green-mid);
}

.webinar-event__month {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold);
  line-height: 1.8;
}

.webinar-event__day {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--c-parchment);
  line-height: 1;
}

.webinar-event__info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.webinar-event__info strong {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--c-green-deep);
  line-height: 1.3;
}

.webinar-event__info span {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
}

.link-arrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-gold);
  text-decoration: none;
  margin-top: var(--sp-2);
  transition: color var(--transition);
}

.link-arrow:hover {
  color: var(--c-green-deep);
  text-decoration: underline;
}

.webinar__calendar-note {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  max-width: none;
}

.webinar__calendar-note a {
  font-weight: 600;
}

@media (max-width: 900px) {
  .webinar__layout {
    grid-template-columns: 1fr;
  }
}


/* ─────────────────────────────────────────────────────────────
   14. REVIEWS
───────────────────────────────────────────────────────────── */
.s-reviews {
  background-color: var(--c-white);
  border-top: 1px solid var(--c-border);
}

.reviews__aggregate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.reviews__stars {
  font-size: 2.25rem;
  color: var(--c-gold);
  letter-spacing: 4px;
  line-height: 1;
}

.reviews__count {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--c-text-secondary);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}

.review-card {
  padding: var(--sp-8);
  background-color: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-gold);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.review-card__stars {
  font-size: 1.125rem;
  color: var(--c-gold);
  letter-spacing: 3px;
  line-height: 1;
}

.review-card__quote {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: var(--text-base);
  color: var(--c-text-secondary);
  flex-grow: 1;
  border: none;
  padding: 0;
  max-width: none;
  line-height: 1.7;
}

.review-card__quote::before {
  content: '\201C';
}

.review-card__quote::after {
  content: '\201D';
}

.review-card__author {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-4);
}

.review-card__author strong {
  color: var(--c-green-deep);
  font-weight: 700;
}

.reviews__proto-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  padding: var(--sp-5) var(--sp-6);
  background-color: var(--c-parchment);
  border: 1px dashed var(--c-border);
  border-radius: var(--radius-md);
  max-width: none;
}

@media (max-width: 900px) {
  .reviews__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
}


/* ─────────────────────────────────────────────────────────────
   15. FAQ
───────────────────────────────────────────────────────────── */
.s-faq {
  background-color: var(--c-parchment-mid);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  background-color: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--c-green-mid);
}

.faq-item__q {
  list-style: none;
  padding: var(--sp-6) var(--sp-8);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--c-green-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-6);
  user-select: none;
  transition: background-color var(--transition);
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::marker {
  display: none;
}

.faq-item__q::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--c-gold);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}

.faq-item[open]>.faq-item__q {
  background-color: var(--c-parchment);
}

.faq-item[open]>.faq-item__q::after {
  transform: rotate(45deg);
}

.faq-item__q:hover {
  background-color: var(--c-parchment);
}

.faq-item__a {
  padding: 0 var(--sp-8) var(--sp-8);
  border-top: 1px solid var(--c-border);
}

.faq-item__a p {
  font-size: var(--text-base);
  color: var(--c-text-secondary);
  max-width: none;
  padding-top: var(--sp-5);
  line-height: 1.75;
}

@media (max-width: 600px) {
  .faq-item__q {
    padding: var(--sp-5) var(--sp-6);
    font-size: var(--text-lg);
  }

  .faq-item__a {
    padding: 0 var(--sp-6) var(--sp-6);
  }
}


/* ─────────────────────────────────────────────────────────────
   16. ABOUT
───────────────────────────────────────────────────────────── */
.s-about {
  background-color: var(--c-green-darkest);
  position: relative;
  overflow: hidden;
}

.about__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.about__content .section-heading {
  margin-bottom: var(--sp-6);
}

.about__lead {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-style: normal;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: var(--sp-6);
  max-width: none;
  line-height: 1.5;
}

.about__content p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: var(--sp-5);
  max-width: none;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

.about__tag {
  padding: 0.4375rem 1.125rem;
  border: 1.5px solid rgba(255, 255, 255, 0.40);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  background-color: rgba(255, 255, 255, 0.08);
}

/* Contact card */
.about__contact-card {
  background-color: var(--c-white);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-gold);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-lg);
}

.about__contact-title {
  font-size: var(--text-2xl);
  color: var(--c-green-deep);
  margin-bottom: var(--sp-6);
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.contact-list__icon {
  font-size: 1.125rem;
  flex-shrink: 0;
  width: 26px;
  text-align: center;
  margin-top: 3px;
  color: var(--c-gold);
  font-family: var(--font-heading);
  font-weight: 700;
}

.contact-list li>span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--text-base);
  color: var(--c-text-secondary);
  line-height: 1.5;
}

.contact-list li strong {
  font-size: 0.6875rem;
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  font-weight: 600;
}

.contact-list a {
  color: var(--c-green-mid);
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
  color: var(--c-gold);
}

.contact-cta-btn {
  margin-top: var(--sp-8);
}

@media (max-width: 900px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }
}


/* ─────────────────────────────────────────────────────────────
   16.5  READY CTA BAND
───────────────────────────────────────────────────────────── */
.s-ready-cta {
  background-color: var(--c-white);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding-block: var(--sp-16);
}

.ready-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}

/* Stats row */
.ready-cta__stats {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.ready-cta__stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  text-align: center;
  flex: 1;
}

.ready-cta__stat-num {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1;
  color: var(--c-green-mid);
  letter-spacing: -0.03em;
}

.ready-cta__stat-label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ready-cta__divider {
  width: 1px;
  height: 56px;
  background-color: var(--c-border);
  flex-shrink: 0;
}

/* Content */
.ready-cta__content {
  border-left: 3px solid var(--c-green-mid);
  padding-left: var(--sp-10);
}

.ready-cta__heading {
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  color: var(--c-green-deep);
  margin-bottom: var(--sp-3);
}

.ready-cta__sub {
  font-size: var(--text-base);
  color: var(--c-text-secondary);
  margin-bottom: var(--sp-6);
  max-width: 44ch;
}

@media (max-width: 900px) {
  .ready-cta__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .ready-cta__content {
    border-left: none;
    padding-left: 0;
    border-top: 3px solid var(--c-green-mid);
    padding-top: var(--sp-8);
  }
}

@media (max-width: 480px) {
  .ready-cta__stats {
    gap: var(--sp-4);
  }

  .ready-cta__stat-num {
    font-size: var(--text-3xl);
  }
}

/* ─────────────────────────────────────────────────────────────
   17. FOOTER
───────────────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--c-green-darkest);
  color: var(--c-parchment-mid);
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-8);
  border-top: 3px solid var(--c-gold);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: var(--sp-4);
}

.footer__tagline {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: var(--sp-6);
  max-width: none;
}

.footer__address {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  max-width: none;
}

.footer__address a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.footer__address a:hover {
  text-decoration: underline;
}

.footer__nav-title {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: var(--sp-4);
  font-weight: 700;
}

.footer__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__nav a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: #ffffff;
}

/* Disclaimer */
.footer__disclaimer {
  padding-block: var(--sp-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer__disclaimer p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  max-width: none;
  margin-bottom: var(--sp-3);
}

.footer__disclaimer p:last-child {
  margin-bottom: 0;
}

.footer__disclaimer a {
  color: rgba(255, 255, 255, 0.65);
}

.footer__disclaimer a:hover {
  color: #ffffff;
}

/* Bottom bar */
.footer__bottom {
  padding-top: var(--sp-6);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.footer__bottom p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.50);
  max-width: none;
}

.footer__proto-note {
  font-style: normal;
  text-align: right;
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
}

@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer__bottom {
    flex-direction: column;
  }

  .footer__proto-note {
    text-align: left;
  }
}


/* ─────────────────────────────────────────────────────────────
   18. RESPONSIVE — GLOBAL SECTION PADDING
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  section {
    padding-block: var(--sp-12);
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad: 1rem;
  }

  section {
    padding-block: var(--sp-10);
  }
}


/* ─────────────────────────────────────────────────────────────
   11.5  MULTI-CARD CAROUSEL  (Services + Calculators)
         Shared scroll-snap carousel — no auto-advance.
         Touch, trackpad, and keyboard all supported natively.
───────────────────────────────────────────────────────────── */

/* Scroll viewport */
.mc-carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
}

.mc-carousel__viewport::-webkit-scrollbar {
  display: none;
  /* Chrome / Safari / Edge */
}

/* Track: flex row — width and snap set by JS */
.mc-carousel__track {
  display: flex;
  gap: var(--sp-5);
}

/* Each card: flex-basis set in JS; snap to start of each card */
.mc-carousel__track>* {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 0;
  /* prevent flex blowout */
}

/* ── Controls bar  (prev arrow | progress bar | next arrow) ── */
.mc-carousel__controls {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

/* ── Arrow buttons ── */
.mc-carousel__btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    opacity var(--transition);
}

/* Services (parchment background) */
.s-services .mc-carousel__btn {
  background-color: var(--c-white);
  border: 2px solid var(--c-border);
  color: var(--c-green-deep);
}

.s-services .mc-carousel__btn:hover,
.s-services .mc-carousel__btn:focus-visible {
  background-color: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-white);
  outline: none;
}


/* ── Progress bar ── */
.mc-carousel__progress {
  flex: 1;
  height: 4px;
  background-color: rgba(0, 0, 0, 0.12);
  border-radius: 99px;
  overflow: hidden;
}


.mc-carousel__progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--c-gold);
  border-radius: 99px;
  transition: width 300ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .mc-carousel__progress-fill {
    transition: none;
  }
}

/* ── Keyboard focus ring on the container ── */
.mc-carousel:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}



/* ─────────────────────────────────────────────────────────────
   19. PRINT (basic safeguard)
───────────────────────────────────────────────────────────── */
@media print {

  .site-header,
  .nav__hamburger,
  .carousel__btn,
  .carousel__dots,
  .calc__footer-cta,
  .webinar__reminder-box {
    display: none;
  }

  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
  }
}