/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
    box-sizing: border-box;
}

body {
    background: var(--bg-light);
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.5;
    margin: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    box-sizing: border-box;
}

/* ===== ЗАГОЛОВКИ ===== */
h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 1.2rem;
    line-height: 1.2;
    font-weight: 700;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    margin-bottom: 0.8rem;
    line-height: 1.2;
    font-weight: 700;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-yellow-bright, #FDB81E);
    margin-top: 10px;
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.3;
    font-weight: 700;
}

.section-subhead {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-yellow-bright, #FDB81E);
    font-weight: 600;
}

/* Герой */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

/* Цифры */
.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent-yellow-bright, #FDB81E);
}

/* Объекты */
.object-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.object-price {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

/* Преимущества */
.advantage-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* Услуги */
.service-content-new h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

/* FAQ */
.faq-question {
    font-size: 1rem;
    font-weight: 700;
}

/* Контакты */
.contact-info-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
    h2 {
        font-size: clamp(1.6rem, 3vw, 2rem);
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 4.5vw, 3rem);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h2:after {
        width: 50px;
        height: 3px;
        margin-top: 8px;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .advantage-card h3 {
        font-size: 1.4rem;
    }
    
    .contact-info-block h2 {
        font-size: 1.8rem;
    }
    
    .section-subhead {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .object-price {
        font-size: 1.3rem;
    }
    
    .advantage-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-info-block h2 {
        font-size: 1.6rem;
    }
}

/* ===== ЕДИНЫЕ ОТСТУПЫ МЕЖДУ БЛОКАМИ ===== */

/* Все секции на странице */
section {
    padding: 60px 0; /* Единый вертикальный отступ */
    margin: 0;
}

/* Убираем лишние отступы у последней секции */
section:last-child {
    padding-bottom: 80px;
}

/* Первая секция (hero) может быть без верхнего отступа */
.hero-section {
    padding-top: 0;
}

/* ===== КОРРЕКТИРОВКА ОТСТУПОВ ДЛЯ КОНКРЕТНЫХ БЛОКОВ ===== */

/* О компании */
.about-section {
    padding: 60px 0;
}

/* Цифры (они в белой карточке, поэтому отступы меньше) */
.stats-section {
    padding: 20px 0 60px;
}

/* Объекты */
.objects-section {
    padding: 60px 0;
}

/* Услуги */
.services-section-new {
    padding: 60px 0;
}

/* Преимущества */
.advantages-section {
    padding: 60px 0;
}

/* FAQ */
.faq-section {
    padding: 60px 0;
}

/* Карта */
.map-section {
    padding: 0 0 60px;
}

/* Контакты (последний блок) */
.contact-section {
    padding: 60px 0 80px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
    section {
        padding: 50px 0;
    }
    
    .stats-section {
        padding: 10px 0 50px;
    }
    
    .contact-section {
        padding: 50px 0 70px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    .stats-section {
        padding: 0 0 40px;
    }
    
    .contact-section {
        padding: 40px 0 60px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 30px 0;
    }
    
    .contact-section {
        padding: 30px 0 50px;
    }
}


/* Убираем все возможные отступы между шапкой и слайдером */
.hero-slider {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
    top: -1px; /* Если остаётся микроотступ */
}

/* Страхуемся от отступов у body */
body {
    margin: 0;
    padding: 0;
}

/* Убираем отступы у шапки, если они есть */
.site-header,
.light-header,
.dark-header {
    margin-bottom: 0 !important;
}

/* Убираем возможные отступы у контейнера */
.hero-slider .container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}