/* ============================================================
   Реклама школы (welcome.html, js/welcome.js) — первое, что видит новый
   посетитель сайта. Светлое «жидкое стекло», как вход и новые экраны:
   плывущий цветной фон, стеклянные карточки, градиент #01AE5E → #00C8FF.
   Своя страница со своим стилем: css/style.css здесь не грузится.
   html.lite (js/lite-mode.js, слабые телефоны) — без размытия и бесконечных
   анимаций; prefers-reduced-motion — без движения при прокрутке.
   ============================================================ */
@font-face {
  font-family: "Mona Sans";
  src: url(fonts/Mona-Sans.woff2) format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
}
:root {
  --g: #01AE5E; --g2: #00C8FF; --deep: #0B7A4B; --ink: #0E1F18; --ink2: #4E6A5C; --ink3: #8A9892;
  --glass: rgba(255,255,255,.62); --line: rgba(255,255,255,.95); --shadow: 0 30px 80px rgba(20,60,40,.14);
  --grad: linear-gradient(90deg, #01AE5E, #00C8FF);
  --ease: cubic-bezier(.2,.8,.2,1);
  --pad: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; color: var(--ink); background: #F3FBF6; overflow-x: hidden;
  font: 16px/1.55 "Mona Sans", -apple-system, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* Плывущий перелив под всей страницей */
body::before {
  content: ""; position: fixed; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(35% 30% at 15% 15%, #A8F0C6 0, rgba(168,240,198,0) 70%),
    radial-gradient(30% 30% at 85% 10%, #BFE3FF 0, rgba(191,227,255,0) 70%),
    radial-gradient(35% 35% at 80% 75%, #FFD9A8 0, rgba(255,217,168,0) 70%),
    radial-gradient(30% 30% at 15% 85%, #E3CCFF 0, rgba(227,204,255,0) 70%);
  animation: wlMesh 18s ease-in-out infinite alternate;
}
@keyframes wlMesh { to { transform: rotate(6deg) scale(1.12); } }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---- Полоса прокрутки сверху ---- */
.wl-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 30; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---- Верхняя панель: стекло, плотнее после прокрутки ---- */
.wl-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 18px;
  padding: calc(12px + env(safe-area-inset-top)) var(--pad) 12px;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.wl-top.on {
  background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 10px 30px rgba(20,60,40,.08); padding-top: calc(8px + env(safe-area-inset-top)); padding-bottom: 8px;
}
.wl-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.wl-brand img { width: 38px; height: 38px; border-radius: 12px; box-shadow: 0 8px 20px rgba(1,174,94,.3); }
.wl-nav { display: flex; gap: 4px; margin: 0 auto; }
.wl-nav a { text-decoration: none; font-size: 14px; font-weight: 650; color: var(--ink2); padding: 8px 14px; border-radius: 99px; transition: background .2s, color .2s; }
.wl-nav a:hover { background: rgba(255,255,255,.8); color: var(--ink); }
.wl-top-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.wl-lang { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: rgba(255,255,255,.7); border: 1px solid #fff; }
.wl-lang button { border: 0; background: transparent; color: var(--ink3); font: inherit; font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 9px; cursor: pointer; }
.wl-lang button.active { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(1,174,94,.3); }
.wl-login {
  text-decoration: none; font-weight: 800; font-size: 15px; color: #fff; padding: 10px 22px; border-radius: 99px;
  background: var(--grad); box-shadow: 0 10px 24px rgba(1,174,94,.35); transition: transform .2s var(--ease), box-shadow .2s;
}
.wl-login:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(1,174,94,.45); }

/* ---- Первый экран: снимок здания с автобусом. На компьютере — справа во
   всю высоту, левый край растворяется в фоне; на телефоне — на весь экран,
   заголовок на небе, кнопки под автобусом (блок «Телефон» ниже) ---- */
.wl-hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding: calc(96px + env(safe-area-inset-top)) var(--pad) 56px;
}
.wl-hero-text { position: relative; z-index: 2; width: min(47%, 640px); margin-left: max(0px, calc((100vw - 1360px) / 2)); }
.wl-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 9px 17px; border-radius: 99px; font-size: 15px; font-weight: 800; color: var(--deep); background: rgba(255,255,255,.88); border: 1px solid #fff; box-shadow: 0 12px 28px rgba(1,174,94,.2); }
.wl-pulse { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--g); animation: wlPulse 1.8s ease-out infinite; }
@keyframes wlPulse { from { box-shadow: 0 0 0 0 rgba(1,174,94,.55); } 70%, 100% { box-shadow: 0 0 0 11px rgba(1,174,94,0); } }
.wl-hero h1 {
  margin: 0; font-size: clamp(36px, 5vw, 70px); line-height: 1.03; font-weight: 850; letter-spacing: -.035em; font-stretch: 105%;
  background: linear-gradient(95deg, #0B7A4B 10%, #0DA8A0 55%, #6B4FE0); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wl-lead { margin: 22px 0 0; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink2); max-width: 540px; }
.wl-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.wl-cta-center { justify-content: center; }
.wl-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 800; font-size: 16px; padding: 16px 28px; border-radius: 18px; transition: transform .2s var(--ease), box-shadow .2s; }
.wl-btn:hover { transform: translateY(-2px); }
.wl-btn-main { color: #fff; background: var(--grad); box-shadow: 0 16px 36px rgba(1,174,94,.38); }
.wl-btn-main::before { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0)); transform: skewX(-20deg); animation: wlSweep 3s ease-in-out infinite; }
@keyframes wlSweep { 60%, 100% { left: 130%; } }
.wl-btn-glass { color: var(--deep); background: rgba(255,255,255,.72); border: 1px solid #fff; box-shadow: 0 10px 28px rgba(20,60,40,.08); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

.wl-hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; z-index: 1; }
.wl-hero-frame { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%); mask-image: linear-gradient(to right, transparent 0, #000 32%); }
.wl-hero-frame img { position: absolute; left: 0; top: -5%; width: 100%; height: 110%; max-width: none; object-fit: cover; object-position: 50% 84%; will-change: transform; }
.wl-hero-inset { position: absolute; z-index: 2; left: 4%; top: 13%; width: clamp(170px, 15vw, 250px); aspect-ratio: 3 / 2; border-radius: 22px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 26px 60px rgba(20,60,40,.32); }
.wl-hero-inset img { width: 100%; height: 100%; object-fit: cover; }
.wl-chip {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 18px; font-size: 14px; font-weight: 750; white-space: nowrap;
  background: rgba(255,255,255,.78); border: 1px solid #fff; box-shadow: 0 16px 40px rgba(20,60,40,.14);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  animation: wlFloat 6s ease-in-out infinite;
}
.wl-chip i { font-style: normal; font-size: 18px; }
.wl-chip-1 { right: 7%; top: 15%; }
.wl-chip-2 { right: 26%; top: 30%; animation-delay: -2s; }
.wl-chip-3 { right: 5%; bottom: 9%; animation-delay: -4s; }
@keyframes wlFloat { 50% { transform: translateY(-10px); } }

/* ---- Бегущая строка ---- */
.wl-marquee { overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.45); }
.wl-marquee-track { display: flex; width: max-content; gap: 44px; animation: wlMarquee 38s linear infinite; }
.wl-marquee span { font-size: clamp(18px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1px rgba(11,122,75,.45); white-space: nowrap; }
.wl-marquee span:nth-child(3n+1) { color: var(--deep); -webkit-text-stroke: 0; }
@keyframes wlMarquee { to { transform: translateX(-50%); } }

/* ---- Цифры ---- */
.wl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1200px; margin: 64px auto 0; padding: 0 var(--pad); }
.wl-stat { padding: 26px 22px; border-radius: 26px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); }
.wl-stat b { display: block; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; font-weight: 850; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wl-stat span { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--ink2); }

/* ---- Секции ---- */
.wl-section { max-width: 1240px; margin: 0 auto; padding: clamp(72px, 10vw, 130px) var(--pad) 0; }
.wl-head { max-width: 760px; margin-bottom: 40px; }
.wl-kicker { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--g); }
.wl-section h2, .wl-head h2, .wl-final h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: 1.06; font-weight: 850; letter-spacing: -.03em; }

.wl-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wl-card {
  padding: 26px 22px; border-radius: 28px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.wl-card:hover { transform: translateY(-6px); box-shadow: 0 40px 90px rgba(20,60,40,.2); }
.wl-ic { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 12px 26px rgba(1,174,94,.35), inset 0 2px 0 rgba(255,255,255,.5); }
.wl-ic svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wl-card h3 { margin: 18px 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.wl-card p { margin: 0; font-size: 14.5px; color: var(--ink2); }

/* ---- Лента фото школы: секция «прилипает», лента едет вбок, пока листаешь
   вниз (и на телефоне). Высоту секции ставит js/welcome.js: экран + путь
   ленты с поправкой на скорость. Снимок у середины экрана крупный и
   яркий, соседи меньше и бледнее, фото внутри мягко приближается ---- */
.wl-gallery { --cw: min(70vw, 1000px); --ch: min(64vh, 620px); position: relative; height: 300vh; margin-top: clamp(72px, 10vw, 130px); }
.wl-gallery-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 56px; }
.wl-gallery-head { padding: 0 var(--pad); max-width: 1240px; width: 100%; margin: 0 auto 22px; }
.wl-track { position: relative; display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); padding: 0 calc(50vw - var(--cw) / 2); width: max-content; will-change: transform; counter-reset: shot; }
.wl-shot { position: relative; margin: 0; flex: none; width: var(--cw); height: var(--ch); border-radius: 32px; overflow: hidden; box-shadow: 0 34px 80px rgba(20,60,40,.28); border: 1px solid #fff; will-change: transform, opacity; counter-increment: shot; background: #DDEFE5; }
.wl-shot-tall { width: calc(var(--ch) * .74); }
.wl-shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1.06)); }
.wl-shot::after { content: ""; position: absolute; inset: 62% 0 0; background: linear-gradient(180deg, rgba(5,30,20,0), rgba(5,30,20,.66)); pointer-events: none; }
.wl-shot figcaption { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; color: #fff; font-size: clamp(19px, 2vw, 26px); font-weight: 850; letter-spacing: -.01em; line-height: 1.15; text-shadow: 0 4px 18px rgba(0,0,0,.35); }
.wl-shot figcaption::before { content: counter(shot, decimal-leading-zero); display: block; margin-bottom: 4px; font-size: 13px; font-weight: 800; letter-spacing: .12em; opacity: .85; }
.wl-gal-bar { width: min(320px, 60vw); height: 4px; margin: 24px auto 0; border-radius: 4px; background: rgba(1,174,94,.15); overflow: hidden; }
.wl-gal-bar i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---- Факультативы: «таблетки» ---- */
.wl-tags { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wl-tags li { padding: 8px 15px; border-radius: 99px; font-size: 14px; font-weight: 750; color: var(--deep); background: rgba(255,255,255,.85); border: 1px solid #fff; box-shadow: 0 6px 16px rgba(20,60,40,.07); }
.wl-tags li:nth-child(-n+4) { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 8px 18px rgba(1,174,94,.28); }

/* ---- Две колонки: картинка + текст ---- */
.wl-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.wl-split-rev .wl-split-art { order: 2; }
.wl-split-art { border-radius: 34px; overflow: hidden; box-shadow: 0 40px 100px rgba(20,60,40,.2); border: 1px solid #fff; }
.wl-split-art img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.wl-split-art-square { max-width: 480px; justify-self: center; }
.wl-split-art-square img { aspect-ratio: auto; }
.wl-split-text p { font-size: 17px; color: var(--ink2); margin: 18px 0 0; }
.wl-link { display: inline-block; margin-top: 20px; font-weight: 800; color: var(--deep); text-decoration: none; border-bottom: 2px solid rgba(1,174,94,.35); padding-bottom: 2px; }
.wl-link:hover { border-color: var(--g); }

/* ---- Девиз на фото кабинета ---- */
.wl-band { position: relative; margin-top: clamp(72px, 10vw, 130px); height: clamp(420px, 70vh, 680px); overflow: hidden; display: grid; place-items: center; }
.wl-band-bg { position: absolute; inset: -12% 0; will-change: transform; }
.wl-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.wl-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,40,26,.15), rgba(5,40,26,.65)); }
.wl-band-quote { position: relative; z-index: 1; margin: 0 var(--pad); max-width: 880px; text-align: center; color: #fff; }
.wl-band-quote p { margin: 0; font-size: clamp(26px, 4vw, 50px); line-height: 1.12; font-weight: 850; letter-spacing: -.02em; text-shadow: 0 8px 30px rgba(0,0,0,.35); }
.wl-band-quote cite { display: block; margin-top: 16px; font-style: normal; font-weight: 700; opacity: .85; }

/* ---- Приложение для родителей ---- */
.wl-app { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.wl-app-text > p { font-size: 17px; color: var(--ink2); margin: 18px 0 0; }
.wl-app-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wl-app-list li { position: relative; padding: 12px 14px 12px 42px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); font-weight: 650; font-size: 15px; }
.wl-app-list li::before { content: "✓"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #fff; background: var(--grad); }
.wl-phone { justify-self: center; width: min(320px, 78vw); padding: 12px; border-radius: 46px; background: linear-gradient(160deg, #1d2b24, #0c1511); box-shadow: 0 50px 110px rgba(20,60,40,.35), inset 0 0 0 2px rgba(255,255,255,.08); will-change: transform; }
.wl-phone-screen { border-radius: 36px; padding: 22px 16px; min-height: 560px; background: linear-gradient(180deg, #F3FBF6, #E8F7EF); display: flex; flex-direction: column; gap: 14px; }
.wl-phone-head { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.wl-phone-head img { width: 34px; height: 34px; border-radius: 11px; }
.wl-phone-card { padding: 16px; border-radius: 22px; background: #fff; box-shadow: 0 10px 26px rgba(20,60,40,.08); }
.wl-phone-card span { display: block; font-size: 12px; font-weight: 700; color: var(--ink3); text-transform: uppercase; letter-spacing: .06em; }
.wl-phone-card b { display: block; margin-top: 4px; font-size: 17px; }
.wl-pc-green { background: var(--grad); color: #fff; }
.wl-pc-green span { color: rgba(255,255,255,.8); }
.wl-phone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wl-phone-grid div { padding: 14px 6px; border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 8px 20px rgba(20,60,40,.06); }
.wl-phone-grid i { font-style: normal; font-size: 22px; display: block; }
.wl-phone-grid span { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--ink2); }

/* ---- Запись ---- */
.wl-final {
  max-width: 980px; margin: clamp(72px, 10vw, 130px) auto 0; padding: clamp(40px, 6vw, 72px) var(--pad); text-align: center; border-radius: 40px;
  background: rgba(255,255,255,.66); border: 1px solid #fff; box-shadow: var(--shadow); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
}
.wl-final-logo { width: 78px; height: 78px; margin: 0 auto 18px; border-radius: 24px; box-shadow: 0 16px 36px rgba(1,174,94,.4); }
.wl-final p { font-size: 17px; color: var(--ink2); margin: 16px auto 0; max-width: 560px; }
.wl-final .wl-cta { margin-top: 28px; }

/* ---- Телефоны и Instagram ---- */
.wl-ct-title { margin: 34px auto 14px !important; font-weight: 800; color: var(--ink) !important; }
.wl-contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.wl-contact {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; text-decoration: none;
  background: #fff; border: 1px solid #E6F2EB; box-shadow: 0 10px 26px rgba(20,60,40,.08); transition: transform .2s var(--ease), box-shadow .2s;
}
.wl-contact:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(20,60,40,.14); }
.wl-contact i { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 8px 18px rgba(1,174,94,.3); }
.wl-contact svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.wl-contact small { display: block; font-size: 12px; font-weight: 700; color: var(--ink3); }
.wl-contact b { display: block; font-size: 16px; white-space: nowrap; }

/* ---- Подвал ---- */
.wl-foot { margin-top: clamp(72px, 10vw, 120px); padding: 48px var(--pad) calc(32px + env(safe-area-inset-bottom)); background: linear-gradient(135deg, #0B7A4B, #01AE5E 55%, #00A8C8); color: #fff; text-align: center; }
.wl-foot img { margin: 0 auto; }
.wl-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 26px 0 18px; }
.wl-foot nav a { color: #fff; text-decoration: none; font-weight: 650; opacity: .92; }
.wl-foot nav a:hover { opacity: 1; text-decoration: underline; }
.wl-foot p { margin: 0; font-size: 13px; opacity: .8; }
.wl-foot .wl-foot-ct { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 22px 0 0; font-size: 15px; opacity: 1; }
.wl-foot-ct a { color: #fff; text-decoration: none; font-weight: 700; }
.wl-foot-ct a:hover { text-decoration: underline; }

/* ---- Появление при прокрутке ---- */
.wl-reveal { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.wl-reveal.in { opacity: 1; transform: none; filter: none; }

/* ---- Планшет ---- */
@media (max-width: 1080px) {
  .wl-nav { display: none; }
  .wl-cards { grid-template-columns: repeat(2, 1fr); }
}
/* ---- Телефон ---- */
@media (max-width: 760px) {
  .wl-top { gap: 10px; }
  .wl-brand span { display: none; }
  .wl-login { padding: 9px 18px; font-size: 14px; }
  /* Первый экран: снимок на весь экран, заголовок на небе, кнопки под автобусом */
  .wl-hero { align-items: stretch; padding: calc(76px + env(safe-area-inset-top)) var(--pad) calc(20px + env(safe-area-inset-bottom)); }
  .wl-hero-text { width: 100%; margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
  .wl-eyebrow { font-size: 14px; padding: 8px 14px; margin-bottom: 14px; }
  .wl-hero h1 { font-size: clamp(30px, 9.2vw, 44px); background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; text-shadow: 0 4px 22px rgba(8,45,90,.45); }
  .wl-hero-bottom { margin-top: auto; width: 100%; }
  .wl-lead { display: none; }
  .wl-hero .wl-cta { margin-top: 0; flex-wrap: nowrap; gap: 10px; }
  .wl-hero .wl-btn { flex: 1 1 0; padding: 15px 8px; font-size: 15px; border-radius: 16px; white-space: nowrap; }
  .wl-hero-art { width: 100%; }
  .wl-hero-frame { -webkit-mask-image: none; mask-image: none; }
  .wl-hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,45,90,.28) 0, rgba(8,45,90,0) 34%, rgba(5,30,20,0) 80%, rgba(5,30,20,.5) 100%); }
  .wl-hero-frame img { top: 0; height: 100%; object-position: 20% 100%; transform: none !important; }
  .wl-hero-inset, .wl-chip { display: none; }
  .wl-stats { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 44px; }
  .wl-stat { padding: 20px 16px; }
  .wl-cards { grid-template-columns: 1fr; }
  .wl-split, .wl-app { grid-template-columns: 1fr; }
  .wl-split-rev .wl-split-art { order: 0; }
  .wl-app-list { grid-template-columns: 1fr; }
  .wl-contacts { grid-template-columns: 1fr; }
  .wl-phone-screen { min-height: 480px; }
  /* Лента фото — так же едет при прокрутке, снимок почти во весь экран */
  .wl-gallery { --cw: 86vw; --ch: min(58svh, 500px); }
  .wl-shot-tall { width: var(--cw); }
  .wl-gallery-sticky { padding-top: 64px; }
  .wl-gallery-head { margin-bottom: 16px; }
  .wl-gallery-head h2 { font-size: 26px; }
  .wl-shot { border-radius: 28px; }
}

/* Без движения (html.wl-still — ставит js/welcome.js при «уменьшить движение»
   в настройках телефона): лента фото — обычная прокрутка пальцем вбок */
html.wl-still .wl-gallery { height: auto !important; }
html.wl-still .wl-gallery-sticky { position: static; height: auto; display: block; padding-top: 0; }
html.wl-still .wl-track { width: auto; padding: 0 var(--pad) 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
html.wl-still .wl-shot { scroll-snap-align: center; }
html.wl-still .wl-gal-bar { display: none; }

/* ---- Слабый телефон и «без анимаций» ---- */
html.lite body::before, html.lite .wl-chip, html.lite .wl-pulse, html.lite .wl-btn-main::before, html.lite .wl-marquee-track { animation: none; }
html.lite .wl-top.on, html.lite .wl-stat, html.lite .wl-card, html.lite .wl-chip, html.lite .wl-btn-glass, html.lite .wl-final, html.lite .wl-shot figcaption {
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
html.lite .wl-top.on { background: rgba(255,255,255,.96); }
html.lite .wl-reveal { filter: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before, .wl-chip, .wl-pulse, .wl-btn-main::before, .wl-marquee-track { animation: none; }
  .wl-reveal { opacity: 1; transform: none; filter: none; transition: none; }
}
