@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@600;700&display=swap');

/* =========================================================
   ROOT / B2B PALETTE (ГОСТ)
========================================================= */
:root {
    --bg-main: #0b0b0b;
    --bg-soft: #0e1114;
    --bg-card: #12161a;

    --text-main: #d6dadd;
    --text-muted: #b8bec4;
    --text-soft: #9fa6ac;

    --accent: #f7a23a;
    --accent-muted: #c98a2a;

    --line-soft: rgba(255,255,255,.08);

    --h1: clamp(34px, 4.5vw, 48px);
    --h2: clamp(22px, 2.6vw, 28px);
    --h3: 17px;

    --text: 15px;
    --text-small: 14px;

    --lh-main: 1.6;
    --lh-tight: 1.4;
    
    /* ГОСТ отступы */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
}

/* =========================================================
   RESET
========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    background: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

body {
    line-height: var(--lh-main);
}

.page {
    padding-top: 88px;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */
h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--h1);
    line-height: 1.15;
    font-weight: 700;
    color: #fff;
}

h2 {
    font-size: var(--h2);
    font-weight: 600;
    line-height: var(--lh-tight);
    margin-bottom: var(--spacing-md);
    margin-top: 0;
    color: #fff;
}

h3 {
    font-size: var(--h3);
    font-weight: 600;
    color: #fff;
}

p, li {
    font-size: var(--text);
    line-height: var(--lh-main);
    margin-bottom: var(--spacing-sm);
}

p:last-child, li:last-child {
    margin-bottom: 0;
}

ul, ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

ul:last-child, ol:last-child {
    margin-bottom: 0;
}

/* Списки с желтыми полосками */
.advantages-section ul,
.notes-list,
.capabilities-list {
    list-style: none;
    padding-left: 0;
}

.advantages-section ul li,
.notes-list li,
.capabilities-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding-left: 0;
}

.advantages-section ul li::before,
.notes-list li::before,
.capabilities-list li::before {
    content: "";
    width: 3px;
    height: 20px;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.advantages-section ul li:last-child,
.notes-list li:last-child,
.capabilities-list li:last-child {
    margin-bottom: 0;
}

small {
    font-size: var(--text-small);
    color: var(--text-soft);
}

/* =========================================================
   CONTAINER
========================================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 70px) clamp(20px, 4vw, 40px);
}

/* =========================================================
   HEADER (FIXED 88px)
========================================================= */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    height: 88px;
    z-index: 1000;
    background: rgba(10,10,10,.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line-soft);
    transition: transform .4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header--hidden {
    transform: translateY(-100%);
}

.header .container {
    padding-top: 0;
    padding-bottom: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
}

.logo a {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

/* =========================================================
   NAV (DESKTOP)
========================================================= */
.nav {
    display: flex;
    gap: 26px;
}

.nav a {
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-soft);
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: var(--accent);
    opacity: 0;
}

.nav a.active,
.nav a:hover {
    color: #fff;
}

.nav a.active::after,
.nav a:hover::after {
    opacity: 1;
    transition: opacity .2s ease;
}

/* =========================================================
   BURGER
========================================================= */
.burger {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.burger span {
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
}

/* =========================================================
   HEADER CTA
========================================================= */
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 26px;
    background: linear-gradient(135deg, var(--accent), #ffb347);
    color: #111;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
    position: relative;
    transition: all .3s ease;
    box-shadow: 0 0 0 rgba(247, 162, 58, 0);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(247, 162, 58, 0.5), 0 0 30px rgba(247, 162, 58, 0.3);
}

.header-cta::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), #ffb347);
    opacity: 0;
    z-index: -1;
    filter: blur(8px);
    transition: opacity .3s ease;
}

.header-cta:hover::before {
    opacity: 0.6;
}

/* =========================================================
   HERO
========================================================= */
.hero {
    position: relative;
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(0,0,0,.78), rgba(0,0,0,.58)),
        url("09850d78768c4ea84e25f8aa84a5db06.jpg") center / cover no-repeat;
    z-index: 1;
}

/* Уменьшенный фон для внутренних страниц */
.hero-inner {
    min-height: 300px;
}

.hero-inner::before {
    background:
        linear-gradient(120deg, rgba(0,0,0,.85), rgba(0,0,0,.75)),
        url("09850d78768c4ea84e25f8aa84a5db06.jpg") center / cover no-repeat;
    opacity: 0.4;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

/* =========================================================
   SECTIONS / BOXES
========================================================= */
.section-box {
    background: linear-gradient(180deg, #0e1114, #0b0d10);
    border-left: 3px solid var(--accent);
    border-radius: 12px;
    padding: clamp(28px, 4vw, 50px);
    margin-bottom: 70px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.03),
        0 20px 50px rgba(0,0,0,.7);
}

/* Желтые полоски для заголовков в section-box */
.section-box > h2:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 0;
    margin-left: -3px; /* Компенсация для border-left секции */
}

.section-box > h2:first-child::before {
    content: "";
    width: 3px;
    height: 32px;
    background: var(--accent);
    flex-shrink: 0;
}

/* Если заголовок уже имеет класс section-title, убираем дублирование */
.section-box h2.section-title::before {
    display: none;
}

/* =========================================================
   BUTTON
========================================================= */
.btn {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 34px;
    background: linear-gradient(135deg, var(--accent), #ffb347);
    color: #111;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    position: relative;
    transition: all .3s ease;
    box-shadow: 0 0 0 rgba(247, 162, 58, 0);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(247, 162, 58, 0.5), 0 0 30px rgba(247, 162, 58, 0.3);
}

.btn::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), #ffb347);
    opacity: 0;
    z-index: -1;
    filter: blur(8px);
    transition: opacity .3s ease;
}

.btn:hover::before {
    opacity: 0.6;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
    text-align: center;
    padding: 40px;
    font-size: 13px;
    color: var(--text-soft);
    border-top: 1px solid var(--line-soft);
}

/* =========================================================
   MOBILE (ЕДИНСТВЕННЫЙ ВАРИАНТ)
========================================================= */
@media (max-width: 1024px) {

    .burger {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .nav {
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        background: #0b0b0b;
        flex-direction: column;
        padding: 24px 20px 32px;
        gap: 18px;
        border-bottom: 1px solid var(--line-soft);

        transform: translateY(-100%);
        transition: transform .3s ease;
        z-index: 999;
    }

    .nav.open {
        transform: translateY(0);
    }

    .nav a::after {
        display: none;
    }
}

@media (max-width: 768px) {

    .hero {
        display: block;
        min-height: auto;
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .hero-inner {
        min-height: 200px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .hero .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero h1 {
        font-size: clamp(26px, 6.5vw, 32px);
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
    }
    
    .section-box {
        padding: clamp(20px, 5vw, 32px);
        margin-bottom: 40px;
    }
    
    .section-box > h2:first-child {
        font-size: clamp(20px, 5vw, 24px);
        margin-left: -3px;
    }
    
    .btn {
        padding: 12px 28px;
        font-size: 14px;
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
    
    .header-cta {
        padding: 0 20px;
        font-size: 12px;
    }
    
    ul, ol {
        padding-left: 20px;
    }
    
    .advantages-section ul li,
    .notes-list li,
    .capabilities-list li {
        gap: 10px;
        margin-bottom: 14px;
    }
}
/* =========================================================
   MOBILE NAV — FORCE HIDE WHEN CLOSED
========================================================= */
@media (max-width: 1024px) {

    .nav {
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        padding: 0 20px;
        transition: opacity .3s ease, transform .3s ease, visibility .3s ease, max-height .3s ease, padding .3s ease;
    }

    .nav.open {
        pointer-events: auto;
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 24px 20px 32px;
    }
}
/* =========================================================
   MOBILE — DISABLE HEADER CTA COMPLETELY
========================================================= */
@media (max-width: 1024px) {

    .header-cta {
        display: none !important;
    }
}
/* =========================================================
   INDEX STATS — VISUAL SEPARATION FIX
========================================================= */
.stats {
    margin-top: 60px;
    padding: 40px 32px;
    background: linear-gradient(180deg, #0e1114, #0b0d10);
    border-left: 3px solid var(--accent);
    border-radius: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.03),
        0 20px 50px rgba(0,0,0,.6);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stats .adv-item {
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,.08);
    text-align: center;
}

.stats .adv-item:last-child {
    border-right: none;
}

@media (max-width: 768px) {
    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .stats .adv-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.08);
        padding-bottom: 20px;
    }
    .stats .adv-item:last-child {
        border-bottom: none;
    }
}

@media (min-width: 1025px) {
    .nav a::after {
        display: block;
    }
    
     
    .nav-cta {
        display: none;
    }
}
.map-wrapper {
    margin-top: 32px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.55);

    /* ВАЖНО */
    width: 100%;
    max-width: 100%;
}
.map-wrapper iframe {
    width: 100%;
    height: 500px;   /* ← можно 450–500 */
    border: 0;
}
@media (max-width: 768px) {
    .map-wrapper iframe {
        height: 300px;
    }
}

