/* 1. РАСШИРЯЕМ ГРАНИЦЫ: Чтобы карта могла быть шире стандартных 1100px */
.address .container {
    max-width: 1400px !important; 
    width: 95%;
    margin: 0 auto;
}

/* 2. ГИБКИЙ РЯД */
.address-flex-row {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Растягивает текст и карту до одной высоты */
    gap: 50px; 
    margin-top: 20px;
}

/* 3. ЛЕВЫЙ БЛОК (Текст) */
.address-text-side {
    flex: 0 0 350px; /* Фиксированная ширина текста, чтобы не мешать карте */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Центрируем контент по вертикали */
}

.address-title {
    font-size: 32px;
    font-weight: 800;
    color: #2b2b2b; /* Изменено на строгий темно-серый */
    margin-bottom: 35px;
}

.address-info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(227, 27, 35, 0.1); /* Легкий красный оттенок фона */
    color: #E31B23; /* Сама иконка будет красной */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 18px;
    color: #1e293b;
    font-weight: 600;
    margin: 0;
}

.phone-link { 
    color: inherit; 
    text-decoration: none; 
    transition: 0.3s ease;
}
.phone-link:hover { 
    color: #E31B23; /* Ссылка при наведении становится красной */
}

/* КНОПКА */
.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #E31B23; /* Фирменный красный */
    color: #fff !important;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    transition: 0.3s;
}

.btn-maps:hover {
    background: #B8151C; /* Немного затемненный красный для эффекта наведения */
    transform: translateY(-3px);
}

/* 4. ПРАВЫЙ БЛОК (КАРТА) — ТЕПЕРЬ ОГРОМНЫЙ */
.address-map-side {
    flex: 0.8; /* Занимает всё оставшееся место (примерно 1000px) */
    height: 400px; /* Ваша высота */
    min-width: 250px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

/* Важно: заставляем iframe внутри занять все 800px */
.address-map-side iframe {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* 5. АДАПТИВНОСТЬ */
@media (max-width: 1100px) {
    .address-map-side {
        height: 500px; /* Уменьшаем высоту на средних экранах */
    }
}

@media (max-width: 850px) {
    .address-flex-row {
        flex-direction: column; /* Текст над картой на телефонах */
        text-align: center;
    }
    .address-text-side {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 30px;
    }
    .contact-item {
        flex-direction: column;
        align-items: center;
    }
    .address-map-side {
        width: 100%;
        min-width: 100%;
        height: 350px;
    }
    .btn-maps { margin: 0 auto; }
}