 :root {
            --brand-blue: #1d4e89;
            --brand-dark: #0e2a44;
            --brand-grey: #b0b8c4;
            --bg-light-grey: #f8f9fa;
            --brand-orange: #FF5500;
            --brand-orange-hover: #e04b00;
            --text-muted-light: #2a2b2c;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
        }

        h1, h2, h3, h4, h5, h6, .display-title, .section-title, .nav-link, .btn {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        /* Navbar */
        .navbar {
            background: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            padding-top: 12px;
            padding-bottom: 12px;
        }

        .navbar-brand img {
            max-height: 60px;
        }

        .nav-link {
            font-weight: 500;
            color: var(--brand-dark) !important;
            text-transform: uppercase;
            font-size: 0.95rem;
            margin: 0 10px;
        }

        /* .nav-link:hover,
        .nav-link.active {
            color: var(--brand-blue) !important;
        } */

        .btn-price {
            background-color: var(--brand-blue);
            color: white;
            font-weight: 600;
            border-radius: 50px;
            padding: 8px 25px;
            border: none;
        }

        .btn-price:hover {
            background-color: var(--brand-dark);
            color: white;
        }

        .top-contacts {
            font-size: 0.9rem;
            color: #555;
            border-right: 1px solid #ddd;
            padding-right: 20px;
            margin-right: 20px;
        }

        .top-contacts i {
            color: var(--brand-blue);
            margin-right: 5px;
        }

        .top-contacts a {
            text-decoration: none;
            color: var(--brand-dark);
            font-weight: 600;
        }

        /* Общие стили заголовков */
        .section-title {
            color: var(--brand-dark);
            font-weight: 700;
            margin-bottom: 20px;
            position: relative;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background: var(--brand-blue);
            margin-top: 10px;
            margin: 10px auto 0;

        }

        .text-center .section-title::after {
            margin: 10px auto 0;
        }

        /* Hero */
        .hero-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 80px 0;
            border-bottom: 4px solid var(--brand-blue);
        }

        .hero-title {
            font-size: 2.8rem;
            font-weight: 700;
            color: var(--brand-dark);
        }

        .btn-primary-custom {
            background-color: var(--brand-blue);
            border: none;
            color: white;
            padding: 12px 35px;
            border-radius: 5px;
            font-weight: 600;
        }

        .btn-primary-custom:hover {
            background-color: var(--brand-dark);
            color: #ececec;
        }

        /* Карточки */
        .feature-card,
        .equip-card {
            border: none;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
            height: 100%;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .feature-card:hover,
        .equip-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .icon-box {
            font-size: 2.5rem;
            color: var(--brand-blue);
            margin-bottom: 15px;
        }

        .service-icon {
            font-size: 2.5rem;
            color: var(--brand-blue);
            margin-bottom: 15px;
        }

        /* Процессы (Таймлайн) */
        .process-step-dark {
            position: relative;
            padding: 30px;
            border-left: 2px solid rgba(0, 0, 0, 0.1);
        }

        .process-step-dark::before {
            content: '';
            position: absolute;
            left: -8px;
            top: 30px;
            width: 14px;
            height: 14px;
            background: var(--brand-blue);
            border-radius: 50%;
            box-shadow: 0 0 15px rgba(111, 110, 205, 0.6);
        }

        .step-number-dark {
            color: var(--text-muted-light);
            font-size: 0.8rem;
            font-weight: bold;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        /* Таблица */
        .table-custom thead th {
            background-color: var(--brand-dark);
            color: white;
            border: none;
        }

        .table-custom tbody tr:nth-child(even) {
            background-color: #f8f9fa;
        }

        /* Кнопки сертификатов */
        .btn-cert {
            border: 2px solid var(--brand-blue);
            color: var(--brand-blue);
            font-weight: 600;
            padding: 10px 20px;
        }

        .btn-cert:hover {
            background: var(--brand-blue);
            color: white;
        }

        /* Галерея */
        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .gallery-item:hover {
            transform: scale(1.03);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        .gallery-item img {
            width: 100%;
            /* height: 200px; */
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        .gallery-item .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 15px 12px 12px;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
            color: white;
            font-size: 0.85rem;
            font-weight: 500;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        /* Footer */
        footer {
            background-color: var(--brand-dark);
            color: #cbd5e1;
            padding: 50px 0 20px;
            margin-top: 60px;
        }

        footer h5 {
            color: white;
            margin-bottom: 20px;
        }

        footer a {
            color: #cbd5e1;
            text-decoration: none;
        }

        footer a:hover {
            color: white;
        }

        .footer-contacts i {
            margin-right: 10px;
            color: var(--brand-grey);
        }

        .accordion-button:not(.collapsed) {
            background-color: #e9ecef;
            color: var(--brand-dark);
        }

        .list-bullet i {
            color: var(--brand-blue);
            margin-right: 8px;
        }

    /* ===== УЛУЧШЕННОЕ МЕНЮ ===== */

    /* Кастомная кнопка бургер */
    .navbar-toggler {
        padding: 8px 10px;
        transition: all 0.3s ease;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler-icon-custom {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .navbar-toggler-icon-custom span {
        display: block;
        width: 100%;
        height: 2.5px;
        background: var(--brand-dark);
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    /* Анимация бургера в крестик */
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    /* Пункты меню */
    .navbar .navbar-nav .nav-link {
        position: relative;
        padding: 8px 0;
        margin: 0 14px;
        font-weight: 600;
        font-size: 0.9rem;
        letter-spacing: 0.3px;
        color: var(--brand-dark) !important;
        transition: none;
    }

    /* Декоративная линия под активным пунктом */
  

    .navbar .navbar-nav .nav-link.active::after {
        width: 100%;
    }

    /* Dropdown */
    .dropdown-menu-custom {
        border: none;
        border-radius: 12px;
        padding: 8px 0;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
        min-width: 220px;
        background: white;
        animation: dropdownFade 0.25s ease;
    }

    @keyframes dropdownFade {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .dropdown-menu-custom .dropdown-item {
        padding: 10px 20px;
        font-size: 0.9rem;
        font-weight: 500;
        color: #333;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
    }

    .dropdown-menu-custom .dropdown-item i {
        color: var(--brand-blue);
        font-size: 1rem;
        width: 20px;
    }

    .dropdown-menu-custom .dropdown-item:hover {
        background: var(--bg-light-grey);
        color: var(--brand-blue);
        padding-left: 24px;
    }

    .dropdown-menu-custom .dropdown-divider {
        margin: 6px 16px;
        opacity: 0.5;
    }

    .dropdown-toggle i.bi-chevron-down {
        transition: transform 0.3s ease;
    }

    .dropdown.show .dropdown-toggle i.bi-chevron-down {
        transform: rotate(180deg);
    }

    /* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ===== */
    @media (max-width: 991.98px) {
        .navbar-collapse {
            background: white;
            padding: 20px 24px 30px;
            border-radius: 16px;
            margin-top: 12px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
            border: 1px solid rgba(0, 0, 0, 0.04);
        }

        .navbar .navbar-nav .nav-link {
            padding: 12px 0;
            margin: 0;
            font-size: 1rem;
            border-bottom: 1px solid #f0f0f0;
        }

        .navbar .navbar-nav .nav-link::after {
            display: none;
        }

        .navbar .navbar-nav .nav-link:last-child {
            border-bottom: none;
        }

        .dropdown-menu-custom {
            border: none;
            border-radius: 10px;
            background: #f8f9fa;
            box-shadow: none;
            padding: 6px 0;
            margin: 4px 0 8px;
            animation: none;
        }

        .dropdown-menu-custom .dropdown-item {
            padding: 10px 16px;
            font-size: 0.9rem;
        }

        .dropdown-menu-custom .dropdown-item:hover {
            padding-left: 20px;
        }

        .top-contacts-mobile {
            display: block !important;
            padding: 16px 0 8px;
            border-top: 1px solid #eee;
            margin-top: 12px;
        }

        .top-contacts-mobile div {
            padding: 4px 0;
            font-size: 0.9rem;
            color: #555;
        }

        .top-contacts-mobile i {
            color: var(--brand-blue);
            width: 24px;
        }

        .top-contacts.d-none.d-lg-block {
            display: none !important;
        }

        .btn-price {
            font-size: 0.9rem;
            padding: 10px 24px;
        }
    }

    .top-contacts-mobile {
        display: none;
    }

    @media (max-width: 991.98px) {
        .top-contacts-mobile {
            display: block !important;
        }

        .navbar .d-flex.align-items-center.gap-3 {
            flex-direction: column;
            width: 100%;
            gap: 12px !important;
        }

        .navbar .d-flex.align-items-center.gap-3 .btn-price {
            width: 100%;
            text-align: center;
        }
    }

    @media (max-width: 576px) {
        .navbar-brand img {
            max-height: 45px;
        }

        .btn-price {
            font-size: 0.85rem;
            padding: 8px 16px;
        }

        .navbar-collapse {
            padding: 16px 16px 24px;
        }
    }

        /* ПРАЙС */
    /* ===== ТАБЛИЦА ЦЕН ===== */
    .price-table {
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        border-collapse: collapse;
        margin-bottom: 0;
    }

    .price-table tbody tr {
        border-bottom: 1px solid #f0f0f0;
        transition: background 0.2s ease;
        cursor: pointer;
    }

    /* Убираем пунктирную границу у последней строки */
    .price-table tbody tr:last-child {
        /* border-bottom: none; */
        /* Убираем border-style: dotted; и border-color: #1d4e89; */
    }

    .price-table tbody tr:hover {
        background: #d9e9fd;
    }

    .price-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 10px;
        transition: background 0.2s ease;
    }

    .price-row:hover {
        background: #d9e9fd;
    }

    .price-name {
        flex: 1;
        padding-right: 20px;
        border-style: none;
    }

    .price-link {
        font-size: 1rem;
        font-weight: 500;
        color: var(--brand-dark);
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .price-link:hover {
        color: var(--brand-blue);
    }

    .price-value {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
        border-style: none;
    }

    .price-text {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .price-new {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--brand-dark);
    }

    .price-new::after {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        background: #22c55e;
        border-radius: 50%;
        margin-left: 6px;
        vertical-align: middle;
        animation: pulse-dot 1.5s ease-in-out infinite;
    }

    @keyframes pulse-dot {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.4; transform: scale(0.7); }
    }

    .price-unit {
        font-size: 0.85rem;
        color: #777;
    }

    .price-chevron {
        flex-shrink: 0;
        opacity: 0.4;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .price-row:hover .price-chevron {
        opacity: 0.8;
    }

    /* Скрытые услуги */
    #hiddenPricesWrapper {
        margin-top: 0;
    }

    #hiddenPricesWrapper .price-row {
        padding: 12px 20px;
    }

    /* Убираем лишнюю границу у скрытой таблицы */
    #hiddenPricesWrapper table {
        border-top: 1px solid #f0f0f0;
    }

    /* Адаптация для мобильных */
    @media (max-width: 768px) {
        .price-row {
            flex-direction: column;
            align-items: stretch;
            padding: 12px 16px;
            gap: 6px;
        }

        .price-name {
            padding-right: 0;
        }

        .price-link {
            font-size: 0.95rem;
        }

        .price-value {
            justify-content: space-between;
            width: 100%;
        }

        .price-text {
            gap: 4px;
        }

        .price-new {
            font-size: 1rem;
        }

        .price-unit {
            font-size: 0.75rem;
        }

        .price-chevron {
            width: 20px;
            height: 20px;
        }

        .btn-show-more {
            font-size: 0.85rem;
            padding: 8px 20px;
        }
    }

    @media (max-width: 576px) {
        .price-row {
            padding: 10px 12px;
        }

        .price-text {
            flex-wrap: wrap;
            gap: 2px;
        }

        .price-new {
            font-size: 0.95rem;
        }
    }

    /* Кнопка "Показать ещё" (убираем дублирование) */
    .btn-show-more {
        background: transparent;
        border: 2px solid var(--brand-blue);
        color: var(--brand-blue);
        padding: 10px 28px;
        border-radius: 30px;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
    }

    .btn-show-more:hover {
        background: var(--brand-blue);
        color: white;
    }

    .btn-show-more svg {
        transition: transform 0.4s ease;
    }

    .btn-show-more.active svg {
        transform: rotate(180deg);
    }

    /* ОБОРУДОВАНИЕ Картинки в карточках оборудования */
.equip-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equip-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Чтобы картинка заполняла рамку без искажений */
    object-position: center;
}

/* Ссылка на документ */
.equip-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    margin-top: 12px;
    border-top: 1px solid #eee;
    padding-top: 12px;
    width: 100%;
    justify-content: center;
}

.equip-doc-link:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

.equip-doc-link i {
    font-size: 1.1rem;
}

/* Заглушка для аргона - серая рамка */
.equip-card-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6 !important;
}
.equip-card-placeholder .equip-img-wrapper {
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
}

/* ===== HERO-СЕКЦИЯ С ФОНОВОЙ КАРТИНКОЙ ===== */
.hero-section {
    position: relative;
    padding: 100px 0;
    min-height: 500px;
    /* ВАЖНО: Замените путь на свою картинку здесь, в CSS */
    background-image: url('/image/hero-laser.png'); 
    background-size: cover;
    background-position: center 30%; /* Смещаем фокус картинки чуть ниже */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    /* Создаем затемнение. Слева направо: от темного (почти черного) к прозрачному, чтобы текст читался */
    box-shadow: inset 0 0 0 2000px rgba(13, 42, 68, 0.65); 
    border-bottom: 4px solid var(--brand-blue);
}

/* Левая колонка с текстом */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); /* Тень для текста для дополнительной читаемости */
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff !important; /* Принудительно белый цвет */
    margin-bottom: 20px;
}

.hero-section .lead {
    color: #e0e7ef !important; /* Светло-серый для подзаголовка */
    max-width: 600px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Адаптация для мобильных */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 60px 0;
        min-height: 400px;
        background-position: center center;
        box-shadow: inset 0 0 0 2000px rgba(13, 42, 68, 0.75); /* На телефонах затемняем сильнее */
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
}

/* ===== БЛОК ПРЕИМУЩЕСТВ (НОВАЯ КАРТИНКА) ===== */
.why-us-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.why-us-image-wrapper img {
    width: 100%;
    max-width: 450px;
    height: auto;
    aspect-ratio: 1 / 1; /* Делает картинку строго квадратной */
    object-fit: cover;
    border-radius: 50%; /* Идеальный круг */
    box-shadow: 0 20px 40px rgba(13, 42, 68, 0.25); /* Глубокая тень */
    border: 6px solid #ffffff; /* Белая рамка, чтобы отделить от фона */
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Анимация при наведении */
.why-us-image-wrapper:hover img {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 25px 50px rgba(13, 42, 68, 0.4);
}

/* Адаптация для планшетов и телефонов */
@media (max-width: 991.98px) {
    .why-us-image-wrapper img {
        max-width: 300px;
        border-radius: 50%;
        border-width: 4px;
        margin-top: 30px;
    }
}