/* =========================================================
   LEVEL GYM — стили сайта
   Тёмная тема, тёплый «неоновый» янтарный акцент.
   ========================================================= */
:root {
    --bg: #0b0a09;
    --bg-2: #110f0d;
    --surface: rgba(255, 255, 255, .035);
    --surface-2: rgba(255, 255, 255, .06);
    --line: rgba(255, 196, 120, .14);
    --line-strong: rgba(255, 196, 120, .38);
    --text: #f5efe6;
    --muted: #a79f94;
    --accent: #ffb85c;
    --accent-2: #ffd9a0;
    --accent-deep: #c9831f;
    --glow: 255, 176, 90;
    --radius: 18px;
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-head: "Oswald", "Inter", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 5000; background: var(--accent); color: #1a1208; padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

.ico { display: inline-flex; width: 20px; height: 20px; flex: none; }
.ico svg, .feature-ico svg, .brand-mark { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico svg { width: 100%; height: 100%; }

/* ---------- HEADER ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h); transition: background .3s, box-shadow .3s; background: linear-gradient(180deg, rgba(11, 10, 9, .75), rgba(11, 10, 9, 0)); }
.site-header.scrolled { background: rgba(11, 10, 9, .94); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 38px; height: 38px; color: var(--accent); stroke-width: 1.9; filter: drop-shadow(0 0 6px rgba(var(--glow), .75)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-main { font-family: var(--font-head); font-weight: 700; font-size: 24px; letter-spacing: .12em; }
.brand-main b { color: var(--accent); font-weight: 700; text-shadow: 0 0 14px rgba(var(--glow), .55); }
.brand-sub { font-size: 9px; letter-spacing: .26em; color: var(--accent); margin-top: 6px; opacity: .9; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #e8e1d6; padding: 8px 0; position: relative; transition: color .25s; white-space: nowrap; }
.nav a:not(.nav-phone)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--accent); box-shadow: 0 0 10px rgba(var(--glow), .8); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a.active { color: var(--accent); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--accent) !important; border: 1px solid var(--line-strong); padding: 8px 14px !important; border-radius: 999px; letter-spacing: .04em !important; }
.nav-phone:hover { background: rgba(var(--glow), .12); }
.nav-phone .ico { width: 16px; height: 16px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .04); }
.lang-switch button { padding: 6px 11px; font-size: 12px; font-weight: 700; letter-spacing: .08em; border-radius: 999px; color: var(--muted); transition: background .25s, color .25s; }
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-pressed="true"] { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #1a1208; box-shadow: 0 0 14px rgba(var(--glow), .35); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 32px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .04em; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; }
.btn-gold { background: linear-gradient(135deg, var(--accent-2), var(--accent) 45%, var(--accent-deep)); color: #1a1208; box-shadow: 0 6px 26px rgba(var(--glow), .32); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 34px rgba(var(--glow), .55); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--accent-2); background: rgba(11, 10, 9, .55); }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(var(--glow), .12); border-color: var(--accent); }

/* ---------- HERO (неон) ---------- */
/* Фото показываем в натуральных пропорциях (без зума и обрезки): высота hero = высота фото + запас под текст */
.hero { position: relative; min-height: max(calc(min(100vw, 1731px) * .5251), calc(min(100vw, 1731px) * .31 + 304px)); display: flex; align-items: flex-end; padding: calc(var(--header-h) + 24px) 0 36px; overflow: hidden; background: var(--bg); isolation: isolate; }
.neon-stage { --sx: 52%; --sy: 41%; position: absolute; top: 0; left: 50%; width: min(100%, 1731px); aspect-ratio: 1731 / 909; transform: translateX(-50%); z-index: -2; overflow: hidden; }
@media (min-width: 1732px) {
    /* на очень широких экранах края фото уходят в фон страницы (обычный градиент вместо тяжёлой маски) */
    .neon-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--bg) 0, rgba(11, 10, 9, 0) 10%, rgba(11, 10, 9, 0) 90%, var(--bg) 100%); }
}
.neon-stage .layer { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: fill; }

/* Неон. Свечение — готовые картинки (img/glow, запечены из фото скриптом tools/bake_glow.py).
   Тёплый белый ↔ мягкое золото плавно перетекают друг в друга, поверх — моргание и блик на стекле.
   Анимируются только opacity и transform: это работает на видеокарте и почти не грузит процессор.
   Раньше здесь были живые CSS-фильтры (blur/contrast/mask/blend) на каждом кадре — из-за них сайт подвисал. */
.neon-stage .glow { position: absolute; inset: 0; background-size: 100% 100%; background-repeat: no-repeat; opacity: 0; pointer-events: none; will-change: opacity; }
.neon-stage .h-amber { background-image: url("../img/glow/halo-amber.webp?v=c"); opacity: .45; animation: hueAmber 14s ease-in-out infinite; }
.neon-stage .h-gold  { background-image: url("../img/glow/halo-gold.webp?v=c"); animation: hueGold 14s ease-in-out infinite; }
.neon-stage .b-amber { background-image: url("../img/glow/bloom-amber.webp?v=c"); opacity: .3; animation: hueAmber 14s ease-in-out infinite; }
.neon-stage .b-gold  { background-image: url("../img/glow/bloom-gold.webp?v=c"); animation: hueGold 14s ease-in-out infinite; }
@keyframes hueAmber { 0%, 30% { opacity: .5; } 50%, 80% { opacity: .1; } 100% { opacity: .5; } }
@keyframes hueGold  { 0%, 30% { opacity: .06; } 50%, 80% { opacity: .5; } 100% { opacity: .06; } }

/* блик на стекле: полоса света едет по панели (transform — без перерисовки) */
.neon-stage .sheen { position: absolute; left: 23.2%; top: 16.8%; width: 57.7%; height: 48.4%; border-radius: 2.2% / 4.2%; overflow: hidden; pointer-events: none; }
.neon-stage .sheen::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 220%; transform: translateX(-32%); will-change: transform; animation: sheen 18s ease-in-out infinite;
    background: linear-gradient(100deg, transparent 34%, rgba(255, 240, 215, .02) 44%, rgba(255, 246, 230, .055) 50%, rgba(255, 240, 215, .02) 56%, transparent 66%); }
@keyframes sheen { 0%, 70% { transform: translateX(-32%); } 100% { transform: translateX(32%); } }

/* моргание: тёмная вуаль поверх всей сцены (трубка и стена «проседают» одновременно) */
.neon-stage .dim { position: absolute; inset: 0; background: #0b0a09; opacity: 0; pointer-events: none; will-change: opacity; animation: neonPowerOn 1.2s ease-out 1, neonDim 50s linear 3s infinite; }
/* включение при загрузке — один мягкий «запуск»; дальше редкое моргание: пара коротких проседаний раз в ~50 секунд */
@keyframes neonPowerOn {
    0% { opacity: .85; } 18% { opacity: .25; } 32% { opacity: .55; } 50%, 100% { opacity: 0; }
}
@keyframes neonDim {
    0%, 70%, 70.8%, 71.6%, 72.4%, 100% { opacity: 0; }
    70.3% { opacity: .22; } 71.9% { opacity: .15; }
}
/* когда hero не виден (прокрутили вниз) или вкладка в фоне — анимации стоят (JS добавляет .paused) */
.hero.paused *, .hero.paused *::before { animation-play-state: paused !important; }
/* низ фото плавно уходит в фон страницы, сверху лёгкое затемнение под шапкой */
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(180deg, rgba(11, 10, 9, .6) 0, rgba(11, 10, 9, 0) calc(var(--header-h) + 14px)),
        linear-gradient(180deg, transparent 0, transparent calc(min(100vw, 1731px) * .34), rgba(11, 10, 9, .62) calc(min(100vw, 1731px) * .41), var(--bg) calc(min(100vw, 1731px) * .49)); }

.hero-content { max-width: 980px; margin: 0 auto; text-align: center; animation: rise 1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; margin-bottom: 16px; text-shadow: 0 0 16px rgba(var(--glow), .6); }
.eyebrow::before, .eyebrow::after { content: ""; width: 44px; height: 2px; background: var(--accent); box-shadow: 0 0 12px rgba(var(--glow), .9); }
.hero h1 { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; letter-spacing: .02em; text-shadow: 0 2px 30px rgba(0, 0, 0, .6); max-width: 860px; margin: 0 auto; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }

/* полоса преимуществ под hero */
.strip { padding: 8px 0 0; position: relative; z-index: 2; }
.strip-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.strip-list li { position: relative; padding: 18px 20px 18px 62px; border-radius: 16px; border: 1px solid var(--line); background: rgba(22, 20, 17, .92); color: #e6dfd3; font-size: 15px; font-weight: 500; line-height: 1.45; }
.strip-list li::before { content: ""; position: absolute; left: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(var(--glow), .1); box-shadow: 0 0 18px rgba(var(--glow), .2); }
.strip-list li::after { content: ""; position: absolute; left: 30px; top: 50%; width: 9px; height: 5px; margin-top: -4px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.open-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(11, 10, 9, .7); font-size: 13px; font-weight: 600; color: #e6dfd3; }
.open-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #8a8378; }
.open-badge.is-open .dot { background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: pulse 2s infinite; }
.open-badge.is-closed .dot { background: #f87171; box-shadow: 0 0 10px #f87171; }
@keyframes pulse { 50% { opacity: .45; } }


/* ---------- SECTIONS ---------- */
.section { padding: 104px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg-2)); }
.section-alt::before, .section-alt::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.section-alt::before { top: 0; } .section-alt::after { bottom: 0; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head .rule { display: block; width: 64px; height: 3px; margin: 0 auto 22px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 18px rgba(var(--glow), .9), 0 0 4px var(--accent); }
.section-head h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(30px, 4.4vw, 50px); letter-spacing: .05em; text-transform: uppercase; line-height: 1.15; }
.section-sub { color: var(--muted); max-width: 640px; margin: 14px auto 0; font-size: 16px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, background .35s; }
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--surface-2); box-shadow: 0 18px 44px rgba(0, 0, 0, .45), 0 0 34px rgba(var(--glow), .08); }
.card h3 { font-family: var(--font-head); font-weight: 600; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { text-align: left; }
.feature-ico { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 16px; margin-bottom: 20px; color: var(--accent); border: 1px solid var(--line-strong); background: radial-gradient(circle at 30% 20%, rgba(var(--glow), .22), rgba(var(--glow), .03)); box-shadow: 0 0 24px rgba(var(--glow), .15); }
.feature-ico svg { width: 28px; height: 28px; }

/* ---------- ГАЛЕРЕЯ (мозаика) ---------- */
/* Ровная сетка: обычные кадры 3:4, горизонтальные (.wide) занимают 2 колонки, .big — 2x2 */
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 14px; }
.masonry-item { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: #171513; border: 1px solid var(--line); cursor: zoom-in; transition: border-color .3s, box-shadow .3s; }
.masonry-item.wide { grid-column: span 2; aspect-ratio: 3 / 2; }
.masonry-item.big { grid-column: span 2; grid-row: span 2; aspect-ratio: 1 / 1; }
/* когда JS посчитал высоту строки (--row), плитки стыкуются идеально по сетке */
.masonry.rows { grid-auto-rows: var(--row); }
.masonry.rows .masonry-item, .masonry.rows .masonry-item.wide, .masonry.rows .masonry-item.big { aspect-ratio: auto; }
.masonry-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s, transform .7s var(--ease); }
.masonry-item img.loaded { opacity: 1; }
.masonry-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 10, 9, .55)); opacity: 0; transition: opacity .3s; pointer-events: none; }
.masonry-item:hover { border-color: var(--line-strong); box-shadow: 0 0 30px rgba(var(--glow), .18); }
.masonry-item:hover img { transform: scale(1.05); }
.masonry-item:hover::after { opacity: 1; }
.masonry-item.is-hidden { display: none; }
.more-wrap { text-align: center; margin-top: 30px; }

/* ---------- LEVEL BAR / МЕНЮ ---------- */
.bar-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 34px; align-items: stretch; }
.masonry-2 { grid-template-columns: repeat(2, 1fr); }
.masonry-2 .masonry-item { aspect-ratio: 1 / 1; }
.masonry-2 .masonry-item.wide { aspect-ratio: 2 / 1; }

.menu-card { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 38px 34px 34px; border-radius: 22px; background: radial-gradient(120% 70% at 50% 0%, rgba(var(--glow), .09), transparent 60%), #0e0d0b; border: 1px solid var(--line-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 50px rgba(var(--glow), .07); }
.menu-card::before { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(var(--glow), .25); border-radius: 16px; pointer-events: none; }
.menu-head { text-align: center; margin-bottom: 26px; }
.menu-head h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: .06em; color: var(--accent); text-transform: uppercase; text-shadow: 0 0 22px rgba(var(--glow), .45); }
.menu-mascot { width: 210px; height: auto; margin: 0 auto 8px; filter: drop-shadow(0 0 22px rgba(var(--glow), .25)); }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; position: relative; }
.menu-group { display: grid; grid-template-columns: 70px 1fr; column-gap: 14px; align-content: start; }
.menu-pic { grid-row: 1 / span 4; width: 70px; height: auto; align-self: start; }
.menu-group h4 { font-family: var(--font-head); font-weight: 600; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.menu-price { font-weight: 800; font-size: 15px; margin: 4px 0 8px; color: var(--text); }
.menu-group ul { color: #ddd5c8; font-size: 15px; }
.menu-group li { padding: 3px 0 3px 14px; position: relative; }
.menu-group li::before { content: ""; position: absolute; left: 0; top: .95em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(var(--glow), .8); }
.menu-priced li { display: flex; justify-content: space-between; gap: 10px; }
.menu-priced b { color: var(--accent-2); font-weight: 700; white-space: nowrap; }

/* ---------- ЦЕНЫ ---------- */
.gender-switch { display: flex; justify-content: center; gap: 10px; margin: -24px 0 34px; }
.pill { padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--accent); font-weight: 700; transition: background .25s, color .25s; }
.pill:hover, .pill.active { background: var(--accent); color: #1a1208; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.plan { text-align: center; padding: 38px 22px; }
.price-val { font-family: var(--font-head); font-weight: 600; font-size: 34px; letter-spacing: .02em; color: var(--accent); margin: 14px 0; text-shadow: 0 0 22px rgba(var(--glow), .35); }
.plan.featured { grid-column: 1 / -1; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; text-align: left; padding: 36px 44px; margin-top: 10px; background: linear-gradient(120deg, rgba(var(--glow), .14), rgba(var(--glow), .03) 60%), var(--surface); border-color: var(--line-strong); box-shadow: 0 0 60px rgba(var(--glow), .12); }
.plan.featured .price-val { font-size: clamp(40px, 5vw, 58px); margin: 0; }
.plan.featured h3 { font-size: 28px; }
.popular-badge { position: absolute; top: -15px; left: 40px; display: flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 999px; background: linear-gradient(135deg, var(--accent-2), var(--accent), var(--accent-deep)); color: #1a1208; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; box-shadow: 0 6px 22px rgba(var(--glow), .4); }
.popular-badge .pct { font-family: var(--font-head); font-size: 16px; }

/* ---------- КОНТАКТЫ ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 34px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, background .25s, transform .25s var(--ease); min-width: 0; }
a.contact-row:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateX(4px); }
.contact-row .ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--accent); background: rgba(var(--glow), .08); }
.contact-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.contact-text small { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.contact-text strong { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.contact-phone .contact-text strong { font-family: var(--font-head); font-size: 26px; letter-spacing: .04em; color: var(--accent-2); }

.hours { padding: 20px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.hours h3 { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.hours h3 .ico { width: 22px; height: 22px; color: var(--accent); }
.hours li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); }
.hours li:first-child { border-top: 0; }
.hours li b { color: var(--text); font-weight: 600; }
.hours li.today { color: var(--accent-2); }
.hours li.today b { color: var(--accent); }

.map-box { display: flex; flex-direction: column; gap: 14px; }
.map-frame { position: relative; flex: 1; min-height: 420px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-strong); background: #15120f; box-shadow: 0 0 40px rgba(var(--glow), .08); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(100%) invert(92%) contrast(83%); }
.map-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.map-btn { width: 100%; }

/* ---------- FOOTER ---------- */
.site-footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-left { font-weight: 600; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-btn { padding: 8px 12px; border-radius: 8px; font-weight: 600; color: var(--muted); transition: color .25s, background .25s; }
.footer-btn:hover { color: var(--accent); background: rgba(var(--glow), .07); }

/* ---------- LIGHTBOX ---------- */
.lightbox { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; background: rgba(8, 7, 6, .96); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.lb-figure { max-width: 92vw; max-height: 88vh; }
.lb-figure img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 0 80px rgba(var(--glow), .12); }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(11, 10, 9, .7); color: var(--accent-2); font-size: 26px; line-height: 1; display: grid; place-items: center; transition: background .2s, transform .2s; }
.lb-btn:hover { background: rgba(var(--glow), .2); }
.lb-close { top: 18px; right: 18px; font-size: 20px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 13px; letter-spacing: .14em; }

/* ---------- LEGAL MODALS ---------- */
dialog.modal { margin: auto; padding: 0; width: calc(100% - 32px); max-width: 760px; max-height: 86vh; color: var(--muted); background: #0d0c0a; border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); overflow: hidden; }
dialog.modal::backdrop { background: rgba(0, 0, 0, .78); }
.modal-content { position: relative; max-height: 86vh; overflow: auto; padding: 30px 28px 26px; }
.modal-content h3 { color: var(--text); font-family: var(--font-head); font-size: 26px; letter-spacing: .04em; padding-right: 36px; margin-bottom: 6px; }
.modal-content h4 { color: var(--accent-2); margin: 18px 0 6px; font-size: 16px; }
.modal-content p, .modal-content li { margin-bottom: 8px; font-size: 15px; }
.modal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 8px; }
.modal-content a { color: var(--accent); text-decoration: underline; }
.modal-date { color: var(--accent); font-weight: 600; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); font-size: 18px; transition: background .2s, color .2s; }
.modal-close:hover { background: rgba(var(--glow), .15); color: var(--accent); }

/* ---------- ПОЯВЛЕНИЕ ПРИ СКРОЛЛЕ ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1180px) {
    .nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 24px 22px; background: rgba(11, 10, 9, .97); border-bottom: 1px solid var(--line-strong); box-shadow: 0 30px 50px rgba(0, 0, 0, .5); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
    .nav.open { transform: none; opacity: 1; visibility: visible; }
    .nav a { padding: 14px 4px; font-size: 15px; border-bottom: 1px solid var(--line); }
    .nav a::after { display: none; }
    .nav-phone { justify-content: center; margin-top: 12px; border-bottom: 1px solid var(--line-strong) !important; }
    .menu-toggle { display: flex; }
}
@media (max-width: 1100px) {
    .masonry { grid-template-columns: repeat(3, 1fr); }
    .cards-4 { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .bar-layout { grid-template-columns: 1fr; }
    .masonry-2 { grid-template-columns: repeat(3, 1fr); }
    .masonry-2 .masonry-item.wide { aspect-ratio: 2 / 1; }
    .contact-layout { grid-template-columns: 1fr; }
    .map-frame { min-height: 380px; }
}
@media (max-width: 760px) {
    :root { --header-h: 64px; }
    .container { padding: 0 18px; }
    .section { padding: 72px 0; }
    .section-head { margin-bottom: 38px; }
    .brand-sub { display: none; }
    .brand-main { font-size: 20px; }
    .brand-mark { width: 32px; height: 32px; }
    .lang-switch button { padding: 6px 9px; font-size: 11px; }

    /* hero: фото целиком (с дипломами слева), без зума; текст ниже на тёмном фоне */
    .hero { min-height: 0; display: block; padding: calc(var(--header-h) + 52.5vw - 30px) 0 28px; }
    .neon-stage { top: var(--header-h); left: 0; width: 100%; transform: none; --sx: 52%; --sy: 41%; }
    .hero-shade { background: linear-gradient(180deg, rgba(11, 10, 9, .85) 0, rgba(11, 10, 9, 0) calc(var(--header-h) + 10px)), linear-gradient(180deg, transparent 0, transparent calc(var(--header-h) + 36vw), var(--bg) calc(var(--header-h) + 52.5vw)); }
    .hero h1 { font-size: 26px; }
    .eyebrow { margin-bottom: 10px; font-size: 11px; letter-spacing: .28em; gap: 10px; }
    .eyebrow::before, .eyebrow::after { width: 22px; }
    .hero-actions { margin-top: 16px; gap: 10px; }
    .hero-actions .btn { flex: 1 1 auto; padding: 13px 18px; font-size: 14px; }
    .hero-actions .btn-gold { flex-grow: 1.5; }
    .open-badge { margin-top: 2px; }
    .strip-list { grid-template-columns: 1fr; }

    .cards-4, .pricing-grid { grid-template-columns: 1fr; }
    .masonry, .masonry-2 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .masonry-item { border-radius: 12px; }
    .masonry-item.big { grid-row: span 1; aspect-ratio: 4 / 3; }

    .menu-card { padding: 30px 18px 26px; }
    .menu-cols { grid-template-columns: 1fr; gap: 26px; }
    .menu-mascot { width: 170px; }

    .plan.featured { flex-direction: column; align-items: flex-start; padding: 40px 24px 28px; }
    .popular-badge { left: 24px; }
    .gender-switch { margin-top: 0; }

    .footer-inner { flex-direction: column; align-items: flex-start; }
    .lb-prev { left: 8px; } .lb-next { right: 8px; }
    .lb-btn { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
    .neon-stage .h-amber { opacity: .4; } .neon-stage .b-amber { opacity: .3; } .neon-stage .sheen { display: none; }
}
