/*
 * gymnastikauae.com — новый дизайн, вариант A «Лента» (18.10.2026).
 * Токены — дизайн-система «GYMNASTIKA docs»: фиолетовый бренд, розовый акцент,
 * жёлтый только на тёмном, Poppins (кириллица — Montserrat).
 * Характер: светлый лиловый фон, вырезанные фигуры гимнасток, арки, крупная
 * типографика с курсивными акцентами, мягкое появление блоков.
 */
:root {
  --brand: #480eb3; --deep: #342d65; --night: #241c4d;
  --pink: #fa41cc; --pink-text: #c8108a; --yellow: #ffee59;
  --ink: #1c1735; --text: #4a4468; --label: #7b52d9;
  --lilac: #e0beff; --lilac-2: #f1e2ff; --lilac-3: #c9a8f5; --paper: #fbf8ff; --white: #fff;
  --wa: #1faa5f;
  --font: "Poppins", "Montserrat", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --r-l: 32px; --r-m: 20px; --r-s: 12px;
  --shadow: 0 24px 50px -30px rgba(52, 45, 101, .45);
  --gutter: 20px;
}
@media (min-width: 760px) { :root { --gutter: 40px; } }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: 78px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--pink-text); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { color: var(--deep); margin: 0 0 16px; letter-spacing: -0.03em; line-height: 1.02; font-weight: 700; }
h2 { font-size: clamp(32px, 4.4vw, 60px); }
h2 em { font-style: italic; font-weight: 300; color: var(--pink-text); }
h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--pink-text); margin-bottom: 12px; }

/* ── Кнопки ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 26px; border-radius: 999px; font: 600 15px/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-l { min-height: 56px; padding: 15px 30px; font-size: 16px; }
.btn-s { min-height: 44px; padding: 10px 20px; font-size: 14px; }
/* Основная кнопка — фирменный фиолетовый с белым текстом (розовая заливка резала глаз, 18.10.2026) */
.btn-pink { background: linear-gradient(135deg, #6a2ee0 0%, var(--brand) 55%, #3b0a96 100%); color: #fff; box-shadow: 0 14px 28px -16px rgba(72, 14, 179, .75), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-pink:hover { background: linear-gradient(135deg, #8b3ff0 0%, #6a1fd0 50%, #b02aa8 100%); color: #fff; box-shadow: 0 18px 32px -16px rgba(200, 16, 138, .55), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-wa { background: var(--white); color: var(--ink); border-color: var(--lilac); }
.btn-wa .ico { width: 22px; height: 22px; color: var(--wa); }
.btn-wa:hover { border-color: var(--wa); color: var(--ink); }
.btn-line { border-color: var(--deep); color: var(--deep); background: transparent; }
.btn-line:hover { background: var(--deep); color: #fff; }
.btn-line-light { border-color: rgba(224, 190, 255, .55); color: #fff; }
.btn-line-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-white { background: #fff; color: var(--deep); }
.btn-white:hover { color: var(--deep); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { color: var(--ink); }
.btn-block { width: 100%; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Шапка ─────────────────────────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); transition: box-shadow .3s; }
.hdr.scrolled { box-shadow: 0 10px 30px -20px rgba(52, 45, 101, .5); }
.hdr-row { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { flex-shrink: 0; } .brand img { width: 150px; }
.nav-d { display: none; }
.nav-d ul, .burger-menu ul { list-style: none; margin: 0; padding: 0; }
.lang { margin-left: auto; font-weight: 600; font-size: 14px; text-decoration: none; color: var(--deep); padding: 8px; }
.hdr-cta { display: none; }
.burger-menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.burger-menu summary::-webkit-details-marker { display: none; }
.burger-menu summary span, .burger-menu summary span::before, .burger-menu summary span::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--deep); position: relative; transition: .2s; }
.burger-menu summary span::before, .burger-menu summary span::after { content: ""; position: absolute; left: 0; }
.burger-menu summary span::before { top: -7px; } .burger-menu summary span::after { top: 7px; }
.burger-menu[open] summary span { background: transparent; }
.burger-menu[open] summary span::before { top: 0; transform: rotate(45deg); }
.burger-menu[open] summary span::after { top: 0; transform: rotate(-45deg); }
.burger-menu nav { position: absolute; left: 0; right: 0; top: 72px; background: #fff; padding: 12px var(--gutter) 20px; box-shadow: var(--shadow); }
.burger-menu a { display: block; padding: 12px 0; font-size: 18px; font-weight: 500; color: var(--deep); text-decoration: none; border-bottom: 1px solid var(--lilac-2); }
.burger-menu .ext a { color: var(--label); }
@media (min-width: 1080px) {
  .brand img { width: 172px; }
  .nav-d { display: block; margin-left: 12px; }
  .nav-d ul { display: flex; gap: 2px; }
  .nav-d a { display: block; padding: 8px 11px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--deep); text-decoration: none; white-space: nowrap; }
  .nav-d a:hover { background: var(--lilac-2); }
  .hdr-cta { display: inline-flex; }
  .burger-menu { display: none; }
}

/* ── Первый экран ──────────────────────────────────────── */
.hero { position: relative; padding: 28px 0 56px; overflow: hidden;
  background: radial-gradient(45% 60% at 88% 35%, rgba(250, 65, 204, .26), transparent 70%),
              radial-gradient(55% 70% at 8% 100%, rgba(163, 111, 243, .28), transparent 70%),
              linear-gradient(180deg, #fff 0%, #f6efff 100%); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 48px 0 72px; } .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 40px; } }
.slogan { font-size: clamp(22px, 2.6vw, 34px); font-style: italic; font-weight: 300; color: var(--pink-text); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 10px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 72px); line-height: .98; letter-spacing: -0.04em; margin-bottom: 26px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
@media (min-width: 560px) { .hero-points { grid-template-columns: 1fr 1fr; gap: 14px 22px; } }
.hero-points li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; font-size: 15px; line-height: 1.4; color: var(--text); }
.hero-points b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--brand); font-size: 14px; box-shadow: 0 10px 24px -14px rgba(72, 14, 179, .6); }
.hero-note { margin: 16px 0 0; font-size: 14px; color: var(--text); }
.hero-note a { color: var(--deep); font-weight: 600; text-decoration: none; }
.stage { position: relative; height: min(76vh, 660px); min-height: 460px; }
.arch { position: absolute; right: 0; top: 0; bottom: 0; width: min(74%, 430px); border-radius: 999px 999px 40px 40px; overflow: hidden; background: var(--lilac-3); box-shadow: 0 50px 90px -40px rgba(72, 14, 179, .55); }
.arch video { width: 100%; height: 100%; object-fit: cover; }
.hero-cut { position: absolute; left: 0; bottom: -2%; height: 80%; width: auto; z-index: 2; filter: drop-shadow(0 30px 40px rgba(52, 45, 101, .35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
@media (max-width: 959px) { .stage { height: 520px; } .arch { width: 70%; } .hero-cut { height: 78%; } }

/* ── Бегущая строка ────────────────────────────────────── */
.marquee { background: var(--deep); color: #fff; overflow: hidden; padding: 16px 0; }
.track { display: flex; gap: 44px; width: max-content; animation: run 60s linear infinite; font-weight: 500; font-size: 16px; white-space: nowrap; }
.track span { display: flex; align-items: center; gap: 44px; }
.track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.track em { font-style: normal; font-weight: 700; color: var(--yellow); }
@keyframes run { to { transform: translateX(-50%); } }

/* ── Секции ────────────────────────────────────────────── */
.sec { padding: 72px 0; position: relative; }
@media (min-width: 900px) { .sec { padding: 104px 0; } }
.soft { background: linear-gradient(180deg, #f6efff, var(--paper)); }
.head { display: grid; gap: 18px; margin-bottom: 40px; align-items: end; }
@media (min-width: 900px) { .head { grid-template-columns: 1.1fr .9fr; gap: 40px; } }
.head h2 { margin: 0; max-width: 16ch; }
.head-side p { color: var(--text); margin-bottom: 18px; max-width: 48ch; }

/* программы */
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 24px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 min(76vw, 280px); scroll-snap-align: start; position: relative; height: 420px; border-radius: var(--r-l); overflow: hidden; text-decoration: none; color: var(--deep); transition: transform .3s; }
@media (min-width: 1240px) { .rail { overflow: visible; } .pcard { flex: 1 1 0; } }
.pcard:hover { transform: translateY(-6px); color: var(--deep); }
.pcard img { position: absolute; bottom: 64px; left: 50%; transform: translateX(-50%); height: 66%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 20px 22px rgba(52, 45, 101, .3)); transition: transform .5s; }
.pcard:hover img { transform: translateX(-50%) scale(1.05); }
.pcard .age { position: absolute; top: 18px; left: 22px; font-size: 58px; font-weight: 800; letter-spacing: -0.05em; line-height: .9; color: rgba(255, 255, 255, .8); }
.pcard .meta { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); border-radius: var(--r-m); padding: 12px 16px; }
.pcard .meta b { display: block; font-size: 16px; }
.pcard .meta span { font-size: 13px; color: var(--text); }
.g1 { background: linear-gradient(160deg, #ffd6f3, #f3c4ff); } .g2 { background: linear-gradient(160deg, #e9d8ff, #c7a6ff); }
.g3 { background: linear-gradient(160deg, #ffc9e8, #ff9ad8); } .g4 { background: linear-gradient(160deg, #d9c9ff, #a685f2); }
.g5 { background: linear-gradient(160deg, #ffe0f1, #f7b8e6); } .g6 { background: linear-gradient(160deg, #efe4ff, #d6bfff); }

/* преимущества: фото в скруглённой карточке + 6 карточек, в общей сетке страницы */
.why-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .why-grid { grid-template-columns: .8fr 1.6fr; gap: 22px; } }
.why-photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-l); }
.why { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .why { grid-template-columns: 1fr 1fr; gap: 18px; } }
.why-card { background: #fff; border-radius: var(--r-m); padding: 22px 22px 20px; box-shadow: 0 14px 30px -24px rgba(52, 45, 101, .5); }
.why .n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lilac-2); color: var(--brand); font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.why h3 { margin-bottom: 6px; font-size: 17.5px; }
.why p { color: var(--text); font-size: 14.5px; margin: 0; }

/* цифры */
.numbers { background: #fff; padding: 64px 0; }
.num-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
@media (min-width: 900px) { .num-grid { grid-template-columns: repeat(4, 1fr); } }
.num strong { display: block; font-size: clamp(52px, 7.4vw, 110px); font-weight: 800; letter-spacing: -0.06em; line-height: .95; background: linear-gradient(120deg, var(--brand), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.num span { font-size: 15px; color: var(--text); }

/* тренеры */
.coaches { background: linear-gradient(180deg, #f6efff, #fff); }
.cgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .cgrid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.coach { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r-l); overflow: hidden; background: radial-gradient(120% 90% at 50% 100%, #c9a8f5, #efe2ff 70%); text-decoration: none; color: var(--ink); }
.coach img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.coach:hover img { transform: scale(1.04); }
.coach .name { position: absolute; left: 10px; right: 10px; bottom: 10px; background: #fff; border-radius: 18px; padding: 12px 14px; }
.coach .name b { display: block; font-size: 15px; color: var(--deep); line-height: 1.25; }
.coach .name > span { display: block; font-size: 12.5px; color: var(--text); line-height: 1.35; }
.coach .more { max-height: 0; overflow: hidden; transition: max-height .4s; color: var(--label) !important; }
.coach:hover .more, .coach:focus .more { max-height: 90px; margin-top: 4px; }

/* SOLO CUP — в стиле gymnastikacup.com: градиент, звёзды, волна, песочный акцент,
   Montserrat 800, маскот турнира Зайна растворяется в полосе справа */
.cupband { position: relative; overflow: hidden; color: #fff; padding: 88px 0; font-family: "Montserrat", var(--font);
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1px 1px at 28% 72%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1.5px 1.5px at 46% 30%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 58% 84%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1.5px 1.5px at 66% 12%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1px 1px at 8% 62%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 38% 48%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(120% 90% at 8% 0%, #7A18C9 0%, rgba(122, 24, 201, 0) 58%),
    radial-gradient(120% 90% at 96% 96%, #B21EC2 0%, rgba(178, 30, 194, 0) 55%),
    linear-gradient(150deg, #5C0AAD 0%, #43097F 55%, #2D0462 100%); }
@media (min-width: 900px) { .cupband { padding: 104px 0; } }
.cup-zayna { position: absolute; right: -2%; bottom: -12%; height: 124%; width: auto; max-width: none; pointer-events: none; }
@media (max-width: 1000px) { .cup-zayna { height: 96%; right: -12%; bottom: -6%; opacity: .5; } }
@media (max-width: 680px) { .cup-zayna { height: 70%; right: -24%; bottom: 0; opacity: .28; } }
.cup-wave { position: absolute; left: 30%; top: 20%; width: 45%; height: 55%; pointer-events: none; }
.cup-in { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.cup-logo { width: clamp(220px, 28vw, 360px); }
.cup-eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #F9E7B0; }
.cupband h2 { color: #fff; font-family: "Montserrat", var(--font); font-weight: 800; font-size: clamp(38px, 6vw, 76px); line-height: .98; letter-spacing: -0.03em; margin: 0; }
.cupband h2 em { font-style: normal; color: #F9E7B0; }
.cup-chips { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.cupband .chip { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 700; border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; background: none; }
.cupband .chip svg { width: 17px; height: 17px; fill: currentColor; }
.cupband .chip.sand { background: #F9E7B0; border-color: #F9E7B0; color: #3A2604; }
.cup-lead { color: #E6D7F6; font-size: 17px; max-width: 52ch; margin: 0; }
.cup-stats { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-wrap: wrap; gap: 18px 44px; }
.cup-stats b { display: block; font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.cup-stats li:first-child b { color: #F9E7B0; }
.cup-stats span { font-size: 13.5px; color: #DCCDF0; font-weight: 600; }
.btn-sand { background: #F9E7B0; color: #3A2604; font-family: "Montserrat", var(--font); font-weight: 700; }
.btn-sand:hover { background: #FFF3CE; color: #3A2604; }
.cupband .btn-line-light { font-family: "Montserrat", var(--font); font-weight: 700; }

/* центры: списки + карта */
.locmap { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .locmap { grid-template-columns: .85fr 1.15fr; gap: 32px; } }
.cities { display: grid; gap: 28px; }
.map-card { position: relative; background: #fff; border-radius: var(--r-l); padding: 10px; box-shadow: 0 30px 60px -36px rgba(72, 14, 179, .5); }
@media (min-width: 960px) { .map-card { position: sticky; top: 92px; } }
.map { height: 460px; border-radius: 24px; overflow: hidden; background: var(--lilac-2); z-index: 1; }
@media (max-width: 700px) { .map { height: 360px; } }
.map-tabs { position: absolute; z-index: 5; top: 22px; left: 22px; display: flex; gap: 6px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); padding: 5px; border-radius: 999px; box-shadow: 0 10px 24px -14px rgba(52, 45, 101, .6); }
.map-tabs button { font: 600 13px var(--font); border: 0; background: transparent; color: var(--deep); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.map-tabs button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.pin { cursor: pointer; padding: 0; width: 38px; height: 38px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: linear-gradient(135deg, #6a2ee0, var(--brand)); border: 3px solid #fff; box-shadow: 0 8px 18px -6px rgba(72, 14, 179, .7); display: grid; place-items: center; }
.pin span { transform: rotate(45deg); width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.pin.on { background: linear-gradient(135deg, #c8108a, var(--pink)); }
.pin.on span { background: #fff; }
.maplibregl-popup-content { border-radius: 18px !important; padding: 16px 18px !important; box-shadow: 0 20px 40px -20px rgba(52, 45, 101, .6) !important; font: 14px/1.45 var(--font); color: var(--ink); min-width: 230px; }
.maplibregl-popup-close-button { font-size: 20px; right: 6px; top: 4px; color: var(--text); }
.map-pop b { display: block; font-size: 16px; color: var(--deep); margin-bottom: 2px; }
.map-pop .addr { color: var(--text); font-size: 13px; margin: 0 0 12px; }
.map-pop .acts { display: grid; gap: 8px; }
.map-pop .acts a { display: block; text-align: center; padding: 9px 12px; border-radius: 999px; font-weight: 600; font-size: 13px; text-decoration: none; }
.map-pop .acts .t { background: linear-gradient(135deg, #6a2ee0, var(--brand)); color: #fff; }
.map-pop .acts .r { border: 1.5px solid var(--lilac); color: var(--deep); }
.city a.on { outline: 2px solid var(--brand); }
.city h3 { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--label); }
.city ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.city a { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 20px 22px; background: #fff; border-radius: var(--r-m); text-decoration: none; box-shadow: 0 14px 30px -24px rgba(52, 45, 101, .5); transition: transform .2s, box-shadow .2s; }
.city a:hover { transform: translateX(6px); box-shadow: 0 18px 34px -20px rgba(72, 14, 179, .5); }
.city b { color: var(--deep); font-size: 16.5px; }
.city span { color: var(--text); font-size: 13.5px; }
.city i { font-style: normal; color: var(--pink-text); font-weight: 600; }

/* отзывы */
.reviews { display: grid; gap: 18px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; background: #fff; border-radius: var(--r-l); padding: 28px; box-shadow: 0 18px 40px -30px rgba(52, 45, 101, .5); }
.review blockquote { margin: 0 0 18px; font-size: 15.5px; line-height: 1.6; }
.review blockquote::before { content: "“"; display: block; font-size: 64px; line-height: .5; margin: 14px 0 6px; color: var(--pink); font-weight: 700; }
.review figcaption { font-weight: 600; color: var(--deep); display: flex; align-items: center; gap: 10px; }
.review figcaption img { width: 36px; height: 36px; border-radius: 50%; }
.review figcaption small { display: block; font-weight: 400; color: var(--text); font-size: 12.5px; }
.review .stars { color: #f5b400; letter-spacing: 2px; font-size: 16px; margin-bottom: 8px; }
.review .g-link { display: inline-block; margin-top: 12px; font-size: 12.5px; color: var(--label); }
.review blockquote.clamp { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.g-summary { display: flex; align-items: center; gap: 14px; margin: -16px 0 28px; font-size: 15px; color: var(--text); }
.g-summary b { font-size: 34px; color: var(--deep); letter-spacing: -0.03em; }
.g-summary .stars { color: #f5b400; letter-spacing: 2px; }

/* FAQ и форма */
.faq-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.faq { display: grid; gap: 10px; margin-top: 24px; }
.faq-item { background: #fff; border-radius: var(--r-m); box-shadow: 0 12px 28px -24px rgba(52, 45, 101, .6); }
.faq-item summary { cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 600; color: var(--deep); position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--lilac-2); color: var(--pink-text); display: grid; place-items: center; font-size: 18px; }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 22px 18px; color: var(--text); }
.faq-a ul { margin: -6px 0 10px; }
.faq-more { margin-top: 18px; font-weight: 600; }
.form-card { background: #fff; border-radius: var(--r-l); padding: 26px; box-shadow: 0 40px 80px -40px rgba(72, 14, 179, .45); position: relative; }
@media (min-width: 760px) { .form-card { padding: 38px; } }
.form-card::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; background: linear-gradient(140deg, var(--pink), var(--lilac), var(--brand)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.form-head h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 8px; }
.form-head p { color: var(--text); }
.grid-2 { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--deep); margin-bottom: 6px; }
.req { color: var(--pink-text); }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--paper); border: 1.5px solid var(--lilac); border-radius: 14px; padding: 12px 14px; min-height: 50px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--lilac-2); background: #fff; }
.field [aria-invalid="true"] { border-color: #b0215f; }
.form-error { background: #fde8f1; color: #b0215f; border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.fine { font-size: 12.5px; color: var(--text); text-align: center; margin: 12px 0 0; }

/* FAQ + форма — акцентная фиолетовая полоса */
.faq-band { color: #fff; overflow: hidden;
  background: radial-gradient(50% 60% at 85% 20%, rgba(250, 65, 204, .45), transparent 65%),
              radial-gradient(60% 70% at 0% 100%, rgba(163, 111, 243, .35), transparent 70%),
              radial-gradient(120% 140% at 0% 0%, #5a1ec2 0%, #3a2b74 55%, #241c4d 100%); }
.faq-band > .wrap > div > h2 { color: #fff; }
.faq-band .form-head h2 { color: var(--deep); }
.faq-band .eyebrow { color: var(--yellow); }
.faq-band .faq-item { background: rgba(255, 255, 255, .96); }
.faq-band .faq-more a { color: #fff; }
.trial-facts { list-style: none; padding: 0; margin: 18px 0 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.trial-facts li { display: flex; align-items: baseline; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(224, 190, 255, .3); font-size: 13.5px; color: var(--lilac); }
.trial-facts b { color: var(--yellow); font-size: 18px; letter-spacing: -0.02em; }
.form-wrap { position: relative; }
.form-wrap::before { content: ""; position: absolute; inset: 24px -14px -14px 24px; border-radius: var(--r-l); background: linear-gradient(140deg, var(--pink), #b02aa8); opacity: .9; transform: rotate(2.5deg); }
.faq-band .form-card { box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .55); }
.faq-band .form-card::before { display: none; }
.form-girl { position: absolute; z-index: 2; right: -70px; top: -190px; height: 330px; width: auto; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .35)); pointer-events: none; }
@media (max-width: 959px) { .form-girl { display: none; } }
.faq-band .btn-pink { background: linear-gradient(135deg, var(--pink), #c8108a); color: #fff; box-shadow: 0 16px 30px -14px rgba(250, 65, 204, .8); }

/* спортивная гимнастика */
.artistic { background: #fff; }
.art-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .art-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.art-media img { border-radius: var(--r-l); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 15%; }
.artistic p { color: var(--text); max-width: 52ch; }

/* ── Подвал ────────────────────────────────────────────── */
.ftr { background: var(--night); color: #cbbdf0; padding: 56px 0 28px; font-size: 14.5px; }
.ftr a { color: #fff; text-decoration: none; } .ftr a:hover { color: var(--yellow); }
.ftr-top { display: grid; gap: 20px; align-items: center; padding-bottom: 40px; margin-bottom: 44px; border-bottom: 1px solid rgba(224, 190, 255, .16); }
@media (min-width: 900px) { .ftr-top { grid-template-columns: 1fr auto; } }
.ftr-title { font-size: clamp(26px, 3vw, 38px); font-weight: 700; color: #fff; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 6px; }
.ftr-sub { margin: 0; color: var(--lilac); }
.ftr-top .btn-wa { background: transparent; color: #fff; border-color: rgba(224, 190, 255, .4); }
.ftr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
@media (min-width: 1000px) { .ftr-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; } }
.ftr-brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
@media (min-width: 1000px) { .ftr-brand { grid-column: auto; } }
.ftr-brand img { width: 180px; margin-bottom: 12px; }
.ftr-phone { font-size: 18px; font-weight: 600; }
.fcol h3 { color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 14px; }
.fcol h3.mt { margin-top: 26px; }
.fcol ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.fcol li a { color: #e6dcff; } .fcol li a:hover { color: var(--yellow); }
.ftr-jobs { font-size: 13.5px; line-height: 1.5; margin: 0; }
.soc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.soc a { padding: 7px 14px; border: 1px solid rgba(224, 190, 255, .3); border-radius: 999px; font-size: 13px; }
.soc a:hover { border-color: var(--yellow); }
.ftr-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(224, 190, 255, .16); display: grid; gap: 8px; font-size: 12px; color: #a99bd3; }
@media (min-width: 900px) { .ftr-legal { grid-template-columns: auto 1fr; gap: 40px; } .ftr-legal p:last-child { text-align: right; } }
.ftr-legal p { margin: 0; }

/* ── Кнопки у большого пальца (телефон) ────────────────── */
.thumb { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); box-shadow: 0 -10px 30px -20px rgba(52, 45, 101, .5); }
.thumb .btn { min-height: 48px; padding: 10px 12px; }
@media (min-width: 900px) { .thumb { display: none; } }

/* ── Появление при прокрутке ───────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s, transform .9s; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .js .reveal { opacity: 1; transform: none; } }

/* ════════════════════════════════════════════════════════════════════
   ВНУТРЕННИЕ СТРАНИЦЫ (переведены на дизайн A 18.10.2026)
   Разметка — из build.py; здесь только оформление в языке главной.
   ════════════════════════════════════════════════════════════════════ */

/* общие элементы */
.section { padding: 64px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section.tint { background: linear-gradient(180deg, #f6efff, var(--paper)); }
.wrap.narrow { max-width: 860px; }
.section-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--text); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--text); max-width: 62ch; }
.meta { color: var(--text); font-size: 14px; }
.note { color: var(--text); font-size: 14px; }
.label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--label); margin: 22px 0 8px; }
.prose { font-size: 16.5px; line-height: 1.75; color: var(--ink); max-width: 68ch; }
.prose h2 { font-size: 26px; margin: 34px 0 12px; }
.prose ul { padding-left: 1.2em; } .prose li { margin-bottom: 6px; } .prose li::marker { color: var(--pink); }
.more { text-align: center; margin-top: 32px; }
.more.left { text-align: left; }
.link-more { font-weight: 600; text-decoration: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.btn-outline { border-color: var(--deep); color: var(--deep); background: transparent; }
.btn-outline:hover { background: var(--deep); color: #fff; }
.btn-ghost-light, .btn-ghost-dark, .btn-ghost { border-color: var(--lilac); color: var(--deep); background: #fff; }
.btn-ghost-light:hover, .btn-ghost-dark:hover, .btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.split { display: grid; gap: 36px; align-items: center; }
.split.top { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.reverse > :first-child { order: 2; } }
.split-media img { width: 100%; border-radius: var(--r-l); box-shadow: var(--shadow); }
.eyebrow.on-dark { color: var(--pink-text); }

/* первый экран внутренних страниц — светлый, как на главной */
.page-hero { position: relative; padding: 28px 0 56px; overflow: hidden;
  background: radial-gradient(45% 70% at 90% 20%, rgba(250, 65, 204, .22), transparent 70%),
              radial-gradient(50% 80% at 0% 100%, rgba(163, 111, 243, .22), transparent 70%),
              linear-gradient(180deg, #fff 0%, #f6efff 100%); }
@media (min-width: 900px) { .page-hero { padding: 36px 0 72px; } }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.04em; line-height: 1; margin: 14px 0 18px; }
.page-hero .lead { color: var(--text); }
.page-hero .split-media img { border-radius: 999px 999px var(--r-l) var(--r-l); aspect-ratio: 4 / 5; object-fit: cover; }
/* страница центра: кадр с фотосессии целиком, в своих пропорциях (горизонтальный или вертикальный) */
.page-hero .loc-media { text-align: center; }
.page-hero .loc-media img { aspect-ratio: auto; border-radius: var(--r-l); width: auto; max-width: 100%; max-height: 78vh; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--text); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--label); }
.crumbs a { color: var(--label); text-decoration: none; }
.crumbs a:hover { color: var(--pink-text); }
.toc { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-block; padding: 8px 15px; background: #fff; border-radius: 999px; text-decoration: none; font-size: 13.5px; font-weight: 600; color: var(--deep); box-shadow: 0 8px 20px -16px rgba(52, 45, 101, .6); }
.toc a:hover { color: #fff; background: var(--brand); }
.fig-note { font-size: 14px; color: var(--text); background: #fff; border-radius: var(--r-m); padding: 16px 18px; max-width: 70ch; box-shadow: 0 12px 28px -24px rgba(52, 45, 101, .6); }
.stats { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.stats strong { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; background: linear-gradient(120deg, var(--brand), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: 14px; color: var(--text); }
.mission { font-size: clamp(19px, 2vw, 24px); font-style: italic; font-weight: 300; color: var(--pink-text); line-height: 1.35; }

/* чипы групп и регалии */
.chips { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips.center { justify-content: center; }
.chip { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--lilac-2); color: var(--brand); }
.chips.small .chip { font-size: 11px; padding: 4px 10px; }
.creds { list-style: none; padding: 0; margin: 0 0 12px; font-size: 14px; color: var(--text); }
.creds li { position: relative; padding-left: 16px; margin-bottom: 5px; line-height: 1.45; }
.creds li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.creds.big { font-size: 16px; color: var(--ink); }
.coach-head { color: var(--pink-text); font-weight: 500; font-style: italic; font-size: 17px; margin: 0 0 10px; }

/* портреты-вырезки на градиенте */
img.cut { background: radial-gradient(120% 90% at 50% 100%, #c9a8f5, #efe2ff 70%); object-fit: cover; object-position: top; }

/* программы */
.programs { display: grid; gap: 22px; }
.prog { display: grid; background: #fff; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 24px 50px -36px rgba(52, 45, 101, .55); scroll-margin-top: 90px; }
.prog-media { background: linear-gradient(160deg, #ffd6f3, #e9d8ff); }
.prog:nth-child(even) .prog-media { background: linear-gradient(160deg, #e9d8ff, #c7a6ff); }
.prog-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.prog-body { padding: 26px; }
@media (min-width: 760px) { .prog { grid-template-columns: 320px 1fr; } .prog.no-photo { grid-template-columns: 1fr; } .prog-media img { aspect-ratio: auto; min-height: 100%; } .prog-body { padding: 36px; } }
.prog-body h2 { font-size: 26px; margin-bottom: 8px; }
.prog-meta { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; color: var(--brand); font-size: 14.5px; }
.ticks { padding-left: 1.2em; } .ticks li::marker { color: var(--pink); }
.price-card { background: #fff; border-radius: var(--r-l); padding: 28px; box-shadow: 0 30px 60px -40px rgba(72, 14, 179, .5); }
.price-trial { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--lilac-2); }
.price-trial strong { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(120deg, var(--brand), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; }
.price-table th, .price-table td { padding: 14px 0; border-bottom: 1px solid var(--lilac-2); text-align: left; vertical-align: baseline; }
.price-table th { font-weight: 500; }
.price-table td { text-align: right; font-size: 19px; font-weight: 700; color: var(--brand); }
.price-table td span { display: block; font-size: 12px; font-weight: 500; color: var(--text); }

/* тренеры: общий список */
.coach-group { margin-bottom: 52px; }
.coach-group > h2 { font-size: clamp(26px, 3vw, 36px); }
.coach-group > h2 a { color: var(--deep); text-decoration: none; }
.coach-tiles { display: grid; gap: 20px; }
@media (min-width: 900px) { .coach-tiles { grid-template-columns: 1fr 1fr; } }
.coach-tile { display: grid; grid-template-columns: 130px 1fr; gap: 18px; background: #fff; border-radius: var(--r-l); padding: 16px; box-shadow: 0 20px 44px -34px rgba(52, 45, 101, .6); }
@media (min-width: 560px) { .coach-tile { grid-template-columns: 180px 1fr; gap: 24px; padding: 20px; } }
.coach-tile-photo img { width: 100%; aspect-ratio: 3 / 4; border-radius: 22px; }
.coach-tile h3 { margin-bottom: 4px; font-size: 20px; }
.coach-tile h3 a { color: var(--deep); text-decoration: none; }
.coach-tile .coach-head { font-size: 15px; }
/* карточки тренеров (страница центра, «тренеры этого центра») */
.coach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .coach-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.coach-card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r-l); overflow: hidden; text-decoration: none; color: var(--ink); }
.coach-card img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .5s; }
.coach-card:hover img { transform: scale(1.04); }
.coach-card .coach-name, .coach-card .coach-sub { position: relative; z-index: 1; }
.coach-card::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 10px; height: 74px; background: #fff; border-radius: 18px; }
.coach-card .coach-name { position: absolute; left: 24px; right: 24px; bottom: 44px; z-index: 2; font-weight: 700; font-size: 15px; color: var(--deep); line-height: 1.2; }
.coach-card .coach-sub { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 2; font-size: 12px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* тренер: личная страница */
.coach-hero { padding: 28px 0 56px; overflow: hidden;
  background: radial-gradient(45% 70% at 90% 20%, rgba(250, 65, 204, .22), transparent 70%), linear-gradient(180deg, #fff 0%, #f6efff 100%); }
.coach-hero h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.04em; margin: 14px 0 8px; }
.coach-hero-grid { display: grid; gap: 32px; margin-top: 18px; align-items: center; }
@media (min-width: 860px) { .coach-hero-grid { grid-template-columns: 400px 1fr; gap: 56px; } }
.coach-hero-photo img { width: 100%; max-width: 400px; aspect-ratio: 3 / 4; border-radius: 999px 999px var(--r-l) var(--r-l); box-shadow: 0 40px 80px -40px rgba(72, 14, 179, .55); }
.coach-hero .label { color: var(--label); }
.centre-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.centre-links a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--deep); box-shadow: 0 8px 20px -16px rgba(52, 45, 101, .6); }
.insta a { font-weight: 600; }
.coach-body { font-size: 16.5px; }
.quote { margin: 26px 0; padding: 24px 26px; background: #fff; border-radius: var(--r-m); font-size: 20px; font-style: italic; font-weight: 300; color: var(--deep); line-height: 1.45; box-shadow: 0 16px 34px -28px rgba(52, 45, 101, .6); }
.form-card.compact { position: sticky; top: 92px; }

/* центры */
.city-title { margin: 8px 0 18px; font-size: clamp(26px, 3vw, 36px); }
.loc-grid { display: grid; gap: 22px; margin-bottom: 40px; }
@media (min-width: 760px) { .loc-grid { grid-template-columns: repeat(3, 1fr); } }
.loc-card { background: #fff; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 24px 50px -36px rgba(52, 45, 101, .55); }
.loc-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.loc-card .card-body { padding: 20px 22px 24px; }
.loc-card h3 a { color: var(--deep); text-decoration: none; }
.facts { display: grid; gap: 12px; margin: 22px 0; }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.facts dt { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--label); padding-top: 4px; }
.facts dd { margin: 0; }
.facts.card { background: #fff; border-radius: var(--r-l); padding: 24px; box-shadow: 0 20px 44px -34px rgba(52, 45, 101, .6); }

/* достижения */
.year { margin-bottom: 52px; }
.year > h2 { font-size: clamp(48px, 6vw, 80px); font-weight: 800; letter-spacing: -0.05em; background: linear-gradient(120deg, var(--brand), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tourn-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .tourn-grid { grid-template-columns: 1fr 1fr; } }
.tourn { background: #fff; border-radius: var(--r-l); padding: 26px; box-shadow: 0 24px 50px -38px rgba(52, 45, 101, .55); }
.tourn h3 { font-size: 20px; margin-bottom: 4px; }
.results { list-style: none; padding: 0; margin: 14px 0 0; font-size: 14.5px; }
.results li { position: relative; padding: 9px 0 9px 22px; border-top: 1px solid var(--lilac-2); line-height: 1.45; }
.results strong { color: var(--deep); font-weight: 600; }
.dot { position: absolute; left: 0; top: 15px; width: 11px; height: 11px; border-radius: 50%; background: var(--lilac); }
.dot.gold { background: radial-gradient(circle at 30% 30%, #fff6b0, #e2b33c); } .dot.silver { background: radial-gradient(circle at 30% 30%, #fff, #a9a9bd); } .dot.bronze { background: radial-gradient(circle at 30% 30%, #ffd9b8, #c98a5a); }
.more-results summary { cursor: pointer; font-weight: 600; color: var(--brand); padding-top: 12px; }
.tourn:has(.more-results[open]) .results.preview { display: none; }

/* события */
.events { display: grid; gap: 22px; }
@media (min-width: 900px) { .events { grid-template-columns: 1fr 1fr; } }
.event { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 24px 50px -36px rgba(52, 45, 101, .55); scroll-margin-top: 90px; }
.event-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.event .card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.event .card-body .btn { margin-top: auto; }
.event h2 { font-size: 23px; }
.event-date { font-weight: 700; color: var(--pink-text); margin-bottom: 6px; }
.event.no-photo { background: linear-gradient(160deg, #fff, #f6efff); }
.event.past { opacity: .7; }
.badge { font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--lilac-2); color: var(--label); margin-bottom: 8px; }

/* контакты */
.contact-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: #fff; border-radius: var(--r-l); padding: 26px; box-shadow: 0 24px 50px -36px rgba(52, 45, 101, .55); }
.contact-card h2 { font-size: 21px; }
.contact-card h2 a { color: var(--deep); text-decoration: none; }
.contact-card dl { margin: 0 0 18px; font-size: 14.5px; }
.contact-card dt { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--label); margin-top: 12px; }
.contact-card dd { margin: 3px 0 0; }
.social { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social.inline a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; font-size: 13.5px; color: var(--deep); box-shadow: 0 8px 20px -16px rgba(52, 45, 101, .6); }
.artistic-note { font-size: 14px; color: var(--text); margin-top: 16px; }

/* о клубе */
.side { display: grid; gap: 22px; }
.founder-card { display: grid; gap: 4px; text-decoration: none; color: var(--ink); background: #fff; border-radius: var(--r-l); padding: 16px 16px 22px; box-shadow: 0 24px 50px -36px rgba(52, 45, 101, .55); }
.founder-card img { width: 100%; aspect-ratio: 3 / 4; border-radius: 22px; margin-bottom: 10px; }
.founder-card .label { margin: 0; }
.founder-card strong { color: var(--deep); font-size: 19px; }
.founder-card span:last-child { font-size: 14px; color: var(--text); }

/* запись на пробное */
.trial-hero .form-card { margin-top: 8px; }
.trial-photo img { border-radius: 999px 999px var(--r-l) var(--r-l); margin-top: 24px; width: 100%; max-height: 520px; object-fit: cover; box-shadow: var(--shadow); }
@media (max-width: 899px) { .trial-photo { display: none; } }
/* формы на светлых страницах — с градиентной рамкой, как на главной */
.section .form-card, .page-hero .form-card { box-shadow: 0 40px 80px -40px rgba(72, 14, 179, .45); }
/* программы без фото — тремя карточками в ряд */
.programs-row { display: grid; gap: 22px; }
@media (min-width: 900px) { .programs-row { grid-template-columns: repeat(3, 1fr); } .programs-row .prog-body { padding: 30px; } }
.programs-row .prog { align-content: start; }
.programs-row .prog-body { display: flex; flex-direction: column; height: 100%; }
.programs-row .prog-body .btn { margin-top: auto; align-self: flex-start; }
/* «Достижения»: медалистка в первом экране и полоса фото с медалями (фотосессия 09.2026) */
.ach-hero .wrap { display: grid; gap: 8px; align-items: end; }
.ach-hero-cut { display: flex; justify-content: center; }
.ach-hero-cut img { width: min(62vw, 300px); height: auto; filter: drop-shadow(0 30px 40px rgba(72, 14, 179, .25)); }
@media (min-width: 900px) {
  .ach-hero { padding-bottom: 0; }
  .ach-hero .wrap { grid-template-columns: 1.25fr 1fr; gap: 40px; }
  .ach-hero-text { padding-bottom: 72px; }
  .ach-hero-cut img { width: 100%; max-width: 380px; margin-bottom: -2px; }
}
.ach-gallery { padding: 32px 0 0; }
.ach-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .ach-strip { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.ach-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-l); box-shadow: 0 24px 50px -36px rgba(52, 45, 101, .55); }
.ach-strip img:nth-child(odd) { border-radius: 999px 999px var(--r-l) var(--r-l); }
/* «События»: обложки в стиле сайта (события кубка — с gymnastikacup.com, см. cupevents.py) */
.evs { display: grid; gap: 28px; }
.ev { display: grid; background: #fff; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 24px 50px -36px rgba(52, 45, 101, .55); scroll-margin-top: 90px; }
.ev-pic { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #ff8fd6 0%, rgba(255, 143, 214, 0) 55%), linear-gradient(150deg, #5b2bd8 0%, #342d65 100%); }
.ev-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s; }
.ev-pic:hover img { transform: scale(1.04); }
.ev-body { padding: 26px 28px 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ev-body p { margin: 0; }
.ev-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ev-when { display: inline-block; background: var(--deep); color: #fff; font-weight: 700; font-size: 13.5px; padding: 6px 14px; border-radius: 999px; }
.ev-src { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--pink-text); }
.ev-body h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.08; letter-spacing: -0.02em; margin: 2px 0 0; }
.ev-body h2 a { color: var(--deep); text-decoration: none; }
.ev-body h2 a:hover { color: var(--brand); }
.ev-place { color: var(--brand); font-weight: 600; font-size: 15px; }
.ev-body .btn { margin-top: 8px; }
.ev.past { opacity: .7; }
@media (min-width: 900px) {
  .ev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .ev-pic { aspect-ratio: auto; min-height: 340px; }
  .ev-body { padding: 40px 44px; justify-content: center; }
  .ev:nth-child(even) .ev-pic { order: 2; }
}
/* Карусель фото тренера (content/gallery.py) */
.gal-section { padding-top: 48px; padding-bottom: 8px; }
.gal-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.gal-head h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); }
.gal-nav { display: flex; gap: 10px; }
.gal-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line, #e4dcf5); background: #fff; color: var(--deep); font-size: 18px; cursor: pointer; transition: background .2s, color .2s; }
.gal-btn:hover { background: var(--deep); color: #fff; }
.gal-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-item { flex: 0 0 auto; margin: 0; scroll-snap-align: start; }
.gal-item img { height: clamp(300px, 46vw, 460px); width: auto; max-width: 86vw; object-fit: cover; border-radius: var(--r-l); display: block; box-shadow: 0 24px 50px -36px rgba(52, 45, 101, .55); }
/* «О клубе»: команда на всю ширину, коллаж с Анастасией, видео */
.about-hero-text { display: grid; gap: 8px 48px; align-items: end; }
@media (min-width: 900px) { .about-hero-text { grid-template-columns: 1fr 1fr; } }
.about-team { margin-top: 28px; }
.about-team img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r-l); box-shadow: 0 40px 80px -50px rgba(72, 14, 179, .5); }
.about-founder { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .about-founder { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.about-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-l); }
.about-collage .c1 { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.about-collage .c2 { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-l) var(--r-l); }
.about-collage .c3 { aspect-ratio: 4 / 5; }
.about-founder h2 { margin-top: 4px; }
/* YouTube: обложка, плеер грузится по клику */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-l); overflow: hidden; background: #1c1440; box-shadow: 0 40px 80px -50px rgba(72, 14, 179, .6); }
.yt iframe, .yt-play, .yt-play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { padding: 0; cursor: pointer; background: none; }
.yt-play img { object-fit: cover; }
.yt-icon { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: linear-gradient(135deg, #7b3cf0, #ff5fc4); box-shadow: 0 20px 40px -10px rgba(72, 14, 179, .6); transition: transform .3s; }
.yt-icon::after { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.yt-play:hover .yt-icon { transform: scale(1.08); }
.yt-row { display: grid; gap: 20px; margin-top: 26px; }
@media (min-width: 760px) { .yt-row { grid-template-columns: repeat(3, 1fr); } }
.yt-item { margin: 0; }
.yt-item .yt-icon { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
.yt-item .yt-icon::after { left: 23px; top: 17px; border-width: 12px 0 12px 19px; }
.yt-short { aspect-ratio: 9 / 16; }
.rev-shorts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
@media (min-width: 900px) {
  .rev-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .rev-shorts { position: sticky; top: 100px; margin-bottom: 0; }
  .rev-layout .reviews { grid-template-columns: 1fr; }
}
.rev-layout .review { padding-top: 22px; padding-bottom: 22px; }
.yt-item figcaption { margin-top: 10px; font-weight: 600; font-size: 15px; color: var(--deep); }
.about-video .section-head p { max-width: 640px; }
/* «Что такое художественная гимнастика» (content/rg.py) */
.rg-hero .split-media img { border-radius: 999px 999px var(--r-l) var(--r-l); }
.rg-sub { margin-top: 56px; }
.rg-facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.rg-facts li { background: #fff; border-radius: var(--r-l); padding: 20px; box-shadow: 0 24px 50px -40px rgba(52, 45, 101, .5); }
.rg-facts strong { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(120deg, #5b2bd8, #ff5fc4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rg-facts span { font-size: 14.5px; color: var(--text); }
.rg-apps { display: grid; gap: 22px; }
@media (min-width: 760px) { .rg-apps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .rg-apps { grid-template-columns: repeat(3, 1fr); } }
.rg-app { background: #fff; border-radius: var(--r-l); padding: 14px 14px 22px; box-shadow: 0 24px 50px -36px rgba(52, 45, 101, .55); }
.rg-app h3 { font-size: 22px; margin: 16px 8px 6px; }
.rg-app p { margin: 0 8px 8px; }
.rg-cap { font-size: 13.5px; color: var(--brand); font-weight: 600; margin-top: 10px; }
.rg-app .yt-icon, .yt-sm .yt-icon { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
.rg-app .yt-icon::after, .yt-sm .yt-icon::after { left: 23px; top: 17px; border-width: 12px 0 12px 19px; }
.rg-judge { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.rg-judge li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--r-l); padding: 18px 20px; box-shadow: 0 24px 50px -40px rgba(52, 45, 101, .5); }
.rg-judge h3 { font-size: 18px; margin: 2px 0 4px; }
.rg-judge p { margin: 0; font-size: 15px; }
.rg-letter { flex: 0 0 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; color: #fff; background: linear-gradient(135deg, #5b2bd8, #ff5fc4); }
.rg-formula { margin-top: 18px; font-weight: 800; font-size: 20px; color: var(--deep); }
.rg-photos { padding-top: 0; padding-bottom: 0; }
.rg-history { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; position: relative; }
.rg-history li { display: grid; grid-template-columns: 90px 1fr; gap: 18px; align-items: start; }
@media (min-width: 900px) { .rg-history li { grid-template-columns: 120px 1fr; } .rg-history li > div { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; } }
.rg-history p { margin: 4px 0 0; }
.rg-year { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--brand); }
.rg-history .yt { margin-top: 10px; }
.rg-history li { padding: 14px 16px; border-radius: 18px; }
.rg-history li.uae { background: linear-gradient(90deg, rgba(255, 95, 196, .10), rgba(91, 43, 216, .06)); }
.rg-year small { display: block; width: max-content; margin-top: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .08em; color: #fff; background: linear-gradient(135deg, #5b2bd8, #ff5fc4); }
@media (min-width: 900px) { .rg-history .yt { margin-top: 0; } }
.rg-then { max-width: 900px; margin: 0 auto; }
.rg-then-sec { background: linear-gradient(160deg, var(--night), var(--deep)); color: #fff; }
.rg-then-sec h2 { color: #fff; }
.rg-then-sec .label { color: #ff8fd8; }
.rg-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; padding: 22px 26px; border-radius: var(--r-l); background: #fff; box-shadow: 0 24px 50px -36px rgba(52, 45, 101, .55); }
.rg-logos img { height: 56px; width: auto; }
.yt-app { aspect-ratio: 4 / 3; }
.rg-benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.rg-benefits li { background: #fff; border-radius: var(--r-l); padding: 22px 24px; box-shadow: 0 24px 50px -40px rgba(52, 45, 101, .5); }
.rg-benefits h3 { font-size: 19px; margin: 0 0 6px; }
.rg-benefits p { margin: 0; }
.rg-steps { display: grid; gap: 16px; }
@media (min-width: 760px) { .rg-steps { grid-template-columns: repeat(3, 1fr); } }
.rg-step { display: block; padding: 24px; border-radius: var(--r-l); text-decoration: none; color: var(--deep); background: linear-gradient(150deg, #ffe3f6, #ece0ff); transition: transform .3s; }
.rg-step:hover { transform: translateY(-4px); color: var(--deep); }
.rg-step strong { display: block; font-size: 24px; margin-bottom: 6px; }
.rg-step span { color: var(--text); }
.rg-band-wrap { padding-top: 0; }
.rg-band { display: block; padding: 34px 36px; border-radius: var(--r-l); text-decoration: none; color: #fff; background: radial-gradient(120% 120% at 90% 0%, #ff8fd6 0%, rgba(255, 143, 214, 0) 50%), linear-gradient(140deg, #5b2bd8, #342d65); box-shadow: 0 40px 80px -50px rgba(72, 14, 179, .7); }
.rg-band .label { color: #ffd1f0; }
.rg-band strong { display: block; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.03em; margin: 6px 0 8px; }
.rg-band span:last-child { color: rgba(255, 255, 255, .85); }
.rg-band:hover { color: #fff; }

/* ── Блог (/blog/) ───────────────────────────────────────────────── */
.post-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .3s; }
.post-card:hover { transform: translateY(-4px); color: var(--ink); }
.post-card-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 759px) { .post-card-img { aspect-ratio: 4 / 3; } }  /* на телефоне кадр чуть выше — лица и руки не срезаются */
.post-card .post-meta { margin: 18px 22px 0; }
.post-card h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; margin: 8px 22px 8px; color: var(--deep); }
.post-card p { margin: 0 22px; color: var(--text); font-size: 15px; }
.post-more { margin: auto 22px 22px; padding-top: 16px; font-weight: 600; color: var(--brand); }
.post-meta { font-size: 13px; color: var(--label); font-weight: 500; }
.post-hero h1 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; }
.post-layout { display: grid; gap: 28px; }
@media (min-width: 1000px) { .post-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; } }
.post-toc { background: var(--lilac-2); border-radius: var(--r-m); padding: 6px 22px 18px; }
.post-toc ol { margin: 0; padding-left: 1.2em; font-size: 14px; line-height: 1.45; }
.post-toc li { margin-bottom: 8px; } .post-toc li::marker { color: var(--label); }
.post-toc a { color: var(--deep); text-decoration: none; } .post-toc a:hover { color: var(--pink-text); }
@media (min-width: 1000px) { .post-toc { position: sticky; top: 96px; } }
.post-text h2 { scroll-margin-top: 96px; }
.post-text > p:first-child { margin-top: 0; }
.post-tip { background: var(--white); border-left: 4px solid var(--pink); border-radius: var(--r-s); padding: 14px 18px; box-shadow: var(--shadow); }
.post-fig { margin: 28px 0; }
.post-fig img { width: 100%; border-radius: var(--r-m); }
.post-fig figcaption { font-size: 13px; color: var(--text); margin-top: 8px; }
.post-note { font-size: 14px; color: var(--text); border-top: 1px solid var(--lilac); padding-top: 18px; margin-top: 36px; }
.post-sources h2 { font-size: 18px; margin-top: 18px; }
.post-sources ul { font-size: 14px; }
.post-cta { margin-top: 40px; padding: 28px; border-radius: var(--r-l); background: linear-gradient(140deg, #f6efff, #ffe9f8); }
.post-cta h2 { margin: 0 0 6px; }
.post-cta .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
/* иллюстрации в статьях: тарелка, пример дня, карточки */
.post-plate { margin: 28px 0; padding: 24px; background: var(--white); border-radius: var(--r-l); box-shadow: var(--shadow); display: grid; gap: 20px; align-items: center; }
@media (min-width: 640px) { .post-plate { grid-template-columns: minmax(200px, 280px) 1fr; } }
.post-plate svg { width: 100%; max-width: 300px; margin: 0 auto; display: block; }
.post-plate .label { margin-top: 0; }
.post-plate ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.post-plate li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.post-plate i { flex: 0 0 18px; height: 18px; border-radius: 50%; margin-top: 4px; box-shadow: inset 0 0 0 1.5px rgba(72, 14, 179, .25); }
.post-plate strong { display: block; color: var(--deep); font-size: 15.5px; }
.post-plate span { display: block; color: var(--text); font-size: 14px; line-height: 1.45; }
.post-day { margin: 24px 0; padding: 22px 24px; background: linear-gradient(140deg, #f6efff, #fff4fb); border-radius: var(--r-l); }
.post-day .label { margin-top: 0; }
.post-day ol { list-style: none; padding: 0; margin: 0; }
.post-day li { position: relative; display: grid; grid-template-columns: 56px 44px 1fr; gap: 10px; align-items: center; padding: 10px 0; margin: 0; }
.post-day li + li { border-top: 1px dashed var(--lilac); }
.post-day time { font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; font-size: 15px; }
.post-day .ico, .post-cards .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); font-size: 22px; box-shadow: 0 8px 18px -12px rgba(72, 14, 179, .6); }
.post-day strong { display: block; color: var(--deep); font-size: 15px; line-height: 1.3; }
.post-day div span { display: block; color: var(--text); font-size: 14px; line-height: 1.45; }
.post-day figcaption { font-size: 13px; color: var(--text); margin-top: 10px; }
.prose .post-cards { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.prose .post-cards li { margin: 0; padding: 16px; background: var(--white); border-radius: var(--r-m); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.post-cards .ico { background: var(--lilac-2); box-shadow: none; margin-bottom: 4px; }
.post-cards strong { color: var(--deep); font-size: 15px; line-height: 1.3; }
.post-cards li > span:not(.ico) { color: var(--text); font-size: 13.5px; line-height: 1.45; }
/* 8 пунктов меню (с «Блогом») на узком десктопе: плотнее, чтобы кнопка записи не уезжала */
@media (min-width: 1080px) and (max-width: 1279px) {
  .brand img { width: 140px; }
  .nav-d { margin-left: 4px; }
  .nav-d a { padding: 8px 7px; font-size: 13.5px; }
  .hdr-cta { padding-left: 16px; padding-right: 16px; }
}
/* форма клуба (/uniform/): больше картинок, меньше текста */
.uni-chips { list-style: none; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.uni-chips li { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--white); color: var(--brand); box-shadow: 0 8px 20px -16px rgba(52, 45, 101, .7); }
.uni-chips li:nth-child(4) { background: var(--brand); color: #fff; }
.uni-look-sec { padding-bottom: 40px; }
.uni-look-sec .section-head { margin-bottom: 20px; }
.uni-look { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 12px; scrollbar-width: none; max-width: 1240px; margin: 0 auto; }
.uni-look::-webkit-scrollbar { display: none; }
.uni-look a { flex: 0 0 auto; width: clamp(180px, 22vw, 240px); scroll-snap-align: start; position: relative; text-decoration: none; border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s; }
.uni-look a:hover { transform: translateY(-4px); }
.uni-look img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 15%; }
.uni-look span { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .94); color: var(--deep); font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; }
.uni-look span i { flex: 0 0 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1px var(--lilac-3); }
.uni-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -12px 0 28px; }
.uni-filter button { font: 600 14px/1 var(--font); padding: 11px 20px; border-radius: 999px; border: 2px solid var(--lilac); background: var(--white); color: var(--deep); cursor: pointer; }
.uni-filter button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.uni-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.uni-item { background: var(--white); border-radius: var(--r-l); overflow: hidden; box-shadow: 0 24px 50px -36px rgba(52, 45, 101, .55); display: flex; flex-direction: column; scroll-margin-top: 90px; }
.uni-item[hidden] { display: none; }
.uni-media { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: #fff; }
.uni-media::-webkit-scrollbar { display: none; }
.uni-media figure { flex: 0 0 100%; margin: 0; position: relative; scroll-snap-align: start; aspect-ratio: 3 / 4; }
.uni-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.uni-media figure.prod img { object-fit: contain; object-position: center; padding: 6%; }
.uni-media figure:only-child { aspect-ratio: 4 / 3.4; }
.uni-media figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .94); color: var(--deep); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; box-shadow: 0 0 0 1px var(--lilac-2); }
.uni-thumbs { display: flex; gap: 8px; padding: 12px 22px 0; }
.uni-thumbs button { flex: 0 0 48px; height: 60px; padding: 0; border: 2px solid var(--lilac-2); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; transition: border-color .2s; }
.uni-thumbs button[aria-current] { border-color: var(--brand); }
.uni-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.uni-body { padding: 16px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.uni-body h3 { font-size: 23px; margin-bottom: 6px; }
.uni-col { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.uni-col .sw { display: flex; }
.uni-col .sw i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--lilac-3); margin-right: -6px; }
.uni-col .sw i:last-child { margin-right: 0; }
.uni-short { font-size: 14px; color: var(--label); font-weight: 500; margin-bottom: 16px; }
.uni-body .btn { margin-top: auto; align-self: flex-start; }
.uni-why4 { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.uni-why4 li { background: linear-gradient(150deg, #f6efff, #fff4fb); border-radius: var(--r-l); padding: 26px 24px; font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--deep); }
.uni-why4 .ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); font-size: 28px; margin-bottom: 16px; box-shadow: 0 10px 22px -14px rgba(72, 14, 179, .6); }
.uni-more { text-align: center; margin: 26px 0 0; font-weight: 600; }
.uni-finder { background: var(--white); border-radius: var(--r-l); padding: 30px; box-shadow: var(--shadow); display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .uni-finder { grid-template-columns: 1.2fr 1fr; padding: 40px; } }
.uni-finder h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 8px; }
.uni-finder > div > p { color: var(--text); }
.uni-height { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 16px; margin-top: 10px; }
.uni-height span { grid-column: 1 / -1; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
.uni-height input { width: 100%; accent-color: var(--pink); height: 28px; }
.uni-height output { font-size: 28px; font-weight: 800; color: var(--deep); font-variant-numeric: tabular-nums; min-width: 2.6ch; text-align: right; }
.uni-result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.uni-result div { border-radius: var(--r-m); padding: 18px 16px; text-align: center; background: linear-gradient(140deg, #6a2ee0, var(--brand)); color: #fff; }
.uni-result div + div { background: linear-gradient(140deg, #ff6fd5, var(--pink-text)); }
.uni-result small { display: block; font-size: 12px; font-weight: 600; opacity: .85; }
.uni-result strong { display: block; font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.uni-note { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--text); }
.uni-chart { margin-top: 18px; }
.uni-chart summary { cursor: pointer; text-align: center; font-weight: 600; color: var(--brand); padding: 12px; list-style: none; }
.uni-chart summary::-webkit-details-marker { display: none; }
.uni-chart summary::after { content: " ↓"; }
.uni-chart[open] summary::after { content: " ↑"; }
.uni-sizes { display: grid; gap: 24px; margin-top: 10px; }
@media (min-width: 760px) { .uni-sizes { grid-template-columns: 1fr 1fr; } }
.uni-sizes h3 { font-size: 19px; }
.uni-table { overflow-x: auto; background: var(--white); border-radius: var(--r-m); box-shadow: var(--shadow); padding: 6px 14px 10px; }
.uni-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; }
.uni-table th { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--label); font-weight: 600; text-align: left; padding: 12px 6px; border-bottom: 2px solid var(--lilac-2); }
.uni-table td { padding: 8px 6px; border-bottom: 1px solid var(--lilac-2); white-space: nowrap; }
.uni-table tr:last-child td { border-bottom: 0; }
.uni-table td b { color: var(--brand); }
.uni-ways { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 14px; }
@media (min-width: 640px) { .uni-ways { grid-template-columns: 1fr 1fr; } }
.uni-ways li { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: var(--r-l); padding: 22px; box-shadow: var(--shadow); }
.uni-ways h3 { font-size: 20px; margin: 4px 0 4px; }
.uni-ways p { margin: 0; color: var(--text); font-size: 15px; }
.uni-n { flex: 0 0 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: #fff; font-weight: 800; }
.uni-care { text-align: center; font-size: 14px; color: var(--text); margin: 8px 0 0; }
.btn-row.center { justify-content: center; }
.uni-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 22px 22px 22px 36px; border-radius: var(--r-l); text-decoration: none; color: var(--ink); background: linear-gradient(140deg, #f1e2ff, #ffe9f8); box-shadow: 0 30px 60px -50px rgba(72, 14, 179, .6); }
.uni-band strong { display: block; font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -0.03em; color: var(--deep); margin: 4px 0 6px; line-height: 1.1; }
.uni-band-text > span:last-child { color: var(--text); }
.uni-band .label { margin: 0; }
.uni-band img { flex: 0 0 auto; width: 150px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-m); }
.uni-band:hover { color: var(--ink); }
@media (max-width: 559px) { .uni-band { padding: 22px; } .uni-band img { width: 96px; } }
@media (min-width: 1000px) { .uni-look { display: grid; grid-template-columns: repeat(7, 1fr); overflow: visible; padding: 0 var(--gutter) 12px; } .uni-look a { width: auto; } .uni-look span { font-size: 11.5px; padding: 6px 9px; } }
/* телефон: коллекция в две колонки, как в магазине — фото листаются пальцем */
@media (max-width: 599px) {
  .uni-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .uni-item { border-radius: var(--r-m); }
  .uni-thumbs, .uni-short, .uni-media figcaption { display: none; }
  .uni-media figure:only-child { aspect-ratio: 3 / 4; }
  .uni-body { padding: 10px 12px 14px; }
  .uni-body h3 { font-size: 15px; margin-bottom: 4px; }
  .uni-col { font-size: 12px; gap: 8px; margin-bottom: 10px; line-height: 1.3; }
  .uni-col .sw i { width: 14px; height: 14px; border-width: 1.5px; margin-right: -4px; }
  .uni-body .btn { min-height: 38px; padding: 8px 12px; font-size: 13px; align-self: stretch; }
  .uni-body .btn .ico { width: 18px; height: 18px; }
  .uni-look a { width: 150px; }
  .uni-look span { font-size: 11.5px; padding: 6px 9px; }
}
