/* ============================================
   СТРАНИЦА КОНТАКТЫ
   ============================================ */

.contacts {
    background-color: #ffffff;
    padding: 80px 0 0;
    min-height: 100vh;
}

.contacts__container {
    max-width: 1728px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ============================================
   ЗАГОЛОВКИ
   ============================================ */

.contacts__heading {
    font-family: 'Coolvetica', 'Yanone Kaffeesatz', sans-serif;
    font-weight: 700;
    font-size: 56.52px;
    line-height: 67.82px;
    color: #000000;
    margin: 0 0 90px 0;
    letter-spacing: 0;
}

/* ============================================
   КОНТАКТНАЯ ИНФОРМАЦИЯ
   ============================================ */

.contacts__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 40px 100px;
    margin-bottom: 120px;
    align-items: start;
}

/* Адрес занимает первую строку левой колонки */
.contacts__item--address {
    grid-column: 1;
    grid-row: 1;
}

/* Группа телефона и email в правой колонке */
.contacts__group {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Информационное сообщение на всю ширину */
.contacts__message {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

/* Кнопка бронирования под адресом */
.contacts__booking-btn {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
}

/* ============================================
   ЭЛЕМЕНТЫ КОНТАКТОВ
   ============================================ */

.contacts__item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contacts__icon-wrapper {
    flex-shrink: 0;
    width: 60.37px;
    height: 60.37px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacts__icon {
    width: 100%;
    height: 100%;
    color: #000000;
}

.contacts__text {
    flex: 1;
}

.contacts__label {
    font-family: 'Coolvetica', 'Yanone Kaffeesatz', sans-serif;
    font-weight: 300;
    font-size: 30.3px;
    line-height: 36.36px;
    color: #000000;
    margin: 0 0 24px 0;
}

.contacts__coordinates {
    font-family: 'Coolvetica', 'Yanone Kaffeesatz', sans-serif;
    font-weight: 300;
    font-size: 30.3px;
    line-height: 36.36px;
    color: #000000;
    margin: 0;
}

.contacts__link {
    font-family: 'Coolvetica', 'Yanone Kaffeesatz', sans-serif;
    font-weight: 300;
    font-size: 30.3px;
    line-height: 36.36px;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacts__link:hover {
    color: #666666;
}

/* ============================================
   ИНФОРМАЦИОННОЕ СООБЩЕНИЕ
   ============================================ */

.contacts__message-icon {
    flex-shrink: 0;
    width: 48.3px;
    height: 48.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
}

.contacts__message-icon svg {
    width: 100%;
    height: 100%;
}

.contacts__message-text {
    flex: 1;
    font-family: 'Coolvetica', 'Yanone Kaffeesatz', sans-serif;
    font-weight: 300;
    font-size: 30.3px;
    line-height: 36.36px;
    color: #000000;
    margin: 0;
    text-align: justify;
    max-width: 1255px;
}

/* ============================================
   КНОПКА БРОНИРОВАНИЯ
   ============================================ */

.contacts__booking-btn {
    background-color: #2f2f2f;
    color: #ffffff;
    font-family: 'Coolvetica', 'Yanone Kaffeesatz', sans-serif;
    font-weight: 400;
    font-size: 16.17px;
    line-height: normal;
    width: 236px;
    height: 56px;
    padding: 0;
    border: none;
    border-radius: 11px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacts__booking-btn:hover {
    background-color: #1f1f1f;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.contacts__booking-btn:active {
    transform: scale(0.98);
}

/* ============================================
   СЕКЦИЯ КАРТЫ
   ============================================ */

.contacts__map-section {
    margin-bottom: 100px;
}

.contacts__map {
    width: 100%;
    height: 715.67px;
    background-color: #f5f5f5;
    border-radius: 0;
    overflow: hidden;
    margin-top: 70px;
}

.contacts__map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   КОПИРАЙТ
   ============================================ */

.contacts__copyright {
    font-family: 'Coolvetica', 'Yanone Kaffeesatz', sans-serif;
    font-weight: 700;
    font-size: 23.61px;
    line-height: 28.34px;
    color: #1f1f1f;
    text-align: left;
    margin-top: 100px;
    padding-bottom: 80px;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 1400px) {
    .contacts__info {
        gap: 30px 60px;
    }
    
    .contacts__heading {
        font-size: 48px;
        line-height: 58px;
        margin-bottom: 60px;
    }
    
    .contacts__label,
    .contacts__coordinates,
    .contacts__link,
    .contacts__message-text {
        font-size: 26px;
        line-height: 32px;
    }
}

@media (max-width: 1024px) {
    .contacts__info {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contacts__group {
        grid-column: 1;
        grid-row: 2;
    }
    
    .contacts__message {
        grid-row: 3;
    }
    
    .contacts__booking-btn {
        grid-row: 4;
    }
    
    .contacts__map {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .contacts {
        padding: 40px 0 0;
    }
    
    .contacts__container {
        padding: 0 20px;
    }
    
    .contacts__heading {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 40px;
    }
    
    .contacts__label,
    .contacts__coordinates,
    .contacts__link,
    .contacts__message-text {
        font-size: 20px;
        line-height: 26px;
    }
    
    .contacts__icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .contacts__message-icon {
        width: 35px;
        height: 35px;
    }
    
    .contacts__booking-btn {
        width: 100%;
        padding: 16px 40px;
        font-size: 14px;
    }
    
    .contacts__map {
        height: 350px;
        margin-top: 40px;
    }
    
    .contacts__map-section {
        margin-bottom: 60px;
    }
    
    .contacts__copyright {
        font-size: 18px;
        line-height: 22px;
        margin-top: 60px;
        padding-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .contacts__heading {
        font-size: 28px;
        line-height: 34px;
    }
    
    .contacts__label,
    .contacts__coordinates,
    .contacts__link,
    .contacts__message-text {
        font-size: 16px;
        line-height: 22px;
    }
    
    .contacts__map {
        height: 280px;
    }
}

