:root {
    --bg: #071018;
    --bg-2: #0c1828;
    --panel: rgba(10, 20, 36, 0.78);
    --ink: #f4f7fb;
    --muted: #b7c4d4;
    --line: rgba(92, 176, 255, 0.38);
    --blue: #2f9bff;
    --blue-2: #69beff;
    --blue-deep: #0c4f93;
    --card: linear-gradient(180deg, rgba(18, 40, 68, 0.72), rgba(8, 16, 30, 0.88));
    --shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
    --sans: "Manrope", "Segoe UI", sans-serif;
    --cut: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
    margin: 0;
    overflow-x: clip;
    max-width: 100%;
    background:
        radial-gradient(900px 420px at 100% -10%, rgba(47, 155, 255, 0.16), transparent 55%),
        var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.8rem); }
.hero h1 { font-size: clamp(3rem, 6.4vw, 6.4rem); max-width: none; }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.02em; }
p { margin: 0 0 0.8em; }
button, input, textarea { font: inherit; color: inherit; }

.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 32px)); margin: 0 auto; }
.skip { position: absolute; left: 12px; top: -40px; background: var(--blue); color: #041018; padding: 8px 12px; }
.skip:focus { top: 8px; z-index: 20; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }

.topbar { background: #050910; color: #9eafc2; font-size: 0.8rem; letter-spacing: 0.04em; }
.topbar-row, .header-row, .footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    min-width: 0;
}
.topbar-row { min-height: 34px; }
.topbar-row p { min-width: 0; margin: 0; }
.topbar p { margin: 0; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(7, 16, 24, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-row { min-height: 72px; }
.logo { display: flex; gap: 10px; align-items: center; text-decoration: none; min-width: 0; }
.logo-mark { width: 36px; height: 36px; display: block; flex: none; }
.logo-words { display: flex; flex-direction: column; line-height: 1; }
.logo-words strong { font-size: 0.92rem; letter-spacing: 0.08em; font-weight: 800; }
.logo-words small { color: var(--muted); margin-top: 4px; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.68rem; }

.site-nav { display: flex; gap: 18px; }
.site-nav a { text-decoration: none; color: #d5deea; font-weight: 600; font-size: 0.95rem; }
.site-nav a.is-active, .site-nav a:hover { color: var(--blue-2); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { text-decoration: none; font-weight: 700; white-space: nowrap; }
.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    padding: 8px 12px;
    clip-path: var(--cut);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 800;
    clip-path: var(--cut);
    background: transparent;
    color: var(--ink);
}
.btn-ink, .btn-ember { background: linear-gradient(180deg, #49adff, #1d86ee); color: #041018; }
.btn-ink:hover, .btn-ember:hover { background: #69beff; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover, .btn-on-dark:hover { background: rgba(47, 155, 255, 0.16); }
.btn-small, .nav-toggle {
    padding: 8px 14px;
    font-size: 0.9rem;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}
.nowrap { white-space: nowrap; }
.count {
    min-width: 1.3em;
    height: 1.3em;
    background: #041018;
    color: var(--blue-2);
    font-size: 0.75rem;
    display: inline-grid;
    place-items: center;
}
.count[hidden] { display: none; }
.text-link { font-weight: 800; color: var(--blue-2); }

.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px 0 0;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img,
.hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-bg video { position: absolute; inset: 0; }
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 10, 18, 0.55) 0%, rgba(5, 10, 18, 0.22) 34%, rgba(5, 10, 18, 0.04) 58%, rgba(5, 10, 18, 0) 100%),
        linear-gradient(180deg, rgba(5, 10, 18, 0.18) 0%, rgba(5, 10, 18, 0) 28%, rgba(5, 10, 18, 0.28) 100%);
}
.hero .wrap { width: min(1520px, calc(100% - 40px)); }
.hero-inner { position: relative; z-index: 1; max-width: none; padding-bottom: 36px; padding-left: 15px; }
.hero h1 span { color: var(--blue); }
.eyebrow {
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--blue-2);
}
.eyebrow::before { content: ""; display: inline-block; width: 2px; height: 0.9em; margin-right: 8px; background: var(--blue); vertical-align: -0.1em; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 46rem; }
.hero .lede { max-width: 62rem; font-size: 1.2rem; }
.hero-place { color: #d5deea; font-weight: 700; }
.hero-plate {
    display: inline-grid;
    gap: 2px;
    margin: 8px 0 18px;
    padding: 14px 22px 14px 18px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: inset 0 0 24px rgba(47, 155, 255, 0.12), var(--shadow);
    clip-path: var(--cut);
}
.hero-plate span { color: var(--muted); font-size: 0.92rem; }
.hero-plate strong { font-size: 2.4rem; letter-spacing: -0.04em; color: var(--blue); line-height: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 18px; }
.hero .btn-ghost { background: rgba(5, 10, 18, 0.62); border-color: rgba(210, 225, 240, 0.55); }
.hero-foot {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 0 18px;
    color: #c5d0dc;
    font-size: 0.92rem;
}
.hero-foot span { display: inline-flex; align-items: center; gap: 8px; }
.hero-foot span::before { content: ""; width: 7px; height: 7px; flex: none; background: var(--blue); transform: rotate(45deg); }

.marquee { overflow: hidden; border-block: 1px solid rgba(92, 176, 255, 0.2); background: #08111b; }
.marquee-track { display: flex; width: max-content; animation: slide 28s linear infinite; }
.marquee-group { display: flex; flex: none; gap: 32px; padding: 12px 32px 12px 0; }
.marquee span { font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: #8ea0b5; font-size: 0.82rem; white-space: nowrap; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding: 72px 0; }
.section-tight { padding-top: 12px; }
.section-head { margin-bottom: 22px; }
.section-head.split { display: flex; justify-content: space-between; align-items: end; gap: 16px; }

.stage { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: stretch; }
.stage-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
}
.stage-list .stage-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.stage-row strong { display: block; font-size: 1.12rem; }
.stage-row small { color: var(--muted); }
.stage-num { font-weight: 800; color: var(--blue); }
.stage-go { opacity: 0; transition: 0.2s ease; }
.stage-row.is-on, .stage-row:hover { background: rgba(47, 155, 255, 0.08); }
.stage-row.is-on .stage-go, .stage-row:hover .stage-go { opacity: 1; }
.stage-photo { margin: 0; position: relative; min-height: 460px; }
.stage-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: var(--cut); }
.stage-photo figcaption, .hero-photo figcaption {
    position: absolute;
    left: 14px;
    bottom: 14px;
    margin: 0;
    background: rgba(5, 10, 18, 0.82);
    border: 1px solid var(--line);
    padding: 8px 12px;
    font-size: 0.85rem;
}

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card, .ways article, .aside-card, .contact-card, .price-row, .hero-plate, .points article, .steps li {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: inset 0 0 20px rgba(47, 155, 255, 0.06);
}
.card {
    padding: 12px;
    display: flex;
    flex-direction: column;
    clip-path: var(--cut);
}
.card-media { display: block; overflow: hidden; margin-bottom: 10px; }
.card-media img { aspect-ratio: 16/7; max-height: 112px; object-fit: cover; width: 100%; object-position: center; }
.card h3 { font-size: 1.02rem; letter-spacing: -0.02em; line-height: 1.3; }
.card h3 a, .price-row h2 a { text-decoration: none; }
.card h3 a:hover, .price-row h2 a:hover { color: var(--blue-2); }
.card-cat { margin: 0 0 6px; color: var(--blue-2); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.card-price, .product-price { font-weight: 800; color: var(--blue); }
.card-price { font-size: 1.05rem; margin: auto 0 4px; }
.product-price { font-size: 2rem; margin: 8px 0; }
.card-opt, .note { color: var(--muted); font-size: 0.9rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.band, .cta {
    background:
        linear-gradient(120deg, rgba(47, 155, 255, 0.16), transparent 42%),
        #0c1828;
    border: 1px solid var(--line);
    clip-path: var(--cut);
}
.band { padding: 28px 32px 32px; display: grid; grid-template-columns: 1fr; gap: 18px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.steps li, .points article, .ways article { padding: 16px; clip-path: var(--cut); }
.steps span, .points span { color: var(--blue); font-weight: 800; }
.steps p, .points p { color: var(--muted); font-size: 0.92rem; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.news-teaser, .about-grid, .pay, .contacts, .form-layout, .legal, .product {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: start;
}
.news-teaser, .about-grid, .pay { align-items: center; }
.news-teaser img, .about-grid img, .pay img, .product-photo img, .article img, .split-photo img {
    width: 100%;
    object-fit: cover;
    clip-path: var(--cut);
}
.news-teaser img, .product-photo img, .pay img { min-height: 300px; }
.cta {
    padding: 32px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
}
.cta p { color: var(--muted); max-width: 38rem; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.page-hero { padding: 42px 0 8px; }
.crumb { display: flex; gap: 8px; color: var(--muted); margin-bottom: 8px; }
.filters { display: flex; gap: 10px; margin-bottom: 14px; }
.search { flex: 1; }
.search input, .order-form input, .order-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #0b1522;
    border-radius: 0;
    padding: 12px 14px;
}
.order-form input:focus, .order-form textarea:focus, .search input:focus {
    outline: 2px solid var(--blue);
    border-color: transparent;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips a {
    text-decoration: none;
    border: 1px solid var(--line);
    padding: 7px 12px;
    color: #d5deea;
    font-size: 0.92rem;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.chips a.is-on, .chips a:hover { background: var(--blue); color: #041018; border-color: var(--blue); }
.price-list { display: grid; gap: 12px; }
.price-row {
    display: grid;
    grid-template-columns: 160px 1fr 220px;
    gap: 16px;
    align-items: center;
    padding: 12px;
    clip-path: var(--cut);
}
.price-thumb img { width: 160px; height: 110px; object-fit: cover; }
.price-row h2 { font-size: 1.15rem; letter-spacing: -0.02em; }
.price-side { text-align: right; }
.catalog-group { margin: 8px 0 28px; }
.catalog-group h2 { font-size: 1.35rem; letter-spacing: -0.03em; margin: 0 0 4px; }
.catalog-group h2 span { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.catalog-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto auto;
    gap: 14px 18px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}
.catalog-thumb { display: block; width: 220px; height: 138px; overflow: hidden; }
.catalog-thumb img { width: 220px; height: 138px; object-fit: cover; }
.catalog-row .btn { justify-self: end; }
.catalog-row h3 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.catalog-row h3 a { text-decoration: none; }
.catalog-row h3 a:hover { color: var(--blue-2); }
.catalog-price { margin: 0; text-align: right; font-weight: 800; color: var(--blue-2); white-space: nowrap; }
.catalog-price span { display: block; color: var(--muted); font-weight: 500; font-size: 0.82rem; }
.empty { padding: 24px; border: 1px dashed var(--line); }

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spec-table { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 1px solid rgba(255,255,255,.1); }
.spec-table div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.spec-table strong { flex: 1 1 auto; min-width: 0; }
.spec-table span { flex: 0 1 58%; color: var(--muted); text-align: right; }
.plain { margin: 0 0 1em; padding-left: 18px; }
.split-photo { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; }
.split-photo img { min-height: 260px; }
.legal { align-items: start; }
.contact-card, .aside-card { padding: 22px 24px; clip-path: var(--cut); }
.aside-phone { display: block; font-weight: 800; font-size: 1.6rem; text-decoration: none; margin: 8px 0; color: var(--blue); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.order-form { display: grid; gap: 12px; }
.order-form label { display: grid; gap: 6px; font-weight: 700; font-size: 0.92rem; }
.check { grid-template-columns: auto 1fr; align-items: start; font-weight: 500; }
.notice { background: rgba(47, 155, 255, 0.12); border: 1px solid var(--line); padding: 12px 14px; }
.map { overflow: hidden; border: 1px solid var(--line); min-height: 380px; clip-path: var(--cut); }
.map iframe { width: 100%; height: 420px; border: 0; }
.article { width: min(820px, calc(100% - 32px)); }
.article img { margin: 16px 0 20px; max-height: 460px; }
.news-list article { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); }

.site-footer { background: #050910; color: #c5d0dc; padding: 42px 0 18px; margin-top: 10px; border-top: 1px solid rgba(92, 176, 255, 0.2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr; gap: 22px; }
.footer-brand { font-weight: 800; color: white; font-size: 1.3rem; letter-spacing: 0.08em; }
.footer-label { color: var(--blue-2); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem; font-weight: 800; }
.site-footer a { display: block; color: white; text-decoration: none; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 22px; padding-top: 14px; color: #8ea0b5; font-size: 0.88rem; }
.footer-bottom p { margin: 0; min-width: 0; }
.footer-lead, .footer-person { color: #9aabbd; }

.toast {
    position: fixed;
    bottom: 18px;
    right: 18px;
    background: #041018;
    color: white;
    border: 1px solid var(--line);
    padding: 12px 16px;
    z-index: 30;
}

@media (max-width: 1100px) {
    .cards { grid-template-columns: 1fr 1fr; }
    .cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 980px) {
    .cards, .steps, .points, .ways { grid-template-columns: 1fr 1fr; }
    .hero-inner, .news-teaser, .about-grid, .pay, .contacts, .form-layout, .legal, .product, .band, .stage {
        grid-template-columns: 1fr;
        max-width: none;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
    .spec-table { grid-template-columns: 1fr; }
    .stage-photo { min-height: 240px; }
    .price-row { grid-template-columns: 1fr; }
    .price-side { text-align: left; }
    .catalog-row {
        grid-template-columns: 148px minmax(0, 1fr) auto;
        grid-template-areas: "thumb title title" "thumb price action";
        gap: 8px 12px;
    }
    .catalog-thumb { grid-area: thumb; width: 148px; height: 92px; }
    .catalog-thumb img { width: 148px; height: 92px; }
    .catalog-row h3 { grid-area: title; }
    .catalog-price { grid-area: price; text-align: left; }
    .catalog-row .btn { grid-area: action; justify-self: end; }
    .topbar-row p:last-child { display: none; }
    .header-phone { display: none; }
    .header-row { display: flex; flex-wrap: wrap; gap: 8px 12px; }
    .logo { flex: 0 1 auto; min-width: 0; }
    .header-actions { margin-left: auto; }
    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #071018;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        padding: 8px 16px 14px;
        z-index: 5;
    }
    .site-nav a { padding: 8px 0; }
    .site-nav.is-open { display: flex; }
    .cta { align-items: flex-start; flex-direction: column; }
    .split-photo { grid-template-columns: 1fr; }
    .hero { min-height: 0; }
}

@media (max-width: 680px) {
    .section { padding: 48px 0; }
    .cards, .cards-3, .steps, .points, .ways, .form-grid, .spec-table, .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > :first-child { grid-column: auto; }
    h1 { font-size: 2.15rem; }
    .hero h1 { font-size: clamp(1.55rem, 7.7vw, 2.05rem); }
    .hero .eyebrow { letter-spacing: 0.08em; font-size: 0.68rem; }
    .hero .wrap { width: min(1520px, calc(100% - 24px)); }
    .hero .lede { font-size: 1.02rem; }
    .hero-foot { gap: 8px 18px; }
    .wrap, .narrow, .article { width: min(1180px, calc(100% - 24px)); }
    .header-row { min-height: 64px; }
    .logo-words small { display: none; }
    .logo-words strong { font-size: 0.78rem; }
    .nav-toggle, .header-actions .btn { padding: 8px 12px; font-size: 0.86rem; }
    .hero-plate strong { font-size: 2rem; }
    .section-head.split { flex-direction: column; align-items: flex-start; gap: 8px; }
    .spec-table div { flex-direction: column; align-items: flex-start; gap: 2px; }
    .spec-table span { text-align: left; max-width: none; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
    .page-hero { padding-top: 28px; }
    .band, .contact-card, .aside-card, .cta { padding: 22px 20px; }
    .band h2 { font-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
    .hero-bg video { display: none; }
    html { scroll-behavior: auto; }
}
