:root {
  --navy: #123968;
  --navy-deep: #0a2850;
  --blue: #35a9df;
  --logo: #123968;
  --logo-on-dark: #0cc0df;
  --blue-soft: #dff4fc;
  --mint: #80dfb1;
  --lime: #a9ef83;
  --ink: #10243e;
  --muted: #52667b;
  --cream: #f7fbfd;
  --white: #ffffff;
  --line: #d7e7ef;
  --shadow: 0 20px 55px rgba(12, 48, 88, 0.12);
  --radius: 30px;
  --radius-sm: 18px;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-rounded, "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--navy-deep);
  background: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 12px 16px 12px 24px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 32px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 12px 40px rgba(8, 37, 73, .11);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--logo);
  font-family: Inter, ui-rounded, "Avenir Next", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.nav-shell .brand { transform: none; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  width: 100%;
}

.site-nav a {
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #087cae; background: var(--blue-soft); }

.nav-cta {
  padding: 11px 18px !important;
  color: var(--navy-deep) !important;
  background: var(--lime) !important;
}

.menu-toggle {
  position: relative;
  z-index: 3;
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: var(--navy);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 22px;
  height: 2px;
  margin: 0;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle::before { transform: translate(-50%, calc(-50% - 7px)); }
.menu-toggle::after { transform: translate(-50%, calc(-50% + 7px)); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translate(-50%, -50%) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(-45deg); }

main { overflow: hidden; }

.hero {
  position: relative;
  min-height: 720px;
  margin-top: -98px;
  padding: 185px 0 92px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 25%, rgba(255,255,255,.9) 0, rgba(255,255,255,.28) 17%, transparent 38%),
    linear-gradient(105deg, var(--navy-deep) 0%, #214b7f 50%, #89a4c3 100%);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: -210px;
  width: 68vw;
  height: 320px;
  border: 3px solid rgba(255,255,255,.55);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.hero::after {
  content: "";
  position: absolute;
  left: -12vw;
  bottom: -255px;
  width: 70vw;
  height: 350px;
  border: 70px solid rgba(53,169,223,.23);
  border-radius: 50%;
  transform: rotate(7deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow { color: var(--lime); }

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
h1 { max-width: 820px; margin: 0 0 24px; font-size: clamp(46px, 6vw, 82px); }
h2 { margin: 0 0 20px; font-size: clamp(34px, 4vw, 54px); color: var(--navy-deep); }
h3 { margin: 0 0 14px; font-size: 25px; color: var(--navy); }

.hero-lead {
  max-width: 670px;
  margin: 0 0 16px;
  color: rgba(255,255,255,.93);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(9,41,80,.18); }
.button-primary { color: var(--navy-deep); background: var(--lime); }
.button-secondary { color: var(--white); border-color: rgba(255,255,255,.72); }
.button-blue { color: var(--white); background: var(--blue); }
.button-outline { color: var(--navy); border-color: var(--blue); }

.hero-card {
  position: relative;
  justify-self: end;
  width: min(100%, 430px);
  padding: 18px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 45% 45% 48% 35% / 35% 45% 40% 50%;
  background: rgba(255,255,255,.12);
  transform: rotate(2deg);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: inherit;
  object-fit: cover;
  transform: rotate(-2deg);
}

.hero-badge {
  position: absolute;
  right: -10px;
  bottom: 22px;
  max-width: 220px;
  padding: 15px 18px;
  border-radius: 18px;
  color: var(--navy-deep);
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 750;
}

.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.section-blue { background: var(--blue-soft); }
.section-navy { color: var(--white); background: var(--navy-deep); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.section-head > div { max-width: 760px; }
.section-head p { max-width: 600px; margin: 0; color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(12, 48, 88, .07);
}

.card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -45px;
  width: 110px;
  height: 90px;
  border: 18px solid var(--blue-soft);
  border-radius: 50%;
}

.card p { color: var(--muted); }
.card-link { position: relative; z-index: 1; margin-top: auto; color: #087cae; font-weight: 850; }
.card-link::after { content: " →"; }

.icon-chip {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: 17px;
  color: var(--navy);
  background: var(--blue-soft);
  font-size: 24px;
  font-weight: 900;
}

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.split-wide { grid-template-columns: .85fr 1.15fr; }
.copy p { color: var(--muted); }

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 42px;
  background: linear-gradient(145deg, var(--blue-soft), #c7e9f7);
  box-shadow: var(--shadow);
}

.media-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.kids-group-photo img { display: block; height: 420px; aspect-ratio: auto; object-fit: cover; }
.therapy-photo img { display: block; height: 420px; aspect-ratio: auto; object-fit: cover; }
.fixed-height-photo img { display: block; height: 420px; aspect-ratio: auto; object-fit: cover; }

.placeholder {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 32px;
  text-align: center;
  color: var(--navy);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.8) 0 7%, transparent 8%),
    radial-gradient(circle at 70% 55%, rgba(255,255,255,.7) 0 10%, transparent 11%),
    linear-gradient(145deg, #dff4fc, #a8dff4);
}

.placeholder span { max-width: 220px; font-weight: 800; }

.check-list { display: grid; gap: 13px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--navy-deep);
  background: var(--lime);
  font-size: 14px;
  font-weight: 900;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px; border-top: 1px solid var(--line); counter-increment: step; }
.step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -.06em;
}

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card { padding: 14px; border-radius: 28px; background: var(--white); box-shadow: 0 12px 36px rgba(12,48,88,.08); }
.team-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4/5;
  border-radius: 20px;
  color: var(--navy);
  background: linear-gradient(145deg, #dff4fc, #a9dff4);
  font-size: 52px;
  font-weight: 900;
}
.team-card h3 { margin: 18px 8px 7px; font-size: 20px; }
.team-card p { margin: 0 8px 12px; color: var(--muted); font-size: 15px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card { padding: 34px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.price-card.featured { color: var(--white); background: var(--navy); }
.price-card.featured h3, .price-card.featured p { color: var(--white); }
.price { margin: 20px 0 12px; color: var(--navy); font-size: 44px; font-weight: 900; letter-spacing: -.055em; }
.featured .price { color: var(--lime); }
.price small { font-size: 16px; letter-spacing: 0; }

.faq { display: grid; gap: 12px; max-width: 850px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.faq summary { padding: 20px 56px 20px 22px; cursor: pointer; color: var(--navy); font-weight: 850; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; margin-right: -34px; color: var(--blue); font-size: 24px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 22px; margin: 0; color: var(--muted); }

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 48px;
  overflow: hidden;
  border-radius: 38px;
  color: var(--white);
  background: linear-gradient(120deg, var(--navy-deep), var(--navy));
  box-shadow: var(--shadow);
}
.cta-band::after { content: ""; position: absolute; right: 17%; bottom: -95px; width: 230px; height: 150px; border: 30px solid rgba(53,169,223,.35); border-radius: 50%; }
.cta-band h2 { color: var(--white); }
.cta-band p { max-width: 680px; margin: 0; color: rgba(255,255,255,.84); }
.cta-band .button { position: relative; z-index: 1; }

.page-hero {
  position: relative;
  margin-top: -98px;
  padding: 188px 0 98px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(105deg, var(--navy-deep), #315b8c 64%, #9ab1c9);
}
.page-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.9); font-size: 20px; }
.breadcrumbs { margin-bottom: 25px; color: rgba(255,255,255,.75); font-size: 14px; }
.breadcrumbs a { color: var(--white); }

.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 56px; align-items: start; }
.prose { max-width: 780px; }
.prose h2 { margin-top: 52px; font-size: 38px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 34px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 22px; }

.sidebar { position: sticky; top: 122px; display: grid; gap: 18px; }
.info-box { padding: 26px; border-radius: 24px; background: var(--blue-soft); }
.info-box strong { display: block; margin-bottom: 7px; color: var(--navy); }
.info-box p { margin: 0 0 15px; color: var(--muted); }
.info-box p:last-child { margin-bottom: 0; }

.gallery-grid { columns: 3 280px; column-gap: 16px; }
.gallery-item { display: block; margin: 0 0 16px; break-inside: avoid; overflow: hidden; border-radius: 18px; background: var(--blue-soft); }
.gallery-item img { width: 100%; height: auto; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.025); }

.lightbox {
  width: min(92vw, 1100px);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #07192c;
}
.lightbox::backdrop { background: rgba(3,15,29,.88); }
.lightbox img { width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--navy-deep); background: var(--white); cursor: pointer; font-size: 25px; }

.site-footer { padding: 72px 0 28px; color: rgba(255,255,255,.8); background: #071f40; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 54px; padding-bottom: 54px; }
.site-footer .brand { color: var(--logo-on-dark); }
.site-footer h3 { color: var(--white); font-size: 18px; }
.site-footer ul { display: grid; gap: 7px; padding: 0; list-style: none; }
.site-footer a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; }
.footer-directories { display: inline-flex; align-items: center; gap: 8px; }
.footer-directory { display: inline-flex; align-items: center; opacity: .32; transition: opacity .2s ease; }
.footer-directory:hover, .footer-directory:focus-visible { opacity: .75; }
.footer-directory img { display: block; width: 72px; height: auto; max-height: 18px; object-fit: contain; }

.mobile-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: none;
  padding: 13px 18px;
  border-radius: 999px;
  color: var(--navy-deep);
  background: var(--lime);
  box-shadow: var(--shadow);
  font-weight: 900;
}

@media (max-width: 1060px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    width: auto;
    max-height: calc(100vh - 115px);
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 24px 60px rgba(8, 37, 73, .24);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.98);
    transform-origin: top center;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
  .brand { position: relative; z-index: 3; }
  .site-nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 15px;
    border: 0;
    border-radius: 12px;
    color: var(--navy-deep);
    background: transparent;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: -.015em;
    text-transform: none;
    text-align: left;
    white-space: normal;
  }
  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    color: var(--navy-deep);
    background: var(--blue-soft);
    border-color: var(--blue-soft);
  }
  .site-nav .nav-cta {
    min-height: 52px;
    margin-top: 7px;
    border: 0;
    justify-content: center;
    text-align: center;
    text-transform: none;
  }
  .nav-shell { position: relative; z-index: 2; }
  .card-grid.four, .team-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { padding-top: 9px; }
  .nav-shell { min-height: 68px; padding: 9px 10px 9px 17px; border-radius: 24px; }
  .brand { font-size: 22px; }
  .hero, .page-hero { margin-top: -86px; padding-top: 150px; }
  .hero { min-height: auto; padding-bottom: 80px; }
  .hero-grid, .split, .content-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-card { justify-self: center; width: min(86%, 390px); }
  .section { padding: 76px 0; }
  .section-tight { padding: 58px 0; }
  .section-head { display: block; margin-bottom: 34px; }
  .section-head .button { margin-top: 20px; }
  .card-grid, .card-grid.two, .price-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 4px; }
  .step { padding: 22px 8px; }
  .sidebar { position: static; }
  .cta-band { grid-template-columns: 1fr; padding: 34px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .mobile-call { display: inline-flex; }
}

@media (max-width: 540px) {
  h1 { font-size: 42px; }
  h2 { font-size: 34px; }
  .hero-actions .button, .button-row .button { width: 100%; }
  .hero-card { width: 92%; }
  .hero-badge { right: -8px; bottom: 10px; }
  .team-grid, .card-grid.four { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { display: block; padding-bottom: 55px; }
  .footer-directories { margin-top: 12px; }
  .gallery-grid { columns: 2 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
