/* ============================================================
   ZION CARE — Main Stylesheet
   ============================================================ */

/* No external fonts — using system Helvetica stack */

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--orange);
  z-index: 9999;
  transition: width 0.08s linear;
  border-radius: 0 2px 2px 0;
  pointer-events: none;
}

/* ---------- Page Transitions ---------- */
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pageLeave {
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: translateY(-8px); }
}
main { animation: pageEnter 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; }
body.is-leaving main { animation: pageLeave 0.25s ease forwards; }

/* ---------- CSS Variables ---------- */
:root {
  --navy:   #0F2A47;
  --orange: #E8772E;
  --blue:   #2E6FA8;
  --teal:   #3FA39A;
  --cream:  #F7F1E6;
  --ink:    #1A1A1A;
  --mute:   #6B7280;
  --line:   #E5E0D6;
  --white:  #FDFCFA;

  --font-display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:    'Helvetica Neue', Helvetica, Arial, sans-serif;

  --max-w: 1200px;
  --radius: 6px;
  --shadow: 0 2px 16px rgba(15,42,71,0.08);
  --shadow-lg: 0 8px 40px rgba(15,42,71,0.13);

  --transition: 0.22s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
}
img { display: block; max-width: 100%; height: auto; }
a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
  -webkit-tap-highlight-color: transparent;
}
a:hover { color: var(--navy); }
ul, ol { list-style: none; }
button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
  -webkit-tap-highlight-color: transparent;
}
/* Ensure all tap targets meet 44×44px minimum */
.btn,
.mobile-nav a,
.accordion-trigger,
.hamburger { min-height: 44px; }

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

/* ---------- Utility Bar ---------- */
.utility-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.82);
  font-size: 0.8125rem;
  padding: 0.45rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
/* Hide the left label and the CTA button on small screens to prevent overflow */
@media (max-width: 639px) {
  .utility-bar > span:first-child { display: none; }
  .utility-bar .ub-cta { display: none; }
  .utility-bar { justify-content: flex-end; }
}
.utility-bar a {
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.utility-bar a:hover { color: #fff; }
.utility-bar .ub-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.utility-bar .ub-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 0.25rem 0.875rem;
  border-radius: 3px;
  font-weight: 500;
  font-size: 0.8125rem;
  transition: background var(--transition), color var(--transition);
}
.utility-bar .ub-cta:hover { background: #d4691e; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(15,42,71,0.06);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .header-inner { height: 100px; }
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img {
  height: 56px;
  width: auto;
}
@media (min-width: 1024px) {
  .site-logo img { height: 90px; }
}
.site-logo .logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

/* Primary Nav — hidden on mobile, shown on desktop */
.primary-nav {
  display: none;
}
@media (min-width: 1024px) {
  .primary-nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    justify-content: center;
    overflow: visible;
  }
}
.primary-nav a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 0.5rem 0.5rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav a.active {
  color: var(--navy);
  background: var(--cream);
}

/* Dropdown */
.nav-item { position: relative; }
.nav-item > a::after {
  content: ' ▾';
  font-size: 0.7em;
  opacity: 0.6;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 300;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--ink);
  border-radius: 0;
}
.nav-dropdown a:hover { background: var(--cream); color: var(--navy); }

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
/* Hide the schedule button on mobile — hamburger menu has it */
@media (max-width: 1023px) {
  .header-cta .btn { display: none; }
}
.header-phone {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  display: none;
}
@media (min-width: 1024px) { .header-phone { display: block; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 2px 8px rgba(232,119,46,0.3);
}
.btn-primary:hover {
  background: #d4691e;
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,119,46,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: #fff;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: #fff;
}
.btn-teal {
  background: var(--teal);
  color: #fff;
}
.btn-teal:hover { background: #338f87; color: #fff; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.8125rem 1.875rem; font-size: 1.0625rem; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius);
  cursor: pointer;
  background: none;
  border: none;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--cream); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 1rem 1.5rem 1.5rem;
  box-shadow: 0 8px 24px rgba(15,42,71,0.1);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--navy); }
.mobile-nav .mobile-cta {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: #fff; }
.section-white { background: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.section-navy h1,
.section-navy h2,
.section-navy h3 { color: #fff; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.375rem); font-weight: 700; }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.display-xl { font-size: clamp(2.25rem, 5.5vw, 4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; }
.display-lg { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.lead {
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--mute);
  font-weight: 300;
}
.section-navy .lead { color: rgba(255,255,255,0.75); }
.section-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
  display: block;
}
.section-navy .section-label { color: var(--teal); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

/* ---------- Image Placeholders ---------- */
.img-placeholder {
  background: repeating-linear-gradient(
    45deg,
    #e8e3d8 0px,
    #e8e3d8 4px,
    #f0ebe0 4px,
    #f0ebe0 20px
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--mute);
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.img-placeholder .img-label {
  background: rgba(255,255,255,0.85);
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  line-height: 1.4;
  max-width: 200px;
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(63,163,154,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 30% 80%, rgba(46,111,168,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.hero-content h1 { color: #fff; margin-bottom: 1.25rem; }
.hero-content .lead {
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero-phone-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
}
.hero-phone-link:hover { color: #fff; }
.hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-image .img-placeholder {
  min-height: 420px;
  border-radius: 12px;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.04) 0px,
    rgba(255,255,255,0.04) 4px,
    rgba(255,255,255,0.02) 4px,
    rgba(255,255,255,0.02) 20px
  );
}
.hero-image .img-placeholder .img-label { background: rgba(15,42,71,0.75); color: rgba(255,255,255,0.85); }

/* ---------- Promise Band ---------- */
.promise-band {
  background: var(--teal);
  color: #fff;
  padding: 1.75rem 0;
}
.promise-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .promise-grid {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }
  .promise-item {
    flex: 1;
    justify-content: center;
    padding: 0 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.2);
  }
  .promise-item:last-child { border-right: none; }
}
.promise-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.4;
}
.promise-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

/* ---------- Section Headers ---------- */
.section-header {
  margin-bottom: 3rem;
}
.section-header.centered { text-align: center; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header .lead { max-width: 620px; }
.section-header.centered .lead { margin: 0 auto; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card-accent {
  border-top: 3px solid var(--orange);
}
.card-teal { border-top: 3px solid var(--teal); }
.card-blue { border-top: 3px solid var(--blue); }
.card h3 { margin-bottom: 0.625rem; }
.card p { color: var(--mute); font-size: 0.9375rem; }

/* Programs Grid */
.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .programs-grid { grid-template-columns: repeat(2, 1fr); } }

.program-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--orange);
}
.program-card.program-teal::before { background: var(--teal); }
.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.program-card .program-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.625rem;
}
.program-card.program-teal .program-label { color: var(--teal); }
.program-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.program-card .promise { font-size: 1rem; color: var(--mute); margin-bottom: 1.5rem; }
.program-card ul {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.program-card ul li {
  font-size: 0.9375rem;
  color: var(--ink);
  padding-left: 1.375rem;
  position: relative;
}
.program-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 600;
}
.program-price {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

/* Spec Cards */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(4, 1fr); } }

.spec-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.spec-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.spec-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
}
.spec-icon.navy-bg { background: rgba(15,42,71,0.08); }
.spec-icon.teal-bg { background: rgba(63,163,154,0.12); }
.spec-icon.orange-bg { background: rgba(232,119,46,0.1); }
.spec-icon.blue-bg { background: rgba(46,111,168,0.1); }
.spec-card h4 { font-size: 0.9375rem; margin-bottom: 0.25rem; }
.spec-card p { font-size: 0.8125rem; color: var(--mute); }

/* ---------- Feature Blocks ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .feature-block { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .feature-block.reverse .feature-text { order: -1; }
}
.feature-text h2 { margin-bottom: 1rem; }
.feature-text p { color: var(--mute); margin-bottom: 1.25rem; }
.feature-text .btn { margin-top: 0.5rem; }
.feature-image .img-placeholder { min-height: 360px; }

/* ---------- Timeline Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  position: relative;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.step-number {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.step-card h4 { margin-bottom: 0.375rem; font-size: 1rem; }
.step-card p { font-size: 0.875rem; color: var(--mute); }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--teal);
  opacity: 0.25;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  line-height: 1;
}
.testimonial-placeholder {
  font-size: 0.875rem;
  color: var(--mute);
  font-style: italic;
  border: 2px dashed var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}
.testimonial-card .attribution {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
}
.testimonial-card .attribution span {
  display: block;
  font-weight: 400;
  color: var(--mute);
}

/* ---------- Service Area Band ---------- */
.area-band {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band .lead { color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; } }

.footer-brand .site-logo .logo-wordmark { color: #fff; }
.footer-brand p {
  font-size: 0.875rem;
  margin-top: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}
.footer-contact {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-contact a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}
.footer-contact a:hover { color: #fff; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.125rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}
.footer-col ul li a:hover { color: #fff; }

.footer-area {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}
.footer-area-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-accreditation {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
}
.accreditation-placeholder {
  display: inline-block;
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ---------- Mobile Floating CTA ---------- */
.mobile-float-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 0.875rem 1.5rem;
  z-index: 500;
  display: flex;
  gap: 0.75rem;
  border-top: 2px solid var(--orange);
}
.mobile-float-cta a {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9375rem;
}
.mobile-float-cta .mf-call { background: var(--orange); color: #fff; }
.mobile-float-cta .mf-schedule { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
@media (min-width: 768px) { .mobile-float-cta { display: none; } }

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46,111,168,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); gap: 0 1.25rem; } }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(63,163,154,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { color: #fff; margin-bottom: 0.875rem; }
.page-hero .lead { color: rgba(255,255,255,0.78); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.375rem;
  align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: 0.5; }

/* ---------- Stat Callout ---------- */
.stat-callout {
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  border-left: 4px solid var(--orange);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-callout p { color: rgba(255,255,255,0.75); font-size: 0.9375rem; }

/* ---------- Accordion (FAQ) ---------- */
.accordion { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: background var(--transition);
}
.accordion-trigger:hover { background: var(--cream); }
.accordion-trigger[aria-expanded="true"] { color: var(--navy); background: var(--cream); }
.accordion-icon {
  font-size: 1.25rem;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--mute);
  background: var(--cream);
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              padding  0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-body.open {
  max-height: 600px;
  padding: 1rem 1.5rem 1.5rem;
}

/* ---------- Partners columns ---------- */
.partner-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .partner-cols { grid-template-columns: repeat(3, 1fr); } }
.partner-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2rem;
}
.partner-col .partner-col-icon {
  width: 48px;
  height: 48px;
  background: rgba(15,42,71,0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 1rem;
}
.partner-col h3 { font-size: 1.125rem; margin-bottom: 0.875rem; }
.partner-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.partner-col ul li {
  font-size: 0.9rem;
  color: var(--mute);
  padding-left: 1.25rem;
  position: relative;
}
.partner-col ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.8125rem;
}

/* ---------- Value Props / Why Different ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card {
  padding: 2rem;
  background: var(--cream);
  border-radius: 10px;
}
.why-card .why-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--orange);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.why-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.9rem; color: var(--mute); }

/* ---------- Leadership Cards ---------- */
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .leadership-grid { grid-template-columns: repeat(2, 1fr); } }
.leadership-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.leadership-card .leader-photo .img-placeholder { min-height: 280px; border-radius: 0; }
.leadership-card .leader-info { padding: 1.5rem; }
.leadership-card .leader-info h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.leadership-card .leader-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 0.75rem;
  display: block;
}
.leadership-card .leader-bio { font-size: 0.9rem; color: var(--mute); }

/* ---------- Counties / Service Area ---------- */
.county-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 768px) { .county-grid { grid-template-columns: repeat(3, 1fr); } }
.county-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.county-card::before {
  content: '📍';
  font-size: 0.875rem;
}

/* Town tag pills for service area page */
.county-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.county-block-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.county-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.county-block h3 {
  font-size: 1.125rem;
  margin: 0;
}
.town-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.town-tag {
  background: var(--cream);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 400;
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  white-space: nowrap;
}

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card {
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}
.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(63,163,154,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}
.value-card h4 { font-size: 1rem; margin-bottom: 0.375rem; }
.value-card p { font-size: 0.85rem; color: var(--mute); }

/* ---------- Paying for care ---------- */
.pay-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .pay-section-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.pay-section-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2.5rem;
  background: #fff;
}
.pay-section-card .pay-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.pay-section-card h3 { margin-bottom: 0.75rem; }
.pay-section-card p { font-size: 0.9375rem; color: var(--mute); }
.price-display {
  background: var(--cream);
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1.25rem 0;
}
.price-display .price-label { font-size: 0.75rem; color: var(--mute); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.price-display .price-amount {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--navy);
  font-weight: 500;
}

/* ---------- Careers ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }

.benefit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(63,163,154,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.benefit-card h4 { font-size: 0.9375rem; margin-bottom: 0.25rem; }
.benefit-card p { font-size: 0.85rem; color: var(--mute); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(15,42,71,0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.contact-detail h4 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mute); margin-bottom: 0.25rem; }
.contact-detail a, .contact-detail p { font-size: 1rem; color: var(--ink); }
.contact-detail a:hover { color: var(--navy); }

/* ---------- Program card blue variant ---------- */
.program-card.program-blue::before { background: var(--blue); }
.program-card.program-blue .program-label { color: var(--blue); }

/* Blue outline button (mirrors btn-secondary but in brand blue) */
.btn-blue-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-blue-outline:hover {
  background: var(--blue);
  color: #fff;
}

/* Programs stack — always single column (homepage layout) */
.programs-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Spec grid 3-column variant */
@media (min-width: 640px) {
  .spec-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Spec card inline links */
.spec-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-block;
  margin-top: 0.5rem;
}
.spec-link-blue { color: var(--blue); }
.spec-link-orange { color: var(--orange); }

/* Section header with reduced bottom margin */
.section-header-compact { margin-bottom: 2rem; }

/* Hero image fills its container (parent has overflow:hidden + border-radius) */
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Feature image fills its container */
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Area band flex layout */
.area-band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.area-heading {
  font-size: 1.375rem;
  margin-bottom: 0.25rem;
}
.area-caption {
  color: var(--mute);
  font-size: 0.9375rem;
  margin: 0;
}

/* Steps section centered CTA */
.steps-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Footer address (dimmer than contact links) */
.footer-address {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Footer social icons */
.footer-social {
  display: flex;
  gap: 0.625rem;
  margin-top: 1rem;
  align-items: center;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.footer-social a:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */

/* Prevent horizontal scroll on all screen sizes */
html { overflow-x: hidden; }

/* ---- Mobile — up to 639px ---- */
@media (max-width: 639px) {

  /* Base */
  body {
    font-size: 16px;
    padding-bottom: 80px; /* room for floating CTA bar */
  }

  /* Prevent iOS from zooming into form inputs */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }

  /* Fluid container — no content touches screen edge */
  .container { padding: 0 1.125rem; }

  /* Typography scale-down */
  .display-xl { font-size: clamp(1.875rem, 8vw, 2.5rem); }
  h1 { font-size: clamp(1.625rem, 6vw, 2rem); }
  h2 { font-size: clamp(1.375rem, 5vw, 1.75rem); }
  h3 { font-size: clamp(1.125rem, 4vw, 1.375rem); }

  /* Sections */
  .section    { padding: 3rem 0; }
  .section-sm { padding: 1.75rem 0; }
  .section-lg { padding: 4rem 0; }
  .section-header { margin-bottom: 2rem; }

  /* Hero */
  .hero { padding: 2.5rem 0 2rem; }
  .hero-grid { gap: 2rem; }
  .hero-image { max-height: 240px; overflow: hidden; }
  .hero-image img { object-position: center top; }

  /* Page hero (inner pages) */
  .page-hero { padding: 2rem 0 1.75rem; }

  /* Recovery hero */
  .recovery-hero { padding: 2.5rem 0 2rem; }

  /* CTA band */
  .cta-band { padding: 3rem 0; }
  .cta-band .lead { margin-bottom: 1.5rem; }

  /* Promise band — stack vertically on mobile, left-align for readability */
  .promise-band { padding: 1.5rem 0; }
  .promise-grid { gap: 0.875rem; }
  .promise-item { align-items: flex-start; }

  /* Buttons — full width stacked in hero & CTA band */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  /* Spec grid — force 1 column on phones */
  .spec-grid,
  .spec-grid-3 { grid-template-columns: 1fr; }

  /* Program cards */
  .program-card { padding: 1.5rem; }

  /* Cards */
  .card { padding: 1.25rem; }

  /* Feature block */
  .feature-block { gap: 2rem; }

  /* Contact grid */
  .contact-grid { gap: 2rem; }

  /* Footer */
  .site-footer { padding: 2.5rem 0 0; }
  .footer-grid { gap: 2rem; margin-bottom: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 0.75rem; }
  .footer-area-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .footer-legal { justify-content: center; }

  /* Area & teaser bands */
  .area-band-inner,
  .teaser-band-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .area-band-inner .btn,
  .teaser-band-inner .btn { width: 100%; justify-content: center; }

  /* Accordion */
  .accordion-trigger { padding: 1rem 1.25rem; font-size: 0.9375rem; }

  /* Value cards */
  .value-card { padding: 1.25rem 1rem; }

  /* Why grid */
  .why-card { padding: 1.5rem; }

  /* Steps CTA */
  .steps-cta { margin-top: 1.5rem; }
  .steps-cta .btn { width: 100%; justify-content: center; }

  /* Recovery stat strip */
  .recovery-stat-inner { gap: 1rem; }

  /* Btn-row full-width on mobile */
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .btn-row-center { align-items: center; }
}

/* ---- Small tablet — 640px to 767px ---- */
@media (min-width: 640px) and (max-width: 767px) {
  .section    { padding: 3.5rem 0; }
  .section-sm { padding: 2.5rem 0; }
  .hero       { padding: 3rem 0 2.5rem; }
  .page-hero  { padding: 2.5rem 0 2rem; }
  .cta-band   { padding: 3.5rem 0; }
  .recovery-hero { padding: 3rem 0 2.5rem; }
}

/* ---- Remove floating CTA bar on tablet+ ---- */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

/* ---- Tablet — 768px to 1023px ---- */
@media (min-width: 768px) and (max-width: 1023px) {
  .section  { padding: 4rem 0; }
  .cta-band { padding: 4rem 0; }
  .page-hero { padding: 3rem 0 2.5rem; }
  .hero     { padding: 4rem 0 3rem; }
  .recovery-hero { padding: 4rem 0 3.5rem; }
}

/* ============================================================
   ANIMATIONS — Professional & Fluid
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {

  /* ----------------------------------------------------------------
     Keyframes
  ---------------------------------------------------------------- */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  @keyframes slideLeft {
    from { opacity: 0; transform: translateX(-36px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes scaleUp {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
  }
  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes pageFade {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* ----------------------------------------------------------------
     Scroll-reveal base states
     Images are explicitly excluded — they must always be visible.
  ---------------------------------------------------------------- */
  [data-animate] {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  }
  [data-animate="from-left"]  { transform: translateX(-36px); }
  [data-animate="from-right"] { transform: translateX(36px); }
  [data-animate="from-below"] { transform: translateY(36px); }
  [data-animate="scale"]      { transform: scale(0.94); }

  [data-animate].is-visible { opacity: 1; transform: none; }

  /* Images — always fully visible, never animated */
  img,
  .hero-image,
  .feature-image,
  .leader-photo,
  .leadership-card { opacity: 1 !important; transform: none !important; }

  /* ----------------------------------------------------------------
     Hero — element-level stagger on load
  ---------------------------------------------------------------- */
  .hero-content .section-label { animation: fadeIn  0.5s ease               0.05s both; }
  .hero-content h1              { animation: fadeUp  0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
  .hero-content .lead           { animation: fadeUp  0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both; }
  .hero-content .hero-actions   { animation: fadeUp  0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.40s both; }
  .promise-band                 { animation: fadeUp  0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both; }

  /* ----------------------------------------------------------------
     Page hero — inner pages
  ---------------------------------------------------------------- */
  .page-hero-inner     { animation: fadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
  .recovery-hero-inner { animation: fadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }

  /* ----------------------------------------------------------------
     Page — subtle fade in on load
  ---------------------------------------------------------------- */
  main { animation: pageFade 0.4s ease; }

  /* ----------------------------------------------------------------
     Mobile nav — smooth slide down
  ---------------------------------------------------------------- */
  .mobile-nav.open { animation: navDrop 0.3s cubic-bezier(0.16, 1, 0.3, 1); }

  /* ----------------------------------------------------------------
     Buttons — lift on hover, press on click
  ---------------------------------------------------------------- */
  .btn {
    transition: background 0.22s ease, color 0.22s ease,
                box-shadow 0.22s ease, transform 0.22s ease;
  }
  .btn:hover  { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,42,71,0.18); }
  .btn:active { transform: translateY(0) scale(0.97); box-shadow: none; }
  .btn-primary:hover  { background: #cf6a28; box-shadow: 0 8px 24px rgba(232,119,46,0.38); }
  .btn-secondary:hover { background: var(--navy); color: #fff; }

  /* ----------------------------------------------------------------
     Cards — premium lift with shadow depth
  ---------------------------------------------------------------- */
  .card,
  .program-card,
  .step-card,
  .spec-card,
  .value-card,
  .why-card,
  .benefit-card,
  .partner-col,
  .testimonial-card {
    transition: box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform   0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .card:hover,
  .program-card:hover,
  .step-card:hover,
  .spec-card:hover,
  .value-card:hover,
  .benefit-card:hover,
  .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 64px rgba(15,42,71,0.13);
  }
  .why-card:hover,
  .partner-col:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(15,42,71,0.10);
  }

  /* ----------------------------------------------------------------
     Feature images — subtle zoom on hover
  ---------------------------------------------------------------- */
  .feature-image { overflow: hidden; }
  .feature-image img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .feature-image:hover img { transform: scale(1.04) !important; }

  /* Hero image zoom */
  .hero-image { overflow: hidden; }
  .hero-image img {
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .hero-image:hover img { transform: scale(1.03) !important; }

  /* ----------------------------------------------------------------
     Nav — orange underline slides in from centre
  ---------------------------------------------------------------- */
  .primary-nav a { position: relative; }
  .primary-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: var(--orange);
    border-radius: 2px;
    transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                left  0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .primary-nav a:hover::after,
  .primary-nav a.active::after { width: 80%; left: 10%; }

  /* ----------------------------------------------------------------
     Footer links — gentle left-slide on hover
  ---------------------------------------------------------------- */
  .footer-col ul li a,
  .footer-contact a {
    transition: color 0.2s ease, padding-left 0.2s ease;
  }
  .footer-col ul li a:hover  { padding-left: 5px; }

  /* ----------------------------------------------------------------
     Promise icons — pop on hover
  ---------------------------------------------------------------- */
  .promise-icon {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.25s ease;
  }
  .promise-item:hover .promise-icon {
    transform: scale(1.2);
    background: rgba(255,255,255,0.35);
  }

  /* ----------------------------------------------------------------
     Accordion icon
  ---------------------------------------------------------------- */
  .accordion-icon { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
  .accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }

  /* ----------------------------------------------------------------
     Hero — richer layered background
  ---------------------------------------------------------------- */
  .hero::before {
    background: radial-gradient(ellipse at 70% 50%, rgba(63,163,154,0.18) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(46,111,168,0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 90% 10%, rgba(232,119,46,0.08) 0%, transparent 40%);
  }

  /* ----------------------------------------------------------------
     Primary button — shimmer sweep on hover
  ---------------------------------------------------------------- */
  .btn-primary { position: relative; overflow: hidden; }
  .btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.22), transparent);
    transform: skewX(-20deg);
  }
  .btn-primary:hover::after {
    left: 125%;
    transition: left 0.55s ease;
  }

  /* ----------------------------------------------------------------
     Section label — orange accent bar slides in on reveal
  ---------------------------------------------------------------- */
  .section-label { position: relative; padding-left: 0.875rem; }
  .section-label::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px; height: 100%;
    background: var(--orange);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
  }
  .is-visible .section-label::before,
  .page-hero-inner .section-label::before,
  .hero-content .section-label::before,
  .recovery-hero-inner .section-label::before { transform: translateY(-50%) scaleY(1); }

  /* ----------------------------------------------------------------
     Testimonial quote mark — scales in on card reveal
  ---------------------------------------------------------------- */
  .testimonial-card::before {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, opacity 0.5s ease 0.2s;
    transform: scale(0.4) translateY(-8px);
    opacity: 0;
  }
  .testimonial-card.is-visible::before { transform: scale(1); opacity: 0.25; }

  /* ----------------------------------------------------------------
     Input focus — lift + deeper glow
  ---------------------------------------------------------------- */
  .form-group input,
  .form-group select,
  .form-group textarea {
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(46,111,168,0.15);
  }

  /* ----------------------------------------------------------------
     Mobile CTA bar — slides up on load
  ---------------------------------------------------------------- */
  @keyframes floatUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);   opacity: 1; }
  }
  .mobile-float-cta { animation: floatUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both; }

  /* ----------------------------------------------------------------
     Scroll progress bar — orange glow
  ---------------------------------------------------------------- */
  .scroll-progress { box-shadow: 0 0 8px rgba(232,119,46,0.5); }

}

/* ---------- Focus Styles ---------- */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Schema / Visually Hidden ---------- */
.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;
}

/* ---------- Divider ---------- */
.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* ---------- Button row ---------- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn-row-center { justify-content: center; }
.btn-full { width: 100%; }

/* ---------- Auto-fit responsive grids ---------- */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.auto-grid-280 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.auto-grid-300 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* ---------- Narrow container variants ---------- */
.container-narrow { max-width: 840px; }
.container-md     { max-width: 760px; }
.container-sm     { max-width: 680px; }
.container-xs     { max-width: 600px; }

/* ---------- Card internals ---------- */
.card h4 { margin-bottom: 0.5rem; }
.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.card-list li {
  font-size: 0.9rem;
  color: var(--mute);
  padding-left: 1.25rem;
  position: relative;
}
.card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* ---------- Arrow list (post-hospital "who it's for") ---------- */
.arrow-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1rem 0 1.5rem;
}
.arrow-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--ink);
}
.arrow-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ---------- Card links ---------- */
.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}
.card-link-teal   { color: var(--teal); }
.card-link-orange { color: var(--orange); }
.card-link-blue   { color: var(--blue); }

/* ---------- Process list (vertical numbered steps) ---------- */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}
.process-step-sm {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}
.process-step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.process-step p,
.process-step-sm p { color: var(--mute); font-size: 0.9375rem; }
.process-step p + p,
.process-step-sm p + p { margin-top: 0.5rem; }

/* ---------- Leadership grid centered ---------- */
.leadership-grid-centered { max-width: 800px; margin: 0 auto; }
.leader-photo img { width: 100%; height: auto; display: block; }

/* ---------- Recovery hero (home-recovery.html) ---------- */
.recovery-hero {
  background: var(--navy);
  color: #fff;
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.recovery-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 40%, rgba(232,119,46,0.12) 0%, transparent 55%),
              radial-gradient(ellipse at 20% 80%, rgba(63,163,154,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.recovery-hero-inner { position: relative; z-index: 1; }
.recovery-hero h1 { color: #fff; max-width: 760px; margin-bottom: 1.25rem; }
.recovery-hero .lead { max-width: 620px; margin-bottom: 2rem; }
.recovery-stat-strip { background: var(--orange); color: #fff; padding: 2rem 0; }
.recovery-stat-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .recovery-stat-inner { grid-template-columns: repeat(3, 1fr); }
}
.r-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.375rem;
}
.r-stat-label { font-size: 0.875rem; opacity: 0.88; }

/* ---------- Stat placeholder box ---------- */
.stat-placeholder-box {
  background: var(--navy);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2.5rem;
  border-left: 4px solid var(--orange);
}
.stat-placeholder-box p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9375rem;
  font-style: italic;
}

/* ---------- Trait grid (careers) ---------- */
.trait-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.trait-card {
  padding: 1.25rem;
  background: var(--cream);
  border-radius: 8px;
  font-size: 0.9375rem;
}
.trait-card strong { display: block; margin-bottom: 0.25rem; }
.trait-card span   { color: var(--mute); }

/* ---------- Form utilities ---------- */
.form-note { font-size: 0.8125rem; color: var(--mute); margin-top: 1rem; text-align: center; }
.req       { color: var(--orange); }

/* ---------- Contact page ---------- */
.contact-section-h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-intro { color: var(--mute); font-size: 0.9375rem; margin-bottom: 2rem; }

/* Form validation states */
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}
.form-error {
  display: block;
  font-size: 0.8125rem;
  color: #c0392b;
  margin-top: 0.25rem;
  min-height: 1.2em;
}

/* Submit button loading state */
.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

/* Form success message */
.form-success {
  background: rgba(63,163,154,0.08);
  border: 2px solid var(--teal);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  margin-top: 1.5rem;
  color: var(--navy);
  text-align: center;
}
.form-success-icon {
  width: 56px;
  height: 56px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
}
.form-success-heading {
  font-size: 1.375rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.form-success p {
  color: var(--mute);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}
.form-success a { color: var(--teal); font-weight: 600; }
.contact-note { font-size: 0.875rem; color: var(--mute); margin-top: 0.25rem; }
.contact-area-link { font-size: 0.875rem; font-weight: 600; color: var(--teal); }
.contact-steps-box { background: var(--cream); border-radius: 10px; padding: 1.5rem; }
.contact-steps-box h4 { margin-bottom: 0.5rem; font-size: 1rem; }
.contact-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}
.contact-steps-list li {
  font-size: 0.9rem;
  color: var(--mute);
  padding-left: 1.25rem;
  position: relative;
}
.contact-steps-num { position: absolute; left: 0; color: var(--teal); font-weight: 600; }
.trust-box { margin-top: 1.75rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 10px; }
.trust-box-title {
  font-size: 0.875rem;
  color: var(--mute);
  margin-bottom: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-family: var(--font-body);
}
.trust-box-items { display: flex; flex-direction: column; gap: 0.5rem; }
.trust-item  { font-size: 0.875rem; color: var(--mute); }
.trust-note  { font-size: 0.8125rem; color: var(--mute); font-style: italic; margin-top: 0.25rem; }

/* ---------- Partner page ---------- */
.partner-contact-list { display: flex; flex-direction: column; gap: 1.25rem; }
.partner-infobox {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: 10px;
  border: 1px solid var(--line);
}

/* ---------- Service area ---------- */
.area-note { text-align: center; margin-top: 2rem; font-size: 0.9375rem; color: var(--mute); }

/* ---------- Families / teaser band (reuses area-band-inner pattern) ---------- */
.teaser-band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.teaser-h2 { font-size: 1.375rem; margin-bottom: 0.25rem; }
.teaser-p  { color: var(--mute); font-size: 0.9375rem; margin: 0; }
