/* AAA Behavioral and Community Services — Modern Redesign 2024 */

:root {
  --navy:       #0f3460;
  --blue:       #1a6fb5;
  --blue-light: #e8f2fb;
  --teal:       #0d9488;
  --teal-light: #d0f7f4;
  --text:       #1a1a2e;
  --muted:      #5a6a7a;
  --bg:         #ffffff;
  --bg-soft:    #f5f8fc;
  --border:     #dde6ef;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.13);
  --radius:     12px;
  --container:  1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* ── Skip link ── */
.skip-link {
  position: absolute; left: 16px; top: 16px;
  transform: translateY(-200%);
  background: #fff; border: 1px solid var(--border);
  padding: 10px 14px; border-radius: 8px; z-index: 200;
}
.skip-link:focus { transform: translateY(0); outline: 2px solid var(--blue); }

/* ────────────────────────────────────────
   HEADER / NAV
──────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(221,230,239,.7);
  box-shadow: 0 1px 20px rgba(15,52,96,.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img { height: 72px; width: auto; }
.logo-img.is-hidden { display: none !important; }

.logo-fallback {
  display: none;
  width: 52px; height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}
.logo--fallback .logo-fallback { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 8px;
  transition: color .2s, background .2s, transform .15s;
}
.nav-links a:hover {
  color: var(--navy);
  background: var(--blue-light);
  transform: translateY(-1px);
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue) 0%, #1254a0 100%) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  box-shadow: 0 3px 12px rgba(26,111,181,.35) !important;
  transition: box-shadow .2s, transform .15s !important;
}
.nav-cta:hover {
  background: linear-gradient(135deg, #1254a0 0%, var(--navy) 100%) !important;
  filter: none !important;
  box-shadow: 0 5px 18px rgba(26,111,181,.45) !important;
  transform: translateY(-1px) !important;
}

/* ────────────────────────────────────────
   TICKER BAR
──────────────────────────────────────── */
.ticker {
  background: linear-gradient(90deg, #07192e 0%, #0d2748 50%, #07192e 100%);
  overflow: hidden;
  border-bottom: 2px solid rgba(13,148,136,.45);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 110px, #000 calc(100% - 110px), transparent 100%);
  mask-image:         linear-gradient(90deg, transparent 0%, #000 110px, #000 calc(100% - 110px), transparent 100%);
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  width: max-content;
  animation: ticker-slide 26s linear infinite;
  padding: 16px 0;
  gap: 0;
}

.ticker-label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 8px 22px;
  border-radius: 100px;
  margin: 0 48px;
  white-space: nowrap;
  box-shadow: 0 0 14px rgba(13,148,136,.5);
}

.ticker-county {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 22px;
}

.ticker-county svg {
  width: 15px;
  height: 15px;
  color: var(--teal);
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(13,148,136,.6));
}

.ticker-sep {
  flex-shrink: 0;
  color: rgba(255,255,255,.2);
  font-size: 8px;
  padding: 0 2px;
}

@keyframes ticker-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ────────────────────────────────────────
   HERO
──────────────────────────────────────── */
.hero {
  position: relative;
  background: #07192e;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, rgba(7,19,46,.62) 0%, rgba(15,52,96,.45) 55%, rgba(7,19,46,.38) 100%);
  pointer-events: none;
}

.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .68;
}

.hero-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 72px 0;
  width: 100%;
}

.hero-body {
  text-align: left;
  color: #fff;
  flex: 1;
  min-width: 0;
  padding-left: 72px;
  max-width: 720px;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 28px;
}

.hero-phone-big {
  display: block;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: #c9920a;
  letter-spacing: .02em;
  line-height: 1;
  transition: color .2s, text-shadow .2s;
  text-shadow:
    0 0 3px rgba(255,255,255,.5),
    0 0 8px rgba(255,255,255,.25),
    0 0 16px rgba(255,255,255,.12);
}
.hero-phone-big:hover {
  color: #e6aa10;
  text-shadow:
    0 0 4px rgba(255,255,255,.65),
    0 0 12px rgba(255,255,255,.35),
    0 0 22px rgba(255,255,255,.18);
}

.hero-email-line {
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: var(--teal);
  padding: 13px 32px;
  border-radius: 100px;
  letter-spacing: .02em;
  margin-top: 6px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(13,148,136,.5);
}
.hero-email-line:hover {
  background: #0b7a70;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,148,136,.6);
}

.hero-contact-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--blue);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}

.hero-contact-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

.hero-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 13px 22px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.3);
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.hero-contact-btn:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.6);
}

.hero-contact-btn--fax {
  font-size: 17px;
  padding: 10px 22px;
  background: rgba(255,255,255,.08);
}

.hero-contact-btn--email {
  font-size: 13px;
  padding: 10px 18px;
  background: rgba(255,255,255,.08);
  letter-spacing: 0;
  word-break: break-all;
}

.hero-contact-btn--whatsapp {
  font-size: 16px;
  font-weight: 800;
  padding: 12px 22px;
  background: #25d366;
  border-color: #25d366;
}
.hero-contact-btn--whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
}

.hero-contact-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,.2);
  margin: 4px 0;
}

/* No Waiting Badge */
.no-waiting-badge {
  position: absolute;
  bottom: 32px;
  right: 5%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.96);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,.22), 0 2px 8px rgba(0,0,0,.1);
  min-width: 230px;
}

.badge-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--teal);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.badge-title {
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  line-height: 1.2;
}

.badge-subtitle {
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .no-waiting-badge {
    right: 4%;
    bottom: 16px;
    padding: 11px 15px;
    min-width: 200px;
    gap: 10px;
  }
  .badge-icon   { width: 38px; height: 38px; font-size: 18px; }
  .badge-title  { font-size: 15px; }
  .badge-subtitle { font-size: 12px; }
}

@media (max-width: 600px) {
  .no-waiting-badge {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 16px auto 0;
    width: fit-content;
  }
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  max-width: 720px;
}

.hero-sub {
  margin: 0 0 32px;
  font-size: 18px;
  color: rgba(255,255,255,.8);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--blue) 0%, #1254a0 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(26,111,181,.4), 0 1px 4px rgba(0,0,0,.12);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1254a0 0%, var(--navy) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,111,181,.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,.5);
  transition: background .2s, border-color .2s;
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.hero-badges {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
}

/* ────────────────────────────────────────
   STAT BAND
──────────────────────────────────────── */
.stat-band {
  background: var(--blue-light);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  padding: 8px 16px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}

/* ────────────────────────────────────────
   SECTION BASE
──────────────────────────────────────── */
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--white { background: #fff; }

.section-tag {
  display: inline-block;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: var(--teal-light);
  border: 1px solid rgba(13,148,136,.25);
  padding: 5px 14px;
  border-radius: 100px;
}

.section-title {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.2;
}

.section-sub {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 48px;
  max-width: 560px;
}

.center-text { text-align: center; }
.center-text .section-sub { margin-left: auto; margin-right: auto; }

/* ────────────────────────────────────────
   STEPS SECTION (split)
──────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split--img-right .photo-block { order: 2; }
.split--img-right .content     { order: 1; }
.split--img-left  .photo-block { order: 1; }
.split--img-left  .content     { order: 2; }

.photo-block {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.photo-block img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.steps-list {
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: steps;
}

.steps-list li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text);
}
.steps-list li:last-child { border-bottom: none; }

.steps-list li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 30px; height: 30px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-waitlist-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-light);
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 100px;
  margin-top: 24px;
}

.bullets {
  list-style: none; padding: 0; margin: 16px 0 0;
}

.bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.bullets li:last-child { border-bottom: none; }

.bullets li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ────────────────────────────────────────
   PROMO BAR
──────────────────────────────────────── */
.promo-bar {
  background: linear-gradient(90deg, #0d2a50 0%, #1a6fb5 45%, #0d9488 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 20px rgba(0,0,0,.22);
  transition: opacity .4s, max-height .4s;
}

.promo-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0) 0px, rgba(255,255,255,0) 60px,
    rgba(255,255,255,.025) 60px, rgba(255,255,255,.025) 120px
  );
  pointer-events: none;
}

.promo-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  position: relative;
}

.promo-badge {
  flex-shrink: 0;
  background: #fff;
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  padding: 4px 11px;
  border-radius: 100px;
  animation: promo-pulse 2.8s ease-in-out infinite;
}

@keyframes promo-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); }
  50%       { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
}

.promo-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 500;
  min-width: 0;
}

.promo-content svg {
  flex-shrink: 0;
  color: rgba(255,255,255,.65);
}

.promo-content strong {
  font-weight: 800;
  color: #fff;
}

.promo-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.45);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 7px 20px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background .2s, border-color .2s, transform .15s;
}
.promo-cta:hover {
  background: rgba(255,255,255,.3);
  border-color: rgba(255,255,255,.75);
  transform: translateY(-1px);
}

.promo-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,.55);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.promo-close:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

@media (max-width: 640px) {
  .promo-content span { font-size: 12px; }
  .promo-cta { display: none; }
}

/* ────────────────────────────────────────
   INSURANCE
──────────────────────────────────────── */

.insurance-eyebrow {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.insurance-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 36px;
}

.insurance-image {
  display: block;
  width: min(960px, 100%);
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Insurance banner strip */
#insurance {
  padding: 0;
  border-bottom: 3px solid #000;
}

.insurance-block {
  text-align: center;
  padding: 0;
}

.insurance-slider {
  overflow: hidden;
  background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 80px, #000 calc(100% - 80px), transparent 100%);
  mask-image:         linear-gradient(90deg, transparent 0%, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.insurance-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: insurance-slide 28s linear infinite;
  padding: 12px 0;
}

@keyframes insurance-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.insurance-logo {
  flex-shrink: 0;
  width: 280px;
  height: 130px;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
}

.insurance-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ────────────────────────────────────────
   CONTACT
──────────────────────────────────────── */
.contact-section {
  background: var(--navy);
  padding: 72px 0;
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-heading {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
}

.contact-subheading {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  margin: 0 0 24px;
  line-height: 1.55;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,.85);
}

.contact-icon svg { display: block; }

.contact-info-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  margin: 0 0 2px;
}

.contact-info-value {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.contact-info-value a {
  color: #fff;
  transition: opacity .2s;
}
.contact-info-value a:hover { opacity: .8; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: var(--radius);
  margin-top: 24px;
  transition: filter .2s;
}
.btn-whatsapp:hover { filter: brightness(1.08); }

.wa-icon {
  width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347z'/%3E%3Cpath d='M12 0C5.373 0 0 5.373 0 12c0 2.117.554 4.104 1.523 5.826L.057 23.786a.5.5 0 00.624.628l6.038-1.58A11.94 11.94 0 0012 24c6.627 0 12-5.373 12-12S18.627 0 12 0zm0 22c-1.886 0-3.65-.493-5.177-1.354l-.372-.22-3.845 1.005 1.022-3.73-.243-.386A9.952 9.952 0 012 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.map-pane {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-map-image {
  width: 100%;
  height: auto;
  display: block;
}

.btn-directions-overlay {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: background .2s;
}
.btn-directions-overlay:hover { background: var(--navy); }

.btn-email-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .06em;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(26,111,181,.35);
  margin-top: 20px;
  transition: background .2s;
}
.btn-email-big:hover { background: #0f5a9c; }

/* ────────────────────────────────────────
   HELPFUL RESOURCES FOR FAMILIES
──────────────────────────────────────── */
.resources-family-section {
  background: var(--bg-soft);
}

.resources-heading {
  text-align: center;
  margin-bottom: 52px;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.resource-card {
  background: #fff;
  border-radius: 18px;
  overflow: visible;
  box-shadow: 0 2px 8px rgba(15,52,96,.06), 0 8px 28px rgba(15,52,96,.09);
  border: 1px solid rgba(221,230,239,.6);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(15,52,96,.16);
  border-color: transparent;
}

.resource-card-image {
  position: relative;
  height: 200px;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}
.resource-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.resource-card:hover .resource-card-image img { transform: scale(1.05); }

.resource-icon {
  position: absolute;
  bottom: -22px;
  left: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  z-index: 2;
}
.resource-icon--blue   { background: var(--blue); }
.resource-icon--teal   { background: var(--teal); }
.resource-icon--purple { background: #7c3aed; }
.resource-icon--coral  { background: #ea580c; }

.resource-card-body {
  padding: 36px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.resource-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
}

.resource-card-desc {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.7;
  flex: 1;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  transition: color .2s, gap .2s;
  margin-top: auto;
}
.resource-link:hover {
  color: var(--navy);
  gap: 10px;
}

/* CTA Bar */
.resources-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f4f0 100%);
  border: 1px solid rgba(26,111,181,.15);
  border-radius: 18px;
  padding: 28px 36px;
  box-shadow: 0 4px 24px rgba(15,52,96,.08);
}

.resources-cta-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.resources-cta-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resources-cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.resources-cta-text strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.resources-cta-text span {
  font-size: 14px;
  color: var(--muted);
}

.resources-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  background: linear-gradient(135deg, var(--blue) 0%, #1254a0 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(26,111,181,.4);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.resources-cta-btn:hover {
  background: linear-gradient(135deg, #1254a0 0%, var(--navy) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,111,181,.5);
}
.resources-cta-btn span { transition: transform .2s; }
.resources-cta-btn:hover span { transform: translateX(4px); }

@media (max-width: 960px) {
  .resources-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .resources-cta  { flex-direction: column; align-items: flex-start; }
  .resources-cta-btn { width: 100%; justify-content: center; }
}
@media (max-width: 600px) {
  .resources-grid { grid-template-columns: 1fr; }
  .resources-cta  { padding: 20px; }
  .resources-cta-left { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ────────────────────────────────────────
   HOW WE SUPPORT YOUR FAMILY
──────────────────────────────────────── */
.hws-section {
  background: #f8fafc;
}

.hws-heading {
  text-align: center;
  margin-bottom: 52px;
}

.hws-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: #0b2e6f;
  margin: 0 0 14px;
  line-height: 1.2;
}

.hws-subtitle {
  font-size: 17px;
  color: #5f6b7a;
  margin: 0 auto;
  max-width: 520px;
  line-height: 1.65;
}

/* Grid */
.hws-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

/* Card */
.hws-card {
  background: #fff;
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 2px 8px rgba(15,52,96,.06), 0 8px 28px rgba(15,52,96,.09);
  border: 1px solid rgba(221,230,239,.6);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.hws-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(15,52,96,.16);
  border-color: transparent;
}

.hws-card-img {
  position: relative;
  height: 200px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.hws-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.hws-card:hover .hws-card-img img { transform: scale(1.05); }

/* Circular icon overlapping bottom of image */
.hws-icon {
  position: absolute;
  bottom: -22px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  z-index: 2;
}

.hws-icon--teal   { background: #17b6b0; }
.hws-icon--purple { background: #8e59d1; }

.hws-card-body {
  padding: 36px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hws-card-title {
  font-size: 17px;
  font-weight: 800;
  color: #0b2e6f;
  margin: 0 0 12px;
  line-height: 1.3;
}

.hws-card-desc {
  font-size: 14.5px;
  color: #5f6b7a;
  margin: 0;
  line-height: 1.7;
  flex: 1;
}

/* CTA Bar */
.hws-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f4f0 100%);
  border: 1px solid rgba(26,111,181,.15);
  border-radius: 18px;
  padding: 28px 36px;
  box-shadow: 0 4px 24px rgba(15,52,96,.08);
}

.hws-cta-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hws-cta-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #17b6b0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hws-cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hws-cta-text strong {
  font-size: 17px;
  font-weight: 800;
  color: #0b2e6f;
  line-height: 1.2;
}

.hws-cta-text span {
  font-size: 14px;
  color: #5f6b7a;
}

.hws-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  background: linear-gradient(135deg, #1a6fb5 0%, #1254a0 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(26,111,181,.4);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.hws-cta-btn:hover {
  background: linear-gradient(135deg, #1254a0 0%, #0f3460 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,111,181,.5);
}

/* Responsive */
@media (max-width: 960px) {
  .hws-grid { grid-template-columns: repeat(2, 1fr); }
  .hws-cta-bar { flex-direction: column; align-items: flex-start; }
  .hws-cta-btn { width: 100%; justify-content: center; }
}

@media (max-width: 600px) {
  .hws-grid { grid-template-columns: 1fr; }
  .hws-cta-bar { padding: 20px; }
  .hws-cta-left { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ────────────────────────────────────────
   FOOTER
──────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
}

.footer-powered {
  margin: 0;
  font-size: 12px;
}

.footer-brand {
  color: rgba(255,255,255,.9);
  font-weight: 600;
}
.footer-brand:hover { text-decoration: underline; }

/* ────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────── */
@media (max-width: 960px) {
  .stat-grid     { grid-template-columns: repeat(2, 1fr); }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 16px;
  }
  .stat-item:last-child,
  .stat-item:nth-child(2) { border-bottom: none; }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split--img-right .photo-block { order: -1; }
  .split--img-left  .photo-block { order: -1; }
}

@media (max-width: 640px) {
  .services-grid   { grid-template-columns: 1fr; }
  .stat-grid       { grid-template-columns: repeat(2, 1fr); }
  .nav-links       { display: none; }
  .hero-row        { flex-direction: column; align-items: flex-start; padding: 48px 0; gap: 28px; }
  .hero-body       { padding-left: 16px; }
  .hero-contact-card { width: 100%; }
  .hero-title      { font-size: 28px; }
  .hero-sub        { font-size: 16px; }
  .section         { padding: 48px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .promo-track { animation: none; white-space: normal; text-align: center; }
}
