/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden; 
}

/* --- ХЕДЕР --- */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background-color: #F5F2EB;
    width: 100%;
    z-index: 10;
    color: #767870;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-logo {
    width: 70px; 
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.header-title {
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.2;
}

.header-subtitle {
    font-size: 13px;
    color: #888888;
    font-weight: 400;
}

.header-right {
    font-size: 14px;
    color: #888888;
}

/* ========================================= */
/* --- ОСНОВНОЙ БЛОК (Компьютер) --- */
/* ========================================= */
.hero-section {
    flex: 1; 
    display: flex;
    background-color: #1c1c1c;
    padding: 20px 0;
    align-items: center; 
}

.hero-left {
    width: 50%;
    display: flex;
    justify-content: flex-end; 
    padding: 0 50px 0 60px;
}

.hero-text-wrapper {
    max-width: 500px; 
}

.label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #C3A368;
    margin-bottom: 25px;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: #C3A368;
    border-radius: 50%;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 30px;
}

.gold-text {
    color: #E3C9A2;
}

.desc-1 {
    font-size: 15px;
    line-height: 1.6;
    color: #a0a0a0;
    margin-bottom: 25px;
    max-width: 450px;
}

.divider {
    height: 1px;
    width: 100%;
    background-color: #333333;
    margin-bottom: 25px;
}

.desc-2 {
    font-size: 15px;
    line-height: 1.6;
    color: #ffffff;
}

.hero-right {
    width: 50%;
    display: flex;
    justify-content: flex-start; 
    padding: 0 60px 0 50px;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 576px; 
    aspect-ratio: 576 / 640; 
    background-image: url('image/Stairs.png');
    background-size: cover;
    background-position: center;
}

.badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: rgba(28, 28, 28, 0.9);
    padding: 18px 25px;
    display: flex;
    align-items: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    width: 340px;
    height: 44px;
    font-size: 10px;
}

.badge-line {
    display: inline-block;
    width: 24px;
    height: 1px;
    background-color: #C3A368;
    margin-right: 12px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px; 
    background-color: #F5F2EB;
    width: 100%;
    font-size: 13px;
    color: #767870;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-line {
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: #C3A368;
}

/* ========================================= */
/* --- ПЛАНШЕТЫ (от 769px до 1024px) --- */
/* ========================================= */
@media (max-width: 1024px) {
    body { overflow-y: auto; }
    .site-header, .site-footer { padding: 15px 30px; }
    .hero-section {
        flex-direction: column;
        padding: 40px 30px;
        align-items: stretch;
    }
    .hero-left {
        width: 100%;
        justify-content: flex-start;
        padding: 0;
        margin-bottom: 40px;
    }
    .hero-text-wrapper { max-width: 100%; }
    .hero-right {
        width: 100%;
        padding: 0;
        justify-content: center;
    }
    .image-container { max-width: 100%; }
    .badge {
        width: auto;
        min-width: 340px;
        left: 20px;
        bottom: 20px;
        justify-content: flex-start;
    }
    h1 { font-size: 46px; }
    .desc-1, .desc-2 { font-size: 16px; }
}

/* ========================================= */
/* --- ТЕЛЕФОНЫ (до 768px) --- */
/* ========================================= */
/* ========================================= */
/* --- ТЕЛЕФОНЫ (до 768px) --- */
/* ========================================= */
@media (max-width: 768px) {
    body { overflow-y: auto; }

    /* --- НОВЫЙ ХЕДЕР ДЛЯ ТЕЛЕФОНА --- */
    .site-header {
        display: flex;
        flex-direction: column; /* Ставим элементы друг под другом */
        align-items: flex-start; /* Прижимаем всё влево */
        padding: 20px;
    }

    .header-left {
        display: flex;
        flex-direction: row; /* Логотип и текст в одну строку */
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .header-logo {
        width: 60px;
        height: 60px;
    }

    .header-title {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .header-subtitle {
        font-size: 12px;
    }

    .header-right {
        margin-top: 15px; /* Отступ сверху от блока с логотипом */
        margin-left: 75px; /* Отступ слева, чтобы выровнять по тексту (ширина логотипа + gap) */
        font-size: 14px;
    }

    /* --- ОСТАЛЬНОЙ КОНТЕНТ --- */
    .hero-section {
        flex-direction: column;
        padding: 30px 20px;
        align-items: stretch;
    }
    
    .hero-left, .hero-right {
        width: 100%;
        padding: 0;
        justify-content: center;
    }
    
    .hero-left { margin-bottom: 30px; }
    
    .image-container {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .badge {
        width: auto; 
        min-width: 280px; 
        left: 15px; 
        bottom: 15px;
        justify-content: flex-start;
        padding: 12px 15px;
        font-size: 9px;
    }
    
    .badge-line {
        display: inline-block;
        width: 20px;
        margin-right: 10px;
    }

    h1 { font-size: 34px; margin-bottom: 20px; }
    .desc-1, .desc-2 { font-size: 14px; }

    .site-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 20px;
    }
}