/* ========================
   Базовые настройки (шрифты уже подключены в main.css)
   ======================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #000;
    background-color: #fcfcfc;
    overflow-x: hidden;
}

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

/* ========================
   Основной контент
   ======================== */
.contact-main {
    margin-top: 135px;
    padding-top: 0;
}

/* ========================
   Хлебные крошки
   ======================== */
.breadcrumbs {
    font-size: 18px;
    font-weight: 400;
    color: #929292;
    margin-bottom: 60px;
    padding-top: 0;
}

.breadcrumbs a {
    color: #929292;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #D90D26;
}

.breadcrumbs__sep {
    margin: 0 2px;
}

.breadcrumbs__current {
    color: #929292;
}

/* ========================
   Заголовок и описание
   ======================== */
.contact-hero__title {
    font-size: 50px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 30px;
    color: #000;
}

/* ========================
   Футер (подвал)
   ======================== */
.footer {
    background-color: #24486B;
    color: #FCFCFC;
    padding: 60px 0;
    font-family: 'Montserrat', sans-serif;
}

.footer__inner {
    width: 100%;
}

/* Верхний блок с колонками */
.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.footer__col {
    flex: 1 1 0;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
}

.footer__col--contacts {
    gap: 25px;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 18px;
    font-weight: 400;
}

.footer__icon--email {
    width: 43px;
    height: 29px;
}

.footer__icon--phone {
    width: 35px;
    height: 36px;
}

.footer__social2 {
    display: flex;
    gap: 25px;
    margin-top: 45px;
}

.footer__social2 a {
    transition: opacity 0.2s;
}
.footer__social2 a:hover {
    opacity: 0.8;
}

.footer__icon--social {
    width: 49px;
    height: 49px;
}

.footer__col--hours {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
    color: #000;
}

.footer__subtitle {
    font-weight: 500;
    margin-bottom: 5px;
    color: #000;
}

.footer__text {
    margin-bottom: 20px;
    font-weight: 200;
    color: #000;
}

.footer__text2 {
    line-height: 30px;
    font-weight: 200;
    color: #000;
}

.footer__city {
    font-size: 18px;
    font-weight: 500;
    margin-top: auto;
    color: #000;
}

.footer__col--addresses {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
    color: #000;
}

/* ========================
   Секция "Схема проезда"
   ======================== */
.map-section {
    margin-bottom: 100px;
}

.map-section__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 50px;
    margin-bottom: 30px;
}

.map-section__map {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
    background: #eee;
}

.yandex-map__container {
    width: 100%;
    height: 600px;
    background: #eee; 
    border-radius: 10px;
    overflow: hidden;
}

/* ========================
   Адаптивность (мобильная версия)
   ======================== */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    body {
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .container {
        max-width: 100%;
        padding: 0 16px;
        margin: 0 auto;
    }

    .contact-main {
        margin-top: 83px;
        margin-bottom: 30px;
    }

    .breadcrumbs {
        font-size: 12px;
        margin-top: 0;
        margin-bottom: 30px;
    }

    .contact-hero__title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .map-section__title {
        font-size: 20px;
        margin-bottom: 15px;
        margin-top: 30px;
    }

    .map-section__map { 
        height: 328px; 
        margin-bottom: 40px; 
    }

    .yandex-map__container { 
        height: 328px; 
    }

    .footer { 
        padding: 20px 0; 
    }
    .footer__top { 
        flex-direction: row; 
        flex-wrap: wrap; 
        gap: 15px; 
        margin-bottom: 10px; 
    }
    .footer__col { 
        flex: 1 1 45%; 
        margin-bottom: 15px; 
    }
    .footer__col--contacts {
        gap: 15px;              
    }
    .footer__contact-item { 
        font-size: 12px; 
        font-weight: 400; 
        gap: 5px; 
        letter-spacing: -0.01em; 
        white-space: nowrap; 
    }
    .footer__icon--email { 
        width: 20px; 
        height: auto; 
    }
    .footer__icon--phone { 
        width: 20px; 
        height: auto; 
    }
    .footer__icon--social { 
        width: 32px; 
        height: 32px; 
    }
    .footer__social2 { 
        margin-top: 35px; 
        gap: 15px; 
    }
    .footer__text, .footer__text2 { 
        font-size: 12px; 
        font-weight: 400; 
        line-height: 1.6; 
    }
    .footer__city { 
        font-size: 12px; 
        margin-top: -5px; 
    }
    .footer__subtitle { 
        font-size: 12px; 
        font-weight: 500; 
    }
}