/* ========== ОБЩИЕ СТИЛИ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* ========== ЦВЕТОВАЯ ГАММА ========== */
:root {
    --primary: #d4b68a;      /* бежевый акцент */
    --primary-dark: #c4a484;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --gray-border: #e9ecef;
}

/* ========== ЗАГОЛОВКИ ========== */
h1, h2, h3 {
    font-family: 'Prata', Georgia, 'Times New Roman', serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary);
}

/* ========== КНОПКИ ========== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(212, 182, 138, 0.22), 0 0 14px rgba(212, 182, 138, 0.24);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(212, 182, 138, 0.22), 0 0 14px rgba(212, 182, 138, 0.24);
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* ========== АНИМАЦИИ ========== */
.animate-fadein {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-slideup {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== БЛОК 1: HERO ========== */
.hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
    text-align: center;
    padding-top: 60px;
}

.hero-title {
    color: var(--text-dark);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* Карусель */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.price-box {
    font-size: 48px;
    font-weight: 300;
    color: var(--primary-dark);
    margin: 30px 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.show-time {
    font-style: italic;
    color: var(--text-light);
}

/* ========== БЛОК 2: ADVANTAGE ========== */
.advantage {
    background-color: var(--bg-light);
}

.advantage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.advantage-text h2 {
    text-align: left;
    margin-bottom: 30px;
}

.advantage-text h2:after {
    left: 0;
    transform: none;
}

.advantage-list {
    list-style: none;
}

.advantage-list li {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.advantage-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========== БЛОК 3: LAYOUT ========== */
.layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.layout-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.sizes-list {
    list-style: none;
    font-size: 18px;
}

.sizes-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-border);
}

.sizes-list li.total {
    font-weight: bold;
    border-bottom: none;
    padding-top: 20px;
    font-size: 20px;
}

/* ========== БЛОК 4: ROOMS ========== */
.rooms {
    background-color: var(--bg-light);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.room-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.room-image {
    height: 200px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.05);
}

.room-card h3 {
    padding: 20px 20px 10px;
    margin: 0;
}

.room-card h3 span {
    color: var(--primary);
    font-weight: 300;
    margin-left: 5px;
}

.room-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* ========== БЛОК 5: BUILDING ========== */
.building-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.building-image {
    height: 150px;
    overflow: hidden;
    border-radius: 4px;
}

.building-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.building-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.advantages-list ul, .location p {
    margin-top: 15px;
}

.advantages-list li {
    margin-bottom: 10px;
}

/* ========== БЛОК 6: LEGAL ========== */
.legal-box {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.legal-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

/* ========== БЛОК 7: MAP ========== */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-placeholder {
    background: #e9ecef;
}

/* ========== БЛОК 8: CONTACTS ========== */
.contacts {
    background-color: var(--bg-light);
}

.contacts-subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-light);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(212, 182, 138, 0.22), 0 0 14px rgba(212, 182, 138, 0.24);
}

.contact-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.contact-value {
    display: block;
    margin: 15px 0;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
}

.contact-specialist {
    text-align: center;
}

.specialist-name {
    font-size: 18px;
    margin-bottom: 20px;
}

/* ========== БЛОК 9: FOOTER ========== */
.footer {
    background: #2c3e50;
    color: white;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    margin: 0;
    opacity: 0.8;
}

/* ========== МОДАЛЬНОЕ ОКНО ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    overflow: auto;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1000px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-close {
    position: absolute;
    right: 25px;
    top: 10px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-gallery {
    position: relative;
    width: 100%;
}

.modal-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.modal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    background: rgba(255,255,255,0.8);
    color: #333;
    box-shadow: 0 10px 22px rgba(212, 182, 138, 0.22), 0 0 14px rgba(212, 182, 138, 0.24);
}

.modal-prev {
    left: 10px;
}

.modal-next {
    right: 10px;
}

.modal-info {
    text-align: center;
    color: white;
    margin-top: 20px;
}

.modal-info h3 {
    color: white;
    margin-bottom: 5px;
}

.modal-area {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 10px;
}

.modal-desc {
    color: #ddd;
    margin-bottom: 15px;
}

.modal-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.modal-dots .dot {
    background: rgba(255,255,255,0.3);
}

.modal-dots .dot.active {
    background: var(--primary);
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 1024px) {
    h1 { font-size: 36px; }
    h2 { font-size: 30px; }
    
    .building-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    
    .advantage-grid,
    .layout-grid,
    .building-info,
    .legal-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .building-grid {
        grid-template-columns: 1fr;
    }
    
    .price-box {
        font-size: 36px;
    }
}
/* ========== НАВИГАЦИОННОЕ МЕНЮ ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-logo:hover {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    position: relative;
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.nav-phone-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-phone-link:hover {
    color: var(--primary);
}

/* Мобильное меню */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Отступ для первого блока (чтобы не перекрывало меню) */
.hero {
    padding-top: 130px; /* 70px (меню) + 60px (отступ) */
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.3s ease;
        gap: 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-phone {
        display: none;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        padding-top: 110px;
    }
}


.nav-logo {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.nav-logo:before,
.nav-logo:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
}

.nav-logo:before {
    top: 0;
}

.nav-logo:after {
    bottom: 0;
}
/* ========== УЛУЧШЕНИЕ СТРУКТУРЫ ========== */

/* Разделители между блоками */
section {
    position: relative;
}

section:not(:last-of-type):after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

/* Увеличиваем контраст заголовков */
.section-title {
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.section-title:before {
    content: none;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 84px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 25%, var(--primary-dark) 75%, transparent 100%);
    border-radius: 2px;
    opacity: 0.85;
}

/* Улучшаем карточки комнат */
.rooms-grid {
    gap: 40px;
}

.room-card {
    border: 1px solid var(--gray-border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    background: white;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.room-card h3 {
    font-size: 22px;
    font-weight: 500;
    padding: 25px 25px 10px;
    border-bottom: 1px solid var(--gray-border);
    margin-bottom: 15px;
}

.room-card h3 span {
    font-weight: 300;
    color: var(--primary);
    float: right;
}

.room-card p {
    padding: 0 25px 25px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* Улучшаем блок преимуществ дома */
.building-info {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
    border-left: 4px solid var(--primary);
}

.advantages-list h3,
.location h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.advantages-list h3:after,
.location h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.advantages-list ul {
    list-style: none;
}

.advantages-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.advantages-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.location p {
    margin-bottom: 10px;
    font-size: 16px;
}

.location p strong {
    color: var(--text-dark);
    font-weight: 600;
    min-width: 100px;
    display: inline-block;
}

/* Улучшаем юридический блок */
.legal-box {
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
    padding: 60px 40px;
    border-radius: 16px;
    border: 1px solid var(--gray-border);
}

.legal-grid {
    gap: 40px;
    margin-top: 40px;
}

.legal-item {
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.legal-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.legal-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 50%;
}

.legal-item p {
    font-size: 16px;
    line-height: 1.6;
}

.legal-item strong {
    font-size: 18px;
    color: var(--text-dark);
    display: block;
    margin-bottom: 5px;
}

/* Улучшаем контакты */
.contacts-grid {
    gap: 25px;
}

.contact-card {
    padding: 35px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--gray-border);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(212, 182, 138, 0.1);
}

.contact-icon {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact-value {
    font-size: 16px;
    margin: 15px 0;
    color: var(--text-light);
    text-decoration: none;
    word-break: break-word;
}

/* Улучшаем первый блок */
.hero {
    padding-top: 130px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark), var(--primary));
}

.hero-title {
    font-size: 52px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding: 0 30px;
}

.hero-subtitle:before,
.hero-subtitle:after {
    content: '—';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 24px;
    opacity: 0.5;
}

.hero-subtitle:before {
    left: 0;
}

.hero-subtitle:after {
    right: 0;
}

.price-box {
    font-size: 56px;
    font-weight: 300;
    color: var(--primary-dark);
    margin: 30px 0;
    padding: 20px 40px;
    background: linear-gradient(135deg, rgba(212, 182, 138, 0.1) 0%, transparent 100%);
    display: inline-block;
    border-radius: 60px;
}

/* Улучшаем карусель */
.carousel-container {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.3);
}

.carousel-slide img {
    transition: transform 0.5s ease;
}

.carousel-slide:hover img {
    transform: scale(1.02);
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel-container:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
        white-space: normal;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-subtitle:before,
    .hero-subtitle:after {
        display: none;
    }
    
    .price-box {
        font-size: 42px;
        padding: 15px 30px;
    }
    
    .building-info {
        padding: 25px;
    }
}

/* ========== MODERNIZATION V1 ========== */
:root {
    --bg-soft: #fcfaf6;
    --bg-contrast: #f3f5f7;
}

body {
    font-size: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfaf6 100%);
}

h1 {
    font-size: 56px;
    line-height: 1.15;
}

h2 {
    font-size: 40px;
    line-height: 1.2;
}

h3 {
    font-size: 26px;
}

section {
    padding: 100px 0;
}

.hero,
.rooms,
.legal,
.contacts,
.final-cta {
    background: #ffffff;
}

.advantage,
.building {
    background: var(--bg-soft);
}

.layout,
.map {
    background: var(--bg-contrast);
}

.layout-sizes,
.building-info,
.legal-box {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(212, 182, 138, 0.2);
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(44, 62, 80, 0.06);
}

.layout-sizes {
    padding: 28px 24px;
}

.layout-sizes h3 {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    margin-bottom: 18px;
}

.sizes-list {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.45;
}

.sizes-list li {
    align-items: baseline;
    gap: 18px;
}

.sizes-list li span {
    color: var(--text-dark);
}

.sizes-list li strong {
    font-weight: 700;
    white-space: nowrap;
}

.hero-subtitle,
.contacts-subtitle,
.map-address {
    max-width: 66ch;
    margin-left: auto;
    margin-right: auto;
}

.navbar {
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(212, 182, 138, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}

.section-title {
    margin-bottom: 68px;
}

.section-title:after {
    bottom: -16px;
    width: 96px;
}

.final-cta {
    padding-top: 40px;
    padding-bottom: 100px;
}

.final-cta-box {
    background: linear-gradient(135deg, rgba(212, 182, 138, 0.14) 0%, #ffffff 45%, rgba(196, 164, 132, 0.16) 100%);
    border: 1px solid rgba(212, 182, 138, 0.35);
    border-radius: 24px;
    padding: 56px 44px;
    text-align: center;
    box-shadow: 0 20px 45px rgba(44, 62, 80, 0.1);
}

.final-cta-label {
    font-size: 14px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.final-cta-box h2 {
    margin-bottom: 18px;
}

.final-cta-box p {
    max-width: 58ch;
    margin: 0 auto 30px;
    color: var(--text-light);
}

.final-cta-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.final-cta-meta span {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(212, 182, 138, 0.45);
    background: rgba(255, 255, 255, 0.86);
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 600;
}

.final-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Modern button system override */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 30px;
    border-radius: 14px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease;
    will-change: transform;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #d8bb90 0%, #c9a778 100%);
    border-color: rgba(180, 142, 94, 0.35);
    box-shadow: 0 8px 18px rgba(201, 167, 120, 0.24);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ddc298 0%, #cca977 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(201, 167, 120, 0.28), 0 0 14px rgba(212, 182, 138, 0.25);
}

.btn-outline {
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(212, 182, 138, 0.6);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.btn-outline:hover {
    color: #fff;
    background: linear-gradient(135deg, #d8bb90 0%, #c9a778 100%);
    border-color: rgba(180, 142, 94, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(201, 167, 120, 0.24), 0 0 14px rgba(212, 182, 138, 0.24);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(44, 62, 80, 0.14);
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 182, 138, 0.22), 0 10px 22px rgba(201, 167, 120, 0.22);
}

.btn-small {
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
}

.btn-large {
    min-height: 58px;
    padding: 16px 36px;
    border-radius: 16px;
    font-size: 16px;
}

.legal-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 182, 138, 0.1);
    border: 1px solid rgba(212, 182, 138, 0.3);
    color: #b99867;
    line-height: 0;
}

.legal-icon svg {
    width: 27px;
    height: 27px;
    display: block;
}

.legal-icon svg * {
    stroke-width: 1.35 !important;
}

.contact-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 182, 138, 0.1);
    border: 1px solid rgba(212, 182, 138, 0.3);
    color: #b99867;
    line-height: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.contact-icon svg * {
    stroke-width: 1.35 !important;
}

.layout-image img {
    cursor: zoom-in;
}

.plan-modal {
    background-color: rgba(18, 22, 28, 0.9);
    z-index: 1100;
}

.plan-modal-content {
    position: relative;
    width: min(1200px, 92vw);
    margin: 3vh auto;
}

.plan-modal-image {
    display: block;
    width: 100%;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid rgba(212, 182, 138, 0.35);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.45);
}

.plan-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(18, 22, 28, 0.6);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-modal-close:hover {
    background: rgba(212, 182, 138, 0.95);
    color: #1c2530;
    transform: scale(1.04);
    box-shadow: 0 10px 20px rgba(212, 182, 138, 0.25);
}

/* Interactive building section */
.building-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.building-image {
    position: relative;
    height: 190px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(212, 182, 138, 0.16);
    box-shadow: 0 10px 22px rgba(44, 62, 80, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.building-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.36s ease, filter 0.36s ease;
}

.building-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 16, 22, 0.06) 0%, rgba(12, 16, 22, 0.32) 100%);
    opacity: 0.95;
    transition: opacity 0.28s ease;
}

.building-image:hover,
.building-image:focus-visible,
.building-image-active {
    transform: translateY(-4px);
    border-color: rgba(212, 182, 138, 0.62);
    box-shadow: 0 16px 30px rgba(44, 62, 80, 0.14), 0 0 14px rgba(212, 182, 138, 0.24);
}

.building-image:hover img,
.building-image:focus-visible img,
.building-image-active img {
    transform: scale(1.04);
    filter: saturate(1.04);
}

.building-image:hover::after,
.building-image:focus-visible::after,
.building-image-active::after {
    opacity: 0.35;
}

.building-spotlight {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(212, 182, 138, 0.12) 100%);
    border: 1px solid rgba(212, 182, 138, 0.3);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 32px;
}

.building-spotlight-label {
    margin: 0 0 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-dark);
    font-weight: 700;
}

.building-spotlight h3 {
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 600;
}

.building-spotlight p {
    margin: 0;
    color: var(--text-light);
    max-width: 70ch;
}

@media (max-width: 1024px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 34px;
    }

    section {
        padding: 88px 0;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 22px;
    }

    section {
        padding: 72px 0;
    }

    .section-title {
        margin-bottom: 54px;
    }

    .final-cta {
        padding-top: 24px;
        padding-bottom: 72px;
    }

    .final-cta-box {
        padding: 36px 20px;
        border-radius: 18px;
    }

    .final-cta-actions .btn {
        width: 100%;
        text-align: center;
    }

    .btn {
        width: 100%;
    }

    .contact-icon {
        width: 52px;
        height: 52px;
    }

    .plan-modal-content {
        width: 94vw;
        margin: 8vh auto;
    }

    .plan-modal-close {
        top: 10px;
        right: 10px;
    }

    .building-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .building-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .building-grid {
        grid-template-columns: 1fr;
    }

    .building-image {
        height: 210px;
    }

    .building-spotlight {
        padding: 16px;
    }
}
