:root {
  --orange: #ef9708;
  --green: #73a04c;
  --purple: #c795ff;
  --text: #292929;
  --muted: #6f6f6f;
  --paper: #fff8ec;
  --line: #ebe5dc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(41, 41, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  background: var(--white);
}

body.is-menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 64px, 1376px);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 72px 0;
}

.section-head {
  margin-bottom: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--orange);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.title {
  max-width: 1000px;
  margin: 0;
  font-size: 52px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -4px;
}

.title span {
  color: var(--orange);
}

.title .green {
  color: var(--green);
}

.lead {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.35;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--green);
}

.btn-orange {
  color: var(--white);
  background: var(--orange);
}

.btn-purple {
  color: var(--white);
  background: var(--purple);
}

.btn-light {
  color: var(--orange);
  background: var(--white);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
}

.site-header {
  display: none;
  position: sticky;
  z-index: 40;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(41, 41, 41, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: 310px 1fr auto;
  gap: 26px;
  align-items: center;
  min-height: 96px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: 238px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: 38px;
  font-size: 15px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 800;
  line-height: 1.1;
}

.phone small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  color: var(--text);
  background: #f4efe7;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 9px;
  background: currentColor;
  content: "";
}

.menu-toggle span {
  margin-top: 5px;
  margin-bottom: 5px;
}

.hero {
  position: relative;
  min-height: 576px;
  color: var(--white);
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
}

.hero::before {
  background: linear-gradient(90deg, rgba(239, 151, 8, 0.92) 0%, rgba(239, 151, 8, 0.55) 39%, rgba(239, 151, 8, 0.1) 78%);
}

.hero::after {
  background: var(--hero-image, url("../images/hero.jpg")) center / cover no-repeat;
  z-index: -2;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 576px;
  padding: 42px 0;
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 150px;
}

.hero-badge {
  width: max-content;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 16px;
  font-weight: 800;
}

.hero-logo {
  width: 260px;
  height: auto;
  border-radius: 10px;
}

.childhood .title {
  line-height: 1.1;
}

.childhood .lead {
  color: rgba(41, 41, 41, 1);
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: 64px;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -3px;
}

.hero p {
  max-width: 780px;
  margin: 24px 0 0;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -2px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
}

.hero-buttons .btn {
  width: 200px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  align-items: start;
  padding: 26px 0 8px;
}

.polaroid {
  position: relative;
  min-height: 420px;
  padding: 16px 16px 22px;
  border-radius: 18px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.polaroid:nth-child(1),
.polaroid:nth-child(4) {
  background: var(--purple);
}

.polaroid:nth-child(2) {
  margin-top: 44px;
  background: var(--orange);
  transform: rotate(3deg);
}

.polaroid:nth-child(3) {
  margin-top: 10px;
  background: var(--green);
  transform: rotate(-2deg);
}

.polaroid:nth-child(1) {
  transform: rotate(-4deg);
}

.polaroid:nth-child(4) {
  margin-top: 40px;
  transform: rotate(3deg);
}

.polaroid img {
  width: 100%;
  height: 315px;
  object-fit: cover;
  border-radius: 8px;
}

.polaroid h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  margin: 14px 0 0;
  font-size: 20px;
  line-height: 1.05;
  text-align: center;
}

.childhood-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 396px;
  min-height: 48px;
  margin: 50px auto 0;
  border-radius: 12px;
  color: var(--white);
  background: var(--orange);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 314px));
  gap: 24px;
  justify-content: space-between;
  margin-top: 38px;
}

.mini-photo {
  width: 100%;
  aspect-ratio: 314 / 408;
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mini-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.mini-photo:nth-child(1) {
  background: var(--orange);
  transform: rotate(-3deg);
}

.mini-photo:nth-child(2) {
  background: var(--green);
  transform: rotate(2deg);
}

.mini-photo:nth-child(3) {
  background: var(--purple);
  transform: rotate(-2deg);
}

.mini-photo:nth-child(4) {
  background: var(--orange);
  transform: rotate(2deg);
}

.stats {
  padding-top: 40px;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stats-grid::before,
.stats-grid::after {
  position: absolute;
  z-index: 0;
  width: 234px;
  height: 234px;
  border: 30px solid;
  border-radius: 50%;
  opacity: 0.5;
  content: "";
  pointer-events: none;
}

.stats-grid::before {
  left: -70px;
  bottom: 30px;
  border-color: var(--orange);
}

.stats-grid::after {
  top: 38px;
  left: 50%;
  border-color: var(--green);
}

.stat-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  min-height: 216px;
  padding: 20px;
  border-radius: 16px;
  color: var(--white);
  overflow: hidden;
}

.stat-card-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 69px;
  height: 69px;
  object-fit: contain;
}

.stat-card-text {
  position: relative;
  z-index: 1;
}

.stat-card:nth-child(odd) {
  background: var(--green);
}

.stat-card:nth-child(even) {
  background: var(--orange);
}

.stat-card strong {
  display: block;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1px;
}

.stat-card span {
  display: block;
  margin-top: 12px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -1px;
}

.programs {
  background: #fff;
}

.programs .lead {
  color: #292929;
  font-size: 20px;
  letter-spacing: -1px;
}

.program-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 46px;
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 565px;
  padding: 26px;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(41, 41, 41, 0.08);
}

.program-card:nth-child(1) {
  background: #fff3df;
}

.program-card:nth-child(2) {
  background: #f5edff;
}

.program-card:nth-child(3) {
  background: #edf6e6;
}

.program-number {
  position: absolute;
  top: 0;
  left: 26px;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -4px;
}

.program-card:nth-child(2) .program-number {
  color: var(--purple);
}

.program-card:nth-child(3) .program-number {
  color: var(--green);
}

.program-card h3 {
  margin: 28px 0 20px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.program-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding-left: 0;
  color: #494949;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0;
  list-style: none;
}

.program-card li::before {
  content: "— ";
}

.price {
  margin-top: auto;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.program-schedule {
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.program-card img {
  width: 100%;
  height: 170px;
  margin-top: 18px;
  border-radius: 12px;
  object-fit: cover;
}

.program-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.program-card:nth-child(1) .program-button {
  background: var(--orange);
}

.program-card:nth-child(2) .program-button {
  background: var(--purple);
}

.program-card:nth-child(3) .program-button {
  background: var(--green);
}

.confidence {
  background: #fff;
}

.confidence-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

.confidence-copy .title span {
  color: var(--orange);
}

.confidence-intro {
  margin-top: 28px;
  color: var(--text);
}

.confidence-intro strong {
  display: block;
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1px;
}

.confidence-intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.trust-slider {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-radius: 18px;
  background: #fff3df;
}

.trust-slider::before,
.trust-slider::after,
.trust-slider-ring {
  position: absolute;
  width: 234px;
  height: 234px;
  border: 30px solid;
  border-radius: 50%;
  opacity: 0.5;
  content: "";
  pointer-events: none;
}

.trust-slider::before {
  top: -80px;
  right: -77px;
  border-color: var(--green);
}

.trust-slider::after {
  bottom: -70px;
  left: 0;
  border-color: var(--orange);
}

.trust-slider-ring-purple {
  right: clamp(56px, 25%, 186px);
  bottom: -156px;
  border-color: var(--purple);
}

.trust-slider-track {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  transition: transform 480ms ease;
}

.trust-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 440px;
  padding: 36px 18px 68px;
}

.trust-slide h3 {
  max-width: 720px;
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.trust-slide h3 span {
  color: var(--orange);
}

.trust-slide p {
  max-width: 880px;
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}

.trust-slide p strong {
  font-weight: 800;
}

.trust-slide-media {
  position: relative;
  min-height: 200px;
  margin-top: 36px;
}

.trust-slide-img {
  position: absolute;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(41, 41, 41, 0.12);
}

.trust-slide-img-main {
  position: relative;
  width: min(44%, 324px);
  aspect-ratio: 324 / 230;
  margin-left: clamp(0px, 29%, 214px);
}

.trust-slide-img-second {
  top: -90px;
  right: clamp(18px, 7.3%, 54px);
  width: min(32%, 238px);
  aspect-ratio: 238 / 168;
}

.trust-slide-img-third {
  right: clamp(92px, 47%, 347px);
  bottom: 16px;
  width: min(28%, 205px);
  aspect-ratio: 205 / 144;
}

.trust-slider-dots {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 20px;
  left: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.trust-slider-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #f6c778;
  cursor: pointer;
}

.trust-slider-dot.is-active {
  background: var(--orange);
}

@media (max-width: 1260px) {
  .trust-slide {
    min-height: auto;
  }

  .trust-slide-media {
    display: flex;
    align-items: stretch;
    gap: 16px;
    min-height: 0;
  }

  .trust-slide-img,
  .trust-slide-img-main,
  .trust-slide-img-second,
  .trust-slide-img-third {
    position: relative;
    inset: auto;
    flex: 1 1 0;
    width: calc((100% - 32px) / 3);
    max-width: none;
    height: 168px;
    margin-left: 0;
    aspect-ratio: auto;
  }
}

.confidence-note {
  margin-top: 14px;
  color: var(--text);
}

.confidence-note h3 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}

.confidence-note h3 span {
  color: var(--green);
}

.confidence-note p {
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.confidence-note strong {
  font-weight: 800;
}

.trust {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.trust-layout {
  position: relative;
  z-index: 1;
}

.trust .section-head {
  position: absolute;
  z-index: 3;
  top: 35px;
  left: 0;
  margin: 0;
}

.trust .lead {
  max-width: 560px;
  color: var(--text);
}

.trust .btn:not(.trust-cta) {
  display: none;
}

.orbit {
  position: relative;
  width: 100%;
  min-height: 1090px;
  padding-top: 210px;
}

.orbit::before {
  position: absolute;
  top: 210px;
  left: 50%;
  width: 865px;
  max-width: 100%;
  aspect-ratio: 1;
  border: 3px solid #f3f5f6;
  border-radius: 50%;
  transform: translateX(-50%);
  content: "";
  pointer-events: none;
}

.orbit-bg {
  position: absolute;
  z-index: 0;
  object-fit: cover;
  pointer-events: none;
}

.orbit-bg-first {
  top: -40px;
  right: 0;
  width: 151px;
  height: 578px;
}

.orbit-bg-second {
  bottom: 33px;
  left: 0;
  width: 264px;
  height: 420px;
}

.orbit-center {
  position: absolute;
  top: calc(210px + 432.5px);
  left: 50%;
  z-index: 2;
  width: 458px;
  height: 458px;
  border: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.bubble-slider {
  display: contents;
}

.bubble {
  --orbit-radius: min(433px, calc((100vw - 80px) / 2 - 135px));
  --angle: 0deg;
  position: absolute;
  top: calc(210px + 432.5px);
  left: 50%;
  z-index: 2;
  width: 270px;
  height: 270px;
  padding: 53px 28px 28px 38px;
  border-radius: 50%;
  color: var(--white);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--orbit-radius)) rotate(calc(-1 * var(--angle)));
  overflow: hidden;
}

.bubble::after {
  position: absolute;
  inset: -5px;
  background: url("../images/ball-shine.png") center / cover no-repeat;
  content: "";
  opacity: 0.75;
  pointer-events: none;
}

.bubble strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -4px;
}

.bubble span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1px;
}

.bubble:nth-of-type(1) {
  --angle: -86deg;
  background: var(--orange);
}

.bubble:nth-of-type(2) {
  --angle: -34.57deg;
  background: var(--green);
}

.bubble:nth-of-type(3) {
  --angle: 16.86deg;
  background: var(--purple);
}

.bubble:nth-of-type(4) {
  --angle: 68.29deg;
  background: var(--orange);
}

.bubble:nth-of-type(5) {
  --angle: 119.71deg;
  background: var(--green);
}

.bubble:nth-of-type(6) {
  --angle: 171.14deg;
  background: var(--purple);
}

.bubble:nth-of-type(7) {
  --angle: 222.57deg;
  background: var(--green);
}

.bubble-slide:nth-child(1) .bubble {
  --angle: -86deg;
}

.bubble-slide:nth-child(2) .bubble {
  --angle: -34.57deg;
}

.bubble-slide:nth-child(3) .bubble {
  --angle: 16.86deg;
}

.bubble-slide:nth-child(4) .bubble {
  --angle: 68.29deg;
}

.bubble-slide:nth-child(5) .bubble {
  --angle: 119.71deg;
}

.bubble-slide:nth-child(6) .bubble {
  --angle: 171.14deg;
}

.bubble-slide:nth-child(7) .bubble {
  --angle: 222.57deg;
}

.bubble-orange {
  background: var(--orange);
}

.bubble-green {
  background: var(--green);
}

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

.bubble-slide .bubble-orange {
  background: var(--orange);
}

.bubble-slide .bubble-green {
  background: var(--green);
}

.bubble-slide .bubble-purple {
  background: var(--purple);
}

.trust-cta {
  display: flex;
  width: max-content;
  margin: 145px auto 0;
}

.approaches .lead {
  color: var(--text);
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: 223px 319px;
  gap: 22px;
}

.approach-card {
  position: relative;
  padding: 26px 23px;
  border-radius: 12px;
  color: var(--white);
  overflow: hidden;
}

.approach-card:nth-child(odd) {
  background: var(--orange);
}

.approach-card:nth-child(even) {
  background: var(--green);
}

.approach-img {
  position: absolute;
  z-index: 0;
  object-fit: cover;
  pointer-events: none;
}

.approach-img-complex {
  right: 0;
  bottom: 0;
  width: min(426px, 70%);
  height: 223px;
}

.approach-img-modern {
  right: 0;
  bottom: 0;
  width: min(156px, 70%);
  height: auto;
  border-radius: 12px 0 0 12px;
}

.approach-img-feedback {
  right: 0;
  bottom: 0;
  width: min(219px, 70%);
  height: 147px;
  border-radius: 12px 0 0 12px;
}

.approach-img-celebrations {
  left: 50%;
  bottom: 0;
  width: min(629px, 92%);
  height: 240px;
  border-radius: 12px 12px 0 0;
  transform: translateX(-50%);
}

.approach-card h3,
.approach-card p {
  position: relative;
  z-index: 1;
}

.approach-card h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.approach-card p {
  margin: 18px 0 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -1px;
}

.visit {
  background: #fff;
}

.visit .lead {
  color: var(--text);
}

.visit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 32px;
  align-items: stretch;
}

.visit-photo {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: var(--purple);
  overflow: hidden;
}

.visit-photo img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: auto;
  border-radius: 18px 18px 0 0;
  object-fit: cover;
}

.visit-copy {
  padding: 26px;
  color: var(--white);
}

.visit-copy h3 {
  margin: 0;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

.form-card {
  padding: 26px;
  border-radius: 18px;
  background: #f4f1ed;
}

.form-card h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form label {
  display: block;
  min-height: 13px;
  margin-top: 16px;
  color: var(--text);
  font-size: 12px;
  font-weight: 400;
  line-height: 13px;
  letter-spacing: 0;
}

.form h3 + label {
  margin-top: 20px;
}

.form input,
.form textarea {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 4px;
  padding: 0 16px 0 24px;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  background: var(--white);
}

.form input {
  height: 60px;
}

.form input[type="submit"] {
  width: 100%;
  margin-top: 20px;
  border-radius: 999px;
  padding: 0 24px;
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  background: var(--purple);
}

.form textarea {
  min-height: 120px;
  padding-top: 16px;
  resize: vertical;
}

.form button {
  margin-top: 20px;
}

.form-consent {
  margin: 14px 0 0;
  color: #9f9e9e;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
}

.form-consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form .wpcf7-form {
  display: flex;
  flex-direction: column;
}

.form .wpcf7-form p {
  margin: 0;
}

.form .wpcf7-form-control-wrap {
  display: block;
}

.form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
}

.form .wpcf7-response-output {
  margin: 16px 0 0;
  border-radius: 4px;
  font-size: 13px;
}

.team {
  overflow: hidden;
  background: #fff;
}

.team .container {
  position: relative;
}

.team .section-head,
.team-grid {
  position: relative;
  z-index: 1;
}

.team-ring {
  position: absolute;
  z-index: 0;
  border: 30px solid;
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}

.team-ring-large {
  top: 40px;
  right: -209px;
  width: 460px;
  height: 460px;
  border-color: var(--green);
}

.team-ring-purple {
  top: 16%;
  left: 50%;
  width: 234px;
  height: 234px;
  border-color: var(--purple);
  transform: translateX(-50%);
}

.team-ring-left {
  top: 30%;
  left: 200px;
  width: 234px;
  height: 234px;
  border-color: var(--green);
}

.team-ring-right {
  top: 30%;
  right: 200px;
  width: 234px;
  height: 234px;
  border-color: var(--orange);
}

.team .lead {
  max-width: 760px;
  color: var(--text);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 45px 39px;
}

.team-slider {
  display: contents;
}

.teacher {
  width: 100%;
  padding: 17px;
  border-radius: 12px;
  color: var(--white);
  background: var(--green);
}

.teacher-featured {
  grid-column: 1 / -1;
  width: calc((100% - 117px) / 4);
}

.teacher:nth-child(2n) {
  background: var(--purple);
}

.teacher:nth-child(3n) {
  background: var(--orange);
}

.teacher img {
  width: 280px;
  max-width: 100%;
  height: 310px;
  border-radius: 8px;
  object-fit: cover;
}

.teacher h3 {
  margin: 16px 0 6px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.teacher p {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.life .lead {
  color: var(--text);
}

.life-grid img {
  width: 100%;
  height: 290px;
  border-radius: 10px;
  object-fit: cover;
}

.life-cta {
  display: flex;
  width: min(400px, 100%);
  margin-top: 40px;
  margin-right: auto;
  margin-left: auto;
  font-weight: 600;
}

.reviews {
  padding-top: 0;
  background: #fff;
}

.reviews .lead {
  color: var(--text);
}

.reviews-grid {
  column-count: 3;
  column-gap: 20px;
  padding: 28px;
  background: #f5f2ef;
  overflow: hidden;
}

.review-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 20px;
  padding: 10px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(41, 41, 41, 0.08);
  break-inside: avoid;
  page-break-inside: avoid;
}

.review-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
}

.reviews-grid .slick-list {
  overflow: hidden;
  margin: 0 -10px;
}

.reviews-grid.slick-initialized {
  column-count: auto;
  column-gap: 0;
}

.reviews-grid.slick-initialized .review-card {
  display: block;
  margin-bottom: 0;
}

.reviews-grid .slick-track {
  display: flex;
  align-items: flex-start;
}

.reviews-grid .slick-slide {
  height: auto;
  margin: 0 10px;
}

.reviews-grid .slick-slide > div {
  height: 100%;
}

.reviews-grid .slick-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.reviews-grid .slick-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  overflow: hidden;
  color: transparent;
  background: #f6c778;
}

.reviews-grid .slick-dots .slick-active button {
  background: var(--orange);
}

.reviews-cta {
  display: flex;
  width: min(400px, 100%);
  margin: 40px auto 0;
  font-weight: 600;
}

.site-footer {
  color: var(--white);
  background: var(--green);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 32px;
  align-items: center;
  min-height: 150px;
}

.footer-logo img {
  width: 250px;
  filter: brightness(0) invert(1);
}

.footer-contact {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.socials {
  justify-self: end;
  width: 132px;
  border-radius: 12px;
}

@media (max-width: 1180px) {
  .container {
    width: min(100% - 40px, 960px);
  }

  .header-inner {
    grid-template-columns: 250px 1fr auto;
  }

  .main-nav {
    gap: 22px;
  }

  .header-actions .btn {
    display: none;
  }

  .team-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid,
  .program-layout,
  .approach-grid,
  .life-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .polaroid {
    min-height: 340px;
    padding: 12px 12px 16px;
  }

  .polaroid img {
    height: 235px;
  }

  .polaroid h3 {
    min-height: 54px;
    font-size: 16px;
  }

  .mini-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .trust-layout,
  .confidence-layout,
  .visit-layout {
    grid-template-columns: 1fr;
  }

  .trust-slider {
    min-height: 520px;
  }

  .trust .section-head {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 34px;
  }

  .orbit {
    min-height: 880px;
    padding-top: 0;
  }

  .orbit-bg {
    display: none;
  }

  .orbit::before {
    top: 0;
    width: min(680px, 100%);
  }

  .orbit-center {
    top: min(340px, 50vw);
    width: 420px;
    height: 420px;
  }

  .bubble-slider {
    position: absolute;
    top: calc(190px + min(340px, 50vw) + 100px);
    right: 0;
    left: 0;
    z-index: 3;
    display: block;
    overflow: hidden;
  }

  .bubble-slider .slick-list {
    overflow: hidden;
    margin: 0;
  }

  .bubble-slider .slick-track {
    display: flex;
    align-items: stretch;
  }

  .bubble-slider .slick-slide {
    height: 220px;
    margin: 0 10px;
  }

  .bubble-slider .slick-slide > div {
    height: 100%;
  }

  .bubble-slide {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .bubble,
  .bubble:nth-of-type(n) {
    position: relative;
    top: auto;
    left: auto;
    width: 220px;
    height: 220px;
    min-width: 220px;
    min-height: 220px;
    max-width: 100%;
    padding: 42px 24px 24px 32px;
    box-shadow: none;
    transform: none;
  }

  .bubble strong {
    font-size: 44px;
  }

  .bubble span {
    font-size: 17px;
  }

  .bubble-slider .slick-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
  }

  .bubble-slider .slick-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    overflow: hidden;
    color: transparent;
    background: #f6c778;
  }

  .bubble-slider .slick-dots .slick-active button {
    background: var(--orange);
  }

  .team-ring-large {
    right: -260px;
  }

  .team-ring-left {
    left: 40px;
  }

  .team-ring-right {
    right: 40px;
  }

  .teacher-featured {
    margin-right: auto;
    margin-left: auto;
    width: min(314px, 100%);
  }

  .team-slider {
    grid-column: 1 / -1;
    display: block;
    overflow: hidden;
  }

  .team-slider .slick-list {
    overflow: hidden;
    margin: 0 -12px;
  }

  .team-slider .slick-track {
    display: flex;
    align-items: stretch;
  }

  .team-slider .slick-slide {
    height: auto;
    margin: 0 12px;
  }

  .team-slider .slick-slide > div {
    height: 100%;
  }

  .team-slider .teacher {
    width: 100%;
    height: 100%;
  }

  .team-slider .teacher img {
    width: 100%;
  }

  .team-slider .slick-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
  }

  .team-slider .slick-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    overflow: hidden;
    color: transparent;
    background: #f6c778;
  }

  .team-slider .slick-dots .slick-active button {
    background: var(--orange);
  }

  .approach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(260px, auto);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 560px);
  }

  .section {
    padding: 52px 0;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 76px;
  }

  .logo img {
    width: 185px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 14px 20px;
    background: #fff;
    box-shadow: 0 22px 40px rgba(41, 41, 41, 0.13);
  }

  .main-nav a {
    padding: 14px;
  }

  body.is-menu-open .main-nav {
    display: flex;
  }

  .header-actions {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 620px;
  }

  .hero-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 110px;
  }

  .hero-badge {
    white-space: normal;
  }

  .hero-logo {
    width: 210px;
    border-radius: 8px;
  }

  .childhood .title {
    font-size: 40px;
  }

  .childhood .title span {
    display: block;
  }

  .childhood .container {
    width: min(100% - 32px, 560px);
  }

  .hero h1 {
    font-size: 44px;
    letter-spacing: -2px;
  }

  .hero p {
    font-size: 24px;
    letter-spacing: -1px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .stats-grid,
  .program-layout,
  .approach-grid,
  .team-grid,
  .life-grid,
  .reviews-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .stat-card {
    min-height: 190px;
    padding: 16px;
  }

  .stat-card-icon {
    width: 54px;
    height: 54px;
  }

  .stat-card strong {
    font-size: 23px;
    line-height: 1.15;
  }

  .stat-card span {
    margin-top: 9px;
    font-size: 16px;
    line-height: 1.15;
  }

  .polaroid,
  .polaroid:nth-child(n) {
    min-height: auto;
    margin-top: 0;
    transform: none;
    padding: 8px 8px 12px;
    box-shadow: none;
  }

  .polaroid img {
    height: 260px;
  }

  .cards-grid,
  .mini-gallery {
    display: block;
    grid-template-columns: none;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
    background: transparent;
    overflow: hidden;
  }

  .cards-grid .slick-list,
  .mini-gallery .slick-list {
    overflow: hidden;
    margin: 0 -8px;
    background: transparent;
  }

  .cards-grid .slick-track,
  .mini-gallery .slick-track {
    display: flex;
    align-items: stretch;
    background: transparent;
  }

  .cards-grid .slick-slide,
  .mini-gallery .slick-slide {
    height: auto;
    margin: 0 8px;
    background: transparent;
  }

  .cards-grid .slick-slide > div,
  .mini-gallery .slick-slide > div {
    height: 100%;
  }

  .polaroid,
  .mini-photo,
  .mini-photo:nth-child(n) {
    width: 100%;
    transform: none;
  }

  .mini-photo {
    padding: 8px;
    box-shadow: none;
  }

  .cards-grid .slick-list .slick-track .slick-slide:nth-child(1),
  .cards-grid .slick-list .slick-track .slick-slide:nth-child(4),
  .cards-grid .slick-list .slick-track .slick-slide:nth-child(1) .polaroid,
  .cards-grid .slick-list .slick-track .slick-slide:nth-child(4) .polaroid {
    background: var(--purple);
  }

  .cards-grid .slick-list .slick-track .slick-slide:nth-child(2),
  .cards-grid .slick-list .slick-track .slick-slide:nth-child(2) .polaroid {
    background: var(--orange);
  }

  .cards-grid .slick-list .slick-track .slick-slide:nth-child(3),
  .cards-grid .slick-list .slick-track .slick-slide:nth-child(3) .polaroid {
    background: var(--green);
  }

  .mini-gallery .slick-list .slick-track .slick-slide:nth-child(1),
  .mini-gallery .slick-list .slick-track .slick-slide:nth-child(4),
  .mini-gallery .slick-list .slick-track .slick-slide:nth-child(1) .mini-photo,
  .mini-gallery .slick-list .slick-track .slick-slide:nth-child(4) .mini-photo {
    background: var(--orange);
  }

  .mini-gallery .slick-list .slick-track .slick-slide:nth-child(2),
  .mini-gallery .slick-list .slick-track .slick-slide:nth-child(2) .mini-photo {
    background: var(--green);
  }

  .mini-gallery .slick-list .slick-track .slick-slide:nth-child(3),
  .mini-gallery .slick-list .slick-track .slick-slide:nth-child(3) .mini-photo {
    background: var(--purple);
  }

  .cards-grid .slick-dots,
  .mini-gallery .slick-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
  }

  .cards-grid .slick-dots button,
  .mini-gallery .slick-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    overflow: hidden;
    color: transparent;
    background: #f6c778;
  }

  .cards-grid .slick-dots .slick-active button,
  .mini-gallery .slick-dots .slick-active button {
    background: var(--orange);
  }

  .stat-card {
    min-height: 216px;
  }

  .childhood-more {
    width: 100%;
  }

  .life-grid img {
    height: 290px;
  }

  .program-card {
    min-height: auto;
  }

  .orbit {
    min-height: 760px;
    padding: 0;
  }

  .orbit-bg-first {
    width: min(151px, 28vw);
    height: min(578px, 70vw);
  }

  .orbit-bg-second {
    width: min(264px, 45vw);
    height: min(420px, 48vw);
  }

  .orbit::before {
    top: 0;
    width: min(865px, 100%);
  }

  .orbit-center {
    top: calc(50px + min(432.5px, 37vw));
    width: min(458px, 54vw);
    height: min(458px, 54vw);
  }

  .bubble-slider {
    top: calc(170px + min(432.5px, 37vw) + min(110px, 20vw));
  }

  .bubble {
    top: auto;
    left: auto;
    width: 220px;
    height: 220px;
    min-width: 220px;
    min-height: 220px;
    padding: 28px 18px 18px 24px;
    transform: none;
  }

  .bubble-slider .slick-slide {
    height: 220px;
  }

  .bubble strong {
    font-size: 42px;
  }

  .bubble span {
    font-size: 17px;
  }

  .trust-cta {
    width: 100%;
    margin-top: 96px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(280px, auto);
  }

  .approach-img-complex {
    width: min(426px, 82%);
  }

  .approach-img-feedback {
    width: min(219px, 62%);
  }

  .approach-img-modern {
    width: min(156px, 62%);
  }

  .visit-layout {
    gap: 18px;
  }

  .trust-slide {
    min-height: auto;
  }

  .trust-slide h3 {
    font-size: 30px;
  }

  .trust-slide-media {
    gap: 10px;
    min-height: 0;
  }

  .trust-slide-img-main {
    width: calc((100% - 20px) / 3);
    height: clamp(86px, 24vw, 150px);
    margin-left: 0;
  }

  .trust-slide-img-second {
    top: auto;
    width: calc((100% - 20px) / 3);
    height: clamp(86px, 24vw, 150px);
  }

  .trust-slide-img-third {
    right: auto;
    bottom: auto;
    width: calc((100% - 20px) / 3);
    height: clamp(86px, 24vw, 150px);
  }

  .visit-copy {
    position: relative;
    width: 100%;
    border-radius: 18px 18px 0 0;
  }

  .visit-photo {
    display: flex;
    flex-direction: column;
  }

  .visit-photo img {
    min-height: 260px;
  }

  .teacher img,
  .review-card img {
    height: auto;
    max-height: 420px;
  }

  .teacher-featured {
    width: min(314px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .teacher img {
    width: 280px;
    height: 310px;
    max-height: none;
  }

  .team-ring-large {
    top: 20px;
    right: -280px;
  }

  .team-ring-purple {
    width: 180px;
    height: 180px;
  }

  .team-ring-left {
    left: -80px;
  }

  .team-ring-right {
    right: -80px;
  }

  .reviews-grid {
    padding: 18px;
  }

  .socials {
    justify-self: start;
  }
}

@media (max-width: 451px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    align-items: flex-start;
    min-height: 0;
  }

  .stat-card-text {
    max-width: calc(100% - 76px);
  }

  .stat-card strong {
    font-size: 22px;
  }

  .stat-card span {
    font-size: 15px;
  }
}
