/* ==========================================================================
   1. ОБЩИЕ СТИЛИ И ПЕРЕМЕННЫЕ (Сохраняется для всего сайта)
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

:root {
    --color-primary: #f2821a;
    --color-primary-hover: #d97010;
    --color-bg-dark: #15161a;
    --color-text-light: #ffffff;
    --color-text-muted: #d0d2d7;

    --font-family: 'Manrope', Arial, sans-serif;
    --container-width: 1320px;
    --radius-btn: 6px;
    --transition: all 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    /* background-color: var(--color-bg-dark); */
    /* color: var(--color-text-light); */
    line-height: 1.5;
    overflow-x: hidden;

}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Переиспользуемый компонент Кнопка */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn--primary {
    background-color: var(--color-primary);
    color: #ffffff;
}

.btn--primary:hover {
    color: #ffffff;
    background-color: var(--color-primary-hover);
}

/* ==========================================================================
   2. ШАПКА САЙТА (HEADER)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: rgba(21, 22, 26, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo__box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--color-primary);
    color: #ffffff;
    font-weight: 900;
    font-size: 20px;
    border-radius: 4px;
    font-style: italic;

    border-radius: 10px 10px 10px 10px;
    object-position: center center;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav__link {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.main-nav__link:hover {
    color: var(--color-primary);
}

.site-header__meta {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-info {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: #ffffff;
    font-weight: 500;
}

/* ==========================================================================
   3. HERO БЛОК
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
}

/* Фоновое изображение с темным градиентом */
.hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(21, 22, 26, 0.7) 0%, rgba(21, 22, 26, 0.85) 100%),
        url('/images/hero-bg.png') center/cover no-repeat;
    z-index: 1;
}

.hero__container {
    position: relative;
    z-index: 2;
    max-width: 950px;
    margin-left: max(20px, calc((100vw - var(--container-width)) / 2));
}

.hero__title {
    font-size: 160px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero__description {
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;
    max-width: 680px;
    margin-bottom: 36px;
}

/* ==========================================================================
   4. АНИМАЦИЯ СМЕНЫ СЛОВ (Electro <-> chem)
   ========================================================================== */
.hero__swap-box {
    display: inline-grid;
    position: relative;
    height: 1em;
    overflow: hidden;
    vertical-align: bottom;
}

.swap-word {
    grid-area: 1 / 1;
    opacity: 0;
    will-change: transform, opacity;
}

.swap-word--electro {
    animation: slideElectro 6s infinite ease-in-out;
}

.swap-word--chem {
    animation: slideChem 6s infinite ease-in-out;
}

/* Electro: висит -> уходит ВВЕРХ -> возвращается СНИЗУ */
@keyframes slideElectro {

    0%,
    40% {
        transform: translateY(0);
        opacity: 1;
    }

    48% {
        transform: translateY(-100%);
        opacity: 0;
    }

    50%,
    90% {
        transform: translateY(-100%);
        opacity: 0;
    }

    98%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Chem: ждет снизу -> приходит СНИЗУ -> висит -> уходит ВНИЗ */
@keyframes slideChem {

    0%,
    40% {
        transform: translateY(100%);
        opacity: 0;
    }

    48%,
    90% {
        transform: translateY(0);
        opacity: 1;
    }

    98%,
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Адаптив под мобильные устройства */
@media (max-width: 992px) {

    .site-header__meta,
    .main-nav {
        display: none;
        /* Для мобильного меню добавим бургер в следующих блоках при необходимости */
    }

    .hero__title {
        font-size: 48px;
    }

    .hero__description {
        font-size: 15px;
    }
}



/* ==========================================================================
   5. ВТОРОЙ БЛОК: О КОМПАНИИ / ПАРТНЕРЫ
   ========================================================================== */

/* Переиспользуемая верхняя плашка-заголовок (для секций 01, 02 и т.д.) */
.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #d0d2d7;
    margin-bottom: 48px;
    font-size: 16px;
    font-weight: 300;
    color: #8c9099;
}

.block-header__title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #15161a;
    font-weight: 600;
}

.block-header__num {
    font-size: 10px;
    vertical-align: super;
}

/* Секция About */
.about-block {
    background-color: #ffffff;
    color: #15161a;
    padding: 80px 0;
}

.about-block__content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 20px;
    align-items: center;
}

.about-block__heading {
    font-size: 54px;
    font-weight: 600;
    line-height: 70px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin-bottom: 32px;
    color: #15161a;
}

.about-block__desc {
    font-size: 18px;
    line-height: 23px;
    color: #4a4d55;
    max-width: 760px;
}

/* Сетка с брендами */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 32px;
}

.partners-grid__item {
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
    min-height: 90px;
}

.partners-grid__item--orange img {
    border-radius: 10px;
}

.partners-grid__item--bordered {}

.partners-grid__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;

}

/* Адаптив для мобильных систем */
@media (max-width: 992px) {
    .about-block__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-block__heading {
        font-size: 24px;
        line-height: 31px;
    }

    /* .block-header__tag {
        display: none;
    } */

    .about-block__desc {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .block-header {
        font-size: 10px;
    }

    .block-header__num {
        display: none;
    }
}


@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}


/* ==========================================================================
   6. ТРЕТИЙ БЛОК: ПОСТАВКИ И СЧЕТЧИКИ
   ========================================================================== */

/* Модификатор для темнофоновой шапки блока */
.block-header--dark {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    color: #6c707a;
}

.block-header--dark .block-header__title {
    color: #ffffff;
}

.delivery-block {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 80px 0;
}

.delivery-block__wrapper {
    display: flex;
    flex-direction: column;
}

.delivery-block__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.delivery-block__title {
    font-size: 54px;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 48px;
    max-width: 580px;
}

/* Блок счетчиков */
.stats {
    display: flex;
    gap: 48px;
}

.stats__val {
    font-size: 54px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stats__label {
    font-size: 18px;
    color: var(--color-text-muted);
}

.delivery-block__text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.delivery-block__text:last-child {
    margin-bottom: 0;
}

.text-orange {
    color: var(--color-primary);
    font-weight: 600;
}

/* Карта */
.delivery-block__map {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 20px;
    grid-column: 1 / -1;
    width: 100%;
}

.delivery-block__map-img {
    width: 100%;
    max-width: 850px;
    height: auto;
}

/* Адаптив */
@media (max-width: 992px) {
    .delivery-block__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .delivery-block__title {
        font-size: 32px;
        margin-bottom: 32px;
    }
}

@media (max-width: 576px) {
    .stats {
        flex-direction: row;
        gap: 24px;
    }

    .delivery-block__title {
        font-size: 24px;
        line-height: 31px;
    }

    .stats__val {
        font-size: 30px;

    }

    .stats__label {
        font-size: 12px;
    }



    .delivery-block__right {
        order: 3;
    }

    .delivery-block__text {
        font-size: 16px;
    }

}

/* ==========================================================================
   СЛАЙДЕР ПРОДУКЦИИ (SVG-ФОНЫ И КАСТОМНАЯ НАВИГАЦИЯ)
   ========================================================================== */

.products-block {
    background-color: #ffffff;
    padding: 80px 0;
    overflow: hidden;
}

.products-block__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    gap: 20px;
    flex-wrap: wrap;
}

.products-block__title {
    font-size: 54px;
    font-weight: 600;
    color: #15161a;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
}

/* Управление слайдером (Пагинация и Кнопки) */
.slider-controls {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* --- Точки пагинации --- */
.swiper-pagination.js-prod-pagination {
    position: static;
    display: flex;
    align-items: center;
    gap: 12px;
}

.swiper-pagination.js-prod-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #15161a;
    /* Черные неактивные точки */
    opacity: 1;
    margin: 0 !important;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.swiper-pagination.js-prod-pagination .swiper-pagination-bullet-active {
    background-color: rgb(246, 130, 20);
    /* Активная оранжевая точка */
    transform: scale(1.2);
}

/* --- Кнопки навигации --- */
.slider-nav {
    display: flex;
    gap: 10px;
}

.slider-nav__btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: none;
    background-color: #e6e8eb;
    color: #15161a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Оранжевый фокус и ховер для кнопок */
.slider-nav__btn:hover,
.slider-nav__btn:focus-visible {
    background-color: rgb(246, 130, 20);
    color: #ffffff;
}

.slider-nav__btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: #e6e8eb;
    color: #a0a4ab;
}

/* ---------------------------------------------------
   КАРТОЧКИ И SVG-ФОНЫ (Авточередование)
   --------------------------------------------------- */

.swiper-slide:nth-child(odd) .product-card {
    --card-bg-url: url('../images/card-bg-black.svg');
    --card-arrow-color: #15161a;
}

.swiper-slide:nth-child(even) .product-card {
    --card-bg-url: url('../images/card-bg-orange.svg');
    --card-arrow-color: rgb(246, 130, 20);
}




.product-card {
    position: relative;
    min-height: 460px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    z-index: 1;
    background-image: var(--card-bg-url);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.product-card__arrow-link {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--card-arrow-color);
    transition: transform 0.3s ease;
    z-index: 2;
}

.product-card__arrow-link:hover {
    transform: translate(3px, -3px);
}

.product-card__arrow-svg {
    width: 32px;
    height: 32px;
}

.product-card__img-box {
    background-color: #ffffff;
    border-radius: 8px;
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1 / 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
    padding: 15px;
}

.product-card__img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card__info {
    margin-top: 36px;
}

.product-card__name {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.product-card__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-card__links a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 15px;
    font-weight: 600;
    width: fit-content;
    transition: opacity 0.3s ease;
}

.product-card__links a:hover {
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .product-card {
        min-height: 400px;
        padding: 30px 24px;
    }

    .product-card__img-box {
        max-width: 140px;
    }

    .product-card__name {
        font-size: 24px;
    }
}

/* Адаптивность */
@media (max-width: 992px) {
    .products-block__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .products-block__title {
        font-size: 24px;

    }


}

@media (max-width: 576px) {
    .product-card {
        padding: 30px 20px;
    }

    .product-card__name {
        font-size: 26px;
    }

    .product-card {
        min-height: 380px;
        padding: 24px 18px;
    }

    .product-card__img-box {
        max-width: 120px;
        padding: 10px;
    }

    .product-card__name {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .product-card__links a {
        font-size: 13px;
    }
}

/* ==========================================================================
   ИДЕАЛЬНАЯ СИНХРОНИЗАЦИЯ ТОЧЕК И ДУГИ
   ========================================================================== */

.advantages-block {
    background-color: #15161a;
    padding: 60px 0;
}



.advantages-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.advantages-top-bar__item {
    font-size: 14px;
    color: #8e929d;
    cursor: pointer;
}

.advantages-top-bar__item--active {
    color: #ffffff;
}

.advantages-card {
    background-color: #ffffff;
    border-radius: 20px;
    position: relative;
    height: 560px;
    display: flex;
    overflow: hidden;
}

/* Контейнер SVG */
.advantages-card__arc-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 260px;
    height: 100%;
    z-index: 2;
}

.advantages-card__arc-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Элементы foreignObject с кнопками внутри SVG */
.svg-dot-obj {
    overflow: visible;
}

.adv-dot {
    width: 12px;
    height: 12px;
    background-color: #15161a;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    display: block;
    margin: 9px;
    /* Центрирует точку 12x12 в контейнере 30x30 */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.adv-dot:hover {
    background-color: rgb(246, 130, 20);
}

.svg-dot-obj.is-active .adv-dot {
    background-color: rgb(246, 130, 20);
    box-shadow: 0 0 0 6px rgba(246, 130, 20, 0.25);
    transform: scale(1.35);
}

/* Правая часть с текстом */
.advantages-card__right {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 40px 40px 40px 240px;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    box-sizing: border-box;
    gap: 70px;
}

.advantages-card__badge-title {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.advantages-card__badge {
    background-color: rgb(246, 130, 20);
    color: #ffffff;
    font-weight: 600;
    font-size: 54px;
    padding: 4px 14px;
    border-radius: 8px;
    line-height: 70px;
}

.advantages-card__brand {
    font-size: 54px;
    font-weight: 600;
    line-height: 70px;
    color: #15161a;
    margin-top: 4px;
}

.advantages-card__center-content {
    padding-left: 50px;
    /* margin: auto 0; */
}

.adv-slide-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.adv-slide-content.is-changing {
    opacity: 0;
    transform: translateY(8px);
}

.adv-slide__header {
    display: flex;
    align-items: center;
    gap: 40px;
}

.adv-slide__num {
    font-size: 54px;
    font-weight: 600;
    color: #15161a;
    line-height: 1;
}

.adv-slide__title {
    font-size: 54px;
    font-weight: 600;
    color: #15161a;
    line-height: 1.1;
    margin: 0;
}

.adv-slide__text {
    font-size: 16px;
    color: #555962;
    line-height: 1.5;
    margin: 0;
    max-width: 480px;
}

.advantages-bottom-action {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.btn-catalog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgb(246, 130, 20);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
    .advantages-card {
        height: 480px;
    }

    .advantages-card__arc-wrapper {
        width: 170px;
    }

    .advantages-card__right {
        padding: 24px 20px 24px 165px;
        gap: 100px;
    }

    .advantages-card__badge {
        font-size: 24px;
        padding: 0 5px;
        line-height: 31px;
    }

    .advantages-card__brand {
        font-size: 24px;
        line-height: 31px;
        margin: 0;
    }

    .adv-slide__num {
        font-size: 20px;
    }

    .adv-slide__title {
        font-size: 20px;
    }

    .adv-slide__text {
        font-size: 12px;
    }

    .advantages-card__center-content {
        padding-left: 0;

    }

    .adv-slide__header {
        gap: 12px;
    }
}


/* ==========================================================================
   СЕКЦИЯ УСЛУГИ (SERVICES)
   ========================================================================== */

/* ==========================================================================
   СЕКЦИЯ УСЛУГИ (SERVICES)
   ========================================================================== */

.services-block {
    background-color: #15161a;
    color: #ffffff;
    padding: 60px 0;

}

.services-title {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 36px 0;
    text-transform: uppercase;
}

/* Сетка для десктопа */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

/* Перепорядочивание колонок на десктопе */
.service-card--edu {
    order: 1;
}

.service-card--image {
    order: 2;
}

.service-card--montage {
    order: 3;
}

/* Общий стиль карточки */
.service-card {
    background-color: #ededed;
    color: #15161a;
    border-radius: 20px;
    padding: 32px 28px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 24px;

}

/* Карточка с картинкой */
.service-card--image {
    padding: 0;
    overflow: hidden;
    background-color: transparent;
}

.service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

/* Элементы внутри карточки-аккордеона */
.service-card__summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.service-card__summary::-webkit-details-marker {
    display: none;
}

.service-card__title {
    font-size: 28px;
    font-weight: 600;
    line-height: 38px;
    line-height: 1.25;
    margin: 0;
    color: #15161a;
}

.highlight {
    background-color: rgb(246, 130, 20);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
}

.service-card__text {
    font-size: 14px;
    line-height: 1.5;
    color: #4a4d55;
    margin: 20px 0 28px;
}

/* Кнопка */
.btn-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: rgb(246, 130, 20);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.btn-service:hover {
    color: #ffffff;
    background-color: rgb(225, 115, 12);
}

.btn-service__icon {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   ДЕСКТОП СТИЛИ (от 769px): Контент всегда раскрыт
   ========================================================================== */
@media (min-width: 769px) {
    .service-card__summary {
        cursor: default;
        pointer-events: none;
    }

    .service-card__arrow {
        display: none;
    }

    .service-card__body {
        display: block !important;
    }
}

/* ==========================================================================
   МОБИЛЬНАЯ ВЕРСИЯ (до 768px): Превращение в аккордеон
   ========================================================================== */
@media (max-width: 768px) {
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    /* На мобилке картинка встает первыми (сверху) */
    .service-card--image {
        order: 1;
        height: 240px;
    }

    .service-card--edu {
        order: 2;
    }

    .service-card--montage {
        order: 3;
    }

    .service-card {
        padding: 20px 22px;
    }

    .service-card__summary {
        cursor: pointer;
        align-items: center;
    }

    /* Стрелочка-галочка */
    .service-card__arrow {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        position: relative;
        margin-left: 12px;
    }

    .service-card__arrow::before {
        content: '';
        position: absolute;
        top: 3px;
        left: 4px;
        width: 8px;
        height: 8px;
        border-right: 2.5px solid #15161a;
        border-bottom: 2.5px solid #15161a;
        transform: rotate(45deg);
        transition: transform 0.25s ease;
    }

    /* Превращение в минус "-" при открытии */
    .service-card[open] .service-card__arrow::before {
        border-right: none;
        border-bottom: 3px solid #15161a;
        width: 12px;
        height: 0;
        transform: rotate(0deg);
        top: 8px;
        left: 2px;
    }

    .service-card__title {
        font-size: 18px;
    }

    .service-card__text {
        font-size: 13px;
        margin: 14px 0 20px;
    }
}

/* ==========================================================================
   СЕКЦИЯ СЕРТИФИКАТЫ (CERTIFICATES)
   ========================================================================== */

.certs-block {
    background-color: #15161a;
    color: #ffffff;
    padding: 60px 0 80px;
    font-family: var(--font-family);
}



/* Верхняя навигация */
.certs-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 14px;
    margin-bottom: 30px;
}

.certs-top-bar__left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #8e929d;
}

.certs-top-bar__num {
    font-size: 12px;
    vertical-align: super;
}

.certs-top-bar__nav {
    display: flex;
    gap: 40px;
}

.certs-top-bar__link {
    color: #8e929d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.certs-top-bar__link:hover {
    color: #ffffff;
}

/* Заголовок + Кнопка */
.certs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.certs-title {
    font-size: 54px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
    text-transform: uppercase;
}

.btn-catalog-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgb(246, 130, 20);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn-catalog-top:hover {
    color: #ffffff;
    background-color: rgb(225, 115, 12);
}

.btn-catalog-top__icon {
    width: 18px;
    height: 18px;
}

/* Двухколоночная сетка */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

/* Элемент карточки */
.cert-card {
    display: flex;
    align-items: center;
    gap: 28px;
    box-sizing: border-box;
}

/* Область изображения сертификата */
.cert-card__img-wrapper {
    background-color: #26282e;
    padding: 14px;
    border-radius: 14px;
    flex-shrink: 0;
    width: 250px;
    height: 350px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-card__link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in;
}

.cert-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Иконка лупы при наведении */
.cert-card__zoom-hint {
    position: absolute;
    inset: 0;
    background: rgba(21, 22, 26, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-card__zoom-hint svg {
    width: 32px;
    height: 32px;
    stroke: #ffffff;
}

.cert-card__link:hover .cert-card__img {
    transform: scale(1.04);
}

.cert-card__link:hover .cert-card__zoom-hint {
    opacity: 1;
}

/* Правая инфо-часть */
.cert-card__info {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    max-width: 280px;
}

.cert-card__num {
    font-size: 52px;
    font-weight: 800;
    color: rgb(246, 130, 20);
    line-height: 0.9;
}

.cert-card__desc {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
    margin: 0;
}

/* ==========================================================================
   АДАПТИВНОСТЬ (RESPONSIVE)
   ========================================================================== */

@media (max-width: 992px) {
    .certs-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cert-card {
        gap: 20px;
    }

    .certs-title {
        font-size: 40px;
    }
}

@media (max-width: 576px) {
    .certs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .btn-catalog-top {
        width: 100%;
        justify-content: center;
    }

    .cert-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .cert-card__img-wrapper {
        width: 100%;
        height: 380px;
    }

    .cert-card__info {
        max-width: 100%;
    }

    .cert-card__num {
        font-size: 42px;
    }

    .cert-card__desc {
        font-size: 16px;
    }
}


/* ==========================================================================
   СЕКЦИЯ КОНТАКТЫ (CONTACTS)
   ========================================================================== */

.contacts-block {
    background-color: #ffffff;
    padding: 60px 0 80px;
    font-family: var(--font-family);
}



/* Верхний таб-бар */
.contacts-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 14px;
    margin-bottom: 40px;
}

.contacts-top-bar__left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #8e929d;
}

.contacts-top-bar__num {
    font-size: 12px;
    vertical-align: super;
}

.contacts-top-bar__nav {
    display: flex;
    gap: 40px;
}

.contacts-top-bar__link {
    color: #8e929d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.contacts-top-bar__link:hover {
    color: #15161a;
}

/* Двухколоночная сетка */
.contacts-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 30px;
    align-items: stretch;
}

/* Левая карточка (Оранжевая) */
.contacts-info-card {
    background-color: rgb(246, 130, 20);
    border-radius: 20px;
    padding: 40px 36px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.contacts-info-card__title {
    font-size: 54px;
    font-weight: 600;
    margin: 0 0 28px 0;
    letter-spacing: -0.02em;
}

.contacts-info-card__group {
    margin-bottom: 22px;
}

.contacts-info-card__group:last-child {
    margin-bottom: 0;
}

.contacts-info-card__label {
    display: block;
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 6px;
}

.contacts-info-card__text {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.contacts-info-card__link {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    display: block;
    transition: opacity 0.2s ease;
}

.contacts-info-card__link:hover {
    opacity: 0.85;
}

.contacts-phones {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Иконки соцсетей */
.contacts-socials {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}

.contacts-socials__item {
    color: #ffffff;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.contacts-socials__item:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.contacts-socials__item svg {
    width: 100%;
    height: 100%;
}

/* Правая карточка (Темная форма) */
.contacts-form-card {
    background-color: #15161a;
    border-radius: 20px;
    padding: 48px 50px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.contacts-form-card__title {
    font-size: 54px;
    font-weight: 600;
    line-height: 1.05;
    margin: 0 0 32px 0;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.contacts-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contacts-form__input,
.contacts-form__textarea {
    width: 100%;
    background-color: #e2e4e8;
    border: none;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 13px;
    color: #15161a;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.contacts-form__input::placeholder,
.contacts-form__textarea::placeholder {
    color: #8e929d;
}

.contacts-form__input:focus,
.contacts-form__textarea:focus {
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgb(246, 130, 20);
}

.contacts-form__textarea {
    min-height: 90px;
    resize: vertical;
}

.contacts-form__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 10px;
    gap: 20px;
}

.btn-submit {
    background-color: rgb(246, 130, 20);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.15s ease;
}

.btn-submit:hover {
    background-color: rgb(225, 115, 12);
}

.btn-submit:active {
    transform: scale(0.98);
}

.contacts-form__agree {
    font-size: 11px;
    color: #ffffff;
    text-align: right;
    margin: 0;
    line-height: 1.35;
    font-weight: 700;
}

.contacts-form__agree-link {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================================================
   АДАПТИВНОСТЬ (RESPONSIVE)
   ========================================================================== */

@media (max-width: 992px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contacts-form-card {
        padding: 36px 28px;
    }

    .contacts-form-card__title {
        font-size: 24px;
        font-weight: 600;
    }
}

@media (max-width: 576px) {
    .contacts-info-card {
        padding: 30px 20px;
    }

    .contacts-info-card__title {
        font-size: 24px;
        font-weight: 600;
    }

    .contacts-form-card {
        padding: 28px 20px;
    }

    .contacts-form__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-submit {
        width: 100%;
    }

    .contacts-form__agree {
        text-align: center;
    }
}

/* Контейнер карты */
.map-section {
    width: 100%;
    height: 500px;
    background-color: #15161a;
    position: relative;
    overflow: hidden;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Отключаем перехват событий мыши по умолчанию */
.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
    /* Карта НЕ реагирует на скролл/клики */
    filter: grayscale(100%) invert(90%) contrast(120%);
    -webkit-filter: grayscale(100%) invert(90%) contrast(120%);
    transition: filter 0.3s ease;
}

/* Оверлей-подсказка поверх карты */
.map-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(21, 22, 26, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.map-overlay span {
    background-color: rgb(246, 130, 20);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* Когда карта активна (после клика) */
.map-wrapper.is-active iframe {
    pointer-events: auto;
    /* Включаем управление картой */
}

.map-wrapper.is-active .map-overlay {
    opacity: 0;
    visibility: hidden;
}

/* ==========================================================================
   ПОДВАЛ (FOOTER)
   ========================================================================== */

.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 60px 0 30px;
    font-family: var(--font-family);
    border-top: 1px solid #1a1a1a;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

/* Колонка с информацией */
.footer__col--info {
    max-width: 320px;
}

.footer__logo {
    font-size: 40px;
    font-weight: 800;
    color: rgb(246, 130, 20);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.footer__desc {
    font-size: 18px;
    line-height: 1.45;
    color: #8e8e8e;
    margin: 0 0 28px 0;
}

/* Соцсети (квадраты со скруглением) */
.footer__socials {
    display: flex;
    gap: 12px;
}

.footer__social-btn {
    width: 44px;
    height: 44px;
    border: 1.5px solid rgb(246, 130, 20);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(246, 130, 20);
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer__social-btn svg {
    width: 20px;
    height: 20px;
}

.footer__social-btn:hover {
    background-color: rgb(246, 130, 20);
    color: #000000;
}

/* Навигация */
.footer__nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__link {
    color: #8e8e8e;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.footer__link:hover {
    color: rgb(246, 130, 20);
}

/* Телефоны */
.footer__col--contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__phone {
    color: #8e8e8e;
    text-decoration: underline;
    text-decoration-color: #555555;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer__phone:hover {
    color: rgb(246, 130, 20);
    text-decoration-color: rgb(246, 130, 20);
}

/* Копирайт */
.footer__bottom {
    border-top: 1px solid #151515;
    padding-top: 24px;
}

.footer__copyright {
    font-size: 13px;
    color: #777777;
    margin: 0;
}

/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */

/* Ноутбуки и планшеты (≤ 1024px) */
@media (max-width: 1024px) {
    .footer__inner {
        flex-wrap: wrap;
        gap: 30px 50px;
    }

    .footer__col--info {
        max-width: 100%;
        width: 100%;
    }
}

/* Мобильные (≤ 640px) */
@media (max-width: 640px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer__inner {
        flex-direction: column;
        gap: 28px;
    }

    .footer__logo {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .footer__desc {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .footer__nav {
        gap: 12px;
    }

    .footer__phone {
        font-size: 15px;
    }
}


/* Карточка товара в каталоге */
.catalog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Эффект при наведении */
.catalog-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

/* Фирменный срезанный уголок */
.catalog-card__notch {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    background-color: #f4f5f7;
    border-bottom-left-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.catalog-card:hover .catalog-card__notch {
    background-color: var(--color-primary);
}

.catalog-card__arrow {
    color: #15161a;
    transition: color 0.3s ease, transform 0.3s ease;
}

.catalog-card:hover .catalog-card__arrow {
    color: #ffffff;
    transform: translate(2px, -2px);
}

/* Область изображения */
.catalog-card__img-box {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding-top: 8px;
}

.catalog-card__img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Текстовая информация */
.catalog-card__info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.catalog-card__code {
    font-size: 12px;
    color: #80868e;
    margin-bottom: 6px;
    font-weight: 500;
}

.catalog-card__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #15161a;
    margin: 0 0 12px 0;
    text-align: left;
}

.catalog-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.catalog-card__title a:hover {
    color: var(--color-primary);
}

/* Ссылки на подкатегории */
.catalog-card__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    margin-top: auto;
}

.catalog-card__links a {
    font-size: 13px;
    color: #6c727c;
    text-decoration: underline;
    text-underline-offset: 3px;
    width: fit-content;
    transition: color 0.2s ease;
}

.catalog-card__links a:hover {
    color: var(--color-primary);
}

/* Кнопка "Подробнее" */
.catalog-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
    background-color: #f4f5f7;
    color: #15161a;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.catalog-card:hover .catalog-card__btn {
    background-color: var(--color-primary);
    color: #ffffff;
}