/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
    --main-color: #c8ac8b;
    --main-color-darken: #c69e6f;
    --text-main-color: #232323;
    --brad-regular: 8px;
}

/* ===== СБРОС ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

img { border: none; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* ===== БАЗА ===== */
.page {
    width: 100%;
    font-family: 'Manrope', Arial, sans-serif;
    color: var(--text-main-color);
}

.page * {
    box-sizing: border-box;
    -webkit-user-select: none;
    user-select: none;
}
.page input, .page select { user-select: auto; }

.wrapper {
    width: 81.7708333333vw;
    margin: 0 auto;
}

/* ===== АНИМАЦИИ ===== */
@keyframes pulse_1 {
    0%   { transform: translateY(-50%) scale(0.8); opacity: 0.8; }
    100% { transform: translateY(-50%) scale(3.5); opacity: 0; }
}
@keyframes wave_1 { 0%{opacity:1} 25%{opacity:.75} 50%{opacity:.25} 75%{opacity:.75} 100%{opacity:1} }
@keyframes wave_2 { 0%{opacity:.75} 25%{opacity:1} 50%{opacity:.75} 75%{opacity:.5} 100%{opacity:.75} }
@keyframes wave_3 { 0%{opacity:.5} 25%{opacity:.75} 50%{opacity:1} 75%{opacity:.75} 100%{opacity:.5} }
@keyframes wave_4 { 0%{opacity:.5} 25%{opacity:.75} 50%{opacity:1} 75%{opacity:.75} 100%{opacity:.5} }
@keyframes blick { 0%{left:-80%} 100%{left:160%} }

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== ГЛАВНАЯ КНОПКА ===== */
.md-main-color-btn {
    background-color: var(--main-color);
    color: #fff;
    padding: 0 2.6041666667vw;
    border-radius: var(--brad-regular);
    height: 5.2083333333vw;
    width: 28.6458333333vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}
.md-main-color-btn:hover {
    padding: 0 2.8645833333vw;
    background-color: var(--main-color-darken);
}
.md-main-color-btn:hover::after { opacity: 0; }
.md-main-color-btn span {
    font-size: 1.0416666667vw;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.md-main-color-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1.18645833333vw;
    height: 300%;
    transition: 0.3s;
    background-color: #ffffff33;
    animation: blick 3s linear infinite;
    transform: rotate(45deg) translateY(-50%);
}

/* ===== ПУНКТИРНАЯ ССЫЛКА ===== */
.md-line-dashed {
    position: relative;
    cursor: pointer;
}
.md-line-dashed::after {
    content: "";
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    height: 0;
    border-bottom: 0.0520833333vw dashed var(--main-color);
    transition: 0.3s;
}
.md-line-dashed:hover::after { width: 60%; right: 40%; }

/* =========================================================
   ШАПКА
   ========================================================= */
.header {
    padding-top: 1.0416666667vw;
    position: relative;
    z-index: 30;   /* уже стоит — оставляем, шапка выше фона */
}
.header.md-bg-transparent { background-color: transparent; }

.header.md-white-header { color: #fff; }
.header.md-white-header .header__top .wrapper { border-color: rgba(255,255,255,0.3); }
.header.md-white-header .header__logo a,
.header.md-white-header .header__contacts a { color: #fff; }
.header.md-white-header .header__download a { border-color: #fff; }
.header.md-white-header .header__download a span { color: #fff; }
.header.md-white-header .header__contacts a:hover { color: var(--main-color); }

.header__top .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.3020833333vw;
    border-bottom: 0.0520833333vw solid rgba(255,255,255,0.15);
}

/* Логотип */
.header__logo a {
    display: flex;
    align-items: center;
}
.header__logo a img {
    width: 10.8645833333vw;
    height: auto;
}

/* Текст */
.header__text {
    width: 10.4166666667vw;
    font-size: 0.7291666667vw;
    line-height: 1.0416666667vw;
    letter-spacing: 0.03em;
    margin-left: 1vw;
}

/* Адрес */
.header__address {
    width: 13.28125vw;
    display: flex;
    align-items: center;
}
.header__address svg {
    width: 1.0416666667vw;
    height: 1.25vw;
    margin-right: 0.78125vw;
    flex-shrink: 0;
}
.header__address p {
    font-size: 0.8333333333vw;
    line-height: 1.3020833333vw;
    letter-spacing: 0.03em;
}
.header__address p b { font-weight: 700; }

/* Кнопка "Вызвать замерщика" */
.header__download {
    width: 13.1458333333vw;
    display: flex;
    align-items: center;
}
.header__download a {
    width: 100%;
    height: 3.90625vw;
    border-radius: var(--brad-regular);
    border: 0.0520833333vw solid var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.0625vw;
    transition: 0.3s;
    cursor: pointer;
}
.header__download a img {
    width: 2.0416666667vw;
    height: 2.0416666667vw;
    margin-right: 0.6vw;
    transition: 0.3s;
}
.header__download a span {
    font-size: 0.8333333333vw;
    line-height: 0.9895833333vw;
    letter-spacing: 0.03em;
    color: var(--main-color);
    font-weight: 600;
    transition: 0.3s;
}
.header__download a:hover { background-color: var(--main-color); }
.header__download a:hover img { filter: brightness(0) invert(1); }
.header__download a:hover span { color: #fff; }

/* Соцсети */
.header__social {
    width: 12.7604166667vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 1vw;
}
.header__social p {
    font-size: 0.8333333333vw;
    line-height: 0.9895833333vw;
    letter-spacing: 0.03em;
    margin-bottom: 0.78125vw;
    position: relative;
}
.header__social p b { font-weight: 600; }
.header__social p::before {
    content: "";
    position: absolute;
    width: 0.4083333333vw;
    height: 0.4083333333vw;
    border-radius: 50%;
    background-color: var(--main-color);
    top: 50%;
    left: -1.5208333333vw;
    transform: translateY(-50%);
    z-index: 2;
}
.header__social p::after {
    content: "";
    position: absolute;
    width: 0.4083333333vw;
    height: 0.4083333333vw;
    border-radius: 50%;
    background-color: var(--main-color);
    top: 50%;
    left: -1.5208333333vw;
    transform: translateY(-50%);
    z-index: 1;
    animation: pulse_1 3s linear infinite;
}

.social-links {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-links a {
    width: 2.2916666667vw;
    height: 2.2916666667vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.2604166667vw;
    transition: 0.3s;
}
.social-links a:hover { transform: scale(1.2); }
.social-links a img { width: 100%; height: 100%; object-fit: contain; }

/* Контакты */
.header__contacts {
    width: 14.7604166667vw;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-left: 1vw;
}
.header__contacts p {
    font-size: 0.8333333333vw;
    line-height: 0.9895833333vw;
    letter-spacing: 0.03em;
    margin-bottom: 0.5208333333vw;
}
.header__contacts p b { font-weight: 600; }
.header__contacts a {
    font-weight: 700;
    font-size: 1.3416666667vw;
    line-height: 1.3541666667vw;
    color: var(--text-main-color);
    margin-bottom: 0.35625vw;
    transition: 0.3s;
}
.header__contacts a:hover { color: var(--main-color); }
.header__contacts .call-back {
    color: var(--main-color);
    font-size: 0.99333333333vw;
    line-height: 1.19895833333vw;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Бургер (скрыт на десктопе) */
.header__btn-wrap { display: none; }
.header__btn {
    display: block;
    width: 1.7vw;
    height: 1.5vw;
    position: relative;
    cursor: pointer;
}
.header__btn span {
    width: 100%;
    height: 0.1771428571vw;
    border-radius: var(--brad-regular);
    position: absolute;
    left: 0;
    background-color: var(--main-color);
    transition: 0.3s;
}
.header__btn span:first-child { top: 0; }
.header__btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.header__btn span:last-child { bottom: 0; width: 1.2vw; }

/* =========================================================
   ПЕРВЫЙ ЭКРАН
   ========================================================= */
.first {
    position: relative;
    min-height: 56.25vw;
    padding-top: 11.7708333333vw;
    margin-top: -11.7708333333vw;
}

/* ===== ЗАТЕМНЕНИЕ ФОНА ===== */
.first__bg {
    position: absolute;
    top: 0; left: 0; right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.first__bg .main-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Верхнее затемнение (под шапку) — от тёмного к прозрачному */
.first__bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 10vw;               /* высота затемнения сверху */
    background: linear-gradient(
        180deg,
        rgba(20, 18, 16, 0.75) 0%,
        rgba(20, 18, 16, 0.45) 45%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 3;
    pointer-events: none;
}

/* Левое затемнение — чтобы читался заголовок/текст */
.first__bg::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,0.2) 35%,
        rgba(0,0,0,0) 70%
    );
    z-index: 2;
    pointer-events: none;
}

.first.md-dark-bg { color: #fff; }

.first.md-first-with-form .wrapper {
    padding-top: 3.0208333333vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 5;
}
.first.md-first-with-form .first__content { width: 44.53125vw; }

.first__content {
    padding-top: 3.6041666667vw;
    padding-bottom: 2.6041666667vw;
}

.first__title {
    width: 100%;
    font-weight: 100;
    font-size: 4.0854166667vw;
    line-height: 4.9270833333vw;
    letter-spacing: 0.02em;
    margin-bottom: 2.34375vw;
}
.first__title b {
    font-weight: 700;
    color: var(--main-color);
}

.first__text {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.2395833333vw;
}
.first__text p {
    font-weight: 300;
    font-size: 1.2625vw;
    line-height: 2.034375vw;
    letter-spacing: 0.04em;
}

.first__bullets {
    display: flex;
    margin-bottom: 3.5416666667vw;
}

/* Буллеты */
.bullets-item {
    display: flex;
    flex-direction: column;
    margin-left: 3.6458333333vw;
    cursor: pointer;
    align-items: flex-start;
}
.bullets-item:first-child { margin-left: 0; }
.bullets-item:hover > img { transform: scale(1.2); }
.bullets-item > img {
    width: 2.0833333333vw;
    height: 2.0833333333vw;
    margin-bottom: 0.8333333333vw;
    transition: 0.3s;
}
.bullets-item p {
    font-size: 0.9375vw;
    line-height: 1.3020833333vw;
    letter-spacing: 0.04em;
}
.bullets-item p b { font-weight: 700; }

/* ФОРМА В HERO */
.first__form {
    width: 23.8541666667vw;
    border: 0.2083333333vw solid rgba(255,255,255,0.35);
    border-radius: var(--brad-regular);
    background-color: #fff;
    padding: 1.7708333333vw 2.2916666667vw;
    position: relative;
    color: var(--text-main-color);
}
.first__form .form-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.0416666667vw;
}
.first__form .form-title p {
    width: 9.0729166667vw;
    font-weight: 700;
    font-size: 1.5625vw;
    line-height: 1.8229166667vw;
    letter-spacing: 0.03em;
}
.first__form .form-img {
    width: 8.2916666667vw;
    flex-shrink: 0;
}
.first__form .form-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.first__form .form-text {
    font-weight: 500;
    font-size: 0.9375vw;
    line-height: 1.9270833333vw;
    letter-spacing: 0.03em;
    text-align: center;
    margin-bottom: 0.4166666667vw;
}
.first__form .form-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.0416666667vw;
}
.first__form .form-container .form-select,
.first__form .form-container .form-input {
    margin: 0;
    margin-bottom: 0.78125vw;
    background-color: #F8F8F8;
}
.first__form .form-container .form-btn {
    width: 100%;
    padding: 0 3.90625vw;
}
.first__form .form-container .form-btn:hover { padding: 0 4.1666666667vw; }

/* ===== СТАНДАРТНАЯ ФОРМА (селект/инпут в Hero) ===== */
.md-standart-form .form-select {
    width: 100%;
    height: 5.2083333333vw;
    border-radius: var(--brad-regular);
    color: var(--text-main-color);
    padding: 0 2.34375vw;
    font-weight: 500;
    font-size: 0.9375vw;
    line-height: 5.2083333333vw;
    letter-spacing: 0.03em;
    border: none;
    background-color: #F8F8F8;
    position: relative;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* стрелочка */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23232323' stroke-width='1.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2.34375vw center;
    background-size: 0.6vw auto;
}

.md-standart-form .form-input {
    width: 100%;
    height: 5.2083333333vw;
    padding: 0 2.6041666667vw;
    font-weight: 500;
    font-size: 0.9375vw;
    line-height: 1.25vw;
    letter-spacing: 0.03em;
    color: var(--text-main-color);
    border-radius: var(--brad-regular);
    border: none;
    background-color: #F8F8F8;
}
.md-standart-form .form-input::placeholder {
    color: var(--text-main-color);
    opacity: 0.6;
}

/* Кнопка внутри формы */
.md-standart-form .form-btn {
    width: 100%;
}

/* ===== ЧЕКБОКС ===== */
.md-standart-form .form-checkbox {
    display: flex;
    align-items: center;
}
.first__form .form-checkbox > div {
    width: 1.0416666667vw;
    height: 1.0416666667vw;
    margin-right: 0.8333333333vw;
    border: 0.0520833333vw solid var(--main-color);
    border-radius: var(--brad-regular);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: 0.3s;
    cursor: pointer;
    flex-shrink: 0;
}
.first__form .form-checkbox > div input {
    position: absolute;
    left: 0;
    bottom: 100%;
    display: none;
}
.first__form .form-checkbox > div img {
    width: 0.4166666667vw;
    height: 0.3125vw;
    opacity: 0;
    transition: 0.3s;
}
/* когда чекбокс отмечен (checked на input) */
.first__form .form-checkbox > div:has(input:checked) {
    background-color: var(--main-color);
}
.first__form .form-checkbox > div:has(input:checked) img {
    opacity: 1;
    filter: brightness(0) invert(1);
}
.first__form .form-checkbox p {
    font-weight: 500;
    font-size: 0.7291666667vw;
    line-height: 0.9895833333vw;
    letter-spacing: 0.03em;
    cursor: pointer;
    color: var(--text-main-color);
}
.first__form .form-checkbox p a {
    color: var(--main-color);
}
.first__form .form-checkbox p a:hover {
    text-decoration: underline;
}

/* =========================================================
   АДАПТИВ (планшет / мобилка)
   ========================================================= */
@media only screen and (max-width: 768px) {

    .wrapper { width: 86.25vw; }

    body {
        overflow-x: hidden;
        padding-top: 0;
    }

    //* ---- ШАПКА (мобилка) — на фоне картинки, без плашки ---- */
    .header {
        padding: 4vw 0;
        position: absolute;      /* лежит поверх картинки первого экрана */
        top: 0; left: 0; right: 0;
        z-index: 50;
        background-color: transparent;  /* убрали тёмную плашку */
    }
    .header__top .wrapper {
        padding-bottom: 0;
        border-bottom: none;
    }
    .header__text,
    .header__address,
    .header__download,
    .header__social,
    .header__contacts { display: none; }

    .header__logo { width: auto; }
    .header__logo a img { width: 30vw; }

    /* Бургер показываем */
    .header__btn-wrap {
        display: block;
        background-color: #fff;
        padding: 2vw;
        border-radius: 5px;
    }
    .header__btn {
        width: 6.25vw;
        height: 5vw;
    }
    .header__btn span {
        height: 0.7vw;
    }
    .header__btn span:last-child { width: 6.25vw; }

    /* ---- ПЕРВЫЙ ЭКРАН (мобилка) ---- */
     .first {
        margin-top: 0;
        padding-top: 22vw;    /* место под логотип сверху */
        min-height: auto;
        padding-bottom: 8vw;
        margin-bottom: 7.8125vw;
    }

    .first__bg { top: 0; left: 0; right: 0; bottom: 0; height: auto; }
    .first__bg::after {
        background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 100%);
    }

    .first.md-first-with-form .wrapper {
        flex-direction: column;
        padding-top: 0;
    }
    .first.md-first-with-form .first__content { width: 100%; }

    .first__content {
        padding-top: 4vw;
        padding-bottom: 4vw;
    }

    .first__title {
        width: 100%;
        font-size: 7.5vw;
        line-height: 9.5vw;
        text-align: center;
        margin-bottom: 4vw;
    }

    .first__text { margin-bottom: 6vw; }
    .first__text p {
        width: 100%;
        text-align: center;
        font-size: 3.75vw;
        line-height: 5.625vw;
    }

    /* Буллеты — в ряд по 3 */
    .first__bullets {
        justify-content: space-between;
        margin-bottom: 8vw;
        max-width: 100%;
    }
    .bullets-item {
        max-width: 30%;
        margin-left: 0;
        align-items: center;
        text-align: center;
    }
    .bullets-item > img {
        width: 6vw;
        height: 6vw;
        margin-bottom: 2.5vw;
    }
    .bullets-item p {
        font-size: 2.6vw;
        line-height: 3.4vw;
        text-align: center;
    }

    /* Форма — на всю ширину */
    .first__form {
        width: 100%;
        border-radius: var(--brad-regular);
        padding: 7.8125vw 4.6875vw 8vw 4.6875vw;
    }
    .first__form .form-title {
        flex-direction: column;
    }
    .first__form .form-title p {
        width: 100%;
        text-align: center;
        font-size: 5vw;
        line-height: 6vw;
    }
    .first__form .form-img {
        width: 46vw;
        margin-top: 4vw;
    }
    .first__form .form-text {
        font-size: 3.75vw;
        line-height: 5vw;
        margin-bottom: 3vw;
    }

    .md-standart-form .form-select,
    .md-standart-form .form-input {
        width: 100%;
        height: 18.75vw;
        font-size: 3.75vw;
        padding: 0 6vw;
        line-height: 18.75vw;
        margin-bottom: 3vw;
        background-position: right 6vw center;
        background-size: 3vw auto;
    }
    .md-standart-form .form-input { line-height: normal; }

    .md-main-color-btn {
        height: 18.75vw;
        padding: 0 6vw;
    }
    .md-main-color-btn:hover { padding: 0 6vw; }
    .md-main-color-btn span {
        font-size: 3.75vw;
    }

    .first__form .form-container .form-btn:hover { padding: 0 6vw; }

    .first__form .form-checkbox {
        justify-content: center;
    }
    .first__form .form-checkbox > div {
        width: 4vw;
        height: 4vw;
        margin-right: 2vw;
    }
    .first__form .form-checkbox > div img {
        width: 1.6vw;
        height: 1.3vw;
    }
    .first__form .form-checkbox p {
        width: 60vw;
        font-size: 2.8vw;
        line-height: 3.6vw;
    }
}
/* =========================================================
   ПОРТФОЛИО / НАШИ РАБОТЫ (карточки объектов)
   ========================================================= */
.portfolio-cards {
    padding: 4vw 0;
    position: relative;
}

/* ---- ЗАГОЛОВОК блока (слева заголовок, справа подпись) ---- */
.portfolio-cards__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 3.125vw;
}

/* Большой заголовок слева */
.portfolio-cards__title {
    width: 52vw;
    font-weight: 200;                 /* тонкое начертание, как в референсе */
    font-size: 3.125vw;
    line-height: 4.1666666667vw;
    letter-spacing: 0.02em;
    color: var(--text-main-color);
    text-align: left;
}
.portfolio-cards__title b {
    font-weight: 700;
    color: var(--main-color);         /* бежево-золотой акцент */
}

/* Подпись справа со стрелкой */
.portfolio-cards__hint {
    display: flex;
    align-items: center;
    padding-top: 0.9vw;
}
.portfolio-cards__hint-line {
    width: 4.6875vw;
    height: 0.42vw;
    margin-right: 1.04vw;
    flex-shrink: 0;
    object-fit: contain;
}
.portfolio-cards__hint p {
    font-weight: 400;
    font-size: 1.04vw;
    line-height: 1.45vw;
    letter-spacing: 0.02em;
    color: #9a9a9a;
}


/* сетка по 2 карточки в ряд */
.portfolio-cards__container {
    display: flex;
    flex-wrap: wrap;
    gap: 3.125vw 4.16vw;
    margin-bottom: 3.125vw;
}

.portfolio-cards__item {
    width: calc(50% - 2.08vw);
    display: flex;
    flex-direction: column;
}

/* ---- ГАЛЕРЕЯ ---- */
.pcard-gallery {
    width: 100%;
    margin-bottom: 1.82vw;
}

/* Главное фото */
.pcard-gallery__main {
    display: block;
    width: 100%;
    height: 26.04vw;
    border-radius: var(--brad-regular);
    overflow: hidden;
    position: relative;
    margin-bottom: 0.83vw;
}
.pcard-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}
.pcard-gallery__main:hover img {
    transform: scale(1.04);
}

/* Метка "+3 фото" */
.pcard-gallery__count {
    position: absolute;
    top: 1.35vw;
    left: 1.35vw;
    z-index: 3;
    padding: 0.5vw 1vw;
    background-color: var(--main-color);
    color: #fff;
    border-radius: var(--brad-regular);
    font-size: 0.83vw;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Кнопка видео */
.pcard-gallery__video {
    position: absolute;
    top: 1.35vw;
    right: 1.35vw;
    z-index: 3;
    width: 3.125vw;
    height: 3.125vw;
    border-radius: 50%;
    background-color: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pcard-gallery__video::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background-color: var(--main-color);
    z-index: -1;
    animation: pulse_2_small 2s linear infinite;
}
.pcard-gallery__video svg {
    width: 0.7vw;
    height: 0.8vw;
    margin-left: 0.15vw;
}

/* Миниатюры */
.pcard-gallery__thumbs {
    display: flex;
    justify-content: space-between;
    gap: 0.83vw;
}
.pcard-gallery__thumbs a {
    flex: 1;
    height: 6.5vw;
    border-radius: var(--brad-regular);
    overflow: hidden;
    display: block;
    transition: 0.3s;
}
.pcard-gallery__thumbs a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pcard-gallery__thumbs a:hover {
    opacity: 0.85;
}

/* ---- ИНФО ---- */
.pcard-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pcard-info__title {
    font-weight: 700;
    font-size: 1.875vw;
    line-height: 2.34vw;
    letter-spacing: 0.02em;
    margin-bottom: 1.3vw;
}

.pcard-info__list {
    list-style: none;
    margin-bottom: 1.56vw;
    flex-grow: 1;
}
.pcard-info__list li {
    font-size: 1.04vw;
    line-height: 1.82vw;
    letter-spacing: 0.02em;
    color: var(--text-main-color);
}
.pcard-info__list li span {
    font-weight: 700;
}

/* Ссылка "смотреть подробнее" */
.pcard-info__link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.94vw;
    letter-spacing: 0.04em;
    color: var(--main-color);
    align-self: flex-start;
}
.pcard-info__link span {
    margin-right: 0.52vw;
    transition: 0.3s;
}
.pcard-info__link svg {
    width: 1vw;
    height: 1vw;
    object-fit: contain;
}
.pcard-info__link:hover span {
    margin-right: 0.83vw;
}

/* Кнопка "смотреть все" */
.portfolio-cards__more {
    width: 20.83vw;
    margin: 0 auto;
}

/* =========================================================
   АДАПТИВ портфолио
   ========================================================= */
@media only screen and (max-width: 768px) {

    .portfolio-cards {
        padding: 10vw 0;
    }
    .portfolio-cards__title {
        margin-bottom: 6vw;
    }

    .portfolio-cards__container {
        flex-direction: column;
        gap: 10vw;
        margin-bottom: 8vw;
    }
    .portfolio-cards__item {
        width: 100%;
    }

    /* галерея */
    .pcard-gallery {
        margin-bottom: 4vw;
    }
    .pcard-gallery__main {
        height: 55vw;
        margin-bottom: 2vw;
    }
    .pcard-gallery__count {
        top: 3vw;
        left: 3vw;
        padding: 1.5vw 3vw;
        font-size: 3vw;
    }
    .pcard-gallery__video {
        top: 3vw;
        right: 3vw;
        width: 10vw;
        height: 10vw;
    }
    .pcard-gallery__video svg {
        width: 2.2vw;
        height: 2.6vw;
    }
    .pcard-gallery__thumbs {
        gap: 2vw;
    }
    .pcard-gallery__thumbs a {
        height: 15vw;
    }

    /* инфо */
    .pcard-info__title {
        font-size: 5.5vw;
        line-height: 7vw;
        margin-bottom: 3vw;
    }
    .pcard-info__list {
        margin-bottom: 4vw;
    }
    .pcard-info__list li {
        font-size: 3.5vw;
        line-height: 6vw;
    }
    .pcard-info__link {
        font-size: 3.5vw;
    }
    .pcard-info__link span {
        margin-right: 1.5vw;
    }
    .pcard-info__link svg {
        width: 3.5vw;
        height: 3.5vw;
    }

    .portfolio-cards__more {
        width: 100%;
    }
}
/* =========================================================
   ЭТАПЫ РАБОТ
   ========================================================= */
.stages {
    padding: 4vw 0;
    background-color: #f5f1ec; /* светло-бежевый фон */
    position: relative;
}

/* ---- ЗАГОЛОВОК (слева заголовок, справа подпись) ---- */
.stages__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 3.125vw;
}
.stages__head-title {
    width: 52vw;
    font-weight: 200;
    font-size: 3.125vw;
    line-height: 4.1666666667vw;
    letter-spacing: 0.02em;
    color: var(--text-main-color);
    text-align: left;
}
.stages__head-title b {
    font-weight: 700;
    color: var(--main-color);
}
.stages__head-hint {
    display: flex;
    align-items: center;
    padding-top: 0.9vw;
}
.stages__head-line {
    width: 4.6875vw;
    height: 0.42vw;
    margin-right: 1.04vw;
    flex-shrink: 0;
    object-fit: contain;
}
.stages__head-hint p {
    font-weight: 400;
    font-size: 1.04vw;
    line-height: 1.45vw;
    letter-spacing: 0.02em;
    color: #9a9a9a;
}

/* ---- ВЕРХНЯЯ НАВИГАЦИЯ ---- */
.stages__nav {
    border-bottom: 0.0520833333vw solid rgba(28,28,28,0.12);
    padding-bottom: 1.82vw;
    margin-bottom: 3.125vw;
}
.stages__tabs {
    display: flex;
    justify-content: space-between;
}
.stages__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-bottom: 1.82vw;
    transition: 0.3s;
}
.stages__tab-num {
    font-size: 1.56vw;
    font-weight: 400;
    color: #b9b0a4;
    margin-bottom: 0.5vw;
    transition: 0.3s;
}
.stages__tab-title {
    font-size: 1.25vw;
    font-weight: 400;
    color: var(--text-main-color);
    transition: 0.3s;
    text-align: center;
}
.stages__tab.active .stages__tab-num {
    color: var(--main-color);
    font-weight: 700;
}
.stages__tab.active .stages__tab-title {
    font-weight: 700;
    color: var(--main-color);
}
.stages__tab.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1.85vw;
    height: 0.2vw;
    background-color: var(--main-color);
}
.stages__tab:hover .stages__tab-title { color: var(--main-color); }

/* ---- КОНТЕНТ ---- */
.stages__panel {
    display: none;
    justify-content: space-between;
    align-items: flex-start;
}
.stages__panel.active {
    display: flex;
    animation: fadeInUp 0.6s ease forwards;
}

/* Левая часть — инфо */
.stages__info {
    width: 45vw;
    padding-top: 1vw;
}
.stages__title {
    font-weight: 700;
    font-size: 2.86vw;
    line-height: 3.4vw;
    letter-spacing: 0.02em;
    margin-bottom: 2vw;
    color: var(--text-main-color);
}
.stages__subtitle {
    font-size: 1.25vw;
    font-weight: 600;
    margin-bottom: 1.3vw;
    color: var(--text-main-color);
}
.stages__list {
    list-style: none;
    margin-bottom: 1.5vw;
}
.stages__list li {
    position: relative;
    padding-left: 1.8vw;
    font-size: 1.04vw;
    line-height: 1.9vw;
    letter-spacing: 0.02em;
    color: #454545;
    margin-bottom: 0.6vw;
}
.stages__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7vw;
    width: 0.5vw;
    height: 0.5vw;
    border-radius: 50%;
    background-color: var(--main-color);
}
.stages__note {
    font-size: 1.04vw;
    line-height: 1.6vw;
    color: var(--main-color);
    font-weight: 600;
    margin-bottom: 2vw;
}

/* Низ: кнопка + контакт */
.stages__bottom {
    display: flex;
    align-items: center;
    gap: 1.8vw;
}
.stages__btn {
    width: 20vw;
    flex-shrink: 0;
}

/* Иконка соцсети + текст (без анимации) */
.stages__contact {
    display: flex;
    align-items: center;
    gap: 1vw;
    max-width: 22vw;
}
.stages__contact-icon {
    width: 3.4vw;
    height: 3.4vw;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.stages__contact-icon img {
    width: 2.7vw;
    height: 2.7vw;
    object-fit: contain;
}
.stages__contact p {
    font-size: 0.83vw;
    line-height: 1.25vw;
    color: #666;
    letter-spacing: 0.01em;
}
.stages__contact p b {
    color: var(--text-main-color);
    font-weight: 700;
}
.stages__contact:hover .stages__contact-icon { transform: scale(1.08); }

/* Правая часть — одно фото */
.stages__image {
    width: 33vw;
    height: 33vw;
    border-radius: var(--brad-regular);
    overflow: hidden;
}
.stages__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   АДАПТИВ этапов
   ========================================================= */
@media only screen and (max-width: 768px) {

    .stages { padding: 10vw 0; }

    /* заголовок */
    .stages__head {
        flex-direction: column;
        margin-bottom: 6vw;
    }
    .stages__head-title {
        width: 100%;
        font-size: 6.5vw;
        line-height: 8.5vw;
        margin-bottom: 4vw;
        text-align: center;
    }
    .stages__head-hint {
        justify-content: center;
        padding-top: 0;
    }
    .stages__head-line {
        width: 14vw;
        height: 2vw;
        margin-right: 3vw;
    }
    .stages__head-hint p {
        font-size: 3.5vw;
        line-height: 5vw;
        text-align: left;
    }

    /* навигация — горизонтальный скролл */
    .stages__nav {
        padding-bottom: 4vw;
        margin-bottom: 6vw;
    }
    .stages__tabs {
        overflow-x: auto;
        gap: 4vw;
        justify-content: flex-start;
        padding-bottom: 3vw;
    }
    .stages__tab {
        flex-shrink: 0;
        padding-bottom: 3vw;
    }
    .stages__tab-num {
        font-size: 4vw;
        margin-bottom: 1.5vw;
    }
    .stages__tab-title {
        font-size: 3.2vw;
        white-space: nowrap;
    }
    .stages__tab.active::after {
        bottom: -3vw;
        height: 0.7vw;
    }

    /* контент в столбик */
    .stages__panel.active { flex-direction: column; }
    .stages__info {
        width: 100%;
        margin-bottom: 6vw;
    }
    .stages__title {
        font-size: 6vw;
        line-height: 8vw;
        margin-bottom: 4vw;
        text-align: center;
    }
    .stages__subtitle {
        font-size: 4.5vw;
        margin-bottom: 3vw;
        text-align: center;
    }
    .stages__list li {
        font-size: 3.5vw;
        line-height: 5.5vw;
        padding-left: 5vw;
        margin-bottom: 2vw;
    }
    .stages__list li::before {
        width: 1.8vw;
        height: 1.8vw;
        top: 2vw;
    }
    .stages__note {
        font-size: 3.5vw;
        line-height: 5vw;
        text-align: center;
        margin-bottom: 4vw;
    }

    /* низ: кнопка + контакт в столбик */
    .stages__bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 4vw;
    }
    .stages__btn { width: 100%; }
    .stages__contact {
        max-width: 100%;
        gap: 3vw;
    }
    .stages__contact-icon {
        width: 12vw;
        height: 12vw;
    }
    .stages__contact-icon img {
        width: 6vw;
        height: 6vw;
    }
    .stages__contact p {
        font-size: 3vw;
        line-height: 4.2vw;
    }

    /* одно фото */
    .stages__image {
        width: 100%;
        height: 60vw;
        margin-top: 2vw;
    }
}
/* =========================================================
   ЦЕНЫ
   ========================================================= */
.prices {
    padding: 4vw 0;
    background-color: #f9f9f9;
    position: relative;
}

/* ---- ЗАГОЛОВОК (как у портфолио и этапов) ---- */
.prices__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2vw;
}
.prices__head-title {
    width: 52vw;
    font-weight: 200;
    font-size: 3.125vw;
    line-height: 4.1666666667vw;
    letter-spacing: 0.02em;
    color: var(--text-main-color);
}
.prices__head-title b {
    font-weight: 700;
    color: var(--main-color);
}
.prices__head-hint {
    display: flex;
    align-items: center;
    padding-top: 0.9vw;
}
.prices__head-line {
    width: 4.6875vw;
    height: 0.42vw;
    margin-right: 1.04vw;
    flex-shrink: 0;
    object-fit: contain;
}
.prices__head-hint p {
    font-size: 1.04vw;
    line-height: 1.45vw;
    letter-spacing: 0.02em;
    color: #9a9a9a;
}

/* Вводный текст */
.prices__intro {
    max-width: 60vw;
    font-size: 1.04vw;
    line-height: 1.7vw;
    letter-spacing: 0.02em;
    color: #555;
    margin-bottom: 3.125vw;
}

/* Контейнер: карточки + форма */
.prices__container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2vw;
}

/* Карточки */
.prices__cards {
    display: flex;
    gap: 1.56vw;
    flex-grow: 1;
}
.price-card {
    flex: 1;
    background-color: #fff;
    border-radius: var(--brad-regular);
    padding: 2.34vw 1.82vw;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 0.0520833333vw solid #ededed;
    transition: 0.3s;
}
.price-card:hover {
    transform: translateY(-0.5vw);
    box-shadow: 0 1vw 3vw rgba(0,0,0,0.08);
}
.price-card--accent {
    background-color: var(--text-main-color);
    color: #fff;
    border-color: var(--text-main-color);
}
.price-card__label {
    position: absolute;
    top: -0.9vw;
    left: 1.82vw;
    background-color: var(--main-color);
    color: #fff;
    font-size: 0.78vw;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.4vw 1vw;
    border-radius: var(--brad-regular);
}
.price-card__name {
    font-size: 1.875vw;
    font-weight: 700;
    margin-bottom: 0.6vw;
}
.price-card__desc {
    font-size: 0.94vw;
    line-height: 1.4vw;
    color: #888;
    margin-bottom: 1.56vw;
    min-height: 4.2vw;
}
.price-card--accent .price-card__desc { color: #b9b9b9; }

.price-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.4vw;
    margin-bottom: 1.56vw;
    padding-bottom: 1.56vw;
    border-bottom: 0.0520833333vw solid #ededed;
}
.price-card--accent .price-card__price { border-color: rgba(255,255,255,0.15); }
.price-card__from {
    font-size: 1vw;
    color: #999;
}
.price-card__num {
    font-size: 2.5vw;
    font-weight: 700;
    color: var(--main-color);
}
.price-card__unit {
    font-size: 1vw;
    color: #999;
}

.price-card__list {
    list-style: none;
    margin-bottom: 2vw;
    flex-grow: 1;
}
.price-card__list li {
    position: relative;
    padding-left: 1.6vw;
    font-size: 0.94vw;
    line-height: 1.7vw;
    margin-bottom: 0.5vw;
}
.price-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6vw;
    width: 0.5vw;
    height: 0.5vw;
    border-radius: 50%;
    background-color: var(--main-color);
}

.price-card__btn {
    width: 100%;
    height: 3.9vw;
}

/* Форма справа */
.prices__form {
    width: 24vw;
    flex-shrink: 0;
    background-color: #fff;
    border-radius: var(--brad-regular);
    border: 0.0520833333vw solid #ededed;
    padding: 2.34vw 1.82vw;
    display: flex;
    flex-direction: column;
}
.prices__form-title {
    font-size: 1.56vw;
    font-weight: 700;
    margin-bottom: 0.8vw;
}
.prices__form-text {
    font-size: 0.94vw;
    line-height: 1.4vw;
    color: #888;
    margin-bottom: 1.56vw;
}
.prices__form .form-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 1vw;
}
.prices__form .form-input {
    width: 100%;
    height: 3.9vw;
    background-color: #f8f8f8;
    margin-bottom: 0.78vw;
}
.prices__form .form-btn { width: 100%; }

/* ---- ЧЕКБОКС В ФОРМЕ ЦЕН (как на первом экране) ---- */
.prices__form .form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 1.8vw;
}
.prices__form .form-checkbox > div {
    width: 1.0416666667vw;
    height: 1.0416666667vw;
    margin-right: 0.8333333333vw;
    border: 0.0520833333vw solid var(--main-color);
    border-radius: var(--brad-regular);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: 0.3s;
    cursor: pointer;
    flex-shrink: 0;
}
.prices__form .form-checkbox > div input {
    position: absolute;
    left: 0;
    bottom: 100%;
    display: none;
}
.prices__form .form-checkbox > div img {
    width: 0.4166666667vw;
    height: 0.3125vw;
    opacity: 0;
    transition: 0.3s;
}
.prices__form .form-checkbox > div:has(input:checked) {
    background-color: var(--main-color);
}
.prices__form .form-checkbox > div:has(input:checked) img {
    opacity: 1;
    filter: brightness(0) invert(1);
}
.prices__form .form-checkbox p {
    font-weight: 500;
    font-size: 0.7291666667vw;
    line-height: 0.9895833333vw;
    letter-spacing: 0.03em;
    cursor: pointer;
    color: var(--text-main-color);
}
.prices__form .form-checkbox p a {
    color: var(--main-color);
}
.prices__form .form-checkbox p a:hover {
    text-decoration: underline;
}

/* Блок "по всем вопросам звоните" */
.prices__form-phone {
    margin-top: auto;
    padding-top: 1.56vw;
    border-top: 0.0520833333vw solid #ededed;
}
.prices__form-phone p {
    font-size: 0.83vw;
    color: #999;
    margin-bottom: 0.3vw;
}
.prices__form-phone a {
    font-size: 1.45vw;
    font-weight: 700;
    color: var(--text-main-color);
    transition: 0.3s;
}
.prices__form-phone a:hover { color: var(--main-color); }

/* =========================================================
   АДАПТИВ цен
   ========================================================= */
@media only screen and (max-width: 768px) {

    .prices { padding: 10vw 0; }

    /* заголовок */
    .prices__head {
        flex-direction: column;
        margin-bottom: 5vw;
    }
    .prices__head-title {
        width: 100%;
        font-size: 6.5vw;
        line-height: 8.5vw;
        margin-bottom: 4vw;
        text-align: center;
    }
    .prices__head-hint {
        justify-content: center;
        padding-top: 0;
    }
    .prices__head-line {
        width: 14vw;
        height: 2vw;
        margin-right: 3vw;
    }
    .prices__head-hint p {
        font-size: 3.5vw;
        line-height: 5vw;
    }

    .prices__intro {
        max-width: 100%;
        font-size: 3.5vw;
        line-height: 5.5vw;
        text-align: center;
        margin-bottom: 7vw;
    }

    /* всё в столбик */
    .prices__container {
        flex-direction: column;
        gap: 5vw;
    }
    .prices__cards {
        flex-direction: column;
        gap: 6vw;
    }
    .price-card {
        padding: 7vw 5vw;
    }
    .price-card--accent { margin-top: 3vw; }
    .price-card__label {
        top: -3vw;
        left: 5vw;
        font-size: 2.8vw;
        padding: 1.2vw 3vw;
    }
    .price-card__name {
        font-size: 6vw;
        margin-bottom: 2vw;
    }
    .price-card__desc {
        font-size: 3.5vw;
        line-height: 5vw;
        margin-bottom: 4vw;
        min-height: auto;
    }
    .price-card__price {
        gap: 1.5vw;
        margin-bottom: 4vw;
        padding-bottom: 4vw;
    }
    .price-card__from,
    .price-card__unit { font-size: 3.5vw; }
    .price-card__num { font-size: 8vw; }

    .price-card__list { margin-bottom: 5vw; }
    .price-card__list li {
        font-size: 3.5vw;
        line-height: 5.5vw;
        padding-left: 5vw;
        margin-bottom: 1.5vw;
    }
    .price-card__list li::before {
        width: 1.8vw;
        height: 1.8vw;
        top: 2vw;
    }
    .price-card__btn { height: 15vw; }

    /* форма */
    .prices__form {
        width: 100%;
        padding: 7vw 5vw;
    }
    .prices__form-title {
        font-size: 5.5vw;
        margin-bottom: 2vw;
        text-align: center;
    }
    .prices__form-text {
        font-size: 3.5vw;
        line-height: 5vw;
        text-align: center;
        margin-bottom: 5vw;
    }
    .prices__form .form-input { height: 15vw; }

    /* чекбокс */
    .prices__form .form-checkbox {
        justify-content: center;
    }
    .prices__form .form-checkbox > div {
        width: 4vw;
        height: 4vw;
        margin-right: 2vw;
    }
    .prices__form .form-checkbox > div img {
        width: 1.6vw;
        height: 1.3vw;
    }
    .prices__form .form-checkbox p {
        width: 60vw;
        font-size: 2.8vw;
        line-height: 3.6vw;
    }

    .prices__form-phone {
        padding-top: 5vw;
        text-align: center;
    }
    .prices__form-phone p { font-size: 3vw; }
    .prices__form-phone a { font-size: 5.5vw; }
}
/* =========================================================
   О НАС
   ========================================================= */
.about {
    padding: 4vw 0;
    background-color: #f9f9f9;
    position: relative;
}

/* ---- ЗАГОЛОВОК ---- */
.about__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2.5vw;
}
.about__head-title {
    width: 52vw;
    font-weight: 200;
    font-size: 3.125vw;
    line-height: 4.1666666667vw;
    letter-spacing: 0.02em;
    color: var(--text-main-color);
}
.about__head-title b {
    font-weight: 700;
    color: var(--main-color);
}
.about__head-hint {
    display: flex;
    align-items: center;
    padding-top: 0.9vw;
}
.about__head-line {
    width: 4.6875vw;
    height: 0.42vw;
    margin-right: 1.04vw;
    flex-shrink: 0;
    object-fit: contain;
}
.about__head-hint p {
    font-size: 1.04vw;
    line-height: 1.45vw;
    letter-spacing: 0.02em;
    color: #9a9a9a;
}

/* ---- ТЁМНАЯ ПЛАШКА ---- */
.about__box {
    background-color: var(--text-main-color); /* тёмный фон */
    border-radius: 1.56vw;
    padding: 3.65vw;
    color: #fff;
    position: relative;
    overflow: hidden;
}
/* декоративный акцент в углу */
.about__box::after {
    content: "";
    position: absolute;
    top: -6vw;
    right: -6vw;
    width: 20vw;
    height: 20vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,172,139,0.18) 0%, rgba(200,172,139,0) 70%);
    pointer-events: none;
}

/* Верхняя часть: заголовок + текст в 2 колонки */
.about__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3vw;
    position: relative;
    z-index: 2;
}
.about__title {
    width: 22vw;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 2.34vw;
    line-height: 2.86vw;
    letter-spacing: 0.02em;
    color: #fff;
}
.about__title span {
    color: var(--main-color);
}
.about__texts {
    flex-grow: 1;
}
.about__text {
    font-size: 1.04vw;
    line-height: 1.7vw;
    letter-spacing: 0.02em;
    color: #cfcfcf;
    margin-bottom: 1.3vw;
}
.about__text:last-child { margin-bottom: 0; }
.about__text b {
    color: #fff;
    font-weight: 700;
}

/* Цифры */
.about__numbers {
    display: flex;
    justify-content: space-between;
    gap: 2vw;
    margin: 2.6vw 0;
    padding: 2.34vw 0;
    border-top: 0.0520833333vw solid rgba(255,255,255,0.15);
    border-bottom: 0.0520833333vw solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 2;
}
.about__num-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.about__num {
    font-size: 3.65vw;
    font-weight: 700;
    line-height: 1;
    color: var(--main-color);
    margin-bottom: 0.6vw;
}
.about__num span {
    font-size: 2vw;
}
.about__num-text {
    font-size: 0.9vw;
    line-height: 1.25vw;
    color: #b9b9b9;
}

/* Нижняя часть: список + кнопка */
.about__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3vw;
    position: relative;
    z-index: 2;
}
.about__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1vw 3vw;
    flex-grow: 1;
}
.about__list li {
    position: relative;
    padding-left: 1.8vw;
    font-size: 1.04vw;
    line-height: 1.6vw;
    color: #e5e5e5;
    width: calc(50% - 1.5vw);
}
.about__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5vw;
    width: 0.5vw;
    height: 0.5vw;
    border-radius: 50%;
    background-color: var(--main-color);
}
.about__btn {
    width: 22vw;
    flex-shrink: 0;
}

/* =========================================================
   АДАПТИВ «О нас»
   ========================================================= */
@media only screen and (max-width: 768px) {

    .about { padding: 10vw 0; }

    /* заголовок */
    .about__head {
        flex-direction: column;
        margin-bottom: 6vw;
    }
    .about__head-title {
        width: 100%;
        font-size: 6.5vw;
        line-height: 8.5vw;
        margin-bottom: 4vw;
        text-align: center;
    }
    .about__head-hint {
        justify-content: center;
        padding-top: 0;
    }
    .about__head-line {
        width: 14vw;
        height: 2vw;
        margin-right: 3vw;
    }
    .about__head-hint p {
        font-size: 3.5vw;
        line-height: 5vw;
    }

    /* плашка */
    .about__box {
        border-radius: 5vw;
        padding: 8vw 6vw;
    }
    .about__box::after {
        top: -20vw;
        right: -20vw;
        width: 60vw;
        height: 60vw;
    }

    /* верх в столбик */
    .about__top {
        flex-direction: column;
        gap: 4vw;
    }
    .about__title {
        width: 100%;
        font-size: 6vw;
        line-height: 7.5vw;
        text-align: center;
    }
    .about__text {
        font-size: 3.6vw;
        line-height: 5.6vw;
        margin-bottom: 3vw;
    }

    /* цифры 2x2 */
    .about__numbers {
        flex-wrap: wrap;
        gap: 6vw 0;
        margin: 6vw 0;
        padding: 6vw 0;
    }
    .about__num-item {
        width: 50%;
        align-items: center;
        text-align: center;
    }
    .about__num {
        font-size: 10vw;
        margin-bottom: 1.5vw;
    }
    .about__num span { font-size: 6vw; }
    .about__num-text {
        font-size: 3vw;
        line-height: 4vw;
        text-align: center;
    }

    /* низ в столбик */
    .about__bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 6vw;
    }
    .about__list {
        flex-direction: column;
        gap: 2.5vw;
    }
    .about__list li {
        width: 100%;
        font-size: 3.6vw;
        line-height: 5vw;
        padding-left: 5vw;
    }
    .about__list li::before {
        width: 1.8vw;
        height: 1.8vw;
        top: 1.6vw;
    }
    .about__btn {
        width: 100%;
        height: 15vw;
    }
}
/* =========================================================
   ОТЗЫВЫ (бегущая строка, текст)
   ========================================================= */
.reviews-text {
    padding: 4vw 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

/* ---- ЗАГОЛОВОК ---- */
.reviews-text__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 3.125vw;
}
.reviews-text__head-title {
    width: 52vw;
    font-weight: 200;
    font-size: 3.125vw;
    line-height: 4.1666666667vw;
    letter-spacing: 0.02em;
    color: var(--text-main-color);
}
.reviews-text__head-title b {
    font-weight: 700;
    color: var(--main-color);
}
.reviews-text__head-hint {
    display: flex;
    align-items: center;
    padding-top: 0.9vw;
}
.reviews-text__head-line {
    width: 4.6875vw;
    height: 0.42vw;
    margin-right: 1.04vw;
    flex-shrink: 0;
    object-fit: contain;
}
.reviews-text__head-hint p {
    font-size: 1.04vw;
    line-height: 1.45vw;
    letter-spacing: 0.02em;
    color: #9a9a9a;
}

/* ---- БЕГУЩАЯ СТРОКА ---- */
.reviews-marquee {
    width: 100%;
    overflow: hidden;
    margin-bottom: 1.56vw;
    /* градиенты по краям для мягкого затухания */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.reviews-marquee:last-child { margin-bottom: 0; }

.reviews-marquee__track {
    display: flex;
    gap: 1.56vw;
    width: max-content;
}
/* ряд 1 — влево */
.reviews-marquee__track--left {
    animation: marquee-left 40s linear infinite;
}
/* ряд 2 — вправо */
.reviews-marquee__track--right {
    animation: marquee-right 45s linear infinite;
}
/* пауза при наведении */
.reviews-marquee:hover .reviews-marquee__track {
    animation-play-state: paused;
}

@keyframes marquee-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes marquee-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

/* ---- КАРТОЧКА ОТЗЫВА ---- */
.review-card {
    width: 26vw;
    flex-shrink: 0;
    background-color: #f9f9f9;
    border: 0.0520833333vw solid #ededed;
    border-radius: var(--brad-regular);
    padding: 2.08vw 2.08vw 1.82vw;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}
.review-card:hover {
    border-color: var(--main-color);
    box-shadow: 0 0.5vw 2vw rgba(0,0,0,0.06);
}
.review-card__quote {
    font-family: Georgia, serif;
    font-size: 3.5vw;
    line-height: 1;
    color: var(--main-color);
    height: 2vw;
    display: block;
    margin-bottom: 0.5vw;
}
.review-card__text {
    font-size: 1.04vw;
    line-height: 1.7vw;
    letter-spacing: 0.01em;
    color: #454545;
    flex-grow: 1;
    margin-bottom: 1.56vw;
}
.review-card__author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.04vw;
    border-top: 0.0520833333vw solid #ededed;
}
.review-card__name {
    font-size: 1.15vw;
    font-weight: 700;
    color: var(--text-main-color);
}
.review-card__city {
    display: flex;
    align-items: center;
    font-size: 0.9vw;
    color: #9a9a9a;
}
.review-card__city::before {
    content: "";
    width: 0.42vw;
    height: 0.42vw;
    border-radius: 50%;
    background-color: var(--main-color);
    margin-right: 0.4vw;
}

/* =========================================================
   АДАПТИВ отзывов
   ========================================================= */
@media only screen and (max-width: 768px) {

    .reviews-text { padding: 10vw 0; }

    .reviews-text__head {
        flex-direction: column;
        margin-bottom: 6vw;
    }
    .reviews-text__head-title {
        width: 100%;
        font-size: 6.5vw;
        line-height: 8.5vw;
        margin-bottom: 4vw;
        text-align: center;
    }
    .reviews-text__head-hint {
        justify-content: center;
        padding-top: 0;
    }
    .reviews-text__head-line {
        width: 14vw;
        height: 2vw;
        margin-right: 3vw;
    }
    .reviews-text__head-hint p {
        font-size: 3.5vw;
        line-height: 5vw;
    }

    .reviews-marquee {
        margin-bottom: 4vw;
    }
    .reviews-marquee__track {
        gap: 4vw;
    }
    .reviews-marquee__track--left {
        animation-duration: 30s;
    }
    .reviews-marquee__track--right {
        animation-duration: 34s;
    }

    .review-card {
        width: 75vw;
        padding: 6vw 6vw 5vw;
    }
    .review-card__quote {
        font-size: 12vw;
        height: 7vw;
        margin-bottom: 1.5vw;
    }
    .review-card__text {
        font-size: 3.6vw;
        line-height: 5.6vw;
        margin-bottom: 5vw;
    }
    .review-card__author {
        padding-top: 4vw;
    }
    .review-card__name {
        font-size: 4vw;
    }
    .review-card__city {
        font-size: 3vw;
    }
    .review-card__city::before {
        width: 1.5vw;
        height: 1.5vw;
        margin-right: 1.5vw;
    }
}
/* =========================================================
   ГАЛЕРЕЯ РАБОТ
   ========================================================= */
.gallery {
    padding: 4vw 0;
    background-color: #f9f9f9;
    position: relative;
}

/* ---- ЗАГОЛОВОК ---- */
.gallery__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 3.125vw;
}
.gallery__head-title {
    width: 52vw;
    font-weight: 200;
    font-size: 3.125vw;
    line-height: 4.1666666667vw;
    letter-spacing: 0.02em;
    color: var(--text-main-color);
}
.gallery__head-title b {
    font-weight: 700;
    color: var(--main-color);
}
.gallery__head-hint {
    display: flex;
    align-items: center;
    padding-top: 0.9vw;
}
.gallery__head-line {
    width: 4.6875vw;
    height: 0.42vw;
    margin-right: 1.04vw;
    flex-shrink: 0;
    object-fit: contain;
}
.gallery__head-hint p {
    font-size: 1.04vw;
    line-height: 1.45vw;
    letter-spacing: 0.02em;
    color: #9a9a9a;
}

/* ---- СЕТКА ---- */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.04vw;
    margin-bottom: 3.125vw;
}

.gallery__item {
    display: block;
    position: relative;
    height: 30vw;
    border-radius: var(--brad-regular);
    overflow: hidden;
    cursor: pointer;
}
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}
/* затемнение при наведении */
.gallery__item::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.35);
    opacity: 0;
    transition: 0.3s;
    z-index: 1;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover img { transform: scale(1.06); }

/* иконка увеличения */
.gallery__zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 3.65vw;
    height: 3.65vw;
    border-radius: 50%;
    background-color: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    transition: 0.3s;
}
.gallery__item:hover .gallery__zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.gallery__zoom svg {
    width: 1.25vw;
    height: 1.25vw;
    object-fit: contain;
}

/* Кнопка */
.gallery__more {
    width: 22vw;
    margin: 0 auto;
}

/* =========================================================
   АДАПТИВ галереи
   ========================================================= */
@media only screen and (max-width: 768px) {

    .gallery { padding: 10vw 0; }

    /* заголовок */
    .gallery__head {
        flex-direction: column;
        margin-bottom: 6vw;
    }
    .gallery__head-title {
        width: 100%;
        font-size: 6.5vw;
        line-height: 8.5vw;
        margin-bottom: 4vw;
        text-align: center;
    }
    .gallery__head-hint {
        justify-content: center;
        padding-top: 0;
    }
    .gallery__head-line {
        width: 14vw;
        height: 2vw;
        margin-right: 3vw;
    }
    .gallery__head-hint p {
        font-size: 3.5vw;
        line-height: 5vw;
    }

    /* сетка 2 колонки */
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3vw;
        margin-bottom: 8vw;
    }
    .gallery__item {
        height: 55vw;
    }
    .gallery__zoom {
        width: 12vw;
        height: 12vw;
    }
    .gallery__zoom svg {
        width: 5vw;
        height: 5vw;
    }

    .gallery__more {
        width: 100%;
        height: 15vw;
    }
}
/* =========================================================
   БЛОК С ВИДЕО ДВЕРИ (плашка на весь экран)
   ========================================================= */
.door-video {
    background-color: #fff;      /* белый фон секции */
    padding: 4vw 0;
    position: relative;
}

/* Тёмная скруглённая плашка */
.door-video__box {
    position: relative;          /* точка отсчёта для видео */
    width: 100%;                 /* на всю ширину wrapper */
    height: 42vw;                /* фиксированная высота плашки */
    background-color: #1f1f1f;
    border-radius: 1.56vw;
    overflow: hidden;            /* обрезаем всё лишнее по краям */
    box-shadow: 0 1.5vw 4vw rgba(0,0,0,0.18);
    isolation: isolate;          /* фикс для Safari/Chrome */
}

/* Видео жёстко вписано внутрь плашки */
.door-video__media {
    position: absolute;
    top: 0;
    left: 50%;                       /* центр по горизонтали */
    transform: translateX(-50%);     /* сдвиг на половину своей ширины */
    width: 48%;                      /* ширина видео */
    height: 100%;                    /* по высоте плашки */
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 1.56vw;
    pointer-events: none;
    z-index: 1;
}

/* Стикер-кнопка поверх видео (по центру) */
.door-video__sticker {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    cursor: pointer;
    display: block;
    width: 12vw;
    height: 12vw;
    animation: door-sticker-pulse 2.2s ease-in-out infinite;
    transition: transform 0.3s ease;
}
.door-video__sticker img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.door-video__sticker:hover {
    transform: translate(-50%, -50%) scale(1.08);
    animation-play-state: paused;
}

/* Пульсация стикера */
@keyframes door-sticker-pulse {
    0%   { transform: translate(-50%, -50%) scale(1); }
    50%  { transform: translate(-50%, -50%) scale(1.05); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media only screen and (max-width: 768px) {
    .door-video {
        padding: 10vw 0;
    }
    .door-video__box {
        width: 100%;
        height: 120vw;
        border-radius: 5vw;
        box-shadow: 0 4vw 10vw rgba(0,0,0,0.2);
    }
    .door-video__media {
        width: 100%;                 /* на мобилке во всю ширину */
        left: 50%;
        transform: translateX(-50%);
        border-radius: 5vw;
    }
    .door-video__sticker {
        width: 35vw;
        height: 35vw;
    }
    @keyframes door-sticker-pulse {
        0%   { transform: translate(-50%, -50%) scale(1); }
        50%  { transform: translate(-50%, -50%) scale(1.06); }
        100% { transform: translate(-50%, -50%) scale(1); }
    }
    .door-video__sticker:hover {
        transform: translate(-50%, -50%) scale(1.06);
    }
}
/* =========================================================
   КОНТАКТЫ
   ========================================================= */
.contacts-info {
    padding: 4vw 0;
    background-color: #f9f9f9;
    position: relative;
}

/* ---- ЗАГОЛОВОК ---- */
.contacts-info__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 3vw;
}
.contacts-info__head-title {
    width: 52vw;
    font-weight: 200;
    font-size: 3.125vw;
    line-height: 4.1666666667vw;
    letter-spacing: 0.02em;
    color: var(--text-main-color);
}
.contacts-info__head-title b {
    font-weight: 700;
    color: var(--main-color);
}
.contacts-info__head-hint {
    display: flex;
    align-items: center;
    padding-top: 0.9vw;
}
.contacts-info__head-line {
    width: 4.6875vw;
    height: 0.42vw;
    margin-right: 1.04vw;
    flex-shrink: 0;
    object-fit: contain;
}
.contacts-info__head-hint p {
    font-size: 1.04vw;
    line-height: 1.45vw;
    letter-spacing: 0.02em;
    color: #9a9a9a;
}

/* ---- КОНТЕЙНЕР ---- */
.contacts-info__container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2vw;
}

/* Левая часть — данные */
.contacts-info__data {
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 2vw 3vw;
    align-content: flex-start;
    background-color: #fff;
    border: 0.0520833333vw solid #ededed;
    border-radius: var(--brad-regular);
    padding: 2.6vw;
}

/* Пункт контакта */
.contacts-info__item {
    display: flex;
    align-items: flex-start;
    gap: 1vw;
    width: calc(50% - 1.5vw);
}
.contacts-info__icon {
    width: 3.4vw;
    height: 3.4vw;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #f5f1ec;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contacts-info__text {
    display: flex;
    flex-direction: column;
}
.contacts-info__text span {
    font-size: 0.83vw;
    color: #9a9a9a;
    margin-bottom: 0.3vw;
}
.contacts-info__text a {
    font-size: 1.15vw;
    font-weight: 700;
    color: var(--text-main-color);
    transition: 0.3s;
    margin-bottom: 0.2vw;
}
.contacts-info__text a:hover { color: var(--main-color); }
.contacts-info__text p {
    font-size: 1.04vw;
    line-height: 1.5vw;
    color: var(--text-main-color);
}

/* Реквизиты */
.contacts-info__requisites {
    width: 100%;
    padding-top: 1.5vw;
    border-top: 0.0520833333vw solid #ededed;
}
.contacts-info__req-title {
    font-size: 1.15vw;
    font-weight: 700;
    margin-bottom: 0.8vw;
    color: var(--text-main-color);
}
.contacts-info__requisites ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6vw 3vw;
}
.contacts-info__requisites li {
    font-size: 0.94vw;
    line-height: 1.5vw;
    color: #555;
    width: calc(50% - 1.5vw);
}
.contacts-info__requisites li span {
    font-weight: 700;
    color: var(--text-main-color);
}

/* Соцсети */
.contacts-info__social {
    width: 100%;
    padding-top: 1.5vw;
    border-top: 0.0520833333vw solid #ededed;
    display: flex;
    align-items: center;
    gap: 1.5vw;
}
.contacts-info__social p {
    font-size: 1.04vw;
    color: var(--text-main-color);
}
.contacts-info__social p b { font-weight: 700; }
.contacts-info__social-links {
    display: flex;
    gap: 0.6vw;
}
.contacts-info__social-links a {
    width: 2.6vw;
    height: 2.6vw;
    transition: 0.3s;
}
.contacts-info__social-links a:hover { transform: scale(1.15); }
.contacts-info__social-links a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Правая часть — форма */
.contacts-info__form {
    width: 24vw;
    flex-shrink: 0;
    background-color: var(--text-main-color);
    border-radius: var(--brad-regular);
    padding: 2.6vw 1.82vw;
    color: #fff;
    display: flex;
    flex-direction: column;
}
.contacts-info__form-title {
    font-size: 1.56vw;
    font-weight: 700;
    margin-bottom: 0.8vw;
    color: #fff;
}
.contacts-info__form-text {
    font-size: 0.94vw;
    line-height: 1.4vw;
    color: #b9b9b9;
    margin-bottom: 1.56vw;
}
.contacts-info__form .form-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 1vw;
}
.contacts-info__form .form-input {
    width: 100%;
    height: 3.9vw;
    background-color: #fff;
    color: var(--text-main-color);
    margin-bottom: 0.78vw;
    border-radius: var(--brad-regular);
    padding: 0 1.5vw;
    font-size: 0.9375vw;
    border: none;
}
.contacts-info__form .form-input::placeholder { color: #999; }
.contacts-info__form .form-btn { width: 100%; }

/* чекбокс (как на первом экране) */
.contacts-info__form .form-checkbox {
    display: flex;
    align-items: center;
}
.contacts-info__form .form-checkbox > div {
    width: 1.0416666667vw;
    height: 1.0416666667vw;
    margin-right: 0.8333333333vw;
    border: 0.0520833333vw solid var(--main-color);
    border-radius: var(--brad-regular);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: 0.3s;
    cursor: pointer;
    flex-shrink: 0;
}
.contacts-info__form .form-checkbox > div input {
    position: absolute;
    left: 0;
    bottom: 100%;
    display: none;
}
.contacts-info__form .form-checkbox > div img {
    width: 0.4166666667vw;
    height: 0.3125vw;
    opacity: 0;
    transition: 0.3s;
}
.contacts-info__form .form-checkbox > div:has(input:checked) {
    background-color: var(--main-color);
}
.contacts-info__form .form-checkbox > div:has(input:checked) img {
    opacity: 1;
    filter: brightness(0) invert(1);
}
.contacts-info__form .form-checkbox p {
    font-size: 0.7291666667vw;
    line-height: 0.99vw;
    color: #b9b9b9;
    cursor: pointer;
}
.contacts-info__form .form-checkbox p a {
    color: var(--main-color);
}
.contacts-info__form .form-checkbox p a:hover { text-decoration: underline; }

/* =========================================================
   АДАПТИВ контактов
   ========================================================= */
@media only screen and (max-width: 768px) {

    .contacts-info { padding: 10vw 0; }

    /* заголовок */
    .contacts-info__head {
        flex-direction: column;
        margin-bottom: 6vw;
    }
    .contacts-info__head-title {
        width: 100%;
        font-size: 6.5vw;
        line-height: 8.5vw;
        margin-bottom: 4vw;
        text-align: center;
    }
    .contacts-info__head-hint {
        justify-content: center;
        padding-top: 0;
    }
    .contacts-info__head-line {
        width: 14vw;
        height: 2vw;
        margin-right: 3vw;
    }
    .contacts-info__head-hint p {
        font-size: 3.5vw;
        line-height: 5vw;
    }

    /* в столбик */
    .contacts-info__container {
        flex-direction: column;
        gap: 5vw;
    }
    .contacts-info__data {
        gap: 5vw 0;
        padding: 7vw 6vw;
    }
    .contacts-info__item {
        width: 100%;
        gap: 3vw;
    }
    .contacts-info__icon {
        width: 11vw;
        height: 11vw;
    }
    .contacts-info__icon svg {
        width: 6vw;
        height: 6vw;
    }
    .contacts-info__text span { font-size: 3vw; }
    .contacts-info__text a {
        font-size: 4.2vw;
        margin-bottom: 1vw;
    }
    .contacts-info__text p {
        font-size: 3.6vw;
        line-height: 5.2vw;
    }

    .contacts-info__requisites {
        padding-top: 5vw;
    }
    .contacts-info__req-title {
        font-size: 4.5vw;
        margin-bottom: 3vw;
    }
    .contacts-info__requisites ul {
        flex-direction: column;
        gap: 2vw;
    }
    .contacts-info__requisites li {
        width: 100%;
        font-size: 3.5vw;
        line-height: 5vw;
    }

    .contacts-info__social {
        flex-direction: column;
        align-items: flex-start;
        gap: 3vw;
        padding-top: 5vw;
    }
    .contacts-info__social p { font-size: 4vw; }
    .contacts-info__social-links a {
        width: 11vw;
        height: 11vw;
    }

    /* форма */
    .contacts-info__form {
        width: 100%;
        padding: 8vw 6vw;
    }
    .contacts-info__form-title {
        font-size: 5.5vw;
        margin-bottom: 2vw;
        text-align: center;
    }
    .contacts-info__form-text {
        font-size: 3.5vw;
        line-height: 5vw;
        text-align: center;
        margin-bottom: 5vw;
    }
    .contacts-info__form .form-input {
        height: 15vw;
        font-size: 3.75vw;
        padding: 0 5vw;
    }

    .contacts-info__form .form-checkbox {
        justify-content: center;
    }
    .contacts-info__form .form-checkbox > div {
        width: 4vw;
        height: 4vw;
        margin-right: 2vw;
    }
    .contacts-info__form .form-checkbox > div img {
        width: 1.6vw;
        height: 1.3vw;
    }
    .contacts-info__form .form-checkbox p {
        width: 60vw;
        font-size: 2.8vw;
        line-height: 3.6vw;
    }
}
/* =========================================================
   POP-UP: ОСТАВИТЬ ЗАЯВКУ (штатная система .popup + .open)
   ========================================================= */
.popup {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.popup.open { opacity: 1; visibility: visible; }
.popup__blur {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.7);
    cursor: pointer;
}
.popup__block {
    position: relative;
    z-index: 2;
    width: 28vw;
    background-color: #fff;
    border-radius: var(--brad-regular);
    padding: 2.6vw;
    transform: scale(0.9);
    transition: 0.3s;
}
.popup.open .popup__block { transform: scale(1); }
.popup__close {
    position: absolute;
    top: -3vw;
    right: 0;
    width: 2vw;
    height: 2vw;
    cursor: pointer;
    transition: 0.3s;
}
.popup__close svg { width: 100%; height: 100%; }
.popup__close:hover { transform: rotate(90deg); }
.popup__title {
    font-size: 1.82vw;
    font-weight: 700;
    line-height: 2.2vw;
    text-align: center;
    margin-bottom: 1vw;
    color: var(--text-main-color);
}
.popup__text {
    font-size: 0.94vw;
    line-height: 1.4vw;
    text-align: center;
    color: #888;
    margin-bottom: 1.82vw;
}
.popup-form .form-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 1vw;
}
.popup-form .form-input {
    width: 100%;
    height: 3.9vw;
    background-color: #f8f8f8;
    margin-bottom: 0.78vw;
}
.popup-form .form-btn { width: 100%; }
/* чекбокс */
.popup-form .form-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup-form .form-checkbox > div {
    width: 1.0416666667vw;
    height: 1.0416666667vw;
    margin-right: 0.8333333333vw;
    border: 0.0520833333vw solid var(--main-color);
    border-radius: var(--brad-regular);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: 0.3s;
    cursor: pointer;
    flex-shrink: 0;
}
.popup-form .form-checkbox > div input { position: absolute; left: 0; bottom: 100%; display: none; }
.popup-form .form-checkbox > div img { width: 0.4166666667vw; height: 0.3125vw; opacity: 0; transition: 0.3s; }
.popup-form .form-checkbox > div:has(input:checked) { background-color: var(--main-color); }
.popup-form .form-checkbox > div:has(input:checked) img { opacity: 1; filter: brightness(0) invert(1); }
.popup-form .form-checkbox p { font-size: 0.7291666667vw; line-height: 0.99vw; color: var(--text-main-color); cursor: pointer; }
.popup-form .form-checkbox p a { color: var(--main-color); }

/* =========================================================
   ВИДЖЕТ ОБРАТНОГО ЗВОНКА
   ========================================================= */
.callback-widget {
    position: fixed;
    right: 1.5vw;
    bottom: 1.5vw;
    z-index: 900;
}
.callback-widget__btn {
    width: 4.2vw;
    height: 4.2vw;
    border-radius: 50%;
    background-color: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
    box-shadow: 0 0.5vw 1.5vw rgba(0,0,0,0.2);
}
.callback-widget__btn:hover { background-color: var(--main-color-darken); transform: scale(1.08); }
.callback-widget__btn svg { position: relative; z-index: 2; animation: cb-shake 2.5s ease-in-out infinite; }
.callback-widget__btn::before,
.callback-widget__btn::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background-color: var(--main-color);
    z-index: 1;
}
.callback-widget__btn::before { animation: cb-pulse 2s linear infinite; }
.callback-widget__btn::after { animation: cb-pulse 2s linear infinite 1s; }

@keyframes cb-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}
@keyframes cb-shake {
    0%, 50%, 100% { transform: rotate(0); }
    5%, 15%, 25% { transform: rotate(-15deg); }
    10%, 20%, 30% { transform: rotate(15deg); }
}

.callback-widget__popup {
    position: absolute;
    right: 0;
    bottom: 5.5vw;
    width: 20vw;
    background-color: #fff;
    border-radius: var(--brad-regular);
    padding: 1.8vw 1.56vw 1.56vw;
    box-shadow: 0 0.5vw 2vw rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(1vw);
    transition: 0.4s;
    pointer-events: none;
}
.callback-widget.open .callback-widget__popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}
.callback-widget__close {
    position: absolute;
    top: 1vw;
    right: 1vw;
    width: 1.3vw;
    height: 1.3vw;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.callback-widget__close:hover { transform: rotate(90deg); }
.callback-widget__header {
    display: flex;
    align-items: center;
    gap: 0.83vw;
    margin-bottom: 1.3vw;
    padding-right: 1vw;
}
.callback-widget__avatar {
    width: 2.8vw;
    height: 2.8vw;
    border-radius: 50%;
    background-color: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.callback-widget__header-text p {
    font-size: 1vw;
    font-weight: 700;
    color: var(--text-main-color);
    margin-bottom: 0.2vw;
}
.callback-widget__header-text span {
    font-size: 0.78vw;
    line-height: 1vw;
    color: #999;
    display: block;
}
.callback-widget__form .form-input {
    width: 100%;
    height: 3.4vw;
    background-color: #f8f8f8;
    margin-bottom: 0.6vw;
}
.callback-widget__form .form-btn {
    width: 100%;
    height: 3.4vw;
    margin-top: 0.78vw;
}
.callback-widget__form .form-checkbox {
    display: flex;
    align-items: center;
}
.callback-widget__form .form-checkbox > div {
    width: 0.9vw;
    height: 0.9vw;
    margin-right: 0.6vw;
    border: 0.0520833333vw solid var(--main-color);
    border-radius: var(--brad-regular);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: 0.3s;
    cursor: pointer;
    flex-shrink: 0;
}
.callback-widget__form .form-checkbox > div input { position: absolute; left: 0; bottom: 100%; display: none; }
.callback-widget__form .form-checkbox > div img { width: 0.4vw; height: 0.3vw; opacity: 0; transition: 0.3s; }
.callback-widget__form .form-checkbox > div:has(input:checked) { background-color: var(--main-color); }
.callback-widget__form .form-checkbox > div:has(input:checked) img { opacity: 1; filter: brightness(0) invert(1); }
.callback-widget__form .form-checkbox p { font-size: 0.62vw; line-height: 0.85vw; color: var(--text-main-color); cursor: pointer; }
.callback-widget__form .form-checkbox p a { color: var(--main-color); }

/* =========================================================
   АДАПТИВ pop-up + виджет
   ========================================================= */
@media only screen and (max-width: 768px) {

    .popup__block { width: 88vw; padding: 8vw 6vw; }
    .popup__close { top: -10vw; right: 0; width: 7vw; height: 7vw; }
    .popup__title { font-size: 6vw; line-height: 7.5vw; margin-bottom: 3vw; }
    .popup__text { font-size: 3.5vw; line-height: 5vw; margin-bottom: 6vw; }
    .popup-form .form-input { height: 15vw; }
    .popup-form .form-checkbox > div { width: 4vw; height: 4vw; margin-right: 2vw; }
    .popup-form .form-checkbox > div img { width: 1.6vw; height: 1.3vw; }
    .popup-form .form-checkbox p { font-size: 2.8vw; line-height: 3.6vw; }

    .callback-widget { right: 4vw; bottom: 4vw; }
    .callback-widget__btn { width: 14vw; height: 14vw; }
    .callback-widget__popup { width: 80vw; bottom: 17vw; padding: 5vw 4vw 4vw; }
    .callback-widget__close { width: 5vw; height: 5vw; top: 3vw; right: 3vw; }
    .callback-widget__avatar { width: 10vw; height: 10vw; }
    .callback-widget__header { gap: 3vw; margin-bottom: 4vw; }
    .callback-widget__header-text p { font-size: 4vw; }
    .callback-widget__header-text span { font-size: 3vw; line-height: 4vw; }
    .callback-widget__form .form-input { height: 13vw; }
    .callback-widget__form .form-btn { height: 13vw; }
    .callback-widget__form .form-checkbox > div { width: 3.5vw; height: 3.5vw; margin-right: 2vw; }
    .callback-widget__form .form-checkbox > div img { width: 1.4vw; height: 1.1vw; }
    .callback-widget__form .form-checkbox p { font-size: 2.6vw; line-height: 3.4vw; }
}
/* =========================================================
   МОБИЛЬНОЕ МЕНЮ (выпадающее по бургеру)
   ========================================================= */
@media only screen and (max-width: 768px) {

    /* бургер поверх всего */
    .header__btn-wrap {
        position: relative;
        z-index: 60;
    }

    /* анимация бургера в крестик */
    .header__btn.open span:first-child {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
    .header__btn.open span:nth-child(2) {
        opacity: 0;
    }
    .header__btn.open span:last-child {
        bottom: auto;
        top: 50%;
        width: 100%;
        transform: translateY(-50%) rotate(-45deg);
    }

    /* выпадающая панель меню */
    .header.open .header__text,
    .header.open .header__address,
    .header.open .header__download,
    .header.open .header__social,
    .header.open .header__contacts {
        display: flex !important;
    }

    /* сама панель — тёмный фон, появляется под шапкой */
    .header.open .header__top .wrapper {
        position: fixed;
        top: 0; left: 0; right: 0;
        min-height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: rgba(15,15,15,0.97);
        padding: 20vw 6vw 10vw;
        gap: 6vw;
        z-index: 55;
        overflow-y: auto;
    }

    /* внутри меню — сброс ширин и выравнивание по центру */
    .header.open .header__logo {
        position: relative;
        z-index: 60;
    }
    .header.open .header__text,
    .header.open .header__address {
        width: auto;
        margin: 0;
        text-align: center;
        justify-content: center;
        color: #fff;
    }
    .header.open .header__text { font-size: 4vw; line-height: 5.5vw; }
    .header.open .header__address p { font-size: 4vw; line-height: 5.5vw; text-align: center; }
    .header.open .header__address svg { width: 5vw; height: 6vw; }

    .header.open .header__download {
        width: 70vw;
    }
    .header.open .header__download a {
        height: 14vw;
        border-color: var(--main-color);
    }
    .header.open .header__download a img { width: 7vw; height: 7vw; }
    .header.open .header__download a span { font-size: 3.75vw; }

    .header.open .header__social {
        width: auto;
        padding-left: 0;
    }
    .header.open .header__social p {
        font-size: 4vw;
        color: #fff;
        margin-bottom: 3vw;
    }
    .header.open .header__social p::before,
    .header.open .header__social p::after { display: none; }
    .header.open .social-links a { width: 10vw; height: 10vw; margin: 0 2vw; }

    .header.open .header__contacts {
        width: auto;
        align-items: center;
        padding-left: 0;
    }
    .header.open .header__contacts p { font-size: 4vw; color: #fff; text-align: center; }
    .header.open .header__contacts a { font-size: 6vw; color: #fff; }
    .header.open .header__contacts .call-back { font-size: 4vw; color: var(--main-color); }

    /* крестик-бургер поверх открытого меню */
    .header.open .header__btn-wrap {
        position: fixed;
        top: 4vw;
        right: 6vw;
        z-index: 60;
    }
}