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

/* B2B Service palette from UI Pro Max: navy + blue CTA */
:root {
    --primary: #0F172A;
    --primary-light: #1E293B;
    --secondary: #334155;
    --cta: #0369A1;
    --cta-hover: #0284C7;
    --cta-light: #E0F2FE;
    --success: #16A34A;
    --success-bg: #F0FDF4;
    --text: #020617;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --bg: #FFFFFF;
    --bg-alt: #F8FAFC;
    --bg-warm: #F1F5F9;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    /* Мягкие многослойные тени — рассеянные, «воздушные» */
    --shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
    --shadow: 0 1px 3px rgba(15,23,42,0.04), 0 6px 16px rgba(15,23,42,0.05);
    --shadow-lg: 0 2px 6px rgba(15,23,42,0.04), 0 18px 44px rgba(15,23,42,0.09);
    --shadow-xl: 0 8px 24px rgba(15,23,42,0.05), 0 32px 64px rgba(15,23,42,0.1);
    --ease: cubic-bezier(.16,.8,.3,1); /* плавное «дорогое» замедление */
}

html { scroll-padding-top: 84px; } /* якорь не уезжает под фикс-шапку; плавность — в script.js */
body {
    font-family: var(--font); color: var(--text-secondary); line-height: 1.6;
    background: var(--bg); -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Нативный скроллбар полностью скрыт (он на Windows резервирует белый жёлоб).
   Вместо него — лёгкий overlay-индикатор из script.js, без всякой полосы. */
* { scrollbar-width: none; -ms-overflow-style: none; }
::-webkit-scrollbar { width: 0; height: 0; display: none; }

.scrollbar {
    position: fixed; top: 0; right: 2px; width: 10px; height: 100%;
    z-index: 950; pointer-events: none;
    opacity: 0; transition: opacity 0.35s ease;
}
.scrollbar.show { opacity: 1; }
.scrollbar__thumb {
    position: absolute; top: 0; right: 0; width: 100%;
    border-radius: 999px; background: rgba(3,105,161,.4);
    pointer-events: auto; cursor: grab;
    transition: background 0.2s ease;
}
.scrollbar__thumb:hover { background: rgba(3,105,161,.6); }
.scrollbar__thumb.dragging { cursor: grabbing; background: rgba(3,105,161,.7); }

/* Lenis (плавный скролл) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Плавающая кнопка «наверх» */
.to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 900;
    width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
    background: var(--cta); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(3,105,161,.4);
    opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9);
    transition: opacity .3s ease, transform .3s ease, background .2s ease, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--cta-hover); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(3,105,161,.5); }
.to-top:active { transform: scale(.94); }

/* Секции — обычный поток; центрирование делает каждая секция сама,
   а не глобальный flex (он тянул за собой переопределения и мобильный сброс) */
section { position: relative; }
section > .container { width: 100%; }

/* Контакты: контент + карта + футер */
.contacts {
    padding-top: 72px; padding-bottom: 0;
}

/* Навигация — активная ссылка */
.nav__link.active { color: var(--cta); background: var(--cta-light); }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }

/* (preloader removed) */

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--radius-sm); font-size: 15px;
    font-weight: 600; cursor: pointer; transition: all 0.3s var(--ease); border: none;
    text-align: center; font-family: var(--font); line-height: 1.4;
}
.btn--primary { background: var(--cta); color: #fff; }
.btn--primary:hover { background: var(--cta-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(3,105,161,0.3); }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: var(--cta-light); }
.btn--ghost { background: transparent; color: var(--secondary); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--cta); color: var(--cta); }
.btn--sm { padding: 8px 20px; font-size: 14px; }
.btn--lg { padding: 14px 32px; font-size: 16px; }
.btn--full { width: 100%; justify-content: center; }
.btn--whatsapp { background: #25D366; color: #fff; font-size: 14px; padding: 10px 20px; border-radius: var(--radius-sm); }
.btn--whatsapp:hover { background: #1fb855; }
.btn--telegram { background: #2AABEE; color: #fff; font-size: 14px; padding: 10px 20px; border-radius: var(--radius-sm); }
.btn--telegram:hover { background: #229ED9; }

/* === SECTION === */
.section-tag {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--cta); margin-bottom: 12px;
    background: var(--cta-light); padding: 5px 14px; border-radius: 20px;
}
.section-title {
    font-size: 38px; font-weight: 800; color: var(--primary); line-height: 1.18;
    margin-bottom: 14px; text-align: center; letter-spacing: -0.03em;
}
.section-title--left { text-align: left; }
.section-subtitle {
    text-align: center; color: var(--text-muted); font-size: 17px;
    max-width: 580px; margin: 0 auto 64px; line-height: 1.7;
}

/* === HEADER === */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
    transform: translateY(-100%); transition: transform 0.3s ease;
}
.header--visible { transform: translateY(0); }
.header__inner {
    display: flex; align-items: center; gap: 24px; height: 88px; flex-wrap: nowrap;
}
.header__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header__logo-icon { height: 64px; width: auto; }
.header__logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.header__logo-name { font-size: 18px; font-weight: 700; letter-spacing: 0.06em; color: var(--primary); white-space: nowrap; }
.header__logo-desc { font-size: 13px; font-weight: 500; color: var(--cta); }
.nav { display: flex; gap: 2px; margin-left: auto; flex-shrink: 0; white-space: nowrap; }
.nav__link {
    font-size: 13px; font-weight: 500; color: var(--text-secondary); padding: 6px 10px;
    border-radius: 6px; transition: all 0.2s;
}
.nav__link:hover { color: var(--cta); background: var(--cta-light); }
.nav__contacts { display: none; }
.nav__contact {
    display: flex; align-items: center; gap: 9px;
    padding: 9px 14px; border-radius: 9px; font-size: 14px; font-weight: 600;
    color: var(--primary); transition: background 0.2s ease;
}
.nav__contact:hover { background: var(--bg-warm); }
.nav__contact--phone { color: var(--cta); }
.nav__contact--tg svg { color: #2AABEE; }
.header__right { display: flex; align-items: center; gap: 12px; margin-left: 8px; flex-shrink: 0; white-space: nowrap; }
.header__phone { font-size: 15px; font-weight: 700; color: var(--primary); white-space: nowrap; letter-spacing: -0.01em; }
.header__phone:hover { color: var(--cta); }

.burger {
    display: none; flex-direction: column; gap: 5px; background: none;
    border: none; cursor: pointer; padding: 8px; z-index: 1001;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: all 0.3s; }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === HERO === */
.hero {
    min-height: 100vh;
    min-height: 100dvh; /* dvh не прыгает при сворачивании адресной строки на мобиле */
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Background slideshow */
.hero__bg {
    position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero__video {
    width: 100%; height: 100%; object-fit: cover;
}

/* Gradient overlay */
.hero__overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(15,23,42,0.82) 0%,
        rgba(15,23,42,0.65) 50%,
        rgba(3,105,161,0.4) 100%
    );
}
.hero__inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
    position: relative; z-index: 2; padding: 90px 0 70px;
}
.hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: #7DD3FC;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    padding: 6px 16px; border-radius: 24px; margin-bottom: 24px;
}
.hero__badge::before {
    content: ''; width: 8px; height: 8px; border-radius: 50%;
    background: var(--success); display: inline-block;
    box-shadow: 0 0 0 3px rgba(22,163,74,0.3);
}
.hero__title {
    font-size: 50px; font-weight: 800; color: #fff; line-height: 1.1;
    letter-spacing: -0.035em; margin-bottom: 22px; max-width: 16ch;
}
.hero__desc { font-size: 18px; color: rgba(255,255,255,0.78); line-height: 1.65; margin-bottom: 36px; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 40px; }
.btn--cta.btn--hero {
    padding: 17px 38px; font-size: 17px; font-weight: 700; letter-spacing: 0.01em;
    background: var(--cta); color: #fff; border-radius: var(--radius);
    box-shadow: 0 6px 22px rgba(3,105,161,0.4);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    justify-content: center;
}
.btn--cta.btn--hero:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(3,105,161,0.5); }
.hero__stats { display: flex; gap: 36px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.14); }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-num { font-size: 34px; font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -0.03em; }
.hero__stat-label { font-size: 13.5px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* Карточки-УТП справа: лаконично — иконка + строка */
.hero__visual { display: flex; flex-direction: column; justify-content: center; }
.hero__cards { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.hero__card {
    display: flex; align-items: center; gap: 16px;
    background: rgba(255,255,255,0.1);
    padding: 18px 22px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(6px); color: #fff;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hero__card:hover { transform: translateX(6px); background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.3); }
.hero__card-title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.hero__card-icon {
    width: 44px; height: 44px; border-radius: 12px; display: flex;
    align-items: center; justify-content: center; flex-shrink: 0;
    background: rgba(125,211,252,0.16); color: #7DD3FC;
}

/* === HERO: навигация кнопками внутри hero (без шапки-полосы) === */
.hero__quicknav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hero__quicknav-link {
    font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9);
    padding: 9px 18px; border-radius: 999px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.hero__quicknav-link:hover {
    background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.35);
    transform: translateY(-2px); color: #fff;
}

/* Акцент в заголовке */
.hero__title-accent {
    background: linear-gradient(120deg, #7DD3FC 0%, #38BDF8 60%, #BAE6FD 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__desc strong { color: #fff; font-weight: 700; }

/* Социальный proof */
.hero__trust {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__trust-label { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.hero__trust-names { font-size: 13.5px; color: rgba(255,255,255,0.72); line-height: 1.5; }

/* Индикатор прокрутки */
.hero__scroll {
    position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
    width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.4);
    border-radius: 14px; display: flex; justify-content: center; z-index: 2;
}
.hero__scroll span { width: 4px; height: 8px; background: #fff; border-radius: 2px; margin-top: 7px; animation: scrollDot 1.6s var(--ease) infinite; }
@keyframes scrollDot {
    0% { opacity: 0; transform: translateY(0); }
    35% { opacity: 1; }
    70% { opacity: 1; transform: translateY(12px); }
    100% { opacity: 0; transform: translateY(16px); }
}

/* === SERVICES === */
.services { padding: 112px 0; }
.services .section-tag,
.services .section-title { text-align: center; }
.services .section-tag { display: block; }
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
    display: flex; background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: transparent; }
.service-card__img { width: 200px; flex-shrink: 0; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 24px; display: flex; flex-direction: column; }
.service-card__title { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.service-card__desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; flex-grow: 1; }
.service-card__footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border-light);
}
.service-card__price { font-size: 18px; font-weight: 800; color: var(--cta); }
.service-card__link { font-size: 13px; font-weight: 600; color: var(--cta); white-space: nowrap; }
.service-card__link:hover { color: var(--cta-hover); }

/* === HOW === */
.how { padding: 112px 0; background: var(--bg-alt); }
.how .section-tag { display: block; text-align: center; }
.how__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.how__step {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 36px 28px; position: relative;
    transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.how__step:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: transparent; }
.how__num {
    font-size: 52px; font-weight: 800; line-height: 1;
    margin-bottom: 20px; letter-spacing: -0.04em;
    background: linear-gradient(180deg, var(--cta) 0%, #7DD3FC 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.how__step-title { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.how__step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* === ADVANTAGES === */
.advantages { padding: 112px 0; }
.advantages .section-tag { display: block; text-align: center; }
.advantages .section-title { margin-bottom: 72px; }
.advantages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }
.advantage-card {
    position: relative;
    padding: 52px 26px 30px; border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.45s var(--ease);
    background: var(--bg);
    text-align: center;
}
.advantage-card:hover {
    box-shadow: var(--shadow-lg); transform: translateY(-5px);
    border-color: transparent;
}
.advantage-card__icon { transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.advantage-card:hover .advantage-card__icon {
    transform: translateX(-50%) translateY(-3px) scale(1.06);
    box-shadow: 0 8px 22px rgba(3,105,161,0.35);
}
.advantage-card__icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--cta); color: #fff;
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: -28px; left: 50%; transform: translateX(-50%);
    box-shadow: 0 4px 16px rgba(3,105,161,0.25);
}
.advantage-card__title { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.advantage-card__desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* === ABOUT === */
.about { padding: 112px 0; background: var(--bg-alt); }
.about__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.about__text { font-size: 16px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 16px; }
.about__features { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.about__feature {
    display: flex; align-items: center; gap: 12px; font-size: 15px;
    font-weight: 500; color: var(--primary);
}
.about__feature svg { color: var(--success); flex-shrink: 0; }
.about__img-col img {
    width: 100%; height: 520px; object-fit: cover;
    clip-path: url(#blobClip);
    filter: drop-shadow(0 8px 24px rgba(15,23,42,0.12));
}

/* === CTA === */
.cta {
    padding: 0; position: relative; overflow: hidden;
    background: var(--primary);
}
.cta__video {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: opacity 1.5s ease;
    will-change: opacity;
}
.cta__video--a { opacity: 0.3; }
.cta__video--b { opacity: 0; }

/* Анимированные декор-круги */
.cta__orb {
    position: absolute; border-radius: 50%; pointer-events: none;
    opacity: 0.12;
}
.cta__orb--1 {
    width: 600px; height: 600px; top: -150px; left: -120px;
    background: radial-gradient(circle, #0EA5E9, transparent 60%);
}
.cta__orb--2 {
    width: 500px; height: 500px; bottom: -100px; right: -80px;
    background: radial-gradient(circle, #7C3AED, transparent 60%);
}
.cta__orb--3 {
    width: 400px; height: 400px; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: radial-gradient(circle, #06B6D4, transparent 60%);
}

.cta__grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
    padding: 0 24px;
}

/* Левая часть */
.cta__content { padding: 40px 0; text-align: center; }
.cta__badge {
    display: inline-block; padding: 8px 18px; border-radius: 100px;
    background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3);
    color: #7DD3FC; font-size: 14px; font-weight: 600; margin-bottom: 20px;
    animation: ctaBadgePulse 3s ease-in-out infinite;
}
@keyframes ctaBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(14,165,233,0.2); }
    50% { box-shadow: 0 0 0 12px rgba(14,165,233,0); }
}
.cta__title {
    font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 14px;
    letter-spacing: -0.02em; line-height: 1.2;
}
.cta__text {
    font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 24px;
    line-height: 1.7; max-width: 420px; margin-left: auto; margin-right: auto;
}

/* Чеклист преимуществ */
.cta__perks {
    display: inline-flex; flex-direction: column; gap: 12px; margin-bottom: 28px;
    text-align: left;
}
.cta__perk {
    display: flex; align-items: center; gap: 12px;
    color: rgba(255,255,255,0.85); font-size: 15px; font-weight: 500;
}
.cta__perk svg { color: #4ADE80; flex-shrink: 0; }

/* Контактный блок (телефоны + мессенджеры) */
.cta__contact-block {
    display: inline-flex; flex-direction: column; gap: 0;
    padding: 18px 24px; border-radius: 16px;
    background: rgba(255,255,255,0.22); border: 1px solid rgba(255,255,255,0.3);
}
.cta__contact-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.cta__contact-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 12px 0; }
.cta__contact-link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 10px;
    font-size: 15px; font-weight: 600; color: #fff;
    transition: background 0.2s;
}
.cta__contact-link--phone { color: #7DD3FC; }
.cta__contact-link--phone svg { color: #7DD3FC; opacity: 0.7; }
.cta__contact-link--phone:hover { background: rgba(125,211,252,0.1); }
.cta__contact-link--wa svg { color: #25D366; }
.cta__contact-link--wa:hover { background: rgba(37,211,102,0.12); }
.cta__contact-link--tg svg { color: #2AABEE; }
.cta__contact-link--tg:hover { background: rgba(42,171,238,0.12); }
.cta__contact-link--max svg { color: #FF5C00; }
.cta__contact-link--max:hover { background: rgba(255,92,0,0.12); }

/* Форма */
.cta__form-wrap { padding: 40px 0; }

/* === CONTACTS === */
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.contacts__info {
    background: var(--bg); border-radius: var(--radius);
    padding: 40px; box-shadow: 0 2px 16px rgba(15,23,42,0.06), 0 0 0 1px var(--border);
}
.contacts__info .section-tag { margin-bottom: 8px; }
.contacts__info .section-title { margin-bottom: 8px; }
.contacts__desc { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }
.contacts__list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.contacts__item {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 0;
}
.contacts__item svg { flex-shrink: 0; margin-top: 3px; color: var(--cta); }
.contacts__item a { display: block; font-size: 16px; font-weight: 600; color: var(--primary); }
.contacts__item span { display: block; font-size: 15px; color: var(--secondary); }
.contacts__item a:hover { color: var(--cta); }
.contacts__item--schedule {
    padding: 14px 18px; border-radius: 12px;
    background: rgba(3,105,161,0.05); border: 1px solid rgba(3,105,161,0.1);
}
.contacts__item--schedule span { font-weight: 600; color: var(--primary); }
.contacts__messengers { display: flex; gap: 12px; margin-top: 32px; }

/* Form */
/* === FORM (glass) === */
.form--glass {
    border-radius: 20px; padding: 36px 32px;
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 8px 40px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.15);
}
.form__header {
    display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
    padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.form__header-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(14,165,233,0.2), rgba(124,58,237,0.15));
    display: flex; align-items: center; justify-content: center;
    color: #7DD3FC; flex-shrink: 0;
}
.form__title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.form__subtitle { font-size: 13px; color: rgba(255,255,255,0.45); }
.form__fields { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-size: 13px; font-weight: 600; color: #fff; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form--glass input, .form--glass textarea {
    width: 100%; padding: 13px 16px; border-radius: 12px;
    font-family: var(--font); font-size: 15px; outline: none;
    background: rgba(255,255,255,0.18); border: 1.5px solid rgba(255,255,255,0.28);
    color: #fff; transition: all 0.25s;
}
.form--glass input::placeholder, .form--glass textarea::placeholder { color: rgba(255,255,255,0.55); }
.form--glass input:focus, .form--glass textarea:focus {
    border-color: #7DD3FC; background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 4px rgba(125,211,252,0.12);
}
.form--glass textarea { resize: vertical; }
.form__stepper {
    display: flex; align-items: center; gap: 0;
    border-radius: 12px; overflow: hidden;
    border: 1.5px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.18);
    transition: all 0.25s;
}
.form__stepper:focus-within {
    border-color: #7DD3FC; background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 4px rgba(125,211,252,0.12);
}
.form__stepper input {
    border: none !important; border-radius: 0 !important;
    text-align: center; width: 100%;
    background: transparent !important;
    -moz-appearance: textfield;
}
.form__stepper input::-webkit-inner-spin-button,
.form__stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.form__stepper-btn {
    flex-shrink: 0; width: 48px; height: 46px; border: none; cursor: pointer;
    background: rgba(255,255,255,0.1); color: #fff;
    font-size: 22px; font-weight: 600; font-family: var(--font);
    transition: background 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.form__stepper-btn:hover { background: rgba(255,255,255,0.2); }
.form__stepper-btn:active { background: rgba(255,255,255,0.25); }
.form__submit {
    width: 100%; padding: 16px 24px; border-radius: 14px; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font); font-size: 16px; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, var(--cta), #0EA5E9);
    box-shadow: 0 4px 20px rgba(3,105,161,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(3,105,161,0.5);
}
.form__submit:active { transform: translateY(0); }
.form__submit svg { transition: transform 0.2s; }
.form__submit:hover svg { transform: translateX(4px); }
.form__note {
    text-align: center; font-size: 12px; color: rgba(255,255,255,0.3);
    margin-top: 14px; line-height: 1.5;
}

/* Form messages (success / warning / error) */
.form-message { text-align: center; padding: 48px 24px; }
.form-message__icon { margin-bottom: 16px; }
.form-message__icon svg { animation: messagePop 0.5s ease-out; }
@keyframes messagePop { 0% { transform: scale(0); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
.form-message__title { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.form-message__text { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.form-message__btn {
    margin-top: 24px; padding: 14px 32px; border-radius: 12px; border: none; cursor: pointer;
    font-family: var(--font); font-size: 15px; font-weight: 600; color: #fff;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px); transition: background 0.2s;
}
.form-message__btn:hover { background: rgba(255,255,255,0.25); }

/* === MAP (Leaflet) === */
.contacts__map {
    position: relative; border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 4px 24px rgba(15,23,42,0.10), 0 0 0 1px var(--border);
}
.map { height: 100%; min-height: 360px; }
.map-popup .leaflet-popup-content-wrapper {
    border-radius: 12px; box-shadow: 0 4px 20px rgba(15,23,42,0.12);
    padding: 4px;
}
.map-popup .leaflet-popup-tip { box-shadow: none; }
.metro-tooltip.leaflet-tooltip {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
    padding: 4px 8px; box-shadow: 0 2px 8px rgba(15,23,42,0.08);
    white-space: nowrap;
}
.map__route-btn {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    z-index: 500;
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    padding: 14px 28px;
    background: var(--cta); color: #fff; border-radius: var(--radius);
    font-size: 15px; font-weight: 600;
    box-shadow: 0 4px 16px rgba(3,105,161,0.35);
    transition: background 0.2s, transform 0.2s;
}
.map__route-btn:hover { background: #0284C7; transform: translateX(-50%) translateY(-2px); }

/* === FOOTER === */
.footer { padding: 24px 0; margin-top: 48px; border-top: 1px solid var(--border); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer__brand-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.footer__logo { height: 36px; opacity: 0.5; }
.footer__logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.footer__logo-name { font-size: 13px; font-weight: 300; letter-spacing: 0.08em; color: var(--primary); opacity: 0.6; }
.footer__logo-desc { font-size: 11px; font-weight: 500; color: var(--cta); opacity: 0.6; }
.footer__copy { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.footer__contacts { display: flex; gap: 24px; }
.footer__contacts a, .footer__contacts span { font-size: 14px; color: var(--text-muted); }
.footer__contacts a:hover { color: var(--cta); }

/* === ANIMATIONS === */
.visible { opacity: 1 !important; transform: translateY(0) !important; }

/* Reveal на IntersectionObserver (класс .reveal вешается из JS,
   поэтому при отключённом JS контент остаётся видимым) */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    will-change: opacity, transform;
}
/* transition только на финальном состоянии: стартовое (opacity:0) ставится мгновенно,
   иначе навешивание .reveal на уже видимый элемент запускает обратный переход */
.reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s cubic-bezier(.16,.8,.3,1), transform 0.6s cubic-bezier(.16,.8,.3,1);
}


/* Уважение к системной настройке «меньше движения»:
   убираем смещение и крупные анимации, но мягкое появление (fade) оставляем —
   чтобы пауза hero под видео работала у всех */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { transform: none; }
    .reveal.is-visible { transition: opacity 0.4s ease; }
    .cta__badge { animation: none; }
    .cta__video { transition: none; }
    .hero__scroll span { animation: none; }
}

/* === RESPONSIVE === */
/* === TABLET === */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; gap: 32px; }
    .hero__visual { order: -1; }
    .hero__title { font-size: 36px; }
    .services__grid { grid-template-columns: 1fr; }
    .service-card { flex-direction: row; }
    .how__grid { grid-template-columns: repeat(2, 1fr); }
    .about__inner { grid-template-columns: 1fr; gap: 32px; }
    .about__img-col { order: -1; }
    .about__img-col img { height: 360px; }
    .cta__grid { grid-template-columns: 1fr; gap: 0; }
    .cta__content { padding: 40px 0 20px; }
    .cta__form-wrap { padding: 0 0 40px; }
}

/* === MOBILE === */
@media (max-width: 768px) {
    section { display: block; overflow: visible; }

    /* Header */
    .header__inner { height: 60px; gap: 12px; }
    .header__right { display: none; }
    .header__logo-icon { height: 48px; }
    .header__logo-name { font-size: 14px; }
    .header__logo-desc { font-size: 11px; }
    .burger { display: flex; margin-left: auto; }
    /* Компактный тултип-меню под шапкой вместо полноэкранной панели */
    .nav {
        position: absolute; top: calc(100% + 6px); right: 14px;
        width: auto; min-width: 180px; height: auto;
        background: #fff; flex-direction: column; padding: 8px; gap: 2px;
        border-radius: 14px; border: 1px solid var(--border);
        box-shadow: 0 12px 32px rgba(15,23,42,0.16);
        opacity: 0; transform: translateY(-8px) scale(0.98); pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease; z-index: 1000;
    }
    .nav::before {
        content: ''; position: absolute; top: -6px; right: 18px;
        width: 12px; height: 12px; background: #fff;
        border-left: 1px solid var(--border); border-top: 1px solid var(--border);
        transform: rotate(45deg);
    }
    .nav.active { opacity: 1; transform: none; pointer-events: auto; }
    .nav__link { font-size: 14px; padding: 10px 14px; border-radius: 9px; }
    .nav__contacts {
        display: flex; flex-direction: column; gap: 2px;
        margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--border);
    }

    /* Hero quicknav — горизонтальная прокрутка на узком экране */
    .hero__quicknav {
        margin-bottom: 20px; flex-wrap: nowrap; overflow-x: auto;
        -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px;
    }
    .hero__quicknav::-webkit-scrollbar { display: none; }
    .hero__quicknav-link { flex-shrink: 0; padding: 8px 15px; font-size: 13px; }
    .hero__trust { margin-top: 22px; padding-top: 18px; }
    .hero__scroll { display: none; }

    /* Hero */
    .hero { padding: 32px 0; }
    .hero__inner { padding: 70px 0 40px; }
    .hero__title { font-size: 26px; }
    .hero__desc { font-size: 15px; margin-bottom: 24px; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .btn--cta.btn--hero { padding: 16px 24px; font-size: 17px; text-align: center; }
    .hero__stats { gap: 20px; flex-wrap: wrap; }
    .hero__stat-num { font-size: 26px; }
    .hero__stat-label { font-size: 12px; }
    .hero__cards { gap: 10px; }
    .hero__card { padding: 14px 16px; gap: 12px; }
    .hero__card-icon { width: 40px; height: 40px; }
    .hero__card-title { font-size: 14px; }
    .hero__card-desc { font-size: 12px; }

    /* Sections */
    .section-title { font-size: 24px; }
    .section-subtitle { font-size: 14px; }
    .section-tag { font-size: 11px; }
    .services, .how, .advantages, .about { padding: 48px 0; }

    /* Services */
    .service-card { flex-direction: column; }
    .service-card__img { width: 100%; height: 180px; }
    .service-card__title { font-size: 18px; }

    /* How */
    .how__grid { grid-template-columns: 1fr; gap: 20px; }
    .how__step { padding: 24px 20px; }

    /* Advantages */
    .advantages__grid { grid-template-columns: 1fr; gap: 36px; }
    .advantages .section-title { margin-bottom: 52px; }

    /* About */
    .about__inner { grid-template-columns: 1fr; gap: 24px; }
    .about__img-col { order: -1; }
    .about__img-col img { height: 280px; }
    .about__text { font-size: 15px; }

    /* CTA */
    .cta__grid { grid-template-columns: 1fr; gap: 0; }
    .cta__title { font-size: 24px; }
    .cta__text { font-size: 14px; }
    .cta__orb { display: none; }
    .cta__perks { gap: 10px; }
    .cta__perk { font-size: 14px; }
    .cta__contact-block { width: 100%; padding: 14px 16px; }
    .cta__contact-row { flex-direction: column; gap: 4px; }
    .cta__contact-link { font-size: 14px; padding: 8px 12px; }
    .form--glass { padding: 24px 18px; border-radius: 16px; }
    .form__header { gap: 12px; margin-bottom: 20px; padding-bottom: 16px; }
    .form__header-icon { width: 40px; height: 40px; border-radius: 10px; }
    .form__title { font-size: 18px; }
    .form__row { grid-template-columns: 1fr; }
    .form__fields { gap: 12px; }
    .form__submit { padding: 14px 20px; font-size: 15px; }

    /* Contacts */
    .contacts { padding-top: 48px; gap: 32px; }
    .contacts__grid { grid-template-columns: 1fr; gap: 24px; }
    .contacts__info { padding: 24px 20px; }
    .contacts__info .section-title { font-size: 22px; }
    .contacts__item { padding: 0; }
    .contacts__item--schedule { padding: 12px 14px; }
    .map { min-height: 360px; }
    .map__route-btn { padding: 12px 22px; font-size: 14px; bottom: 14px; }

    /* Footer */
    .footer { margin-top: 32px; }
    .footer__inner { flex-direction: column; text-align: center; }
    .footer__brand-top { justify-content: center; }
    .footer__logo { height: 28px; }
    .footer__contacts { flex-direction: column; gap: 8px; }
}

/* === SMALL PHONES === */
@media (max-width: 400px) {
    .container { padding: 0 16px; }
    .hero__title { font-size: 22px; }
    .hero__visual { display: none; }
    .section-title { font-size: 21px; }
    .cta__title { font-size: 21px; }
    .hero__stats { gap: 16px; }
    .hero__stat-num { font-size: 22px; }
}


/* Кнопка телефона в hero — рядом с CTA, та же высота */
.hero__phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.01em;
    cursor: pointer;
    padding: 16px 28px;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.04);
    line-height: 1.4;
    font-family: var(--font);
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.hero__phone-btn svg { opacity: 0.8; }
.hero__phone-btn:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .hero__phone-btn { padding: 14px 24px; font-size: 15px; width: 100%; }
}

/* ===========================
   Phone Modal
   =========================== */
.phone-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.phone-modal.active {
    opacity: 1;
    visibility: visible;
}
.phone-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.5);
    backdrop-filter: blur(3px);
}
.phone-modal__dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px 28px;
    max-width: 380px;
    width: 90%;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
    transform: translateY(12px);
    transition: transform 0.25s ease;
}
.phone-modal.active .phone-modal__dialog {
    transform: translateY(0);
}
.phone-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    line-height: 0;
}
.phone-modal__close:hover {
    color: var(--primary);
    background: var(--bg-warm);
}
.phone-modal__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 20px;
}
.phone-modal__phones {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.phone-modal__phone-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    transition: border-color 0.2s;
}
.phone-modal__phone-row:hover {
    border-color: var(--cta);
}
.phone-modal__number {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.01em;
}
.phone-modal__copy {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
}
.phone-modal__copy:hover {
    background: var(--bg-warm);
    color: var(--cta);
}
.phone-modal__copy.copied {
    color: var(--success);
}
.phone-modal__copy.copied::after {
    content: 'Скопировано';
    font-size: 0.7rem;
    font-weight: 500;
    margin-left: 4px;
}
.phone-modal__divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 16px;
}
.phone-modal__messengers {
    display: flex;
    gap: 8px;
}
.phone-modal__messenger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.phone-modal__messenger--wa {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}
.phone-modal__messenger--wa:hover {
    background: #dcfce7;
}
.phone-modal__messenger--tg {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}
.phone-modal__messenger--tg:hover {
    background: #dbeafe;
}
.phone-modal__messenger--max {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
}
.phone-modal__messenger--max:hover {
    background: #fde68a;
}

@media (max-width: 480px) {
    .phone-modal__dialog {
        padding: 28px 20px 24px;
    }
    .phone-modal__messengers {
        flex-direction: column;
    }
}
