/* ═══════════════════════════════════════════════════════════════
   Центр АЯ — Main Stylesheet
   Colors: Apple palette — greens, reds, oranges, yellows
   ═══════════════════════════════════════════════════════════════ */

/* ── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #4CAF50;
  --green-l:    #81C784;
  --green-ll:   #C8E6C9;
  --green-d:    #388E3C;
  --red:        #F44336;
  --red-d:      #C62828;
  --orange:     #FF9800;
  --orange-d:   #E65100;
  --yellow:     #FFC107;
  --yellow-d:   #F57F17;

  --white:      #FFFFFF;
  --off-white:  #FFF9F0;
  --gray-100:   #F8F9FA;
  --gray-200:   #F0F2F5;
  --gray-400:   #BCC2CA;
  --gray-600:   #6B7280;
  --gray-800:   #1F2937;
  --dark:       #111827;

  --radius-sm:  8px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow:     0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.15);

  --transition: .3s cubic-bezier(.4,0,.2,1);

  --font-main: 'Nunito', sans-serif;
  --font-title: 'Unbounded', sans-serif;

  --max-w: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── CONTAINER ──────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY HELPERS ─────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }

.section-tag {
  display: inline-block;
  background: var(--green-ll);
  color: var(--green-d);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}

.accent-green  { color: var(--green); }
.accent-orange { color: var(--orange); }
.accent-yellow { color: var(--yellow); }
.accent-red    { color: var(--red); }

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 800;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(255,152,0,.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,152,0,.5);
}

.btn--ghost {
  background: rgba(255,255,255,.2);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn--ghost:hover { background: rgba(255,255,255,.35); }

.btn--outline {
  background: transparent;
  color: var(--green-d);
  border: 2px solid var(--green);
}
.btn--outline:hover { background: var(--green); color: white; }

.btn--header {
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: white;
  box-shadow: 0 4px 16px rgba(255,152,0,.3);
  padding: 10px 22px;
  font-size: 14px;
}
.btn--header:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,152,0,.45); }

.header__phone {
  font-size: 15px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}
.header__phone:hover { color: var(--yellow); }
.header.scrolled .header__phone { color: var(--dark); }
.header.scrolled .header__phone:hover { color: var(--green-d); }

.btn--lg { padding: 16px 36px; font-size: 17px; }
.btn--full { width: 100%; }

/* ── HEADER ─────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background .35s ease, box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(255,249,240,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__img { width: 96px; height: 96px; object-fit: contain; transition: width var(--transition), height var(--transition); }
.header.scrolled .logo__img { width: 40px; height: 40px; }
.logo__text {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 900;
  color: var(--dark);
}
.logo__accent { color: var(--green); }

/* Nav */
.nav { flex: 1; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav__link:hover { color: var(--yellow); background: rgba(255,255,255,.14); }
.nav__link.is-active { color: var(--yellow); }

.header.scrolled .nav__link { color: var(--gray-600); }
.header.scrolled .nav__link:hover { color: var(--green-d); background: var(--green-ll); }
.header.scrolled .nav__link.is-active { color: var(--green-d); background: var(--green-ll); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.header.scrolled .burger span { background: var(--dark); }

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: #388E3C;
  overflow: hidden;
  padding-top: 110px;
  padding-bottom: 140px;
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }

.hero__curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
  z-index: 5;
}

.hero__bubble {
  position: absolute;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}
.hero__bubble--1 { width: 400px; height: 400px; background: rgba(255,193,7,.08); top: -100px; right: -100px; animation-delay: 0s; }
.hero__bubble--2 { width: 300px; height: 300px; background: rgba(255,152,0,.10); bottom: 50px; left: -80px; animation-delay: 2s; }
.hero__bubble--3 { width: 200px; height: 200px; background: rgba(244,67,54,.08); top: 40%; left: 30%; animation-delay: 4s; }
.hero__bubble--4 { width: 150px; height: 150px; background: rgba(255,235,59,.10); top: 20%; right: 30%; animation-delay: 1s; }
.hero__bubble--5 { width: 250px; height: 250px; background: rgba(139,195,74,.08); bottom: -60px; right: 20%; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(5deg); }
  66% { transform: translateY(10px) rotate(-3deg); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero__badge {
  display: inline-block;
  background: rgba(255,193,7,.2);
  border: 1px solid rgba(255,193,7,.4);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-title);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero__title-accent { color: var(--yellow); }

.hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 40px;
}
.hero__stat { text-align: center; }
.hero__stat-num {
  display: inline;
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 900;
  color: white;
  line-height: 1;
}
.hero__stat-unit {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--yellow);
}
.hero__stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.65);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 4px;
}

.hero__visual {
  position: relative;
  z-index: 2;
  align-self: end;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 640px;
}

.hero__blob {
  position: absolute;
  width: 480px;
  height: 480px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -66%);
  background: linear-gradient(135deg, #FFF8E1, #FFE082);
  border-radius: 58% 42% 53% 47% / 48% 56% 44% 52%;
  box-shadow: 0 30px 80px rgba(0,0,0,.22);
  animation: blobMorph 10s ease-in-out infinite;
}

@keyframes blobMorph {
  0%, 100% { border-radius: 58% 42% 53% 47% / 48% 56% 44% 52%; }
  50%      { border-radius: 45% 55% 48% 52% / 55% 45% 58% 42%; }
}

.hero__photo {
  position: relative;
  z-index: 2;
  height: 640px;
  width: auto;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.18));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 85%, transparent 100%);
}

.hero__float {
  position: absolute;
  z-index: 3;
  transition: transform .2s ease-out;
}
.hero__float-rotate {
  display: inline-flex;
}
.hero__float-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  line-height: 1;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.28));
  animation: floatBob 4s ease-in-out infinite;
}

/* ── Size scale ──────────────────────────────────────────────────── */
.hero__float--xs .hero__float-inner { font-size: 20px; }
.hero__float--sm .hero__float-inner { font-size: 30px; }
.hero__float--md .hero__float-inner { font-size: 42px; }
.hero__float--lg .hero__float-inner { font-size: 56px; }

/* ── Depth layers ────────────────────────────────────────────────── */
.hero__float--near { z-index: 7; }
.hero__float--near .hero__float-inner {
  filter: drop-shadow(0 16px 20px rgba(0,0,0,.30));
}

.hero__float--mid { z-index: 4; }
.hero__float--mid .hero__float-inner {
  filter: drop-shadow(0 12px 16px rgba(0,0,0,.22));
}

.hero__float--far {
  z-index: 6;
  opacity: .78;
}
.hero__float--far .hero__float-inner {
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.16)) blur(1.6px);
}

/* ── Plain geometric decorations (rings / dots) ──────────────────── */
.hero__float-deco { animation: floatBob 4s ease-in-out infinite; }
.hero__float-deco--ring {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.65);
}
.hero__float-deco--solid {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 8px 14px rgba(0,0,0,.2);
}

/* ── Positions ───────────────────────────────────────────────────── */
.hero__float--book   { top: 90%;   left: 85.7%; }
.hero__float--mic    { top: 51.9%; left: -3.4%; }
.hero__float--brush  { top: 90%;   left: 0.1%; }
.hero__float--globe  { top: 90%; left: 44.1%; }
.hero__float--guitar { top: 51.2%; left: 92.1%; }
.hero__float--star1  { top: 21.7%; left: 91.9%; }
.hero__float--star2  { top: 4.1%;  left: 13.2%; }
.hero__float--dot1   { top: 1.8%;  left: 76.1%; }
.hero__float--dot2   { top: 25.3%; left: 2.1%; }

/* ── Per-object size / blur overrides (tuned in debug-floats.html) ── */
.hero__float--book .hero__float-inner   { font-size: 100px; filter: drop-shadow(0 12px 16px rgba(0,0,0,.22)) blur(3.5px); }
.hero__float--mic .hero__float-inner    { font-size: 46px;  filter: drop-shadow(0 12px 16px rgba(0,0,0,.22)) blur(0.3px); }
.hero__float--brush .hero__float-inner  { font-size: 100px; filter: drop-shadow(0 12px 16px rgba(0,0,0,.22)) blur(3.5px); }
.hero__float--globe .hero__float-inner  { font-size: 100px; filter: drop-shadow(0 12px 16px rgba(0,0,0,.22)) blur(3.5px); }
.hero__float--guitar .hero__float-inner { font-size: 49px;  filter: drop-shadow(0 12px 16px rgba(0,0,0,.22)) blur(0px); }
.hero__float--star1 .hero__float-inner  { font-size: 25px;  filter: drop-shadow(0 12px 16px rgba(0,0,0,.22)) blur(0px); }
.hero__float--star2 .hero__float-inner  { font-size: 26px;  filter: drop-shadow(0 12px 16px rgba(0,0,0,.22)) blur(0px); }
.hero__float--dot1 .hero__float-deco    { width: 26px; height: 26px; filter: blur(0px); }
.hero__float--dot2 .hero__float-deco    { width: 16px; height: 16px; filter: blur(0px); }

/* ── Per-object rotation (wrapper, kept separate from the bob animation) ── */
.hero__float--book .hero__float-rotate   { transform: rotate(20deg); }
.hero__float--mic .hero__float-rotate    { transform: rotate(-20deg); }
.hero__float--brush .hero__float-rotate  { transform: rotate(-46deg); }
.hero__float--guitar .hero__float-rotate { transform: rotate(35deg); }
.hero__float--star1 .hero__float-rotate  { transform: rotate(26deg); }
.hero__float--star2 .hero__float-rotate  { transform: rotate(-17deg); }
.hero__float--dot1 .hero__float-rotate   { transform: rotate(11deg); }
.hero__float--dot2 .hero__float-rotate   { transform: rotate(-32deg); }

.hero__float--book .hero__float-inner   { animation-delay: 0s; }
.hero__float--mic .hero__float-inner    { animation-delay: 1s; }
.hero__float--brush .hero__float-inner  { animation-delay: 2s; }
.hero__float--globe .hero__float-inner  { animation-delay: 0.6s; }
.hero__float--guitar .hero__float-inner { animation-delay: 2.4s; }
.hero__float--star1 .hero__float-inner  { animation-delay: 0.3s; }
.hero__float--star2 .hero__float-inner  { animation-delay: 1.8s; }
.hero__float--dot1 .hero__float-deco    { animation-delay: 1.2s; }
.hero__float--dot2 .hero__float-deco    { animation-delay: 2.7s; }

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__scroll-hint {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  cursor: pointer;
  z-index: 8;
  transition: color .2s ease;
  animation: bounce 2s ease-in-out infinite;
}
.hero__scroll-hint:hover {
  color: rgba(255,255,255,.95);
}
.hero__scroll-hint:hover .hero__scroll-arrow {
  border-color: rgba(255,255,255,.95);
}
.hero__scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid rgba(255,255,255,.6);
  border-bottom: 2px solid rgba(255,255,255,.6);
  transform: rotate(45deg);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── PAGE-FLIP SCROLL EFFECT (chapter transitions) ────────────────── */
.flip-stage {
  perspective: 1000px;
}
.page-flip {
  transform-origin: top center;
  will-change: transform, opacity;
}

/* ── CHAPTER DIVIDER ────────────────────────────────────────────── */
.chapter-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  max-width: var(--max-w);
  margin: 56px auto;
}
.chapter-divider__line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green-l), transparent);
}
.chapter-divider__label {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  color: var(--green-d);
  text-transform: uppercase;
  letter-spacing: .12em;
  white-space: nowrap;
  background: var(--green-ll);
  padding: 8px 20px;
  border-radius: 100px;
}

/* ── STUDIOS ────────────────────────────────────────────────────── */
.studios { padding: 0 0 80px; }

.studios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.studio-card {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

/* Specificity bumped (.studios__grid prefix) so this reliably beats
   [data-aos].aos-animate's transform: translateY(0) — same specificity
   otherwise, and the aos rule sits later in the file, so it would win and
   silently cancel the hover lift after the entrance animation played. */
.studios__grid .studio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

/* Wraps a card that has a popping-out character image: the card itself
   keeps overflow:hidden (so its own hover-scale photo stays clipped to its
   rounded corners), while the character lives outside it in this wrapper
   so it can stick out above without needing the card to allow overflow. */
.studio-card-wrap {
  position: relative;
  transition: transform var(--transition);
}
.studio-card-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 180px;
  bottom: 0;
  z-index: 4;
  background: white;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  pointer-events: none;
}
.studios__grid .studio-card-wrap .studio-card { transform: none !important; }
.studios__grid .studio-card-wrap:hover { transform: translateY(-6px); }
.studios__grid .studio-card-wrap:hover .studio-card { transform: none !important; box-shadow: var(--shadow); }
.studio-card-wrap .studio-card__photo { filter: blur(2.5px); }
.studio-card-wrap:hover .studio-card__photo { transform: scale(1.04); }
.studio-card-wrap:hover .studio-card__character { transform: translateX(-50%) scale(1.03); }

/* Photo strip at top of card */
.studio-card__photo {
  position: relative;
  z-index: 1;
  height: 180px;
  background-color: var(--gray-200);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  transition: transform .4s ease;
}
.studio-card:hover .studio-card__photo { transform: scale(1.04); }

/* Character image popping out above the card. It deliberately extends under
   the body; the white body masks the lower part, which avoids hairline gaps
   during hover transforms. */
.studio-card__character {
  position: absolute;
  top: -63px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  width: 256px;
  height: 280px;
  overflow: visible;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.25));
  transition: transform var(--transition); /* must match .studio-card's
    transition exactly, or the two drift apart mid-animation and gap */
}
.studio-card__character img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
}
.studio-card__character--bg {
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}
.studio-card__character--3 { background-image: url('../assets/3.png'); }
.studio-card__character--4 { background-image: url('../assets/4.png'); }
.studio-card__character--5 { background-image: url('../assets/5.png'); }
.studio-card__character--6 { background-image: url('../assets/6.png'); }

.studio-card__body {
  position: relative;
  z-index: 5;
  background: white;
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.studio-card--cta {
  grid-column: 1 / -1;
  cursor: default;
}
.studio-card--cta:hover { transform: none; box-shadow: var(--shadow-sm); }

.studio-card__body--cta {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #E8F5E9, #F1F8E9);
}

.studio-card__cta-text {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.studio-card__cta-text .studio-card__icon { margin-bottom: 0; }
.studio-card__cta-text .studio-card__title { margin-bottom: 2px; }
.studio-card__cta-text .studio-card__desc { margin-bottom: 0; }

/* Color accent stripe */
.studio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 2;
}
.studio-card--dance::before    { background: linear-gradient(90deg, #F44336, #FF5252); }
.studio-card--singing::before  { background: linear-gradient(90deg, #FF9800, #FFB74D); }
.studio-card--aerial::before   { background: linear-gradient(90deg, #FF5722, #FF8A65); }
.studio-card--english::before  { background: linear-gradient(90deg, #FFC107, #FFD54F); }
.studio-card--art::before      { background: linear-gradient(90deg, #8BC34A, #AED581); }
.studio-card--school::before   { background: linear-gradient(90deg, #2196F3, #64B5F6); }
.studio-card--theatre::before  { background: linear-gradient(90deg, #E91E63, #F06292); }
.studio-card--cta::before      { background: linear-gradient(90deg, #4CAF50, #8BC34A); }

.studio-card__badge {
  position: absolute;
  top: -4px;
  right: 16px;
  font-size: 11px;
  font-weight: 800;
  color: white;
  padding: 4px 10px;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
  z-index: 2;
}

.studio-card__icon {
  font-size: 40px;
  margin-bottom: 10px;
  line-height: 1;
}

.studio-card__title {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--dark);
}

.studio-card__sub {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.studio-card__desc {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.65;
  flex: 1;
}

.studio-card__age {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.studio-card__btn {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--green-d);
  transition: var(--transition);
  margin-top: auto;
}
.studio-card:hover .studio-card__btn { color: var(--red); }

/* ── ABOUT ──────────────────────────────────────────────────────── */
.about { padding: 0 0 80px; }

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__visual { position: relative; }

/* Photo grid replacing single placeholder */
.about__photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.about__photo {
  height: 210px;
  background-color: var(--gray-200);
  background-size: cover;
  background-position: center;
  transition: transform .4s ease;
}
.about__photo:hover { transform: scale(1.03); }

.about__badge-float {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow);
  z-index: 2;
  animation: floatBadge 4s ease-in-out infinite;
}
.about__badge-float--1 { top: -16px; right: -16px; animation-delay: 0s; }
.about__badge-float--2 { bottom: 40px; left: -24px; animation-delay: 1.5s; }
.about__badge-float--3 { top: 40%; right: -28px; animation-delay: 3s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.about__content .section-title { text-align: left; }
.about__content .section-tag { text-align: left; }

.about__text {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about__features { margin-top: 32px; }
.about__feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
}
.about__feature:last-child { border-bottom: none; }
.about__feature-icon { font-size: 28px; flex-shrink: 0; }
.about__feature strong { display: block; font-size: 15px; font-weight: 800; margin-bottom: 2px; }
.about__feature span { font-size: 14px; color: var(--gray-600); }

/* ── ACHIEVEMENTS ────────────────────────────────────────────────── */
.achievements {
  position: relative;
  background: linear-gradient(135deg, #1B5E20, #2E7D32, #43A047);
  padding: 120px 0;
  overflow: hidden;
}

.achievements__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.achievements__stars { position: absolute; inset: 0; }

.achievements__star {
  position: absolute;
  display: inline-block;
  opacity: 0.16;
  will-change: transform;
}
.achievements__star-inner { display: inline-block; }

.achievements__star--1  { top: 18%; left: 6%; }
.achievements__star--2  { top: 24%; left: 22%; }
.achievements__star--3  { top: 16%; left: 38%; }
.achievements__star--4  { top: 20%; left: 58%; }
.achievements__star--5  { top: 17%; left: 78%; }
.achievements__star--6  { top: 25%; left: 92%; }
.achievements__star--7  { top: 55%; left: 4%; }
.achievements__star--8  { top: 60%; left: 90%; }
.achievements__star--9  { top: 76%; left: 14%; }
.achievements__star--10 { top: 80%; left: 36%; }
.achievements__star--11 { top: 78%; left: 64%; }
.achievements__star--12 { top: 82%; left: 84%; }

.achievements__star--1  .achievements__star-inner { font-size: 34px; transform: rotate(-12deg); }
.achievements__star--2  .achievements__star-inner { font-size: 22px; transform: rotate(18deg); }
.achievements__star--3  .achievements__star-inner { font-size: 28px; transform: rotate(-6deg); }
.achievements__star--4  .achievements__star-inner { font-size: 40px; transform: rotate(10deg); }
.achievements__star--5  .achievements__star-inner { font-size: 26px; transform: rotate(-20deg); }
.achievements__star--6  .achievements__star-inner { font-size: 32px; transform: rotate(14deg); }
.achievements__star--7  .achievements__star-inner { font-size: 30px; transform: rotate(22deg); }
.achievements__star--8  .achievements__star-inner { font-size: 36px; transform: rotate(-16deg); }
.achievements__star--9  .achievements__star-inner { font-size: 24px; transform: rotate(-9deg); }
.achievements__star--10 .achievements__star-inner { font-size: 38px; transform: rotate(15deg); }
.achievements__star--11 .achievements__star-inner { font-size: 26px; transform: rotate(-22deg); }
.achievements__star--12 .achievements__star-inner { font-size: 30px; transform: rotate(8deg); }

.achievements__curve {
  position: absolute;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
  z-index: 1;
}
.achievements__curve--top { top: -1px; }
.achievements__curve--bottom { bottom: -1px; }

.achievements .container { position: relative; z-index: 3; }

.achievements .section-tag { background: rgba(255,255,255,.15); color: var(--yellow); }
.achievements .section-title { color: white; }

.achievements__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.achievement-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.achievement-card:hover { background: rgba(255,255,255,.18); transform: translateY(-4px); }

.achievement-card__trophy { font-size: 48px; margin-bottom: 12px; }
.achievement-card__num {
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}
.achievement-card--gold .achievement-card__num   { color: var(--yellow); }
.achievement-card--orange .achievement-card__num { color: var(--orange); }
.achievement-card--green .achievement-card__num  { color: var(--green-l); }
.achievement-card--red .achievement-card__num    { color: #FF8A80; }

.achievement-card__num--text { font-size: 22px; line-height: 1.25; }

.achievement-card__label {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  font-weight: 700;
}

/* Shows grid */
.achievements__timeline { max-width: 800px; margin: 0 auto; }
.achievements__timeline-title {
  font-family: var(--font-title);
  font-size: 22px;
  color: white;
  text-align: center;
  margin-bottom: 24px;
}

.shows-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.show-badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.show-badge:hover { background: rgba(255,255,255,.22); }

/* ── SCHEDULE ────────────────────────────────────────────────────── */
.schedule { padding: 0 0 80px; }

.schedule__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.schedule__tab {
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 14px;
  color: var(--gray-600);
  background: var(--gray-100);
  transition: var(--transition);
}
.schedule__tab--active,
.schedule__tab:hover {
  background: var(--green);
  color: white;
}

.schedule__table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.schedule__table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}
.schedule__table th,
.schedule__table td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
}
.schedule__table th {
  background: linear-gradient(135deg, var(--green), var(--green-d));
  color: white;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.schedule__table th:first-child { text-align: left; border-radius: var(--radius) 0 0 0; }
.schedule__table td:first-child { text-align: left; font-weight: 700; }
.schedule__table tr:hover td { background: var(--gray-100); }
.schedule__table tr:last-child td { border-bottom: none; }

.sched-icon { margin-right: 6px; }

.schedule__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray-400);
  text-align: center;
}

/* ── WAVE CURVES (shared, used at every background color change) ── */
.wave-curve {
  position: absolute;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
  z-index: 1;
}
.wave-curve--top { top: -1px; }
.wave-curve--bottom { bottom: -1px; }

/* ── PRICES ─────────────────────────────────────────────────────── */
.prices { padding: 0 0 80px; }

.prices .section-tag { background: rgba(255,152,0,.15); color: var(--orange-d); }

.prices__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.price-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.price-card--featured {
  background: linear-gradient(135deg, #FFF3E0, #FFF8E1);
  border: 2px solid var(--orange);
}
.price-card__label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: white;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 100px;
}

.price-card__name { font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.price-card__price { font-size: 14px; color: var(--gray-600); margin-bottom: 4px; }
.price-card__price span {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
}
.price-card__freq { font-size: 12px; color: var(--gray-400); margin-bottom: 20px; }

.prices__discount {
  background: linear-gradient(135deg, var(--green), var(--green-d));
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: white;
}
.prices__discount-icon { font-size: 48px; flex-shrink: 0; }
.prices__discount-text { flex: 1; }
.prices__discount-text strong { display: block; font-size: 20px; font-weight: 900; margin-bottom: 4px; }
.prices__discount-text span { font-size: 14px; opacity: .85; }
.prices__discount .btn--primary { flex-shrink: 0; background: white; color: var(--green-d); }
.prices__discount .btn--primary:hover { background: var(--yellow); color: var(--dark); }

/* ── TEACHERS ────────────────────────────────────────────────────── */
.teachers { padding: 0 0 80px; }

.teachers__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 280px));
  justify-content: center;
  gap: 24px;
}

.teacher-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.teacher-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.teacher-card__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
}
.teacher-card__photo--placeholder {
  background: linear-gradient(135deg, var(--green-ll), #E8F5E9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.teacher-card__name { font-weight: 800; font-size: 16px; margin-bottom: 6px; }
.teacher-card__role { font-size: 14px; color: var(--green-d); font-weight: 700; margin-bottom: 4px; }
.teacher-card__exp { font-size: 13px; color: var(--gray-400); }

.teachers__note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--gray-400);
}

/* ── GALLERY ─────────────────────────────────────────────────────── */
.gallery { background: var(--dark); padding: 80px 0; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #2d2d2d;
}
.gallery__item:hover { transform: scale(1.03); z-index: 1; }
.gallery__item--wide { grid-column: span 2; height: 240px; }

.gallery__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: white;
  font-size: 13px;
  font-weight: 700;
}

/* ── REVIEWS ─────────────────────────────────────────────────────── */
.reviews { padding: 0 0 80px; }

.reviews__track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 92%, transparent 100%);
}

.reviews__track {
  display: flex;
  gap: 24px;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.review-card {
  position: relative;
  width: 380px;
  min-width: 380px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.review-card::before {
  content: '❝';
  position: absolute;
  top: 14px;
  right: 24px;
  font-size: 48px;
  font-family: Georgia, serif;
  color: var(--green-ll);
  line-height: 1;
  z-index: 0;
}

.review-card__stars { font-size: 18px; margin-bottom: 16px; position: relative; }
.review-card__text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
}

.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-d));
  color: white;
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-card__name { font-weight: 800; font-size: 14px; }
.review-card__date { font-size: 12px; color: var(--gray-400); }

.reviews__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.reviews__btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--dark);
  font-size: 20px;
  transition: var(--transition);
}
.reviews__btn:hover { background: var(--green); color: white; }

.reviews__dots { display: flex; gap: 8px; }
.reviews__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
}
.reviews__dot--active { background: var(--green); width: 24px; border-radius: 4px; }

/* ── FORM / CTA SECTION ─────────────────────────────────────────── */
.form-section {
  background: linear-gradient(135deg, #E8F5E9, #F1F8E9);
  padding: 0 0 80px;
}

.form-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.form-cta__content .section-title { text-align: left; }
.form-section__sub {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 28px;
}

.form-section__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.form-section__perks li { font-size: 15px; font-weight: 700; color: var(--dark); }

.form-cta__actions { display: flex; flex-direction: column; gap: 16px; }
.form-cta__or {
  font-size: 14px;
  color: var(--gray-400);
  text-align: center;
  font-weight: 700;
}
.form-cta__phones { display: flex; gap: 16px; flex-wrap: wrap; }
.form-cta__phone {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--green-d);
  transition: var(--transition);
}
.form-cta__phone:hover { color: var(--red); }

.form-cta__image { display: flex; justify-content: center; }
.form-cta__apple-wrap {
  text-align: center;
}
.form-cta__logo-big {
  width: 240px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.12));
  transition: transform .4s ease;
}
.form-cta__logo-big:hover { transform: scale(1.05) rotate(-2deg); }
.form-cta__tagline {
  margin-top: 20px;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--green-d);
  line-height: 1.5;
}

/* ── CONTACTS / BRANCHES ─────────────────────────────────────────── */
.contacts { background: linear-gradient(135deg, #E8F5E9, #F1F8E9); padding: 80px 0; }

.branches__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.branch-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border-top: 4px solid var(--green);
}
.branch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.branch-card--main { border-top-color: var(--orange); }

.branch-card__badge {
  position: absolute;
  top: -12px; left: 16px;
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 100px;
}

.branch-card__icon { font-size: 36px; margin-bottom: 12px; }
.branch-card__name { font-family: var(--font-title); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.branch-card__addr { font-size: 14px; color: var(--gray-600); margin-bottom: 12px; }
.branch-card__phone {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--green-d);
  transition: var(--transition);
}
.branch-card__phone:hover { color: var(--red); }

.contacts__social-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.contacts__social-title { font-weight: 800; font-size: 15px; white-space: nowrap; }
.contacts__social { display: flex; gap: 12px; flex-wrap: wrap; }

.social-btn {
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 800;
  transition: var(--transition);
  color: white;
}
.social-btn--vk   { background: #4680C2; }
.social-btn--inst { background: linear-gradient(135deg, #E1306C, #C13584); }
.social-btn--wa   { background: #25D366; }
.social-btn--tg   { background: #0088cc; }
.social-btn:hover { transform: translateY(-2px); opacity: 0.9; }

.contacts__hours {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-600);
  padding: 24px 0;
  border-top: 1px solid var(--gray-200);
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
.footer {
  position: relative;
  background: var(--dark);
  color: white;
  padding: 110px 0 0;
  overflow: hidden;
}
.footer .container { position: relative; z-index: 3; }

.footer__top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  align-items: start;
}

.footer__brand { }
.footer__logo-img { width: 120px; margin-bottom: 16px; }
.footer__slogan {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  font-style: italic;
  line-height: 1.6;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green-l);
  margin-bottom: 14px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}
.footer__col a:hover { color: white; }

.footer__bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
}
.footer__bottom a { color: rgba(255,255,255,.45); }
.footer__bottom a:hover { color: white; }

/* ── STICKY CTA ──────────────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}
.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.sticky-cta__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 26px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 8px 24px rgba(255,152,0,.45);
  transition: var(--transition);
}
.sticky-cta__phone:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 12px 32px rgba(255,152,0,.6); }

/* ── AOS ANIMATIONS ──────────────────────────────────────────────── */
[data-aos] { opacity: 0; transform: translateY(32px); transition: opacity .6s ease, transform .6s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .branches__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__logo-img { width: 100px; }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { display: none; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }

  .about__inner { grid-template-columns: 1fr; }
  .about__visual { display: none; }
  .about__content .section-title { text-align: center !important; }
  .about__content .section-tag { text-align: center; display: block; }

  .form-cta { grid-template-columns: 1fr; }
  .form-cta__image { display: none; }
  .form-cta__content .section-title { text-align: left; }

  .achievements__grid { grid-template-columns: repeat(2, 1fr); }
  .teachers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--off-white);
    flex-direction: column;
    padding: 24px;
    border-bottom: 2px solid var(--gray-200);
    box-shadow: var(--shadow);
    z-index: 999;
  }
  .nav.open .nav__list { flex-direction: column; gap: 0; }
  .nav.open .nav__link { display: block; padding: 14px 16px; font-size: 16px; }

  .header .btn--header { display: none; }
  .header__phone { display: none; }
  .burger { display: flex; }

  .hero { padding-top: 70px; }
  .hero__stats { gap: 20px; }
  .hero__stat-num { font-size: 32px; }

  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item--wide { grid-column: span 2; }

  .reviews__track { gap: 16px; }
  .review-card { width: 290px; min-width: 290px; }

  .prices__discount { flex-direction: column; text-align: center; }

  .footer__links { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 8px; }

  .chapter-divider { margin: 32px auto; }

  .sticky-cta { bottom: 16px; right: 16px; }
  .sticky-cta__phone { width: 52px; height: 52px; font-size: 22px; }

  .branches__grid { grid-template-columns: 1fr 1fr; }
  .contacts__social-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .contacts__hours { gap: 16px; flex-direction: column; }
}

@media (max-width: 480px) {
  .studios__grid { grid-template-columns: 1fr; }
  .studio-card__body--cta { flex-direction: column; text-align: center; }
  .studio-card__cta-text { flex-direction: column; text-align: center; }
  .achievements__grid { grid-template-columns: 1fr 1fr; }
  .teachers__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item--wide { grid-column: span 2; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 320px; }
  .footer__links { grid-template-columns: 1fr; }
  .prices__grid { grid-template-columns: 1fr 1fr; }
  .branches__grid { grid-template-columns: 1fr; }
  .form-cta__phones { flex-direction: column; }
  .hero__stats { gap: 16px; }
  .hero__stat-num { font-size: 28px; }
}
