/* ============================================================
   Детский центр «ВМЕСТЕ» — premium playful stylesheet
   ============================================================ */

:root {
  --peri: #bcc9f2;
  --peri-light: #cdd7f7;
  --peri-deep: #a5b4ec;
  --navy: #1e2a78;
  --ink: #46518c;
  --muted: #6b76ad;
  --purple: #6c5ce7;
  --purple-deep: #5646d8;
  --violet: #8f83f3;
  --pink: #f5316b;
  --yellow: #fdb714;
  --green: #58cc2e;
  --sky: #6ec1f2;
  --red: #f43b3b;
  --orange: #ff8a3c;
  --white: #ffffff;
  --card-shadow: 0 18px 45px rgba(30, 42, 120, 0.14);
  --card-shadow-lg: 0 28px 70px rgba(30, 42, 120, 0.22);
  --radius: 26px;
  --font: "Nunito", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}

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

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 34px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn--primary {
  background: linear-gradient(135deg, #8a7bff 0%, var(--purple) 55%, var(--purple-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(108, 92, 231, 0.45);
}
.btn--primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px rgba(108, 92, 231, 0.55); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy);
  box-shadow: 0 10px 26px rgba(30, 42, 120, 0.16);
}
.btn--ghost:hover { transform: translateY(-3px); background: #fff; }
.btn--small { padding: 12px 26px; font-size: 13px; }

/* ---------------- Header ---------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 0.3s ease;
}
.header.scrolled { box-shadow: 0 10px 34px rgba(30, 42, 120, 0.14); }
.header .container { max-width: 1340px; }
.header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 24px;
}
.brand { display: flex; flex-direction: column; line-height: 1; margin-right: 6px; flex: none; }
.brand img { height: 32px; width: auto; }
.brand span {
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
  white-space: nowrap;
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 20px; }
.nav a {
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--pink), var(--yellow), var(--green), var(--sky));
  transition: right 0.3s ease;
}
.nav a:hover { color: var(--purple); }
.nav a:hover::after { right: 0; }
.nav a.active { color: var(--purple); }
.nav a.active::after { right: 0; }

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 15px;
  color: var(--navy);
  white-space: nowrap;
}
.header__phone .icon-dot {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.header__phone svg { width: 17px; height: 17px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}
.burger span { width: 26px; height: 3.5px; border-radius: 3px; background: var(--navy); transition: 0.3s; }
.burger.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: linear-gradient(180deg, #cdd7f7, #bcc9f2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
  padding: 100px 24px 40px;
  text-align: center;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-size: 22px; font-weight: 900; color: var(--navy); }
.mobile-menu .btn { margin-top: 10px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 168px 0 150px;
  background: linear-gradient(180deg, #ccd6f7 0%, var(--peri) 55%, #b1bff0 100%);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}
.hero__title {
  font-size: clamp(44px, 5.2vw, 74px);
  line-height: 1.02;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hero__logo { width: min(470px, 92%); margin: 14px 0 6px; filter: drop-shadow(0 10px 22px rgba(30, 42, 120, 0.18)); }
.hero__tagline {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 470px;
  margin-bottom: 26px;
}
.hero__list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.hero__list li { display: flex; align-items: center; gap: 14px; font-weight: 800; color: var(--navy); font-size: 17px; }
.hero__list .li-icon { width: 26px; height: 26px; flex: none; display: inline-flex; }
.hero__list .li-icon svg { width: 100%; height: 100%; }

.hero__pills { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-bottom: 32px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 999px;
  padding: 10px 22px 10px 10px;
  font-weight: 800;
  color: var(--navy);
  box-shadow: 0 10px 26px rgba(30, 42, 120, 0.14);
}
.pill .icon-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.pill svg { width: 16px; height: 16px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* hero visual */
.hero__visual { position: relative; min-height: 560px; }
.blob {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1.04;
  margin-left: auto;
  border-radius: 53% 47% 44% 56% / 46% 52% 48% 54%;
  border: 11px solid var(--violet);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 34px 80px rgba(30, 42, 120, 0.28);
  animation: blobMorph 12s ease-in-out infinite;
}
.blob img { width: 100%; height: 100%; object-fit: cover; }
@keyframes blobMorph {
  0%, 100% { border-radius: 53% 47% 44% 56% / 46% 52% 48% 54%; }
  33% { border-radius: 46% 54% 55% 45% / 54% 45% 55% 46%; }
  66% { border-radius: 57% 43% 47% 53% / 45% 56% 44% 55%; }
}

.deco { position: absolute; pointer-events: none; user-select: none; }
.deco img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 26px rgba(30, 42, 120, 0.22)); }
.deco--boy { left: -90px; bottom: 110px; width: 240px; height: 400px; z-index: 4; }
.deco--girl { right: -30px; bottom: -90px; width: 300px; height: 370px; z-index: 5; }
.deco--rocket { left: -30px; top: 34%; width: 150px; height: 140px; animation: float 6s ease-in-out infinite; }
.deco--planet { left: 20%; top: -34px; width: 160px; height: 140px; z-index: 6; animation: float 7s ease-in-out infinite 0.6s; }
.deco--sun { right: 2%; top: -46px; width: 150px; height: 150px; animation: spinFloat 14s linear infinite; }
.deco--atom { right: -14px; top: 22%; width: 120px; height: 124px; z-index: 6; animation: float 8s ease-in-out infinite 1s; }

.deco--cloud { z-index: 7; }
.deco--cloud-a { left: 45%; top: -20px; width: 170px; z-index: 5; animation: float 9s ease-in-out infinite 0.4s; }
.deco--cloud-girl { right: -80px; bottom: -250px; width: 360px; animation: float 11s ease-in-out infinite 0.8s; }
.deco--cloud-boy { left: -140px; bottom: -10px; width: 280px; animation: float 10s ease-in-out infinite 1.6s; }

.star { position: absolute; animation: twinkle 3.4s ease-in-out infinite; }
.star svg { width: 100%; height: 100%; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes spinFloat { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(-6deg); opacity: 1; } 50% { transform: scale(0.78) rotate(8deg); opacity: 0.75; } }

.hero__clouds { position: absolute; left: 0; right: 0; bottom: -4px; z-index: 2; pointer-events: none; }
.hero__clouds svg { display: block; width: 100%; height: 130px; }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero {
  padding: 170px 0 60px;
  background: linear-gradient(180deg, #ccd6f7 0%, var(--peri) 100%);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-hero p { color: var(--ink); font-weight: 700; max-width: 700px; margin: 0 auto; }

/* ---------------- Stats ---------------- */
.stats { background: #fff; padding: 54px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat b {
  display: block;
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}
.stat:nth-child(1) b { color: var(--pink); }
.stat:nth-child(2) b { color: var(--yellow); }
.stat:nth-child(3) b { color: var(--green); }
.stat:nth-child(4) b { color: var(--purple); }
.stat span { font-weight: 800; color: var(--muted); font-size: 15px; }

/* ---------------- Ticker ---------------- */
.ticker {
  background: var(--yellow);
  transform: rotate(-1.2deg) scale(1.02);
  box-shadow: 0 14px 34px rgba(30, 42, 120, 0.16);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
  z-index: 5;
}
.ticker__track { display: flex; gap: 0; width: max-content; animation: ticker 26s linear infinite; }
.ticker__track span {
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 36px;
}
.ticker__track span::after { content: "★"; color: var(--pink); font-size: 20px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- Sections base ---------------- */
.section { padding: 96px 0; position: relative; }
.section--tint { background: linear-gradient(180deg, #eef2fe 0%, #e4eafc 100%); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.badge--pink { background: var(--pink); }
.badge--green { background: var(--green); }
.badge--purple { background: var(--purple); }
.badge--sky { background: var(--sky); }
.badge--yellow { background: var(--yellow); }
.section__head h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 14px;
}
.section__head p { color: var(--muted); font-size: 18px; font-weight: 600; }

/* ---------------- Directions ---------------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--accent, var(--purple));
}
.card:hover { transform: translateY(-10px); box-shadow: var(--card-shadow-lg); }
.card__icon {
  width: 68px; height: 68px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin-bottom: 18px;
  background: var(--accent-soft, #efeafe);
  transform: rotate(-4deg);
  transition: transform 0.3s;
}
.card:hover .card__icon { transform: rotate(4deg) scale(1.08); }
.card__age {
  position: absolute;
  top: 22px; right: 22px;
  background: var(--accent-soft, #efeafe);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 900;
  padding: 5px 13px;
  border-radius: 999px;
}
.card h3 { color: var(--navy); font-size: 20px; font-weight: 900; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); font-weight: 600; }

.c-pink { --accent: var(--pink); --accent-soft: #ffe3ec; }
.c-yellow { --accent: var(--yellow); --accent-soft: #fff2d2; }
.c-green { --accent: var(--green); --accent-soft: #e2f8d9; }
.c-sky { --accent: var(--sky); --accent-soft: #e0f2fd; }
.c-purple { --accent: var(--purple); --accent-soft: #eae6fe; }
.c-orange { --accent: var(--orange); --accent-soft: #ffe9db; }
.c-red { --accent: var(--red); --accent-soft: #ffe1e1; }
.c-violet { --accent: #a55cea; --accent-soft: #f1e3fc; }

/* ---------------- Why us ---------------- */
.why { background: linear-gradient(180deg, var(--peri-light), var(--peri)); overflow: hidden; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why__tile {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s;
}
.why__tile:hover { transform: translateY(-8px) rotate(-1deg); }
.why__tile .emoji { font-size: 46px; display: block; margin-bottom: 16px; }
.why__tile h3 { color: var(--navy); font-size: 19px; font-weight: 900; margin-bottom: 10px; }
.why__tile p { font-size: 15px; color: var(--muted); font-weight: 600; }

/* ---------------- Teachers ---------------- */
.teachers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.teachers--one { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
.teacher {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 24px 30px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s;
}
.teacher:hover { transform: translateY(-10px); }
.teacher__avatar {
  width: 168px; height: 168px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--peri-light);
  box-shadow: 0 14px 30px rgba(30, 42, 120, 0.18);
}
.teacher__avatar img { width: 100%; height: 100%; object-fit: cover; }
.teacher h3 { color: var(--navy); font-size: 20px; font-weight: 900; }
.teacher__role { display: block; font-weight: 800; font-size: 14.5px; margin: 6px 0 12px; }
.teacher:nth-child(1) .teacher__role { color: var(--pink); }
.teacher:nth-child(2) .teacher__role { color: var(--sky); }
.teacher:nth-child(3) .teacher__role { color: var(--green); }
.teacher:nth-child(4) .teacher__role { color: var(--purple); }
.teacher__exp {
  display: inline-block;
  background: #eef2fe;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 900;
  color: var(--navy);
  padding: 6px 14px;
  margin-bottom: 12px;
}
.teacher p { font-size: 14.5px; color: var(--muted); font-weight: 600; font-style: italic; }

/* ---------------- Reviews ---------------- */
.reviews { background: linear-gradient(180deg, var(--peri-light), var(--peri)); overflow: hidden; }
.slider { max-width: 860px; margin: 0 auto; position: relative; }
.slider__viewport { overflow: hidden; border-radius: 32px; }
.slider__track { display: flex; transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1); }
.slide { min-width: 100%; padding: 6px; }
.review {
  background: #fff;
  border-radius: 32px;
  padding: 46px 54px;
  box-shadow: var(--card-shadow-lg);
  position: relative;
  text-align: center;
}
.review::before {
  content: "“";
  position: absolute;
  top: 6px; left: 38px;
  font-size: 110px;
  font-weight: 900;
  color: var(--peri);
  line-height: 1;
}
.review__stars { display: flex; justify-content: center; gap: 6px; margin-bottom: 18px; }
.review__stars svg { width: 24px; height: 24px; }
.review p { font-size: 18px; color: var(--ink); font-weight: 700; margin-bottom: 22px; }
.review__author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.review__author .ava {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  flex: none;
}
.review__author b { color: var(--navy); display: block; text-align: left; }
.review__author span { font-size: 14px; color: var(--muted); font-weight: 700; text-align: left; display: block; }

.slider__nav { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 30px; }
.slider__btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(30, 42, 120, 0.18);
  transition: 0.25s;
}
.slider__btn:hover { background: var(--purple); color: #fff; transform: scale(1.08); }
.slider__dots { display: flex; gap: 10px; }
.slider__dots button {
  width: 12px; height: 12px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  transition: 0.3s;
}
.slider__dots button.active { width: 34px; background: var(--purple); }

/* ---------------- Info / PDF ---------------- */
.info__grid { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 34px; align-items: start; }
.info__contacts {
  background: linear-gradient(160deg, var(--navy), #2c3a97);
  border-radius: var(--radius);
  padding: 40px 36px;
  color: #dfe6ff;
  box-shadow: var(--card-shadow-lg);
}
.info__contacts h3 { color: #fff; font-size: 24px; font-weight: 900; margin-bottom: 24px; }
.info__row { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.info__row .icon-dot {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}
.info__row b { display: block; color: #fff; font-size: 15px; }
.info__row span { font-size: 15px; font-weight: 600; }
.info__row a { color: #ffd766; font-weight: 800; }

.tabs { background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 30px; }
.tabs__bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.tab-btn {
  border: none;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 900;
  font-size: 14.5px;
  background: #eef2fe;
  color: var(--navy);
  transition: 0.25s;
}
.tab-btn.active { background: linear-gradient(135deg, #8a7bff, var(--purple-deep)); color: #fff; box-shadow: 0 10px 24px rgba(108, 92, 231, 0.4); }
.tab-panel { display: none; animation: fadeUp 0.45s ease; }
.tab-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.pdf-card__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.pdf-card__head .doc {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: #ffe1e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex: none;
}
.pdf-card__head h3 { font-size: 22px; color: var(--navy); font-weight: 900; margin-right: auto; }
.pdf-frame {
  width: 100%;
  height: 640px;
  border: none;
  border-radius: 18px;
  background: #eef2fe;
  box-shadow: inset 0 0 0 2px #e2e8fb;
}

.facts { display: grid; gap: 14px; }
.facts li {
  display: flex;
  gap: 14px;
  background: #f6f8ff;
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 15.5px;
}
.facts li b { color: var(--navy); min-width: 210px; font-size: 15px; }

/* ---------------- Signup ---------------- */
.signup__card {
  background: linear-gradient(135deg, #7d6ffb 0%, var(--purple) 45%, #4b3bd6 100%);
  border-radius: 38px;
  padding: 64px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
  box-shadow: 0 40px 90px rgba(76, 61, 214, 0.45);
  position: relative;
  overflow: hidden;
}
.signup__card::before, .signup__card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}
.signup__card::before { width: 340px; height: 340px; top: -140px; left: -120px; }
.signup__card::after { width: 260px; height: 260px; bottom: -120px; right: -80px; }
.signup__text { position: relative; z-index: 2; color: #e6e2ff; }
.signup__text h2 { color: #fff; font-size: clamp(30px, 3vw, 42px); font-weight: 900; line-height: 1.15; margin-bottom: 16px; }
.signup__text p { font-size: 17px; font-weight: 700; margin-bottom: 26px; }
.signup__phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}
.signup__phone .icon-dot {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.signup__phone svg { width: 22px; height: 22px; }

.form {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 28px;
  padding: 38px 36px;
  box-shadow: 0 30px 70px rgba(20, 27, 77, 0.35);
  display: grid;
  gap: 16px;
}
.form h3 { color: var(--navy); font-size: 22px; font-weight: 900; }
.form input, .form select {
  width: 100%;
  border: 2.5px solid #e2e8fb;
  border-radius: 16px;
  padding: 15px 18px;
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  background: #f8faff;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}
.form input:focus, .form select:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.15); background: #fff; }
.form .btn { width: 100%; }
.form__note { font-size: 12.5px; color: var(--muted); font-weight: 600; text-align: center; }
.form__success { text-align: center; padding: 30px 10px; display: none; }
.form__success .big { font-size: 60px; display: block; margin-bottom: 14px; animation: pop 0.5s cubic-bezier(0.5, 1.6, 0.5, 1); }
.form__success h3 { margin-bottom: 8px; }
.form__success p { color: var(--muted); font-weight: 700; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.form.sent .form__body { display: none; }
.form.sent .form__success { display: block; }

/* ---------------- Footer ---------------- */
.footer { background: #141b4d; color: #aab4e8; padding: 70px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer h4 { color: #fff; font-size: 16px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.footer a { transition: color 0.2s; font-weight: 700; }
.footer a:hover { color: #ffd766; }
.footer ul { display: grid; gap: 12px; font-weight: 700; }
.footer__brand img { height: 46px; margin-bottom: 6px; }
.footer__brand span { display: block; color: #ff6b8f; font-weight: 900; letter-spacing: 0.14em; font-size: 10.5px; margin-bottom: 16px; text-transform: uppercase; }
.footer__brand p { font-size: 14.5px; font-weight: 600; max-width: 280px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
}

.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 150;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #8a7bff, var(--purple-deep));
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(108, 92, 231, 0.5);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: 0.3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1200px) {
  .header__phone { display: none; }
}

@media (max-width: 1120px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .teachers { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .nav ul { gap: 18px; }
  .nav a { font-size: 13.5px; }
  .deco--boy { left: -40px; width: 200px; height: 340px; }
}

@media (max-width: 960px) {
  .nav, .header__phone { display: none; }
  .burger { display: flex; margin-left: auto; }
  .header__inner { gap: 14px; }
  .hero { padding-top: 130px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 0; margin-top: 30px; }
  .blob { margin: 0 auto; }
  .deco--girl { right: 0; }
  .info__grid { grid-template-columns: 1fr; }
  .signup__card { grid-template-columns: 1fr; padding: 46px 30px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .cards, .teachers, .why__grid { grid-template-columns: 1fr; }
  .review { padding: 40px 26px; }
  .facts li { flex-direction: column; gap: 4px; }
  .facts li b { min-width: 0; }
  .deco--boy { display: none; }
  .deco--cloud-boy { display: none; }
  .deco--rocket { display: none; }
  .deco--girl { width: 200px; height: 250px; bottom: -50px; }
  .deco--cloud-girl { width: 260px; right: -70px; bottom: -140px; }
  .footer__grid { grid-template-columns: 1fr; }
  .header .btn { display: none; }
}
