:root {
  --blue: #17477f;
  --blue-strong: #123968;
  --sky: #8ebfd4;
  --sky-pale: #edf8ff;
  --orange: #f5a12f;
  --orange-dark: #e88c12;
  --ink: #15365f;
  --muted: #48637e;
  --white: #fff;
  --shadow: 0 18px 50px rgba(23, 71, 127, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Nunito", Arial, sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.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; }

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(23,71,127,.08);
}
.header-inner { min-height: 96px; display: flex; align-items: center; gap: 34px; }
.brand { flex: 0 0 142px; display: grid; place-items: center; }
.brand img { width: 122px; height: auto; max-height: 92px; object-fit: contain; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 2.4vw, 38px); margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 700; font-size: 15px; transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--orange-dark); }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid var(--orange);
  border-radius: 8px;
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 8px 20px rgba(245,161,47,.22);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.15;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--orange-dark); border-color: var(--orange-dark); box-shadow: 0 12px 26px rgba(232,140,18,.3); }
.button--header { min-height: 46px; padding-inline: 22px; white-space: nowrap; margin-left: 8px; }
.button--outline { color: var(--blue); background: transparent; border-color: var(--blue); box-shadow: none; }
.button--outline:hover, .button--outline:focus-visible { color: var(--white); background: var(--blue); border-color: var(--blue); }

.menu-toggle { display: none; width: 46px; height: 46px; margin-left: auto; padding: 10px; border: 0; border-radius: 8px; background: var(--sky-pale); }
.menu-toggle__line { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--blue); transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 79% 23%, #fff 0 15%, transparent 43%), linear-gradient(118deg, #f7fcff 0%, #edf7ff 52%, #fff 100%); }
.hero::before { content: ""; position: absolute; inset: auto auto -220px -180px; width: 470px; height: 470px; border-radius: 50%; background: rgba(142,191,212,.12); }
.hero-grid { min-height: 500px; display: grid; grid-template-columns: 50% 50%; align-items: center; gap: 30px; padding-block: 34px 40px; }
.hero-content { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 14px; color: var(--orange-dark); font-size: 14px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
h1 { max-width: 600px; margin: 0; color: var(--blue-strong); font-size: clamp(38px, 3.5vw, 52px); line-height: 1.08; letter-spacing: -.035em; font-weight: 900; }
.hero-lead { max-width: 540px; margin: 16px 0 0; color: var(--muted); font-size: 18px; line-height: 1.4; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.benefits { display: flex; flex-wrap: wrap; gap: 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.benefits li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 13px; line-height: 1.25; font-weight: 800; }
.benefit-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; color: var(--blue); border: 1px solid rgba(23,71,127,.18); border-radius: 50%; background: rgba(255,255,255,.72); }
.benefit-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; z-index: 1; min-width: 0; max-width: 520px; justify-self: end; }
.hero-photo-wrap { position: relative; overflow: hidden; aspect-ratio: 1.13; border: 10px solid rgba(255,255,255,.9); border-radius: 44% 56% 47% 53% / 49% 42% 58% 51%; background: var(--white); box-shadow: var(--shadow); transform: rotate(1deg); }
.hero-photo-wrap::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px rgba(142,191,212,.24); border-radius: inherit; pointer-events: none; }
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.spark { position: absolute; width: 28px; fill: none; stroke: var(--orange); stroke-width: 1.5; }
.spark--one { right: 0; top: -20px; }
.spark--two { left: 1%; top: -28px; width: 20px; stroke: var(--sky); }
.plant { position: absolute; right: -4px; bottom: -14px; width: 80px; height: 112px; }
.plant__stem { position: absolute; left: 39px; bottom: 0; width: 4px; height: 77px; border-radius: 4px; background: #63a237; transform: rotate(3deg); }
.plant__leaf { position: absolute; width: 42px; height: 24px; background: #8cca3d; border-radius: 100% 0 100% 0; }
.plant__leaf--left { left: 3px; top: 34px; transform: rotate(20deg); }
.plant__leaf--right { right: 0; top: 15px; transform: scaleX(-1) rotate(18deg); background: #69b43b; }

.trust-section {
  padding: 18px 0 28px;
  background: var(--white);
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 24px 28px;
  overflow: hidden;
  border: 1px solid rgba(142,191,212,.25);
  border-radius: 22px;
  background: linear-gradient(100deg, #f4faff 0%, #e8f5ff 52%, #eff8ff 100%);
  box-shadow: 0 10px 30px rgba(23,71,127,.06);
  list-style: none;
}
.trust-item {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 2px 24px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
}
.trust-item + .trust-item { border-left: 1px dashed rgba(23,71,127,.18); }
.trust-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  color: var(--blue);
}
.trust-icon svg {
  width: 48px;
  height: 48px;
  overflow: visible;
  fill: rgba(142,191,212,.3);
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-icon--image {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
}
.trust-icon--image img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.trust-icon--heart .heart-fill { fill: var(--orange); }

.directions-section {
  padding: 40px 0 64px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 26px;
  text-align: center;
}
.section-heading h2 {
  margin: 0;
  color: var(--blue-strong);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
  font-weight: 900;
}
.section-heading__decor {
  color: #69b43b;
  width: 38px;
  height: 30px;
  flex: 0 0 38px;
}
.section-heading__decor svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.section-heading__decor--right { color: var(--sky); transform: scaleX(-1); }
.directions-grid {
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.direction-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(23,71,127,.1);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(23,71,127,.09);
  transition: transform .2s ease, box-shadow .2s ease;
}
.direction-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(23,71,127,.14); }
.direction-photo {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 162 / 83;
  background-image: url("assets/directions-source.png");
  background-repeat: no-repeat;
  background-size: 461% auto;
}
.direction-photo--1 {
  background-image: url("assets/mom-and-baby-full.png");
  background-size: cover;
  background-position: center;
}
.direction-photo--2 {
  background-image: url("assets/mini-kindergarten.png");
  background-size: cover;
  background-position: center 42%;
}
.direction-photo--3 {
  background-image: url("assets/preparation-school.png");
  background-size: 145% auto;
  background-position: center 30%;
}
.direction-photo--4 {
  background-image: url("assets/after-school-girl.png");
  background-size: cover;
  background-position: center 38%;
}
.direction-photo--5 {
  background-image: url("assets/languages-school-subjects.png");
  background-size: cover;
  background-position: center;
}
.direction-photo--6 {
  background-image: url("assets/tvorchestvo.png");
  background-size: cover;
  background-position: center;
}
.direction-photo--7 {
  background-image: url("assets/speech-therapy-class.jpg");
  background-size: cover;
  background-position: center 60%;
}
.direction-photo--8 {
  background-image: url("assets/sport-children.jpg");
  background-size: cover;
  background-position: center;
}
.direction-card__body {
  flex: 1;
  gap: 8px;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 16px 14px;
}
.direction-card__title {
  min-height: 41px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.direction-card h3 {
  margin: 0;
  color: var(--blue-strong);
  font-size: 17px;
  line-height: 1.18;
  font-weight: 900;
}
.direction-card p {
  margin: 0 0 0 42px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}
.direction-badge {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  font-size: 17px;
  font-weight: 900;
}
.direction-badge--orange { background: #ffad36; color: #fff; }
.direction-badge--blue { background: #bfe6f4; }
.direction-badge--cream { background: #fff0b8; }
.direction-badge--pink { background: #ffd0d6; }
.direction-badge--yellow { background: #e9f3a8; }
.direction-badge--green { background: #c9e79b; }
.direction-button {
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
  min-width: 112px;
  margin: auto auto 0;
  padding: 8px 16px;
  border: 1.5px solid #4f86bd;
  border-radius: 6px;
  color: var(--blue);
  background: var(--white);
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: color .2s ease, background .2s ease;
}
.direction-button:hover, .direction-button:focus-visible { color: #fff; background: var(--blue); }

.consultation-section {
  padding: 0 0 64px;
  background: #fbfdff;
}
.consultation-card {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 20px 88px 20px 28px;
  border: 1px solid rgba(242, 166, 63, .14);
  border-radius: 24px;
  background: linear-gradient(100deg, #fff0dc 0%, #fffaf3 48%, #ffedcf 100%);
  box-shadow: 0 10px 30px rgba(23, 71, 127, .06);
}
.consultation-visual {
  position: relative;
  align-self: stretch;
  min-height: 108px;
}
.consultation-owl {
  position: absolute;
  left: 34px;
  bottom: 0;
  width: 140px;
  height: 130px;
  overflow: hidden;
}
.consultation-owl img {
  position: absolute;
  top: 0;
  left: -52px;
  width: 260px;
  max-width: none;
  height: auto;
}
.consultation-question {
  position: absolute;
  top: 2px;
  right: 0;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid #f4b04f;
  border-radius: 50%;
  color: #f29a22;
  background: rgba(255,255,255,.78);
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
}
.consultation-leaves {
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 48px;
  height: 66px;
  fill: none;
  stroke: #6eb89a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.consultation-copy { position: relative; z-index: 1; }
.consultation-copy h2 {
  margin: 0;
  color: var(--blue-strong);
  font-size: clamp(23px, 2.2vw, 32px);
  line-height: 1.15;
  font-weight: 900;
}
.consultation-copy p {
  max-width: 610px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}
.consultation-button {
  position: relative;
  z-index: 1;
  min-width: 238px;
  padding: 18px 24px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #ff9f1c, #ff7f0e);
  box-shadow: 0 10px 22px rgba(255, 127, 14, .22);
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}
.consultation-button:hover,
.consultation-button:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(255, 127, 14, .3); }
.consultation-branch {
  position: absolute;
  right: 10px;
  bottom: -7px;
  width: 72px;
  height: 92px;
  fill: none;
  stroke: #edae55;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .76;
}

.parents-section {
  padding: 4px 0 72px;
  background: #fff;
}
.parents-heading { margin-bottom: 26px; }
.parents-layout {
  width: min(100%, 1080px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(380px, 480px) minmax(520px, 552px);
  align-items: stretch;
  justify-content: center;
  gap: 48px;
}
.parents-photo {
  min-height: 286px;
  overflow: hidden;
  border-radius: 62px 18px 58px 20px / 46px 64px 40px 58px;
  box-shadow: 0 12px 30px rgba(23, 71, 127, .12);
  transform: rotate(-.45deg);
}
.parents-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.025) rotate(.45deg);
}
.parents-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: stretch;
}
.parent-reason {
  min-height: 95px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  border-bottom: 1px dashed rgba(23, 71, 127, .18);
}
.parent-reason:nth-child(odd) { border-right: 1px dashed rgba(23, 71, 127, .18); }
.parent-reason:nth-last-child(-n + 2) { border-bottom: 0; }
.parent-reason__icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(65, 137, 190, .11);
  border-radius: 50%;
  color: var(--blue);
  background: linear-gradient(145deg, #f0faff, #ddecf8);
  box-shadow: 0 5px 15px rgba(23, 71, 127, .08);
}
.parent-reason__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.parent-reason h3 {
  margin: 0;
  color: var(--blue-strong);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
}

.trial-section {
  padding: 28px 0 88px;
  background: #fff;
}
.trial-card {
  position: relative;
  min-height: 218px;
  overflow: visible;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(390px, .7fr);
  align-items: center;
  gap: 44px;
  padding: 24px 72px;
  border: 1px solid rgba(105, 168, 211, .12);
  border-radius: 25px;
  background: linear-gradient(105deg, #edf8ff 0%, #f8fcff 48%, #e7f5ff 100%);
  box-shadow: 0 10px 28px rgba(23, 71, 127, .07);
}
.trial-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
}
.trial-copy h2 {
  margin: 0;
  color: var(--blue-strong);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 900;
}
.trial-copy p {
  max-width: 450px;
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}
.trial-button {
  min-width: 190px;
  display: inline-block;
  padding: 12px 24px;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, #ff9f1c, #ff7f0e);
  box-shadow: 0 8px 18px rgba(255, 127, 14, .22);
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}
.trial-button:hover,
.trial-button:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 23px rgba(255, 127, 14, .3); }
.trial-photo {
  position: relative;
  z-index: 3;
  height: 278px;
  margin-block: -54px;
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 12% 43% 47% 42% / 25% 49% 43% 47%;
  box-shadow: 0 14px 32px rgba(23, 71, 127, .17);
  transform: rotate(.35deg);
}
.trial-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 42% top;
}
.trial-star,
.trial-pencil {
  position: absolute;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trial-star { stroke: #77b8ea; stroke-width: 1.8; }
.trial-star--one { left: 24px; top: 32px; width: 22px; height: 22px; }
.trial-star--two { z-index: 4; left: 53%; top: 66px; width: 54px; height: 54px; stroke: #f4a43d; stroke-width: 2.2; filter: drop-shadow(0 3px 5px rgba(244, 164, 61, .2)); }
.trial-star--three { right: 31px; top: 31px; width: 21px; height: 21px; }
.trial-pencil { right: 21px; bottom: 26px; width: 35px; height: 91px; stroke: #73abe0; stroke-width: 1.8; transform: rotate(-8deg); }

.teachers-section {
  position: relative;
  overflow: hidden;
  padding: 30px 0 76px;
  background:
    radial-gradient(circle at 6% 90%, rgba(111, 191, 137, .1), transparent 17%),
    radial-gradient(circle at 95% 85%, rgba(111, 182, 231, .11), transparent 18%),
    #fff;
}
.teachers-heading { margin-bottom: 28px; }
.teachers-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 14px;
}
.teachers-viewport {
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
}
.teachers-viewport::-webkit-scrollbar { display: none; }
.teachers-viewport:focus-visible {
  outline: 3px solid rgba(78, 157, 214, .3);
  outline-offset: 5px;
  border-radius: 18px;
}
.teachers-track {
  display: grid;
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, 42%);
  gap: 18px;
}
.teacher-card {
  min-width: 0;
  min-height: 178px;
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(23, 71, 127, .1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 71, 127, .09);
  scroll-snap-align: start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.teacher-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(23, 71, 127, .14);
}
.teacher-card__photo {
  width: 122px;
  height: 146px;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  background: #eef6fb;
}
.teacher-card__content h3 {
  margin: 0 0 10px;
  color: var(--blue-strong);
  font-size: 21px;
  line-height: 1.15;
  font-weight: 900;
}
.teacher-card__content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}
.teacher-card {
  grid-row: span 2;
  grid-template-rows: subgrid;
  align-self: stretch;
  align-items: start;
}
.teacher-card__photo,
.teacher-card__content { grid-row: 1; }
.teacher-card__content { min-width: 0; }
.teacher-card--no-photo .teacher-card__content { grid-column: 1 / -1; }
.teacher-card__details { grid-row: 2; }
.teacher-card--coach .teacher-card__photo,
.teacher-card--profile .teacher-card__photo { object-position: center; }
.teacher-card__details {
  grid-column: 1 / -1;
  min-width: 0;
  border-top: 1px solid rgba(23, 71, 127, .12);
  padding-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.teacher-card__details summary {
  color: var(--blue-strong);
  cursor: pointer;
  font-weight: 800;
}
.teacher-card__details summary:focus-visible {
  outline: 3px solid rgba(78, 157, 214, .4);
  outline-offset: 4px;
  border-radius: 4px;
}
.teacher-card__biography { padding-top: 12px; }
.teacher-card__biography p { margin: 0; }
.teacher-card__biography p + p { margin-top: 12px; }
.teacher-card__achievements {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}
.teacher-card__biography strong { color: var(--ink); }
.teachers-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 71, 127, .12);
  border-radius: 50%;
  color: var(--blue-strong);
  background: #fff;
  box-shadow: 0 7px 18px rgba(23, 71, 127, .12);
  cursor: pointer;
  transition: transform .2s ease, color .2s ease, background .2s ease;
}
.teachers-arrow span { margin-top: -3px; font-size: 34px; line-height: 1; }
.teachers-arrow:hover,
.teachers-arrow:focus-visible { color: #fff; background: var(--blue-strong); transform: scale(1.06); }
.teachers-arrow[hidden] { display: none; }

.reviews-section {
  position: relative;
  overflow: hidden;
  padding: 18px 0 42px;
  background:
    radial-gradient(circle at 0 10%, rgba(142, 191, 212, .13), transparent 24%),
    radial-gradient(circle at 100% 100%, rgba(105, 180, 59, .08), transparent 24%),
    linear-gradient(180deg, #fff 0%, #f8fcff 100%);
}
.reviews-section::before,
.reviews-section::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(105, 180, 59, .22);
  border-radius: 72% 28% 67% 33%;
  pointer-events: none;
}
.reviews-section::before { left: -66px; top: 8px; transform: rotate(28deg); }
.reviews-section::after { right: -72px; bottom: -38px; transform: rotate(-32deg); }
.reviews-heading { margin-bottom: 28px; }
.reviews-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 14px;
}
.reviews-list {
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
}
.reviews-list::-webkit-scrollbar { display: none; }
.reviews-list:focus-visible {
  outline: 3px solid rgba(78, 157, 214, .3);
  outline-offset: 5px;
  border-radius: 18px;
}
.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, 42%);
  gap: 22px;
}
.carousel-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 71, 127, .12);
  border-radius: 50%;
  color: var(--blue-strong);
  background: #fff;
  box-shadow: 0 7px 18px rgba(23, 71, 127, .12);
  cursor: pointer;
  transition: transform .2s ease, color .2s ease, background .2s ease;
}
.carousel-arrow span { margin-top: -3px; font-size: 34px; line-height: 1; }
.carousel-arrow:hover,
.carousel-arrow:focus-visible { color: #fff; background: var(--blue-strong); transform: scale(1.06); }
.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  block-size: 234px;
  padding: 22px 24px 26px;
  overflow: hidden;
  border: 1px solid rgba(23, 71, 127, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 28px rgba(23, 71, 127, .1);
  scroll-snap-align: start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(23, 71, 127, .14);
}
.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 17px;
}
.review-author { min-width: 0; display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 12px rgba(23, 71, 127, .16);
  font-size: 20px;
  font-weight: 900;
}
.review-avatar--one { background: linear-gradient(145deg, #f6b06c, #c76f53); }
.review-avatar--two { background: linear-gradient(145deg, #6cafd3, #315f8b); }
.review-avatar--three { background: linear-gradient(145deg, #94c971, #4e9467); }
.review-author h3 {
  margin: 0;
  color: var(--blue-strong);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
}
.review-rating {
  flex: 0 0 auto;
  color: #ff9b19;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 1px;
  white-space: nowrap;
}
.review-card blockquote {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
  margin: 0 0 12px;
  color: #384f68;
  font-size: 14px;
  line-height: 1.5;
  font-style: normal;
  font-weight: 600;
}
.review-card__read.direction-button { margin: auto 0 0; align-self: flex-start; }
.review-card__read:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.review-author .review-rating, .review-dialog .review-rating { margin-top: 6px; }
.review-dialog blockquote { margin: 16px 0 0; }
.review-quote {
  position: absolute;
  right: 19px;
  bottom: 5px;
  color: rgba(23, 71, 127, .22);
  font-family: Georgia, serif;
  font-size: 54px;
  line-height: 1;
  font-weight: 700;
}

.contact-section {
  padding: 24px 0 56px;
  background: linear-gradient(180deg, #f8fcff 0%, #fff 100%);
}
.contact-section > .container {
  width: min(100% - 40px, 1200px);
  max-width: 1200px;
  margin-inline: auto;
}
.contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(340px, .72fr) minmax(560px, 1.28fr);
  align-items: center;
  gap: 38px;
  min-height: 420px;
  padding: 34px clamp(28px, 3.2vw, 46px);
  border: 1px solid rgba(23, 71, 127, .09);
  border-radius: 34px;
  background: linear-gradient(105deg, #f3faff 0%, #fff 46%, #eef8ff 100%);
  box-shadow: 0 12px 32px rgba(23, 71, 127, .09);
}
.contact-card::before {
  content: "";
  position: absolute;
  left: -52px;
  bottom: -72px;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(105, 180, 59, .18);
  border-radius: 65% 35% 68% 32%;
  transform: rotate(25deg);
}
.contact-copy { position: relative; z-index: 2; grid-column: 1; grid-row: 1; max-width: 520px; }
.contact-title-row { display: flex; align-items: center; gap: 14px; }
.contact-title-row h2 {
  margin: 0;
  color: var(--blue-strong);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 900;
}
.contact-leaf { width: 36px; height: 28px; color: #69b43b; flex: 0 0 36px; }
.contact-leaf svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-info { display: grid; gap: 12px; margin-top: 24px; }
.contact-line {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}
.contact-line:hover span:last-child,
.contact-line:focus-visible span:last-child { color: var(--orange-dark); }
.contact-icon { width: 30px; height: 30px; flex: 0 0 30px; color: var(--blue); }
.contact-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 2px solid var(--orange);
  border-radius: 7px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 900;
  transition: transform .2s ease, color .2s ease, background .2s ease;
}
.contact-button:hover,
.contact-button:focus-visible { transform: translateY(-2px); }
.contact-button--primary { color: #fff; background: var(--orange); box-shadow: 0 8px 18px rgba(245, 161, 47, .2); }
.contact-button--outline { color: var(--blue); background: #fff; border-color: #4f86bd; }
.contact-button--outline:hover,
.contact-button--outline:focus-visible { color: #fff; background: var(--blue); }
.contact-map {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-height: 350px;
  overflow: hidden;
  display: block;
  border: 7px solid rgba(255,255,255,.96);
  border-radius: 52px 20px 48px 20px / 34px 52px 30px 46px;
  background: #e8f1df;
  box-shadow: 0 12px 30px rgba(23, 71, 127, .14);
  transform: rotate(-.25deg);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 350px; display: block; border: 0; transform: scale(1.01) rotate(.25deg); }
.contact-map__link { position: absolute; z-index: 4; right: 16px; bottom: 16px; padding: 10px 16px; border-radius: 8px; color: #fff; background: var(--blue-strong); box-shadow: 0 7px 18px rgba(23,71,127,.25); text-decoration: none; font-size: 13px; font-weight: 900; }
.contact-map__link:hover,
.contact-map__link:focus-visible { background: var(--orange-dark); }

@media (max-width: 1040px) {
  .header-inner { gap: 18px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 14px; }
  .button--header { padding-inline: 15px; font-size: 14px; }
  .hero-grid { min-height: 470px; gap: 20px; padding-block: 30px 36px; }
  .benefits { gap: 16px; }
  .trust-item { gap: 11px; padding-inline: 14px; font-size: 14px; }
  .trust-icon { width: 46px; height: 46px; flex-basis: 46px; }
  .trust-icon svg { width: 43px; height: 43px; }
  .trust-icon--image { width: 54px; height: 54px; flex-basis: 54px; }
  .trust-icon--image img { width: 54px; height: 54px; }
  .directions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consultation-card { grid-template-columns: 170px minmax(0, 1fr); padding-right: 70px; }
  .consultation-button { grid-column: 2; justify-self: start; min-width: 220px; }
  .parents-layout { grid-template-columns: minmax(310px, 430px) minmax(430px, 520px); gap: 28px; }
  .parent-reason { padding-inline: 13px; }
  .trial-card { grid-template-columns: minmax(0, 1fr) minmax(350px, .82fr); padding-inline: 48px; }
  .teachers-track { grid-auto-columns: minmax(330px, 48%); }
  .reviews-track { grid-auto-columns: minmax(330px, 48%); gap: 16px; }
  .review-card { padding-inline: 19px; }
  .review-card__top { align-items: flex-start; }
  .review-rating { font-size: 15px; letter-spacing: 0; }
  .contact-card { grid-template-columns: minmax(310px, .72fr) minmax(450px, 1.28fr); gap: 26px; padding-inline: 28px; }
}

@media (max-width: 860px) {
  .site-header { position: sticky; top: 0; }
  .header-inner { min-height: 78px; }
  .brand { flex-basis: 100px; }
  .brand img { width: 82px; height: auto; max-height: 68px; }
  .menu-toggle { display: block; cursor: pointer; }
  .button--header { display: none; }
  .main-nav { position: absolute; top: 78px; left: 20px; right: 20px; display: grid; gap: 0; margin: 0; padding: 10px; border: 1px solid rgba(23,71,127,.12); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav a { padding: 13px 15px; border-radius: 8px; }
  .main-nav a:hover { background: var(--sky-pale); }
  .menu-toggle.is-open .menu-toggle__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open .menu-toggle__line:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open .menu-toggle__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid { grid-template-columns: 1fr; padding-block: 38px 48px; }
  .hero-content { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .benefits { justify-content: center; }
  .hero-visual { width: min(540px, 90%); margin: 20px auto 0; justify-self: center; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); padding: 14px 20px; }
  .trust-item { justify-content: flex-start; min-height: 78px; padding-inline: 22px; }
  .trust-item:nth-child(3) { border-left: 0; border-top: 1px dashed rgba(23,71,127,.18); }
  .trust-item:nth-child(4) { border-top: 1px dashed rgba(23,71,127,.18); }
  .parents-layout { grid-template-columns: 1fr; gap: 24px; }
  .parents-photo { min-height: 320px; }
  .trial-section { padding-top: 0; }
  .trial-card { grid-template-columns: 1fr; gap: 24px; padding: 34px 56px 0; text-align: center; }
  .trial-copy { max-width: 560px; margin-inline: auto; }
  .trial-copy p { margin-inline: auto; }
  .trial-photo { width: min(440px, 100%); height: 265px; margin: 0 auto -34px; }
  .trial-star--two { left: 8%; top: 50%; }
  .teachers-carousel { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 9px; }
  .teachers-track { grid-auto-columns: minmax(290px, 72%); }
  .teacher-card { grid-template-columns: 110px minmax(0, 1fr); }
  .teacher-card__photo { width: 110px; height: 135px; }
  .teachers-arrow { width: 40px; height: 40px; }
  .reviews-carousel { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 9px; }
  .reviews-track { grid-auto-columns: minmax(290px, 72%); }
  .carousel-arrow { width: 40px; height: 40px; }
  .contact-card { grid-template-columns: 1fr; gap: 28px; padding: 36px 28px; }
  .contact-copy { text-align: center; }
  .contact-title-row, .contact-actions { justify-content: center; }
  .contact-info { width: fit-content; margin-inline: auto; text-align: left; }
  .contact-copy { grid-column: 1; grid-row: 1; max-width: 650px; margin-inline: auto; }
  .contact-map { grid-column: 1; grid-row: 2; min-height: 300px; }
  .contact-map iframe { min-height: 300px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1180px); }
  .hero-grid { padding-block: 30px 40px; }
  .eyebrow { font-size: 12px; }
  h1 { font-size: clamp(32px, 10vw, 42px); }
  .hero-lead { margin-top: 18px; font-size: 17px; }
  .hero-actions { display: grid; margin-top: 22px; }
  .button { width: 100%; }
  .benefits { display: grid; grid-template-columns: 1fr; justify-items: start; width: fit-content; margin: 26px auto 0; text-align: left; }
  .benefits li { font-size: 14px; }
  .hero-visual { width: 100%; margin-top: 24px; }
  .hero-photo-wrap { border-width: 7px; }
  .plant { right: -7px; bottom: -25px; transform: scale(.72); }
  .trust-section { padding: 14px 0 22px; }
  .trust-strip { grid-template-columns: 1fr; padding: 10px 18px; border-radius: 18px; }
  .trust-item { justify-content: flex-start; min-height: 70px; padding-inline: 12px; font-size: 15px; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px dashed rgba(23,71,127,.18); }
  .directions-section { padding: 32px 0 46px; }
  .section-heading { gap: 9px; margin-bottom: 20px; }
  .section-heading h2 { font-size: 29px; }
  .section-heading__decor { width: 29px; height: 23px; flex-basis: 29px; }
  .directions-grid { grid-template-columns: 1fr; gap: 18px; }
  .direction-card__body { min-height: 126px; }
  .consultation-section { padding-bottom: 46px; }
  .consultation-card { grid-template-columns: 1fr; gap: 16px; padding: 24px 22px; text-align: center; }
  .consultation-visual { min-height: 116px; width: 210px; margin: 0 auto; }
  .consultation-copy p { margin-inline: auto; font-size: 15px; }
  .consultation-button { grid-column: auto; width: 100%; min-width: 0; }
  .consultation-branch { display: none; }
  .parents-section { padding: 0 0 50px; }
  .parents-heading { margin-bottom: 22px; }
  .parents-layout { grid-template-columns: 1fr; gap: 22px; }
  .parents-photo { min-height: 250px; border-radius: 42px 14px 40px 16px / 32px 44px 30px 40px; }
  .parents-grid { grid-template-columns: 1fr; }
  .parent-reason { min-height: 76px; padding: 12px 8px; border-right: 0 !important; border-bottom: 1px dashed rgba(23, 71, 127, .18); }
  .parent-reason:nth-last-child(2) { border-bottom: 1px dashed rgba(23, 71, 127, .18); }
  .parent-reason:last-child { border-bottom: 0; }
  .parent-reason__icon { width: 52px; height: 52px; flex-basis: 52px; }
  .trial-section { padding-bottom: 62px; }
  .trial-card { gap: 20px; padding: 30px 20px 0; border-radius: 20px; }
  .trial-copy h2 { font-size: 31px; }
  .trial-copy p { font-size: 15px; }
  .trial-button { width: 100%; }
  .trial-photo { height: 225px; margin-bottom: -28px; }
  .trial-star--one { left: 12px; top: 13px; }
  .trial-star--three { right: 13px; top: 14px; }
  .trial-star--two { display: block; left: 10px; top: 57%; width: 40px; height: 40px; }
  .trial-pencil { display: none; }
  .teachers-section { padding: 20px 0 56px; }
  .teachers-heading { margin-bottom: 21px; }
  .teachers-carousel { display: block; }
  .teachers-track { grid-auto-columns: 88%; gap: 14px; }
  .teacher-card { min-height: 154px; grid-template-columns: 100px minmax(0, 1fr); gap: 14px; padding: 13px; }
  .teacher-card__photo { width: 100px; height: 126px; }
  .teacher-card__content h3 { font-size: 19px; }
  .teachers-arrow { display: none !important; }
  .reviews-section { padding: 12px 0 30px; }
  .reviews-heading { margin-bottom: 22px; }
  .reviews-carousel { display: block; }
  .reviews-track { grid-auto-columns: 89%; gap: 14px; margin-right: -14px; }
  .carousel-arrow { display: none; }
  .review-card { padding: 19px 18px 24px; }
  .review-card__top { gap: 9px; }
  .review-avatar { width: 43px; height: 43px; flex-basis: 43px; }
  .review-author { gap: 9px; }
  .review-author h3 { font-size: 16px; }
  .review-rating { font-size: 14px; }
  .contact-section { padding: 18px 0 34px; }
  .contact-section > .container { width: min(100% - 28px, 1200px); }
  .contact-card { padding: 28px 14px 18px; border-radius: 24px; }
  .contact-title-row { justify-content: center; gap: 8px; }
  .contact-title-row h2 { font-size: 30px; }
  .contact-leaf { width: 29px; flex-basis: 29px; }
  .contact-line { font-size: 14px; }
  .contact-actions { display: grid; }
  .contact-button { width: 100%; }
  .contact-map { min-height: 260px; border-width: 5px; border-radius: 28px 14px 26px 14px / 18px 27px 17px 24px; }
  .contact-map iframe { min-height: 260px; }
  .contact-map__link { right: 10px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Details for the activity directions. */
body.direction-dialog-open { overflow: hidden; }
.direction-dialog {
  width: min(720px, calc(100% - 28px));
  max-height: 88vh;
  max-height: 88dvh;
  margin: auto;
  padding: clamp(20px, 4vw, 34px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(23, 71, 127, .12);
  border-radius: 22px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 90px rgba(18, 57, 104, .25);
}
.direction-dialog::backdrop { background: rgba(10, 30, 54, .62); }
.direction-dialog__header { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid #dce9f2; }
.direction-dialog__header > div { flex: 1; min-width: 0; }
.direction-dialog__header form { margin: 0; }
.direction-dialog__eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 800; }
.direction-dialog h2 { margin: 0; color: var(--blue-strong); font-size: clamp(25px, 5vw, 32px); line-height: 1.15; }
.direction-dialog__meta { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.direction-dialog__close { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid #dce9f2; border-radius: 50%; background: #edf8ff; color: var(--blue); font: 28px/1 Arial, sans-serif; cursor: pointer; }
.direction-dialog__close:hover { background: #dceefa; }
.direction-dialog__close:focus-visible, .direction-dialog__contact:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.direction-dialog__content { padding: 6px 0 20px; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.direction-dialog__content h3 { margin: 22px 0 8px; color: var(--blue-strong); font-size: 18px; line-height: 1.35; }
.direction-dialog__content p { margin: 12px 0 0; }
.direction-dialog__content ul { margin: 10px 0 0; padding-left: 22px; }
.direction-dialog__content li + li { margin-top: 8px; }
.direction-dialog__footer { padding-top: 18px; border-top: 1px solid #dce9f2; }
.direction-dialog__footer p { margin: 0 0 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.direction-dialog__contact { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; border-radius: 8px; color: #fff; background: var(--blue); text-align: center; text-decoration: none; font-weight: 800; font-size: 14px; }
.direction-dialog__contact:hover { background: var(--blue-strong); }
@media (max-width: 560px) {
  .direction-dialog { max-height: 90vh; max-height: 90dvh; border-radius: 16px; }
  .direction-dialog__header { gap: 10px; }
  .direction-dialog__contact { width: 100%; }
}

.partners-section {
  padding: clamp(32px, 5vw, 60px) 0;
  background: var(--sky-pale);
}
.partners-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(8px, 2vw, 18px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.partner-card {
  display: grid;
  grid-template-rows: 72px minmax(2.6em, auto);
  row-gap: 10px;
  place-items: center;
  flex: 1 1 145px;
  max-width: 220px;
  min-height: 112px;
  padding: 12px;
  border: 1px solid rgba(23, 71, 127, .12);
  border-radius: 16px;
  background: var(--white);
  color: var(--blue-strong);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}
.partner-card__link {
  grid-row: 1 / -1;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 72px;
  border-radius: 8px;
}
.partner-card__link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.partner-card img {
  width: 100%;
  height: 72px;
  object-fit: contain;
}

.partner-card__name {
  grid-row: 2;
  align-self: start;
}
