/* ===== ДЕСКТОПНАЯ ВЕРСИЯ (ширина >= 769px) ===== */

/* Общие */
body {
    font-family: 'Roboto', sans-serif;
    background: #f8f9fa;
    color: #333;
}

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

/* Шапка */
.header {
    display: block;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.logo-subtitle {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #34495e;
    font-weight: 500;
    font-size: 16px;
}

.main-nav a:hover {
    color: #3498db;
}

.header-phone {
    text-align: right;
}

.phone-link {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
}

.phone-description {
    font-size: 12px;
    color: #7f8c8d;
    margin: 0;
}

.mobile-header {
    display: none !important;
}

/* Планировки — 3 карточки в ряд */
.plans-grid-wrapper {
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.plans-grid {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    padding: 10px 0;
}

.plans-grid .plan-card {
    flex: 0 0 calc(33.333% - 20px) !important;
    max-width: calc(33.333% - 20px) !important;
    min-width: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.plans-grid .plan-card:hover {
    transform: translateY(-5px);
}

.plan-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-arrow:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.plan-arrow.prev { left: 10px; }
.plan-arrow.next { right: 10px; }

/* Картинки планировок */
.plan-image {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
}

.plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ипотека */
.mortgage-features {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 30px;
    margin: 30px 0;
}

.mortgage-feature {
    flex: 1;
    text-align: center;
}

/* Интерьеры */
#interiorSlider .slider-img {
    max-height: 80vh;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

/* Футер */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}