/* ==========================================
   1. ШРИФТЫ
   ========================================== */
@font-face {
    font-family: 'Corbel';
    src: url('../font/corbel-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Corbel';
    src: url('../font/corbel-regular-italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Corbel';
    src: url('../font/corbel-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Corbel';
    src: url('../font/corbel-bold-italic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Corbel';
    src: url('../font/corbel-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Corbel';
    src: url('../font/corbel-light-italic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

/* ==========================================
   2. ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ
   ========================================== */
:root {
    --color-primary: #ca3073;
    --color-secondary: #882890;
    --color-tertiary: #0256a7;
    --color-text: #000000;
    --color-bg: #ffffff;
    --color-bg-alt: rgba(202, 48, 115, 0.15);
    --color-white: #ffffff;
    --color-black: #000000;

    --font-heading: "Corbel", sans-serif;
    --font-text: "Corbel", sans-serif;

    --transition-base: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================
   3. БАЗОВЫЕ СТИЛИ
   ========================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    color: var(--color-text);
    background-color: var(--color-bg);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: bold;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

/* Скрываем элементы для анимации GSAP */
.js-header-item,
.js-hero-title,
.js-hero-btn {
    opacity: 0;
}

/* ==========================================
   4. КНОПКИ (Premium Wow-Effect)
   ========================================== */
.btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 18px 42px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition:
        color 0.4s ease,
        border-color 0.4s ease,
        background-color 0.4s ease;
}

/* Эффект заливки фоном */
.btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--color-white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition:
        width 0.6s ease,
        height 0.6s ease;
}

.btn:hover::before {
    width: 350px;
    height: 350px;
}

/* Специфические стили кнопок */
.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
}

.btn--primary::before {
    background-color: var(--color-white);
}

.btn--primary:hover {
    color: var(--color-primary);
}

.btn--tertiary {
    background-color: var(--color-tertiary);
    color: var(--color-white);
    border: 1px solid var(--color-tertiary);
}

.btn--tertiary::before {
    background-color: var(--color-white);
}

.btn--tertiary:hover {
    color: var(--color-tertiary);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
    padding: 12px 28px;
}

.btn--outline::before {
    background-color: var(--color-text);
}

.btn--outline:hover {
    color: var(--color-white);
}

/* ==========================================
   5. HEADER (Sticky & Glassmorphism)
   ========================================== */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1400px;
    z-index: 100;
    padding: 15px 30px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: background-color 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.header--scrolled {
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Левая часть: Лого + Меню */
.header__left {
    display: flex;
    align-items: center;
    gap: 60px;
}

.header__logo {
    display: block;
}

.header__logo img {
    max-height: 35px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: bold;
    color: var(--color-text);
    letter-spacing: 2px;
    transition: color 0.4s ease;
}

.header__nav--desktop {
    display: block;
}

.header__menu {
    display: flex;
    gap: 35px;
}

.header__menu li a {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition:
        color 0.4s ease,
        opacity 0.3s ease;
}

.header__menu li a:hover {
    color: var(--color-primary);
}

/* Правая часть: Контакты + Языки + Кнопка */
.header__right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header__phones {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header__phones a {
    color: var(--color-white);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition:
        color 0.4s ease,
        transform 0.3s ease;
    display: inline-block;
}

.header--scrolled .header__phones a {
    color: var(--color-text);
}

.header__phones a:hover {
    color: var(--color-primary);
}

.header__socials {
    display: flex;
    gap: 15px;
}

.header__socials a {
    color: var(--color-white);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        color 0.4s ease,
        transform 0.3s ease;
}

.header--scrolled .header__socials a {
    color: var(--color-text);
}

.header__socials a:hover {
    color: var(--color-primary);
    transform: scale(1.2);
}

.header__socials svg {
    width: 100%;
    height: auto;
    fill: currentColor;
}

/* Кастомный переключатель языков */
.header__lang {
    position: relative;
    cursor: pointer;
}

.header__lang-current {
    background: none;
    border: none;
    color: var(--color-text);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    padding: 10px 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color 0.4s ease;
}

.header__lang-current::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.header__lang.is-open .header__lang-current::after {
    transform: rotate(180deg);
}

.header__lang-list {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    min-width: 80px;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-base);
}

.header__lang.is-open .header__lang-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__lang-list li a {
    display: block;
    padding: 8px 20px;
    color: var(--color-text);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.header__lang-list li.active a,
.header__lang-list li a:hover {
    color: var(--color-primary);
    background: rgba(0, 0, 0, 0.02);
}

/* ==========================================
   6. БУРГЕР И МОБИЛЬНОЕ МЕНЮ
   ========================================== */
.header__burger {
    display: none;
    width: 28px;
    height: 18px;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 0;
}

.header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition-base);
}

/* Анимация бургера (крестик делаем ТЕМНЫМ, так как фон меню теперь светлый) */
.header__burger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--color-text);
}

.header__burger.is-active span:nth-child(2) {
    opacity: 0;
}

.header__burger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--color-text);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.95);
    /* Светлый фон */
    backdrop-filter: blur(15px);
    /* Блюр в стиле хедера */
    -webkit-backdrop-filter: blur(15px);
    z-index: 90;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    /* Позволяем скроллить, если экран маленький */
    transform: translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.is-open {
    transform: translateY(0);
}

.mobile-menu__container {
    width: 100%;
    min-height: 100%;
    padding: 100px 30px 60px;
    /* Отступ сверху для хедера и крестика */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.mobile-menu__list {
    text-align: center;
}

.mobile-menu__list li {
    margin: 20px 0;
    overflow: hidden;
}

.mobile-menu__list a {
    font-family: var(--font-heading);
    font-size: clamp(36px, 8vw, 56px);
    color: var(--color-text);
    /* ТЕМНЫЙ ТЕКСТ */
    display: block;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-menu__list a:hover {
    color: var(--color-primary);
}

/* Стили контактов в мобильном меню */
.mobile-menu__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.mobile-lang .header__lang-list {
    right: auto;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
}

.mobile-lang.is-open .header__lang-list {
    transform: translateX(-50%) translateY(0);
}

.mobile-menu__btn {
    width: 100%;
    max-width: 300px;
}

/* ==========================================
   7. HERO SECTION
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    overflow: hidden;
    background-color: var(--color-black);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay without gradient */
    z-index: 1;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center vertically */
    align-items: center;
    /* Center horizontally */
}

.hero__content {
    text-align: center;
    max-width: 750px;
}

.hero__wave {
    position: absolute;
    bottom: -1px;
    /* Avoid 1px gap */
    left: 0;
    width: 100%;
    height: 100px;
    /* Adjust height based on screen size, mobile will be smaller */
    z-index: 10;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .hero__wave {
        height: 150px;
    }
}

.hero__content--bottom-right {
    align-self: flex-end;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(44px, 7vw, 92px);
    color: var(--color-white);
    line-height: 1.05;
    margin: 0 0 50px 0;
    font-weight: bold;
    text-transform: uppercase;
}

/* Стили для SplitType */
.char {
    display: inline-block;
}

/* ==========================================
   8. АДАПТИВНОСТЬ
   ========================================== */
@media (max-width: 1200px) {
    .header__left {
        gap: 30px;
    }

    .header__right {
        gap: 20px;
    }
}

@media (max-width: 1024px) {

    .header__nav--desktop,
    .header__phones,
    .header__socials {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .header__container {
        padding: 0 30px;
    }

    .hero__container {
        padding: 0 30px 60px;
    }

    .hero__content--bottom-right {
        align-self: flex-start;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 20px 0;
    }

    .header__container {
        padding: 0 20px;
    }

    .header__btn {
        display: none;
    }

    /* Скрываем кнопку в хедере на самых маленьких экранах */

    .hero__container {
        padding: 0 20px 50px;
    }

    .hero__title {
        margin-bottom: 30px;
    }
}

/* ==========================================
   7.5 ABOUT SECTION
   ========================================== */
.about {
    padding: 140px 0;
    background-color: var(--color-bg);
}

.about__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.about__content {
    display: grid;
    grid-template-columns: 400px 1fr;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 80px;
}

.about__header {
    flex: 1;
}

.about__title {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: clamp(32px, 5vw, 64px);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.about__subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
}

.about__text {
    flex: 1;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.8;
}

.about__text p {
    margin: 0 0 15px 0;
}

.about__text p:last-child {
    margin-bottom: 0;
}

.about__visual {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
}

.about__img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    position: absolute;
    top: -20%;
    left: 0;
}

@media (max-width: 1024px) {
    .about__content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .about__visual {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 80px 0;
    }

    .about__container {
        padding: 0 20px;
    }

    .about__subtitle {
        font-size: 18px;
    }

    .about__visual {
        height: 300px;
        border-radius: 12px;
    }
}

/* ==========================================
   8. STATS SECTION
   ========================================== */
.stats {
    padding: 120px 0 0;
    background-color: var(--color-bg-alt);
}

.stats__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    margin-bottom: 100px;
}

.stats__header {
    margin: 0 0 80px;
    max-width: 900px;
}

.stats__title {
    font-family: var(--font-heading);
    font-weight: bold;
    /* Делаем заголовок мощным */
    font-size: clamp(32px, 5vw, 64px);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--color-secondary);
}

.stats__desc {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.8;
}

.stats__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    /* Увеличили отступ между колонками */
}

.stats__item {
    flex: 1 1 200px;
    max-width: 260px;
    /* Сузили, чтобы элементы были компактнее */
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Стили для загружающейся полоски */
.stats__line {
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    /* По умолчанию primary */
    margin-bottom: 25px;
    transform-origin: left;
    /* Точка отсчета для анимации роста слева направо */
}

/* Чередуем цвет полоски (каждый второй элемент) */
.stats__item:nth-child(even) .stats__line {
    background-color: var(--color-secondary);
}

.stats__number-wrap {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 56px;
    /* Меньше и аккуратнее */
    color: var(--color-text);
    /* Черный/темный цвет */
    line-height: 1;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
}

.stats__prefix,
.stats__suffix {
    font-size: 0.5em;
    line-height: 1;
}

.stats__label {
    font-family: var(--font-text);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    opacity: 0.55;
    /* Приглушаем прозрачностью */
    margin: 0;
}

.stats__visual {
    width: 100%;
    height: 500px;
    /* Занимает 80% высоты экрана */
    overflow: hidden;
    position: relative;
}

.stats__visual::after {
    display: none;
}

.stats__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 768px) {
    .stats {
        padding: 80px 0 0;
        /* Делаем отступ сверху меньше */
    }

    .stats__grid {
        gap: 40px 15px;
        /* 40px между рядами, 15px между колонками */
    }

    .stats__item {
        flex: 1 1 100%;
        /* Позволяем блокам сжиматься сильнее */
        max-width: 100%;
        /* Гарантируем, что они встанут по 2 в ряд */
    }

    .stats__line {
        margin-bottom: 15px;
        /* Уменьшаем отступ от полоски до цифр */
    }

    .stats__number-wrap {
        font-size: 40px;
        /* Уменьшаем сами цифры, чтобы они не ломали сетку */
    }

    .stats__label {
        font-size: 13px;
        /* Подпись тоже чуть-чуть мельче */
    }

    .stats__visual {
        height: 300px;
        /* Картинка масштаба на мобайле пусть занимает пол-экрана, а не 80% */
    }
}

/* ==========================================
   8.5 SERVICES SECTION (Accordion)
   ========================================== */
.services {
    background-color: #ffffff;
}

.services__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.services__header-top {
    margin-bottom: 50px;
}

.services__title {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--color-text);
    margin-bottom: 20px;
}

.services__intro {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    max-width: 800px;
}

.services__accordion {
    display: flex;
    height: 500px;
    width: 100%;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    border-top: none;
    border-bottom: none;
    border-radius: 0;
    overflow: hidden;
    background-color: transparent;
}

.services__accordion-item {
    position: relative;
    flex: 0 0 160px;
    height: 100%;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    transition: flex 0.8s cubic-bezier(0.25, 1, 0.3, 1);
    overflow: hidden;
    cursor: pointer;
    display: flex;
}

.services__accordion-item:last-child {
    border-right: none;
}

.services__accordion-item.is-active {
    flex: 1 1 0;
    cursor: default;
    background-color: transparent;
}

.services__accordion-tab {
    width: 160px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 30px 0;
    flex-shrink: 0;
    color: var(--color-text);
    transition: opacity 0.5s ease;
}

.services__accordion-item.is-active .services__accordion-tab {
    opacity: 0;
    pointer-events: none;
    width: 0;
    padding: 0;
    overflow: hidden;
}

.services__accordion-icon {
    margin-top: 30px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services__accordion-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.services__accordion-title-vert {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 1px;
}

.services__accordion-content {
    flex: 1;
    display: flex;
    height: 100%;
    min-width: 500px;
    visibility: hidden;
    background-color: transparent;
    transition: visibility 0s linear 0.4s;
}

.services__accordion-item.is-active .services__accordion-content {
    visibility: visible;
    transition: visibility 0s linear 0s;
}

.services__accordion-text-wrap {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: 0s;
}

.services__accordion-item.is-active .services__accordion-text-wrap {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.services__accordion-content-title {
    font-size: 32px;
    font-family: var(--font-heading);
    color: var(--color-text);
    margin-bottom: 20px;
}

.services__accordion-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
}

.services__accordion-img-wrap {
    flex: 1;
    height: 100%;
    overflow: hidden;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: 0s;
}

.services__accordion-item.is-active .services__accordion-img-wrap {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.8s;
}

.services__accordion-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .services__accordion {
        flex-direction: column;
        height: auto;
        border-left: none;
        border-right: none;
    }

    .services__accordion-item {
        flex: auto;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        display: grid;
        grid-template-rows: max-content 0fr;
        transition: grid-template-rows 0.4s ease;
        scroll-margin-top: 100px;
    }

    .services__accordion-item:last-child {
        border-bottom: none;
    }

    .services__accordion-item.is-active {
        flex: auto;
        height: auto;
        grid-template-rows: max-content 1fr;
    }

    .services__accordion-tab {
        width: 100%;
        height: 60px;
        flex-direction: row-reverse;
        justify-content: flex-end;
        align-items: center;
        padding: 0;
        gap: 15px;
        opacity: 1 !important;
        pointer-events: auto !important;
        display: flex;
    }

    .services__accordion-item.is-active .services__accordion-tab {
        display: flex;
        opacity: 1;
        pointer-events: auto;
        width: 100%;
        padding: 0;
    }

    .services__accordion-title-vert {
        writing-mode: horizontal-tb;
        transform: none;
        white-space: normal;
    }

    .services__accordion-icon {
        margin-top: 0;
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .services__accordion-content {
        flex-direction: column;
        min-width: 0;
        display: flex;
        overflow: hidden;
        min-height: 0;
    }

    .services__accordion-item.is-active .services__accordion-content {
        display: flex;
        height: auto;
    }

    .services__accordion-text-wrap {
        padding: 0 0 20px;
    }

    .services__accordion-content-title {
        display: none;
    }

    .services__accordion-img-wrap {
        height: 250px;
        flex: none;
        padding: 20px 0;
    }
}


@media (max-width: 480px) {
    .header {
        top: 10px;
        width: calc(100% - 20px);
        padding: 10px 15px;
    }

    .header--scrolled {
        padding: 10px 15px;
    }

    .header__container {
        padding: 0 10px;
    }

    .header__btn {
        display: none;
        /* Hide desktop button on small screens */
    }

    .hero__title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 80px 0;
    }

    .services__container {
        padding: 0 20px;
    }

    .services__content {
        margin-bottom: 40px;
    }

    .services__subtitle {
        font-size: 18px;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .services__card {
        padding: 35px 25px;
    }

    .services__card:nth-child(odd) {
        background-color: var(--color-white, #fff);
        color: var(--color-text);
    }

    .services__card:nth-child(even) {
        background-color: var(--color-primary);
        color: var(--color-white, #fff);
    }

    .services__card:nth-child(odd) .services__icon {
        color: var(--color-primary);
    }

    .services__card:nth-child(even) .services__icon {
        color: var(--color-white, #fff);
    }

    .services__card:nth-child(odd) .services__features li::before {
        background-color: var(--color-primary);
    }

    .services__card:nth-child(even) .services__features li::before {
        background-color: var(--color-white, #fff);
    }
}

/* ==========================================
   9. PRODUCTS SECTION
   ========================================== */
/* ==========================================
   10. PARTNERS SECTION
   ========================================== */
.partners {
    padding: 140px 0;
    /* Увеличил отступ для стиля */
    background-color: var(--color-bg-alt);
    overflow: hidden;
}

.partners__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.partners__title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 64px);
    /* Тот же размер, что в Stats и Products */
    font-weight: bold;
    margin-bottom: 80px;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-align: left;
    /* Влево, как в остальных блоках */
}

.partners__marquee {
    position: relative;
    width: 100%;
    display: flex;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right,
            transparent,
            black 15%,
            black 85%,
            transparent);
    mask-image: linear-gradient(to right,
            transparent,
            black 15%,
            black 85%,
            transparent);
}

.partners__track {
    display: flex;
    align-items: center;
    width: max-content;
}

.partners__item {
    width: clamp(180px, 18vw, 320px);
    padding: 0 50px;
}

.partners__item a {
    display: block;
    width: 100%;
}

.partners__item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) opacity(40%);
    transition:
        filter 0.4s ease,
        transform 0.4s ease;
}

.partners__item:hover img {
    filter: grayscale(0%) opacity(100%);
}

/* ==========================================
   Адаптив под мобильные (Partners)
   ========================================== */
@media (max-width: 1024px) {
    .partners {
        padding: 100px 0;
    }

    .partners__title {
        margin-bottom: 60px;
    }

    .partners__item {
        width: clamp(140px, 25vw, 200px);
        padding: 0 30px;
    }

    .partners__item img {
        max-height: 60px;
    }
}

@media (max-width: 768px) {
    .partners {
        padding: 80px 0;
    }

    .partners__container {
        padding: 0 20px;
    }

    .partners__title {
        margin-bottom: 40px;
    }

    .partners__item {
        width: clamp(120px, 35vw, 160px);
        padding: 0 15px;
    }

    .partners__item img {
        max-height: 50px;
    }

    /* Делаем края маски более узкими для мобилок */
    .partners__marquee {
        -webkit-mask-image: linear-gradient(to right,
                transparent,
                black 5%,
                black 95%,
                transparent);
        mask-image: linear-gradient(to right,
                transparent,
                black 5%,
                black 95%,
                transparent);
    }
}

/* ==========================================
   11. MEDIA & GALLERY SECTION
   ========================================== */
.media {
    padding: 140px 0;
    background-color: var(--color-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.media__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.media__title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    color: var(--color-secondary);
}

/* --- Табы с анимированной линией --- */
.media__tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.media__tabs {
    position: relative;
    display: flex;
    gap: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 15px;
}

.media__tab {
    background: none;
    border: none;
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    padding: 0;
}

.media__tab.is-active {
    opacity: 1;
}

.media__tab-line {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    background-color: var(--color-primary);
    width: 0;
    /* Ширина управляется через JS */
    transition: all 0.4s cubic-bezier(0.65, 0.05, 0.36, 1);
}

/* --- Контент табов --- */
.media__pane {
    display: none;
}

.media__pane.is-active {
    display: block;
}

.media__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Элемент галереи --- */
.media__item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: block;
    background-color: #f0f0f0;
    /* Начальное состояние для анимации появления (GSAP) */
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

.media__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.media__item:hover .media__img {
    transform: scale(1.1);
}

/* Оверлей при наведении (на фото) */
.media__item-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(200, 45, 115, 0.85);
    /* Цвет primary с прозрачностью */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.media__item-overlay svg {
    width: 50px;
    height: 50px;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.media__item:hover .media__item-overlay {
    opacity: 1;
}

.media__item:hover .media__item-overlay svg {
    transform: translateY(0);
}

/* --- Кнопка плей для видео --- */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 3;
    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

.video-play-btn::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent var(--color-primary);
    margin-left: 5px;
}

.media__item:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--color-primary);
}

.media__item:hover .video-play-btn::after {
    border-color: transparent transparent transparent var(--color-white);
}

/* --- Кнопка Load More --- */
.media__footer {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.media__load-more {
    min-width: 220px;
}

/* ==========================================
   11.5 TEAM SECTION
   ========================================== */
.team {
    padding: 120px 0 40px;
    background-color: var(--color-bg-alt);
}

.team__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.team__header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.team__title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin: 0 0 20px 0;
}

.team__subtitle {
    font-size: 18px;
    opacity: 0.7;
    line-height: 1.6;
    margin: 0;
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.team__card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.team__photo-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
    background-color: rgba(0, 0, 0, 0.05);
}

.team__photo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 40%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.team__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        filter 0.6s ease;
    filter: grayscale(100%);
}

.team__card:hover .team__photo {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.team__card:hover .team__photo-wrap::after {
    opacity: 1;
}

.team__info {
    text-align: left;
    border-left: 2px solid var(--color-primary);
    padding-left: 15px;
    transition: transform 0.4s ease;
}

.team__card:hover .team__info {
    transform: translateX(10px);
}

.team__name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: bold;
    color: var(--color-text);
    margin: 0 0 5px 0;
}

.team__position {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

@media (max-width: 1200px) {
    .team__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .team__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .team {
        padding: 80px 0 20px;
    }

    .team__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team__card {
        max-width: 320px;
        margin: 0 auto;
    }

    .team__header {
        margin-bottom: 50px;
    }
}

/* ==========================================
   12. CERTIFICATES SECTION (Clean Images)
   ========================================== */
.certs-section {
    padding: 40px 0;
}

.certs {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.certs__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.certs__title {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--color-text);
    margin-bottom: 20px;
}

.certs__subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    max-width: 500px;
    margin: 0 auto;
}

.certs__grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    /* Немного уменьшили зазор для плотности */
    flex-wrap: wrap;
    padding: 20px 0;
}

.certs__item {
    width: calc(25% - 30px);
    min-width: 220px;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Строку opacity: 0; отсюда убрали! */
}

/* Контейнер теперь прозрачный, без теней и отступов */
.certs__paper {
    background-color: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    width: 100%;
    /* Вертикальный А4 */
    aspect-ratio: 1 / 1.414;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Чтобы картинка не вылезала при ховере */
}

.certs__paper img {
    width: 100%;
    height: 100%;
    /* Картинка заполняет блок, может немного обрезаться, если пропорции разные */
    object-fit: cover;
    /* Добавляем легкую тень самой картинке для объема */
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

.certs__item:hover {
    transform: rotate(0deg) translateY(-15px);
    z-index: 10;
}

.certs__item:hover .certs__paper img {
    transform: scale(1.03);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
}

/* PDF-плейсхолдер */
.certs__paper--pdf {
    background-color: #f8f8f8;
    border: 1px solid rgba(0, 0, 0, 0.08);
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    text-align: center;
}

.certs__pdf-icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.certs__pdf-name {
    font-family: var(--font-text);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    opacity: 0.7;
    line-height: 1.3;
    word-break: break-word;
}

.certs__item--pdf:hover .certs__paper--pdf {
    background-color: #f0f0f0;
    border-color: var(--color-primary);
}

.certs__item--pdf:hover .certs__pdf-icon {
    color: var(--color-secondary);
}

/* ==========================================
   ADAPTIVE
   ========================================== */
@media (max-width: 1024px) {
    .media__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .certs__item {
        width: calc(33.33% - 30px);
        /* 3 в ряд */
    }
}

@media (max-width: 768px) {
    .media {
        padding: 80px 0;
    }

    .media__tabs {
        gap: 20px;
    }

    .media__tab {
        font-size: 12px;
    }

    .certs-section {
        padding: 80px 0;
    }

    .certs__header {
        margin-bottom: 40px;
    }

    .certs__grid {
        gap: 20px;
    }

    .certs__item {
        width: calc(50% - 20px);
        /* 2 в ряд */
        min-width: 150px;
    }

    /* На мобильных наклон можно убрать или уменьшить */
    .certs__item:nth-child(n) {
        transform: rotate(0deg);
    }
}

@media (max-width: 480px) {
    .media__grid {
        grid-template-columns: 1fr;
    }

    .media__item {
        aspect-ratio: 4 / 3;
    }
}

/* ==========================================
   13. CONTACTS SECTION
   ========================================== */
.contacts {
    padding: 140px 0 120px;
    background-color: var(--color-bg-alt);
    color: var(--color-text);
    position: relative;
    overflow: hidden;
}

/* Wave */
.contacts__wave {
    position: absolute;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 5;
    display: block;
}

.contacts__wave--top {
    top: -1px;
}

.contacts__container {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contacts__title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: bold;
    margin: 0 0 20px;
    color: var(--color-text);
}

.contacts__subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0 0 50px;
    max-width: 500px;
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contacts__item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contacts__label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    font-weight: 600;
}

.contacts__phone {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: bold;
    color: var(--color-text);
    transition: color var(--transition-base);
    text-decoration: none;
}

.contacts__phone:hover {
    color: var(--color-primary);
}

.contacts__address {
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
}

.contacts__socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.contacts__social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: all 0.4s ease;
}

.contacts__social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.contacts__social-link:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-5px);
}

/* --- CF7 Form Styles --- */
.contacts__form-wrap {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
}

.contacts__form-wrap .wpcf7 {
    margin: 0;
}

.contacts__form-wrap .wpcf7 p {
    margin: 0 0 25px 0;
}

.contacts__form-wrap .wpcf7 label {
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    opacity: 0.9;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-top: 5px;
}

.contacts__form-group {
    margin-bottom: 25px;
    width: 100%;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    color: var(--color-text);
    font-family: var(--font-text);
    font-size: 16px;
    padding: 10px 0;
    transition: border-color var(--transition-base);
    border-radius: 0;
}

.wpcf7-form-control.wpcf7-textarea {
    min-height: 120px;
    resize: none;
}

.wpcf7-form-control:focus {
    outline: none;
    border-bottom-color: var(--color-primary);
}

.wpcf7-form-control::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.wpcf7-submit {
    width: 100%;
    margin-top: 10px;
}

.wpcf7-spinner {
    display: block;
    margin: 10px auto 0;
}

.wpcf7-not-valid-tip {
    font-size: 12px;
    color: #ff4b4b;
    margin-top: 5px;
    display: block;
}

.wpcf7-response-output {
    margin-top: 20px !important;
    border-radius: 5px;
    font-size: 14px;
    padding: 15px !important;
}

.contacts__form-wrap .btn:hover::before {
    width: 800px;
    height: 800px;
}

@media (max-width: 1024px) {
    .contacts__container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contacts__form-wrap {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .contacts {
        padding: 80px 0;
    }

    .contacts__form-wrap {
        padding: 30px 20px;
    }
}

/* ==========================================
   14. FOOTER
   ========================================== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 40px 0;
}

.footer .btn--outline {
    color: var(--color-white);
    border-color: var(--color-white);
}

.footer .btn--outline::before {
    background-color: var(--color-white);
}

.footer .btn--outline:hover {
    color: var(--color-primary);
}

.footer__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer__logo-wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__logo {
    display: block;
    max-width: 180px;
}

.footer__logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    /* Make logo white via CSS mask */
    filter: brightness(0) invert(1);
}

.footer__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
    line-height: 1.5;
    margin: 0;
}

.footer__menu {
    display: flex;
    gap: 30px;
}

.footer__menu li a {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-white);
    opacity: 0.8;
    transition:
        opacity var(--transition-base),
        color var(--transition-base);
}

.footer__menu li a:hover {
    opacity: 1;
    color: var(--color-white);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
    gap: 20px;
}

.footer__copy {
    margin: 0;
}

.footer__legal {
    display: flex;
    gap: 20px;
}

.footer__legal-menu,
.footer__legal-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__legal a {
    transition: color var(--transition-base);
}

.footer__legal a:hover {
    color: var(--color-white);
}

@media (max-width: 1024px) {
    .footer__top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer__menu {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .footer {
        background-color: var(--color-primary);
        color: var(--color-white);
        padding: 40px 0;
    }

    .footer__container {
        padding: 0 20px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================
   7.5 ABOUT & STATS SECTION
   ========================================== */
.about-stats {
    padding: 100px 0;
    background-color: var(--color-bg);
}

.about-stats__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-stats__gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 30px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.about-stats__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.about-stats__img.active {
    opacity: 1;
}

.about-stats__content {
    display: flex;
    flex-direction: column;
}

.about-stats__title {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--color-text);
    margin-bottom: 30px;
}

.about-stats__text-wrap {
    margin-bottom: 50px;
}

.about-stats__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
}

.about-stats__stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-stats__stat-item {
    background-color: var(--color-primary);
    border-radius: 20px;
    padding: 30px;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-stats__stat-number-wrap {
    font-size: clamp(22px, 2.8vw, 34px);
    font-weight: bold;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    line-height: 1;
}

.about-stats__stat-label {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .about-stats__container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .about-stats__stats-grid {
        grid-template-columns: 1fr;
    }
}



@media (max-width: 768px) {
    [class$="__container"] {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}



/* ==========================================
   9. PRODUCTS SECTION (Redesigned)
   ========================================== */
.products {
    position: relative;
    padding: 140px 0;
    background-color: var(--color-bg-alt);
    /* Highly transparent primary color */
}

.products__wave {
    position: absolute;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 5;
}

.products__wave--top {
    top: -1px;
}

.products__wave--bottom {
    bottom: -1px;
}

.products__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.products__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.products__title {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--color-text);
    margin-bottom: 20px;
}

.products__subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 30px;
}

.products__catalog-btn {
    /* Uses .btn--outline styles (black border/text) */
}

.products__slider-wrap {
    position: relative;
    padding: 0 50px;
    /* Space for arrows */
}

.js-products-swiper {
    overflow: hidden;
    padding: 20px 0;
}

.products__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--color-tertiary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.products__arrow:hover {
    background-color: var(--color-secondary);
}

.products__arrow svg {
    width: 20px;
    height: 20px;
}

.products__arrow--prev {
    left: 0;
}

.products__arrow--next {
    right: 0;
}

.products__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    text-align: center;
}

.products__bg-shape {
    position: absolute;
    top: 2.5%;
    left: 2.5%;
    width: 95%;
    height: 95%;
    background-color: var(--color-white);
    z-index: -1;
    transition: transform 0.4s ease;
}

/* Different patterns for the background shape */
.swiper-slide:nth-child(3n+1) .products__bg-shape {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.swiper-slide:nth-child(3n+2) .products__bg-shape {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.swiper-slide:nth-child(3n+3) .products__bg-shape {
    border-radius: 50% 50% 60% 40% / 70% 40% 60% 30%;
}

.products__card:hover .products__bg-shape {
    transform: rotate(15deg);
}

.products__img {
    width: 75%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 16px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    transition: all .4s ease;
}

.products__card:hover .products__img {
    transform: rotate(-5deg);
}

.products__name {
    font-size: 20px;
    font-family: var(--font-heading);
    color: var(--color-text);
}

@media (max-width: 768px) {
    .products__slider-wrap {
        padding: 0 30px;
    }

    .products__arrow {
        width: 30px;
        height: 30px;
    }

    .products__arrow svg {
        width: 16px;
        height: 16px;
    }
}


.products__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.products__title::before,
.products__title::after {
    content: "";
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-primary);
}



/* ==========================================
   8.8 SUSTAINABILITY SECTION
   ========================================== */
.sustainability {
    position: relative;
    background-color: rgba(2, 86, 167, 0.15);
    padding: 140px 0;
    overflow: hidden;
}

.sustainability__wave {
    position: absolute;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 2;
    pointer-events: none;
}

.sustainability__wave--top {
    top: 0;
}

.sustainability__wave--bottom {
    bottom: 0;
}

.sustainability__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sustainability__title {
    font-size: clamp(36px, 5vw, 64px);
    font-family: var(--font-heading);
    color: var(--color-text);
    margin-bottom: 30px;
    line-height: 1.1;
}

.sustainability__text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 40px;
}

.sustainability__text p {
    margin-bottom: 15px;
}

.sustainability__image-col {
    position: relative;
    width: 100%;
}

.sustainability__image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 600px;
    position: relative;
}

.sust-img-left {
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    align-self: end;
    height: 65%;
    border-radius: 200px 40px 200px 200px;
    overflow: hidden;
    position: relative;
}

.sust-img-right {
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    height: 100%;
    border-radius: 200px;
    overflow: hidden;
    position: relative;
}

.sust-vid {
    position: absolute;
    top: 0;
    width: calc(200% + 20px);
    height: 100%;
    object-fit: cover;
}

.sust-vid-left {
    left: 0;
}

.sust-vid-right {
    right: 0;
}

@media (max-width: 992px) {
    .sustainability__container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .sustainability__image-grid {
        height: 500px;
    }
}

@media (max-width: 576px) {
    .sustainability__image-grid {
        height: 400px;
        gap: 10px;
    }
    
    .sust-vid {
        width: calc(200% + 10px);
    }
}