/* ============================================================
   Continuum Health Medical Group — Marketing Site
   Design tokens ported from design_source/colors_and_type.css
   ============================================================ */

:root {
  /* Brand */
  --brand-navy:      #1A3D6D;
  --brand-navy-deep: #0F2A4E;
  --brand-navy-soft: #2E5285;
  --brand-teal:      #00A9C8;
  --brand-teal-deep: #0088A3;
  --brand-teal-mid:  #1CBCCF;
  --brand-teal-soft: #7FD7E3;
  --brand-slate:     #5A6A7A;

  /* Surfaces */
  --bg-page:      #FFFFFF;
  --bg-subtle:    #F6FAFB;
  --bg-mint:      #E8F9FB;
  --bg-mint-2:    #B3EBF2;
  --bg-tint-blue: #EBF3F4;

  /* Text */
  --fg-1: #1A3D6D;
  --fg-2: #4C5354;
  --fg-3: #777F81;
  --fg-4: #808080;
  --fg-5: #9AB4B7;
  --fg-inverse: #FFFFFF;

  /* Borders / semantic */
  --border-1: #F8F8F8;
  --border-2: #DCDCDC;
  --border-focus: var(--brand-teal);
  --success: #2FB170;
  --warning: #E8A63A;
  --danger:  #D9534F;

  /* Shadows */
  --shadow-card:      0 0 30px rgba(8, 73, 81, 0.06);
  --shadow-nav:       0 2px 40px rgba(8, 70, 78, 0.08);
  --shadow-billboard: 0 0 20px rgba(9, 53, 58, 0.04);
  --shadow-blob:      0 0 60px rgba(8, 73, 81, 0.02);
  --shadow-btn:       0 8px 22px rgba(0, 169, 200, 0.28);
  --shadow-card-hover: 0 8px 28px rgba(8, 73, 81, 0.12);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-pill: 60px;
  --radius-full: 9999px;

  /* Type */
  --font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Motion */
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-2);
  background: var(--bg-page);
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-sans); cursor: pointer; }
iconify-icon { display: inline-block; line-height: 1; }

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  padding: 18px 32px;
  border-radius: var(--radius-pill);
  border: 0;
  transition: all var(--dur-base) var(--ease-out);
}
.btn-primary {
  background: var(--brand-teal);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--brand-teal-deep);
  box-shadow: 0 10px 26px rgba(0, 169, 200, 0.36);
}
.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(0, 169, 200, 0.24);
}
.btn-outline {
  background: transparent;
  color: var(--brand-teal);
  border: 2px solid var(--brand-teal);
  padding: 16px 30px;
}
.btn-outline:hover { background: var(--brand-teal); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--brand-teal);
  border: 2px solid var(--brand-teal);
  padding: 12px 26px;
  font-size: 14px;
}
.btn-secondary:hover { background: var(--brand-teal); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--fg-4);
  padding: 8px 4px;
  box-shadow: none;
}
.btn-ghost:hover { color: var(--brand-teal-mid); }

/* ---------- Eyebrow ---------- */
.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #fff;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
}
.eyebrow-chip span,
.eyebrow-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-5);
  line-height: 1;
}
.eyebrow-text { display: block; margin-bottom: 12px; }

/* ---------- Header ---------- */
#top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  max-width: 1300px;
  margin: 0 auto;
}
#top-bar .brand-logo { position: relative; display: inline-block; flex-shrink: 0; }
#top-bar .brand-logo img { display: block; height: 72px; width: auto; }
/* Two light points follow the original ribbon; the logo itself stays still. */
#top-bar .brand-lights {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  #top-bar .brand-lights { display: none; }
}
.topbar-meta { display: flex; align-items: center; gap: 32px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--fg-4);
}
.contact-row iconify-icon { color: var(--brand-teal); }

#sticky-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0 40px;
  max-width: 1300px;
  margin: 0 auto;
}
#sticky-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px 44px;
  box-shadow: var(--shadow-nav);
}
.nav-links { display: flex; align-items: center; list-style: none; }
.nav-links li { display: flex; align-items: center; }
.nav-links a {
  font-size: 15px;
  font-weight: 400;
  color: var(--fg-4);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--brand-teal); }
.nav-divider {
  width: 1px;
  height: 15px;
  background: var(--border-2);
  margin: 0 20px;
}
.nav-search {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-4);
}
.nav-search em { font-size: 14px; font-style: italic; }

#hamburger { display: none; background: none; border: 0; color: var(--fg-1); }

/* ---------- Billboard ---------- */
#hero-section {
  padding: 48px 0 96px;
  background: var(--bg-page);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
#hero-headline {
  margin-top: 28px;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--fg-2);
}
.hero-copy {
  margin-top: 24px;
  max-width: 520px;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-3);
}
.hero-cta-row { margin-top: 40px; display: flex; align-items: center; gap: 16px; }
.hero-stats { margin-top: 56px; display: flex; gap: 48px; }
.stat-number { font-size: 32px; font-weight: 600; color: var(--brand-navy); line-height: 1.2; }
.stat-label { font-size: 13px; color: var(--fg-4); margin-top: 4px; }

.hero-visual { position: relative; height: 620px; }
.hero-circle {
  position: absolute;
  right: -60px;
  bottom: 20px;
  width: 620px;
  height: 620px;
  background: var(--bg-tint-blue);
  border-radius: 50%;
  box-shadow: var(--shadow-blob);
}
.blob { position: absolute; border-radius: 50%; }
.blob-1 { right: 40px; top: 40px; width: 160px; height: 160px; background: var(--bg-mint); opacity: 0.98; }
.blob-2 { right: 140px; top: 100px; width: 120px; height: 120px; background: var(--bg-mint-2); opacity: 0.55; }
.blob-3 { right: 80px; top: 200px; width: 130px; height: 120px; background: #01BED5; opacity: 0.22; }
.hero-photo {
  position: absolute;
  right: 40px;
  bottom: 0;
  width: 460px;
  height: 580px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-billboard);
  background: linear-gradient(180deg, #EBF3F4 0%, #B3EBF2 100%);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: var(--shadow-card);
}
.float-chip .chip-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  flex-shrink: 0;
}
.float-chip .chip-title { font-size: 18px; font-weight: 600; color: var(--fg-1); line-height: 1.2; }
.float-chip .chip-title-sm { font-size: 14px; font-weight: 600; color: var(--fg-1); line-height: 1.2; }
.float-chip .chip-sub { font-size: 11px; color: var(--fg-4); margin-top: 2px; }
#rating-chip { left: -20px; top: 200px; }
#sameday-chip { right: -8px; bottom: 60px; }

/* ---------- Services ---------- */
#services-section { padding: 32px 0 96px; background: var(--bg-page); }
.services-band {
  position: relative;
  overflow: hidden;
  background: var(--brand-teal);
  border-radius: var(--radius-lg);
  padding: 56px 56px 200px;
}
.band-circle { position: absolute; width: 220px; height: 220px; border-radius: 50%; }
.band-c1 { top: -60px; right: 260px; background: rgba(232, 249, 251, 0.20); }
.band-c2 { top: -60px; right: 60px; background: rgba(179, 235, 242, 0.16); }
.band-c3 { top: 60px; right: 160px; background: rgba(21, 173, 191, 0.20); }
.band-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.band-grid h2 {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.3px;
}
.band-grid p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}
.services-cards {
  position: relative;
  z-index: 2;
  margin-top: -140px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0 20px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-1);
  box-shadow: var(--shadow-card);
  padding: 32px 26px;
  text-align: center;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: var(--bg-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  margin: 0 auto 20px;
}
.service-card h3 { font-size: 18px; font-weight: 600; color: var(--fg-1); margin-bottom: 10px; }
.service-card p { font-size: 13px; font-weight: 300; line-height: 1.65; color: var(--fg-4); }

/* ---------- Team ---------- */
#team-section { padding: 32px 0 96px; }
.team-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.section-title {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: var(--fg-1);
}
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.doctor-card {
  display: flex;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-1);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.doctor-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.doctor-photo { width: 260px; min-height: 320px; flex-shrink: 0; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.doctor-info { padding: 28px 30px; flex: 1; }
.doctor-name { font-size: 20px; font-weight: 600; color: var(--fg-1); }
.doctor-role { font-size: 14px; font-weight: 500; color: var(--fg-5); margin-top: 2px; }
.doctor-bio { font-size: 13px; font-weight: 300; line-height: 1.7; color: var(--fg-4); margin-top: 14px; }
.doctor-socials { display: flex; gap: 14px; margin-top: 20px; color: var(--brand-navy); }
.doctor-socials a { opacity: 0.55; transition: opacity var(--dur-fast) var(--ease-out); }
.doctor-socials a:first-child { opacity: 1; }
.doctor-socials a:hover { opacity: 1; }
.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--brand-teal-soft); opacity: 0.6; }
.dot.active { background: var(--brand-teal); opacity: 1; }

/* ---------- Appointment ---------- */
#appointment-section { padding: 96px 0; background: var(--bg-subtle); }
.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.appointment-copy { max-width: 480px; font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--fg-3); margin-top: 16px; }
.info-rows { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.info-row { display: flex; align-items: center; gap: 14px; }
.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  flex-shrink: 0;
}
.info-title { font-size: 14px; font-weight: 500; color: var(--fg-1); line-height: 1.3; }
.info-sub { font-size: 12px; color: var(--fg-4); }

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-4);
  margin-bottom: 8px;
}
.field .input-wrap { position: relative; }
.field .input-wrap iconify-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fg-5);
  pointer-events: none;
}
.field input, .field select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  font: 400 14px var(--font-sans);
  color: var(--fg-2);
  outline: none;
  background: #fff;
  transition: border-color var(--dur-fast) var(--ease-out);
  appearance: none;
}
.field .input-wrap.has-icon input,
.field .input-wrap.has-icon select { padding-left: 46px; }
.field input:focus, .field select:focus { border-color: var(--border-focus); }
.field input.error, .field select.error { border-color: var(--danger); }
.field-error { font-size: 12px; font-weight: 400; color: var(--danger); margin-top: 6px; display: none; }
.field.invalid .field-error { display: block; }
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 26px;
  gap: 16px;
}
.form-note { font-size: 12px; color: var(--fg-4); }

#form-success { display: none; text-align: center; padding: 24px 0; }
#form-success .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  margin: 0 auto 20px;
}
#form-success h3 { font-size: 24px; font-weight: 600; color: var(--fg-1); margin-bottom: 8px; }
#form-success p { font-size: 14px; color: var(--fg-4); margin-bottom: 24px; }

/* ---------- Footer ---------- */
#site-footer { background: #fff; padding-top: 80px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 56px;
}
.footer-brand img { height: 72px; width: auto; }
.footer-tagline {
  font-size: 14px;
  font-weight: 300;
  color: var(--fg-4);
  max-width: 360px;
  margin: 20px 0 24px;
}
.footer-contacts { display: flex; flex-direction: column; gap: 12px; font-style: normal; }
.social-tiles { display: flex; gap: 12px; margin-top: 24px; }
.social-tile {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-1);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-navy);
  opacity: 0.6;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.social-tile:first-child { opacity: 1; }
.social-tile:hover { opacity: 1; }
.footer-heading { font-size: 17px; font-weight: 600; color: var(--fg-1); margin-bottom: 20px; }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; list-style: none; }
.quick-links a { font-size: 14px; color: var(--fg-4); transition: color var(--dur-fast) var(--ease-out); }
.quick-links a:hover { color: var(--brand-teal); }
.quick-links a.active { color: var(--brand-teal); }
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}
.hours-row + .hours-row { border-top: 1px solid var(--border-2); }
.hours-day { font-size: 14px; color: var(--fg-4); }
.hours-time { font-size: 14px; font-weight: 500; color: var(--brand-teal); }
.footer-bottom { border-top: 1px solid var(--border-2); margin-top: 64px; }
.footer-bottom-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 300;
  color: var(--fg-4);
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .hero-grid, .appointment-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; margin-top: 40px; }
  .services-cards { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .container { padding: 0 24px; }
  #top-bar { padding: 16px 24px; }
  #top-bar .brand-logo img { height: 52px; }
  .topbar-meta .contact-row, .topbar-meta .btn-secondary { display: none; }
  #hamburger { display: block; }
  #sticky-nav-wrap { padding: 0 24px; }
  #sticky-nav { padding: 16px 24px; flex-wrap: wrap; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 14px;
    padding-top: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-divider { display: none; }
  .nav-search { display: none; }
  #hero-headline { font-size: 40px; }
  .section-title, .band-grid h2 { font-size: 32px; }
  #hero-section { padding: 32px 0 64px; }
  .hero-visual { height: auto; aspect-ratio: 4 / 5; width: 100%; }
  .hero-circle { width: 100%; height: auto; aspect-ratio: 1; right: -20%; bottom: 0; }
  .hero-photo { position: absolute; right: 5%; bottom: 0; width: 80%; height: 92%; }
  #rating-chip { left: 0; top: 30%; }
  #sameday-chip { right: 0; bottom: 8%; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .services-band { padding: 40px 24px 180px; }
  .services-cards { grid-template-columns: 1fr; padding: 0 8px; }
  .doctor-card { flex-direction: column; }
  .doctor-photo { width: 100%; min-height: 280px; max-height: 320px; }
  .team-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  #appointment-section { padding: 64px 0; }
  .form-card { padding: 28px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: stretch; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; padding: 24px; }
}

/* ============================================================
   Subpages — Doctors, Departments, Services, Blog, Contact
   ============================================================ */

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-subtle);
  padding: 72px 0 80px;
}
.blob-ph-1 { right: 8%; top: -40px; width: 200px; height: 200px; background: var(--bg-mint); opacity: 0.98; }
.blob-ph-2 { right: 16%; top: 60px; width: 140px; height: 140px; background: var(--bg-mint-2); opacity: 0.55; }
.blob-ph-3 { right: 11%; top: 150px; width: 150px; height: 140px; background: #01BED5; opacity: 0.18; }
.page-hero-inner { position: relative; max-width: 720px; }
.page-hero-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--fg-1);
}
.page-hero-copy {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--fg-3);
  max-width: 560px;
}

/* ---------- Shared section spacing ---------- */
#doctors-grid-section,
#departments-grid-section,
#services-grid-section,
#blog-grid-section,
#contact-cards-section { padding: 80px 0; }
.wash-section { background: var(--bg-subtle); padding: 96px 0; }
.section-head-center { text-align: center; margin-bottom: 48px; }
.section-head-center .eyebrow-text { margin-bottom: 12px; }

/* ---------- CTA band ---------- */
.cta-band-section { padding: 0 0 96px; }
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--brand-teal);
  border-radius: var(--radius-lg);
  padding: 56px;
}
.cta-band-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band-inner h2 {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.3px;
}
.cta-band-inner p {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 520px;
}
.btn-cta-invert {
  background: #fff;
  color: var(--brand-teal);
  box-shadow: 0 8px 22px rgba(9, 53, 58, 0.14);
  flex-shrink: 0;
}
.btn-cta-invert:hover { background: var(--bg-mint); }
.btn-cta-invert:active { transform: translateY(1px); }

/* ---------- Doctors page ---------- */
.doctors-page-grid { grid-template-columns: repeat(2, 1fr); }
.doctor-meta { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.doctor-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-4);
}
.doctor-meta-row iconify-icon { color: var(--brand-teal); flex-shrink: 0; }

/* ---------- Departments page ---------- */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.department-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-1);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.department-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.department-card .service-icon { margin: 0 0 20px; }
.department-card h3 { font-size: 18px; font-weight: 600; color: var(--fg-1); margin-bottom: 10px; }
.department-card > p { font-size: 13px; font-weight: 300; line-height: 1.65; color: var(--fg-4); }
.department-highlights { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.department-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-3);
}
.department-highlights iconify-icon { color: var(--brand-teal); flex-shrink: 0; }

/* ---------- Services page ---------- */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-1);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  text-align: center;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.step-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.step-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 28px;
  font-weight: 600;
  color: var(--bg-mint-2);
  line-height: 1;
}
.step-card h3 { font-size: 18px; font-weight: 600; color: var(--fg-1); margin-bottom: 10px; }
.step-card p { font-size: 13px; font-weight: 300; line-height: 1.65; color: var(--fg-4); }

/* ---------- Blog page ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-1);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.blog-card-tone {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
}
.blog-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-4);
}
.blog-category {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-teal);
}
.blog-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border-2); }
.blog-card-title { margin-top: 12px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.blog-card-title a { color: var(--fg-1); transition: color var(--dur-fast) var(--ease-out); }
.blog-card-title a:hover { color: var(--brand-teal); }
.blog-card-excerpt {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--fg-4);
  flex: 1;
}
.blog-read-more {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-teal);
  transition: color var(--dur-fast) var(--ease-out);
}
.blog-read-more:hover { color: var(--brand-teal-deep); }

/* ---------- Blog article ---------- */
.article-hero .page-hero-inner { max-width: 820px; }
.article-title { font-size: 42px; max-width: 760px; }
.article-meta { margin-bottom: 16px; }
.article-author {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-1);
}
.article-author iconify-icon { color: var(--brand-teal); }
.article-section { padding: 80px 0 96px; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.article-banner {
  height: 220px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  margin-bottom: 36px;
}
.article-body > p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--fg-2);
}
.article-body > p + p { margin-top: 22px; }
.article-back { display: inline-block; margin-top: 36px; }
.article-aside { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 96px; }
.aside-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-1);
  box-shadow: var(--shadow-card);
  padding: 26px 28px;
}
.aside-post { display: block; padding: 12px 0; }
.aside-post + .aside-post { border-top: 1px solid var(--border-2); }
.aside-post-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-1);
  line-height: 1.4;
  transition: color var(--dur-fast) var(--ease-out);
}
.aside-post:hover .aside-post-title { color: var(--brand-teal); }
.aside-post-meta { display: block; margin-top: 4px; font-size: 12px; color: var(--fg-4); }
.aside-cta p { font-size: 13px; font-weight: 300; color: var(--fg-4); margin-bottom: 18px; }
.aside-btn { width: 100%; font-size: 14px; padding: 14px 24px; }

/* ---------- Contact page ---------- */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-1);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  text-align: center;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.contact-card .service-icon { margin: 0 auto 20px; }
.contact-card h3 { font-size: 18px; font-weight: 600; color: var(--fg-1); margin-bottom: 10px; }
.contact-line-main { font-size: 14px; font-weight: 500; color: var(--fg-2); }
.contact-line-sub { font-size: 13px; font-weight: 300; color: var(--fg-4); margin-top: 4px; }

.contact-message-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact-hours-card { margin-top: 32px; }
.field-full { grid-column: 1 / -1; }
.field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  font: 400 14px var(--font-sans);
  color: var(--fg-2);
  outline: none;
  background: #fff;
  resize: vertical;
  min-height: 120px;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.field textarea:focus { border-color: var(--border-focus); }
.field textarea.error { border-color: var(--danger); }
#contact-success { display: none; text-align: center; padding: 24px 0; }
#contact-success .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  margin: 0 auto 20px;
}
#contact-success h3 { font-size: 24px; font-weight: 600; color: var(--fg-1); margin-bottom: 8px; }
#contact-success p { font-size: 14px; color: var(--fg-4); margin-bottom: 24px; }

#map-section { padding: 96px 0; }
.map-section-heading { max-width: 680px; margin-inline: auto; }
.map-address { margin-top: 12px; font-size: 16px; color: var(--fg-3); }
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  line-height: 0;
}
.map-embed iframe { display: block; width: 100%; min-height: 420px; border: 0; }
.map-actions { display: flex; justify-content: center; margin-top: 24px; }

/* Contact page: appointment section keeps white bg since message section has the wash */
#map-section + #appointment-section { background: #fff; }

/* ---------- Subpage responsive ---------- */
@media (max-width: 1023px) {
  .departments-grid, .blog-grid, .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .services-page-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .doctors-page-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .contact-message-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
  .page-hero { padding: 48px 0 56px; }
  .page-hero-title { font-size: 36px; }
  .article-title { font-size: 30px; }
  .departments-grid, .blog-grid, .contact-cards-grid, .services-page-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
  .cta-band-inner h2 { font-size: 26px; }
  .cta-band-section { padding-bottom: 64px; }
  #map-section { padding: 64px 0; }
  .map-embed iframe { min-height: 340px; }
  #doctors-grid-section, #departments-grid-section, #services-grid-section, #blog-grid-section, #contact-cards-section { padding: 56px 0; }
  .wash-section { padding: 64px 0; }
}

/* Care program navigation and detail pages */
.care-nav-item { position: relative; }
.care-nav-item > a:focus-visible, .program-link:focus-visible, .care-submenu a:focus-visible { outline: 2px solid var(--brand-teal); outline-offset: 3px; }
.nav-links .care-submenu { position: absolute; top: 100%; left: 0; z-index: 100; width: 300px; max-width: calc(100vw - 48px); padding: 10px; list-style: none; background: #fff; border: 1px solid var(--border-1); border-radius: 12px; box-shadow: var(--shadow-card); }
.care-submenu[hidden] { display: none !important; }
.nav-links .care-submenu li { display: block; }
.nav-links .care-submenu a { display: block; padding: 12px; white-space: normal; font-size: 14px; border-radius: 6px; }
.care-submenu a:hover, .care-submenu a:focus-visible { background: var(--bg-2, #eff8f8); }
.program-section { padding: 32px 0 64px; }
.program-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; margin-bottom: 36px; }
.program-breadcrumb a, .program-link { color: var(--brand-teal); }
.program-detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.program-copy h2 { font-size: 28px; line-height: 1.3; margin-bottom: 18px; }
.program-copy p { font-size: 16px; line-height: 1.8; margin-bottom: 30px; color: var(--fg-3); }
.program-includes h2 { font-size: 22px; line-height: 1.4; }
.program-includes .department-highlights li { font-size: 16px; align-items: start; }
.program-link { display: inline-block; margin-top: 22px; font-size: 16px; font-weight: 500; }
.related-programs { margin-top: 48px; border-top: 1px solid var(--border-1); padding-top: 28px; }
.related-programs h2 { font-size: 22px; }
.related-programs a { margin-right: 32px; }
@media (max-width: 768px) {
  .nav-links .care-nav-item { flex-wrap: wrap; width: 100%; }
  .nav-links .care-submenu { position: static; width: 100%; max-width: 100%; box-shadow: none; margin-top: 4px; }
  .program-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .related-programs a { display: block; }
}
