/* Общие сбросы стилей */
* {
    margin: 0;
    padding: 0;
    box-box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    /* Основные шрифты */
    --font-heading: 'Cy Grotesk Grand', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Montserrat', 'Segoe UI', system-ui, sans-serif;

    /* Цветовая палитра */
    --brand-primary: #F3CF01;
    --brand-black: #1c1c1c;
    --brand-white: #efecec;



/* Первый блок */
/* Секция заднего фона с домом */
.hero {
    width: auto;
    min-height: 100vh;
    /* Изменили положение на center bottom (центрировать по горизонтали, прижать к низу по вертикали) */
    background: url('../img/hero.jpg') no-repeat center bottom / cover;
    position: relative;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* Шапка сайта */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/* Логотип */
.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-top {
    color: var(--brand-primary);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-bottom {
    color: var(--brand-white);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Меню навигации */
.menu {
    display: flex;
    gap: 30px;
}

.menu-item {
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s, border-bottom 0.3s;
    padding-bottom: 4px;
}

.menu-item:hover, .menu-item.active {
    opacity: 1;
    border-bottom: 2px solid var(--brand-primary);
}

.head-contacts {
    gap: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.head-phone:hover {
    opacity: 0.8;
}

.head-phone {
    color: var(--brand-primary);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.3s;
}

/* Кнопка обратной связи */
.btn-feedback {
    background-color: var(--brand-primary);
    color: var(--brand-black);
    text-decoration: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 0px;
    transition: background-color 0.3s;
}

.btn-feedback:hover {
    background-color: var(--brand-black);
    color: var(--brand-primary);
}

/* Блок главного заголовка снизу */
.hero-content {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.main-title {
    color: var(--brand-primary);
    font-size: 96px;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-title .highlight {
    color: var(--brand-white);
}

/* Второй блок */
.advantages {
    background-color: #1a1a1a; /* Темный фон блока */
    padding: 20px 40px;
    color: #ffffff;
    position: relative; /* Нужно, чтобы линии не улетали за пределы блока */
    overflow: hidden;   /* Прячет концы линий, если они выйдут за край экрана */
}

/* ЛИНИЯ 1: Левая наклонная линия */
.advantages::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 20%;
    width: 25px;         /* Толщина линии */
    height: 120%;       /* Длина с запасом */
    background-color: rgba(243, 207, 1, 0.3); /* Прозрачный желтый цвет (15% видимости) */
    transform: rotate(25deg); /* Наклон линии */
    z-index: 1;         /* Кладем позади текста и карточек */
    pointer-events: none; /* Чтобы линия не мешала кликать по сайту */
}

/* ЛИНИЯ 2: Правая наклонная линия */
.advantages::after {
    content: '';
    position: absolute;
    top: -20%;
    right: 15%;
    width: 35px;
    height: 140%;
    background-color: rgba(243, 207, 1, 0.3);
    transform: rotate(-35deg);
    z-index: 1;
    pointer-events: none;
}


.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}


/* Заголовок слева */
.advantages-header {
    margin-top: 0px;
    margin-bottom: -130px;
}

.block-title {
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
}

.yellow-text {
    color: var(--brand-primary);
}

.block-subtitle {
    font-size: 16px;
    color: #aaaaaa;
    margin-top: 20px;
    line-height: 1.4;
}

/* Сетка Grid для карточек */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки */
    gap: 20px; /* Расстояние между карточками */
}

/* Базовые стили для всех карточек */
.card {
    border: 3px solid var(--brand-primary); /* Золотая рамка */
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 250px;
    padding: 25px;
    display: flex;
    align-items: flex-start; /* Текст сверху карточки */
}

/* Затемнение картинок внутри карточек, чтобы текст читался */
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2; /* Поднимаем текст над затемнением */
    display: flex;
    flex-direction: column;
}

/* Стили для большой карточки на всю ширину */
.card-big {
    grid-column: 2 / span 3; /* Занимает все 3 колонки */
    min-height: 350px;
}

/* Текст внутри карточек */
.card-number {
    color: var(--brand-primary);
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
}

.card-text {
    color: var(--brand-primary);
    font-size: 24px;
    font-weight: 700;
}

.card-text-bold {
    color: var(--brand-primary);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.card-text-bold-white {
    color: #ffcc00;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

/* Третий блок */
/* Стили для обновленного третьего блока */
.project-section {
    background-color: #222222;
    padding: 60px 40px;
    color: #ffffff;
}

.project-section-black {
    background-color: var(--brand-black);
    padding: 60px 40px;
    color: #ffffff;
}

.project-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Шапка блока */
.project-header {
    display: flex;
    align-items: baseline;
    gap: 40px;
    margin-bottom: 40px;
}

.project-title {
    font-size: 48px;
    font-weight: 900;
    color: #ffcc00;
    text-transform: uppercase;
}

.project-area {
    font-size: 24px;
    font-weight: 700;
    color: #ffcc00;
}

/* Главная сетка на 3 колонки */
.project-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr; /* Левая шире, центр уже, правая для картинок */
    gap: 40px;
    align-items: start;
}

/* --- ЛЕВАЯ КОЛОНКА --- */

/* Новое */
/* Обертка для всех тарифов */
.tariffs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

/* Элемент тарифа */
.tariff-item {
    display: flex;
    flex-direction: column;
}

/* Шапка тарифа (кнопка) */
.tariff-header {
    display: flex;
    gap: 30px;
    font-size: 20px;
    font-weight: 700;
    color: #aaaaaa; /* Неактивные тарифы блеклые */
    cursor: pointer;
    padding: 10px 0;
    transition: color 0.3s ease, font-size 0.3s ease;
    user-select: none;
}

/* Эффект при наведении на неактивный тариф */
.tariff-header:hover {
    color: #ffffff;
}

/* Стили для АКТИВНОГО тарифа */
.tariff-item.active .tariff-header {
    color: #ffffff;
    font-size: 24px; /* Становится крупнее, как на макете */
    font-weight: 900;
}

.tariff-item.active .price-name {
    color: #ffcc00; /* Имя активного тарифа желтое */
}

.tariff-item.active .price-value {
    color: #ffcc00;
}

/* Скрытие и плавное отображение списка характеристик */
.tariff-item .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0; /* Изначально список свернут */
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
}

/* Разворачиваем список только у активного тарифа */
.tariff-item.active .features-list {
    max-height: 600px; /* Достаточная высота, чтобы список влез полностью */
    opacity: 1;
    margin-top: 15px;
    margin-bottom: 25px;
}

/* Оформление пунктов (стрелочки) */
.features-list li {
    font-size: 15px;
    color: #e0e0e0;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
    line-height: 1.4;
}

.features-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #ffcc00;
    font-weight: 700;
}

/* конец нового */
.project-left-col {
    display: flex;
    flex-direction: column;
}

/* Активная цена сверху */
.price-header.active {
    display: flex;
    gap: 30px;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
}

.price-header.active .price-name {
    color: #ffcc00;
}

/* Список характеристик со стрелочками */
.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.features-list li {
    font-size: 15px;
    color: #e0e0e0;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
    line-height: 1.4;
}

/* Рисуем желтую стрелочку > перед каждым пунктом */
.features-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #ffcc00;
    font-weight: 700;
}

/* Блок нижних цен */
.other-prices {
    margin-bottom: 30px;
}

.price-row {
    display: flex;
    gap: 40px;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #aaaaaa;
}

/* Кнопка обратной связи */
.btn-project-feedback {
    display: inline-block;
    background-color: var(--brand-primary);
    color: var(--brand-black);
    text-decoration: none;
    padding: 12px 24px;
    font-size: 22px;
    font-weight: 900;
    text-align: center;
    align-self: flex-start; /* Кнопка по ширине текста */
    transition: background-color 0.3s;
}

.btn-project-feedback:hover {
    background-color: var(--brand-black);
    color: var(--brand-primary);
    border-bottom: 2px solid var(--brand-primary);
}

/* --- ЦЕНТРАЛЬНАЯ КОЛОНКА (Таблица) --- */
.room-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
}

.table-row {
    display: flex;
    justify-content: space-between;
    background-color: #ffcc00;
    color: #000000;
    font-family: 'Montserrat', sans-serif;
    padding: 8px 14px;
    margin-bottom: 4px;
    font-weight: 700;
    font-size: 16px;
}

.table-row.divider {
    margin-top: 20px;
}

/* --- ПРАВАЯ КОЛОНКА (Картинки) --- */
.project-right-col-visuals {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative; /* Важно: точка отсчета для дома */
    min-height: 450px;
}

.plan-image-wrapper {
    width: 100%;
    background-color: #ffffff;
    padding: 10px;
    border: 2px solid #ffcc00;
    position: relative;
    z-index: 2;
}

.plan-image {
    width: 100%;
    display: block;
}

.house-image-wrapper {
    position: absolute; /* Вырываем из потока: теперь дом не расширяет блок! */
    bottom: -188px; /* Намертво прижимаем к самому низу */
    right: 0px; /* Прижимаем к правому краю */
    width: 150%; /* Делаем дом большим (можно менять от 120% до 150%) */
    z-index: 1; /* Дом будет на заднем плане */
    pointer-events: none;
}

.house-image {
    width: 110%;
    display: block;
    object-fit: cover;
}

/* Шестой блок */
.custom-project-section {
    width: auto;
    min-height: 450px; /* Базовая высота блока */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.1) 100%),
                url('/img/svoe2.png') no-repeat center center / cover;
    padding: 60px 40px;
    display: flex;
    align-items: center;
}

.custom-project-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 330px; /* Высота для внутреннего контента */
    justify-content: space-between; /* Разносит заголовок вверх, а кнопку вниз */
}

/* Верхний маленький текст */
.custom-subtitle {
    color: #ffcc00;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Главный огромный заголовок */
.custom-title {
    color: #ffcc00;
    font-size: 54px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
}

/* Длинное тире перед текстом */
.custom-title .dash {
    margin-right: 10px;
}

/* Область для кнопки внизу */
.custom-action {
    margin-top: auto; /* Выталкивает кнопку в самый низ контейнера */
    padding-top: 40px; /* Отступ, чтобы кнопка не прилипала к тексту на мелких экранах */
}

/* Желтая кнопка с рамкой */
.btn-custom-create {
    display: inline-block;
    background-color: #ffcc00;
    color: #000000;
    text-decoration: none;
    padding: 12px 35px;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    border: 3px solid #ffcc00;
    transition: background-color 0.3s, color 0.3s;
}

/* Эффект при наведении на кнопку */
.btn-custom-create:hover {
    background-color: var(--brand-black);
    color: #ffcc00;
}

/* ============================================
   БЛОК: Рассчет стоимости
   ============================================ */

.quiz-section {
    padding: 80px 28px;
    background-color: #222222;
}

.quiz-container {
    max-width: 1600px;
    margin: 0 auto;
    background-color: var(--brand-black);
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.quiz-title {
    font-family: 'Cy Grotesk Grand', sans-serif;
    font-size: 48px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--brand-primary);
}

.quiz-progress {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--brand-white);
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-fill {
    width: 20%;
    height: 100%;
    background-color: var(--brand-primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: var(--brand-primary);
    text-align: center;
}

.quiz-content {
    position: relative;
    min-height: 300px;
}

.quiz-step {
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.quiz-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.quiz-question {
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--brand-primary);
}

.question-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--brand-primary);
    text-align: center;
}

.quiz-options {
    font-family: 'Montserrat', sans-serif;
    display: grid;
    gap: 15px;
}

.quiz-option {
    background-color: var(--brand-primary);
    border: 2px solid transparent;
    border-radius: 100px;
    padding: 20px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.quiz-option:hover {
    background-color: var(--brand-black);
    color: var(--brand-white);
    transform: translateY(-2px);
    border-bottom: 2px solid var(--brand-primary);
}

.quiz-option.selected {
    background-color: var(--brand-primary);
    color: var(--text-on-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.quiz-input {
    width: 46rem;
    padding: 20px;
    border: 2px solid var(--brand-primary);
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    margin-bottom: 10px;
    transition: border-color 0.3s ease;
}

.quiz-input:focus {
    outline: none;
    border-color: var(--brand-primary);
}

.quiz-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    padding: 15px;
    background: #F5F5F5;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-checkbox:hover {
    background: #e8e8e8;
}

.quiz-checkbox.selected {
    background: var(--brand-secondary);
    color: var(--text-on-dark);
}

.quiz-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-secondary);
}

.quiz-checkbox.selected input[type="checkbox"] {
    accent-color: var(--text-on-dark);
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.quiz-nav-btn {
    background-color: var(--brand-primary);
    color: var(--brand-black);
    border: none;
    border-radius: 100px;
    padding: 15px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.quiz-nav-btn:disabled {
    background-color: #DEDEDE;
    color: #999;
    cursor: not-allowed;
}

.quiz-nav-btn:hover:not(:disabled) {
    background-color: var(--brand-white);
}

.submit-btn {
    background-color: var(--brand-primary);
}

.submit-btn:disabled {
    background-color: #DEDEDE;
    color: #999;
    cursor: not-allowed;
}

/* END BLOCK: Рассчет стоимости */

/* ============================================
   БЛОК: Баннер
   ============================================ */

.banner-section {
    padding: 0;
    background-color: #EDEDED;
}

.banner-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 25px;
    color: var(--brand-primary);
    background-color: var(--brand-black);
    padding: 10px 50px;
    border-radius: 100px;
}

.banner-btn:hover {
    background-color: var(--brand-black);
    border-bottom: 2px solid var(--brand-primary);
}

.banner-container {
    width: 100%;
    height: 500px;
    background-image: url('/img/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    max-width: 1800px;
    padding: 0 20px;
}

.banner-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--brand-primary);
    line-height: 1.3;
}

.banner-text span {
    color: var(--brand-secondary);
}

/* END BLOCK: Баннер */
/* ============================================
   БЛОК: FAQ SECTION
   ============================================ */

/* --- СТИЛИ ДЛЯ FAQ БЛОКА --- */

.faq-section {
    background-color: #1a1a1a; /* Темный фон под стиль сайта */
    padding: 80px 40px;
    color: #ffffff;
}

.faq-list {
    max-width: 800px; /* Ограничиваем ширину списка для удобства чтения */
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Элемент списка вопросов */
.faq-item {
    border: 2px solid #333333;
    background-color: #222222;
    transition: border-color 0.3s ease;
}

/* Подсветка рамки активного или подсвеченного вопроса */
.faq-item:hover, .faq-item.active {
    border-color: #ffcc00; /* Наша фирменная желтая рамка */
}

/* Плашка вопроса (кнопка) */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    padding-right: 20px;
}

/* Плюсик справа */
.faq-toggle {
    font-size: 28px;
    font-weight: 300;
    color: #ffcc00; /* Желтый цвет */
    line-height: 1;
    transition: transform 0.3s ease; /* Плавный поворот */
}

/* Анимация плюсика при активации: превращаем в минус поворотом */
.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Контейнер ответа (изначально скрыт) */
.faq-answer {
    max-height: 0; /* Высота контролируется через JS */
    overflow: hidden;
    transition: max-height 0.3s ease-out; /* Плавное скольжение вниз */
}

/* Внутренний текст ответа */
.faq-answer p {
    padding: 0 25px 20px 25px; /* Отступы только снизу и по бокам */
    font-size: 16px;
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 20px;
    }
    .faq-question {
        padding: 15px;
    }
    .faq-question h3 {
        font-size: 16px;
    }
    .faq-answer p {
        padding: 0 15px 15px 15px;
        font-size: 14px;
    }
}

/* ============================================
   БЛОК: CONTACT BANNER
   ============================================ */

.contact-banner {
    padding: var(--section-padding);
    background: #222222;
}

.contact-banner-content {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.contact-banner-text {
    grid-column: 1 / -1;
    text-align: center;
}

.contact-banner-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--brand-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-banner-subtitle {
    font-family: var(--font-body);
    color: var(--brand-white);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-banner-image {
    border-radius: 0px;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-md);
}

.contact-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.contact-banner-image:hover img {
    transform: scale(1.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand-primary);
    border-bottom: 4px solid var(--brand-primary);
}

.form-group input.error {
    border-color: #ff3860;
    background-color: rgba(255, 56, 96, 0.05);
}

.submit-btn {
    padding: 1rem 8rem;
    background: var(--brand-primary);
    color: var(--white);
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.submit-btn:hover {
    background: var(--brand-black);
    color: var(--brand-primary);
    transform: translateY(-2px);
    border-bottom: 2px solid var(--brand-primary);
}

.form-agreement {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--brand-white);
    text-align: center;
    margin-top: 1rem;
}

/* END BLOCK: CONTACT BANNER */

/* ============================================
   БЛОК: FOOTER
   ============================================ */

.footer {
    background: var(--brand-black);
    color: var(--brand-primary);
    padding: 3rem 0 1.5rem;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 65px;
    filter: brightness(0) invert(1);
    transition: transform var(--transition-normal);
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-contacts h4,
.footer-nav h4,
.footer-social h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-phone {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    transition: color var(--transition-fast);
}

.footer-phone:hover {
    color: var(--brand-primary);
}

.footer-email,
.footer-address,
.footer-working-hours {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
    display: inline-block;
}

.footer-nav a:hover {
    color: var(--brand-primary);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--brand-primary);
}

/* END BLOCK: FOOTER */

/* АНИМАЦИЯ ДОМ - */
.typewriter {
    color: #ffffff; /* Цвет фраз, как у вашего оригинального .highlight */
    font-weight: 900;
}

/* Мигающий курсор */
.cursor {
    color: #ffcc00; /* Фирменный желтый цвет для курсора */
    font-weight: 300;
    margin-left: 2px;
    animation: blink 0.7s infinite;
}

/* Анимация мигания курсора */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
