/* ============================
   БАЗОВЫЕ НАСТРОЙКИ
   ============================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1f2933;
    background-color: #f4f6fb;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #1b74ff;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:hover {
    color: #1250b3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Контейнеры и сетка */

.container,
.w-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

.w-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.w-col {
    padding: 0 12px;
    box-sizing: border-box;
}

.w-col-6 {
    width: 50%;
}

.w-col-7 {
    width: 58.3333%;
}

.w-col-5 {
    width: 41.6667%;
}

.w-col-stack {
    /* будет переопределяться на мобильных */
}

@media (max-width: 767px) {
    .w-col,
    .w-col-6,
    .w-col-7,
    .w-col-5,
    .w-col-stack {
        width: 100% !important;
    }

    .w-row {
        margin: 0 -8px;
    }

    .w-col {
        padding: 0 8px;
    }
}

/* ============================
   ШАПКА И НАВИГАЦИЯ
   ============================ */

/* Фиксированная шапка (лендинг) — всегда видна при скролле */
.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.header-sticky-spacer {
    height: 0;
    transition: height 0.2s ease;
}

/* Отступ при скролле по якорям — заголовки блоков не уходят под фиксированную шапку */
#tseny,
#preimusch,
#otzyvy,
#voprosy,
#discount-form,
#contacts {
    scroll-margin-top: calc(var(--header-height, 70px) + 12px);
}

/* Шапка в две строки (планшет): больший отступ */
@media (min-width: 768px) and (max-width: 991px) {
    #tseny,
    #preimusch,
    #otzyvy,
    #voprosy,
    #discount-form,
    #contacts {
        scroll-margin-top: calc(var(--header-height, 100px) + 16px);
    }
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    gap: 16px;
}

/* Десктоп: логотип | меню по центру | контакты */
.header-row .logo-container {
    flex: 0 0 auto;
}

.header-row .navbar {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.header-row .navbar .navbar-inner {
    justify-content: center;
}

.header-row .contacts-div {
    flex: 0 0 auto;
}

.logo-container {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
}

.logo-div {
    display: flex;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
}

.logo-tagline {
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
}

.logo-description {
    font-weight: 600;
    font-size: 15px;
    color: #111827;
}

.logo-description--small {
    font-size: 13px;
    font-weight: 600;
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    margin-right: 10px;
}

.contacts-div {
    text-align: right;
    font-size: 13px;
    color: #6b7280;
}

.contacts-div > div,
.contacts-label-wrap {
    margin-bottom: 2px;
}

.contacts-label--short {
    display: none;
}

.phone {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    color: #111827;
}

.phone span {
    white-space: nowrap;
}

.phone:hover {
    color: #1b74ff;
}

/* Меню навигации — отступы и раскладка */
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: 52px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.navmenu.w-nav-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navmenu .nav-link {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #1b74ff;
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.navmenu .nav-link:hover {
    color: #1250b3;
    background: rgba(27, 116, 255, 0.08);
}

/* Кнопка бургера — скрыта на десктопе, без обводки и текста на мобильном */
.menu-button.w-nav-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 14px;
    color: #1b74ff;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.menu-button.w-nav-button .menu-icon {
    width: 22px;
    height: 18px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center/100% 2px no-repeat;
}

.menu-button.w-nav-button > div:not(.menu-icon) {
    display: none;
}

@media (max-width: 767px) {
    .header-row {
        padding: 10px 12px;
        gap: 8px;
    }

    /* Мобильная шапка: логотип | телефон | бургер (бургер в правом углу) */
    .header-sticky .logo-container {
        flex: 1;
        min-width: 0;
        order: 1;
    }

    .header-sticky .contacts-div {
        order: 2;
    }

    .header-sticky .navbar.w-nav {
        flex: 0 0 auto;
        flex-grow: 0;
        order: 3;
    }

    .header-sticky .navbar .navbar-inner,
    .header-sticky .navbar .w-container {
        min-height: 0;
        padding: 0;
        justify-content: flex-end;
    }

    .logo-div {
        min-width: 0;
    }

    .logo-text {
        flex-direction: row;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 0 6px;
    }

    .logo-tagline {
        margin-bottom: 0;
    }

    /* Скрыть «Ремонт и обслуживание окон» на мобильном */
    .logo-description--small {
        display: none !important;
    }

    .header-sticky .contacts-div {
        flex: 0 0 auto;
        min-width: 0;
    }

    .header-sticky .phone {
        font-size: 14px;
    }

    .contacts-label--full {
        display: none !important;
    }

    .contacts-label--short {
        display: inline !important;
    }

    /* Бургер виден */
    .menu-button.w-nav-button {
        display: flex;
    }

    /* Мобильное меню — на весь экран, под шапку */
    .navmenu.w-nav-menu {
        display: none;
        position: fixed;
        top: var(--header-height, 56px);
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #ffffff;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
        padding: 12px 16px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
        z-index: 999;
        max-height: calc(100vh - var(--header-height, 56px));
        overflow-y: auto;
    }

    .navbar.w-nav.w--open .navmenu.w-nav-menu {
        display: flex;
    }

    .navmenu .nav-link {
        padding: 12px 16px;
        border-radius: 8px;
    }
}

.header-sticky .navbar.w-nav {
    background: transparent;
    border: none;
}

.header-sticky .navbar .w-container {
    min-height: auto;
    max-width: none;
}

@media (min-width: 992px) {
    .header-row .navbar .w-container {
        max-width: 1180px;
    }
}

/* Планшет: меню переносится на вторую строку (под логотип и телефон) */
@media (min-width: 768px) and (max-width: 991px) {
    .header-row {
        flex-wrap: wrap;
    }

    .header-row .logo-container {
        flex: 0 0 auto;
    }

    .header-row .navbar {
        flex: 1 1 100%;
        order: 3;
        justify-content: center;
        padding-top: 8px;
        margin-top: 4px;
        border-top: 1px solid rgba(15, 23, 42, 0.06);
    }

    .header-row .contacts-div {
        margin-left: auto;
    }
}

/* ============================
   ХЕРО-БЛОК / ПЕРВЫЙ ЭКРАН
   ============================ */

.header-section {
    padding: 64px 0 80px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    /* Градиент синий → оранжевый поверх фото, плавный и контрастный */
    background-image:
    linear-gradient(105deg,
    rgba(30, 58, 138, 0.97) 0%,
    rgba(37, 99, 235, 0.94) 22%,
    rgba(59, 130, 246, 0.68) 45%,
    rgba(60, 108, 251, 0.83) 75%,
    rgba(12, 78, 234, 0.54) 100% ),
    url("img/main_bg.jpg");
        ),
        url("img/main_bg.jpg");
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
}
/* Лёгкое затемнение снизу для читаемости */
.header-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.25), transparent);
    pointer-events: none;
}
.header-section .w-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.hero-section {
    /* уточнение для нового лендинга по окнам */
}

.header-section .w-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.header-section .main-row {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: stretch;
}

.header-section .w-col-7 {
    flex: 1 1 320px;
}

.header-section .w-col-5 {
    flex: 0 1 360px;
}

/* Читаемость текста на градиенте первого экрана */
.header-section .h1 {
    color: #ffffff;
    font-size: 38px;
    line-height: 1.18;
    text-shadow: 0 2px 8px rgba(15, 23, 42, 0.5);
    margin-bottom: 14px;
}
.header-section .h3-goroda {
    color: rgba(255, 255, 255, 0.95);
    font-size: 17px;
    text-shadow: 0 1px 4px rgba(15, 23, 42, 0.5);
    margin-bottom: 24px;
}
/* Блок преимуществ — лёгкая панель для контраста */
.header-section .hero-bullets {
    margin-top: 0;
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 570px;
}
.header-section .master-name-div .subtitle {
    color: rgba(255, 255, 255, 0.98);
    font-size: 15px;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(15, 23, 42, 0.5);
}
.header-section .hero-bullets .bi-check-circle-fill {
    color: #34d399;
    font-size: 1.15rem;
    margin-right: 10px;
    flex-shrink: 0;
}
/* Телефон в hero — выделенный CTA */
.header-section .hero-extra {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    text-shadow: 0 1px 3px rgba(15, 23, 42, 0.5);
}
.header-section .hero-extra strong {
    color: #ffffff;
}
.header-section .hero-extra a.phone {
    display: inline-block;
    font-size: 1.2em;
    font-weight: 700;
    color: #ffffff;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.4);
    transition: background 0.2s ease, transform 0.2s ease;
}
.header-section .hero-extra a.phone:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.02);
}

.geo-city {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
}

.h1 {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #111827;
    font-weight: 700;
}

.smaller-title {
    font-size: 18px;
    font-weight: 500;
    color: #1b74ff;
}

.h3-goroda {
    margin: 0 0 20px;
    font-size: 16px;
    color: #4b5563;
}

.main-row {
    margin-top: 10px;
    align-items: flex-start;
}

.master-name-div {
    margin-top: 8px;
}

.subtitle {
    font-size: 15px;
    color: #111827;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
}

.bull_div {
    color: #1b74ff;
    margin-right: 4px;
}

.hero-extra {
    margin-top: 10px;
    font-size: 14px;
    color: #6b7280;
}

.hero-extra a {
    font-weight: 600;
}

.master-div {
    /* блок под иллюстрацию / фон */
    margin-top: 24px;
}

@media (max-width: 991px) {
    .h1 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .header-section {
        padding: 28px 0 32px;
        min-height: auto;
    }

    .header-section .h1 {
        font-size: 24px;
    }

    .h1 {
        font-size: 24px;
    }

    .h3-goroda {
        font-size: 14px;
    }

    .header-section .hero-bullets {
        padding: 18px 16px;
        margin-left: auto;
        margin-right: auto;
    }

    .header-section .header-form {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* при вертикальной раскладке оба блока по центру */
    .header-section .main-row {
        justify-content: center;
    }
}

/* ============================
   ФОРМЫ И КНОПКИ
   ============================ */

.main-form,
.hr-form-div,
.last-form {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
    text-align: center;
}

.header-form {
    margin-top: 8px;
}

/* Форма на первом экране — конверсионная карточка */
.header-section .header-form {
    margin-top: 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: 0;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 32px 64px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border: none;
    padding: 28px 26px;
    position: relative;
    overflow: hidden;
}
.header-section .header-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
}
.header-section .header-form .form-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}
.header-section .header-form .form-subtitle {
    color: #475569;
    font-size: 14px;
    margin-bottom: 18px;
}
.header-section .header-form .input-div {
    margin-bottom: 14px;
}
.header-section .header-form .btn-1 {
    width: 100%;
    padding: 16px 24px;
    font-size: 17px;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.header-section .header-form .btn-1:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
}
.header-section .header-form .ps-text {
    margin-top: 14px;
    font-size: 12px;
    color: #64748b;
}
.header-section .header-form .hero-form-trust {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #059669;
    font-weight: 600;
}
.header-section .header-form .hero-form-trust .bi {
    font-size: 1.1rem;
}

.form-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #111827;
    text-align: center;
}

.form-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 14px;
    text-align: center;
}

/* Центровка кнопок во всех формах */
.main-form .btn-1,
.hr-form-div .btn-1,
.last-form .btn-1 {
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
}

.field,
.w-input,
.text-area {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    background: #ffffff;
}

/* Отступ между полем вопроса и кнопкой в блоке «Остались вопросы по ремонту окон?» */
#voprosy .text-area {
    margin-bottom: 10px;
}

/* Форма «Остались вопросы по ремонту окон?» — ограничиваем ширину и даём отступ под подзаголовком */
#voprosy .last-form.main-form {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

#voprosy .cta-2.cta-text {
    margin-bottom: 14px;
}

.field:focus,
.w-input:focus,
.text-area:focus {
    border-color: #1b74ff;
    box-shadow: 0 0 0 1px rgba(27, 116, 255, 0.3);
}

.input-div,
.hr-input {
    margin-bottom: 15px;
}

.btn-1,
.w-button,
.price-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 999px;
    border: none;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #1b74ff 0%, #2563eb 50%, #0ea5e9 100%);
    color: #ffffff;
    text-transform: none;
    letter-spacing: 0.01em;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
}

.btn-1:hover,
.w-button:hover,
.price-btn:hover {
    background: linear-gradient(135deg, #185ed1 0%, #1d4ed8 100%);
    color:#ffffff;
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.45);
}

.btn-1.hr-btn {
    border-radius: 12px;
}

.ps-text {
    margin-top: 10px;
    font-size: 12px;
    color: #9ca3af;
}

.w-form-done,
.w-form-fail {
    display: none;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
}

.w-form-done {
    background: #ecfdf5;
    color: #166534;
}

.w-form-fail {
    background: #fef2f2;
    color: #b91c1c;
}

.gorod-hidden {
    display: none;
}

/* ============================
   БЛОКИ ЦЕН / ПРАЙСА
   ============================ */

.price-section {
    padding: 40px 0;
    background: #ffffff;
}

.heading-2 {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #111827;
}

.cta-2,
.cta-text {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
}

/* Отступ над плашкой со скидками под таблицей цен */
.price-section .cta-2 {
    margin-top: 20px;
}

.price-flexbox {
    margin-top: 24px;
}

.tabs-container {
    width: 100%;
}

.w-tab-content {
    background: #f9fafb;
    border-radius: 14px;
    padding: 14px 0;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}

.price-content-flexbox {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.6fr;
    align-items: center;
    padding: 8px 18px;
    border-bottom: 1px solid rgba(209, 213, 219, 0.6);
}

.price-content-flexbox:last-child {
    border-bottom: none;
}

.price-text-1 {
    font-size: 14px;
    color: #111827;
}

.price-text-2 {
    font-size: 14px;
    font-weight: 600;
    color: #10b981;
}

.price-text-3 {
    text-align: right;
}

.price-text-1.title,
.price-text-2.title-2,
.price-text-3.title-3 {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
}

@media (max-width: 767px) {
    .price-content-flexbox {
        grid-template-columns: 1fr;
        row-gap: 4px;
        padding: 10px 14px;
    }

    .price-text-3 {
        text-align: left;
    }
}

/* ============================
   БЛОКИ "ПРЕИМУЩЕСТВА", "ПРОБЛЕМЫ", "ЭТАПЫ"
   ============================ */

.advantages-section {
    padding: 40px 0;
    background: #f9fafb;
}

.adv-flexbox {
    margin-top: 16px;
}

.adv-title {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 15px;
}

.adv-flexbox p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    margin-top: 16px;
}

.adv-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.adv-text {
    font-size: 14px;
    color: #4b5563;
}

.problems-section {
    padding: 40px 0;
    background: #f3f4ff;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 18px;
}

.problem-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
/* Полупрозрачный синий фон на всю площадь карточки */
.problem-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 138, 0.75);
    z-index: 0;
}
.problem-card-inner {
    position: relative;
    z-index: 1;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}
.problem-card .bi,
.problem-card .problem-title,
.problem-card .problem-text {
    color: #ffffff;
}
.problem-card .problem-text {
    color: rgba(255, 255, 255, 0.95);
}
.problem-card-1 { background-image: url(img/problem1.jpg); }
.problem-card-2 { background-image: url(img/problem2.jpg); }
.problem-card-3 { background-image: url(img/problem3.jpg); }
.problem-card-4 { background-image: url(img/problem4.jpg); }
.problem-card-5 { background-image: url(img/problem5.jpg); }
.problem-card-6 { background-image: url(img/problem6.jpg); }

.problem-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 15px;
}

.problem-text {
    font-size: 14px;
    color: #4b5563;
}

.cta-center {
    text-align: center;
    margin-top: 22px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid #2563eb;
    background: #ffffff;
    color: #2563eb;
    font-size: 14px;
    font-weight: 500;
}

.btn-secondary:hover {
    background: #2563eb;
    color: #ffffff;
}

.steps-section {
    padding: 56px 0 60px;
    background-image: linear-gradient(135deg, rgba(29, 78, 216, 0.88) 0%, rgba(37, 99, 235, 0.85) 45%, rgba(14, 165, 233, 0.88) 100%), url(img/steps-bg.jpg);
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.steps-section .heading-2 {
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(15, 23, 42, 0.45);
}

.steps-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.step-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.25);
}

.step-number {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 3px;
}

.step-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #111827;
}

.step-text {
    font-size: 14px;
    color: #4b5563;
}

/* ============================
   ОТЗЫВЫ
   ============================ */

._7-section {
    padding: 40px 0;
    background: #f9fafb;
}

.response-fl-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    margin-bottom: 16px;
}

.response-flexbox {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.response-div {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1b74ff, #06b6d4);
    margin-right: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.response-div .response-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.response-name {
    font-weight: 600;
    font-size: 14px;
}

.response-content {
    font-size: 14px;
    color: #4b5563;
}

/* ============================
   FAQ И БЛОК "ВОПРОСЫ"
   ============================ */

.faq-section {
    padding: 40px 0;
    background: #ffffff;
}

.faq-item {
    margin-bottom: 14px;
}

.faq-question {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 3px;
}

.faq-answer {
    font-size: 14px;
    color: #4b5563;
}

.small-note {
    font-size: 12px;
    color: #6b7280;
    margin-top: 10px;
}

.section-10 {
    padding: 40px 0;
    background: radial-gradient(circle at top, #e5f2ff 0, #f9fafb 55%, #ffffff 100%);
}

/* ============================
   СКИДОЧНЫЙ БЛОК
   ============================ */

.discount-section {
    padding: 56px 0 64px;
    position: relative;
    color: #ffffff;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #0ea5e9 100%);
    overflow: hidden;
}

.discount-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(135deg, rgba(29, 78, 216, 0.72) 0%, rgba(37, 99, 235, 0.68) 45%, rgba(14, 165, 233, 0.72) 100%), url(img/discount-bg.jpg);
    background-size: cover;
    background-position: center;
}

.discount-inner {
    position: relative;
    z-index: 1;
}

/* Форма внутри #discount-form: ширина не более 500px и дополнительный «воздух» сверху и снизу */
#discount-form .hr-form-div {
    max-width: 500px;
    margin: 32px auto 40px;
    color: #111827;
}

#discount-form .form-hr-title,
#discount-form .heading-3 {
    color: #111827;
    text-shadow: none;
    margin-bottom: 10px;
}

.discount-timer {
    margin-top: 10px;
    font-size: 14px;
}

.discount-timer span {
    font-weight: 600;
}

/* ============================
   ПОДВАЛ
   ============================ */

.footer-section {
    background: #020617;
    color: #e5e7eb;
    padding-top: 20px;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 14px;
}

.footer-section .logo-description {
    color: #e5e7eb;
}

.footer-section .contacts-div {
    color: #9ca3af;
}

.footer-section .phone {
    color: #f9fafb;
}

.footer-section .phone:hover {
    color: #bae6fd;
}

.copy-section {
    background: #020617;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    padding: 10px 0 18px;
    font-size: 12px;
    color: #9ca3af;
}

.copy-link {
    color: #9ca3af;
}

.copy-link:hover {
    color: #e5e7eb;
}

@media (max-width: 767px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 10px;
    }
}

/* ============================
   ПОПАПЫ / МОДАЛКИ
   ============================ */

.dark-consult-div,
.dark-consult-divs {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9990;
}

.dark-consult-div.is-open {
    display: flex;
}

.dark-consult-divs.is-visible {
    display: flex !important;
}

/* Попап «Скидка 20%» — контент по центру */
#overlays .popup-form {
    text-align: center;
}

#overlays .popup-form .form-title,
#overlays .popup-form .form-subtitle,
#overlays .popup-form .ps-text {
    text-align: center;
}

#overlays .popup-form .btn-1,
#overlays .popup-form .w-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.popup-bg {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.popup-form {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 22px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.45);
}

.close-button {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
}

.close-button:hover {
    color: #4b5563;
}

/* ============================
   ПРОЧЕЕ / ДЕКОР
   ============================ */

.hr-form-section {
    padding: 40px 0;
}

.heading-3 {
    font-size: 16px;
    margin: 4px 0;
    color: #4b5563;
}

.bold {
    font-weight: 600;
}

.operativka-div,
.hdd-div,
.kus-2,
.otvertka-2,
.m-comp-pom {
    /* декоративные элементы, можно кастомизировать под иконки / фон */
}

/* Слегка уменьшить поля на мобильных внутри основных секций */

@media (max-width: 767px) {
    .price-section,
    .advantages-section,
    .problems-section,
    .steps-section,
    ._7-section,
    .faq-section,
    .section-10,
    .hr-form-section,
    .discount-section {
        padding: 28px 0;
    }

    .heading-2 {
        font-size: 20px;
    }
}

