/* OceanRise Swim Academy — built from the Figma design (frame "Sparks – Homepage", 1440px) */
:root {
  --green: #65c044;
  --green-dark: #247a31;
  --green-deep: #257b32;
  --ink: #203b2a;
  --muted: #637268;
  --blue: #0096d6;
  --purple: #b194d1;
  --lavender: #f1e4ff;
  --plum: #392352;
  --class-green: #3ea200;
  --container: 1280px;
  --font-body: 'Nunito Sans', 'Poppins', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* Anchor targets stop just below the sticky navbar so the title is the first thing in view */
h2[id] { scroll-margin-top: 124px; }
section[id], footer[id] { scroll-margin-top: 104px; }
body { font-family: var(--font-body); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { font-weight: inherit; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 100px;
  font-family: 'Nunito Sans', sans-serif; font-weight: 800; font-size: 16px; line-height: 1.2;
  white-space: nowrap; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--green-dark); color: #fff; }
.btn--white { background: #fff; color: var(--green-dark); height: 56px; }
.btn--sm { height: 46px; padding: 0 22px; font-size: 14px; gap: 12px; }

/* ---------- Waves ---------- */
.wave { line-height: 0; width: 100%; }
.wave svg { display: block; width: 100%; height: 64px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  height: 104px; padding: 0 64px; background: #fff;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar__logo img { width: 70px; height: 70px; object-fit: cover; }
.navbar__menu { display: flex; align-items: center; gap: 26px; }
.navbar__menu > a { font-size: 14px; font-weight: 700; color: var(--ink); transition: color .2s; }
.navbar__menu > a:hover, .navbar__menu > a.is-active { color: var(--green-dark); font-weight: 900; }
.navbar__menu > a.navbar__cta, .navbar__menu > a.navbar__cta:hover { margin-left: 14px; color: #fff; font-weight: 800; }
.navbar__toggle { display: none; flex-direction: column; gap: 6px; background: none; border: 0; padding: 8px; cursor: pointer; }
.navbar__toggle span { width: 26px; height: 3px; border-radius: 2px; background: var(--green-dark); }

/* ---------- Hero ---------- */
.hero { background: var(--green); color: #fff; position: relative; }
.hero__inner {
  position: relative; height: 610px; overflow: hidden;
  padding: 68px 48px 50px 80px;
}
.hero__content { position: relative; z-index: 2; width: 636px; display: flex; flex-direction: column; gap: 23px; align-items: flex-start; }
.hero__title { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 68px; line-height: 1.06; }
.hero__text { font-weight: 600; font-size: 19px; line-height: 1.55; max-width: 535px; }
.hero__buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__promo { font-weight: 700; font-size: 13px; }

.hero__visual { position: absolute; inset: 0; pointer-events: none; }
.hero__decor-circle { position: absolute; left: 810px; top: 26px; width: 540px; height: 540px; border-radius: 50%; background: rgba(255,255,255,.08); }
.hero__photo { position: absolute; left: 860px; top: 76px; width: 440px; height: 440px; border-radius: 50%; object-fit: cover; }
.hero__card {
  position: absolute; left: 860px; top: 497px; transform: rotate(-4deg); transform-origin: left center;
  display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 20px; background: #fff; color: var(--ink);
  box-shadow: 0 10px 30px rgba(0,0,0,.12); pointer-events: auto;
}
.hero__card-icon { width: 42px; height: 42px; border-radius: 50%; background: #eef8fc; display: grid; place-items: center; flex: none; }
.hero__card-icon svg { width: 24px; height: 24px; }
.hero__card-text { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.hero__card-text strong { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 18px; }
.hero__card-text small { font-size: 12px; color: var(--muted); }
.hero__doodle { position: absolute; left: 1280px; top: 66px; width: 70px; height: 62px; }
.wave--hero { background: var(--green); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 14px 80px 48px; }
.stat { border: 1px solid #dfe9dc; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat__num { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 54px; line-height: 1.1; }
.stat__num--green { color: #58bb3c; }
.stat__num--blue { color: #58abc4; }
.stat__label { font-weight: 700; font-size: 15px; color: var(--muted); }

/* ---------- Benefits ---------- */
.benefits { padding: 10px 80px 40px; display: flex; flex-direction: column; gap: 30px; font-family: 'Poppins', sans-serif; }
.benefits__header { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.benefits__title { font-weight: 700; font-size: 32px; line-height: 1.3; color: #000; }
.benefits__desc { font-size: 20px; line-height: 31px; color: #737373; max-width: 1060px; }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.benefit {
  border-radius: 25px; padding: 16px 18px 28px; color: #fff; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform .25s;
}
.benefit:hover { transform: translateY(-4px); }
.benefit--red { background: #e8665f; box-shadow: 10px 6px 0 #b55a55; }
.benefit--yellow { background: #efb13e; box-shadow: 10px 6px 0 #d29a33; }
.benefit--green { background: #9bc25a; box-shadow: 10px 6px 0 #84a64b; }
.benefit--blue { background: #61b3ef; box-shadow: 10px 6px 0 #4f98cf; }
.benefit__avatar { width: 124px; height: 124px; border-radius: 50%; background: #fff; overflow: hidden; flex: none; }
.benefit__avatar img { width: 100%; height: 100%; object-fit: cover; }
.benefit h3 { font-weight: 700; font-size: 21px; line-height: 1.3; }
.benefit p { font-size: 18px; line-height: 31px; }

/* ---------- Outlets ---------- */
.outlets { padding: 10px 80px 40px; font-family: 'Poppins', sans-serif; }
.outlets__banner {
  position: relative; height: 500px; border-radius: 48px; overflow: hidden; color: #fff;
  background: #3451d1 url('../assets/outlets-texture.webp') center / cover no-repeat;
}
.outlets__content { position: absolute; left: 64px; top: 72px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.outlets__num { font-weight: 700; font-size: 88px; line-height: 88px; }
.outlets__line { font-weight: 300; font-size: 56px; line-height: 60px; }
.outlets__highlight { background: #fff; padding: 2px 14px 8px; }
.outlets__highlight span { font-weight: 700; font-size: 56px; line-height: 60px; color: #2f4fd3; }
.outlets__tag { font-weight: 300; font-size: 26px; line-height: 34px; }
.outlets__btn {
  margin-top: 24px; width: 400px; padding: 16px; border-radius: 8px; background: #fcbd2a; color: #000;
  font-weight: 600; font-size: 22px; line-height: 28px; text-align: center; transition: filter .2s;
}
.outlets__btn:hover { filter: brightness(1.05); }
.outlets__map { position: absolute; left: 500px; top: 92px; width: 748px; height: auto; }

/* ---------- Curriculum ---------- */
.curriculum { background: var(--purple); color: var(--plum); font-family: 'Poppins', sans-serif; }
.wave--curr-top svg { height: 72px; }
.wave--curr-bottom svg { height: 50px; transform: rotate(180deg); }
.curriculum__inner { display: flex; align-items: center; gap: 100px; padding: 40px 190px; }
.curriculum__text { width: 526px; flex: none; display: flex; flex-direction: column; gap: 16px; }
.curriculum__eyebrow { font-weight: 600; font-size: 17px; line-height: 24px; }
.curriculum__title { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 30px; line-height: 36px; }
.curriculum__desc { font-size: 16px; line-height: 28px; }
.curriculum__figure { position: relative; width: 470px; height: 480px; flex: none; }
.curriculum__mascot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: translateY(16px) scale(.96);
  transition: opacity .45s ease, transform .45s ease;
}
.curriculum__mascot.is-active { opacity: 1; transform: none; }

.accordion { background: #fff; border: 1px solid #d5d8dc; }
.accordion__item + .accordion__item { border-top: 1px solid #d5d8dc; }
.accordion__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 12px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 16px; line-height: 22px; color: #1f2124;
  transition: background .2s, color .2s;
}
.accordion__btn:hover { background: #f6f2fb; }
.accordion__item.is-open .accordion__btn { color: #6b45a8; }
.accordion__icon { position: relative; width: 14px; height: 14px; flex: none; }
.accordion__icon::before, .accordion__icon::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor; border-radius: 2px;
  transform: translate(-50%, -50%); transition: transform .3s;
}
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) rotate(0); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.accordion__panel ul { margin: 0; padding: 0 12px 10px 30px; font-size: 14px; line-height: 23px; color: #3a3a4a; }
.accordion__panel li + li { margin-top: 4px; }
.accordion__link { display: block; padding: 0 12px 16px; font-weight: 600; font-size: 13px; line-height: 20px; color: #6b45a8; }
.accordion__link:hover { text-decoration: underline; }

/* ---------- Classes ---------- */
.classes { background: var(--lavender); padding: 60px 80px 72px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.classes__title { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 32px; line-height: 38px; color: var(--plum); text-align: center; }
.classes__grid { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.class-card { background: #fff; border-radius: 24px; padding: 12px; display: flex; flex-direction: column; gap: 12px; transition: transform .25s, box-shadow .25s; }
.class-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(57,35,82,.12); }
.class-card__photo { height: 260px; border-radius: 18px; overflow: hidden; }
.class-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.class-card h3 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 22px; line-height: 26px; color: var(--class-green); }
.class-card__meta { height: 30px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 12px; line-height: 16px; color: #518f2b; }
.class-card__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border-radius: 100px;
  background: var(--class-green); color: #fff; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 15px; line-height: 18px;
  transition: filter .2s;
}
.class-card__btn:hover { filter: brightness(1.08); }
.class-card__btn svg { width: 14px; height: 14px; }

/* ---------- Generic slider ---------- */
.slider { position: relative; width: min(var(--container), 100%); margin-inline: auto; --per-view: 4; --gap: 40px; }
.slider__viewport { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; }
.slider__viewport.is-dragging { cursor: grabbing; }
.slider__track { display: flex; gap: var(--gap); will-change: transform; }
.slider__track.is-animating { transition: transform .6s cubic-bezier(.25,.8,.25,1); }
.slider__track > * { flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view)); min-width: 0; }
.slider__arrow {
  position: absolute; top: var(--arrow-top, 50%); transform: translateY(-50%); z-index: 2;
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  transition: transform .2s, filter .2s;
}
.slider__arrow:hover { transform: translateY(-50%) scale(1.08); }
.slider__arrow svg { width: 22px; height: 22px; }
.slider__arrow--prev { left: -70px; }
.slider__arrow--next { right: -70px; }
.slider__dots { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.slider__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; opacity: .3; transition: opacity .2s; }
.slider__dots button.is-active { opacity: 1; }

/* ---------- Coaches ---------- */
.coaches { background: #fff; padding: 30px 80px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.coaches__title { font-family: 'Cabin', sans-serif; font-weight: 700; font-size: 48px; line-height: 60px; letter-spacing: 1px; color: var(--blue); text-align: center; }
.slider--coaches { --arrow-top: 190px; }
.slider--coaches .slider__arrow { background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.slider--coaches .slider__dots button { background: var(--blue); }
.coach { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.coach__photo { position: relative; width: 100%; aspect-ratio: 290 / 381; overflow: hidden; }
.coach__photo img { position: absolute; max-width: none; pointer-events: none; }
.coach__name { font-family: 'Cabin', sans-serif; font-weight: 700; font-size: 36px; line-height: 42px; color: #000; text-align: center; }
.coach__name span { display: block; font-weight: 400; font-size: 30px; line-height: 34px; }

/* ---------- Testimonials ---------- */
.testimonials { background: #f9f9f9; padding: 40px 80px 56px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.testimonials__title { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 32px; line-height: 38px; color: var(--plum); text-align: center; }
.slider--testi { --gap: 24px; --arrow-top: 287px; }
.slider--testi .slider__arrow { background: #f2f2f2; color: #111; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.slider--testi .slider__arrow svg { width: 20px; height: 20px; }
.slider--testi .slider__dots button { background: #212529; }
.slider--testi .slider__track { align-items: stretch; }
.testi { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.08); display: flex; flex-direction: column; min-height: 574px; }
.testi__photo { width: 100%; height: 225px; object-fit: cover; flex: none; }
.testi__body { padding: 32px 24px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; font-family: 'Poppins', sans-serif; }
.testi__body p { font-size: 17px; line-height: 27px; color: #212529; }
.testi__body cite { font-style: italic; font-weight: 700; font-size: 15px; line-height: 22px; color: #000; }

/* ---------- News ---------- */
.news { background: #fff; padding: 40px 80px; display: flex; flex-direction: column; gap: 36px; font-family: 'Poppins', sans-serif; }
.news__header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.news__title { font-weight: 700; font-size: 36px; line-height: 42px; color: #212529; }
.news__desc { font-size: 16px; line-height: 24px; color: rgba(33,37,41,.75); margin-top: 8px; }
.news__all { font-weight: 600; font-size: 18px; line-height: 24px; color: #0d6efd; white-space: nowrap; }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 15px 0; }
.post { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.08); display: flex; flex-direction: column; transition: transform .25s; }
.post:hover { transform: translateY(-4px); }
.post__img { width: 100%; height: 312px; object-fit: cover; }
.post__body { padding: 20px 16px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 276px; }
.post__body h3 { font-weight: 700; font-size: 17px; line-height: 24px; color: #000; }
.post__body time, .post__body p { font-size: 14px; color: rgba(33,37,41,.75); }
.post__body time { line-height: 21px; }
.post__body p { line-height: 22px; }
.post__more { margin-top: auto; font-weight: 600; font-size: 14px; line-height: 21px; color: #0d6efd; }
.post__more:hover { text-decoration: underline; }

/* ---------- Sponsors ---------- */
.sponsors { background: #fff; padding: 15px 80px 20px; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.sponsors__title { font-family: 'Cabin', sans-serif; font-weight: 400; font-size: 36px; line-height: 42px; color: #000; text-align: center; padding-bottom: 12px; border-bottom: 1px solid #010101; min-width: 297px; }
.sponsors__logos { display: flex; align-items: center; justify-content: center; gap: 72px; flex-wrap: wrap; }
.sponsors__logo { width: 190px; height: 110px; object-fit: contain; }
.sponsors__logo--wide { width: 260px; }
.wave--footer { background: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--green-dark); color: #fff; padding: 20px 80px 25px; display: flex; flex-direction: column; gap: 48px; }
.footer__cta {
  background: var(--green); border-radius: 28px; padding: 40px 56px; box-shadow: 0 16px 40px rgba(0,0,0,.18);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.footer__cta-text { display: flex; flex-direction: column; gap: 8px; }
.footer__cta-eyebrow { font-weight: 800; font-size: 13px; line-height: 18px; letter-spacing: 1.5px; color: var(--ink); }
.footer__cta-title { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 36px; line-height: 42px; }
.footer__cta-desc { font-weight: 600; font-size: 16px; line-height: 24px; color: rgba(255,255,255,.9); }
.footer__cta .btn { padding: 16px 24px 16px 28px; }

.footer__columns { display: flex; gap: 48px; align-items: flex-start; }
.footer__brand { width: 360px; flex: none; display: flex; flex-direction: column; gap: 18px; }
.footer__logo { display: flex; align-items: center; gap: 12px; }
.footer__logo-badge { width: 56px; height: 56px; border-radius: 16px; background: #fff; display: grid; place-items: center; }
.footer__logo-badge img { width: 44px; height: 44px; object-fit: contain; }
.footer__wordmark { display: flex; flex-direction: column; }
.footer__wordmark strong { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 24px; line-height: 28px; }
.footer__wordmark small { font-weight: 800; font-size: 11px; line-height: 14px; letter-spacing: 2px; color: rgba(255,255,255,.85); }
.footer__tagline { font-size: 15px; line-height: 24px; color: rgba(255,255,255,.85); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; transition: background .2s; }
.footer__social a:hover { background: rgba(255,255,255,.28); }
.footer__social svg { width: 18px; height: 18px; }
.footer__links { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.footer__links h3, .footer__contact h3 { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 18px; line-height: 24px; }
.footer__links a { font-weight: 600; font-size: 15px; line-height: 22px; color: rgba(255,255,255,.85); transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__contact { width: 300px; flex: none; display: flex; flex-direction: column; gap: 14px; }
.footer__contact-row { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact-row svg { width: 20px; height: 20px; flex: none; }
.footer__contact-row div { display: flex; flex-direction: column; gap: 2px; }
.footer__contact-row small { font-size: 12px; line-height: 16px; color: rgba(255,255,255,.7); }
.footer__contact-row a { font-weight: 700; font-size: 15px; line-height: 22px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; line-height: 18px; color: rgba(255,255,255,.75);
}
.footer__legal { display: flex; gap: 24px; font-weight: 600; }
.footer__note { font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .navbar { padding: 0 32px; }
  .hero__inner { padding-left: 48px; }
  .hero__content { width: 54%; }
  .hero__title { font-size: 56px; }
  .hero__visual { left: auto; right: 0; width: 46%; }
  .hero__decor-circle, .hero__photo, .hero__card, .hero__doodle { left: auto; }
  .hero__decor-circle { right: 10px; width: 480px; height: 480px; }
  .hero__photo { right: 60px; width: 380px; height: 380px; }
  .hero__card { right: 40px; top: 470px; }
  .hero__doodle { right: 40px; }
  .stats, .benefits, .outlets, .classes, .coaches, .testimonials, .news, .sponsors, .footer { padding-left: 32px; padding-right: 32px; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .outlets__map { left: auto; right: 24px; width: 54%; top: 50%; transform: translateY(-50%); }
  .outlets__content { left: 40px; top: 50px; }
  .outlets__num { font-size: 72px; line-height: 76px; }
  .outlets__line, .outlets__highlight span { font-size: 44px; line-height: 50px; }
  .outlets__btn { width: 320px; font-size: 18px; }
  .curriculum__inner { padding: 40px 48px; gap: 48px; }
  .slider { --per-view: 3; width: calc(100% - 140px); }
}

@media (max-width: 1024px) {
  .navbar { height: 80px; padding: 0 20px; }
  .navbar__toggle { display: flex; }
  .navbar__menu {
    position: absolute; top: 100%; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-radius: 16px; padding: 8px 20px; box-shadow: 0 16px 40px rgba(0,0,0,.14); display: none;
  }
  .navbar.is-open .navbar__menu { display: flex; }
  .navbar__menu > a { padding: 12px 0; font-size: 15px; }
  .navbar__cta { margin: 10px 0 12px; justify-content: center; height: 46px; }
  .hero__inner { height: auto; padding: 48px 24px 40px; }
  .hero__content { width: 100%; align-items: center; text-align: center; }
  .hero__title { font-size: 44px; }
  .hero__text { max-width: 600px; }
  .hero__buttons { justify-content: center; }
  .hero__visual { position: relative; width: 100%; height: 420px; margin-top: 32px; }
  .hero__decor-circle { left: 50%; right: auto; top: 0; width: 400px; height: 400px; transform: translateX(-50%); }
  .hero__photo { left: 50%; right: auto; top: 30px; width: 340px; height: 340px; transform: translateX(-50%); }
  .hero__card { left: 50%; right: auto; top: 330px; transform: translateX(-50%) rotate(-4deg); }
  .hero__doodle { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .outlets__banner { height: auto; border-radius: 32px; padding: 40px 32px; display: flex; flex-direction: column; gap: 32px; align-items: center; text-align: center; }
  .outlets__content { position: static; align-items: center; }
  .outlets__map { position: static; transform: none; width: min(100%, 700px); }
  .curriculum__inner { flex-direction: column; padding: 32px 24px; gap: 24px; }
  .curriculum__text { width: 100%; }
  .curriculum__figure { width: min(100%, 420px); aspect-ratio: 470 / 480; height: auto; }
  .classes__grid { grid-template-columns: repeat(2, 1fr); }
  .slider { --per-view: 2; }
  .coaches__title { font-size: 36px; line-height: 44px; }
  .news__grid { grid-template-columns: 1fr 1fr; }
  .footer__cta { flex-direction: column; align-items: flex-start; }
  .footer__columns { flex-wrap: wrap; gap: 32px; }
  .footer__brand, .footer__contact { width: 100%; }
}

@media (max-width: 640px) {
  .hero__title { font-size: 36px; }
  .hero__text { font-size: 17px; }
  .hero__visual { height: 380px; }
  .hero__decor-circle { width: 320px; height: 320px; }
  .hero__photo { width: 280px; height: 280px; }
  .hero__card { top: 300px; width: max-content; max-width: 92vw; }
  .hero__card-text strong { font-size: 15px; white-space: normal; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 32px; }
  .stat__num { font-size: 40px; }
  .benefits__title { font-size: 26px; }
  .benefits__desc { font-size: 17px; line-height: 27px; }
  .benefits__grid { grid-template-columns: 1fr; }
  .benefit p { font-size: 16px; line-height: 26px; }
  .outlets__num { font-size: 60px; line-height: 64px; }
  .outlets__line, .outlets__highlight span { font-size: 34px; line-height: 40px; }
  .outlets__tag { font-size: 20px; }
  .outlets__btn { width: 100%; }
  .classes { padding-top: 40px; }
  .classes__grid { grid-template-columns: 1fr; }
  .slider { --per-view: 1; width: calc(100% - 96px); }
  .slider__arrow { width: 44px; height: 44px; }
  .slider__arrow--prev { left: -54px; }
  .slider__arrow--next { right: -54px; }
  .slider--coaches { --arrow-top: 45%; }
  .slider--testi { --arrow-top: 50%; }
  .coach__name { font-size: 28px; }
  .coach__name span { font-size: 22px; }
  .testi { min-height: 0; }
  .news__header { flex-direction: column; align-items: flex-start; }
  .news__title { font-size: 28px; line-height: 34px; }
  .news__grid { grid-template-columns: 1fr; }
  .post__img { height: 220px; }
  .post__body { min-height: 0; }
  .sponsors__logos { gap: 24px; }
  .sponsors__logo { width: 130px; height: 80px; }
  .sponsors__logo--wide { width: 170px; }
  .footer { padding: 20px 16px; }
  .footer__cta { padding: 28px 24px; }
  .footer__cta-title { font-size: 28px; line-height: 34px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
