/* ============================================================
   SwimWithSmile — Публичен сайт, вход/регистрация, „Отбор"
   Концепция: „Басейн на слънце" — дълбока вода горе, светли
   коридори надолу, въжета между коридорите като разделители.
   Мрежа: 4px · контейнер 1200px · странично поле 20–40px
   ============================================================ */

:root {
  --site-bg: #FBFDFF;
  --tint-bg: #F1F6FE;
  --gutter: clamp(20px, 5vw, 40px);
  --sec-y: clamp(88px, 11vw, 148px);
  --nav-h: 72px;
  --c-a: #1F73E0;   /* треньор 1 */
  --c-b: #12805a;   /* треньор 2 */
}
body.is-site { background: var(--site-bg); }
.container { width: 100%; max-width: calc(1200px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ============================================================
   Поява при скрол + разделяне на думи
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transition: opacity .9s var(--ease-out) var(--d, 0s), translate 1.1s var(--ease-out) var(--d, 0s), scale 1.1s var(--ease-out) var(--d, 0s);
}
[data-reveal="up"]    { translate: 0 28px; }
[data-reveal="left"]  { translate: -32px 0; }
[data-reveal="right"] { translate: 32px 0; }
[data-reveal="scale"] { scale: .94; }
[data-reveal="words"], [data-reveal="stagger"] { opacity: 1; }
[data-reveal].is-in { opacity: 1; translate: none; scale: none; }

.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .03em .16em; margin: -.08em -.03em -.16em; }
.sw-i { display: inline-block; translate: 0 112%; transition: translate 1.05s var(--ease-out) calc(var(--i) * 65ms + var(--d, 0s)); }
.is-in .sw-i { translate: none; }
.hl {
  background: linear-gradient(100deg, var(--brand) 0%, var(--aqua-2) 60%, var(--aqua) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .hl, .sec-deep .hl, .final .hl, .auth2-side .hl {
  background-image: linear-gradient(100deg, var(--aqua) 0%, #A8F0FF 45%, var(--sun) 100%);
}

/* ============================================================
   Атмосфера: лъчи, мехурчета, въже
   ============================================================ */
.rays { position: absolute; inset: -10% 0 auto; height: 110%; pointer-events: none; overflow: hidden; }
.rays i {
  position: absolute; top: -10%; width: 9%; height: 115%;
  background: linear-gradient(180deg, rgba(170,235,255,.20), rgba(170,235,255,.05) 55%, transparent 80%);
  transform: skewX(-16deg); filter: blur(8px); transform-origin: top;
  animation: sway 11s ease-in-out infinite alternate;
}
.rays i:nth-child(1) { left: 8%;  animation-delay: -2s; width: 7%; }
.rays i:nth-child(2) { left: 24%; animation-delay: -6s; width: 12%; opacity: .7; }
.rays i:nth-child(3) { left: 46%; animation-delay: -4s; width: 6%; }
.rays i:nth-child(4) { left: 63%; animation-delay: -9s; width: 10%; opacity: .6; }
.rays i:nth-child(5) { left: 82%; animation-delay: -1s; width: 8%; }
.rays-soft i { opacity: .55; }
@keyframes sway { 0% { transform: skewX(-20deg) scaleY(.95); opacity: .5; } 100% { transform: skewX(-10deg) scaleY(1.05); opacity: 1; } }

.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bubbles span {
  position: absolute; bottom: -24px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.75) 0 12%, rgba(255,255,255,.08) 55%, transparent 70%);
  animation: bubble var(--d) linear infinite var(--dl);
}
@keyframes bubble {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  10%  { opacity: .9; }
  50%  { transform: translate3d(14px, -60vh, 0); }
  100% { transform: translate3d(-6px, -125vh, 0); opacity: 0; }
}

/* въже между коридорите — „мъниста" в червено/бяло/синьо */
.lane-rope {
  height: 12px; border-radius: 99px; position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.65) 0 22%, transparent 45%, rgba(0,20,60,.22) 100%),
    repeating-linear-gradient(90deg, var(--coral) 0 18px, #fff 18px 36px, var(--aqua-2) 36px 54px, #fff 54px 72px);
  -webkit-mask: radial-gradient(ellipse 8.4px 6px at 9px 6px, #000 96%, transparent 100%) 0 0 / 18px 12px repeat-x;
          mask: radial-gradient(ellipse 8.4px 6px at 9px 6px, #000 96%, transparent 100%) 0 0 / 18px 12px repeat-x;
}

/* ============================================================
   Навигация на сайта
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none;
  background: linear-gradient(90deg, var(--aqua), var(--brand-light) 50%, var(--sun));
  transform: scaleX(var(--sp, 0)); transform-origin: 0 50%;
}
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--nav-h);
  padding-top: env(safe-area-inset-top);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-nav-in { height: var(--nav-h); max-width: calc(1200px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.site-nav .brand-name { color: #fff; transition: color .3s; }
.site-nav .brand-name span { color: var(--aqua); }
.site-links { display: flex; gap: 2px; margin: 0 auto; }
.site-links button {
  padding: 9px 15px; border-radius: var(--r-pill); font-weight: 700; font-size: .92rem;
  color: rgba(255,255,255,.76); transition: color .2s, background .2s;
}
.site-links button:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-links button.active { color: #fff; background: rgba(255,255,255,.12); }
.site-cta { display: flex; align-items: center; gap: 8px; }
.nav-login { padding: 9px 16px; font-weight: 700; font-size: .92rem; color: rgba(255,255,255,.88); border-radius: var(--r-pill); transition: color .2s, background .2s; }
.nav-login:hover { color: #fff; background: rgba(255,255,255,.08); }

body.is-scrolled:not(.menu-open) .site-nav {
  background: rgba(251,253,255,.78); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(10,42,107,.08), 0 10px 30px -18px rgba(10,42,107,.25);
}
body.is-scrolled:not(.menu-open) .site-nav .brand-name { color: var(--navy); }
body.is-scrolled:not(.menu-open) .site-nav .brand-name span { color: var(--brand-light); }
body.is-scrolled:not(.menu-open) .site-links button { color: var(--ink-2); }
body.is-scrolled:not(.menu-open) .site-links button:hover { color: var(--navy); background: var(--sky-50); }
body.is-scrolled:not(.menu-open) .site-links button.active { color: var(--navy); background: var(--sky-100); }
body.is-scrolled:not(.menu-open) .nav-login { color: var(--navy); }
body.is-scrolled:not(.menu-open) .nav-login:hover { background: var(--sky-50); }
body.is-scrolled:not(.menu-open) .burger span { background: var(--navy); }

.burger { display: none; width: 44px; height: 44px; border-radius: 14px; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2.4px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease-out), top .35s var(--ease-out), background .3s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 25px; right: 17px; }
body.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 21px; right: 11px; transform: rotate(-45deg); }

.menu-sheet {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 24px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: radial-gradient(120% 70% at 80% 0%, #0C3C8A, transparent 60%), linear-gradient(180deg, var(--deep), var(--abyss));
  visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s .35s;
}
body.menu-open .menu-sheet { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
.menu-sheet nav { display: flex; flex-direction: column; }
.menu-sheet nav button {
  display: flex; align-items: center; gap: 16px; padding: 16px 0; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 7vw, 2rem); letter-spacing: -.03em; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
  translate: 0 18px; opacity: 0; transition: translate .6s var(--ease-out), opacity .6s var(--ease-out);
  transition-delay: calc(var(--i) * 50ms + 80ms);
}
body.menu-open .menu-sheet nav button { translate: none; opacity: 1; }
.menu-sheet .lane-no { font-size: .72rem; }
.menu-cta { display: grid; gap: 10px; }

/* ============================================================
   Надзаглавие с номер на коридор
   ============================================================ */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.lane-no {
  font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .02em;
  padding: 5px 9px 4px; border-radius: 8px; background: var(--deep); color: var(--sun);
}
.eyebrow-dark { color: var(--aqua); }
.eyebrow-dark .lane-no { background: rgba(255,255,255,.1); }

.sec { position: relative; padding: var(--sec-y) 0; }
.sec-tint { background: var(--tint-bg); }
.sec-h {
  font-family: var(--font-display); font-weight: 700; color: var(--deep);
  font-size: clamp(1.85rem, 4.1vw, 3.25rem); line-height: 1.15; letter-spacing: -.035em; margin-top: 18px;
}
.sec-h-light { color: #fff; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.sec-lead { max-width: 46ch; color: var(--ink-2); font-size: 1.06rem; line-height: 1.68; margin-top: 20px; }
.sec-lead.light { color: rgba(255,255,255,.76); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  min-height: max(720px, 100svh);
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + clamp(28px, 6vh, 64px)) 0 clamp(120px, 14vw, 170px);
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 60% at 78% 8%, rgba(31,115,224,.55), transparent 62%),
    radial-gradient(60% 50% at 8% 30%, rgba(70,214,247,.14), transparent 60%),
    linear-gradient(180deg, #020B1F 0%, #04183F 48%, #08316E 100%);
}
.hero-glow { position: absolute; inset: 0; background: radial-gradient(520px circle at var(--mx, 72%) var(--my, 32%), rgba(70,214,247,.13), transparent 62%); transition: background .2s; }
.hero-water { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; }
.hero-in {
  width: 100%; max-width: calc(1200px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 600; letter-spacing: .01em; color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(255,197,61,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,197,61,0); } 100% { box-shadow: 0 0 0 0 rgba(255,197,61,0); } }
.hero-h {
  font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3.45rem); line-height: 1.16; letter-spacing: -.035em;
  margin-top: 28px; text-wrap: initial;
}
.hero-sub { margin-top: 28px; max-width: 46ch; font-size: clamp(1.02rem, 1.3vw, 1.16rem); line-height: 1.7; color: rgba(226,238,255,.78); text-wrap: pretty; }
.hero-sub b { font-weight: 700; color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-ctas.center { justify-content: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; list-style: none; font-size: .88rem; font-weight: 600; color: rgba(226,238,255,.72); }
.hero-proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--aqua); }

/* — 3D сцена — */
.hero-stage, .parent-stage { position: relative; perspective: 1500px; display: grid; place-items: center; min-height: 640px; }
.stage-3d {
  position: relative; transform-style: preserve-3d;
  transform:
    translateY(calc(var(--p, 0) * -36px))
    rotateX(calc(10deg + var(--rx, 0deg) - var(--p, 0) * 8deg))
    rotateY(calc(-24deg + var(--ry, 0deg) - var(--p, 0) * 22deg))
    rotateZ(3deg);
  transition: transform .9s var(--ease-out);
  will-change: transform;
}
.stage-3d.is-tilting { transition-duration: .25s; }
.stage-parent {
  transform:
    translateY(calc(var(--p, 0) * -30px))
    rotateX(calc(8deg + var(--rx, 0deg) - var(--p, 0) * 6deg))
    rotateY(calc(22deg + var(--ry, 0deg) + var(--p, 0) * 20deg))
    rotateZ(-3deg);
}

.phone {
  position: relative; width: 292px; height: 600px; border-radius: 48px; padding: 11px;
  background: linear-gradient(145deg, #243049, #080C17 60%);
  box-shadow:
    inset 0 0 0 1.5px #34405C, inset 0 0 0 4px #0B101C,
    0 70px 100px -40px rgba(0,0,0,.7), 0 30px 60px -25px rgba(3,20,60,.65);
  transform-style: preserve-3d;
}
.phone::before { /* страничен бутон */
  content: ""; position: absolute; right: -3px; top: 150px; width: 3px; height: 64px; border-radius: 0 3px 3px 0; background: #1B2436;
}
.phone-screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #F4F8FF; color: var(--ink);
  display: flex; flex-direction: column; gap: 9px; padding: 0 13px; font-family: var(--font-body);
}
.phone-glare {
  position: absolute; inset: 11px; border-radius: 38px; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.06) 28%, transparent 42%, transparent 78%, rgba(255,255,255,.08));
  mix-blend-mode: screen;
}

/* — съдържание на телефона (треньор) — */
.ph-status { position: relative; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 6px 12px 0; font-size: .7rem; font-weight: 800; }
.ph-isl { position: absolute; left: 50%; top: 9px; width: 84px; height: 24px; margin-left: -42px; border-radius: 20px; background: #05070D; }
.ph-sig { display: flex; align-items: flex-end; gap: 2px; }
.ph-sig i { width: 3px; border-radius: 1px; background: var(--ink); }
.ph-sig i:nth-child(1) { height: 5px; } .ph-sig i:nth-child(2) { height: 7px; } .ph-sig i:nth-child(3) { height: 9px; }
.ph-top { display: flex; align-items: flex-end; justify-content: space-between; padding: 2px 2px 0; }
.ph-top small { display: block; font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.ph-top strong { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.04em; color: var(--deep); }
.ph-add { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--deep); color: #fff; font-weight: 700; font-size: 1.1rem; }
.ph-dow, .ph-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.ph-dow i { font-style: normal; text-align: center; font-size: .52rem; font-weight: 800; text-transform: uppercase; color: var(--muted); }
.ph-cal i {
  font-style: normal; aspect-ratio: 1; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(10,42,107,.06);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: .6rem; font-weight: 700; color: var(--ink-2);
}
.ph-cal i.off { background: transparent; box-shadow: none; }
.ph-cal i.today { background: var(--brand); color: #fff; box-shadow: 0 6px 12px -4px rgba(31,115,224,.6); }
.ph-cal b { display: flex; gap: 2px; }
.ph-cal u { width: 4px; height: 4px; border-radius: 50%; }
.ph-cal .today u { background: #fff !important; }
.c-a { background: var(--c-a); } .c-b { background: var(--c-b); }
.ph-card { background: #fff; border-radius: 16px; padding: 10px 12px; box-shadow: 0 6px 16px -8px rgba(10,42,107,.25); border-left: 4px solid var(--c-b); }
.ph-card-h { display: flex; align-items: center; justify-content: space-between; }
.ph-time { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--deep); letter-spacing: -.03em; }
.ph-pill { font-size: .6rem; font-weight: 800; color: #fff; padding: 3px 8px; border-radius: 99px; }
.ph-card-t { font-size: .66rem; font-weight: 700; color: var(--muted); margin-top: 2px; }
.ph-avs { display: flex; align-items: center; margin-top: 8px; padding-left: 6px; }
.ph-avs span { width: 24px; height: 24px; margin-left: -6px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-size: .58rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--aqua), var(--brand)); }
.ph-avs span:nth-child(2) { background: linear-gradient(135deg, #FFC53D, #F5883C); }
.ph-avs span:nth-child(3) { background: linear-gradient(135deg, #8B5CF6, #EC4899); }
.ph-avs span:nth-child(4) { background: linear-gradient(135deg, #2FBF71, #12805a); }
.ph-avs em { font-style: normal; font-size: .62rem; font-weight: 800; color: var(--muted); margin-left: 6px; }
.ph-row { display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 14px; padding: 8px 10px; box-shadow: 0 1px 2px rgba(10,42,107,.06); }
.ph-row b { display: block; font-size: .72rem; }
.ph-row small { display: block; font-size: .62rem; color: var(--muted); font-weight: 600; }
.ph-ok { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(135deg, #34D07F, #12805a); color: #fff; }
.ph-ok svg { width: 12px; height: 12px; }
.ph-tabbar { margin-top: auto; margin-bottom: 12px; display: flex; justify-content: space-around; background: #fff; border-radius: 18px; padding: 7px; box-shadow: 0 6px 16px -8px rgba(10,42,107,.2); }
.ph-tabbar i, .mini-tabbar i { display: grid; place-items: center; width: 38px; height: 32px; border-radius: 10px; color: var(--muted); }
.ph-tabbar i.on, .mini-tabbar i.on { color: var(--brand); background: var(--sky-50); }
.ph-tabbar svg { width: 18px; height: 18px; }

/* — плаващи карти около телефона — */
.float-card {
  position: absolute; display: flex; align-items: center; gap: 11px; padding: 11px 15px 11px 11px; border-radius: 18px;
  background: rgba(255,255,255,.94); color: var(--ink); white-space: nowrap;
  box-shadow: 0 24px 40px -18px rgba(0,10,40,.55), 0 0 0 1px rgba(255,255,255,.6) inset;
  animation: bob 6s ease-in-out infinite;
}
.float-card small { display: block; font-size: .68rem; font-weight: 700; color: var(--muted); }
.float-card b { display: block; font-size: .84rem; font-weight: 800; color: var(--deep); }
.fc-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.fc-ico.gold { background: linear-gradient(135deg, #FFF2CC, #FFD466); }
.fc-av { width: 36px; height: 36px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .88rem; }
.fc-ach  { top: 5%;  left: -48%; transform: translateZ(90px); }
.fc-note { top: 47%; right: -62%; transform: translateZ(130px); animation-delay: -2s; }
.fc-prog { bottom: 9%; left: -40%; transform: translateZ(70px); animation-delay: -4s; display: block; width: 176px; padding: 13px 15px; }
.fc-prog-h { display: flex; align-items: center; justify-content: space-between; }
.fc-prog b { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.04em; margin: 2px 0 8px; }
.fc-track { height: 7px; border-radius: 99px; background: var(--sky-100); overflow: hidden; }
.fc-track i { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--aqua), var(--brand)); }
.trend-chip { display: inline-flex; align-items: center; gap: 2px; font-size: .7rem; font-weight: 800; color: #1B7A47; background: #D9F7E6; padding: 2px 7px 2px 5px; border-radius: 99px; }
.trend-chip svg { width: 11px; height: 11px; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.scroll-cue { position: absolute; left: 50%; bottom: clamp(70px, 9vw, 110px); translate: -50% 0; width: 28px; height: 44px; border-radius: 16px; border: 2px solid rgba(255,255,255,.35); z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease-out) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(60px, 9vw, 130px); z-index: 1; }
.hero-wave .w1 { fill: rgba(251,253,255,.16); animation: waveShift 12s ease-in-out infinite alternate; }
.hero-wave .w2 { fill: var(--site-bg); }
@keyframes waveShift { to { transform: translateX(-3%); } }

/* ============================================================
   Бягаща лента
   ============================================================ */
.marquee { position: relative; overflow: hidden; padding: 22px 0 26px; background: var(--site-bg); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; align-items: center; flex-shrink: 0; }
.marquee-row span { font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.3rem); letter-spacing: -.03em; color: var(--deep); padding: 0 22px; white-space: nowrap; }
.marquee-row i { font-style: normal; font-size: .5rem; color: var(--aqua-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   01 · Как работи
   ============================================================ */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); margin-top: clamp(48px, 6vw, 72px); }
/* въжето минава през центъра на номерата, които „висят" над картите */
.steps-rope { position: absolute; top: 28px; left: 10%; right: 10%; z-index: 0; }
.step {
  position: relative; z-index: 1; margin-top: 34px; padding: 0 28px 30px;
  background: #fff; border: 1px solid var(--line); border-radius: 28px;
  box-shadow: 0 1px 2px rgba(10,42,107,.04), 0 20px 40px -30px rgba(10,42,107,.35);
  transition: box-shadow .4s var(--ease), translate 1.1s var(--ease-out) var(--d, 0s), opacity .9s var(--ease-out) var(--d, 0s);
}
.step:hover { box-shadow: 0 1px 2px rgba(10,42,107,.04), 0 30px 50px -28px rgba(10,42,107,.45); }
.step-no {
  width: 68px; height: 68px; margin: -34px 0 22px; border-radius: 22px; display: grid; place-items: center;
  background: linear-gradient(145deg, #0C3D8F, var(--deep)); box-shadow: 0 14px 26px -12px rgba(4,23,57,.7), inset 0 1px 0 rgba(255,255,255,.14);
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--sun);
}
.step-ico { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-50); color: var(--brand); }
.step-ico svg { width: 19px; height: 19px; }
.step h3 { font-size: 1.22rem; letter-spacing: -.025em; color: var(--deep); }
.step p { margin-top: 10px; color: var(--ink-2); line-height: 1.62; }

/* ============================================================
   02 · Функции (бенто)
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: clamp(44px, 5vw, 64px); }
.tile {
  --rx: 0deg; --ry: 0deg;
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 28px;
  padding: 28px; display: flex; flex-direction: column; gap: 24px; min-width: 0;
  box-shadow: 0 1px 2px rgba(10,42,107,.04), 0 24px 44px -34px rgba(10,42,107,.4);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease-out), box-shadow .4s var(--ease), opacity .9s var(--ease-out) var(--d, 0s), translate 1.1s var(--ease-out) var(--d, 0s);
}
.tile.is-tilting { transition: transform .15s linear, box-shadow .4s var(--ease), opacity .9s, translate 1.1s; box-shadow: 0 1px 2px rgba(10,42,107,.04), 0 34px 60px -30px rgba(10,42,107,.45); }
.tile::after, .plan::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(70,214,247,.12), transparent 55%);
}
.tile.is-tilting::after, .plan.is-tilting::after { opacity: 1; }
.tile-cal { grid-column: span 4; }
.tile-log { grid-column: span 2; }
.tile-prog, .tile-ach, .tile-card { grid-column: span 2; }
.tile-mobile { grid-column: span 6; flex-direction: row; align-items: center; justify-content: space-between; }
.tile-k { display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.tile-k svg { width: 15px; height: 15px; }
.tile h3 { font-size: 1.24rem; letter-spacing: -.025em; color: var(--deep); margin-top: 12px; }
.tile p { color: var(--ink-2); margin-top: 8px; line-height: 1.6; font-size: .96rem; max-width: 44ch; }
.tile-txt { position: relative; z-index: 1; }

/* мини календар */
.mini-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: auto; }
.mini-cal b { font-size: .64rem; font-weight: 800; text-transform: uppercase; color: var(--muted); text-align: center; letter-spacing: .06em; }
.mini-cal > div { min-height: 76px; border-radius: 12px; background: var(--tint-bg); padding: 6px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mini-cal > div > span { font-size: .72rem; font-weight: 800; color: var(--ink-2); }
.mini-cal > div.today { background: #fff; box-shadow: inset 0 0 0 2px var(--brand); }
.mini-cal > div.today > span { color: var(--brand); }
.mini-cal em { font-style: normal; font-size: .6rem; font-weight: 700; color: #fff; padding: 2px 5px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; translate: 0 6px; transition: opacity .5s var(--ease-out), translate .5s var(--ease-out); }
.tile.is-in .mini-cal em { opacity: 1; translate: none; }
.mini-cal > div:nth-of-type(n+4) em { transition-delay: .15s; } .mini-cal > div:nth-of-type(n+8) em { transition-delay: .3s; } .mini-cal > div:nth-of-type(n+11) em { transition-delay: .45s; }

/* мини дневник */
.mini-log { margin-top: auto; display: grid; gap: 10px; }
.ml-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--tint-bg); width: max-content; }
.ml-seg span { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 800; padding: 6px 11px; border-radius: 99px; color: var(--ink-2); }
.ml-seg span.on { background: linear-gradient(135deg, #34D07F, #12805a); color: #fff; }
.ml-seg svg { width: 13px; height: 13px; }
.ml-field { border: 1.5px solid var(--sky-100); border-radius: 14px; padding: 9px 12px; background: var(--tint-bg); }
.ml-field small { font-size: .66rem; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; }
.ml-field p { margin: 2px 0 0 !important; font-size: .84rem !important; font-weight: 600; color: var(--ink) !important; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--brand); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ml-moods { display: flex; gap: 6px; }
.ml-moods span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint-bg); font-size: 1.15rem; transition: transform .3s var(--ease-out); }
.ml-moods span.on { background: #fff; box-shadow: inset 0 0 0 2px var(--brand); transform: scale(1.08); }

/* мини напредък */
.mini-prog { margin-top: auto; display: grid; gap: 12px; }
.mp-top { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.mp-top em { display: inline-flex; align-items: center; gap: 1px; font-style: normal; font-size: .7rem; font-weight: 800; padding: 1px 6px 1px 4px; border-radius: 99px; margin-left: 4px; }
.mp-top em svg { width: 11px; height: 11px; }
.mp-top em.up { color: #1B7A47; background: #D9F7E6; } .mp-top em.down { color: #B0303B; background: #FBD9DC; }
.mp-track { height: 9px; border-radius: 99px; background: var(--sky-100); overflow: hidden; }
.mp-track i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--aqua), var(--brand) 60%, var(--navy)); transition: width 1.4s var(--ease-out) calc(var(--i) * .12s + .2s); }
.tile.is-in .mp-track i { width: var(--w); }

/* медали */
.medals { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.medals span {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem;
  background: radial-gradient(circle at 35% 30%, #FFF6D6, #FFD466 60%, #F0A92A);
  box-shadow: 0 10px 18px -10px rgba(200,120,0,.7), inset 0 -3px 0 rgba(160,90,0,.2);
  animation: bob 4s ease-in-out infinite; transition: transform .4s var(--ease-out);
}
.medals span:nth-child(2) { animation-delay: -.8s; } .medals span:nth-child(3) { animation-delay: -1.6s; } .medals span:nth-child(4) { animation-delay: -2.4s; } .medals span:nth-child(5) { animation-delay: -3.2s; }
.tile-ach:hover .medals span { transform: rotate(-12deg) scale(1.06); }

/* мини картон */
.mini-card { margin-top: auto; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; background: linear-gradient(135deg, var(--deep), var(--brand)); color: #fff; }
.mc-av { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.16); font-family: var(--font-display); font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.mc-lines b { display: block; font-size: 1rem; }
.mc-lines span { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.mc-lines i { font-style: normal; font-size: .68rem; font-weight: 800; padding: 3px 8px; border-radius: 99px; background: rgba(255,255,255,.16); }
.mc-lines i.code { background: #fff; color: var(--deep); letter-spacing: .12em; }

.mini-tabbar { display: flex; gap: 6px; padding: 8px; border-radius: 22px; background: #fff; box-shadow: 0 16px 30px -16px rgba(10,42,107,.35), 0 0 0 1px var(--line); flex-shrink: 0; }
.mini-tabbar i { width: 54px; height: 46px; border-radius: 14px; }
.mini-tabbar svg { width: 22px; height: 22px; }

/* ============================================================
   03 · Двама треньори
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.ticks { list-style: none; display: grid; gap: 18px; margin-top: 32px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); line-height: 1.55; }
.ticks li > span { width: 28px; height: 28px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; background: var(--deep); color: var(--aqua); margin-top: 1px; }
.ticks li > span svg { width: 15px; height: 15px; }
.ticks b { display: block; color: var(--deep); font-size: 1.02rem; margin-bottom: 2px; }

.chat {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 26px 24px;
  display: grid; gap: 14px; box-shadow: 0 40px 80px -50px rgba(10,42,107,.5);
}
.chat::before { content: ""; position: absolute; inset: -18px 24px auto; height: 30px; border-radius: 30px 30px 0 0; background: var(--tint-bg); z-index: -1; border: 1px solid var(--line); }
.chat-day { justify-self: center; font-size: .72rem; font-weight: 800; color: var(--muted); padding: 4px 12px; border-radius: 99px; background: var(--tint-bg); }
.msg { display: flex; gap: 10px; align-items: flex-end; opacity: 0; translate: 0 16px; }
.chat.is-in .msg { animation: msgIn .7s var(--ease-out) both; animation-delay: calc(var(--i) * .45s + .2s); }
@keyframes msgIn { to { opacity: 1; translate: none; } }
.msg small { display: block; font-size: .7rem; font-weight: 700; color: var(--muted); margin: 0 4px 4px; }
.msg p { background: var(--tint-bg); padding: 11px 14px; border-radius: 18px 18px 18px 6px; font-size: .92rem; line-height: 1.5; color: var(--ink); max-width: 34ch; }
.msg-a { flex-direction: row-reverse; text-align: right; }
.msg-a p { background: var(--deep); color: #fff; border-radius: 18px 18px 6px 18px; text-align: left; }
.msg-sys { justify-content: center; align-items: center; gap: 8px; }
.msg-sys p { background: linear-gradient(135deg, #FFF6DB, #FFE9A8); color: #6B4A05; border-radius: 99px; font-size: .84rem; padding: 8px 14px; }
.msg-sys > span { font-size: 1.2rem; }

/* ============================================================
   04 · Родители (дълбока вода)
   ============================================================ */
.sec-deep { color: #fff; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #06224F 0%, var(--deep) 45%, var(--abyss) 100%); }
.deep-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 20% 30%, rgba(31,115,224,.35), transparent 70%); }
.split-rev .parent-stage { order: 0; }
.parent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.parent-grid > div { padding: 20px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.parent-grid span { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(70,214,247,.14); color: var(--aqua); margin-bottom: 12px; }
.parent-grid > div:nth-child(2) span { background: rgba(255,197,61,.14); color: var(--sun); }
.parent-grid span svg { width: 18px; height: 18px; }
.parent-grid b { display: block; font-size: 1rem; }
.parent-grid p { color: rgba(226,238,255,.72); font-size: .9rem; line-height: 1.55; margin-top: 4px; }

.phone-parent .phone-screen { padding: 0 12px; }
.pp-hero { margin: -40px -12px 2px; padding: 52px 16px 20px; display: flex; align-items: center; gap: 12px; color: #fff; border-radius: 0 0 24px 24px; background: linear-gradient(145deg, var(--deep), var(--brand)); }
.phone-parent .ph-status { z-index: 2; color: #fff; }
.phone-parent .ph-sig i { background: #fff; }
.pp-av { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.18); font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.pp-hero strong { display: block; font-size: 1rem; }
.pp-hero small { font-size: .7rem; color: rgba(255,255,255,.8); font-weight: 600; }
.pp-sec { font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-top: 6px; }
.pp-bar { display: grid; grid-template-columns: 1fr auto; gap: 5px 8px; background: #fff; padding: 9px 11px; border-radius: 14px; box-shadow: 0 1px 2px rgba(10,42,107,.06); }
.pp-bar span { font-size: .7rem; font-weight: 700; }
.pp-bar em { font-style: normal; font-size: .7rem; font-weight: 800; color: var(--brand); }
.pp-bar i { grid-column: 1 / -1; height: 7px; border-radius: 99px; background: var(--sky-100); overflow: hidden; position: relative; }
.pp-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--aqua), var(--brand)); transition: width 1.4s var(--ease-out) .3s; }
.parent-stage.is-in .pp-bar i::after { width: var(--w); }
.pp-ach { display: flex; align-items: center; gap: 10px; background: #fff; padding: 9px 10px; border-radius: 14px; box-shadow: 0 1px 2px rgba(10,42,107,.06); }
.pp-hist > span { background: var(--sky-50) !important; color: var(--brand); }
.pp-hist svg { width: 16px; height: 16px; }
.pp-ach > span { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #FFF2CC, #FFD466); font-size: 1rem; }
.pp-ach b { display: block; font-size: .72rem; }
.pp-ach small { font-size: .62rem; color: var(--muted); font-weight: 700; }
.code-card {
  position: absolute; right: -38%; bottom: 12%; transform: translateZ(160px); padding: 14px 18px; border-radius: 20px;
  background: linear-gradient(150deg, #0E3A80, #061A45); border: 1px solid rgba(255,255,255,.18); color: #fff;
  box-shadow: 0 30px 50px -20px rgba(0,0,0,.7);
  animation: bob 6s ease-in-out infinite -1s;
}
.code-card small { display: block; font-size: .68rem; font-weight: 700; color: rgba(255,255,255,.7); }
.code-card b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: .1em; color: var(--sun); margin: 2px 0; }
.code-card span { font-size: .7rem; font-weight: 700; color: var(--aqua); }

/* ============================================================
   05 · Цени
   ============================================================ */
.bill-toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px -14px rgba(10,42,107,.3); }
.bill-toggle button { position: relative; z-index: 1; padding: 10px 20px; border-radius: 99px; font-weight: 800; font-size: .9rem; color: var(--ink-2); transition: color .3s; white-space: nowrap; }
.bill-toggle button.on { color: #fff; }
.bill-toggle em { font-style: normal; font-size: .72rem; color: var(--green); margin-left: 4px; transition: color .3s; }
.bill-toggle button.on em { color: var(--sun); }
.bill-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 99px; background: var(--deep); transition: transform .45s var(--ease-out); }
.bill-toggle.is-year .bill-thumb { transform: translateX(100%); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(44px, 5vw, 64px); align-items: stretch; }
.plan {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 32px; border-radius: 30px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(10,42,107,.04), 0 30px 60px -44px rgba(10,42,107,.5);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease-out), opacity .9s var(--ease-out) var(--d, 0s), translate 1.1s var(--ease-out) var(--d, 0s);
}
.plan.is-tilting { transition: transform .15s linear, opacity .9s, translate 1.1s; }
.plan h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.04em; color: var(--deep); }
.plan-tag { margin-top: 6px; font-size: .92rem; color: var(--muted); font-weight: 600; min-height: 2.9em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; perspective: 400px; }
.plan-price .amt { font-family: var(--font-display); font-weight: 700; font-size: 3.4rem; line-height: 1; letter-spacing: -.06em; color: var(--deep); display: inline-block; }
.plan-price .amt.flip { animation: flip .32s var(--ease); }
@keyframes flip { 50% { transform: rotateX(90deg); opacity: 0; } }
.plan-price .cur { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--deep); }
.plan-price .per { font-size: .9rem; font-weight: 700; color: var(--muted); margin-left: 6px; }
.plan-bill { font-size: .82rem; font-weight: 600; color: var(--muted); margin: 6px 0 24px; min-height: 1.3em; }
.plan ul { list-style: none; display: grid; gap: 11px; margin-top: 26px; padding-top: 24px; border-top: 1px dashed var(--sky-200); }
.plan li { display: flex; align-items: center; gap: 10px; font-size: .94rem; font-weight: 600; color: var(--ink-2); }
.plan li svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--sky-50); color: var(--brand); flex-shrink: 0; box-sizing: content-box; }
.plan-featured { background: linear-gradient(165deg, #0B3A86 0%, var(--deep) 55%, var(--abyss) 100%); border-color: transparent; color: #fff; box-shadow: 0 40px 80px -40px rgba(4,23,57,.8); }
.plan-featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(140deg, var(--aqua), transparent 40%, transparent 60%, var(--sun));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan-featured h3, .plan-featured .amt, .plan-featured .cur { color: #fff; }
.plan-featured .plan-tag, .plan-featured .plan-bill, .plan-featured .per { color: rgba(226,238,255,.7); }
.plan-featured ul { border-top-color: rgba(255,255,255,.16); }
.plan-featured li { color: rgba(255,255,255,.88); }
.plan-featured li svg { background: rgba(70,214,247,.16); color: var(--aqua); }
.plan-flag { position: absolute; top: -13px; left: 30px; padding: 6px 12px; border-radius: 99px; font-size: .74rem; font-weight: 800; color: #1D1405; background: linear-gradient(180deg, #FFD466, var(--sun)); box-shadow: 0 8px 18px -8px rgba(255,174,26,.8); }
.plans-note { text-align: center; color: var(--muted); font-size: .86rem; font-weight: 600; margin-top: 26px; }

/* ============================================================
   06 · Въпроси
   ============================================================ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq { border-top: 1px solid var(--sky-100); }
.qa { border-bottom: 1px solid var(--sky-100); }
.qa-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; text-align: left; font-weight: 800; font-size: clamp(1rem, 1.3vw, 1.1rem); color: var(--deep); letter-spacing: -.01em; }
.qa-q:hover { color: var(--brand); }
.qa-ico { position: relative; width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; background: #fff; border: 1px solid var(--sky-100); transition: background .3s, transform .45s var(--ease-out), border-color .3s; }
.qa-ico::before, .qa-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--deep); transition: background .3s; }
.qa-ico::after { transform: rotate(90deg); }
.qa.open .qa-ico { transform: rotate(135deg); background: var(--deep); border-color: var(--deep); }
.qa.open .qa-ico::before, .qa.open .qa-ico::after { background: #fff; }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 54px 26px 0; color: var(--ink-2); line-height: 1.7; opacity: 0; translate: 0 -6px; transition: opacity .4s, translate .5s var(--ease-out); }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa.open .qa-a p { opacity: 1; translate: none; }

/* ============================================================
   Финал
   ============================================================ */
.final { padding: 0 var(--gutter) var(--sec-y); background: var(--tint-bg); }
.final-card {
  position: relative; overflow: hidden; isolation: isolate; max-width: 1200px; margin: 0 auto; border-radius: clamp(28px, 4vw, 44px);
  padding: clamp(72px, 10vw, 128px) 24px clamp(96px, 12vw, 150px); text-align: center; color: #fff;
  background: radial-gradient(80% 70% at 50% 0%, #1250B8, transparent 70%), linear-gradient(180deg, #06224F, var(--deep) 60%, var(--abyss));
  box-shadow: 0 60px 100px -60px rgba(4,23,57,.8);
}
.final-water { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60%; z-index: -1; }
.final-card .bubbles { z-index: -1; }
.final-in { position: relative; }
.final h2 { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -.055em; }
.final p { margin: 20px auto 0; max-width: 42ch; font-size: 1.08rem; color: rgba(226,238,255,.78); }

/* ============================================================
   Футър
   ============================================================ */
.site-foot { background: var(--site-bg); }
.site-foot > .lane-rope { border-radius: 0; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 44px; }
.foot-brand p { margin-top: 14px; color: var(--muted); max-width: 34ch; font-size: .92rem; }
.foot-brand .brand-name { color: var(--navy); }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(140px, auto)); gap: 56px; }
.foot-cols > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-cols b { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.foot-cols a, .foot-cols button { font-weight: 700; font-size: .94rem; color: var(--ink-2); transition: color .2s; }
.foot-cols a:hover, .foot-cols button:hover { color: var(--brand); }
.foot-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; position: relative; padding-top: 22px; padding-bottom: max(26px, env(safe-area-inset-bottom)); color: var(--muted); font-size: .86rem; font-weight: 600; }

/* ============================================================
   Вход / Регистрация / Покана
   ============================================================ */
.auth2 { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: 100dvh; background: var(--site-bg); }
.auth2-side {
  position: sticky; top: 0; height: 100dvh; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(90% 60% at 80% 0%, rgba(31,115,224,.6), transparent 60%), linear-gradient(180deg, var(--abyss), var(--deep) 50%, #08316E);
}
.auth2-water { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; z-index: -1; }
.auth2-side .bubbles, .auth2-side .rays { z-index: -1; }
.auth2-side-in { height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(28px, 4.5vw, 56px); }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-name span { color: var(--aqua); }
.auth2-h { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: clamp(2rem, 3.5vw, 3.1rem); line-height: 1.06; letter-spacing: -.05em; text-wrap: initial; }
.auth2-sub { margin-top: 18px; color: rgba(226,238,255,.76); max-width: 38ch; font-size: 1.04rem; line-height: 1.65; }
.auth2-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: rgba(255,255,255,.72); width: max-content; transition: color .2s, gap .3s var(--ease-out); }
.auth2-back:hover { color: #fff; gap: 10px; }
.auth2-back svg { width: 16px; height: 16px; }
.side-steps { list-style: none; display: grid; gap: 12px; margin-top: 30px; }
.side-steps li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: rgba(255,255,255,.55); transition: color .3s; }
.side-steps span { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: .82rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: all .3s; }
.side-steps li.cur { color: #fff; }
.side-steps li.cur span { background: var(--sun); color: #1D1405; border-color: var(--sun); }
.side-steps li.done span { background: rgba(70,214,247,.2); color: var(--aqua); border-color: transparent; }

.auth2-main { position: relative; display: grid; place-items: center; padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px); }
.auth2-card { width: min(440px, 100%); background: #fff; border-radius: 30px; padding: clamp(26px, 4vw, 40px); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(10,42,107,.04), 0 40px 80px -50px rgba(10,42,107,.45); }
.auth2-card.wide { width: min(520px, 100%); }
.auth-form h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.045em; color: var(--deep); }
.auth-lead { color: var(--muted); font-weight: 600; margin: 6px 0 26px; }
.auth-alt { text-align: center; margin-top: 20px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.auth-alt a { color: var(--brand); font-weight: 800; }
.auth-alt a:hover { text-decoration: underline; text-underline-offset: 3px; }

.seg-slide { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.seg-slide .seg-btn { position: relative; z-index: 1; background: transparent !important; box-shadow: none !important; transition: color .3s; }
.seg-slide .seg-btn.active { color: var(--navy); }
.seg-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 99px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease-out); }
.seg-slide.right .seg-thumb { transform: translateX(100%); }

.in-wrap { position: relative; }
.in-wrap.has-ico .input { padding-left: 46px; }
.in-wrap:has(.in-eye) .input { padding-right: 52px; }
.in-ico { position: absolute; left: 15px; top: 50%; translate: 0 -50%; color: var(--muted); display: grid; pointer-events: none; transition: color .2s; }
.in-ico svg { width: 18px; height: 18px; }
.in-wrap:focus-within .in-ico { color: var(--brand); }
.in-eye { position: absolute; right: 7px; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--muted); transition: color .2s, background .2s; }
.in-eye:hover { background: var(--sky-50); color: var(--navy); }
.in-eye.on { color: var(--brand); }
.in-eye svg { width: 18px; height: 18px; }
.input-code { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: .42em; text-align: center; padding-left: calc(16px + .42em); }
.input-code::placeholder { letter-spacing: .3em; }

.field.has-err .input { border-color: var(--red); box-shadow: 0 0 0 4px rgba(239,95,107,.16); }
.field.has-err .in-ico { color: var(--red); }
.err-msg { font-size: .8rem; font-weight: 700; color: #C33645; animation: fade .3s; }
.shake { animation: shake .45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2.4px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.stepper { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.stp { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.stp span { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: .84rem; background: var(--sky-50); color: var(--muted); transition: all .35s var(--ease-out); }
.stp span svg { width: 15px; height: 15px; }
.stp b { font-size: .86rem; color: var(--muted); transition: color .3s; }
.stp.cur span { background: var(--deep); color: var(--sun); box-shadow: 0 8px 16px -8px rgba(4,23,57,.7); }
.stp.cur b { color: var(--deep); }
.stp.done span { background: #D9F7E6; color: #1B7A47; }
.stp-line { flex: 1; height: 2px; border-radius: 2px; background: var(--sky-100); min-width: 12px; }
.step-anim { animation: stepIn .5s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; translate: 18px 0; } }

.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 5px; align-items: center; margin: -8px 0 22px; }
.pw-meter i { height: 4px; border-radius: 4px; background: var(--sky-100); transition: background .3s; }
.pw-meter span { font-size: .74rem; font-weight: 800; color: var(--muted); margin-left: 6px; min-width: 7.5em; text-align: right; }
.pw-meter[data-s="0"] i:nth-child(-n+1) { background: var(--red); }
.pw-meter[data-s="1"] i:nth-child(-n+1) { background: var(--amber); }
.pw-meter[data-s="2"] i:nth-child(-n+2) { background: var(--amber); }
.pw-meter[data-s="3"] i:nth-child(-n+3) { background: var(--green); }
.pw-meter[data-s="4"] i:nth-child(-n+4) { background: var(--green); }

.tp-av { width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .86rem; background: linear-gradient(135deg, var(--aqua), var(--brand) 60%, var(--navy)); box-shadow: 0 10px 20px -10px rgba(31,95,214,.7); }
.tp-av.lg { width: 58px; height: 58px; border-radius: 18px; font-size: 1.05rem; }
.tp-av.xl { width: 80px; height: 80px; border-radius: 24px; font-size: 1.4rem; }
.team-preview { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--tint-bg); border: 1.5px dashed var(--sky-200); margin-bottom: 24px; }
.team-preview b { display: block; color: var(--deep); word-break: break-word; }
.team-preview small { color: var(--muted); font-weight: 600; font-size: .8rem; }
.form-row { display: flex; gap: 10px; }
.form-row .btn:last-child { flex: 1; }

.plan-pick { display: grid; gap: 10px; margin-bottom: 20px; }
.pp { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; border: 1.8px solid var(--sky-100); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.pp:hover { border-color: var(--sky-200); }
.pp.on { border-color: var(--brand); background: var(--sky-50); box-shadow: 0 0 0 4px var(--ring); }
.pp input { position: absolute; opacity: 0; pointer-events: none; }
.pp:has(input:focus-visible) { outline: 3px solid var(--aqua-2); outline-offset: 2px; }
.pp-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--sky-200); background: #fff; transition: border .25s var(--ease-out); }
.pp.on .pp-radio { border: 7px solid var(--brand); }
.pp-main b { display: flex; align-items: center; gap: 8px; color: var(--deep); font-size: 1rem; }
.pp-main em { font-style: normal; font-size: .66rem; font-weight: 800; padding: 3px 8px; border-radius: 99px; background: var(--sun); color: #1D1405; }
.pp-main small { display: block; color: var(--muted); font-weight: 600; font-size: .82rem; margin-top: 1px; }
.pp-price { font-weight: 800; color: var(--deep); white-space: nowrap; text-align: right; }
.pp-price small { color: var(--muted); font-weight: 700; font-size: .76rem; }

.agree { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--ink-2); font-weight: 600; line-height: 1.5; margin-bottom: 22px; cursor: pointer; }
.agree input { position: absolute; opacity: 0; }
.agree > span { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--sky-200); flex-shrink: 0; margin-top: 1px; display: grid; place-items: center; transition: all .2s; background: #fff; }
.agree input:checked + span { background: var(--brand); border-color: var(--brand); }
.agree input:checked + span::after { content: ""; width: 10px; height: 5px; border: 2.4px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.agree input:focus-visible + span { outline: 3px solid var(--aqua-2); outline-offset: 2px; }

.welcome { position: relative; text-align: center; }
.welcome .auth-lead { margin-bottom: 20px; }
.welcome h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -.045em; color: var(--deep); margin-top: 16px; }
.welcome-ico { display: inline-block; animation: popIn .8s var(--ease-out); }
@keyframes popIn { 0% { transform: scale(.3) rotate(-30deg); opacity: 0; } 60% { transform: scale(1.12) rotate(6deg); } 100% { transform: none; opacity: 1; } }
.confetti { position: absolute; inset: -40px -20px auto; height: 1px; pointer-events: none; }
.confetti i { position: absolute; left: var(--x); top: 0; width: 8px; height: 14px; border-radius: 2px; background: var(--c); opacity: 0; animation: confetti 1.8s var(--ease-out) var(--d) forwards; }
@keyframes confetti { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(320px) rotate(var(--r)); } }
.invite-box { display: flex; gap: 8px; margin-bottom: 16px; }
.invite-box .input { font-size: .84rem; font-weight: 600; color: var(--ink-2); min-width: 0; text-overflow: ellipsis; }
.invite-box .btn { flex-shrink: 0; }
.note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--sky-50); color: var(--ink-2); font-size: .86rem; font-weight: 600; line-height: 1.5; margin-bottom: 16px; text-align: left; }
.note svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; }
.note.warn { background: #FFF6E5; color: #7A4B00; }
.invite-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.invite-head small { color: var(--muted); font-weight: 700; font-size: .84rem; }
.invite-head h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.04em; color: var(--deep); word-break: break-word; }

/* ============================================================
   Приложение — шапка, фон, „Отбор"
   ============================================================ */
.aqua-bg { background: radial-gradient(1100px 600px at 90% -12%, #DCEBFF, transparent 60%), radial-gradient(900px 600px at -10% 110%, #E8F6FF, transparent 55%), var(--paper); }
.topbar { gap: 22px; }
.topbar .nav a { font-family: var(--font-head); font-weight: 700; }
.wrap-parent { max-width: 880px; }

.team-hero {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(220px, 300px); gap: 24px; align-items: center;
  padding: 28px; border-radius: 30px; color: #fff;
  background: radial-gradient(80% 90% at 90% 0%, rgba(31,115,224,.65), transparent 60%), linear-gradient(150deg, var(--deep), var(--navy));
  box-shadow: 0 30px 60px -36px rgba(4,23,57,.8);
}
.team-hero-bg { position: absolute; inset: 0; z-index: -1; }
.team-name-row { display: flex; align-items: center; gap: 10px; }
.team-hero h2 { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.75rem); letter-spacing: -.045em; word-break: break-word; }
.team-hero .btn-icon { width: 36px; height: 36px; border-radius: 11px; }
.team-hero .btn-icon svg { width: 16px; height: 16px; }
.team-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.badge-plan { background: linear-gradient(180deg, #FFD466, var(--sun)); color: #1D1405; }
.badge-glass { background: rgba(255,255,255,.14); color: #fff; }
.meters { display: grid; gap: 14px; }
.meter-top { display: flex; justify-content: space-between; font-size: .84rem; font-weight: 700; color: rgba(255,255,255,.78); margin-bottom: 7px; }
.meter-top b { color: #fff; }
.meter-track { height: 8px; border-radius: 99px; background: rgba(255,255,255,.14); overflow: hidden; }
.meter-track i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--aqua), #A8F0FF 60%, var(--sun)); animation: grow 1.2s var(--ease-out) .2s both; }
@keyframes grow { from { width: 0; } }

.team-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; margin: 20px 0 36px; align-items: start; }
.members { display: grid; }
.member { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--sky-50); }
.member:last-child { border-bottom: 0; }
.m-av { width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .9rem; background: var(--c); box-shadow: 0 8px 16px -10px var(--c); }
.m-main { flex: 1; min-width: 0; }
.m-main b { display: block; color: var(--navy); }
.m-main em { font-style: normal; color: var(--muted); font-weight: 600; }
.m-main small { display: block; color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.role { font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: var(--sky-50); color: var(--ink-2); white-space: nowrap; }
.role.owner { background: linear-gradient(135deg, #FFF2CC, #FFD466); color: #6B4A05; }
.invite-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.invite-card .note { margin-bottom: 0; }

.section-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.section-h h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.04em; }
.plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pc { position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: 24px; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.pc.cur { border-color: var(--brand); box-shadow: 0 0 0 4px var(--ring), var(--shadow); }
.pc-flag { position: absolute; top: 18px; right: 18px; font-size: .7rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: var(--brand); color: #fff; }
.pc h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.04em; }
.pc-price { margin: 10px 0 16px; display: flex; align-items: baseline; gap: 6px; }
.pc-price b { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; letter-spacing: -.05em; color: var(--deep); }
.pc-price small { color: var(--muted); font-weight: 700; }
.pc ul { list-style: none; display: grid; gap: 8px; margin-bottom: 20px; }
.pc li { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.pc li svg { width: 15px; height: 15px; color: var(--brand); flex-shrink: 0; }
.pc .btn { margin-top: auto; }

/* ============================================================
   Адаптивност
   ============================================================ */
@media (max-width: 1100px) {
  .fc-note { right: -30%; }
  .fc-ach { left: -24%; }
}
@media (max-width: 960px) {
  .site-links, .site-cta { display: none; }
  .burger { display: block; }
  .hero { min-height: auto; }
  .hero-in { grid-template-columns: 1fr; text-align: left; }
  .hero-stage { min-height: 560px; margin-top: 12px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-cal, .tile-mobile { grid-column: span 2; }
  .tile-log, .tile-prog, .tile-ach, .tile-card { grid-column: span 1; }
  .split, .faq-wrap { grid-template-columns: 1fr; }
  .split-rev .parent-stage { order: 2; }
  .parent-stage { min-height: 600px; }
  .faq-side { position: static; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .plan-tag { min-height: 0; }
  .plan-featured { order: -1; }
  .team-hero { grid-template-columns: auto minmax(0, 1fr); }
  .meters { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .plan-cards { grid-template-columns: 1fr; }

  .auth2 { grid-template-columns: 1fr; }
  .auth2-side { position: relative; height: auto; }
  .auth2-side-in { padding: calc(20px + env(safe-area-inset-top)) var(--gutter) 64px; gap: 26px; }
  .auth2-h { font-size: clamp(1.7rem, 7vw, 2.3rem); }
  .auth2-sub { font-size: .96rem; margin-top: 12px; }
  .auth2-back, .side-steps { display: none; }
  .auth2-water { height: 70%; }
  .auth2-main { place-items: start center; padding: 0 16px 40px; margin-top: -40px; z-index: 2; }
  .auth2 { position: relative; }
  .auth2-main { position: static; }
  .auth2-main .gear-btn { top: calc(18px + env(safe-area-inset-top)); right: var(--gutter); background: rgba(255,255,255,.12); color: #fff; box-shadow: none; z-index: 3; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .hero { padding-top: calc(var(--nav-h) + env(safe-area-inset-top) + 28px); padding-bottom: 104px; }
  .hero-badge { font-size: .76rem; }
  .hero-h { margin-top: 20px; }
  .hero-sub { margin-top: 18px; }
  .hero-ctas { flex-direction: column; margin-top: 28px; }
  .hero-ctas .btn { width: 100%; }
  .hero-proof { gap: 8px 16px; font-size: .82rem; }
  .hero-stage { min-height: 450px; margin: -8px -20px -24px; }
  .hero-stage .stage-3d { scale: .78; }
  .fc-ach { left: -18%; top: 4%; }
  .fc-note { right: -24%; top: 50%; }
  .fc-prog { left: -20%; bottom: 4%; }
  .float-card { padding: 9px 12px 9px 9px; }
  .scroll-cue { display: none; }
  .parent-stage { min-height: 520px; }
  .parent-stage .stage-3d { scale: .8; }
  .code-card { right: -18%; }

  .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps-rope { display: none; }
  .step { margin-top: 0; padding: 22px 20px 22px 92px; }
  .step-no { position: absolute; left: 20px; top: 22px; width: 54px; height: 54px; border-radius: 17px; font-size: 1.25rem; margin: 0; }
  .step-ico { display: none; }

  .bento { grid-template-columns: 1fr; gap: 14px; }
  .tile-cal, .tile-log, .tile-prog, .tile-ach, .tile-card, .tile-mobile { grid-column: auto; }
  .tile { padding: 22px; border-radius: 24px; }
  .tile-mobile { flex-direction: column; align-items: flex-start; }
  .mini-tabbar { align-self: stretch; justify-content: space-around; }
  .mini-cal { gap: 4px; }
  .mini-cal > div { min-height: 58px; padding: 4px; border-radius: 9px; }
  .medals { gap: 8px; }
  .medals span { width: 48px; height: 48px; font-size: 1.3rem; }
  .mini-cal em { font-size: 0; height: 5px; padding: 0; border-radius: 99px; }

  .chat { padding: 20px 16px; border-radius: 24px; }
  .msg p { font-size: .88rem; }
  .parent-grid { grid-template-columns: 1fr; }
  .plan { padding: 30px 24px 26px; }
  .plan-price .amt { font-size: 3rem; }
  .qa-a p { padding-right: 0; }
  .foot-cols { gap: 36px; }
  .final { padding-left: 12px; padding-right: 12px; }
  .final-card .hero-ctas { padding: 0 8px; }

  .auth2-card { padding: 24px 20px; border-radius: 26px; }
  .stp b { display: none; }
  .stp.cur b { display: inline; }
  .form-row .btn-ghost { padding-left: 16px; padding-right: 16px; }
  .pp { padding: 14px; gap: 12px; }

  .team-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 26px 20px; }
  .team-name-row { justify-content: center; }
  .team-badges { justify-content: center; }
  .meters { width: 100%; grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 420px) {
  .hide-xs { display: none; }
  .hero-stage .stage-3d { scale: .7; }
  .hero-stage { min-height: 430px; }
  .fc-note b { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .sw-i, .msg { opacity: 1 !important; translate: none !important; scale: none !important; }
  .marquee-track, .bubbles, .rays i, .float-card, .medals span { animation: none !important; }
}

/* иконки в малки бутони — никога да не се разливат */
.x-btn svg { width: 18px; height: 18px; }
@media (max-width: 480px) { .brand-team { display: none; } }
