/* ========== БАЗОВЫЕ СТИЛИ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    
}

/* ========== ШАПКА ========== */
:root {
    --primary-blue: #008cc8;
    --dark-blue: #1a5678;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
}

.main-header {
    width: 100%;
    background: #ffffff;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 1000;
}

.container-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

/* --- 1. ВЕРХНЕЕ МЕНЮ (По центру) --- */
.top-bar {
    background-color: var(--bg-light);
    border-bottom: 1px solid #eaeaea;
    padding: 8px 0;
}
.top-bar .container-header {
    justify-content: center; /* Центрирование */
}
.top-nav ul {
    display: flex;
    list-style: none !important;
    margin: 0;
    padding: 0;
    gap: 20px;
}
.top-nav ul li {
    list-style: none !important;
    position: relative;
}
.top-nav ul li a {
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}
.top-nav ul li a:hover {
    color: var(--primary-blue);
}

.top-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    min-width: 210px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 8px 0;
    margin-top: 5px;
    border-radius: 4px;
    z-index: 1010;
    flex-direction: column;
    list-style: none !important;
}
.top-nav .sub-menu li {
    list-style: none !important;
}
.top-nav .sub-menu li a {
    padding: 8px 15px;
    display: block;
    font-size: 13px;
}
.top-nav .sub-menu li a:hover {
    background-color: var(--bg-light);
}
.top-nav .has-children.open .sub-menu {
    display: flex; /* Открытие по клику */
}
.top-nav .has-children > a .arrow-down {
    display: inline-block;
}

/* --- 2. СРЕДНИЙ РЯД --- */
.middle-bar {
    padding: 15px 0;
    background: #ffffff;
}
.middle-bar .container-header {
    justify-content: center;
    gap: 40px;
}
.logo-wrapper .logo-img {
    max-height: 60px;
    width: auto;
    display: block;
}
.middle-bar .contact-info {
    display: flex;
    align-items: center; 
    gap: 0;
}
.middle-bar .contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid #ccc;
}
.middle-bar .contact-item:last-child {
    border-right: none;
    padding-right: 0;
}
.middle-bar .contact-label {
    font-size: 12px;
    color: #888;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.middle-bar .contact-link {
    font-size: 15px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
}
.middle-bar #callback-btn {
    background-color: transparent;
    padding: 10px 18px;
    text-decoration: none;
    color: var(--text-dark);
    border: 2px solid var(--primary-blue);
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
}
.middle-bar #callback-btn:hover {
    background-color: var(--primary-blue);
    color: #fff;
}

/* Иконки контактов */
.middle-bar .contact-icon {
    font-size: 14px;
    color: var(--primary-blue);
    margin-bottom: 4px;
}
.middle-bar .contact-item p {
    margin: 0;
    font-size: 14px;
}
.middle-bar .divider {
    width: 1px;
    background: #ccc;
    height: 50px;
    margin: 0 10px;
}

/* --- 3. НИЖНЕЕ МЕНЮ (По центру + фикс точки из image_bfa112.png) --- */
.bottom-bar {
    background-color: var(--primary-blue);
    width: 100%;
    position: relative;
}
.bottom-bar .container-header {
    justify-content: center; /* Центрируем основное меню */
    position: relative;
}

/* Абсолютное позиционирование логотипа, чтобы он не ломал центровку меню */
.sticky-logo {
    display: none;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    list-style: none !important;
}
.sticky-logo a, .sticky-logo img {
    display: block;
    max-height: 40px;
    width: auto;
    border: none;
}

#nav-menu {
    width: auto;
}
#nav-menu ul {
    display: flex;
    list-style: none !important;
    margin: 0;
    padding: 0;
}
#nav-menu ul li {
    list-style: none !important;
}
#nav-menu > ul > li > a {
    color: #ffffff;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}
#nav-menu > ul > li:hover > a {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Выпадашка продукции на десктопе */
#nav-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    min-width: 260px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
    z-index: 1050;
    flex-direction: column;
    border-radius: 0 0 4px 4px;
}
#nav-menu .dropdown-menu li a {
    color: var(--text-dark);
    padding: 12px 20px;
    display: block;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}
#nav-menu .dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}
#nav-menu .dropdown.open .dropdown-menu {
    display: flex; /* Открытие по клику, пока не нажмешь еще раз */
}

/* Фиксация нижнего ряда */
.bottom-bar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
}
.bottom-bar.sticky .sticky-logo {
    display: block;
}
body.fixed-menu-active {
    padding-top: 48px;
}

.hamburger {
    display: none;
}

/* --- КНОПКА НАВЕРХ --- */
.to-top {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 999;
    display: none;
    border-radius: 4px;
    width: 38px;
    height: 38px;
    line-height: 36px;
    text-align: center;
    background-color: var(--primary-blue);
    color: #fff !important;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* ==========================================================================
   СТИЛИЗАЦИЯ ИСПРАВЛЕННОГО МОБИЛЬНОГО МЕНЮ (Фикс для image_bfa0ef.png)
   ========================================================================== */
@media (max-width: 991px) {
    /* 1. Скрываем лишние бары */
    .top-bar, .middle-bar {
        display: none !important;
    }

    /* 2. Настройка нижнего бара */
    .bottom-bar {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background-color: var(--primary-blue) !important;
        z-index: 10000 !important;
        display: flex;
        align-items: center;
        padding: 0 15px;
    }

    .bottom-bar .container-header {
        display: flex !important;
        justify-content: space-between !important; 
        align-items: center;
        width: 100%;
        height: 100%;
    }

    /* 3. Бургер-кнопка (теперь будет справа) */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 18px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        z-index: 10001;
        /* На всякий случай принудительно двигаем вправо, если нужно */
        margin-left: auto; 
    }

    .hamburger span {
        width: 100%;
        height: 2px;
        background: #fff;
        display: block;
    }

    /* Остальные настройки меню (оставляем без изменений) */
    #nav-menu {
        display: none; 
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #ffffff !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 9999;
        padding: 0;
    }

    #nav-menu.open {
        display: block !important;
    }

    #nav-menu.active {
        display: block !important;
    }

    #nav-menu ul {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #nav-menu ul li {
        width: 100%;
        list-style: none !important;
        border-bottom: 1px solid #f0f0f0;
    }

    #nav-menu ul li a {
        display: block !important;
        padding: 15px 20px !important;
        color: #333 !important;
        text-transform: uppercase;
        text-decoration: none !important;
        font-size: 14px;
    }

    #nav-menu .dropdown-menu {
        display: block !important;
        position: relative !important;
        background: none !important;
        width: 100% !important;
        padding: 0 !important;
    }

    #nav-menu .dropdown-menu li a {
        padding-left: 40px !important;
        color: var(--primary-blue) !important;
    }

    #nav-menu .dropdown > a .arrow-down {
        display: none !important;
    }

    #nav-menu .dropdown.open .dropdown-menu {
        display: block !important;
    }

}
/* ========== СЛАЙДЕР ========== */
.hero-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    touch-action: pan-y;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 350px;
    }
}

.slider {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    width: 33.33%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 100px 0 100px 80px;
    color: #fff;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .slide {
        padding: 30px 20px;
        justify-content: center;
    }
}

.slider a.slide {
    display: flex;
    text-decoration: none;
    color: #fff;
    align-items: flex-start; 
    justify-content: flex-start;
    padding: 100px 0 400px 80px;
}

@media (max-width: 768px) {
    .slider a.slide {
        padding: 30px 20px;
        justify-content: center;
    }
}

.slider a.slide:hover {
    filter: brightness(1.05);
}

.slider a.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slider a.slide:nth-child(1) { background-image: none; background-color: #1a6f9f; }
.slider a.slide:nth-child(2) { background-image: url('img/gas.jpg'); }
.slider a.slide:nth-child(3) { background-image: url('img/gas.jpg'); }

/* Кликбельные слайды */
.slider a.slide {
    display: block;
    width: 33.33%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.slider a.slide:hover {
    filter: brightness(1.05);
}

.slider a.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.slider a.slide {
    display: flex;
    text-decoration: none;
    color: #fff;
    align-items: center;
    justify-content: flex-start;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin-left: 200px;
    margin-top: auto;
    margin-bottom: 150px;
    animation: slideInLeft 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
}

@media (max-width: 768px) {
    .hero-content {
        margin-left: 0;
        max-width: 100%;
        text-align: center;
        margin-bottom: 50px;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
    
.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    letter-spacing: -1px;
    color: #fff;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 35px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #fff;
}

@media (max-width: 768px) {
    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #1a6f9f 0%, #0e4a6e 100%);
    color: #fff;
    border: none;
    width: 55px;
    height: 55px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(26, 111, 159, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

@media (max-width: 768px) {
    .slider-btn {
        display: none;
    }
}

.slider-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.slider-btn:hover {
    background: linear-gradient(135deg, #0e4a6e 0%, #1a6f9f 100%);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(26, 111, 159, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.slider-btn:hover::before {
    left: 100%;
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-btn.prev { 
    left: 20px;
}

.slider-btn.next { 
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 10;
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .slider-dots {
        display: none;
    }
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.9), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 1);
}

/* ========== КАРТОЧКИ "ЧТО ДЕЛАЕТ НАС ОСОБЕННЫМИ" ========== */
.why-choose-us {
    padding: 60px 20px;
    background: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 2px solid #e0e0e0;
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    perspective: 1500px;
    cursor: pointer;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .card {
        height: 220px;
    }
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
    transform-style: preserve-3d;
    border-radius: 12px;
    transform-origin: center center;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.card-front {
    background-size: cover;
    background-position: center;
    flex-direction: column;
    text-align: center;
    position: relative;
}

.card-front::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;

}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1);
}

.card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.card-back {
    background: linear-gradient(135deg, #1a6f9f 0%, #0e4a6e 100%);
    transform: rotateY(180deg);
    padding: 30px;
    position: relative;
}

.card-back::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: inherit;
    z-index: 0;
}

.card-back-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.card-back-content p {
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
    max-width: 280px;
}

.card-front::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    z-index: 1;
}

/* ========== МОБИЛЬНЫЕ КАРТОЧКИ (АДАПТИВ) ========== */
@media (max-width: 768px) {
    .cards {
        gap: 50px;
        padding: 0 20px;
    }

    .card.is-mobile {
        perspective: none;
    }

    .card.is-mobile .card-inner {
        transform-style: flat !important;
        transform: none !important;
        transition: none;
    }

    .card.is-mobile:hover .card-inner {
        transform: none !important;
    }

    .card.is-mobile:hover .card-icon {
        transform: scale(1) !important;
    }

    .card.is-mobile .card-back {
        position: absolute;
        top: 0;
        left: 0;
        transform: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .card.is-mobile.flipped .card-front {
        opacity: 0;
        visibility: hidden;
    }

    .card.is-mobile.flipped .card-back {
        opacity: 1;
        visibility: visible;
    }

    .card.is-mobile .card-front::before {
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .card.is-mobile .card-back::before {
        background: rgba(0, 0, 0, 0.3);
    }
}

/* ========== НАШЕ ПРЕДПРИЯТИЕ ========== */
.about-company-section {
    padding: 60px 20px;
    background: #fff;
    border-bottom: 2px solid #e0e0e0;
    max-width: 1200px;
    margin: 0 auto;
}

.about-company-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
}

.about-company-content {
    display: flex;
    gap: 40px;
    align-items: flex-start; 
}

.about-company-image {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-company-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    display: block;
    margin-top: 30px;
}

.about-company-image .about-video {
    width: 100%;
}

.about-company-image .about-video video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    display: block;
    background: #000;
}

.about-company-text {
    flex: 1;
}

.about-company-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.about-company-text p:last-child {
    margin-bottom: 0;
}

/* Адаптив */
@media (max-width: 768px) {
    .about-company-content {
        flex-direction: column;
    }
    
    .about-company-image {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .about-company-text {
        flex: 0 0 100%;
    }
    
    .about-company-section h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .about-company-text p {
        font-size: 15px;
    }
}

/* ========== КАРУСЕЛЬ УСЛУГ ========== */
.team-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    border-bottom: 2px solid #ccc;
}

.about-title {
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-family: 'Bebas Neue', sans-serif;
    background: linear-gradient(to bottom, #1a6f9f 30%, rgba(255,255,255,0) 76%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 40px;
}

.carousel-container {
    width: 100%;
    height: 400px;
    position: relative;
    perspective: 1000px;
}

.carousel-track {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card_team {
    position: absolute;
    width: 280px;
    height: 350px;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.card_team img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.card_team.center {
    z-index: 10;
    transform: scale(1.1) translateZ(0);
}

.card_team.left-2 {
    z-index: 1;
    transform: translateX(-320px) scale(0.8);
    opacity: 0.6;
}
.card_team.left-1 {
    z-index: 5;
    transform: translateX(-160px) scale(0.9);
    opacity: 0.8;
}
.card_team.right-1 {
    z-index: 5;
    transform: translateX(160px) scale(0.9);
    opacity: 0.8;
}
.card_team.right-2 {
    z-index: 1;
    transform: translateX(320px) scale(0.8);
    opacity: 0.6;
}
.card_team.hidden {
    opacity: 0;
    pointer-events: none;
}

.member-info {
    margin-top: 60px;
}

.member-name {
    color: #1a6f9f;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.member-role {
    color: #666;
    font-size: 18px;
}

.dots_team {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dots_team .dot {
    width: 12px;
    height: 12px;
    background: rgba(26, 111, 159, 0.3);
    border-radius: 50%;
    cursor: pointer;
}

.dots_team .dot.active {
    background: #1a6f9f;
    transform: scale(1.2);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1a6f9f;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
    font-size: 28px;
    border: none;
}

.nav-arrow:hover {
    background: #0e4a6e;
    transform: translateY(-50%) scale(1.05);
}

.nav-arrow.left {
    left: 10px;
}
.nav-arrow.right {
    right: 10px;
}

/* ========== ПРЕИМУЩЕСТВА ========== */
.advantages-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    border-bottom: 2px solid #ccc;
}

.advantages-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #222;
}

.advantages-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1a3a5c;
}

.advantage-card p {
    color: #666;
    font-size: 15px;
}


/* ========== КАРТА ========== */
.map-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    border-bottom: 2px solid #ccc;
}

.map-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #222;
    font-weight: 700;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-address {
    margin-top: 20px;
    font-size: 16px;
    color: #555;
}
.map-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
}
/* Адаптив */
@media (max-width: 768px) {
    .map-section h2 {
        font-size: 24px;
    }
    .map-wrapper {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .map-wrapper {
        height: 280px;
    }
}

/* Адаптив */
@media (max-width: 768px) {
    .map-section h2 {
        font-size: 24px;
    }
    .map-wrapper iframe {
        height: 300px;
    }
}
/* ========== ПОДВАЛ ========== */
footer {
    background-color: #1a2a3a;
    padding: 50px 20px 30px;
    color: #ccc;
    
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a,
.footer-section p a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s;
}

.footer-section ul li a:hover,
.footer-section p a:hover {
    color: #1a6f9f;
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #2a4a5a;
    font-size: 14px;
}

/* ========== ПАРТНЁРЫ ========== */
.partners-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
    border-top: 1px solid #e0e8f0;
    border-bottom: 1px solid #e0e8f0;
}

@media (max-width: 768px) {
    .partners-section {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .partners-section {
        padding: 40px 15px;
    }
}

.partners-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.partners-section .section-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 32px;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .partners-section .section-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .section-subtitle {
        margin-bottom: 30px;
    }
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 15px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    border: 1px solid rgba(26, 111, 159, 0.1);
    min-height: 100px;
}

@media (max-width: 768px) {
    .partner-card {
        min-height: 120px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .partner-card {
        min-height: 110px;
        padding: 15px;
    }
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(26, 111, 159, 0.2);
    border-color: rgba(26, 111, 159, 0.3);
}

.partner-card img {
    max-width: 70%;
    max-height: 70%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.9);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .partner-card img {
        max-width: 80%;
        max-height: 80%;
    }
}

.partner-card:hover img {
    filter: grayscale(0%) brightness(1);
}

.partner-card.white-bg {
    background: #fff;
}

/* ========== МОДАЛЬНОЕ ОКНО ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    max-width: 550px;
    width: 90%;
    padding: 45px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.8);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-width: 100%;
        padding: 25px;
        border-radius: 12px;
    }
}

.modal-content .close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
}

.modal-content .close:hover {
    color: #1a6f9f;
    background: rgba(26, 111, 159, 0.1);
    transform: rotate(90deg);
}

.modal-content h2 {
    margin-bottom: 10px;
    text-align: center;
    background: linear-gradient(135deg, #1a6f9f 0%, #0e4a6e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .modal-content h2 {
        font-size: 22px;
    }
}

.modal-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .modal-subtitle {
        margin-bottom: 20px;
        font-size: 12px;
    }
}

/* Поля формы */
.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 2px solid #e8ecf2;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s;
    background: #fff;
}

@media (max-width: 768px) {
    .modal-form input,
    .modal-form textarea {
        padding: 12px 14px;
        font-size: 16px;
        margin-bottom: 12px;
    }
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: #1a6f9f;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(26,111,159,0.15);
}

/* Блок загрузки файла */
.file-upload {
    margin-bottom: 25px;
    margin-top: 25px;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f1f8 100%);
    padding: 18px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #1a6f9f;
    transition: all 0.3s ease;
    border: 2px dashed #1a6f9f;
    text-align: center;
    flex-direction: column;
}

.file-label:hover {
    background: linear-gradient(135deg, #e8f1f8 0%, #dde9f5 100%);
    border-color: #0e4a6e;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 111, 159, 0.15);
}

.file-label span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.file-label span::before {
    content: "⬆";
    font-size: 24px;
    display: block;
    font-weight: bold;
    color: #1a6f9f;
}

.file-label input {
    display: none;
}

.file-name {
    display: block;
    margin-top: 12px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 8px;
    font-size: 13px;
    color: #1a6f9f;
    font-weight: 600;
    text-align: center;
    border: 1px solid #e8ecf2;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Галочка согласия */
.checkbox {
    margin: 25px 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

@media (max-width: 768px) {
    .checkbox {
        margin: 15px 0;
        gap: 10px;
    }
}

.checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: #1a6f9f;
    flex-shrink: 0;
    flex-basis: 20px;
}

.checkbox label {
    font-size: 13px;
    color: #555;
    cursor: pointer;
    line-height: 1.6;
    font-weight: 500;
    display: block;
    margin: 0;
}

@media (max-width: 768px) {
    .checkbox label {
        font-size: 12px;
    }
}

.checkbox a {
    color: #1a6f9f;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.checkbox a:hover {
    text-decoration: underline;
    color: #0e4a6e;
}

/* Кнопка отправки */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #1a6f9f 0%, #0e4a6e 100%);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 15px;
    box-shadow: 0 8px 20px rgba(26,111,159,0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .submit-btn {
        padding: 14px;
        font-size: 14px;
        margin-top: 10px;
    }
}

.submit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #0e4a6e 0%, #082d45 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(26,111,159,0.4);
}

.submit-btn:hover:not(:disabled)::before {
    left: 100%;
}

.submit-btn:active:not(:disabled) {
    transform: translateY(-1px);
}

.submit-btn:disabled {
    background: linear-gradient(135deg, #ccc 0%, #aaa 100%);
    cursor: not-allowed;
    box-shadow: none;
}
/* ========== COOKIE ========== */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 380px;
    background: #1a2a3a;
    color: #fff;
    border-radius: 12px;
    padding: 20px;
    z-index: 1000;
    border-left: 4px solid #1a6f9f;
    display: none;
}

@media (max-width: 768px) {
    .cookie-consent {
        max-width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
}

.cookie-consent.show {
    display: block;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.cookie-btn-accept {
    background: #1a6f9f;
    color: #fff;
}
.cookie-btn-decline {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 1024px) {
    header {
        flex-wrap: wrap;
        padding: 15px 20px;
    }
    .hamburger {
        display: flex;
    }
    nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    nav.active {
        display: block;
    }
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    .contact-info {
        display: none;
    }
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .advantages-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards {
        grid-template-columns: 1fr;
    }
    .advantages-cards {
        grid-template-columns: 1fr;
    }
    .hero-content {
        margin-left: 30px;
    }
    .hero-content h1 {
        font-size: 24px;
    }
    .card_team {
        width: 220px;
        height: 280px;
    }
    .card_team.left-2 { transform: translateX(-200px) scale(0.7); }
    .card_team.left-1 { transform: translateX(-100px) scale(0.85); }
    .card_team.right-1 { transform: translateX(100px) scale(0.85); }
    .card_team.right-2 { transform: translateX(200px) scale(0.7); }
}

/* ========== ВЫПАДАЮЩИЕ МЕНЮ В ШАПКЕ ========== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    margin: 0 !important;
    padding: 0;
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #1a6f9f;
}

.dropdown-menu li a::after {
    display: none;
}

/* ========== НАШИ ПРЕИМУЩЕСТВА – ВАШИ ВОЗМОЖНОСТИ ========== */
.advantages-full {
    padding: 60px 20px;
    background: #fff;
    border-bottom: 2px solid #e0e0e0;
}

.container-adv {
    max-width: 1200px;
    margin: 0 auto;
}

.advantages-full h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.advantages-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.adv-card {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.adv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.adv-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.adv-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 15px;
}

.adv-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* ========== ВИДЕО СЕКЦИЯ ========== */
.video-section {
    padding: 60px 20px;
    background: #f0f4f8;
    border-bottom: 2px solid #e0e0e0;
}

.video-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 40px;
    text-transform: uppercase;
}


.video-wrapper {
    max-width: 1200px; 
    margin: 0 auto;
    display: flex;
    gap: 20px; 
    width: 100%; 
    box-sizing: border-box;
}


.video-wrapper iframe,
.video-wrapper video {
    flex: 1; 
    min-width: 0; 
    width: 100%;
    height: auto; 
    aspect-ratio: 16 / 9; 
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: block;
}

/* Адаптив */
@media (max-width: 992px) {
    .advantages-grid-full {
        gap: 20px;
    }
    .adv-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    /* На мобильных экранах возвращаем видео друг под друга */
    .video-wrapper {
        flex-direction: column; 
    }
    
    .advantages-full h2, .video-section h2 {
        font-size: 24px;
    }
    
    .advantages-grid-full {
        grid-template-columns: 1fr;
    }
}

/* ========== УСЛУГИ И ПОДДЕРЖКА ========== */
.services-section {
    padding: 60px 20px;
    background: #fff;
    border-bottom: 2px solid #e0e0e0;
}

.services-section .section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto;
    align-items: stretch;
}

.services-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(26, 111, 159, 0.12);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-img:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 35px rgba(26, 111, 159, 0.18);
}

.services-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: stretch;
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    border: 1.5px solid #e5e5e5;
    border-radius: 12px;
    padding: 32px 28px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a6f9f 0%, #0e4a6e 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    border-color: #1a6f9f;
    box-shadow: 0 12px 32px rgba(26, 111, 159, 0.12);
    transform: translateY(-3px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 42px;
    margin-bottom: 16px;
    display: block;
    transition: transform 0.3s ease;
    color: #1a6f9f;
}

.service-card:hover .service-icon {
    transform: scale(1.12);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    color: #1a6f9f;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 0.3px;
}

.service-card:hover .service-link {
    color: #0e4a6e;
    transform: translateX(4px);
}

/* Адаптив для услуг */
@media (max-width: 992px) {
    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-image {
        order: 2;
    }
    
    .services-content {
        order: 1;
    }
    
    .services-img {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 50px 20px;
    }
    
    .services-section .section-title {
        font-size: 22px;
        margin-bottom: 40px;
    }
    
    .services-wrapper {
        gap: 25px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-card h3 {
        font-size: 18px;
    }
    
    .service-card p {
        font-size: 13px;
    }
    
    .services-img {
        min-height: 280px;
    }
}

/* ========== НАШИ ПРЕИМУЩЕСТВА – ВАШИ ВОЗМОЖНОСТИ ========== */
.advantages-full {
    padding: 60px 20px;
    background: #fff;
    border-bottom: 2px solid #e0e0e0;
}

.container-adv {
    max-width: 1200px;
    margin: 0 auto;
}

.advantages-full h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.advantages-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.adv-card {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.adv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.adv-icon-img {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.adv-card:hover .adv-icon-img {
    transform: scale(1.1);
}

.adv-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 15px;
}

.adv-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* Адаптив */
@media (max-width: 992px) {
    .advantages-grid-full {
        gap: 20px;
    }
    .adv-card {
        padding: 20px;
    }
    .adv-icon-img {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 768px) {
    .advantages-grid-full {
        grid-template-columns: 1fr;
    }
    .advantages-full h2 {
        font-size: 24px;
    }
    .adv-card h3 {
        font-size: 20px;
    }
}

/* Логотип в подвале */
.footer-logo {
    max-height: 50px;
    width: auto;
    margin-bottom: 10px;
}

/* Адаптив для подвала */
@media (max-width: 768px) {
    .footer-logo {
        max-height: 50px;
    }
}

/* ========== ПОДВАЛ  ========== */
footer {
    background-color: #235e80;
    padding: 50px 20px 30px;
    color: #fff;
   
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a,
.footer-section p a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s;
}

.footer-section ul li a:hover,
.footer-section p a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-section p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-logo {
    max-height: 50px;
    width: auto;
    margin-bottom: 10px;
    filter: brightness(0) invert(1); 
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Адаптив */
@media (max-width: 768px) {
    footer {
        padding: 40px 15px 20px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .footer-logo {
        max-height: 50px;
    }
}

/* Иконки в подвале */
.footer-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
   
}

/* =========================================
   СТИЛИ ДЛЯ СЕКЦИИ БЛОГА
========================================= */
.blog-section {
    background: #fff;
    padding: 100px 0;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.blog-subtitle {
    text-align: center;
    color: #666;
    margin-top: -10px;
    margin-bottom: 50px;
    font-size: 16px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px 30px;
}

.blog-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
    background: #eee;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-link {
    color: var(--brand-red, #e31e24);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.blog-card-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-title { font-size: 26px; }
}

/* =========================================
   СТИЛИ ДЛЯ КНОПКИ "ВСЕ НОВОСТИ"
========================================= */
.blog-cta {
    text-align: center; 
    margin-top: 40px;
}

.blog-cta .btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid #1a6f9f;
    color: #1a6f9f;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.blog-cta .btn-outline:hover {
    background: #1a6f9f;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .blog-cta .btn-outline {
        padding: 12px 24px;
        font-size: 13px;
    }
}

/* =========================================
   ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ ОТКРЫТОЙ СТАТЬИ
========================================= */
.post-opened-section {
    background: #ffffff;
    padding: 60px 0 100px 0;
    width: 100%;
    box-sizing: border-box;
}

.post-opened-container {
    max-width: 800px; /* Ограничиваем ширину для удобства чтения текста */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.back-to-blog {
    display: inline-block;
    color: #e31e24; /* Ваш фирменный красный цвет */
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.2s;
}

.back-to-blog:hover {
    color: #b3151a;
    text-decoration: underline;
}

.post-opened-date {
    font-size: 13px;
    color: #999;
    display: block;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.post-opened-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

.post-opened-image {
    width: 100%;
    max-height: 450px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.post-opened-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-opened-text {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    font-family: 'Montserrat', sans-serif;
}

.post-opened-text p {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .post-opened-title { font-size: 24px; }
    .post-opened-section { padding: 40px 0 60px 0; }
    .post-opened-image { max-height: 280px; margin-bottom: 20px; }
}

/* =========================================
   ДОКУМЕНТЫ И ЛИЦЕНЗИИ
========================================= */
.docs { 
    background: #fff; 
    padding: 100px 0; 
}

@media (max-width: 768px) {
    .docs {
        padding: 60px 0;
    }
}

.docs .section-title { 
    text-align: center; 
    margin-bottom: 40px; 
    font-size: 32px; 
    font-weight: 700; 
    color: #222; 
    text-transform: uppercase; 
}

@media (max-width: 768px) {
    .docs .section-title {
        font-size: 22px;
        margin-bottom: 30px;
    }
}

.section-subtitle { 
    text-align: center; 
    color: #666; 
    margin-top: -20px; 
    margin-bottom: 40px; 
}

@media (max-width: 768px) {
    .section-subtitle {
        margin-bottom: 30px;
        font-size: 14px;
    }
}

.docs-tabs { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    margin-bottom: 40px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .docs-tabs {
        gap: 10px;
        margin-bottom: 30px;
    }
}

.tab-btn { 
    padding: 12px 25px; 
    border: 2px solid #eee; 
    background: transparent; 
    cursor: pointer; 
    font-weight: 600; 
    border-radius: 30px; 
    transition: all 0.3s;
    font-size: 14px;
}

@media (max-width: 768px) {
    .tab-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
}

.tab-btn.active, .tab-btn:hover { 
    border-color: var(--brand-red); 
    color: var(--brand-red); 
}

.tab-content { 
    display: none; 
    animation: fadeIn 0.5s ease; 
}

.tab-content.active { 
    display: block; 
}

.docs-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
    gap: 30px 25px; 
    max-width: 1100px; 
    margin: 0 auto; 
    width: 100%;
    padding: 0 20px;
}

@media (max-width: 1024px) {
    .docs-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px 15px;
    }
}

@media (max-width: 768px) {
    .docs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 12px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .docs-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.doc-item { 
    text-decoration: none; 
    color: #333; 
    text-align: center; 
    transition: transform 0.3s;
}

.doc-img { 
    height: 220px; 
    background: #fff; 
    padding: 10px; 
    border: 1px solid #ddd; 
    border-radius: 4px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .doc-img {
        height: 180px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .doc-img {
        height: 150px;
        padding: 8px;
    }
}

.doc-img img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
}

.doc-item span { 
    font-size: 14px; 
    font-weight: 500; 
    display: block;
}

@media (max-width: 768px) {
    .doc-item span {
        font-size: 12px;
    }
}

.doc-item:hover { 
    transform: translateY(-5px); 
    color: var(--brand-red); 
}


.card {
  perspective: 1500px;
  transition: transform 0.3s ease;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 260px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
}

.card-back {
  transform: rotateY(180deg);
}

/* ═══════════════════════════════════════════════════════════
   BEGIN: СТРАНИЦА КОНТАКТОВ (contacts.html)
   ── Копировать в продакшен вместе с END-меткой ──
═══════════════════════════════════════════════════════════ */
.contacts-page {
    display: block;
}

.contacts-diagonal {
    position: relative;
    min-height: calc(100vh - 80px);
    min-height: calc(100dvh - 80px);
    overflow: hidden;
    background: #e8eef4;
}

/* contacts.html без общей шапки — полная высота окна */
body.contacts-fragment .contacts-diagonal {
    min-height: 100vh;
    min-height: 100dvh;
}

.contacts-diagonal-text {
    position: absolute;
    inset: 0;
    right: 38%;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 48px clamp(28px, 5vw, 72px);
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
    box-shadow: 12px 0 48px rgba(26, 58, 92, 0.07);
}

.contacts-diagonal-inner {
    max-width: 480px;
    width: 100%;
}

.contacts-diagonal-meta {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1a6f9f;
    margin-bottom: 20px;
}

.contacts-diagonal-text h1 {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    color: #1a3a5c;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.05;
    margin-bottom: 14px;
}

.contacts-diagonal-lead {
    font-size: 15px;
    color: #666;
    line-height: 1.65;
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 2px solid #eef2f7;
}

.contacts-diagonal-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.contacts-diagonal-list li {
    margin-bottom: 28px;
    padding-left: 16px;
    border-left: 3px solid #1a6f9f;
}

.contacts-diagonal-list li:last-child {
    margin-bottom: 0;
}

.contacts-diagonal-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1a6f9f;
    margin-bottom: 8px;
}

.contacts-diagonal-list p {
    font-size: 15px;
    color: #444;
    line-height: 1.65;
    margin: 0 0 4px;
}

.contacts-diagonal-list a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s;
}

.contacts-diagonal-list a:hover {
    color: #1a6f9f;
}

.contacts-diagonal-route {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1a6f9f !important;
}

.contacts-diagonal-route:hover {
    color: #0e4a6e !important;
    text-decoration: underline;
}

.contacts-diagonal-requisites {
    font-size: 12px;
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 28px;
}

.contacts-diagonal-btn {
    display: inline-block;
}

.contacts-diagonal-map {
    position: absolute;
    inset: 0;
    left: 32%;
    z-index: 1;
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
    background: #dce4ec;
}

.contacts-diagonal-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contacts-map-open-btn {
    position: absolute;
    bottom: 28px;
    right: 28px;
    left: auto;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: #fff;
    background: #1a6f9f;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: background 0.25s, transform 0.15s;
}

.contacts-map-open-btn:hover {
    background: #0e4a6e;
    color: #fff;
}

.contacts-map-open-btn:active {
    transform: scale(0.98);
}

.contacts-map-open-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 1100px) {
    .contacts-diagonal-text {
        right: 32%;
        clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    }

    .contacts-diagonal-map {
        left: 28%;
        clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
    }
}

@media (max-width: 900px) {
    .contacts-diagonal {
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .contacts-diagonal-text,
    .contacts-diagonal-map {
        position: relative;
        inset: auto;
        left: auto;
        right: auto;
        clip-path: none;
        box-shadow: none;
    }

    .contacts-diagonal-text {
        padding: 48px 24px 40px;
    }

    .contacts-diagonal-inner {
        max-width: 100%;
    }

    .contacts-diagonal-map {
        height: 380px;
        flex-shrink: 0;
    }
}

@media (max-width: 600px) {
    .contacts-diagonal-text {
        padding: 36px 20px 32px;
    }

    .contacts-diagonal-text h1 {
        font-size: 30px;
    }

    .contacts-diagonal-map {
        height: 300px;
    }

    .contacts-map-open-btn {
        bottom: 16px;
        right: 16px;
        padding: 10px 18px;
        font-size: 11px;
    }

    .contacts-diagonal-btn {
        width: 100%;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════
   END: СТРАНИЦА КОНТАКТОВ (contacts.html)
═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   BEGIN: СТРАНИЦА ПАРТНЁРОВ (partners.html)
   ── Копировать в продакшен вместе с END-меткой ──
═══════════════════════════════════════════════════════════ */
.partners-page {
    background: #fff;
    padding: 100px 0;
}

.partners-header {
    text-align: center;
    margin-bottom: 40px;
}

.partners-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.partners-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
}

.partners-page-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.partners-intro-text {
    font-size: 16px;
    color: #444;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
    text-align: center;
}

.partners-lists {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 50px;
}

.partners-region {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
}

.partners-region-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    background: #f9f9f9;
    border-bottom: 2px solid transparent;
    transition: background 0.2s;
}

.partners-region-header:hover {
    background: #f0f0f0;
}

.partners-region.active .partners-region-header {
    border-bottom-color: #eee;
    background: #f0f0f0;
}

.partners-region-title {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.partners-toggle {
    font-size: 22px;
    font-weight: 400;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.3s;
}

.partners-region.active .partners-toggle {
    transform: rotate(45deg);
    color: #333;
}

.partners-simple-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.partners-region.active .partners-simple-list {
    max-height: 600px;
}

.partners-simple-list li {
    padding: 10px 24px;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.partners-simple-list li:last-child {
    border-bottom: none;
}

/* CTA */
.partners-cta {
    background: #f5f5f5;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.partners-cta-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.partners-cta-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.partners-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.partners-cta .btn {
    background: #1a6f9f;
    color: #fff;
    border: none;
}

.partners-cta .btn:hover {
    background: #0e4a6e;
}

.partners-cta .btn-secondary-alt {
    background: transparent;
    color: #1a6f9f;
    border: 2px solid #1a6f9f;
}

.partners-cta .btn-secondary-alt:hover {
    background: #1a6f9f;
    color: #fff;
}

/* Responsive */
@media (max-width: 600px) {
    .partners-page {
        padding: 60px 0;
    }

    .partners-region-header {
        padding: 14px 18px;
    }

    .partners-simple-list li {
        padding: 8px 18px;
        font-size: 13px;
    }

    .partners-cta-buttons {
        flex-direction: column;
    }

    .partners-cta-buttons .btn {
        width: 100%;
    }
}


.awards-page {
    background: #fff;
    padding: 100px 0;
}

.awards-header {
    text-align: center;
    margin-bottom: 50px;
}

.awards-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.awards-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
}

.awards-page-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Awards Section */
.awards-section {
    margin-bottom: 70px;
}

.awards-section-title {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}

.awards-section-desc {
    font-size: 15px;
    color: #666;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.award-card {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 20px;
    cursor: pointer;
    text-align: center;
}

.award-card:hover {
    border-color: #1a6f9f;
    background: #f5f9fb;
}

.award-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8e8e8;
}

.award-placeholder {
    max-width: 60%;
    max-height: 60%;
    width: auto;
    height: auto;
    opacity: 0.5;
}

.award-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.4;
    min-height: 38px;
}

.award-short {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
    min-height: 36px;
}

.award-more {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #1a6f9f;
}

/* Reviews Section */
.reviews-section {
    margin-bottom: 70px;
}

.reviews-section-title {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.reviews-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 50px;
}

.reviews-slider {
    position: relative;
    overflow: hidden;
}

.review-slide {
    display: none;
    animation: fadeIn 0.3s ease;
}

.review-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.review-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-align: center;
}

.review-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.avatar-placeholder {
    max-width: 70%;
    max-height: 70%;
    width: auto;
    height: auto;
    opacity: 0.4;
}

.review-meta {
    text-align: center;
}

.review-author {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 3px;
}

.review-company {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.review-content {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
}

.review-content p {
    margin: 0;
}

.reviews-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.reviews-slider-btn:hover {
    background: #f5f5f5;
}

.reviews-slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.reviews-slider-prev {
    left: 0;
}

.reviews-slider-next {
    right: 0;
}

.reviews-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.reviews-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
}

.reviews-slider-dot.active {
    background: #333;
}

/* CTA */
.awards-cta {
    background: #f5f5f5;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.awards-cta-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.awards-cta-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.awards-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.awards-cta .btn {
    background: #1a6f9f;
    color: #fff;
    border: none;
}

.awards-cta .btn:hover {
    background: #0e4a6e;
}

.awards-cta .btn-secondary-alt {
    background: transparent;
    color: #1a6f9f;
    border: 2px solid #1a6f9f;
}

.awards-cta .btn-secondary-alt:hover {
    background: #1a6f9f;
    color: #fff;
}

/* Modal Award */
.modal-award {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-award-content {
    background: #fff;
    max-width: 600px;
    width: 100%;
    border-radius: 6px;
    padding: 30px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-award-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.modal-award-close:hover {
    color: #333;
}

.modal-award-image {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
}

.modal-award-placeholder {
    max-width: 50%;
    max-height: 50%;
    width: auto;
    height: auto;
    
}

.modal-award-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    text-align: center;
}

.modal-award-year {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
}

.modal-award-body {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
}

.modal-award-body p {
    margin-bottom: 14px;
}

.modal-award-body p:last-child {
    margin-bottom: 0;
}

.modal-award-body em {
    color: #999;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .awards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .awards-page {
        padding: 60px 0;
    }

    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .reviews-slider-container {
        padding: 0 45px;
    }

    .awards-cta {
        padding: 24px;
    }

    .awards-cta-buttons {
        flex-direction: column;
    }

    .awards-cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }

    .review-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════
   END: СТРАНИЦА ОТЗЫВЫ И НАГРАДЫ (awards.html)
═══════════════════════════════════════════════════════════ */
.awards-page {
    background: #fff;
    padding: 0 0 88px;
}

/* Hero */
.awards-hero {
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef4 100%);
    padding: 80px 24px 100px;
    text-align: center;
    color: #1a3a5c;
    overflow: hidden;
    margin-bottom: 60px;
}

.awards-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(26,111,159,0.08) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(26,111,159,0.05) 0%, transparent 40%);
}

.awards-hero::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: -5%;
    width: 110%;
    height: 80px;
    background: #fff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.awards-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.awards-hero-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #1a6f9f;
    margin-bottom: 16px;
    padding: 8px 20px;
    background: rgba(26,111,159,0.1);
    border-radius: 30px;
    border: 1px solid rgba(26,111,159,0.15);
}

.awards-hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #1a3a5c;
}

.awards-hero-lead {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 500;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Page Inner */
.awards-page-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Awards Section */
.awards-section {
    margin-bottom: 80px;
}

.awards-section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a3a5c;
    text-align: center;
    margin-bottom: 16px;
}

.awards-section-desc {
    font-size: 16px;
    color: #666;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.award-card {
    background: linear-gradient(135deg, #f8fafb 0%, #f0f4f8 100%);
    border: 1px solid #e0e8f0;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
    text-align: center;
}

.award-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26,111,159,0.15);
    border-color: rgba(26,111,159,0.3);
    background: linear-gradient(135deg, #fff 0%, #f8fafb 100%);
}

.award-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8eef3;
}

.award-placeholder {
    max-width: 60%;
    max-height: 60%;
    width: auto;
    height: auto;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.award-card:hover .award-placeholder {
    opacity: 0.8;
}

.award-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 42px;
}

.award-short {
    font-size: 13px;
    color: #666;
    margin-bottom: 14px;
    line-height: 1.5;
    min-height: 38px;
}

.award-more {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #1a6f9f;
    transition: all 0.3s ease;
}

.award-card:hover .award-more {
    color: #0e4a6e;
    transform: translateX(4px);
}

/* Reviews Section */
.reviews-section {
    margin-bottom: 80px;
}

.reviews-section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a3a5c;
    text-align: center;
    margin-bottom: 48px;
}

.reviews-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 60px;
}

.reviews-slider {
    position: relative;
    overflow: hidden;
}

.review-slide {
    display: none;
    animation: fadeIn 0.4s ease;
}

.review-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.review-card {
    background: #fff;
    border: 1px solid #e0e8f0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    text-align: center;
}

.review-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8eef3;
}

.review-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f7fa;
    border: 2px solid #e0e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.avatar-placeholder {
    max-width: 70%;
    max-height: 70%;
    width: auto;
    height: auto;
    opacity: 0.4;
}

.review-meta {
    text-align: center;
}

.review-author {
    font-size: 17px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 4px;
}

.review-company {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.review-content {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
}

.review-content p {
    margin: 0;
}

.reviews-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e0e8f0;
    background: #fff;
    color: #1a6f9f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.reviews-slider-btn:hover {
    background: #1a6f9f;
    color: #fff;
    border-color: #1a6f9f;
}

.reviews-slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.reviews-slider-prev {
    left: 0;
}

.reviews-slider-next {
    right: 0;
}

.reviews-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.reviews-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #d0d8e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reviews-slider-dot.active {
    background: #1a6f9f;
    transform: scale(1.2);
}

/* CTA */
.awards-cta {
    background: linear-gradient(135deg, #1a6f9f 0%, #0e4a6e 100%);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    color: #fff;
    margin-top: 40px;
    box-shadow: 0 20px 50px rgba(26,111,159,0.3);
    position: relative;
    overflow: hidden;
}

.awards-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.awards-cta-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.awards-cta-text {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.awards-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.awards-cta .btn {
    background: #fff;
    color: #1a6f9f;
    border: 2px solid #fff;
}

.awards-cta .btn:hover {
    background: transparent;
    color: #fff;
}

.awards-cta .btn-secondary-alt {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.awards-cta .btn-secondary-alt:hover {
    background: #fff;
    color: #1a6f9f;
    border-color: #fff;
}

/* Modal Award */
.modal-award {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-award-content {
    background: #fff;
    max-width: 600px;
    width: 100%;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-award-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.modal-award-close:hover {
    color: #1a6f9f;
}

.modal-award-image {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e8f0;
}

.modal-award-placeholder {
    max-width: 50%;
    max-height: 50%;
    width: auto;
    height: auto;
    
}

.modal-award-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a3a5c;
    margin-bottom: 8px;
    text-align: center;
}

.modal-award-year {
    font-size: 14px;
    color: #1a6f9f;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e8eef3;
}

.modal-award-body {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
}

.modal-award-body p {
    margin-bottom: 16px;
}

.modal-award-body p:last-child {
    margin-bottom: 0;
}

.modal-award-body em {
    color: #999;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .awards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .awards-hero {
        padding: 72px 20px 100px;
        margin-bottom: 40px;
    }

    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .reviews-slider-container {
        padding: 0 50px;
    }

    .reviews-slider-btn {
        width: 38px;
        height: 38px;
    }

    .awards-cta {
        padding: 36px 24px;
    }

    .awards-cta-title {
        font-size: 22px;
    }

    .awards-cta-buttons {
        flex-direction: column;
    }

    .awards-cta-buttons .btn {
        width: 100%;
    }

    .modal-award-content {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }

    .award-card {
        padding: 20px;
    }

    .review-card {
        padding: 22px;
    }

    .review-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════
   END: СТРАНИЦА ОТЗЫВЫ И НАГРАДЫ (awards.html)
═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   BEGIN: СТРАНИЦА ЧИСТЫЕ И ТЕХНИЧЕСКИЕ ГАЗЫ (gases.html)
   ── Копировать в продакшен вместе с END-меткой ──
═══════════════════════════════════════════════════════════ */
.gases-page {
    background: #fff;
    padding: 40px 0;
}

.gases-page-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.gases-header {
    text-align: center;
    margin-bottom: 40px;
}

.gases-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.gases-subtitle {
    text-align: center;
    color: #999;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gases-intro {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
}

.gases-intro p {
    margin-bottom: 12px;
}

.gases-image {
    text-align: center;
    margin-bottom: 40px;
}

.gases-image img {
    max-width: 100%;
    height: auto;
}

.gases-info-block {
    text-align: center;
    margin-bottom: 30px;
}

.gases-info-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.gases-info-lead {
    font-size: 15px;
    color: #666;
}

.gases-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 50px;
}

.gas-item {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
}

.gas-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    background: #f9f9f9;
    border-bottom: 2px solid transparent;
    transition: background 0.2s;
}

.gas-item-header:hover {
    background: #f0f0f0;
}

.gas-item.active .gas-item-header {
    border-bottom-color: #eee;
    background: #f0f0f0;
}

.gas-item-title {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.gas-item-toggle {
    font-size: 22px;
    font-weight: 400;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.3s;
}

.gas-item.active .gas-item-toggle {
    transform: rotate(45deg);
    color: #333;
}

.gas-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.gas-item.active .gas-item-body {
    max-height: 2000px;
}

.gas-item-body > * {
    padding: 0 24px;
}

.gas-item-body p {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 14px;
    padding-top: 16px;
}

.gas-item-body p:first-child {
    padding-top: 16px;
}

.gas-item-body ul {
    margin: 0 0 14px 0;
    padding-left: 44px;
    padding-right: 24px;
}

.gas-item-body ul li {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 4px;
}

.gas-item-body p:last-child {
    padding-bottom: 20px;
}

/* Order block */
.gases-order {
    background: #f5f5f5;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
}

.gases-order-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.gases-order-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.gases-order .btn {
    background: #1a6f9f;
    color: #fff;
    border: none;
}

.gases-order .btn:hover {
    background: #0e4a6e;
}

/* Responsive */
@media (max-width: 768px) {
    .gases-page {
        padding: 60px 0;
    }

    .gas-item-header {
        padding: 14px 18px;
    }

    .gas-item-body p,
    .gas-item-body ul {
        padding-left: 18px;
        padding-right: 18px;
    }

    .gas-item-body ul {
        padding-left: 38px;
    }
}

/* ═══════════════════════════════════════════════════════════
   END: СТРАНИЦА ЧИСТЫЕ И ТЕХНИЧЕСКИЕ ГАЗЫ (gases.html)
═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   СТРАНИЦА ГАЗОАНАЛИТИЧЕСКИЕ СРЕДСТВА ИЗМЕРЕНИЯ (analyzers.html)
═══════════════════════════════════════════════════════════ */
.analyzers-page {
    background: #fff;
    padding: 100px 0;
}

.analyzers-page-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.analyzers-header {
    text-align: center;
    margin-bottom: 40px;
}

.analyzers-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.analyzers-subtitle {
    text-align: center;
    color: #999;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.analyzers-intro p {
    font-size: 18px;
    font-weight: 600;
    color: #1a6f9f;
    margin-bottom: 20px;
}

.analyzers-description {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 30px;
}

.analyzers-info-header {
    margin: 40px 0 20px;
}

.analyzers-section-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a3a5c;
    margin-bottom: 10px;
}

.analyzers-feature {
    background: linear-gradient(135deg, #f8fafb 0%, #f0f4f8 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
}

.analyzers-feature-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a3a5c;
    margin-bottom: 20px;
}

.analyzers-feature-content p {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 16px;
}

.analyzers-order {
    background: #f5f5f5;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.analyzers-order-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.analyzers-order-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.analyzers-order .btn {
    background: #1a6f9f;
    color: #fff;
    border: none;
}

.analyzers-order .btn:hover {
    background: #0e4a6e;
}

/* Карточки продуктов */
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.info-card {
    background: #fff;
    border: 1px solid #e8eef3;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(26,111,159,0.15);
    border-color: #1a6f9f;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
}

.info-card-content {
    padding: 28px;
}

.info-card-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a3a5c;
    margin-bottom: 12px;
}

.info-card-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.info-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a6f9f;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.3s;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
}

.info-card-link:hover {
    gap: 12px;
    color: #0e4a6e;
}

.phone-highlight {
    font-size: 18px;
    font-weight: 800;
    color: #1a6f9f;
    white-space: nowrap;
}

/* Модальные окна для товаров */
.modal-product {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-product-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    max-width: 550px;
    width: 100%;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    border: 1px solid rgba(26,111,159,0.15);
}

.modal-product-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 32px;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    line-height: 1;
}

.modal-product-close:hover {
    color: #1a6f9f;
    background: rgba(26,111,159,0.1);
    transform: rotate(90deg);
}

.modal-product-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 15px;
}

.modal-product-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a3a5c;
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: -0.5px;
}

.modal-product-subtitle {
    font-size: 14px;
    color: #1a6f9f;
    font-weight: 600;
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 2px solid #e8eef3;
    letter-spacing: 1px;
}

.modal-product-body {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
}

.modal-product-body p {
    margin-bottom: 16px;
}

.modal-product-body ul {
    margin: 10px 0 15px 20px;
    padding-left: 10px;
}

.modal-product-body li {
    margin-bottom: 8px;
}

.modal-product-body strong {
    color: #1a3a5c;
    font-weight: 700;
}

.modal-product-body em {
    color: #999;
    font-size: 13px;
    font-style: italic;
}

.modal-product-btn {
    margin-top: 30px;
    text-align: center;
}

.modal-product-btn .btn {
    background: #1a6f9f;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
}

.modal-product-btn .btn:hover {
    background: #0e4a6e;
}

/* Адаптив */
@media (max-width: 768px) {
    .analyzers-page {
        padding: 60px 0;
    }
    .analyzers-title {
        font-size: 24px;
    }
    .analyzers-feature {
        padding: 24px;
    }
    .analyzers-feature-title {
        font-size: 22px;
    }
    .analyzers-section-title {
        font-size: 24px;
    }
    .info-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .phone-highlight {
        display: inline-block;
        margin-top: 6px;
    }
    .modal-product-content {
        padding: 30px 24px;
        margin: 0 15px;
    }
    .modal-product-title {
        font-size: 22px;
    }
    .modal-product-subtitle {
        margin-bottom: 20px;
        padding-bottom: 14px;
    }
    .modal-product-body {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .modal-product-content {
        padding: 25px 18px;
    }
    .modal-product-title {
        font-size: 20px;
    }
    .modal-product-close {
        top: 12px;
        right: 16px;
        font-size: 28px;
    }
    .modal-product-icon {
        font-size: 40px;
    }
}
/* Стили для модальных окон продуктов (Югра-01 и ДГГС) */
.modal-product {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-product-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    max-width: 750px;
    width: 100%;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    border: 1px solid rgba(26,111,159,0.15);
}

/* Убираем скроллбар */
.modal-product-content {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE и Edge */
}

.modal-product-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.modal-product-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 32px;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    line-height: 1;
}

.modal-product-close:hover {
    color: #1a6f9f;
    background: rgba(26,111,159,0.1);
    transform: rotate(90deg);
}

.modal-product-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a3a5c;
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: -0.5px;
}

.modal-product-subtitle {
    font-size: 14px;
    color: #1a6f9f;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 2px solid #e8eef3;
    letter-spacing: 1px;
}

/* Секции внутри модалки */
.product-section {
    margin-bottom: 28px;
}

.product-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 3px solid #1a6f9f;
}

.product-section p {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 12px;
}


.product-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.spec-group {
    background: #fff;
    border: 1px solid #e8eef3;
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.3s ease;
}

.spec-group:hover {
    border-color: rgba(26,111,159,0.3);
    box-shadow: 0 4px 12px rgba(26,111,159,0.08);
}

.spec-group h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1a6f9f;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e0e8f0;
}

.spec-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.spec-group ul li {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 6px;
}

.spec-group ul li strong {
    color: #1a3a5c;
    font-weight: 600;
}

/* Кнопка */
.modal-product-btn {
    margin-top: 30px;
    text-align: center;
}

.modal-product-btn .btn {
    background: #1a6f9f;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.modal-product-btn .btn:hover {
    background: #0e4a6e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,111,159,0.3);
}

/* Адаптив */
@media (max-width: 768px) {
    .modal-product-content {
        padding: 28px 20px;
        max-width: 95%;
    }
    
    .modal-product-title {
        font-size: 22px;
    }
    
    .product-specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .spec-group {
        padding: 12px 16px;
    }
    
    .product-section-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .modal-product-content {
        padding: 20px 16px;
    }
    
    .modal-product-title {
        font-size: 20px;
    }
    
    .modal-product-subtitle {
        font-size: 12px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .product-section-title {
        font-size: 15px;
    }
    
    .modal-product-close {
        top: 12px;
        right: 14px;
        font-size: 28px;
        width: 32px;
        height: 32px;
    }
}

/* =========================================
   АДАПТИВНОСТЬ (MEDIA QUERIES)
   
========================================= */

/* ----- ПЛАНШЕТЫ ГОРИЗОНТАЛЬНО (до 1024px) ----- */
@media (max-width: 1024px) {
    /* Шапка */
    header {
        flex-wrap: wrap;
        padding: 15px 20px;
    }
    .logo {
        margin-left: 0; /* Убираем огромный отступ */
        margin-top: 0;
    }
    .logo-img {
        margin-left: 0;
    }
    .hamburger {
        display: flex;
    }
    nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        transform: none; /* Сброс центрирования */
    }
    nav.active {
        display: block;
    }
    nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    .contact-info {
        display: none;
    }

    /* Сетки */
    .cards, .advantages-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .awards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ----- ПЛАНШЕТЫ (до 992px) ----- */
@media (max-width: 992px) {
    .advantages-grid-full {
        gap: 20px;
    }
    .adv-card {
        padding: 20px;
    }
    .adv-icon-img {
        width: 55px;
        height: 55px;
    }
    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .services-image {
        order: 2;
    }
    .services-content {
        order: 1;
    }
    .services-img {
        min-height: 350px;
    }
}

/* ----- ПЛАНШЕТЫ ВЕРТИКАЛЬНО И СМАРТФОНЫ (до 900px) ----- */
@media (max-width: 900px) {
    /* Страница контактов */
    .contacts-diagonal {
        min-height: auto;
        display: flex;
        flex-direction: column;
    }
    .contacts-diagonal-text,
    .contacts-diagonal-map {
        position: relative;
        inset: auto;
        left: auto;
        right: auto;
        clip-path: none;
        box-shadow: none;
    }
    .contacts-diagonal-text {
        padding: 48px 24px 40px;
    }
    .contacts-diagonal-inner {
        max-width: 100%;
    }
    .contacts-diagonal-map {
        height: 380px;
        flex-shrink: 0;
    }
}

/* ----- МОБИЛЬНЫЕ ТЕЛЕФОНЫ (до 768px) ----- */
@media (max-width: 768px) {
    /* Базовые элементы и типографика */
    .hero-content {
        margin-left: 0;
        text-align: center;
        padding: 0 20px;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content p {
        font-size: 18px;
    }
    .slide {
        padding: 40px 20px;
        justify-content: center;
    }
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    /* Сетки превращаем в одну колонку */
    .cards, .advantages-cards, .advantages-grid-full, .info-cards {
        grid-template-columns: 1fr;
    }

    /* Команда (Карусель) */
    .card_team {
        width: 220px;
        height: 280px;
    }
    .card_team.left-2 { transform: translateX(-160px) scale(0.7); }
    .card_team.left-1 { transform: translateX(-80px) scale(0.85); }
    .card_team.right-1 { transform: translateX(80px) scale(0.85); }
    .card_team.right-2 { transform: translateX(160px) scale(0.7); }

    /* Карта и Видео */
    .map-section h2, .advantages-full h2, .video-section h2, .analyzers-title, .analyzers-section-title {
        font-size: 24px;
    }
    .map-wrapper, .map-wrapper iframe {
        height: 300px;
    }
    .video-wrapper iframe {
        height: 250px;
    }

    /* Блог */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-title {
        font-size: 26px;
    }
    .post-opened-section {
        padding: 40px 0 60px 0;
    }
    .post-opened-title {
        font-size: 24px;
    }
    .post-opened-image {
        max-height: 280px;
        margin-bottom: 20px;
    }

    /* Подвал */
    footer {
        padding: 40px 15px 20px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .footer-logo {
        max-height: 50px;
    }

    /* Услуги */
    .services-section {
        padding: 50px 20px;
    }
    .services-section .section-title {
        font-size: 22px;
        margin-bottom: 40px;
    }
    .service-card {
        padding: 25px 20px;
    }
    .services-img {
        min-height: 280px;
    }

    /* Награды и Отзывы */
    .awards-hero {
        padding: 72px 20px 60px;
        margin-bottom: 40px;
    }
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .reviews-slider-container {
        padding: 0 45px;
    }
    .reviews-slider-btn {
        width: 38px;
        height: 38px;
    }
    .awards-cta {
        padding: 36px 24px;
    }
    .awards-cta-buttons {
        flex-direction: column;
    }
    .awards-cta-buttons .btn {
        width: 100%;
    }

    /* Газы и Анализаторы */
    .gases-page, .analyzers-page {
        padding: 60px 0;
    }
    .gas-item-header {
        padding: 14px 18px;
    }
    .gas-item-body p, .gas-item-body ul {
        padding-left: 18px;
        padding-right: 18px;
    }
    .analyzers-feature {
        padding: 24px;
    }
    .phone-highlight {
        display: block;
        margin-top: 10px;
    }

    /* Модальные окна */
    .modal-content, .modal-product-content, .modal-award-content {
        padding: 30px 20px;
        margin: 0 15px;
        width: auto;
        max-width: 95%;
    }
    .modal-product-title {
        font-size: 22px;
    }
    .modal-product-subtitle {
        margin-bottom: 20px;
        padding-bottom: 14px;
    }
    .product-specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ----- МАЛЕНЬКИЕ ЭКРАНЫ (до 600px) ----- */
@media (max-width: 600px) {
    .contacts-diagonal-text {
        padding: 36px 20px 32px;
    }
    .contacts-diagonal-text h1 {
        font-size: 30px;
    }
    .contacts-diagonal-map {
        height: 300px;
    }
    .contacts-map-open-btn {
        bottom: 16px;
        right: 16px;
        padding: 10px 18px;
        font-size: 11px;
    }
    .contacts-diagonal-btn {
        width: 100%;
        text-align: center;
    }
    
    .partners-page {
        padding: 60px 0;
    }
    .partners-region-header {
        padding: 14px 18px;
    }
    .partners-simple-list li {
        padding: 8px 18px;
        font-size: 13px;
    }
    .partners-cta-buttons {
        flex-direction: column;
    }
    .partners-cta-buttons .btn {
        width: 100%;
    }
}

/* ----- УЗКИЕ СМАРТФОНЫ (до 480px) ----- */
@media (max-width: 480px) {
    .map-wrapper {
        height: 280px;
    }
    .awards-grid {
        grid-template-columns: 1fr;
    }
    .award-card, .review-card {
        padding: 20px;
    }
    .review-header {
        flex-direction: column;
        text-align: center;
    }
    
    /* Модалки: минимальные отступы */
    .modal-product-content {
        padding: 20px 16px;
    }
    .modal-product-title {
        font-size: 20px;
    }
    .modal-product-close {
        top: 12px;
        right: 14px;
        font-size: 28px;
        width: 32px;
        height: 32px;
    }
    .modal-product-icon {
        font-size: 40px;
    }
}


/* ========== КОМПАКТНОЕ МОДАЛЬНОЕ ОКНО ДЛЯ ТЕЛЕФОНОВ ========== */
@media (max-width: 768px) {
    /* Главный контейнер окна */
    .modal-content {
        padding: 24px 20px;
        width: 95%;
        max-height: 90vh; /* Ограничиваем высоту, чтобы не вылезало за экран */
        overflow-y: auto; /* Включаем внутренний скролл, если контент длинный */
        border-radius: 16px;
        margin: 0 auto;
    }

    /* Крестик закрытия */
    .modal-content .close {
        top: 12px;
        right: 12px;
        font-size: 26px;
        width: 32px;
        height: 32px;
    }

    /* Заголовки */
    .modal-content h2 {
        font-size: 22px;
        margin-bottom: 5px;
    }

    .modal-subtitle {
        font-size: 13px;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    /* Поля ввода (уменьшаем отступы) */
    .modal-form input,
    .modal-form textarea {
        padding: 12px 14px;
        font-size: 14px;
        margin-bottom: 12px;
        border-radius: 8px;
    }

    .modal-form textarea {
        height: 90px; /* Делаем поле для текста пониже */
    }

    /* Зона загрузки файла */
    .file-upload {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .file-label {
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 8px;
    }

    .file-label span::before {
        font-size: 20px;
    }

    /* Чекбокс согласия (выравниваем по верхнему краю, если текст в 2 строки) */
    .checkbox {
        margin: 15px 0;
        align-items: flex-start;
        gap: 10px;
    }

    .checkbox input[type="checkbox"] {
        margin-top: 2px; /* Чуть опускаем сам квадратик для ровности с текстом */
    }

    .checkbox label {
        font-size: 12px;
        line-height: 1.4;
    }

    /* Кнопка отправки */
    .submit-btn {
        padding: 14px;
        font-size: 15px;
        margin-top: 5px;
        border-radius: 8px;
    }
}

/* Для совсем маленьких экранов (iPhone SE и т.д.) */
@media (max-width: 480px) {
    .modal-content {
        padding: 20px 15px;
    }
    
    .modal-content h2 {
        font-size: 20px;
    }
    
    .modal-form input,
    .modal-form textarea {
        padding: 10px 12px;
    }
}


/* ========== ИСПРАВЛЕНИЕ СЛАЙДЕРА ДЛЯ ТЕЛЕФОНОВ ========== */
@media (max-width: 768px) {
    /* Фиксируем высоту, чтобы слайдер точно не пропадал */
    .hero-slider {
        height: 400px;
        /* Указываем браузеру, что горизонтальные жесты нужно передавать скрипту слайдера */
        touch-action: pan-y pinch-zoom; 
    }

    /* Строго отключаем стрелки (они будут мешать пальцам) */
    .slider-btn {
        display: none !important;
    }

    /* Возвращаем точки на экран и делаем их компактнее */
    .slider-dots {
        display: flex !important; /* Перебиваем старое скрытие */
        bottom: 20px;
        padding: 8px 16px;
        gap: 10px;
        background: rgba(0, 0, 0, 0.3); /* Делаем подложку чуть легче */
    }

    /* Уменьшаем сами кружочки */
    .dot {
        width: 8px;
        height: 8px;
        border: 1px solid rgba(255, 255, 255, 0.4);
    }

    /* Активная точка */
    .dot.active {
        transform: scale(1.3);
        border-color: rgba(255, 255, 255, 1);
    }
}

/* ========== МОБИЛЬНАЯ КНОПКА В ШАПКЕ И СКРЫТИЕ В СЛАЙДЕРЕ ========== */

/* По умолчанию прячем мобильную кнопку на ПК (шире 768px) */
@media (min-width: 769px) {
    .header-mobile-btn {
        display: none !important;
    }
}

/* Настройки для телефонов (до 768px) */
@media (max-width: 768px) {
    /* 1. Прячем кнопки внутри самого слайдера */
    .hero-content .btn,
    .slide .btn {
        display: none !important;
    }

    /* 2. Настраиваем шапку, чтобы всё влезло в один ряд */
    header {
        padding: 10px 15px;
        flex-wrap: nowrap !important; /* Запрещаем перенос элементов на новую строку */
        justify-content: space-between;
    }

    .logo {
        flex-shrink: 0;
    }

    .logo-img {
        max-height: 40px; /* Немного уменьшаем логотип для экономии места */
    }

    /* 3. Стилизуем саму кнопку заявки */
    .header-mobile-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #1a6f9f 0%, #0e4a6e 100%);
        color: #fff;
        border: none;
        padding: 8px 14px;
        font-family: 'Montserrat', sans-serif;
        font-size: 12px;
        font-weight: 700;
        border-radius: 6px;
        margin-left: auto; /* Прижимаем кнопку вправо */
        margin-right: 15px; /* Отступ между кнопкой и бургером */
        text-transform: uppercase;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(26, 111, 159, 0.3);
    }

    .header-mobile-btn:active {
        transform: translateY(1px);
        background: #0e4a6e;
    }

    /* Не даем бургеру сплющиться */
    .hamburger {
        flex-shrink: 0;
    }
}

/* Для совсем маленьких экранов (до 380px) */
@media (max-width: 380px) {
    .header-mobile-btn {
        font-size: 10px;
        padding: 6px 10px;
        margin-right: 10px;
    }
    .logo-img {
        max-height: 32px;
    }
}


/* ========== АДАПТАЦИЯ СУЩЕСТВУЮЩЕЙ КНОПКИ ДЛЯ МОБИЛОК ========== */

@media (max-width: 768px) {
    /* 1. Делаем кнопку видимой, даже если родительский блок .contact-info скрыт */
    #callback-btn {
        display: inline-flex !important;
        position: absolute; /* Вырываем из общего потока */
        top: 12px;          /* Привязываем к верху шапки */
        right: 60px;        /* Позиционируем слева от гамбургера */
        z-index: 1001;      /* Чтобы была поверх всего */
        
        /* Внешний вид "плашки" */
        background: #1a6f9f !important;
        color: #fff !important;
        border: none !important;
        padding: 0 14px !important;
        height: 36px;
        border-radius: 6px;
        font-size: 0 !important; /* Скрываем старый текст */
        box-shadow: 0 2px 8px rgba(26, 111, 159, 0.3);
    }

    /* 2. Подставляем новый текст "СВЯЗАТЬСЯ" */
    #callback-btn::after {
        content: "СВЯЗАТЬСЯ";
        font-size: 11px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        letter-spacing: 0.5px;
        display: flex;
        align-items: center;
        height: 100%;
    }

    /* 3. Убираем кнопки из слайдера, чтобы не дублировались */
    .hero-content .modal-trigger {
        display: none !important;
    }
}

/* Для самых узких телефонов */
@media (max-width: 380px) {
    #callback-btn {
        right: 55px;
        padding: 0 10px !important;
    }
    #callback-btn::after {
        font-size: 10px;
    }
}

/* =========================================
   МОБИЛЬНАЯ ШАПКА (ТОЛЬКО ДЛЯ ТЕЛЕФОНОВ ≤768px)
========================================= */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #1a6f9f;
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .mobile-header {
        display: block;
    }
    
    .main-header {
        display: none !important;
    }
    
    body {
        padding-top: 44px;
    }
    
    .mobile-header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 12px;
        height: 44px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #1a6f9f;
        z-index: 10002;
    }
    
    .mobile-logo {
        display: block;
        height: 32px;
    }
    
    .mobile-logo img {
        height: 100%;
        width: auto;
        filter: brightness(0) invert(1);
        display: block;
    }
    
    .mobile-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 10002;
    }
    
    .mobile-hamburger span {
        display: block;
        width: 100%;
        height: 2.5px;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .mobile-nav {
        position: fixed;
        top: 44px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 44px);
        background: #fff;
        overflow-y: auto;
        transition: left 0.3s ease;
        z-index: 10001;
    }
    
    .mobile-nav.active {
        left: 0;
    }
    
    .mobile-nav-inner {
        padding: 10px 15px;
    }
    
    .mobile-menu-section {
        margin-bottom: 15px;
    }
    
    .mobile-menu-title {
        display: block;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #1a6f9f;
        margin-bottom: 8px;
        padding-bottom: 6px;
        border-bottom: 2px solid #e8eef4;
        text-align: center;
    }
    
    .mobile-menu-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .mobile-menu-list li {
        margin-bottom: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-menu-list li:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-list li a {
        display: block;
        padding: 10px 0;
        font-size: 14px;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s;
    }
    
    .mobile-menu-list li a:hover {
        color: #1a6f9f;
    }
}

/* Для маленьких экранов */
@media (max-width: 480px) {
    body {
        padding-top: 40px;
    }

    .mobile-header-inner {
        padding: 0 10px;
        height: 40px;
    }

    .mobile-logo {
        height: 28px;
    }
    
    .mobile-hamburger {
        width: 24px;
        height: 18px;
    }
    
    .mobile-hamburger span {
        height: 2px;
    }
    
    .mobile-nav {
        top: 40px;
        height: calc(100vh - 40px);
    }
    
    .mobile-nav-inner {
        padding: 8px 12px;
    }
    
    .mobile-menu-section {
        margin-bottom: 12px;
    }
    
    .mobile-menu-title {
        font-size: 9px;
        margin-bottom: 6px;
        padding-bottom: 5px;
    }
    
    .mobile-menu-list li a {
        padding: 8px 0;
        font-size: 13px;
    }
}


/* Мобильный стиль для кнопки */
@media (max-width: 768px) {
    #callback-btn.mobile-active {
        display: inline-flex !important;
        background: #1a6f9f !important;
        color: #fff !important;
        border: none !important;
        padding: 0 16px !important;
        height: 36px;
        border-radius: 6px;
        margin-right: 15px;
        font-size: 0 !important; /* Прячем текст */
        box-shadow: 0 2px 8px rgba(26, 111, 159, 0.3);
    }

    #callback-btn.mobile-active::after {
        content: "СВЯЗАТЬСЯ";
        font-size: 11px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        display: flex;
        align-items: center;
    }
}


/* ========== ПЛОСКОЕ МОБИЛЬНОЕ МЕНЮ БЕЗ ВЫПАДАШЕК ========== */
@media (max-width: 768px) {
    /* 1. Полностью отменяем скрытие подменю */
    .dropdown-menu {
        display: block !important;
        position: static !important;
        background: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 2. Делаем пункты меню ("Компания", "Продукция" и т.д.) обычным текстом, а не ссылками */
    .dropdown > a {
        display: block !important;
        pointer-events: none; /* Отключаем кликабельность */
        font-weight: 800 !important; /* Делаем жирными, чтобы были как заголовки */
        font-size: 14px;
        color: #1a6f9f !important; /* Цвет как у кнопок */
        margin-top: 15px;
        margin-bottom: 5px;
        text-transform: uppercase;
        border-bottom: 1px solid #eee;
    }

    /* 3. Убираем лишние отступы у ссылок внутри подменю */
    .dropdown-menu li {
        margin: 0 !important;
        padding-left: 10px;
    }

    .dropdown-menu li a {
        display: block;
        padding: 8px 0 !important;
        font-size: 15px;
        color: #333 !important;
    }

    /* 4. Выравниваем основные ссылки (Блог, Контакты), если они не в дропдаунах */
    #nav-menu > ul > li {
        margin: 0 !important;
    }
}



/* ========== ЦЕНТРИРОВАННОЕ МОБИЛЬНОЕ МЕНЮ ========== */
@media (max-width: 768px) {
    #nav-menu {
        text-align: center !important; /* Центрируем весь текст в меню */
        padding: 20px !important;
    }

    #nav-menu ul {
        display: block !important;
        list-style: none !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    /* Все основные элементы списка */
    #nav-menu > ul > li {
        display: block !important;
        margin: 0 0 20px 0 !important;
        text-align: center !important;
    }

    /* Заголовки категорий (Компания, Продукция...) */
    .dropdown > a {
        display: block !important;
        padding: 5px 0 !important;
        color: #1a6f9f !important;
        font-weight: 800 !important;
        text-transform: uppercase;
        border: none !important; /* Убрал линию, чтобы по центру смотрелось лучше */
    }

    /* Подпункты */
    .dropdown-menu {
        display: block !important;
        position: static !important;
        padding: 0 !important;
        margin: 5px 0 0 0 !important;
        background: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown-menu li {
        display: block !important;
        margin: 0 !important;
        padding: 4px 0 !important;
    }

    .dropdown-menu li a {
        display: block !important;
        font-size: 15px !important;
        color: #333 !important;
        text-decoration: none !important;
    }
}

/* =========================================
   ABOUT PAGE — О КОМПАНИИ
   ========================================= */

/* ----- Hero Section (split layout) ----- */
.hero-about {
    display: flex;
    min-height: 400px;
    background: #fff;
}

.hero-about-left {
    flex: 1;
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f8f9fa;
}

.hero-about-left h1 {
    font-size: 42px;
    font-weight: 800;
    color: #222;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-about-left p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    max-width: 520px;
}

.hero-about-right {
    flex: 1;
    min-width: 50%;
    background: linear-gradient(135deg, #e8eef4 0%, #d0dce8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a6f9f;
    font-size: 14px;
    font-weight: 600;
}

/* ----- Stats Section (row 1) ----- */
.stats-section {
    padding: 0;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-card {
    padding: 48px 36px;
    border-right: 1px solid #e8eef3;
    border-bottom: 1px solid #e8eef3;
    transition: all 0.3s;
    background: #fff;
    text-align: center;
}

.stat-card:last-child {
    border-right: none;
}

.stat-card:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.stat-card.dark {
    background: #1a3a5c;
    color: #fff;
    border-color: #1a3a5c;
}

.stat-card.dark:hover {
    background: #0e4a6e;
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 8px;
    line-height: 1;
    color: #1a6f9f;
}

.stat-number-small {
    font-size: 42px;
}

.stat-card.dark .stat-number {
    color: #fff;
}

.stat-card .stat-number .accent {
    font-size: 32px;
    font-weight: 600;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: #888;
    line-height: 1.5;
}

.stat-card.dark .stat-label {
    color: rgba(255, 255, 255, 0.7);
}

/* ----- Stats Section (row 2) ----- */
.stats-grid-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.stat-card-2 {
    padding: 48px 36px;
    border-right: 1px solid #e8eef3;
    border-bottom: 1px solid #e8eef3;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.3s;
    background: #fff;
}

.stat-card-2:last-child {
    border-right: none;
}

.stat-card-2:hover {
    background: #f8f9fa;
}

.stat-card-2-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a6f9f 0%, #0e4a6e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card-2-icon .placeholder-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

.stat-card-2-content h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1a3a5c;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.stat-card-2-content p {
    font-size: 13px;
    color: #888;
    font-weight: 500;
    line-height: 1.5;
}

/* ----- Equipment Section ----- */
.equipment-section {
    padding: 80px 40px;
    background: #f8f9fa;
    text-align: center;
}

.equipment-section h2 {
    font-size: 32px;
    font-weight: 800;
    color: #222;
    margin-bottom: 16px;
}

.equipment-section > p {
    text-align: center;
    color: #666;
    font-size: 15px;
    margin-bottom: 48px;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.equip-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #e8eef3;
    text-align: left;
}

.equip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.equip-card-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e8eef4 0%, #d0dce8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a6f9f;
    font-size: 14px;
}

.equip-card-body {
    padding: 24px;
}

.equip-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #1a6f9f;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.equip-card-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 8px;
}

.equip-card-body p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* ----- Partners Section (text names) ----- */
.partners-about {
    padding: 80px 40px;
    background: #fff;
    text-align: center;
}

.partners-about-title {
    font-size: 32px;
    font-weight: 800;
    color: #222;
    margin-bottom: 12px;
}

.partners-about-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 48px;
}

.partners-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-name {
    padding: 12px 24px;
    background: #f8f9fa;
    border: 1px solid #e8eef3;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s;
}

.partner-name:hover {
    background: #1a6f9f;
    color: #fff;
    border-color: #1a6f9f;
    transform: translateY(-2px);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-about {
        flex-direction: column;
    }
    .hero-about-left {
        padding: 40px 24px;
    }
    .hero-about-left h1 {
        font-size: 32px;
    }
    .hero-about-right {
        min-height: 280px;
    }
    .stats-grid,
    .stats-grid-2 {
        grid-template-columns: 1fr;
    }
    .stat-card,
    .stat-card-2 {
        border-right: none;
    }
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    .partners-about,
    .equipment-section {
        padding: 60px 20px;
    }
    .partners-names {
        gap: 12px;
    }
    .partner-name {
        font-size: 13px;
        padding: 10px 18px;
    }
}
.hero-about-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* ===== (Equipment Section) ===== */
.equipment-section {
    padding: 80px 40px;
    background: #f8f9fa;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.equip-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #e8eef3;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.equip-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.equip-card-img {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #e8eef4 0%, #d0dce8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.equip-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s;
}

.equip-card:hover .equip-card-img img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .equipment-section {
        padding: 60px 20px;
    }
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    .equip-card-img {
        height: 220px;
    }
}

.equipment-warning-block {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 60px;
    border-top: 2px solid #e8eef3;
    text-align: left;
}

.warning-box {
    display: flex;
    gap: 20px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
    border-left: 4px solid #CA2A2A;
    border-radius: 12px;
    margin-bottom: 32px;
    box-shadow: 0 4px 12px rgba(202, 42, 42, 0.1);
}



.warning-text {
    flex: 1;
}

.warning-text p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.equipment-info-text {
    margin-bottom: 24px;
    padding: 0 8px;
}

.equipment-info-text:last-child {
    margin-bottom: 0;
}

.equipment-info-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .equipment-warning-block {
        margin: 40px auto 0;
        padding-top: 40px;
    }
    .warning-box {
        flex-direction: column;
        gap: 16px;
        padding: 22px;
    }
    .warning-icon {
        width: 44px;
        height: 44px;
    }
    .warning-text p,
    .equipment-info-text p {
        font-size: 14px;
    }
}

.partners-about-text {
    max-width: 900px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.partners-about-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    text-align: left;
}

/* Контейнер для картинки над контентом карточки */
.info-card-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #e8eef4 0%, #d0dce8 100%);
    overflow: hidden;
}

.info-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Лёгкий зум при наведении на карточку */
.info-card:hover .info-card-image img {
    transform: scale(1.05);
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
    .info-card-image {
        height: 180px;
    }
}
/* Универсальный блок картинки после текста */
.text-image-block {
    margin: 35px 0; /* Отступы от текста сверху и снизу */
    border-radius: 16px; /* Скругление как у карточек */
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.text-image-block:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.text-image-block img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

/* Лёгкое увеличение при наведении (в стиле сайта) */
.text-image-block:hover img {
    transform: scale(1.03);
}

/* Опционально: подпись под картинкой */
.text-image-caption {
    padding: 12px 16px;
    background: #f8fafb;
    font-size: 13px;
    color: #666;
    text-align: center;
    font-style: italic;
    border-top: 1px solid #eef2f7;
}

/* ==========================================================================
   ИСПРАВЛЕНИЕ ВЫПАДАЮЩИХ СПИСКОВ И ЗАКРЕПЛЕННОЙ ШАПКИ ДЛЯ ЮГРА-ПГС
   ========================================================================== */

/* 1. Настройка стандартных выпадающих списков верхнего меню (О предприятии) */
.top-nav .has-children {
    position: relative;
}

.top-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 240px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    padding: 10px 0;
    list-style: none;
    z-index: 9999;
    border-radius: 4px;
    margin: 0;
}

.top-nav .sub-menu li a {
    color: #333333 !important;
    padding: 10px 20px !important;
    display: block !important;
    font-size: 14px !important;
    text-transform: none !important;
    text-align: left !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

.top-nav .sub-menu li a:hover {
    background: #f5f9fc !important;
    color: #008cc8 !important; /* Синий цвет при наведении */
}

/* Открытие выпадающих списков по наведению мышкой (на ПК) */
@media (min-width: 992px) {
    .top-nav .has-children:hover .sub-menu {
        display: block !important;
    }
    #nav-menu .dropdown:hover .dropdown-menu {
        display: block !important;
    }
}

/* Открытие по клику (для мобильных устройств или через JS класс .open) */
.top-nav .has-children.open .sub-menu,
#nav-menu .dropdown.open .dropdown-menu {
    display: block !important;
}


/* 2. Поведение закрепленной синей полосы при скролле вниз */
#sticky-menu-bar.is-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background-color: #008cc8 !important;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2) !important;
    
    /* Увеличили вертикальные отступы с 8px до 18px, чтобы сделать полосу шире */
    padding: 18px 0 !important; 
    
    animation: headerSlideDown 0.3s ease-out forwards;
    transition: padding 0.3s ease;
}

/* --- Обновленный увеличенный размер логотипа --- */
#sticky-menu-bar.is-sticky .sticky-logo img {
    /* Увеличили высоту логотипа с 38px до 52px, чтобы он соответствовал широкой полосе */
    height: 52px !important; 
    width: auto !important;
    
    filter: brightness(0) invert(1) !important; /* По-прежнему делает его белым */
    display: block;
    transition: height 0.3s ease;
}

/* --- Корректировка размера гамбургера под новую высоту шапки --- */
@media (min-width: 992px) {
    #sticky-menu-bar.is-sticky .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        
        /* Немного увеличили гамбургер, чтобы он смотрелся гармонично */
        width: 32px;
        height: 22px;
        
        background: transparent;
        border: none;
        cursor: pointer;
        margin-left: auto;
        padding: 0;
    }
}

@keyframes headerSlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Управление логотипом в липкой шапке */
#sticky-menu-bar .sticky-logo {
    display: none; /* Скрыт в обычном состоянии */
}

#sticky-menu-bar.is-sticky .sticky-logo {
    display: block !important;
}

/* СДЕЛАТЬ ЛОГОТИП БЕЛЫМ: инвертируем исходный цвет в белый через фильтр */
#sticky-menu-bar.is-sticky .sticky-logo img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1) !important; 
    display: block;
}


/* 3. Логика отображения элементов на ПК (экран от 992px) */
@media (min-width: 992px) {
    /* Скрываем стандартные горизонтальные ссылки при скролле вниз */
    #sticky-menu-bar.is-sticky #nav-menu > ul {
        display: none !important;
    }
    
    /* Скрываем гамбургер в обычном положении, но показываем при скролле */
    #sticky-menu-bar .hamburger {
        display: none;
    }
    
    #sticky-menu-bar.is-sticky .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        margin-left: auto; /* Сдвигает гамбургер вправо */
        padding: 0;
        position: relative;
        z-index: 999999;
    }
    
    #sticky-menu-bar.is-sticky .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #ffffff !important; /* Белые полоски меню */
        border-radius: 2px;
        transition: all 0.3s ease;
    }
}

/* 4. Выпадающий мега-список на ПК "Всё что в шапке" при клике на гамбургер */
.pc-mega-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 15px;
    width: 320px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 12px 0;
    z-index: 1 !important;
    max-height: 85vh;
    overflow-y: auto;
    pointer-events: none;
}

/* Показываем при активации класса через JS */
.pc-mega-dropdown.active {
    display: block !important;
    pointer-events: auto;
}

.pc-mega-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pc-mega-dropdown li a {
    display: block;
    padding: 11px 20px;
    color: #333333 !important;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #f2f2f2;
    text-align: left;
}

.pc-mega-dropdown li a:hover {
    background: #f4f8fc;
    color: #008cc8 !important;
}

/* Заголовки разделов внутри общего списка (Информация / Навигация) */
.pc-mega-dropdown .menu-section-title {
    background: #f7f7f7;
    padding: 6px 20px;
    font-size: 11px;
    text-transform: uppercase;
    color: #888888;
    font-weight: 700;
    letter-spacing: 0.8px;
}

/* Внутренние подсписки внутри мега-меню */
.pc-mega-dropdown .sub-menu, 
.pc-mega-dropdown .dropdown-menu {
    position: static !important;
    display: none !important;
    box-shadow: none !important;
    background: #fafafa !important;
    padding-left: 15px !important;
}

.pc-mega-dropdown .open > .sub-menu,
.pc-mega-dropdown .open > .dropdown-menu {
    display: block !important;
}

/* =====================================================================
   ТЕМА ГЛАВНОЙ СТРАНИЦЫ: синий фон, кистевая анимация "30", небо с облаками
   Все правила намеренно завязаны на body.home-theme, чтобы никак не
   затронуть остальные страницы сайта (они используют те же классы секций).
   ===================================================================== */

body.home-theme {
    background: #0c2c46;
}

body.home-theme main.site-content {
    display: block;
    overflow: hidden;
}

/* ---------- ЮБИЛЕЙНАЯ СЕКЦИЯ С "30" ---------- */
body.home-theme .anniversary-section {
    position: relative;
    background: linear-gradient(160deg, #0a2138 0%, #0f3a5c 35%, #146d95 70%, #1a86ad 100%);
    padding: 70px 20px 90px;
    overflow: hidden;
}

body.home-theme .anniversary-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(143, 240, 230, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(31, 179, 196, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

body.home-theme .anniversary-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: center;
}

body.home-theme .anniversary-brush {
    flex: 0 0 auto;
    width: min(560px, 90%);
}

body.home-theme .anniversary-svg {
    width: 100%;
    height: auto;
    display: block;
}

body.home-theme .anniversary-text {
    font-family: 'Bebas Neue', 'Montserrat', sans-serif;
    font-size: 300px;
    letter-spacing: 4px;
}

body.home-theme #annBrushPath {
    /* stroke-dasharray/offset выставляются в JS для точного эффекта кисти;
       запасное значение на случай, если JS ещё не отработал */
    stroke-dasharray: 1600;
    stroke-dashoffset: 1600;
}

body.home-theme .anniversary-copy {
    flex: 1 1 320px;
    max-width: 480px;
    text-align: left;
}

body.home-theme .anniversary-eyebrow {
    color: #8ff0e6;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

body.home-theme .anniversary-title {
    color: #ffffff;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: none;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s;
}

body.home-theme .anniversary-text-p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

body.home-theme .anniversary-section.in-view .anniversary-eyebrow,
body.home-theme .anniversary-section.in-view .anniversary-title,
body.home-theme .anniversary-section.in-view .anniversary-text-p {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    body.home-theme .anniversary-section {
        padding: 50px 20px 60px;
    }
    body.home-theme .anniversary-inner {
        flex-direction: column;
        gap: 20px;
    }
    body.home-theme .anniversary-copy {
        text-align: center;
    }
    body.home-theme .anniversary-title {
        font-size: 24px;
    }
    body.home-theme .anniversary-text-p {
        font-size: 14px;
    }
}

/* ---------- "НАШИ СИЛЬНЫЕ СТОРОНЫ" НА СИНЕМ ФОНЕ ---------- */
body.home-theme .why-choose-us {
    background: linear-gradient(180deg, #1a86ad 0%, #166f95 45%, #12587a 100%);
    border-bottom: none;
    max-width: 100%;
    padding: 70px 20px;
}

body.home-theme .why-choose-us .cards {
    max-width: 1200px;
}

body.home-theme .why-choose-us h2 {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* ---------- "НАШЕ ПРЕДПРИЯТИЕ" НА СИНЕМ ФОНЕ ---------- */
body.home-theme .about-company-section {
    background: linear-gradient(180deg, #12587a 0%, #0e4763 55%, #0b3a54 100%);
    border-bottom: none;
    max-width: 100%;
    padding: 70px 20px 90px;
}

body.home-theme .about-company-section h2 {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

body.home-theme .about-company-card {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(4, 20, 34, 0.35);
}

@media (max-width: 768px) {
    body.home-theme .about-company-card {
        padding: 22px;
        border-radius: 14px;
    }
}

/* ---------- НЕБО С ОБЛАКАМИ (ПЕРЕХОД ФОНА) ---------- */
body.home-theme .sky-section {
    position: relative;
    height: 320px;
    background: linear-gradient(180deg, #0b3a54 0%, #2f86b3 22%, #7ec3e0 48%, #cdeaf6 72%, #f4fbfd 100%);
    overflow: hidden;
}

body.home-theme .sky-svg {
    width: 100%;
    height: 100%;
    display: block;
}

body.home-theme .sky-sun {
    fill: rgba(255, 255, 255, 0.55);
    filter: blur(2px);
}

body.home-theme .cloud ellipse {
    fill: #ffffff;
}

body.home-theme .cloud {
    opacity: 0.92;
}

body.home-theme .cloud-1 {
    transform: translate(220px, 90px);
    animation: cloud-drift-1 46s ease-in-out infinite;
}
body.home-theme .cloud-2 {
    transform: translate(760px, 150px);
    opacity: 0.85;
    animation: cloud-drift-2 60s ease-in-out infinite;
}
body.home-theme .cloud-3 {
    transform: translate(1180px, 60px);
    opacity: 0.8;
    animation: cloud-drift-3 38s ease-in-out infinite;
}
body.home-theme .cloud-4 {
    transform: translate(420px, 230px);
    opacity: 0.75;
    animation: cloud-drift-2 52s ease-in-out infinite reverse;
}

@keyframes cloud-drift-1 {
    0%, 100% { transform: translate(220px, 90px); }
    50% { transform: translate(280px, 90px); }
}
@keyframes cloud-drift-2 {
    0%, 100% { transform: translate(760px, 150px); }
    50% { transform: translate(690px, 150px); }
}
@keyframes cloud-drift-3 {
    0%, 100% { transform: translate(1180px, 60px); }
    50% { transform: translate(1120px, 60px); }
}

@media (max-width: 768px) {
    body.home-theme .sky-section {
        height: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home-theme .cloud-1,
    body.home-theme .cloud-2,
    body.home-theme .cloud-3,
    body.home-theme .cloud-4 {
        animation: none;
    }
}

/* ---------- НОВОСТИ: светлая секция, продолжающая небо ---------- */
body.home-theme .blog-section {
    background: linear-gradient(180deg, #f4fbfd 0%, #ffffff 100%);
    padding: 90px 0 110px;
}

/* ---------- ПЕРЕХОД ОБРАТНО В ТЁМНО-СИНИЙ ПЕРЕД ПОДВАЛОМ ---------- */
body.home-theme .footer-fade {
    height: 220px;
    background: linear-gradient(180deg, #ffffff 0%, #cfe6f2 25%, #4f86ab 60%, #1a2a3a 100%);
}

@media (max-width: 768px) {
    body.home-theme .footer-fade {
        height: 130px;
    }
}

/* =====================================================================
   ТЕМА ГЛАВНОЙ СТРАНИЦЫ: синий фон, кистевая анимация "30", небо с облаками
   ===================================================================== */

body.home-theme {
    background: #0c2c46;
}

body.home-theme main.site-content {
    display: block;
    overflow: hidden;
}

/* ---------- ЮБИЛЕЙНАЯ СЕКЦИЯ С "30" (УВЕЛИЧЕННАЯ) ---------- */
body.home-theme .anniversary-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(160deg, #0a2138 0%, #0f3a5c 35%, #146d95 70%, #1a86ad 100%);
    padding: 40px 20px 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

body.home-theme .anniversary-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(143, 240, 230, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(31, 179, 196, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

body.home-theme .anniversary-inner {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    text-align: center;
    width: 100%;
}

body.home-theme .anniversary-brush {
    flex: 0 0 auto;
    width: min(800px, 92%);
    max-width: 100%;
}

body.home-theme .anniversary-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Толстый росчерк кисти по контуру цифры — увеличенная толщина */
body.home-theme .brush-digit {
    fill: none;
    stroke: url(#annGrad);
    stroke-width: 62;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 10px 25px rgba(4, 20, 34, 0.45));
}

/* Более светлая тонкая обводка внутри — блик "мокрой" краски */
body.home-theme .brush-digit-core {
    fill: none;
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 16;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Запасные значения на случай, если JS ещё не выставил точную длину пути */
body.home-theme .brush-digit,
body.home-theme .brush-digit-core {
    stroke-dasharray: 1800;
    stroke-dashoffset: 1800;
}

body.home-theme .anniversary-copy {
    flex: 1 1 360px;
    max-width: 520px;
    text-align: left;
}

body.home-theme .anniversary-eyebrow {
    color: #8ff0e6;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 16px;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.7s ease 0.9s, transform 0.7s ease 0.9s;
}

body.home-theme .anniversary-title {
    color: #ffffff;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: none;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s ease 1.05s, transform 0.8s ease 1.05s;
}

body.home-theme .anniversary-text-p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s ease 1.2s, transform 0.8s ease 1.2s;
}

body.home-theme .anniversary-section.in-view .anniversary-eyebrow,
body.home-theme .anniversary-section.in-view .anniversary-title,
body.home-theme .anniversary-section.in-view .anniversary-text-p {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    body.home-theme .anniversary-section {
        min-height: auto;
        padding: 60px 20px 80px;
    }
    body.home-theme .anniversary-inner {
        flex-direction: column;
        gap: 30px;
    }
    body.home-theme .anniversary-copy {
        text-align: center;
        max-width: 100%;
    }
    body.home-theme .anniversary-title {
        font-size: 32px;
    }
    body.home-theme .anniversary-text-p {
        font-size: 16px;
    }
    body.home-theme .anniversary-brush {
        width: min(600px, 95%);
    }
}

@media (max-width: 768px) {
    body.home-theme .anniversary-section {
        padding: 40px 15px 60px;
    }
    body.home-theme .anniversary-title {
        font-size: 26px;
    }
    body.home-theme .anniversary-text-p {
        font-size: 14px;
    }
    body.home-theme .anniversary-brush {
        width: 100%;
    }
    body.home-theme .brush-digit {
        stroke-width: 42;
    }
    body.home-theme .brush-digit-core {
        stroke-width: 10;
    }
}

/* ---------- "НАШИ СИЛЬНЫЕ СТОРОНЫ" НА СИНЕМ ФОНЕ ---------- */
body.home-theme .why-choose-us {
    background: linear-gradient(180deg, #1a86ad 0%, #166f95 45%, #12587a 100%);
    border-bottom: none;
    max-width: 100%;
    padding: 70px 20px;
}

body.home-theme .why-choose-us .cards {
    max-width: 1200px;
}

body.home-theme .why-choose-us h2 {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* ---------- "НАШЕ ПРЕДПРИЯТИЕ" НА СИНЕМ ФОНЕ ---------- */
body.home-theme .about-company-section {
    background: linear-gradient(180deg, #12587a 0%, #0e4763 55%, #0b3a54 100%);
    border-bottom: none;
    max-width: 100%;
    padding: 70px 20px 90px;
}

body.home-theme .about-company-section h2 {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

body.home-theme .about-company-card {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(4, 20, 34, 0.35);
}

@media (max-width: 768px) {
    body.home-theme .about-company-card {
        padding: 22px;
        border-radius: 14px;
    }
}

/* ============================================================
   НОВЫЕ РЕАЛИСТИЧНЫЕ ОБЛАКА (вместо старых)
   ============================================================ */

body.home-theme .sky-section {
    position: relative;
    height: 400px;
    background: linear-gradient(180deg, #0b3a54 0%, #2f86b3 18%, #7ec3e0 42%, #cdeaf6 68%, #f4fbfd 100%);
    overflow: hidden;
}

body.home-theme .sky-svg {
    width: 100%;
    height: 100%;
    display: block;
}

body.home-theme .sky-sun {
    fill: rgba(255, 255, 255, 0.5);
    filter: blur(3px);
}

/* ----- Пушистые облака с мягкими тенями ----- */
body.home-theme .cloud {
    opacity: 0.92;
    filter: drop-shadow(0 8px 20px rgba(0, 30, 50, 0.15));
}

body.home-theme .cloud ellipse {
    fill: #ffffff;
}

/* Тени внутри облаков для объёма */
body.home-theme .cloud-shadow ellipse {
    fill: rgba(200, 225, 240, 0.5);
}

/* Каждое облако — отдельная группа с плавным дрейфом */
body.home-theme .cloud-1 {
    transform: translate(180px, 80px);
    animation: cloud-drift-1 50s ease-in-out infinite;
}
body.home-theme .cloud-2 {
    transform: translate(820px, 140px);
    opacity: 0.85;
    animation: cloud-drift-2 65s ease-in-out infinite;
}
body.home-theme .cloud-3 {
    transform: translate(1250px, 50px);
    opacity: 0.8;
    animation: cloud-drift-3 42s ease-in-out infinite;
}
body.home-theme .cloud-4 {
    transform: translate(380px, 240px);
    opacity: 0.75;
    animation: cloud-drift-2 55s ease-in-out infinite reverse;
}
body.home-theme .cloud-5 {
    transform: translate(920px, 260px);
    opacity: 0.7;
    animation: cloud-drift-1 70s ease-in-out infinite;
}

@keyframes cloud-drift-1 {
    0%, 100% { transform: translate(180px, 80px); }
    50% { transform: translate(280px, 80px); }
}
@keyframes cloud-drift-2 {
    0%, 100% { transform: translate(820px, 140px); }
    50% { transform: translate(720px, 140px); }
}
@keyframes cloud-drift-3 {
    0%, 100% { transform: translate(1250px, 50px); }
    50% { transform: translate(1150px, 50px); }
}

@media (max-width: 768px) {
    body.home-theme .sky-section {
        height: 240px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home-theme .cloud-1,
    body.home-theme .cloud-2,
    body.home-theme .cloud-3,
    body.home-theme .cloud-4,
    body.home-theme .cloud-5 {
        animation: none;
    }
}

/* ---------- НОВОСТИ: светлая секция, продолжающая небо ---------- */
body.home-theme .blog-section {
    background: linear-gradient(180deg, #f4fbfd 0%, #ffffff 100%);
    padding: 90px 0 110px;
}

/* ---------- ПЕРЕХОД ОБРАТНО В ТЁМНО-СИНИЙ ПЕРЕД ПОДВАЛОМ ---------- */
body.home-theme .footer-fade {
    height: 260px;
    background: linear-gradient(180deg, #ffffff 0%, #cfe6f2 25%, #4f86ab 60%, #1a2a3a 100%);
}

@media (max-width: 768px) {
    body.home-theme .footer-fade {
        height: 150px;
    }
}

/* ============================================================
   ЗВЁЗДНОЕ НЕБО (вместо облаков)
   ============================================================ */

body.home-theme .sky-section {
    position: relative;
    height: 420px;
    background: linear-gradient(180deg, 
        #0a1a2e 0%, 
        #0d2844 15%, 
        #143a5c 30%, 
        #1a4d6e 50%, 
        #2a6f8f 70%, 
        #4a8faf 85%, 
        #7ab8d4 100%
    );
    overflow: hidden;
}

body.home-theme .sky-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

/* ----- ЗВЁЗДЫ (мерцание) ----- */
body.home-theme .star {
    fill: #ffffff;
    animation: twinkle 3s ease-in-out infinite alternate;
}

/* Каждая звезда мерцает с разной задержкой */
body.home-theme .star-1 { animation-delay: 0s; }
body.home-theme .star-2 { animation-delay: 0.3s; }
body.home-theme .star-3 { animation-delay: 0.7s; }
body.home-theme .star-4 { animation-delay: 1.1s; }
body.home-theme .star-5 { animation-delay: 0.5s; }
body.home-theme .star-6 { animation-delay: 0.9s; }
body.home-theme .star-7 { animation-delay: 1.3s; }
body.home-theme .star-8 { animation-delay: 0.2s; }
body.home-theme .star-9 { animation-delay: 0.8s; }
body.home-theme .star-10 { animation-delay: 1.4s; }
body.home-theme .star-11 { animation-delay: 0.6s; }
body.home-theme .star-12 { animation-delay: 1.0s; }
body.home-theme .star-13 { animation-delay: 0.4s; }
body.home-theme .star-14 { animation-delay: 1.2s; }

/* Мелкие звёзды мерцают быстрее */
body.home-theme .star-small-1 { animation-delay: 0.1s; animation-duration: 2s; }
body.home-theme .star-small-2 { animation-delay: 0.6s; animation-duration: 2.5s; }
body.home-theme .star-small-3 { animation-delay: 1.0s; animation-duration: 2s; }
body.home-theme .star-small-4 { animation-delay: 0.3s; animation-duration: 3s; }
body.home-theme .star-small-5 { animation-delay: 0.8s; animation-duration: 2.2s; }
body.home-theme .star-small-6 { animation-delay: 1.4s; animation-duration: 2.8s; }
body.home-theme .star-small-7 { animation-delay: 0.5s; animation-duration: 2s; }
body.home-theme .star-small-8 { animation-delay: 0.9s; animation-duration: 3.2s; }
body.home-theme .star-small-9 { animation-delay: 0.2s; animation-duration: 2.5s; }
body.home-theme .star-small-10 { animation-delay: 1.1s; animation-duration: 2s; }
body.home-theme .star-small-11 { animation-delay: 0.7s; animation-duration: 3s; }
body.home-theme .star-small-12 { animation-delay: 1.3s; animation-duration: 2.3s; }
body.home-theme .star-small-13 { animation-delay: 0.4s; animation-duration: 2.7s; }
body.home-theme .star-small-14 { animation-delay: 1.5s; animation-duration: 2s; }
body.home-theme .star-small-15 { animation-delay: 0.8s; animation-duration: 3.1s; }
body.home-theme .star-small-16 { animation-delay: 0.1s; animation-duration: 2.4s; }
body.home-theme .star-small-17 { animation-delay: 1.2s; animation-duration: 2.6s; }
body.home-theme .star-small-18 { animation-delay: 0.6s; animation-duration: 3.3s; }
body.home-theme .star-small-19 { animation-delay: 1.0s; animation-duration: 2.1s; }
body.home-theme .star-small-20 { animation-delay: 0.3s; animation-duration: 2.9s; }

/* Самые мелкие звёзды — едва заметное мерцание */
body.home-theme .star-tiny-1 { animation-delay: 0.5s; animation-duration: 4s; }
body.home-theme .star-tiny-2 { animation-delay: 1.2s; animation-duration: 3.5s; }
body.home-theme .star-tiny-3 { animation-delay: 0.8s; animation-duration: 4.2s; }
body.home-theme .star-tiny-4 { animation-delay: 0.2s; animation-duration: 3.8s; }
body.home-theme .star-tiny-5 { animation-delay: 1.5s; animation-duration: 4s; }

@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.3; transform: scale(0.9); }
}

/* ----- ПАДАЮЩАЯ ЗВЕЗДА ----- */
body.home-theme .shooting-star {
    animation: shoot 6s ease-in-out infinite;
}

@keyframes shoot {
    0% { opacity: 0; transform: translate(0, 0); }
    5% { opacity: 1; transform: translate(0, 0); }
    15% { opacity: 1; transform: translate(150px, 150px); }
    20% { opacity: 0; transform: translate(200px, 200px); }
    100% { opacity: 0; transform: translate(200px, 200px); }
}

/* ----- АДАПТИВ ----- */
@media (max-width: 768px) {
    body.home-theme .sky-section {
        height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home-theme .star {
        animation: none !important;
        opacity: 0.7 !important;
    }
    body.home-theme .shooting-star {
        animation: none !important;
        opacity: 0 !important;
    }
}

/* =====================================================================
   ЕДИНЫЙ СКВОЗНОЙ ФОН ДЛЯ ГЛАВНОЙ СТРАНИЦЫ
   ===================================================================== */

body.home-theme {
    background: #0c2c46;
    min-height: 100vh;
}

/* Основной контейнер с единым градиентом */
body.home-theme main.site-content {
    display: block;
    overflow: hidden;
    background: linear-gradient(180deg,
        /* 1. Звёздное небо (верх) */
        #070d1a 0%,
        #0a1a2e 8%,
        #0d2844 16%,
        #143a5c 25%,
        
        /* 2. Переход к синему небу */
        #1a4d6e 35%,
        #2a6f8f 45%,
        #4a8faf 55%,
        #7ab8d4 65%,
        
        /* 3. Дневное небо */
        #a8d4e8 72%,
        #c5e4f0 78%,
        #dceef5 84%,
        #f0f8fb 90%,
        
        /* 4. Переход к светлому фону */
        #f8fbfd 94%,
        #ffffff 100%
    );
    background-attachment: fixed; /* Фиксируем фон при скролле */
}

/* ---------- ЮБИЛЕЙНАЯ СЕКЦИЯ (прозрачный фон) ---------- */
body.home-theme .anniversary-section {
    position: relative;
    min-height: 100vh;
    /* Фон прозрачный — виден единый градиент */
    background: transparent;
    padding: 40px 20px 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Свечение вокруг цифры 30 */
body.home-theme .anniversary-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(143, 240, 230, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(31, 179, 196, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

/* ---------- "НАШИ СИЛЬНЫЕ СТОРОНЫ" (прозрачный фон) ---------- */
body.home-theme .why-choose-us {
    background: transparent;
    border-bottom: none;
    max-width: 100%;
    padding: 70px 20px 80px;
}

body.home-theme .why-choose-us .cards {
    max-width: 1200px;
}

body.home-theme .why-choose-us h2 {
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* ---------- "НАШЕ ПРЕДПРИЯТИЕ" (прозрачный фон) ---------- */
body.home-theme .about-company-section {
    background: transparent;
    border-bottom: none;
    max-width: 100%;
    padding: 70px 20px 90px;
}

body.home-theme .about-company-section h2 {
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

body.home-theme .about-company-card {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(4, 20, 34, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    body.home-theme .about-company-card {
        padding: 22px;
        border-radius: 14px;
    }
}

/* ---------- НОВОСТИ (прозрачный фон) ---------- */
body.home-theme .blog-section {
    background: transparent;
    padding: 80px 0 100px;
}

body.home-theme .blog-section .blog-title {
    color: #1a3a5c;
}

body.home-theme .blog-section .blog-subtitle {
    color: #555;
}

/* ---------- СЛАЙДЕР (внизу) ---------- */
body.home-theme .hero-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.15);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    touch-action: pan-y;
    border-radius: 24px 24px 0 0;
    max-width: 1200px;
    margin: 0 auto 0;
}

@media (max-width: 768px) {
    body.home-theme .hero-slider {
        height: 350px;
        border-radius: 16px 16px 0 0;
        margin: 0 10px;
    }
}

/* ---------- ПОДВАЛ ---------- */
body.home-theme footer {
    background: #0d1f2e;
    padding: 50px 20px 30px;
    color: #ccc;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.home-theme footer .footer-section h3 {
    color: #fff;
}

body.home-theme footer .footer-section ul li a,
body.home-theme footer .footer-section p a {
    color: rgba(255, 255, 255, 0.7);
}

body.home-theme footer .footer-section ul li a:hover,
body.home-theme footer .footer-section p a:hover {
    color: #7ab8d4;
}

body.home-theme footer .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
}

/* =====================================================================
   ЕДИНЫЙ СКВОЗНОЙ ФОН ДЛЯ ГЛАВНОЙ СТРАНИЦЫ
   ===================================================================== */

body.home-theme {
    background: #070d1a;
    min-height: 100vh;
}

/* Основной контейнер с единым градиентом */
body.home-theme main.site-content {
    display: block;
    overflow: hidden;
    background: linear-gradient(180deg,
        /* 1. Глубокий космос (верх) — тёмный, чтобы текст был виден */
        #050a14 0%,
        #091626 6%,
        #0d2238 12%,
        #12304a 18%,
        
        /* 2. Переход к синему небу */
        #183e5c 25%,
        #1e5070 32%,
        #286484 40%,
        #3a7a9a 48%,
        
        /* 3. Дневное небо — мягкое, не ослепляющее */
        #569ab5 55%,
        #78b8cc 62%,
        #9ccfde 70%,
        #b8dce8 78%,
        
        /* 4. Переход к светлому фону */
        #d0e8f0 85%,
        #e5f2f7 92%,
        #f4f9fc 97%,
        #ffffff 100%
    );
    background-attachment: fixed;
}

/* ---------- ЮБИЛЕЙНАЯ СЕКЦИЯ ---------- */
body.home-theme .anniversary-section {
    position: relative;
    min-height: 100vh;
    background: transparent;
    padding: 40px 20px 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Свечение вокруг цифры 30 — мягкое, не перебивает */
body.home-theme .anniversary-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 45%, rgba(143, 240, 230, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 70% 55%, rgba(31, 179, 196, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 55%);
    pointer-events: none;
}

/* Текст на тёмном фоне — белый, хорошо читается */
body.home-theme .anniversary-eyebrow {
    color: #8ff0e6;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 15px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease 1.1s, transform 0.6s ease 1.1s;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

body.home-theme .anniversary-title {
    color: #ffffff;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: none;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease 1.25s, transform 0.7s ease 1.25s;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

body.home-theme .anniversary-text-p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease 1.4s, transform 0.7s ease 1.4s;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* ---------- "НАШИ СИЛЬНЫЕ СТОРОНЫ" ---------- */
body.home-theme .why-choose-us {
    background: transparent;
    border-bottom: none;
    max-width: 100%;
    padding: 60px 20px 70px;
}

body.home-theme .why-choose-us h2 {
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* ---------- "НАШЕ ПРЕДПРИЯТИЕ" ---------- */
body.home-theme .about-company-section {
    background: transparent;
    border-bottom: none;
    max-width: 100%;
    padding: 60px 20px 80px;
}

body.home-theme .about-company-section h2 {
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

body.home-theme .about-company-card {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---------- НОВОСТИ ---------- */
body.home-theme .blog-section {
    background: transparent;
    padding: 70px 0 90px;
}

body.home-theme .blog-section .blog-title {
    color: #1a3a5c;
}

body.home-theme .blog-section .blog-subtitle {
    color: #555;
}

/* ---------- СЛАЙДЕР ---------- */
body.home-theme .hero-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    touch-action: pan-y;
    border-radius: 24px 24px 0 0;
    max-width: 1200px;
    margin: 0 auto 0;
}

@media (max-width: 768px) {
    body.home-theme .hero-slider {
        height: 350px;
        border-radius: 16px 16px 0 0;
        margin: 0 10px;
    }
}

/* ---------- ПОДВАЛ ---------- */
body.home-theme footer {
    background: #0d1f2e;
    padding: 50px 20px 30px;
    color: #ccc;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.home-theme footer .footer-section h3 {
    color: #fff;
}

body.home-theme footer .footer-section ul li a,
body.home-theme footer .footer-section p a {
    color: rgba(255, 255, 255, 0.7);
}

body.home-theme footer .footer-section ul li a:hover,
body.home-theme footer .footer-section p a:hover {
    color: #78b8cc;
}

body.home-theme footer .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
}

/* =====================================================================
   ЕДИНЫЙ СКВОЗНОЙ ФОН ДЛЯ ГЛАВНОЙ СТРАНИЦЫ — БЕЗ ЯРКОГО БЕЛОГО
   ===================================================================== */

/* =====================================================================
   ЕДИНЫЙ СКВОЗНОЙ ФОН — СВЕТЛЫЙ ВВЕРХУ, ТЁМНЫЙ ВНИЗУ
   ===================================================================== */

body.home-theme {
    background: #0a1625;
    min-height: 100vh;
}

/* Основной контейнер с единым градиентом */
body.home-theme main.site-content {
    display: block;
    overflow: hidden;
    background: linear-gradient(180deg,
        /* 1. СВЕТЛОЕ НЕБО (сразу под шапкой) */
        #d4eaf7 0%,
        #c5e4f0 3%,
        #b8dce8 6%,
        #acd4e0 9%,
        #a0cce0 12%,
        
        /* 2. Переход к бирюзовому */
        #94c4d8 16%,
        #88bcd0 20%,
        #7cb4c8 24%,
        
        /* 3. Переход к синему */
        #6aa8c0 30%,
        #569ab5 36%,
        #428aaa 42%,
        
        /* 4. Глубокое синее небо */
        #327a9a 48%,
        #266a8a 54%,
        #1c5a7a 60%,
        
        /* 5. Переход к вечернему небу */
        #144a6a 66%,
        #0e3a5a 72%,
        #0a2a4a 78%,
        
        /* 6. Глубокий космос (внизу) */
        #081e38 84%,
        #06162a 90%,
        #040e1e 95%,
        #030812 100%
    );
    background-attachment: fixed;
}

/* ---------- ЮБИЛЕЙНАЯ СЕКЦИЯ (светлая зона) ---------- */
body.home-theme .anniversary-section {
    position: relative;
    min-height: 100vh;
    background: transparent;
    padding: 40px 20px 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Мягкое свечение от неба */
body.home-theme .anniversary-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(143, 240, 230, 0.04) 0%, transparent 45%);
    pointer-events: none;
}

/* Текст — хорошо читается на светлом фоне */
body.home-theme .anniversary-eyebrow {
    color: #0e4a6e;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 15px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease 1.1s, transform 0.6s ease 1.1s;
}

body.home-theme .anniversary-title {
    color: #0a2a4a;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: none;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease 1.25s, transform 0.7s ease 1.25s;
}

body.home-theme .anniversary-text-p {
    color: rgba(10, 42, 74, 0.8);
    font-size: 17px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease 1.4s, transform 0.7s ease 1.4s;
}

/* ---------- Цифра "30" на светлом фоне ---------- */
body.home-theme .brush-digit {
    fill: none;
    stroke: url(#annGrad);
    stroke-width: 55;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 6px 18px rgba(10, 42, 74, 0.15));
}

body.home-theme .brush-digit-core {
    fill: none;
    stroke: url(#annGradCore);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- "НАШИ СИЛЬНЫЕ СТОРОНЫ" (переход) ---------- */
body.home-theme .why-choose-us {
    background: transparent;
    border-bottom: none;
    max-width: 100%;
    padding: 60px 20px 70px;
}

body.home-theme .why-choose-us h2 {
    color: #ffffff;
    text-shadow: 0 2px 25px rgba(0, 0, 0, 0.3);
}

/* Карточки на тёмном фоне */
body.home-theme .why-choose-us .card-front::before {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

body.home-theme .why-choose-us .card-content h3 {
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
}

body.home-theme .why-choose-us .card-back {
    background: linear-gradient(135deg, rgba(26, 111, 159, 0.95) 0%, rgba(14, 74, 110, 0.95) 100%);
}

/* ---------- "НАШЕ ПРЕДПРИЯТИЕ" ---------- */
body.home-theme .about-company-section {
    background: transparent;
    border-bottom: none;
    max-width: 100%;
    padding: 60px 20px 80px;
}

body.home-theme .about-company-section h2 {
    color: #ffffff;
    text-shadow: 0 2px 25px rgba(0, 0, 0, 0.3);
}

body.home-theme .about-company-card {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.home-theme .about-company-card .about-company-text p {
    color: rgba(255, 255, 255, 0.9);
}

body.home-theme .about-company-card .about-company-text ul li {
    color: rgba(255, 255, 255, 0.85);
}

/* ---------- НОВОСТИ ---------- */
body.home-theme .blog-section {
    background: transparent;
    padding: 70px 0 90px;
}

body.home-theme .blog-section .blog-title {
    color: #ffffff;
    text-shadow: 0 2px 25px rgba(0, 0, 0, 0.3);
}

body.home-theme .blog-section .blog-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

body.home-theme .blog-section .blog-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.home-theme .blog-section .blog-card-title {
    color: #ffffff;
}

body.home-theme .blog-section .blog-card-excerpt {
    color: rgba(255, 255, 255, 0.8);
}

body.home-theme .blog-section .blog-card-date {
    color: rgba(255, 255, 255, 0.4);
}

body.home-theme .blog-section .blog-card-link {
    color: #8ff0e6;
}

body.home-theme .blog-cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

body.home-theme .blog-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* ---------- СЛАЙДЕР ---------- */
body.home-theme .hero-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    touch-action: pan-y;
    border-radius: 24px 24px 0 0;
    max-width: 1200px;
    margin: 0 auto 0;
}

body.home-theme .hero-slider .slide::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
}

body.home-theme .hero-slider .hero-content h1 {
    color: #ffffff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    body.home-theme .hero-slider {
        height: 350px;
        border-radius: 16px 16px 0 0;
        margin: 0 10px;
    }
}

/* ---------- ПОДВАЛ ---------- */
body.home-theme footer {
    background: #030812;
    padding: 50px 20px 30px;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

body.home-theme footer .footer-section h3 {
    color: #ffffff;
}

body.home-theme footer .footer-section ul li a,
body.home-theme footer .footer-section p a {
    color: rgba(255, 255, 255, 0.4);
}

body.home-theme footer .footer-section ul li a:hover,
body.home-theme footer .footer-section p a:hover {
    color: #8ec8da;
}

body.home-theme footer .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
}
/* ---------- ПЕРЕХОД МЕЖДУ СЛАЙДЕРОМ И ПОДВАЛОМ ---------- */
body.home-theme .footer-fade {
    display: none; /* Убираем старый фейдер */
}

/* Вместо него — плавный переход через сам подвал */
body.home-theme footer {
    background: linear-gradient(180deg, 
        rgba(10, 22, 37, 0.95) 0%, 
        #0a1625 15%, 
        #0a1625 100%
    );
    padding: 50px 20px 30px;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* ---------- ЮБИЛЕЙНАЯ СЕКЦИЯ ---------- */
body.home-theme .anniversary-section {
    position: relative;
    min-height: 100vh;
    background: transparent;
    padding: 40px 20px 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Мягкое свечение */
body.home-theme .anniversary-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(143, 240, 230, 0.05) 0%, transparent 45%);
    pointer-events: none;
}

/* Текст — БЕЛЫЙ, с тенью для читаемости */
body.home-theme .anniversary-eyebrow {
    color: #8ff0e6; /* Бирюзовый, как было */
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 15px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease 1.1s, transform 0.6s ease 1.1s;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

body.home-theme .anniversary-title {
    color: #ffffff; /* БЕЛЫЙ! */
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: none;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease 1.25s, transform 0.7s ease 1.25s;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.home-theme .anniversary-text-p {
    color: rgba(255, 255, 255, 0.9); /* Белый с прозрачностью */
    font-size: 17px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease 1.4s, transform 0.7s ease 1.4s;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

/* ---------- Цифра "30" — градиентная, яркая ---------- */
body.home-theme .brush-digit {
    fill: none;
    stroke: url(#annGrad);
    stroke-width: 55;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 6px 25px rgba(0, 0, 0, 0.3));
}

body.home-theme .brush-digit-core {
    fill: none;
    stroke: url(#annGradCore);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============================================================
   ЗВЁЗДЫ — ТОЛЬКО В НИЖНЕЙ ЧАСТИ (где фон тёмный)
   ============================================================ */

.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Звёзды только в нижней части (40% экрана) — там, где фон тёмный */
.star-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: transparent;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--duration, 3s) ease-in-out infinite alternate;
    opacity: 0;
}

.star.size-large {
    box-shadow: 0 0 10px rgba(255,255,255,0.15), 0 0 20px rgba(255,255,255,0.05);
}

.star.size-medium {
    box-shadow: 0 0 4px rgba(255,255,255,0.08);
}

.star.size-small {
    box-shadow: none;
}

@keyframes twinkle {
    0% { opacity: 0.05; transform: scale(0.6); }
    50% { opacity: 0.9; transform: scale(1.2); }
    100% { opacity: 0.1; transform: scale(0.7); }
}

/* Падающая звезда — в нижней части */
.shooting-star-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shooting-star {
    position: absolute;
    top: 65%;
    left: 10%;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.6));
    border-radius: 2px;
    transform: rotate(-30deg);
    animation: shoot 14s ease-in-out infinite;
    opacity: 0;
}

.shooting-star::after {
    content: '';
    position: absolute;
    top: -2.5px;
    right: 0;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

@keyframes shoot {
    0% { opacity: 0; transform: translate(0, 0) rotate(-30deg); }
    4% { opacity: 1; transform: translate(0, 0) rotate(-30deg); }
    16% { opacity: 1; transform: translate(350px, -150px) rotate(-30deg); }
    20% { opacity: 0; transform: translate(450px, -200px) rotate(-30deg); }
    100% { opacity: 0; transform: translate(450px, -200px) rotate(-30deg); }
}

/* ---------- "НАШИ СИЛЬНЫЕ СТОРОНЫ" ---------- */
body.home-theme .why-choose-us h2 {
    color: #ffffff;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

/* ---------- НОВОСТИ ---------- */
body.home-theme .blog-section .blog-title {
    color: #ffffff;
    text-shadow: 0 2px 25px rgba(0, 0, 0, 0.4);
}

body.home-theme .blog-section .blog-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- "НАШЕ ПРЕДПРИЯТИЕ" ---------- */
body.home-theme .about-company-section {
    background: transparent;
    border-bottom: none;
    max-width: 100%;
    padding: 60px 20px 80px;
    position: relative;
}

/* Заголовок — белый, как был */
body.home-theme .about-company-section h2 {
    color: #ffffff;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 40px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
}

/* КАРТОЧКА — ТАКАЯ ЖЕ, КАК БЫЛА (НЕ МЕНЯЕМ!) */
body.home-theme .about-company-card {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    /* Оригинальный синий градиент */
    background: linear-gradient(135deg, #1a6f9f 0%, #0e4a6e 100%);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Текст — белый, как был */
body.home-theme .about-company-card .about-company-text p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.8;
}

body.home-theme .about-company-card .about-company-text ul li {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 8px;
}

body.home-theme .about-company-card .about-company-text ul {
    list-style: none;
    padding: 0;
}

body.home-theme .about-company-card .about-company-text ul li::before {
    content: "▹ ";
    color: #8ff0e6;
}

body.home-theme .about-company-card .about-company-image img {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

body.home-theme .about-company-card .about-video video {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #000;
}

/* ----- АДАПТИВ ----- */
@media (max-width: 768px) {
    body.home-theme .about-company-section {
        padding: 40px 15px 60px;
    }
    body.home-theme .about-company-section h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    body.home-theme .about-company-card {
        padding: 22px;
        border-radius: 14px;
    }
}

/* ========================================
   КРАСИВЫЙ СЛАЙДЕР ДЛЯ ГЛАВНОЙ СТРАНИЦЫ
   ======================================== */

body.home-theme .hero-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.3), 0 10px 40px rgba(0, 0, 0, 0.1);
    touch-action: pan-y;
    border-radius: 24px 24px 0 0;
    max-width: 1200px;
    margin: 0 auto 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Глянцевая рамка сверху */
body.home-theme .hero-slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), rgba(143, 240, 230, 0.3), rgba(255, 255, 255, 0.2), transparent);
    z-index: 5;
    border-radius: 50%;
}

/* Затемнение для слайдов */
body.home-theme .hero-slider .slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.4) 40%, 
        rgba(0, 0, 0, 0.2) 70%, 
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

/* Текст на слайдах */
body.home-theme .hero-slider .hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin-left: 80px;
    margin-top: auto;
    margin-bottom: 80px;
    animation: slideInLeft 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
}

body.home-theme .hero-slider .hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: #ffffff;
}

/* Декоративная линия под заголовком */
body.home-theme .hero-slider .hero-content h1::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    margin-top: 15px;
    background: linear-gradient(90deg, #8ff0e6, rgba(143, 240, 230, 0.2));
    border-radius: 4px;
}

body.home-theme .hero-slider .hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
}

/* Кнопка на слайде */
body.home-theme .hero-slider .hero-content .btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #1a6f9f 0%, #0e4a6e 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(26, 111, 159, 0.3);
}

body.home-theme .hero-slider .hero-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 111, 159, 0.4);
    background: linear-gradient(135deg, #0e4a6e 0%, #082d45 100%);
}

/* Стрелки слайдера — прозрачные, стильные */
body.home-theme .hero-slider .slider-btn {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

body.home-theme .hero-slider .slider-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.05);
}

/* Точки слайдера */
body.home-theme .hero-slider .slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 10;
    padding: 10px 22px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

body.home-theme .hero-slider .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.home-theme .hero-slider .dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.15);
}

body.home-theme .hero-slider .dot.active {
    background: #8ff0e6;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(143, 240, 230, 0.3);
    border-color: rgba(143, 240, 230, 0.3);
}

/* ----- АДАПТИВ ----- */
@media (max-width: 992px) {
    body.home-theme .hero-slider .hero-content {
        margin-left: 40px;
        margin-bottom: 60px;
    }
    body.home-theme .hero-slider .hero-content h1 {
        font-size: 32px;
    }
    body.home-theme .hero-slider .hero-content h1::after {
        width: 60px;
    }
}

@media (max-width: 768px) {
    body.home-theme .hero-slider {
        height: 400px;
        border-radius: 16px 16px 0 0;
        margin: 0 10px;
    }

    body.home-theme .hero-slider .hero-content {
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 50px;
        text-align: center;
    }

    body.home-theme .hero-slider .hero-content h1 {
        font-size: 24px;
    }

    body.home-theme .hero-slider .hero-content h1::after {
        margin: 12px auto 0;
        width: 50px;
    }

    body.home-theme .hero-slider .hero-content p {
        font-size: 14px;
    }

    body.home-theme .hero-slider .slider-btn {
        display: none;
    }

    body.home-theme .hero-slider .slider-dots {
        bottom: 20px;
        padding: 8px 16px;
        gap: 10px;
    }

    body.home-theme .hero-slider .dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    body.home-theme .hero-slider {
        height: 350px;
        border-radius: 12px 12px 0 0;
    }

    body.home-theme .hero-slider .hero-content h1 {
        font-size: 20px;
    }

    body.home-theme .hero-slider .hero-content .btn {
        padding: 10px 24px;
        font-size: 12px;
    }
}

/* ========================================
   СЛАЙДЕР НА ВСЮ ШИРИНУ
   ======================================== */

body.home-theme .hero-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.3);
    touch-action: pan-y;
    /* Убираем max-width и скругления, чтобы был на всю ширину */
    max-width: 100%;
    border-radius: 0;
    margin: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Глянцевая рамка сверху — на всю ширину */
body.home-theme .hero-slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), rgba(143, 240, 230, 0.25), rgba(255, 255, 255, 0.15), transparent);
    z-index: 5;
}

/* Затемнение для слайдов */
body.home-theme .hero-slider .slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.4) 40%, 
        rgba(0, 0, 0, 0.2) 70%, 
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

/* Текст на слайдах */
body.home-theme .hero-slider .hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin-left: 80px;
    margin-top: auto;
    margin-bottom: 80px;
    animation: slideInLeft 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
}

body.home-theme .hero-slider .hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: #ffffff;
}

/* Декоративная линия под заголовком */
body.home-theme .hero-slider .hero-content h1::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    margin-top: 15px;
    background: linear-gradient(90deg, #8ff0e6, rgba(143, 240, 230, 0.2));
    border-radius: 4px;
}

body.home-theme .hero-slider .hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
}

/* Кнопка на слайде */
body.home-theme .hero-slider .hero-content .btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #1a6f9f 0%, #0e4a6e 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(26, 111, 159, 0.3);
}

body.home-theme .hero-slider .hero-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 111, 159, 0.4);
    background: linear-gradient(135deg, #0e4a6e 0%, #082d45 100%);
}

/* Стрелки слайдера */
body.home-theme .hero-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.home-theme .hero-slider .slider-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.05);
}

body.home-theme .hero-slider .slider-btn.prev {
    left: 30px;
}

body.home-theme .hero-slider .slider-btn.next {
    right: 30px;
}

/* Точки слайдера */
body.home-theme .hero-slider .slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 10;
    padding: 10px 22px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

body.home-theme .hero-slider .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.home-theme .hero-slider .dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.15);
}

body.home-theme .hero-slider .dot.active {
    background: #8ff0e6;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(143, 240, 230, 0.3);
    border-color: rgba(143, 240, 230, 0.3);
}

/* ----- АДАПТИВ ----- */
@media (max-width: 992px) {
    body.home-theme .hero-slider .hero-content {
        margin-left: 40px;
        margin-bottom: 60px;
    }
    body.home-theme .hero-slider .hero-content h1 {
        font-size: 32px;
    }
    body.home-theme .hero-slider .hero-content h1::after {
        width: 60px;
    }
}

@media (max-width: 768px) {
    body.home-theme .hero-slider {
        height: 400px;
    }

    body.home-theme .hero-slider .hero-content {
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 50px;
        text-align: center;
    }

    body.home-theme .hero-slider .hero-content h1 {
        font-size: 24px;
    }

    body.home-theme .hero-slider .hero-content h1::after {
        margin: 12px auto 0;
        width: 50px;
    }

    body.home-theme .hero-slider .hero-content p {
        font-size: 14px;
    }

    body.home-theme .hero-slider .slider-btn {
        display: none;
    }

    body.home-theme .hero-slider .slider-dots {
        bottom: 20px;
        padding: 8px 16px;
        gap: 10px;
    }

    body.home-theme .hero-slider .dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    body.home-theme .hero-slider {
        height: 350px;
    }

    body.home-theme .hero-slider .hero-content h1 {
        font-size: 20px;
    }

    body.home-theme .hero-slider .hero-content .btn {
        padding: 10px 24px;
        font-size: 12px;
    }
}
/* ========================================
ОТКЛЮЧАЕМ БУРГЕР НА ПК ДЛЯ ГЛАВНОЙ
======================================== */

/* На ПК (≥992px) — всегда показываем меню, скрываем бургер */
@media (min-width: 992px) {
    /* Убираем всё, что прячет меню при скролле */
    body.home-theme #sticky-menu-bar.is-sticky #nav-menu > ul {
        display: flex !important;
    }

    /* Убираем бургер в закреплённой шапке */
    body.home-theme #sticky-menu-bar.is-sticky .hamburger {
        display: none !important;
    }

    /* Убираем бургер вообще на главной */
    body.home-theme #sticky-menu-bar .hamburger {
        display: none !important;
    }

    /* Показываем логотип в закреплённой шапке */
    body.home-theme #sticky-menu-bar.is-sticky .sticky-logo {
        display: block !important;
    }

    /* Меню всегда видно */
    body.home-theme #nav-menu {
        display: block !important;
    }

    body.home-theme #nav-menu ul {
        display: flex !important;
    }

    /* Выравнивание контейнера */
    body.home-theme .bottom-bar .container-header {
        justify-content: space-between !important;
    }

    /* Логотип слева, меню по центру */
    body.home-theme .bottom-bar .container-header {
        display: flex !important;
        align-items: center !important;
    }

    body.home-theme .sticky-logo {
        display: block !important;
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        flex-shrink: 0;
    }

    body.home-theme #nav-menu {
        flex: 1;
        display: flex !important;
        justify-content: center;
    }

    body.home-theme #nav-menu ul {
        justify-content: center;
    }
}

/* На мобильных (≤991px) — оставляем бургер как было */
@media (max-width: 991px) {
    body.home-theme #sticky-menu-bar.is-sticky #nav-menu > ul {
        display: none !important;
    }

    body.home-theme #sticky-menu-bar.is-sticky .hamburger {
        display: flex !important;
    }

    body.home-theme #sticky-menu-bar .hamburger {
        display: flex !important;
    }

    body.home-theme #nav-menu.active {
        display: block !important;
    }

    body.home-theme #nav-menu ul {
        display: block !important;
    }
}

/* ========================================
ФИКС: НА ПК ПОКАЗЫВАЕМ МЕНЮ, СКРЫВАЕМ БУРГЕР, НО ЛОГОТИП ПОКАЗЫВАЕМ ПРИ СКРОЛЛЕ
======================================== */

@media (min-width: 992px) {
    /* 1. Скрываем бургер везде на ПК */
    body.home-theme .hamburger,
    body.home-theme #hamburger-btn,
    body.home-theme #sticky-menu-bar .hamburger,
    body.home-theme #sticky-menu-bar.is-sticky .hamburger {
        display: none !important;
    }

    /* 2. Показываем меню всегда */
    body.home-theme #nav-menu {
        display: block !important;
    }

    body.home-theme #nav-menu ul {
        display: flex !important;
    }

    /* 3. Меню по центру */
    body.home-theme #nav-menu {
        flex: 1;
        display: flex !important;
        justify-content: center;
    }

    body.home-theme #nav-menu ul {
        justify-content: center;
    }

    /* 4. ЛОГОТИП В ЗАКРЕПЛЁННОЙ ШАПКЕ — ПОКАЗЫВАЕМ (БЕЛЫЙ) */
    body.home-theme #sticky-menu-bar.is-sticky .sticky-logo {
        display: block !important;
        position: absolute !important;
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    body.home-theme #sticky-menu-bar.is-sticky .sticky-logo img {
        height: 36px !important;
        width: auto !important;
        filter: brightness(0) invert(1) !important; /* Белый логотип */
        display: block !important;
    }

    /* 5. В обычном состоянии логотип скрыт (есть в верхней шапке) */
    body.home-theme #sticky-menu-bar .sticky-logo {
        display: none !important;
    }

    /* 6. Контейнер нижней полосы — меню по центру, с учётом логотипа */
    body.home-theme .bottom-bar .container-header {
        justify-content: center !important;
        position: relative !important;
    }

    /* 7. Убираем лишние padding */
    body.home-theme #sticky-menu-bar.is-sticky {
        padding: 8px 0 !important;
    }

    /* 8. При скролле контейнер сдвигаем, чтобы меню не наезжало на логотип */
    body.home-theme #sticky-menu-bar.is-sticky #nav-menu {
        margin-left: 80px;
    }
}

/* На мобильных — оставляем как есть */
@media (max-width: 991px) {
    body.home-theme #sticky-menu-bar.is-sticky #nav-menu > ul {
        display: none !important;
    }

    body.home-theme #sticky-menu-bar.is-sticky .hamburger {
        display: flex !important;
    }

    body.home-theme #sticky-menu-bar .hamburger {
        display: flex !important;
    }

    body.home-theme #nav-menu.active {
        display: block !important;
    }

    body.home-theme #nav-menu ul {
        display: block !important;
    }

    /* Логотип в sticky на мобилках скрываем (он есть в mobile-header) */
    body.home-theme #sticky-menu-bar.is-sticky .sticky-logo {
        display: none !important;
    }
}

/* ========================================
ЗАКРЕПЛЁННАЯ ШАПКА — НОРМАЛЬНАЯ ВЫСОТА ДЛЯ ВСЕХ СТРАНИЦ
======================================== */

/* Для всех страниц — закреплённая шапка с нормальной высотой */
#sticky-menu-bar.is-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background-color: #008cc8 !important;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2) !important;
    padding: 12px 0 !important; /* НОРМАЛЬНАЯ ВЫСОТА */
    animation: headerSlideDown 0.3s ease-out forwards;
    transition: padding 0.3s ease;
}

/* Логотип в закреплённой шапке — белый */
#sticky-menu-bar.is-sticky .sticky-logo {
    display: block !important;
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

#sticky-menu-bar.is-sticky .sticky-logo img {
    height: 40px !important;
    width: auto !important;
    filter: brightness(0) invert(1) !important;
    display: block !important;
}

/* Обычное состояние — логотип скрыт */
#sticky-menu-bar .sticky-logo {
    display: none !important;
}

/* Анимация появления */
@keyframes headerSlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* На ПК — бургер скрыт, меню по центру */
@media (min-width: 992px) {
    #sticky-menu-bar.is-sticky .hamburger {
        display: none !important;
    }

    #sticky-menu-bar.is-sticky #nav-menu {
        margin-left: 80px;
    }

    #sticky-menu-bar.is-sticky #nav-menu > ul {
        display: flex !important;
    }
}

/* На мобилках — бургер виден, меню скрыто */
@media (max-width: 991px) {
    #sticky-menu-bar.is-sticky .hamburger {
        display: flex !important;
    }

    #sticky-menu-bar.is-sticky #nav-menu > ul {
        display: none !important;
    }

    #sticky-menu-bar.is-sticky .sticky-logo {
        display: none !important;
    }
}
/* =========================================
КАТАЛОГ НА ГЛАВНОЙ СТРАНИЦЕ (ЕДИНЫЙ ФОН)
========================================= */

.catalog-section {
    padding: 80px 20px;
    background: transparent; /* Прозрачный фон — виден общий градиент */
}

.catalog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.catalog-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 50px;
    font-weight: 300;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Карточка каталога */
.catalog-card {
    display: block;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.catalog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 1);
}

/* Изображение карточки */
.catalog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #e8eef4;
}

.catalog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.catalog-card:hover .catalog-card-image img {
    transform: scale(1.08);
}

/* Оверлей с иконкой */
.catalog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 111, 159, 0.6) 0%, rgba(14, 74, 110, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.catalog-card:hover .catalog-card-overlay {
    opacity: 1;
}

.catalog-card-icon {
    font-size: 64px;
    opacity: 0.85;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

/* Контент карточки */
.catalog-card-content {
    padding: 24px 28px 28px;
}

.catalog-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 10px;
    line-height: 1.3;
}

.catalog-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.catalog-card-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #1a6f9f;
    transition: all 0.3s ease;
}

.catalog-card:hover .catalog-card-link {
    color: #0e4a6e;
    transform: translateX(6px);
}

.catalog-card-link::after {
    content: " →";
    transition: all 0.3s ease;
}

/* ----- АДАПТИВ ----- */

@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .catalog-section {
        padding: 60px 15px;
    }

    .catalog-title {
        font-size: 26px;
    }

    .catalog-subtitle {
        font-size: 14px;
        margin-bottom: 35px;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 480px;
        margin: 0 auto;
    }

    .catalog-card-image {
        height: 180px;
    }

    .catalog-card-content {
        padding: 20px;
    }

    .catalog-card-title {
        font-size: 18px;
    }

    .catalog-card-desc {
        font-size: 13px;
    }

    .catalog-card-icon {
        font-size: 48px;
    }
}

@media (max-width: 480px) {
    .catalog-card-image {
        height: 160px;
    }

    .catalog-card-content {
        padding: 16px 18px 20px;
    }

    .catalog-card-title {
        font-size: 16px;
    }
}
/* =========================================
КНОПКА ПОИСКА В СИНЕЙ ШАПКЕ
========================================= */

.search-toggle-header {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    font-size: 18px;
    padding: 8px 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    flex-shrink: 0;
}

.search-toggle-header:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.search-toggle-header i {
    font-size: 18px;
}

#sticky-menu-bar.is-sticky .search-toggle-header {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

#sticky-menu-bar.is-sticky .search-toggle-header:hover {
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 991px) {
    .search-toggle-header {
        display: none !important;
    }
}

/* =========================================
МОДАЛЬНОЕ ОКНО ПОИСКА
========================================= */

.search-modal {
    display: none;
    position: fixed;
    z-index: 10002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}

.search-modal-content {
    background: #fff;
    max-width: 700px;
    width: 90%;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.search-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    line-height: 1;
}

.search-modal-close:hover {
    color: #008cc8;
}

.search-modal-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 20px;
}

.search-input-wrap {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-input-wrap input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e8ecf2;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s;
}

.search-input-wrap input:focus {
    outline: none;
    border-color: #008cc8;
    box-shadow: 0 0 0 4px rgba(0, 140, 200, 0.15);
}

.search-input-wrap button {
    padding: 14px 24px;
    background: #008cc8;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-input-wrap button:hover {
    background: #006a99;
}

.search-results {
    flex: 1;
    overflow-y: auto;
    margin-top: 10px;
}

.search-result-item {
    display: block;
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
    border-radius: 8px;
}

.search-result-item:hover {
    background: #f5f9fc;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a3a5c;
}

.search-result-desc {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.search-hint {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding: 20px 0 10px;
}

.search-no-results {
    text-align: center;
    color: #666;
    padding: 30px 0;
    font-size: 16px;
}

@media (max-width: 768px) {
    .search-modal {
        padding-top: 40px;
    }
    .search-modal-content {
        padding: 25px 20px;
        width: 95%;
    }
    .search-modal-content h2 {
        font-size: 20px;
    }
    .search-input-wrap input {
        font-size: 14px;
        padding: 12px 16px;
    }
    .search-input-wrap button {
        padding: 12px 18px;
    }
}

/* =========================================
КНОПКА ПОИСКА В МОБИЛЬНОЙ ШАПКЕ
========================================= */

.search-toggle-mobile {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    padding: 8px 12px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
    margin-right: 5px;
}

.search-toggle-mobile:hover {
    color: #8ff0e6;
}

/* На ПК скрываем мобильную кнопку */
@media (min-width: 992px) {
    .search-toggle-mobile {
        display: none !important;
    }
}

/* Мобильная шапка — расположение элементов */
.mobile-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    height: 44px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #1a6f9f;
    z-index: 10002;
}

.mobile-logo {
    display: block;
    height: 32px;
    margin-right: auto;
}

.mobile-logo img {
    height: 100%;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
}

.mobile-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10002;
    margin-left: 5px;
}

.mobile-hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Порядок элементов в мобильной шапке */
.mobile-header-inner .mobile-logo {
    order: 0;
}
.mobile-header-inner .search-toggle-mobile {
    order: 1;
}
.mobile-header-inner .mobile-hamburger {
    order: 2;
}

/* Адаптив для маленьких экранов */
@media (max-width: 480px) {
    .mobile-header-inner {
        height: 40px;
        padding: 0 10px;
    }
    .mobile-logo {
        height: 28px;
    }
    .mobile-hamburger {
        width: 24px;
        height: 18px;
    }
    .mobile-hamburger span {
        height: 2px;
    }
    .search-toggle-mobile {
        font-size: 16px;
        padding: 6px 8px;
    }
}
