:root {
  --navy: #1a1a2e;
  --navy-2: #2d2b55;
  --purple: #6c63ff;
  --aqua: #00d4aa;
  --yellow: #ffd93d;
  --coral: #ff6b6b;
  --page: #f8f9ff;
  --white: #ffffff;
  --ink: #17172b;
  --muted: #6d7280;
  --line: #e7e9f4;
  --shadow: 0 18px 48px rgba(19, 22, 52, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  padding: 0.7rem 1rem;
  font-weight: 800;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(26, 26, 46, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell,
.section-shell,
.hero-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.nav-shell {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  color: var(--white);
  text-decoration: none;
}

.brand-logo-mark {
  width: 52px;
  height: 52px;
  display: block;
  flex: 0 0 auto;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--aqua));
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.brand-text {
  display: grid;
  gap: 0.1rem;
}

.brand-text strong {
  font-size: 1rem;
  line-height: 1;
}

.brand-text small {
  color: var(--aqua);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.45rem 0.72rem;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  outline: none;
}

.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--aqua));
  color: var(--white);
  padding: 0.55rem 1.05rem;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(108, 99, 255, 0.28);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 0;
}

.menu-line {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: 7rem 0 4rem;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  filter: blur(0.5px) brightness(1.08) saturate(1.06) contrast(1.02);
}

.hero-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(26, 26, 46, 0.81) 0%, rgba(26, 26, 46, 0.63) 48%, rgba(26, 26, 46, 0.5) 100%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 7vh, 4.2rem);
}

.hero-content {
  max-width: 650px;
  transform: translateY(-1.4rem);
}

.status-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.82);
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--aqua);
  box-shadow: 0 0 0 6px rgba(0, 212, 170, 0.14);
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.65rem, 5.2vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 900;
}

h1 span {
  background: linear-gradient(90deg, var(--purple), var(--aqua), var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  margin-bottom: 0.9rem;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 900;
}

h3 {
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 850;
}

.hero-copy {
  max-width: 630px;
  margin-bottom: 1.9rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.45rem;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-gradient {
  background: linear-gradient(135deg, var(--purple), var(--aqua));
  color: var(--white);
  box-shadow: 0 18px 34px rgba(108, 99, 255, 0.28);
}

.button-outline {
  border: 2px solid rgba(255, 255, 255, 0.34);
  background: transparent;
  color: var(--white);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.button-light {
  background: var(--white);
  color: var(--purple);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

.hero-stats {
  --accent: var(--aqua);
  width: min(100%, 1040px);
  justify-self: center;
  margin: 0;
  padding: 0.62rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(12, 14, 34, 0.38);
  box-shadow: 0 18px 44px rgba(10, 12, 34, 0.18);
  backdrop-filter: blur(14px);
}

.hero-stats li {
  --accent: var(--aqua);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.38rem 0.84rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}

.hero-stats li::before {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.hero-stats li:nth-child(1) {
  --accent: var(--coral);
}

.hero-stats li:nth-child(2) {
  --accent: var(--aqua);
}

.hero-stats li:nth-child(3) {
  --accent: var(--yellow);
}

.hero-stats li:nth-child(4) {
  --accent: var(--purple);
}

.section {
  padding: 6.6rem 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 3.25rem;
}

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.why-heading {
  max-width: 920px;
}

.why-heading p:not(.eyebrow) {
  color: #5f63d9;
  font-size: 1.02rem;
  font-weight: 750;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.purple {
  color: var(--purple);
}

.aqua-text {
  color: var(--aqua);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.55rem;
}

.program-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(23, 23, 43, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.program-image {
  position: relative;
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  background: #dfe5f8;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 650ms ease;
}

.program-card:hover .program-image img,
.program-card:focus-within .program-image img {
  transform: scale(1.08);
}

.program-icon,
.age-icon,
.why-grid span {
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 900;
}

.program-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  min-width: 52px;
  height: 52px;
  padding: 0 0.45rem;
  border-radius: 14px;
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.coral {
  background: var(--coral);
}

.purple-box {
  background: var(--purple);
}

.aqua {
  background: var(--aqua);
}

.yellow {
  background: var(--yellow);
  color: var(--navy);
}

.age-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  padding: 0.32rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 900;
}

.program-body {
  padding: 1.25rem;
}

.program-body p {
  min-height: 4.6rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.program-body a {
  color: var(--aqua);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 900;
}

.program-body a::after {
  content: ">";
  display: inline-block;
  margin-left: 0.4rem;
  transition: transform 160ms ease;
}

.program-body a:hover::after,
.program-body a:focus-visible::after {
  transform: translateX(3px);
}

.program-body .link-yellow {
  color: #e4a900;
}

.program-body .link-purple {
  color: var(--purple);
}

.program-body .link-aqua {
  color: var(--aqua);
}

.program-body .link-coral {
  color: var(--coral);
}

.about-section,
.testimonials-section {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.image-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.image-mosaic > div {
  display: grid;
  gap: 1rem;
}

.image-mosaic > div:nth-child(2) {
  padding-top: 2.3rem;
}

.mosaic-tile {
  display: block;
  height: 230px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.mosaic-tile.tall {
  height: 300px;
}

.mosaic-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 650ms ease;
}

.mosaic-tile:hover img,
.mosaic-tile:focus-within img {
  transform: scale(1.08);
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.feature-list span {
  min-height: 54px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  background: rgba(108, 99, 255, 0.08);
  color: var(--ink);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 850;
}

.dark-section,
.contact-section {
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  color: var(--white);
}

.dark-section {
  padding: 6rem 0 6.4rem;
}

.section-heading.dark h2,
.contact-section h2 {
  color: var(--white);
}

.section-heading.dark p:not(.eyebrow),
.contact-section p {
  color: rgba(255, 255, 255, 0.6);
}

.age-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.age-grid article {
  min-height: 370px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  padding: 2.45rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.age-grid article:nth-child(2) {
  background: rgba(255, 255, 255, 0.11);
}

.age-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.age-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.7rem;
  border-radius: 16px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.age-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.15;
}

.age-icon.yellow {
  color: var(--white);
}

.age-range {
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.age-grid h3 {
  color: var(--white);
  font-size: 1.62rem;
  margin-bottom: 1rem;
}

.age-grid p:not(.age-range) {
  max-width: 310px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.chip-row span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.44rem 0.78rem;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.why-grid article {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  padding: 2rem;
  box-shadow: 0 10px 26px rgba(23, 23, 43, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.why-grid article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.why-grid .why-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.4rem;
  background: linear-gradient(135deg, #eef2ff 0%, #e9fff8 100%);
  color: #746eff;
  box-shadow: 0 8px 18px rgba(98, 91, 255, 0.08);
  opacity: 1;
}

.why-grid .why-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.55;
  vector-effect: non-scaling-stroke;
}

.why-grid h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.why-grid p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--page);
  padding: 1.7rem;
}

.stars {
  margin-bottom: 1rem;
  color: var(--yellow);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

blockquote {
  margin: 0 0 1.6rem;
  color: #555b6d;
  font-size: 0.95rem;
  font-style: italic;
}

.person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.person span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--aqua));
  color: var(--white);
  font-weight: 900;
}

.person p {
  display: grid;
  gap: 0.05rem;
  margin: 0;
}

.person small {
  color: #8a90a0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 4rem;
}

.location-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.location-options article {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  padding: 1rem;
}

.location-options span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--aqua));
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
}

.location-options strong {
  color: var(--white);
  font-size: 0.96rem;
  line-height: 1.2;
}

.location-options p {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.82rem;
  line-height: 1.45;
}

.contact-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-list article {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-list span {
  min-width: 50px;
  min-height: 50px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 900;
}

.contact-list strong {
  color: var(--white);
  font-size: 0.95rem;
}

.contact-list p {
  margin: 0.1rem 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.92rem;
}

.inquiry-form {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.inquiry-form label {
  display: grid;
  gap: 0.42rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 850;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.8rem 0.9rem;
  outline: none;
}

.inquiry-form textarea {
  resize: vertical;
  min-height: 116px;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.inquiry-form option {
  background: var(--navy);
  color: var(--white);
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.24);
}

.inquiry-form .button {
  width: 100%;
  border-radius: 12px;
}

.form-status {
  min-height: 1.35rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.36);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 750;
}

.whatsapp-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  border: 1px solid rgba(37, 211, 102, 0.45);
  border-radius: 12px;
  background: rgba(37, 211, 102, 0.14);
  color: #eafff2;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.whatsapp-link:hover,
.whatsapp-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(37, 211, 102, 0.72);
  background: rgba(37, 211, 102, 0.2);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.18);
  outline: none;
}

.whatsapp-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25d366;
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.24);
}

.whatsapp-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, var(--purple), var(--aqua));
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  max-width: 690px;
  margin: 0 auto 1.7rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.site-footer {
  background: #111225;
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 2.6rem;
  padding-bottom: 2.1rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand .brand-logo-mark {
  width: 62px;
  height: 62px;
}

.footer-grid h3 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
  display: block;
  color: rgba(255, 255, 255, 0.56);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-grid a {
  margin-bottom: 0.58rem;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--white);
  outline: none;
}

.social-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.social-row a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.35rem;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.82rem;
}

.footer-bottom p:last-child {
  display: flex;
  gap: 1rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
}

.chatbot {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 30;
  color: var(--ink);
}

.chatbot-toggle {
  display: grid;
  grid-template-columns: auto 84px;
  align-items: end;
  gap: 0.48rem;
  border: 0;
  background: transparent;
  color: var(--navy);
  padding: 0;
  cursor: pointer;
  filter: drop-shadow(0 18px 28px rgba(16, 18, 37, 0.25));
  transition: transform 180ms ease, filter 180ms ease;
}

.chatbot-toggle:hover,
.chatbot-toggle:focus-visible {
  transform: translateY(-4px);
  filter: drop-shadow(0 22px 34px rgba(16, 18, 37, 0.3));
  outline: none;
}

.chatbot-form button {
  display: grid;
  place-items: center;
}

.chatbot-speech {
  position: relative;
  margin-bottom: 0.86rem;
  border: 2px solid rgba(108, 99, 255, 0.14);
  border-radius: 15px 15px 6px 15px;
  background: var(--white);
  color: var(--navy);
  padding: 0.56rem 0.7rem;
  box-shadow: 0 12px 24px rgba(17, 18, 37, 0.16);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.chatbot-speech::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: 10px;
  width: 14px;
  height: 14px;
  border-right: 2px solid rgba(108, 99, 255, 0.14);
  border-bottom: 2px solid rgba(108, 99, 255, 0.14);
  background: var(--white);
  transform: rotate(-45deg);
}

.chatbot-mascot {
  width: 84px;
  display: block;
}

.chatbot-mascot img {
  width: 100%;
  height: auto;
}

.chatbot svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.85rem);
  width: min(390px, calc(100vw - 2rem));
  max-height: min(650px, calc(100vh - 6.5rem));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(17, 18, 37, 0.26);
}

.chatbot-panel[hidden] {
  display: none;
}

.chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  padding: 1rem;
}

.chatbot-header p {
  margin: 0 0 0.2rem;
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chatbot-header strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.35;
}

.chatbot-close {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.chatbot-messages {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  overflow-y: auto;
  padding: 1rem;
  background: #f7f8ff;
}

.chat-message {
  max-width: 86%;
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: pre-line;
}

.chat-message.bot {
  justify-self: start;
  border-bottom-left-radius: 6px;
  background: var(--white);
  color: #44495a;
  box-shadow: 0 8px 18px rgba(19, 22, 52, 0.08);
}

.chat-message.user {
  justify-self: end;
  border-bottom-right-radius: 6px;
  background: linear-gradient(135deg, var(--purple), #5750d8);
  color: var(--white);
}

.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  padding: 0.75rem 1rem 0;
}

.chatbot-suggestions button {
  border: 1px solid #d9dcf0;
  border-radius: 999px;
  background: var(--white);
  color: #4f566b;
  padding: 0.42rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.chatbot-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 0.6rem;
  padding: 0.75rem 1rem 1rem;
}

.chatbot-form input {
  min-height: 44px;
  border: 1px solid #d9dcf0;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  color: var(--ink);
  outline: none;
}

.chatbot-form input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.14);
}

.chatbot-form button {
  border: 0;
  border-radius: 12px;
  background: var(--aqua);
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 1050px) {
  .nav-shell {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 1rem;
    right: 1rem;
    display: grid;
    justify-items: stretch;
    gap: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(26, 26, 46, 0.96);
    padding: 0.75rem;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    justify-content: center;
  }

  .menu-toggle {
    display: block;
  }

  .nav-cta {
    justify-self: end;
  }

  .program-grid,
  .why-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4.6rem 0;
  }

  .nav-shell,
  .section-shell,
  .hero-shell {
    width: min(100% - 1.25rem, 1180px);
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .nav-cta {
    display: none;
  }

  .brand-logo-mark {
    width: 44px;
    height: 44px;
  }

  .brand-text small {
    font-size: 0.55rem;
  }

  .hero {
    min-height: 780px;
    align-items: end;
    padding: 6rem 0 3rem;
  }

  .hero-content {
    max-width: 100%;
    transform: none;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(26, 26, 46, 0.82), rgba(26, 26, 46, 0.65));
  }

  .hero-actions,
  .program-grid,
  .age-grid,
  .why-grid,
  .testimonial-grid,
  .footer-grid,
  .location-options,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    gap: 0.68rem;
    border-radius: 18px;
    padding: 0.65rem;
    background: rgba(12, 14, 34, 0.46);
  }

  .hero-stats li {
    flex: 1 1 150px;
    justify-content: center;
    min-height: 34px;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.46rem 0.65rem;
    font-size: 0.72rem;
  }

  .section-heading {
    margin-bottom: 2.1rem;
  }

  .why-heading p:not(.eyebrow) {
    white-space: normal;
  }

  .image-mosaic {
    gap: 0.75rem;
  }

  .image-mosaic > div {
    gap: 0.75rem;
  }

  .mosaic-tile,
  .mosaic-tile.tall {
    height: 190px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .chatbot {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .chatbot-panel {
    max-height: calc(100vh - 5.75rem);
  }
}

@media (max-width: 460px) {
  .brand-logo-mark {
    width: 40px;
    height: 40px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text small {
    font-size: 0.5rem;
  }

  .status-pill {
    font-size: 0.75rem;
  }

  .program-body p {
    min-height: auto;
  }

  .image-mosaic {
    grid-template-columns: 1fr;
  }

  .image-mosaic > div:nth-child(2) {
    padding-top: 0;
  }

  .age-grid article,
  .why-grid article,
  .testimonial-grid article,
  .inquiry-form {
    padding: 1.35rem;
  }

  .chatbot {
    left: 0.75rem;
    right: 0.75rem;
    display: grid;
    justify-items: end;
  }

  .chatbot-panel {
    width: 100%;
  }

  .chatbot-toggle {
    max-width: 100%;
  }
}
