/* =====================================================================
   Satellite template — Шаг 1.
   Цвета/шрифты/радиус НЕ заданы здесь жёстко — они приходят из site.json
   как CSS-переменные (см. layout.php -> View::cssVars). Поэтому один JSON
   меняет весь вид, и разные site.json дают разные сайты на этом же CSS.
   ===================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg, #101317);
    color: var(--text, #e9ecea);
    font-family: var(--font-body, system-ui, sans-serif);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display, inherit); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.muted { color: var(--muted, #8f9a97); }
.lead { font-size: 1.12rem; color: var(--muted, #8f9a97); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    cursor: pointer; font-family: var(--font-display, inherit); font-weight: 600; font-size: .95rem;
    padding: 11px 20px; border-radius: var(--radius, 12px);
    border: 1px solid var(--line, rgba(255,255,255,.1)); background: var(--surface-2, #21262e); color: var(--text, #fff);
    transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent, #22e0b1); color: var(--accent-ink, #06251c); border-color: transparent; }
.btn-primary:hover { background: var(--accent-2, #16b892); }
.btn-small { padding: 8px 14px; font-size: .85rem; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
:focus-visible { outline: 2px solid var(--accent, #22e0b1); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg, #101317) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line, rgba(255,255,255,.08)); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display, inherit); font-weight: 700; font-size: 1.15rem; }
.brand-mark { color: var(--accent, #22e0b1); }
.site-nav { display: flex; align-items: center; gap: 1.2rem; font-weight: 500; }
.site-nav a { color: var(--muted, #8f9a97); transition: color .12s ease; }
.site-nav a:hover { color: var(--text, #fff); }
.site-nav a.btn-primary { color: var(--accent-ink, #06251c); }

/* Footer */
.site-footer { margin-top: 80px; border-top: 1px solid var(--line, rgba(255,255,255,.08)); background: var(--surface, #191d23); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; padding-block: 30px; flex-wrap: wrap; }
.footer-note { font-size: .85rem; max-width: 420px; }
.footer-note a { color: var(--accent, #22e0b1); }

/* Sections */
.section { padding-block: 60px; }
.section-head-center { text-align: center; max-width: 720px; margin: 0 auto 34px; }
.section-head-center h2 { font-size: 1.8rem; }

/* Hero */
.hero { position: relative; padding-block: 96px 72px; border-bottom: 1px solid var(--line, rgba(255,255,255,.08));
    background: linear-gradient(180deg, var(--surface-2, #21262e), var(--bg, #101317)); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: var(--hero-img, none); background-size: cover; background-position: center; opacity: .18; }
.hero-inner { position: relative; max-width: 720px; }
.hero-title { font-size: clamp(2.2rem, 6vw, 3.8rem); letter-spacing: -.02em; margin-bottom: .2em; }
.hero-hl { color: var(--accent, #22e0b1); }
.hero-suffix { font-size: 1.15rem; color: var(--muted, #8f9a97); margin-bottom: 1.6rem; }

/* USP grid */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.usp-card { background: var(--surface, #191d23); border: 1px solid var(--line, rgba(255,255,255,.08)); border-radius: var(--radius, 14px); padding: 22px; text-align: center; }
.usp-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; font-size: 1.3rem; margin-bottom: 12px; }
.usp-card h3 { font-size: 1.05rem; }
.usp-card p { font-size: .92rem; color: var(--muted, #8f9a97); margin: 0; }

/* Video */
.video-frame { position: relative; max-width: 860px; margin: 0 auto; aspect-ratio: 16/9; border-radius: var(--radius, 14px); overflow: hidden; border: 1px solid var(--line, rgba(255,255,255,.08)); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line, rgba(255,255,255,.08)); border-radius: var(--radius, 12px); background: var(--surface, #191d23); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: none; border: 0; color: var(--text, #fff); font-size: 1rem; font-weight: 500; cursor: pointer; text-align: left; font-family: var(--font-body, inherit); }
.faq-icon { color: var(--accent, #22e0b1); font-size: 1.3rem; line-height: 1; transition: transform .18s ease; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .22s ease; }
.faq-a p { padding: 0 18px 16px; margin: 0; color: var(--muted, #8f9a97); }

/* CTA / products */
.section-cta { display: flex; justify-content: center; }
.cta-box { text-align: center; background: var(--surface, #191d23); border: 1px solid var(--line, rgba(255,255,255,.08)); border-radius: var(--radius, 14px); padding: 44px 30px; max-width: 720px; width: 100%; }
.cta-box h2 { font-size: 1.7rem; }


/* === 18+ Age Gate === */
.age-gate {
    position: fixed; inset: 0; z-index: 100; padding: 20px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10,12,14,.92);
    background: color-mix(in srgb, var(--bg, #101317) 92%, black);
    backdrop-filter: blur(6px);
}
.age-card {
    background: var(--surface, #191d23);
    border: 1px solid var(--line, rgba(255,255,255,.1));
    border-radius: var(--radius, 14px);
    padding: 34px 30px; max-width: 440px; width: 100%; text-align: center;
}
.age-card h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.age-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.age-no { background: transparent; color: var(--muted, #8f9a97); border-color: var(--line, rgba(255,255,255,.12)); }



@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; transition: none !important; } }
