/* 
 * ГЛОБАЛЬНЫЕ СТИЛИ 
 */

 :root {
    /* Colors */
    --color-white: #FFFDFA;
    --color-light-grey: #EDEDED;
    --color-grey-1: #C7C7C7;
    --color-grey-22: #8E9297;
    --color-grey-33: #6C737A;
    --color-grey-44: #47515C;
    --color-dark-blue: #2D3742;
    --color-dark-grey: #1D2835;
    --color-black: #000000;
    --color-orange: #FF6600;
    --color-orange-dark: #CC5200;
    --color-orange-light: #FE7418;

    /* Fonts */
    --font-main: 'Inter Display', 'Inter', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
/*    outline: 1px solid red;*/
}

body {
    font-family: var(--font-main);
    color: var(--color-white);
    background-color: var(--color-black); /* Временный фон, чтобы белый текст хидера было видно */
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

/* 
 * UI КОМПОНЕНТЫ 
 */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn--primary {
    background-color: var(--color-orange);
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: var(--color-orange-dark);
}

.btn--outline {
    position: relative;
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid transparent; /* Невидимый бордер для сохранения размеров */
    z-index: 1;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn--outline::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid var(--color-white);
    border-radius: inherit;
    clip-path: inset(0 50% 0 0); /* Обрезаем правую половину бордера */
    transition: clip-path 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

.btn--outline:hover::before {
    clip-path: inset(0 0 0 0); /* Показываем бордер полностью */
}

/*.btn--outline:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}*/

/* 
 * СЕКЦИЯ: 01_HEADER 
 */

.header {
    background-color: transparent;
    padding: 20px 0;
    border-bottom: 1px dashed var(--color-grey-44);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 10px 0;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    display: block;
    max-width: 200px;
    height: auto;
}

.mobile-menu {
    display: none;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav__link {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav__link:hover {
    color: var(--color-orange);
}

.header__contacts {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__phone {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.header__phone:hover {
    color: var(--color-orange);
}

.header__burger {
    display: none;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
}

.burger__text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.burger__icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
}

.burger__icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* 
 * СЕКЦИЯ: 02_SECTION (HERO) 
 */

.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 80px; /* Отступ для фиксированного хедера */
}

.hero__wrap {
    display: flex;
}

.hero__left {
    flex: 0 0 50%;
    border-right: 1px dashed var(--color-grey-44);
    display: flex;
    flex-direction: column;
}

.hero__main {
    padding: 70px 0 45px 0;
    border-bottom: 1px dashed var(--color-grey-44);
    flex-grow: 1;
}

.hero__main-img {
    width: 100%;
    height: 60px;
    margin-bottom: 5px;
}

.hero__main-img,
.hero__title,
.hero__subtitle,
.hero__text,
.hero__buttons {
    padding-left: max(20px, calc((100vw - 1400px) / 2));
}

.hero__icon {
    display: block;
    width: 50px;
    height: auto;
}

.hero__title {
    font-size: 62px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero__subtitle {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-orange);
    line-height: 1.2;
    margin-bottom: 30px;
    padding-bottom: 30px;
    text-transform: uppercase;
    border-bottom: 1px dashed var(--color-grey-44);
}

.hero__img-mob {
    display: none;
}

.hero__subtitle span {
    width: 300px;
    display: block;
}

.hero__text {
    font-size: 20px;
    font-weight: 600;
    padding-right: 80px;
    color: var(--color-light-grey);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero__btn {
    padding: 16px 32px;
}

.hero__stats {
    display: flex;
    padding: 40px 50px 40px max(20px, calc((100vw - 1400px) / 2));
    gap: 30px;
}

.stat-item {
    flex: 1;
}

.stat-item__value {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-orange);
    margin-bottom: 10px;
}

.stat-item-img {
    display: none;
    width: 100%;
}

.stat-item-img img {
    width: 100px;
    height: auto;
}

.stat-item__text {
    font-size: 14px;
    color: var(--color-grey-1);
    line-height: 1.4;
}

.hero__right {
    flex: 0 0 50%;
    position: relative;
    display: flex;
    padding: 0;
}

.hero__image-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.hero__decor {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 100px;
    opacity: 0.5;
    z-index: 1;
}

.hero__image {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: left bottom;
    display: block;
    position: relative;
    z-index: 2;
}

/*
 * UI КОМПОНЕНТЫ - ДОПОЛНИТЕЛЬНЫЕ
 */

.btn--outline-dark {
    position: relative;
    background-color: transparent;
    color: var(--color-dark-blue);
    border: 1px solid transparent;
    z-index: 1;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn--outline-dark::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid var(--color-grey-1);
    border-radius: inherit;
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.3s ease, border-color 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

.btn--outline-dark:hover::before {
    clip-path: inset(0 0 0 0);
    border-color: var(--color-dark-blue);
}

/*
 * СЕКЦИЯ: 03_USAGE
 */

.usage {
    background-color: var(--color-white);
    color: var(--color-black);
    padding: 100px 0;
}

.usage__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    width: 550px;
    margin-bottom: 60px;
/*    gap: 40px;*/
}

.usage__title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    flex: 0 0 50%;
}

.usage__text {
    flex: 1;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-grey-44);
    font-weight: 500;
}

.usage__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
/*    border-top: 1px dashed var(--color-grey-1);*/
    border-left: 1px dashed var(--color-grey-1);
}

.usage-card, .usage__spacer {
    height: 220px;
    border-top: 1px dashed var(--color-grey-1);
    border-right: 1px dashed var(--color-grey-1);
    border-bottom: 1px dashed var(--color-grey-1);
    position: relative;
    cursor: pointer;
}

.usage__spacer {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    border-top: none;
}

.usage__spacer img {
    max-width: 70%;
    opacity: 0.8;
}

.usage-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.usage-card__front,
.usage-card__back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: opacity 0.3s ease;
}

.usage-card__front {
    background-color: var(--color-white);
    z-index: 1;
}

.usage-card__back {
    background-color: var(--color-orange);
    color: var(--color-white);
    opacity: 0;
    z-index: 2;
}

.usage-card:hover .usage-card__back {
    opacity: 1;
}

.usage-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.usage-card__back .usage-card__top {
    justify-content: flex-end;
}

.usage-card__icon {
    width: 32px;
    height: auto;
}

.usage-card__number {
    font-size: 14px;
    color: var(--color-grey-1);
    font-weight: 500;
}

.usage-card__back .usage-card__number {
    color: var(--color-white);
}

.usage-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.usage-card__desc--mob {
    display: none; /* Скрыто на десктопе */
}

.usage-card__desc {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
}

.usage-card__bottom {
    font-size: 14px;
    color: var(--color-orange);
    font-weight: 600;
    text-transform: uppercase;
}

.usage-card__back .usage-card__bottom {
    color: var(--color-white);
}



/*
 * СЕКЦИЯ: 04_MOLD
 */

.mold {
    background-color: var(--color-white);
    color: var(--color-dark-blue);
    padding: 100px 0;
}

.mold__inner {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.mold__images {
    flex: 0 0 calc(50% - 30px);
    display: flex;
    gap: 20px;
/*    height: 100%;*/
    align-items: stretch;
}

.mold__img-box {
    background-color: var(--color-light-grey);
    display: flex;
    flex-direction: column;
    position: relative;
}

.mold__img-box--small {
    flex: 0 0 calc(42% - 10px);
    height: 400px;
}

.mold__img-box--large {
    flex: 0 0 calc(58% - 10px);
    height: 100%;
}

.mold__img-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-grey-22);
    margin-bottom: 30px;
    padding: 20px 0 0 20px;
}

.mold__img-box img {
    width: 100%;
/*    height: auto;*/
    object-fit: contain;
}

.mold__img-box--small img {
    margin: auto;
    height: 300px;
}

.mold__img-box--large img {
    margin: auto;
    height: 100%;
}

.mold__info {
    flex: 0 0 calc(50% - 30px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mold__title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--color-dark-blue);
}

.mold__title span {
    display: block;
}

.mold__desc {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-grey-44);
    margin-bottom: 20px;
    font-weight: 500;
}

.spec-list-toggle {
    display: none;
}

.spec-list {
/*    margin-bottom: 40px;*/
    display: flex;
    flex-direction: column;
/*    gap: 12px;*/
}

.spec-list__item {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px dashed var(--color-grey-1);
    padding: 5px 0;
}

.spec-list__item:first-child {
    border-top: 1px dashed var(--color-grey-1);
    border-bottom: 1px dashed var(--color-grey-1);
}

/*.spec-list__item:last-child {
    border-bottom: 1px dashed var(--color-grey-1);
}*/

.spec-list__name {
    font-size: 16px;
    color: var(--color-grey-33);
}

/*.spec-list__spacer {
    flex-grow: 1;
    border-bottom: 1px dotted var(--color-grey-1);
    margin: 0 10px;
    opacity: 0.7;
}*/

.spec-list__value {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-grey-33);
    white-space: nowrap;
}

.mold__price-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    padding-top: 20px;
    padding-bottom: 5px;
    border-bottom: 1px dashed var(--color-grey-1);
}

.mold__price-left {
    display: flex;
    flex-direction: column;
}

.mold__price-label {
    font-size: 16px;
    color: var(--color-grey-33);
    margin-bottom: 5px;
}

.mold__price-value {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-dark-blue);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.mold__price-accent {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-orange);
}

.mold__price-note {
    font-size: 16px;
    color: var(--color-grey-33);
    text-align: right;
    line-height: 1.4;
}

.mold__buttons {
    display: flex;
    gap: 20px;
}

.info-wrap-1 {
    display: none;
}

.info-wrap-2 {
    display: block;
}

.mold-platinum {
    background-color: #1f2733;
    padding: 50px 0;
}

.platinum-wrap-1 {
    display: none;
}

.mold-platinum h2,
.mold-platinum .spec-list li span,
.mold-platinum .mold__price-value,
.mold-platinum .mold__price-label,
.mold-platinum .spec-list-toggle {
    color: var(--color-white);
}

.mold-platinum .mold__desc,
.mold-platinum .mold__price-note {
    color: #858990;
}

/* Основная стилизация спана */
.cert-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #213737;
    border: 1px solid #4eac59;
    padding: 8px;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 18px;
    color: #4eac59;
    width: 250px;
}

/* Дополнительный блеск справа */
.cert-badge::before {
    content: "✓";
    font-size: 18px;
    font-weight: 700;
    color: #4eac59;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.color-bg-grey {
    background-color: #2e3640;
}


/*
 * СЕКЦИЯ: 06_COMPARISON
 */

.comparison {
    background-color: var(--color-white);
    color: var(--color-dark-blue);
    padding: 100px 0;
}

.comparison__inner {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.comparison__left {
    flex: 0 0 calc(40% - 30px);
}

.comparison__right {
    flex: 0 0 calc(60% - 30px);
}

.comparison__title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: var(--color-dark-blue);
}

.comparison__title span {
    display: block;
}

.comparison__desc {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-grey-44);
    margin-bottom: 40px;
    font-weight: 500;
}

.compare-table {
    display: flex;
    flex-direction: column;
}

.compare-table__header {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr;
    gap: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dotted var(--color-grey-1);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-orange);
    text-transform: uppercase;
}

.compare-table__row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px dotted var(--color-grey-1);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-dark-blue);
    align-items: center;
}

.compare-table__row:last-child {
    border-bottom: none;
}

.compare-table__row .compare-table__col--param {
    color: var(--color-grey-44);
}

.color-orange {
    color: var(--color-orange) !important;
}

.btn--dark {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
}

.btn--dark:hover {
    background-color: var(--color-orange);
}

/*
 * СЕКЦИЯ: 07_DELIVERY
 */

.delivery {
    padding: 100px 0;
    background-color: var(--color-white);
}

.delivery__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    padding-bottom: 50px;
}

.delivery__title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-dark-blue);
    flex: 0 0 50%;
    text-transform: uppercase;
}

.delivery__stats {
    display: flex;
    justify-content: space-between;
    flex: 0 0 45%;
    padding-top: 15px;
    border-top: 1px dotted var(--color-grey-1);
}

.delivery-stat {
    display: flex;
    flex-direction: column;
}

.delivery-stat__label {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 10px;
}

.delivery-stat__value {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-orange);
    line-height: 1.1;
    margin-bottom: 5px;
}

.delivery-stat__desc {
    font-size: 16px;
    color: var(--color-grey-44);
}

.delivery__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.delivery-card {
    display: flex;
    flex-direction: column;
}

.delivery-card__img {
    background-color: #ececec;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    margin-bottom: 25px;
    padding: 20px;
}

.delivery-card__img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.delivery-card__img--dual img {
    max-width: 45%;
    margin: 0 2%;
}

.delivery-card__weight {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.delivery-card__type {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-dark-blue);
    margin-bottom: 15px;
}

.delivery-card__text {
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-grey-44);
}

.delivery-stat-img {
    display: none;
}

/* ============================
   08_DOCUMENTS
   ============================ */

.documents {
    padding: 60px 0;
    background-color: var(--color-white);
}

.documents__inner {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 30px;
}

.documents__left {
    flex: 0 0 50%;
}

.documents__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-dark-blue);
    text-transform: uppercase;
    margin-bottom: 30px;
}

.documents__subtitle {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-grey-44);
    max-width: 400px;
}

.documents__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 0;
    border-top: 1px dotted var(--color-grey-1);
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.document-item:last-child {
    border-bottom: 1px dotted var(--color-grey-1);
}

.document-item:hover {
    background-color: var(--color-bg-light);
}

.document-item__preview {
    position: relative;
    flex: 0 0 130px;
/*    height: 100px;*/
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.doc-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.document-item__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


.document-item__info {
    flex: 1;
}

.document-item__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark-blue);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.document-item__desc {
    font-size: 14px;
    color: var(--color-grey-44);
}

.document-item__arrow {
    flex: 0 0 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    color: var(--color-dark-blue);
    transition: transform 0.3s ease;
}

.document-item:hover .document-item__arrow {
    transform: translate(5px, -5px);
}

.documents__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ececec;
    padding: 40px 50px;
    gap: 40px;
}

.documents__bottom-left {
    flex: 1;
}

.documents__bottom-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark-blue);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.documents__bottom-title span {
    color: var(--color-orange);
}

.documents__bottom-text {
    font-size: 14px;
    color: var(--color-grey-44);
}

.documents__bottom-right {
    flex: 0 0 auto;
}

.documents__btn {
    white-space: nowrap;
}

/* ============================
   09_BENEFITS
   ============================ */

.benefits {
    padding: 100px 0;
    background-color: var(--color-dark-blue);
    background-image: url('../img/09_section/benefits-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
    position: relative;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.benefits .container {
    position: relative;
    z-index: 2;
}

.benefits__header {
    margin-bottom: 60px;
}

.benefits__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.benefits__subtitle {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-grey-1);
    max-width: 600px;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 0;
/*    border: 1px dashed var(--color-grey-44);*/
}

.benefit-card {
    padding: 30px;
    display: flex;
    border: 1px dashed var(--color-grey-44);
    flex-direction: column;
    min-height: 200px;
}

.benefit-card__header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.benefit-card__toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.benefit-card__toggle svg {
    width: 40px;
    height: 40px;
}

.benefit-card:nth-child(1) {
    grid-column: span 1;
}

.benefit-card:nth-child(2) {
    grid-column: span 1;
    border: none;
}

.benefit-card:nth-child(3) {
    grid-column: span 1;
}

.benefit-card:nth-child(4) {
    grid-column: span 1;
    border: none;
}

.benefit-card:nth-child(5) {
    grid-column: span 1;
    border-top: none;
    border-right: none;
}

.benefit-card:nth-child(6) {
    grid-column: span 1;
}

.benefit-card:nth-child(7) {
    grid-column: span 1;
    border: none;
}

.benefit-card:nth-child(8) {
    grid-column: span 1;
}

.benefits-wrap {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.benefit-card__number {
    font-size: 14px;
    color: var(--color-orange);
    margin-bottom: 10px;
    display: block;
}

.benefit-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.3;
}

.benefit-card__title span {
    color: var(--color-orange);
}

.benefit-card__text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-grey-1);
    margin-top: auto;
}

/* ============================
   10_ABOUT
   ============================ */

.about {
    padding: 100px 0;
    background-color: var(--color-white);
    color: var(--color-dark-blue);
}

.about__inner {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 50px;
}

.about__left {
    flex: 0 0 50%;
}

.about__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--color-dark-blue);
}

.about__desc {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-grey-44);
    max-width: 500px;
    font-weight: 500;
}

.about__stats {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-stat {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px dotted var(--color-grey-1);
}

.about-stat:first-child {
    padding-top: 0;
}

.about-stat__value {
    flex: 0 0 180px;
    font-size: 48px;
    font-weight: 700;
    color: var(--color-orange);
    line-height: 1;
}

.about-stat__value span {
    font-size: 32px;
    color: var(--color-grey-33);
}

.about-stat__text {
    flex: 1;
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-dark-blue);
    font-weight: 500;
    padding-top: 8px;
}

.about__photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about__photo {
    overflow: hidden;
    background-color: var(--color-light-grey);
}

.about__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.about__photo:hover img {
    filter: grayscale(0%);
}

/* ============================
   12_REVIEWS
   ============================ */

.reviews {
    padding: 100px 0;
    background-color: var(--color-white);
    color: var(--color-dark-blue);
}

.reviews__header {
    margin-bottom: 60px;
}

.reviews__title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--color-dark-blue);
}

.reviews__subtitle {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-grey-44);
    max-width: 500px;
    font-weight: 500;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /*border-top: 1px dashed var(--color-grey-1);
    border-left: 1px dashed var(--color-grey-1);*/
}

.review-card {
    padding: 20px;
    border: 1px dashed var(--color-grey-1);
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.review-card__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.review-card__stars svg {
    width: 18px;
    height: 18px;
}

.review-card__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark-blue);
    margin-bottom: 30px;
    flex-grow: 1;
    font-weight: 500;
}

.review-card__author {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed var(--color-grey-1);
}

.review-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-white);
    flex-shrink: 0;
    text-transform: uppercase;
}

.review-card__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-card__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark-blue);
}

.review-card__position {
    font-size: 14px;
    color: var(--color-grey-33);
}

.review-card__company {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-orange);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.reviews__spacer {
    display: flex;
    align-items: center;
    justify-content: center;
/*    border-right: 1px dashed var(--color-grey-1);
    border-bottom: 1px dashed var(--color-grey-1);*/
    padding: 30px;
}

.reviews__spacer img {
    max-width: 80%;
    max-height: 80%;
    opacity: 0.15;
    filter: grayscale(100%);
}

/* ============================
   14_FAQ
   ============================ */

.faq {
    background-color: var(--color-white);
    color: var(--color-dark-blue);
    position: relative;
    padding: 100px 0;
}

.faq-inner {
    display: flex;
    gap: 20px;
}

.faq__left {
    flex: 0 0 48%;
    display: flex;
    flex-direction: column;
}

.faq__right {
    flex: 0 0 48%;
/*    padding: 100px max(20px, calc((100vw - 1400px) / 2)) 100px 80px;*/
}

.title-wrap {
    width: 100%;
}

.faq__title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--color-dark-blue);
    width: 50%;
    padding-bottom: 30px;
}

.faq__image-wrap {
    flex-grow: 1;
    width: 100%;
}

.faq__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px dashed var(--color-grey-1);
    padding: 30px 0;
}

.faq-item:first-child {
    border-top: 1px dashed var(--color-grey-1);
}

.faq-item__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 20px;
}

.faq-item__title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.faq-item__number {
    font-size: 14px;
    color: var(--color-grey-1);
    font-weight: 500;
    flex-shrink: 0;
    padding-top: 4px;
}

.faq-item__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark-blue);
    text-transform: uppercase;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.faq-item__header:hover .faq-item__title {
    color: var(--color-orange);
}

.faq-item__toggle {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.faq-item__toggle::before,
.faq-item__toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-dark-blue);
    transition: transform 0.3s ease;
}

.faq-item__toggle::before {
    width: 100%;
    height: 2px;
}

.faq-item__toggle::after {
    width: 2px;
    height: 100%;
}

.faq-item.active .faq-item__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__content {
    display: none;
    padding-top: 20px;
    padding-left: 40px;
    padding-right: 40px;
}

.faq-item.active .faq-item__content {
    display: block;
}

.faq-item.active .faq-item__title {
    color: var(--color-orange);
}

.faq-item.active .faq-item__toggle::before,
.faq-item.active .faq-item__toggle::after {
    background-color: var(--color-orange);
}

.faq-item__text {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-grey-44);
    font-weight: 500;
}

/* ============================
   13_CLIENTS
   ============================ */

.clients {
    padding: 100px 0;
    background-color: var(--color-light-grey);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-dark-blue);
}

.clients__header {
    margin-bottom: 60px;
}

.clients__title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--color-dark-blue);
}

.clients__text {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-grey-44);
    max-width: 600px;
    font-weight: 500;
}

.clients__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.client-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    background-color: rgba(255, 255, 255, 0.6);
}

.client-card:nth-child(1),
.client-card:nth-child(3),
.client-card:nth-child(7) {
     border: 1px dashed var(--color-grey-1);
}

.client-card:nth-child(8) {
    border-bottom: 1px dashed var(--color-grey-1);
}

.client-card:nth-child(9) {
    border: 1px dashed var(--color-grey-1);
}

.client-card:nth-child(2),
.client-card:nth-child(4),
.client-card:nth-child(5),
.client-card:nth-child(6) {
    background-color: transparent;
}

.client-card__icon {
    width: 32px;
    height: auto;
}

.client-card__bottom {
    margin-top: auto;
}

.client-card__name {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark-blue);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.client-card__industry {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-orange);
}

.clients__spacer {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-white);
    padding: 30px;
    background-color: transparent;
}

.clients__spacer img {
    max-width: 80%;
    max-height: 80%;
    opacity: 0.8;
}

/* ============================
   11_STEPS
   ============================ */

.steps {
    padding: 100px 0;
    background-color: var(--color-white);
    color: var(--color-dark-blue);
}

.steps__inner {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.steps__left {
    flex: 0 0 50%;
}

.steps__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--color-dark-blue);
}

.steps__desc {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-grey-44);
    max-width: 400px;
    font-weight: 500;
}

.steps__right {
    flex: 1;
}

.steps__list {
    display: flex;
    flex-direction: column;
}

.step-item {
    display: flex;
    gap: 30px;
    padding: 30px 0 30px 10px;
    border-bottom: 1px dashed var(--color-grey-1);
    border-left: 1px dashed var(--color-grey-1);
    position: relative;
}

/*.step-item:first-child {
    padding-top: 0;
}*/

.step-item:first-child .step-item__marker {
    top: -5px;
}

.step-item:last-child {
    border-bottom: none;
}

.step-item__marker {
/*    flex: 0 0 80px;*/
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: -6px;
    top: 5px;
}

.step-item__dot {
    display: block;
    width: 12px;
    height: 12px;
    background-color: var(--color-orange);
    border-radius: 50%;
}

.step-item__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-orange);
    text-transform: lowercase;
}

.step-item__content {
    flex: 1;
    display: flex;
    gap: 40px;
    align-items: flex-end;
}

.step-item__title {
    flex: 0 0 220px;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark-blue);
    text-transform: uppercase;
}

.step-item__text {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-grey-44);
    font-weight: 500;
}

/* ============================
   16_FOOTER
   ============================ */

.footer {
    background-color: var(--color-dark-grey);
    color: var(--color-white);
    position: relative;
}

/* Верхняя часть футера */
.footer__top {
    border-bottom: 1px dashed var(--color-grey-44);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
    gap: 0;
}

.footer__col {
    padding: 50px 40px;
    border-right: 1px dashed var(--color-grey-44);
    position: relative;
    z-index: 1;
}

.footer__col:last-child {
    border-right: none;
}

.footer__col:nth-child(4)::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    display: block;
    bottom: 15px;
    right: 0;
    z-index: 0;
    background: url('../img/16_footer/hero-decor-cube.svg') no-repeat center / cover;
}

/* Колонка с лого */
.footer__logo {
    display: block;
    margin-bottom: 20px;
}

.footer__logo img {
    max-width: 180px;
    height: auto;
    display: block;
}

.footer__desc {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-grey-22);
    margin-bottom: 25px;
    font-weight: 500;
}

.footer__socials {
    display: flex;
    gap: 12px;
}

.footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px dashed var(--color-grey-44);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.footer__social:hover {
    border-color: var(--color-orange);
    background-color: rgba(255, 102, 0, 0.1);
}

.footer__social img {
    width: 35px;
    height: 35px;
    display: block;
}

.footer__social:hover img {
    filter: brightness(0) saturate(100%) invert(52%) sepia(96%) saturate(2150%) hue-rotate(348deg) brightness(104%) contrast(101%);
}

/* Заголовки колонок */
.footer__col-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-grey-22);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
}

/* Списки ссылок */
.footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.footer__link:hover {
    color: var(--color-orange);
}

/* Колонка контактов */
.footer__contact-group {
    margin-bottom: 20px;
}

.footer__contact-group:last-child {
    margin-bottom: 0;
}

.footer__phone {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.footer__phone:hover {
    color: var(--color-orange);
}

.footer__email {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.footer__email:hover {
    color: var(--color-orange);
}

.footer__schedule,
.footer__contact-label {
    display: block;
    font-size: 14px;
    color: var(--color-grey-22);
    line-height: 1.4;
}

/* Нижняя часть футера */
.footer__bottom {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.footer__bottom-inner {
    position: relative;
}

.footer__big-logo {
    width: 100%;
    margin-bottom: 30px;
/*    opacity: 0.15;*/
}

.footer__big-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.footer__bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.footer__copyright {
    flex: 1;
}

.footer__copyright p {
    font-size: 13px;
    color: var(--color-grey-22);
    line-height: 1.5;
    margin-bottom: 4px;
}

.footer__copyright p:last-child {
    margin-bottom: 0;
}

.footer__legal {
    flex: 0 0 auto;
    max-width: 300px;
    text-align: right;
}

.footer__legal a {
    font-size: 13px;
    color: var(--color-grey-22);
    text-decoration: underline;
    text-underline-offset: 3px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.footer__legal a:hover {
    color: var(--color-orange);
}

/* Кнопка наверх */
.footer__scroll-top {
    position: absolute;
    right: 40px;
    bottom: 120px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--color-grey-44);
    background-color: transparent;
    color: var(--color-white);
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
    z-index: 10;
}

.footer__scroll-top:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
    background-color: rgba(255, 102, 0, 0.1);
}

/* --- Секция 15_cta --- */
.cta {
    background-color: var(--color-black);
    background: url('../img/15_section/cta-bg.jpg') no-repeat center / cover;
}

.cta__inner {
    display: flex;
/*    overflow-x: hidden;*/
}

/* Левая половина с контентом */
.cta__left {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
/*    padding: 60px 60px 60px 0;*/
    border-right: 1px dashed var(--color-grey-1);
}

/* Правая половина с фото */
.cta__right {
    flex: 0 0 50%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 520px;
    padding-top: 40px;
    padding-right: max(80px, calc((100vw - 1400px) / 2));
}

.cta__top {
    padding-top: 60px;
    padding-bottom: 40px;
    padding-left: max(80px, calc((100vw - 1400px) / 2));
    border-bottom: 1px dashed var(--color-grey-1);
}

.cta__bottom {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: max(80px, calc((100vw - 1400px) / 2));
}

.cta-block-img {
    display: none;
}

.cta-block-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

.cta__title {
    color: var(--color-white);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.cta__description {
    color: var(--color-white);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 420px;
    font-weight: 500;
}

.cta__btn {
    min-width: 280px;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    background-color: var(--color-orange);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta__btn:hover {
    background-color: var(--color-orange-dark);
}

.cta__contacts-grid {
    display: flex;
    gap: 60px;
}

.cta__contact-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.cta__contact-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 500;
}

.cta__contact-phone {
    color: var(--color-white);
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.2;
}

.cta__contact-phone:hover {
    color: var(--color-orange);
}

.cta__contact-schedule {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 500;
    margin-top: 4px;
}

.cta__contact-email {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
    margin-top: 4px;
}

.cta__contact-email:hover {
    color: var(--color-orange);
}

.cta__image {
    display: block;
    max-height: 520px;
    width: 100%;
    object-fit: contain;
    object-position: bottom center;
}

/* Основной контейнер Cookie Consent начало */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 5px; /* Скругление как на макете */
    padding: 15px 30px;
    z-index: 9999;
    display: none; /* Скрыто по умолчанию, JS покажет */
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.cookie-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    font-family: sans-serif;
}

.cookie-link {
    color: var(--color-orange);
}

.cookie-btn {
    width: 200px; /* Кнопка на всю ширину на мобилках */
}
/* ============================
   POPUPS
   ============================ */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 480px;
    max-width: 680px;
    max-height: 90vh;
    background-color: var(--color-white);
    border-radius: 8px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    overflow-y: auto;
    color: var(--color-dark-blue);
}

.popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.popup__inner {
    padding: 40px;
}

.popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.popup__logo {
    display: block;
    width: 150px;
}

.popup__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark-blue);
    transition: color 0.3s ease;
    padding: 0;
}

.popup__close:hover {
    color: var(--color-orange);
}

.popup__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--color-black);
    margin-bottom: 10px;
}

.popup__title--center {
    text-align: center;
    font-size: 32px;
}

.popup__subtitle {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-grey-33);
    margin-bottom: 15px;
    font-weight: 500;
}

.popup__subtitle--center {
    text-align: center;
    margin-bottom: 40px;
}

.popup__error-text {
    font-size: 13px;
    line-height: 1.4;
    color: #d32f2f;
    margin-bottom: 15px;
    text-align: center;
    max-width: 100%;
    word-break: break-word;
}

.popup__form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup__field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.popup__label {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-dark-blue);
}

.popup__input {
    width: 100%;
    padding: 14px 18px;
    font-size: 14px;
    font-family: inherit;
    color: var(--color-dark-blue);
    background-color: #FAFAF8;
    border: 1px solid var(--color-grey-1);
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.popup__input::placeholder {
    color: var(--color-grey-22);
}

.popup__input:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.popup__input.error {
    border-color: #E53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.popup__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-top: 8px;
}

.popup__checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.popup__checkbox-box {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-orange);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    margin-top: 2px;
}

.popup__checkbox input:checked + .popup__checkbox-box {
    background-color: var(--color-orange);
}

.popup__checkbox input:checked + .popup__checkbox-box::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.popup__checkbox-text {
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-grey-44);
}

.popup__checkbox-text a {
    color: var(--color-orange);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.popup__checkbox-text a:hover {
    color: var(--color-orange-dark);
}

.popup__submit {
    width: 100%;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 16px;
}

.popup__body--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.popup__icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 24px;
}

.popup__btn-close,
.popup__btn-retry {
    width: 100%;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
}

.popup__phone-link {
    color: var(--color-orange);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popup__phone-link:hover {
    color: var(--color-orange-dark);
}

/* ============================
   ПЕРЕКЛЮЧАТЕЛЬ ОБРАБОТЧИКА ФОРМ
   ============================ */

.handler-switch {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9997;
    background-color: rgba(45, 55, 66, 0.95);
    border: 1px dashed var(--color-grey-44);
    border-radius: 6px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.handler-switch__label {
    font-weight: 600;
    color: var(--color-grey-1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 11px;
}

.handler-switch__item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.handler-switch__item:hover {
    background-color: rgba(255, 102, 0, 0.15);
}

.handler-switch__item input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border: 2px solid var(--color-grey-22);
    border-radius: 50%;
    margin: 0;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s ease;
}

.handler-switch__item input[type="radio"]:checked {
    border-color: var(--color-orange);
}

.handler-switch__item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: var(--color-orange);
    border-radius: 50%;
}

.handler-switch__item span {
    font-weight: 500;
    font-size: 12px;
    color: var(--color-grey-1);
    transition: color 0.2s ease;
}

.handler-switch__item input[type="radio"]:checked + span {
    color: var(--color-orange);
    font-weight: 600;
}

/* ============================
   ПОПАП ПОЛИТИКИ КОНФИДЕНЦИАЛЬНОСТИ
   ============================ */

.popup--policy {
    width: 900px;
    max-width: 95vw;
    max-height: 90vh;
}

.popup--policy .popup__inner {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    padding: 40px;
}

.popup--policy .popup__header {
    flex-shrink: 0;
    margin-bottom: 24px;
}

.popup--policy .popup__body--policy {
    flex: 1 1 auto;
    overflow-y: auto;
    padding-right: 16px;
    margin-right: -16px;
}

.popup--policy .popup__body--policy::-webkit-scrollbar {
    width: 6px;
}

.popup--policy .popup__body--policy::-webkit-scrollbar-track {
    background: var(--color-grey-44);
    border-radius: 3px;
}

.popup--policy .popup__body--policy::-webkit-scrollbar-thumb {
    background: var(--color-grey-22);
    border-radius: 3px;
}

.popup--policy .popup__body--policy::-webkit-scrollbar-thumb:hover {
    background: var(--color-orange);
}

.popup__title--policy {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.popup__subtitle--policy {
    font-size: 16px;
    color: var(--color-grey-22);
    margin-bottom: 32px;
    line-height: 1.5;
}

.popup__policy-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-dark);
}

.popup__policy-content p {
    margin-bottom: 16px;
}

.popup__policy-content p strong {
    font-weight: 700;
    color: var(--color-dark);
    display: block;
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 16px;
}

.popup__policy-content p:first-child strong {
    margin-top: 0;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .handler-switch {
        bottom: 10px;
        left: 10px;
        right: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .popup--policy {
        width: 100%;
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }

    .popup--policy .popup__inner {
        padding: 24px 20px;
        max-height: 100vh;
    }

    .popup__title--policy {
        font-size: 24px;
    }

    .popup__subtitle--policy {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .popup__policy-content {
        font-size: 14px;
        line-height: 1.6;
    }

    .popup__policy-content p strong {
        font-size: 15px;
        margin-top: 20px;
    }
}








