/* ════════════════════════════════════════════════════════════════
   VIMENS — main.css
   Стили главной страницы (front-page.php)
   Типошкала и переменные берутся из style.css (:root)
════════════════════════════════════════════════════════════════ */

/* ══ HERO SLIDER ══ */
.hero-wrap {
    padding: 16px 32px 0;
    max-width: 1440px;
    margin: 0 auto;
}
.hero-slider {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 350px;
}
.h-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}
.h-slide.active { opacity: 1; }
.h-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.h-slide-bg--mob {
    display: none;
}
.h-slide-content {
    position: absolute;
    bottom: 36px;
    left: 52px;
    z-index: 2;
}
.h-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--blue);
    padding: 12px 26px;
    border-radius: 30px;
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    transition: var(--transition);
    text-decoration: none;
}
.h-slide-btn:hover {
    background: var(--blue);
    color: white;
    transform: translateX(4px);
}
.h-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: rgba(255,255,255,0.6);
    font-size: var(--text-sm);
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.h-arrow:hover {
    background: rgba(255,255,255,0.22);
    color: white;
}
.h-arrow.prev { left: 14px; }
.h-arrow.next { right: 14px; }
.h-dots {
    position: absolute;
    bottom: 14px;
    right: 20px;
    display: flex;
    gap: 6px;
    z-index: 10;
}
.h-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: var(--transition);
}
.h-dot.active {
    background: white;
    width: 20px;
    border-radius: 3px;
}


/* ══ HERO BANNERS ══ */
.hero-banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 14px 32px 0;
    max-width: 1440px;
    margin: 0 auto;
}
.hero-banner {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    height: 180px;
    position: relative;
    text-decoration: none;
}
.hero-banner-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.hero-banner:hover .hero-banner-img { transform: scale(1.05); }
.hero-banner-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,30,58,0.6), transparent);
    transition: opacity 0.4s ease;
}
.hero-banner:hover .hero-banner-shade { opacity: 0.8; }
.hero-banner-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 15px;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.hero-banner:hover .hero-banner-arrow {
    background: white;
    color: var(--blue);
    transform: translate(3px,-3px);
}


/* ══ SECTION TITLES ══ */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.section-eyebrow::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
}
.section-title {
    font-size: var(--text-2xl);
    font-weight: var(--fw-black);
    color: var(--dark);
    line-height: 1.2;
    letter-spacing: -0.8px;
}
.section-title span { color: var(--blue); }


/* ══════════════════════════════════════════════════════════════
   CATALOG — простая квадратная сетка, два раздела
══════════════════════════════════════════════════════════════ */

/* Два раздела каталога */
.catalog-group {
    margin-bottom: 40px;
}
.catalog-group:last-child {
    margin-bottom: 0;
}
.catalog-group-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.catalog-group-title {
    font-size: var(--text-lg);
    font-weight: var(--fw-black);
    color: var(--dark);
    letter-spacing: -0.3px;
}

/* Сетка карточек — 5 колонок, квадраты */
.catalog-mosaic {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

/* Общие стили карточки каталога */
.cat-card {
    position: relative;
    overflow: hidden;
    padding: 15px;
    cursor: pointer;
    background: transparent;
    border: none;
    display: block;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.cat-card:hover {
    box-shadow: rgba(4, 5, 6, 0.2) 0px 27px 30px 0px;
}

/* Картинка — заполняет карточку кроме нижней подписи */
.cat-card img {
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
    margin: 0 auto 15px;
    object-fit: contain;
}

/* Подпись снизу */
.cat-card-name {
    font-size: 15px;
    font-weight: var(--fw-bold);
    color: var(--dark);
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}


/* ══════════════════════════════════════════════════════════════
   ИЗМЕНЕНИЯ 2 + 3: PRODUCTS — карточка товара редизайн
══════════════════════════════════════════════════════════════ */

.products-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}
.products-arrows { display: flex; gap: 10px; }
.products-arrow {
    width: 46px;
    height: 46px;
    border: 2px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-600);
    font-size: 15px;
    background: transparent;
}
.products-arrow:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(26,111,212,0.05);
}
.products-track-wrap { overflow: hidden; }

.products-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    align-items: stretch;
}

/* ── Карточка товара ── */
.product-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 260px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.28s ease, transform 0.28s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(26, 111, 212, 0.14);
}

/* Фото — отделено от тела карточки */
.product-img {
    height: 250px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    padding: 16px;
    box-sizing: border-box;
}
.product-card:hover .product-img img { transform: scale(1.05); }

/* Бейдж — под фото, без пилюли, без точки */
.product-badge {
    position: static;
    display: inline-flex;
    align-items: center;
    background: none;
    color: #00b86b;
    font-size: 12px;
    font-weight: var(--fw-black);
    padding: 0;
    margin-bottom: 15px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    box-shadow: none;
}
.product-badge i {
    font-size: 14px;
    margin-right: 5px;
}
.product-badge::before { display: none; }
.product-badge--order  { color: var(--accent); }

/* Категория товара */
.product-cat {
    font-size: 11px;
    font-weight: var(--fw-bold);
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Тело карточки */
.product-body {
    padding: 16px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Название */
.product-name {
    font-size: 18px;
    font-weight: 900;
    color: var(--dark);
    margin: 0 0 16px;
    line-height: 1.35;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Спеки */
.product-specs {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    overflow: hidden;
    flex: 1;
}
.spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eef0f4;
    gap: 8px;
}
.spec-row:last-child {
    border-bottom: none;
}
.spec-row--empty {
    pointer-events: none;
    opacity: 0;
}

.spec-label {
    font-size: 14px;
    color: var(--gray-800);
    font-weight: var(--fw-bold);
    flex-shrink: 0;
    max-width: 60%;
}
.spec-val {
    font-size: 14px;
    font-weight: var(--fw-medium);
    color: var(--dark);
    text-align: right;
    max-width: 35%;
}

/* Строка с флагом "показывать полностью" — вертикальный стек */
.spec-row--full {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;

    padding-bottom: 15px;
}

.spec-row--full .spec-label {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    max-width: 100%;
}

.spec-row--full .spec-val {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    text-align: left;
    max-width: 100%;
}

/* Строка с изображением вместо значения */
.spec-val--img {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 45%;
    overflow: visible;
}

.spec-val--img img {
    max-height: 68px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Футер карточки */
.product-footer {
    padding-top: 14px;
    margin-top: auto;
}
.product-price-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}
.product-price {
    font-size: 24px;
    font-weight: var(--fw-semi);  /* менее жирная */
    color: var(--dark);
    letter-spacing: -0.3px;
}
.product-price-sub {
    font-size: 11px;
    color: var(--gray-400);
}
.product-actions {
    display: grid;
    grid-template-columns: .25fr 1fr;
    gap: 8px;
}

.btn-detail {
    padding: 14px 12px;
    background: #f7fff9;
    color: var(--green);
    border-radius: 8px;
    font-size: 12px;
    font-weight: var(--fw-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid #acecb9;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.btn-detail:hover {
    border-color: var(--green);
}

.btn-order {
    padding: 14px 12px;
    background: var(--red);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: var(--fw-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    font-family: inherit;
    border: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.btn-order:hover {
    background: #c62828;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.35);
}


/* ══ LAUNCHES (Запуски клиентов) ══ */

.launches-section { overflow: hidden; }

.launches-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.launches-track-outer {
    position: relative;
}

.launches-fade {
    position: absolute;
    top: 0;
    bottom: 10px;
    width: 180px;
    pointer-events: none;
    z-index: 4;
    transition: opacity 0.2s ease;
}
.launches-fade--r {
    right: 0;
    background: linear-gradient(
            to right,
            transparent 0%,
            rgba(255,255,255,0.7) 40%,
            rgba(255,255,255,1) 100%
    );
}
.launches-fade--l {
    left: 0;
    background: linear-gradient(
            to left,
            transparent 0%,
            rgba(255,255,255,0.7) 40%,
            rgba(255,255,255,1) 100%
    );
}

.launches-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-600);
    font-size: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, opacity 0.2s;
    padding: 0;
}
.launches-arrow:hover {
    border-color: var(--blue);
    color: var(--blue);
    box-shadow: 0 6px 22px rgba(26,111,212,0.20);
}
.launches-arrow--r { right: 12px; }
.launches-arrow--l { left: 12px; }

.launches-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 10px 0;
    cursor: grab;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.launches-track:active { cursor: grabbing; }
.launches-track::-webkit-scrollbar { display: none; }
.launches-track { -ms-overflow-style: none; scrollbar-width: none; }

.launches-row {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    min-width: -webkit-fit-content;
    min-width: fit-content;
}

:root {
    --lc-cell:  250px;
    --lc-row-h: 250px;
    --lc-gap:    12px;
    --lc-ctr-w: 500px;
    --lc-cell2: calc(var(--lc-cell) * 2 + var(--lc-gap));
}

.launch-card {
    flex-shrink: 0;
    height: var(--lc-row-h);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    scroll-snap-align: start;
}
.launch-card--s1 { width: var(--lc-cell); }
.launch-card--s2 { width: var(--lc-cell2); }

.launch-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.launch-card:hover img { transform: scale(1.06); }

.launch-card-expand {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    opacity: 0;
    transform: scale(0.7);
    transition: var(--transition);
    backdrop-filter: blur(4px);
    z-index: 2;
}
.launch-card:hover .launch-card-expand {
    opacity: 1;
    transform: scale(1);
}

.launch-card--counter {
    flex-shrink: 0;
    width: var(--lc-ctr-w);
    height: var(--lc-row-h);
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    cursor: default;
    scroll-snap-align: start;
}
.launch-card--counter::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

.lc-tri { position: absolute; width: 0; height: 0; pointer-events: none; }
.lc-tri--1 { top: -14px; right: 22px; border-left: 38px solid transparent; border-right: 38px solid transparent; border-bottom: 64px solid rgba(255,255,255,0.08); }
.lc-tri--2 { bottom: 16px; left: -8px; border-left: 30px solid transparent; border-right: 30px solid transparent; border-top: 52px solid rgba(255,255,255,0.07); }
.lc-tri--3 { top: 38px; left: 14px; border-left: 20px solid transparent; border-right: 20px solid transparent; border-bottom: 34px solid rgba(255,255,255,0.06); }

.launch-counter-num {
    position: relative;
    z-index: 1;
    font-size: 66px;
    font-weight: var(--fw-black);
    color: white;
    line-height: 1;
    letter-spacing: -3px;
}
.launch-counter-num span { color: var(--accent); font-size: 74px; }

.launch-counter-label {
    position: relative;
    z-index: 1;
    font-size: var(--text-md);
    font-weight: var(--fw-bold);
    color: rgba(255,255,255,0.9);
    text-align: center;
    padding: 0 20px;
    line-height: 1.3;
}
.launch-counter-sub {
    position: relative;
    z-index: 1;
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

.launches-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10,16,34,0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}
.launches-lightbox.active { opacity: 1; pointer-events: all; }
.launches-lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 14px;
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0,0,0,0.65);
    display: block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.launches-lightbox-close {
    position: fixed; top: 22px; right: 26px;
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 18px; cursor: pointer; transition: var(--transition);
}
.launches-lightbox-close:hover { background: rgba(255,255,255,0.22); }
.launches-lightbox-prev,
.launches-lightbox-next {
    position: fixed; top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 18px; cursor: pointer;
    transition: var(--transition); z-index: 2;
}
.launches-lightbox-prev:hover,
.launches-lightbox-next:hover { background: rgba(255,255,255,0.22); }
.launches-lightbox-prev { left: 20px; }
.launches-lightbox-next { right: 20px; }
.launches-lightbox-counter {
    position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
    font-size: var(--text-xs); color: rgba(255,255,255,0.4); letter-spacing: 1px;
}


/* ══ NEWS ══ */
.news-grid {
    display: flex;
    gap: 4px;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.news-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.5s cubic-bezier(0.4,0,0.2,1);
    min-width: 72px;
}
.news-item:hover { flex: 4; }
.news-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-item:hover img { transform: scale(1.05); }
.news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,30,58,0.92) 0%, rgba(13,30,58,0.3) 50%, transparent 100%);
}
.news-tag-vert {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s;
}
.news-item:hover .news-tag-vert { opacity: 0; }
.news-vert-label {
    writing-mode: vertical-rl;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: rgba(255,255,255,0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}
.news-item:hover .news-content {
    opacity: 1;
    transform: translateY(0);
}
.news-content-tag {
    display: inline-block;
    background: var(--blue);
    color: white;
    font-size: 11px;
    font-weight: var(--fw-bold);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.news-content-date {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.news-content-title {
    font-size: var(--text-md);
    font-weight: var(--fw-black);
    color: white;
    line-height: 1.3;
    margin-bottom: 10px;
}
.news-content-text {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-content-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    border-bottom: 2px solid var(--blue);
    padding-bottom: 2px;
    transition: var(--transition);
    text-decoration: none;
}
.news-content-link:hover { gap: 10px; }


/* ══ ABOUT ══ */
.about-section {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}
.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(26,111,212,0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(26,111,212,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
    pointer-events: none;
}
.about-grid > * { pointer-events: auto; }
.about-right-spacer { pointer-events: none; }

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.about-eyebrow::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
}
.about-title {
    font-size: var(--text-3xl);
    font-weight: var(--fw-black);
    color: white;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.about-title span { color: var(--blue-light); }
.about-desc {
    font-size: var(--text-md);
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 36px;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 36px;
}
.about-stat {
    padding: 24px 20px;
    border-right: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.about-stat:last-child { border-right: none; }
.about-stat-num {
    font-size: var(--text-3xl);
    font-weight: var(--fw-black);
    color: white;
    letter-spacing: -1px;
    line-height: 1;
}
.about-stat-num span { color: var(--green); }
.about-stat-label {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.4);
    margin-top: 6px;
    font-weight: var(--fw-semi);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.about-feature-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: rgba(26,111,212,0.15);
    border: 1px solid rgba(26,111,212,0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-light);
    font-size: 17px;
}
.about-feature-text h4 {
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    color: white;
    margin-bottom: 2px;
}
.about-feature-text p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
}

/* ── Видео: фон правой половины, во всю высоту секции ── */
/* Обёртка верхней части — контент + видео */
.about-main {
    position: relative;
    z-index: 1;
}

/* ── Видео: фон правой половины, во всю высоту .about-main ── */
.about-video-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 52%;
    z-index: 1;
    background: var(--dark);
    overflow: hidden;
}
.about-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    display: none;
    cursor: pointer;
}
.about-video-wrap.playing video { display: block; }
.about-video-wrap.playing .video-placeholder { display: none; }

/* Постер-заглушка */
.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    cursor: pointer;
    background-color: var(--dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.video-play-btn {
    width: 92px;
    height: 92px;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    padding-left: 6px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.45);
    transition: var(--transition);
    position: relative;
    z-index: 6;
}
.video-placeholder:hover .video-play-btn {
    background: var(--blue);
    border-color: var(--blue);
    transform: scale(1.08);
    box-shadow: 0 10px 60px rgba(26,111,212,0.7);
}
.video-placeholder p {
    font-size: var(--text-base);
    font-weight: var(--fw-semi);
    color: white;
    text-shadow: 0 2px 18px rgba(0,0,0,0.9);
    position: relative;
    z-index: 6;
}

/* Своя кнопка play/pause — видна только при проигрывании */
/* Своя кнопка play/pause — по центру снизу, видна при наведении */
.video-toggle-btn {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;

    width: 92px;
    height: 92px;
    background: rgba(255,255,255,0.16);
    border: 2px solid rgba(255,255,255,0.55);
    border-radius: 50%;
    color: white;
    font-size: 32px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.45);
    transition: var(--transition);
}
.about-video-wrap.playing .video-toggle-btn {
    display: flex;
}
.about-video-wrap.playing:hover .video-toggle-btn {
    opacity: 1;
}
.video-toggle-btn:hover {
    transform: translateX(-50%) translateY(50%) scale(1.08);
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 10px 60px rgba(26,111,212,0.7);
}


/* Скрыть любые нативные контролы (на всякий случай, разные браузеры) */
.about-video-wrap video::-webkit-media-controls { display: none !important; }
.about-video-wrap video::-webkit-media-controls-enclosure { display: none !important; }

/* Градиенты */
.about-video-fade {
    position: absolute;
    pointer-events: none;
    z-index: 100;
}
.about-video-fade--top {
    top: 0; left: 0; right: 0;
    height: 35%;
    background: linear-gradient(to bottom, var(--dark) 0%, rgba(13,30,58,0.6) 40%, transparent 100%);
}
.about-video-fade--bottom {
    bottom: 0; left: 0; right: 0;
    height: 35%;
    background: linear-gradient(to top, var(--dark) 0%, rgba(13,30,58,0.6) 40%, transparent 100%);
}
.about-video-fade--left {
    top: 0; bottom: 0; left: 0;
    width: 45%;
    background: linear-gradient(to right, var(--dark) 0%, rgba(13,30,58,0.7) 35%, transparent 100%);
}
.about-video-fade--right {
    top: 0; bottom: 0; right: 0;
    width: 25%;
    background: linear-gradient(to left, var(--dark) 0%, rgba(13,30,58,0.5) 50%, transparent 100%);
}

/* Пустое состояние */
.video-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    font-size: 64px;
}

/* ── Trust strip ── */
.trust-strip {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 36px 0 0;
    position: relative;
    z-index: 2;
    margin-top: 60px;
}
.trust-strip-label {
    text-align: center;
    font-size: var(--text-md);
    font-weight: var(--fw-bold);
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}
.trust-track-outer {
    overflow: hidden;
    position: relative;
}
.trust-track-outer::before,
.trust-track-outer::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.trust-track-outer::before {
    left: 0;
    background: linear-gradient(90deg, rgba(13,30,58,1), transparent);
}
.trust-track-outer::after {
    right: 0;
    background: linear-gradient(-90deg, rgba(13,30,58,1), transparent);
}
.trust-track {
    display: flex;
    gap: 20px;
    animation: trust-roll 28s linear infinite;
}
.trust-track:hover { animation-play-state: paused; }
@keyframes trust-roll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.trust-logo-card {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    transition: var(--transition);
}
.trust-logo-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.18);
}
.trust-logo-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.8);
    transition: var(--transition);
}
.trust-logo-card:hover img {
    filter: brightness(0) invert(1) opacity(1);
}


/* ══ CONTACTS ══ */
.contacts-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--off-white);
    border-radius: 14px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.contact-info-card:hover {
    border-color: var(--blue-light);
    box-shadow: var(--shadow-sm);
}
.contact-info-icon {
    width: 42px;
    height: 42px;
    background: var(--blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 17px;
    flex-shrink: 0;
}
.contact-info-label {
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}
.contact-info-value {
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    color: var(--dark);
    line-height: 1.4;
}
.contact-info-value a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}
.contact-info-value a:hover { color: var(--blue); }


/* ══ RUSSIA MAP ══ */
.russia-map-wrap {
    overflow: hidden;
    position: relative;
}

.russia-map-label {
    width: fit-content;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    background: var(--off-white);
    border-radius: 20px;
    padding: 12px;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 8px;
    /* в потоке, НАД картой — не перекрывает пины */
    margin-bottom: 16px;
}
.russia-map-label i { color: var(--blue); }
.rmap {
    width: 100%;
    height: auto;
    color: var(--gray-400);
    display: block;
}

/* Обёртка карты и слой пинов: слой кладём поверх ИМЕННО картинки .rmap,
   а не всей .russia-map-wrap (где сверху ещё плашка). Для этого даём
   обёртке flex-колонку, а слой абсолютим от .rmap через вложенность
   позиционирования: .rmap получает свой контекст. */
.map-pin-layer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    /* слой повторяет геометрию SVG (1800x1000) и прижат к низу обёртки,
       туда же, где заканчивается карта — плашка сверху не влияет, т.к.
       карта всегда внизу обёртки, а её высота = ширина/1.8 */
    aspect-ratio: 1800 / 1000;
    pointer-events: none;
    z-index: 2;
}
.map-pin {
    position: absolute;
    cursor: pointer;
    pointer-events: all;
}
.map-pin-dot {
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 3px rgba(255,107,0,0.25);
    transform: translate(-50%, -50%);
    transition: transform 0.2s, box-shadow 0.2s;
}
.map-pin--active .map-pin-dot {
    background: var(--blue);
    box-shadow: 0 0 0 4px rgba(26,111,212,0.3), 0 0 16px rgba(26,111,212,0.4);
    animation: ping-active 2s infinite;
}
@keyframes ping-active {
    0%,100% { box-shadow: 0 0 0 4px rgba(26,111,212,0.3), 0 0 16px rgba(26,111,212,0.3); }
    50%      { box-shadow: 0 0 0 8px rgba(26,111,212,0.1), 0 0 24px rgba(26,111,212,0.15); }
}
@keyframes ping {
    0%,100% { box-shadow: 0 0 0 3px rgba(255,107,0,0.25); }
    50%      { box-shadow: 0 0 0 8px rgba(255,107,0,0.06); }
}
.map-pin:not(.map-pin--active) .map-pin-dot {
    animation: ping 2s infinite;
}

.map-pin-tooltip {
    position: absolute;
    bottom: 22px;
    left: 0%;
    transform: translateX(-50%);
    background: var(--dark);
    color: white;
    border-radius: 10px;
    padding: 10px 14px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 10;
    box-shadow: var(--shadow-md);
    min-width: 160px;
}
.map-pin-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--dark);
}
.map-pin:hover .map-pin-tooltip { opacity: 1; }
.tip-city {
    font-size: var(--text-sm);
    font-weight: var(--fw-black);
    margin-bottom: 3px;
}
.tip-phone {
    color: rgba(255,255,255, 1);
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    margin-bottom: 5px;
}
.tip-address {
    color: rgba(255,255,255,.8);
    font-size: var(--text-xs);
    line-height: 1.4;
    max-width: 200px;
    white-space: normal;
}


/* ══ CTA DARK BLOCK ══ */
.contacts-cta {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
    margin-top: 32px;
}
.contacts-cta-bg { position: absolute; inset: 0; }
.contacts-cta-photo { width: 100%; height: 100%; object-fit: cover; }
.contacts-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,30,58,0.97) 0%, rgba(13,30,58,0.85) 55%, rgba(13,30,58,0.7) 100%);
}
.contacts-cta-left {
    position: relative;
    z-index: 2;
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: var(--blue-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.cta-eyebrow i { color: var(--green); }
.cta-title {
    font-size: var(--text-3xl);
    font-weight: var(--fw-black);
    color: white;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.cta-title span { color: var(--blue-light); }
.cta-desc {
    font-size: var(--text-md);
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 440px;
}
.cta-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
    padding: 0;
}
.cta-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--text-base);
    font-weight: var(--fw-semi);
    color: rgba(255,255,255,0.8);
}
.cta-features li i { color: var(--green); font-size: 17px; }
.cta-stats {
    display: flex;
    gap: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.cta-stat-num {
    font-size: var(--text-2xl);
    font-weight: var(--fw-black);
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.5px;
}
.cta-stat-lbl {
    font-size: var(--text-xs);
    font-weight: var(--fw-semi);
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contacts-cta-right {
    position: relative;
    z-index: 2;
    padding: 48px 48px 48px 0;
    display: flex;
    align-items: center;
}
.cta-form-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 36px;
    width: 100%;
}
.cta-form-title {
    font-size: var(--text-xl);
    font-weight: var(--fw-black);
    color: white;
    margin-bottom: 6px;
}
.cta-form-sub {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
}
.cta-form-card .form-group label { color: rgba(255,255,255,0.6); }
.cta-form-card .form-group input,
.cta-form-card .form-group textarea,
.cta-form-card .form-group select {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
}
.cta-form-card .form-group input::placeholder,
.cta-form-card .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.cta-form-card .form-group input:focus,
.cta-form-card .form-group textarea:focus {
    border-color: var(--blue-light);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(61,143,232,0.15);
    outline: none;
}
.cta-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--green);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    letter-spacing: 0.3px;
}
.cta-submit-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(26,111,212,0.4);
}
.cta-form-card .form-privacy { color: rgba(255,255,255,0.35); }
.cta-form-card .form-privacy a { color: rgba(61,143,232,0.8); }


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1200px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .catalog-mosaic {
        grid-template-columns: repeat(4, 1fr);
    }
    .catalog-extra {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

    .hero-wrap { padding: 12px 20px 0; }
    .hero-slider { height: 280px; }
    .h-slide-content { bottom: 24px; left: 28px; }
    .hero-banners { padding: 12px 20px 0; gap: 10px; }
    .hero-banner { height: 150px; }

    .section-title { font-size: var(--text-xl); }

    /* Каталог — 3 колонки на планшете */
    .catalog-mosaic {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Товары — 2 карточки */
    .product-card { flex: 0 0 calc(50% - 10px); }

    .news-grid { height: 420px; }

    /* About — одна колонка, видео в потоке снизу */
    .about-main { position: static; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-title { font-size: var(--text-2xl); }
    .about-right-spacer { display: none; }
    .about-video-wrap {
        position: relative;
        top: auto;
        bottom: auto;
        right: auto;
        width: 100%;
        max-width: 640px;
        height: 360px;
        margin: 0 auto;
        border-radius: 16px;
    }
    .about-video-fade { display: none; }

    .contacts-cards-row { grid-template-columns: repeat(2, 1fr); }

    .contacts-cta { grid-template-columns: 1fr; min-height: auto; }
    .contacts-cta-left { padding: 48px 36px 32px; }
    .contacts-cta-right { padding: 0 36px 48px; }
    .cta-title { font-size: var(--text-2xl); }

    :root { --lc-cell: 200px; --lc-row-h: 200px; --lc-ctr-w: 380px; }
    .launches-fade { width: 120px; }
    .launch-counter-num { font-size: 52px; }
    .launch-counter-num span { font-size: 60px; }
    .launch-counter-label { font-size: var(--text-sm); }
}
/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤767px)
   Переписано: hero вертикальный, баннеры скрыты,
   каталог/товары исправлены, about — видео снизу под текстом
════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

    /* ── HERO SLIDER — высокий вертикальный баннер ── */
    .hero-wrap { padding: 10px 14px 0; }
    .hero-slider {
        height: 760px;
        border-radius: 14px;
    }
    .h-slide-bg--desk { display: none; }
    .h-slide-bg--mob  { display: block; }
    .h-slide-content { bottom: 24px; left: 18px; right: 18px; }
    .h-slide-btn { font-size: var(--text-xs); padding: 10px 18px; }
    .h-arrow { display: none; }
    .h-dots { bottom: 16px; right: 16px; }

    /* ── HERO BANNERS — скрыты на мобиле ── */
    .hero-banners { display: none; }

    /* ── SECTION TITLES ── */
    .section-title { font-size: var(--text-lg); letter-spacing: -0.4px; }
    .section-eyebrow { font-size: 11px; }

    /* ── КАТАЛОГ (категории товаров) — 2 колонки ── */
    .catalog-group { margin-bottom: 28px; }
    .catalog-group-header { gap: 10px; margin-bottom: 14px; }
    .catalog-group-title { font-size: var(--text-base); }
    .catalog-mosaic {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .cat-card { padding: 4px; }
    .cat-card img {
        height: auto;
        width: 100%;
        max-height: 160px;
        object-fit: contain;
    }
    .cat-card-name {
        margin: 10px 0 6px;
        font-size: 11px;
        letter-spacing: 0.2px;
    }

    /* ── ТОВАРЫ — свайп-скролл + рабочие стрелки (JS) ── */
    .products-nav { margin-bottom: 16px; }
    .products-arrows { display: flex; gap: 8px; }
    .products-arrow { width: 40px; height: 40px; font-size: 13px; }
    .products-track-wrap {
        overflow: visible;
        margin: 0 -14px;            /* трек выходит за контейнер, поля даём паддингом */
        padding: 0 10px;
    }
    .products-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-wrap: nowrap;
        padding: 8px 0 14px;     /* боковой воздух = 14px с обоих краёв */
        gap: 14px;
        transition: none;
    }
    .products-track::-webkit-scrollbar { display: none; }
    .products-track { -ms-overflow-style: none; scrollbar-width: none; }

    .product-card {
        flex: 0 0 100%;              /* карточка у́же экрана → виден край следующей */
        min-width: 0;
        scroll-snap-align: start;
        margin: 0;
        border-radius: 16px;        /* возвращаем скругление */
        overflow: hidden;           /* фото скругляется по верхним углам */
    }
    .product-card:first-child,
    .product-card:last-child { margin: 0; }

    .product-img { height: 220px; }
    .product-name { font-size: var(--text-base); min-height: auto; }
    .product-badge { font-size: 10px; }
    .spec-row { padding-top: 12px; }
    .spec-label { font-size: 13px; }
    .spec-val { font-size: 13px; }
    .product-price { font-size: var(--text-lg); }
    .btn-detail,
    .btn-order { font-size: 12px; padding: 12px 10px; gap: 4px; }

    /* ── LAUNCHES ── */
    :root { --lc-cell: 150px; --lc-row-h: 140px; --lc-gap: 8px; --lc-ctr-w: 240px; }
    .launches-header { margin-bottom: 16px; }
    .launches-fade { width: 50px; }
    .launches-arrow { width: 30px; height: 30px; font-size: 12px; }
    .launches-arrow--r { right: 6px; }
    .launches-arrow--l { left: 6px; }
    .launches-track { gap: var(--lc-gap); }
    .launches-row { gap: var(--lc-gap); }
    .launch-card { border-radius: 10px; }
    .launch-card--counter { border-radius: 10px; }
    .launch-counter-num { font-size: 34px; letter-spacing: -2px; }
    .launch-counter-num span { font-size: 40px; }
    .launch-counter-label { font-size: var(--text-xs); padding: 0 12px; }
    .launch-counter-sub { display: none; }
    .launches-lightbox img { max-width: 96vw; border-radius: 10px; }
    .launches-lightbox-prev { left: 8px; }
    .launches-lightbox-next { right: 8px; }

    /* ── НОВОСТИ — вертикальный стек ── */
    .news-grid {
        flex-direction: column;
        height: auto;
        gap: 8px;
        border-radius: 14px;
    }
    .news-item { min-width: 0; min-height: 200px; flex: none; }
    .news-item:hover { flex: none; }
    .news-tag-vert { display: none; }
    .news-content { opacity: 1; transform: none; }
    .news-content-title { font-size: var(--text-base); }
    .news-content-text { display: none; }

    /* ── ABOUT — одна колонка, видео ВНИЗУ под текстом ──
       Реальная структура (front-page.php):
         .about-main > .about-video-wrap   (видео идёт ПЕРВЫМ)
                     > .container > .about-grid > .about-left (текст)
       Поэтому порядок задаём флексом на .about-main, а боковые поля
       видео приравниваем к полям .container. */
    .about-main {
        position: static;
        display: flex;
        flex-direction: column;
    }
    .about-main > .container { order: 1; }   /* текст — сверху */
    .about-main > .about-video-wrap { order: 2; } /* видео — под текстом */

    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }
    .about-title { font-size: var(--text-xl); }
    .about-desc { font-size: var(--text-sm); }
    .about-stat { padding: 16px 10px; }
    .about-stat-num { font-size: var(--text-xl); }
    .about-stat-label { font-size: 10px; }

    /* видео — обычный блок в потоке снизу. Боковые поля как у текста:
       .container задаёт горизонтальный padding, поэтому видео получает
       такой же отступ через margin-inline, синхронный с контейнером. */
    .about-right-spacer { display: none; }
    .about-video-wrap {
        position: relative;
        top: auto;
        bottom: auto;
        right: auto;
        left: auto;
        width: auto;
        max-width: 100%;
        height: 240px;
        /* боковые поля совпадают с .container; на этом сайте отступ
           страницы = 14px (как у .hero-wrap). Если в style.css у
           .container другой padding — поменяйте 14px на него. */
        margin: 24px 14px 0;
        border-radius: 14px;
        box-sizing: border-box;
        background: var(--dark);
    }
    .video-play-btn {
        width: 64px;
        height: 64px;
        font-size: 22px;
    }
    .video-toggle-btn {
        width: 64px;
        height: 64px;
        font-size: 22px;
    }
    /* затемняющие градиенты видео на мобиле не нужны */
    .about-video-fade { display: none; }

    .trust-strip { margin-top: 36px; }
    .trust-logo-card { width: 120px; height: 52px; }

    /* ── КОНТАКТЫ ── */
    .contacts-cards-row { grid-template-columns: 1fr; gap: 10px; }
    .contact-info-card { padding: 16px; }

    /* ── КАРТА ──
       Слой пинов теперь привязан к пропорции SVG (aspect-ratio в базовом
       правиле .map-pin-layer), поэтому left%/top% пинов совпадают с картой
       на любой ширине. Здесь только убираем лишний padding обёртки и
       уменьшаем точку. */
    .russia-map-wrap { padding: 0; border-radius: 14px; }
    .map-pin-dot { width: 12px; height: 12px; }
    .map-pin-tooltip {
        font-size: var(--text-xs);
        padding: 8px 10px;
        white-space: normal;
        max-width: 140px;
        text-align: center;
        min-width: 120px;
    }
    .tip-city { font-size: var(--text-xs); }
    .tip-phone { font-size: 10px; }
    .tip-address { display: none; }

    /* ── CTA ── */
    .contacts-cta { grid-template-columns: 1fr; border-radius: 16px; }
    .contacts-cta-left { padding: 32px 20px 24px; }
    .contacts-cta-right { padding: 0 20px 32px; }
    .cta-title { font-size: var(--text-xl); letter-spacing: -0.5px; }
    .cta-desc { font-size: var(--text-sm); }
    .cta-features li { font-size: var(--text-sm); }
    .cta-stats { gap: 20px; flex-wrap: wrap; }
    .cta-stat-num { font-size: var(--text-xl); }
    .cta-form-card { padding: 24px 18px; border-radius: 16px; }
    .cta-form-title { font-size: var(--text-lg); }
    .cta-submit-btn { font-size: var(--text-sm); padding: 14px; }

    .products__arrows-button {
        flex-flow: row wrap;
        justify-content: right;
    }
}


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

    /* Hero — чуть ниже на маленьких экранах */
    .hero-slider { height: 610px; }
    .h-slide-btn { font-size: 11px; padding: 9px 16px; }

    .section-title { font-size: var(--text-md); }

    /* Каталог — 2 колонки, плотнее */
    .catalog-mosaic { gap: 8px; }
    .cat-card img { max-height: 130px; }
    .cat-card-name { font-size: 10px; }

    /* Launches */
    :root { --lc-cell: 130px; --lc-row-h: 120px; --lc-ctr-w: 200px; }
    .launch-counter-num { font-size: 28px; }
    .launch-counter-num span { font-size: 34px; }

    /* Товары — карточка чуть шире, но с peek соседней */
    .product-card { flex: 0 0 100%; min-width: 0; }
    .product-img { height: 190px; }
    .product-name { font-size: var(--text-sm); min-height: auto; }
    .btn-detail i,
    .btn-order i { display: inline; }

    /* About */
    .about-stat-num { font-size: var(--text-lg); }
    .about-video-wrap { height: 200px; }

    /* CTA */
    .contacts-cta-left { padding: 24px 16px 20px; }
    .contacts-cta-right { padding: 0 16px 24px; }
    .cta-title { font-size: var(--text-lg); }
    .cta-stats { gap: 16px; }
}






/* ════════════════════════════════════════════════════════════════
   PROJECT MODAL — модалка реализованного проекта
   (добавлено к блоку LAUNCHES)
════════════════════════════════════════════════════════════════ */

/* Карточка-запуск, ведущая на проект: курсор и подсказка */
.launch-card--project { cursor: pointer; }

.launch-card-pill {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: rgba(13,30,58,0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
    font-weight: var(--fw-bold);
    letter-spacing: 0.2px;
    z-index: 2;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
    pointer-events: none;
    white-space: nowrap;
}
.launch-card-pill i { color: var(--blue-light); font-size: 12px; }
.launch-card--project:hover .launch-card-pill {
    opacity: 1;
    transform: translateY(0);
}
.launch-card--project:hover .launch-card-expand {
    background: var(--blue);
    border-color: var(--blue);
}

/* ── Контейнер модалки ── */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}
.project-modal.active {
    opacity: 1;
    pointer-events: all;
}
.project-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8,14,30,0.82);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.project-modal-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 880px;
    max-height: 90vh;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 32px 90px rgba(0,0,0,0.5);
    transform: translateY(24px) scale(0.98);
    transition: transform 0.32s cubic-bezier(0.16,1,0.3,1);
    display: flex;
    flex-direction: column;
}
.project-modal.active .project-modal-box {
    transform: translateY(0) scale(1);
}

.project-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 42px;
    height: 42px;
    background: rgba(13,30,58,0.55);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: var(--transition);
}
.project-modal-close:hover {
    background: var(--red);
    border-color: var(--red);
    transform: rotate(90deg);
}

.project-modal-scroll {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.project-modal-scroll::-webkit-scrollbar { width: 8px; }
.project-modal-scroll::-webkit-scrollbar-thumb {
    background: var(--gray-200);
    border-radius: 4px;
}

/* Шапка модалки — главное фото + заголовок поверх */
.project-modal-hero {
    position: relative;
    width: 100%;
    height: 340px;
    background: var(--dark);
    flex-shrink: 0;
}
.project-modal-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.project-modal-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,30,58,0.95) 0%, rgba(13,30,58,0.35) 45%, rgba(13,30,58,0.1) 100%);
}
.project-modal-hero-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px 36px 26px;
    z-index: 2;
}
.project-modal-title {
    font-size: var(--text-2xl);
    font-weight: var(--fw-black);
    color: #fff;
    line-height: 1.18;
    letter-spacing: -0.5px;
    margin: 0 0 8px;
    text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}
.project-modal-subtitle {
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    color: var(--blue-light);
    letter-spacing: 0.3px;
}

/* Тело */
.project-modal-body {
    padding: 28px 36px 36px;
}
.project-modal-desc {
    font-size: var(--text-base);
    color: var(--gray-800);
    line-height: 1.7;
}
.project-modal-desc p { margin: 0 0 14px; }
.project-modal-desc p:last-child { margin-bottom: 0; }
.project-modal-desc strong { color: var(--dark); font-weight: var(--fw-bold); }
.project-modal-desc ul {
    margin: 0 0 14px;
    padding-left: 20px;
    list-style: disc;
}
.project-modal-desc li { margin-bottom: 6px; }

/* Галерея — некликабельная сетка превью */
.project-modal-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 24px;
}
.project-modal-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    background: var(--gray-200);
}

/* ── Адаптив модалки ── */
@media (max-width: 767px) {
    .project-modal { padding: 0; align-items: stretch; }
    .project-modal-box {
        max-width: 100%;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
    }
    .project-modal-hero { height: 240px; }
    .project-modal-hero-cap { padding: 22px 18px 18px; }
    .project-modal-title { font-size: var(--text-lg); }
    .project-modal-body { padding: 20px 18px 32px; }
    .project-modal-desc { font-size: var(--text-sm); }
    .project-modal-gallery { grid-template-columns: repeat(3, 1fr); gap: 7px; }
    .project-modal-close {
        top: 12px; right: 12px;
        width: 38px; height: 38px;
        font-size: 15px;
    }
    /* На мобиле пилюля всегда видна — нет hover */
    .launch-card-pill {
        opacity: 1;
        transform: none;
        font-size: 10px;
        padding: 5px 9px;
        left: 6px;
        bottom: 6px;
    }
    .launch-card-pill i { font-size: 10px; }
}

@media (max-width: 480px) {
    .project-modal-gallery { grid-template-columns: repeat(2, 1fr); }
    .launch-card-pill {
        /* на совсем мелких карточках текст прячем, оставляем значок */
        gap: 0;
        padding: 6px;
    }
    .launch-card-pill span,
    .launch-card-pill { font-size: 0; }
    .launch-card-pill i { font-size: 12px; }
}