/**
 * БФ «Ева» — Стили страницы «Контакты»
 */

/* ==========================================================================
   Контакты: базовая раскладка
   ========================================================================== */

/* Контакты */

.contacts-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
            .contacts-layout {
                grid-template-columns: 1fr;
                gap: 30px;
            }
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-sm);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-method:last-child {
    margin-bottom: 0;
}

.contact-icon {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    background: rgba(197, 78, 112, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-details h3 {
    font-size: 15px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    font-weight: 700;
}

.contact-details p, .contact-details a {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Форма обратной связи
   ========================================================================== */

/* Форма обратной связи */
.feedback-form-card {
    background: linear-gradient(135deg, rgba(235,160,78,0.02) 0%, rgba(197,78,112,0.02) 100%);
    border: 1px solid rgba(197,78,112,0.08);
    border-radius: var(--radius);
    padding: 50px;
    margin-bottom: 80px;
}

@media (max-width: 576px) {
            .feedback-form-card {
                padding: 30px;
            }
}

/* ==========================================================================
   Страница контактов: карточки и сетка
   ========================================================================== */

/* Страница контактов */
.contacts-header {
    margin-top: 60px;
    margin-bottom: 60px;
}
.contacts-title {
    font-size: 38px;
    color: var(--text-dark);
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}
.contacts-lead {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 45px;
}
.contact-card-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    border: 1.5px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
}
.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-card-icon--primary {
    background: rgba(197,78,112,0.08);
    color: var(--primary);
}
.contact-card-icon--secondary {
    background: rgba(235,160,78,0.08);
    color: var(--secondary);
}
.contact-card-icon--teal {
    background: rgba(95,174,177,0.1);
    color: #3b8e91;
}
.contact-card-title {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}
.contact-card-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0 0 6px;
}
.contact-card-sub {
    font-size: 12px;
    color: #888;
}
.contact-team-block {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px 26px;
    border: 1.5px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    min-width: 290px;
    flex: 1;
    max-width: 380px;
}
.contact-team-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.contact-team-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #a43a57 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
}
.contact-team-name {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Manrope', sans-serif;
}
.contact-team-role {
    font-size: 13px;
    color: var(--text-light);
    display: block;
}
.contact-team-info {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-dark);
}
.contact-map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    height: 480px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}
.contact-form-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px;
    border: 1.5px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-md);
}
@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .contact-card-box {
        padding: 20px 16px;
    }
    .contact-map-wrapper {
        height: 330px;
    }
    .contact-form-box {
        padding: 24px 18px;
    }
    .contact-team-block {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }
    .contacts-partner-banner {
        padding: 22px 18px;
    }
}

/* ==========================================================================
   Контакты: карта и плашка
   ========================================================================== */

/* Страница контактов: баннер и карта */
.contact-phone-link { color: var(--primary); text-decoration: none; font-weight: 700; }
.contact-email-link { color: var(--text-dark); text-decoration: underline; }
.contact-schedule-text { color: var(--text-dark); line-height: 1.6; }
.contact-schedule-off { color: #888; }
.contact-partner-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 25px; }
.contact-partner-content { max-width: 600px; }
.partner-banner-tag { display: inline-block; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.partner-banner-title { font-size: 26px; color: var(--text-dark); font-family: 'Manrope', sans-serif; font-weight: 800; margin: 0 0 10px; line-height: 1.3; }
.partner-banner-desc { font-size: 15px; color: var(--text-light); line-height: 1.6; margin: 0 0 15px; }
.partner-contact-phone { color: var(--text-dark); text-decoration: none; font-weight: 600; }
.partner-contact-tg { color: #229ED9; text-decoration: underline; }
.partner-contact-email { color: var(--primary); text-decoration: underline; }
.contact-map-iframe { width: 100%; height: 100%; border: 0; position: relative; }
.contact-form-title { font-size: 22px; color: var(--text-dark); font-family: 'Manrope', sans-serif; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.contact-form-subtitle { font-size: 14px; color: var(--text-light); margin-bottom: 22px; line-height: 1.5; }
