/*--------------------------------------------------------------
# Страница контактов
--------------------------------------------------------------*/

.contact-page {
    width: 100%;

    padding: 24px 0 60px;
}


/*--------------------------------------------------------------
# Заголовок страницы
--------------------------------------------------------------*/

.contact-page__header {
    margin-bottom: 30px;
}


.contact-page__title {
    position: relative;

    display: inline-block;

    width: fit-content;
    max-width: 100%;

    margin: 0 0 16px;
    padding-bottom: 12px;

    color: #222;

    font-size: 32px;
    font-weight: 600;
    line-height: 1.35;
}


.contact-page__title::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 65px;
    height: 3px;

    background: #00743C;

    border-radius: 3px;
}


.contact-page__description {
    max-width: 800px;

    margin: 0;

    color: #666;

    font-size: 17px;
    line-height: 1.7;
}


/*--------------------------------------------------------------
# Основной блок
--------------------------------------------------------------*/

.contact-page__card {
    width: 100%;

    overflow: hidden;

    background: #fff;

    border: 1px solid #ddd;
    border-radius: 4px;

    box-shadow:
        0 2px 6px rgba(0, 0, 0, .08);
}


/*--------------------------------------------------------------
# Контактная информация
--------------------------------------------------------------*/

.contact-page__info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-bottom: 1px solid #e5e5e5;
}


/*--------------------------------------------------------------
# Контактный пункт
--------------------------------------------------------------*/

.contact-page__item {
    min-width: 0;

    padding: 30px;

    border-right: 1px solid #e5e5e5;
}


.contact-page__item:last-child {
    border-right: none;
}


/*--------------------------------------------------------------
# Заголовок контактного пункта
--------------------------------------------------------------*/

.contact-page__item-title {
    position: relative;

    margin: 0 0 14px;
    padding-bottom: 9px;

    color: #00743C;

    font-size: 19px;
    line-height: 1.4;

    font-weight: 600;
}


.contact-page__item-title::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 40px;
    height: 2px;

    background: #00743C;

    border-radius: 2px;
}


/*--------------------------------------------------------------
# Значение
--------------------------------------------------------------*/

.contact-page__item-text {
    margin: 0;

    color: #555;

    font-size: 16px;
    line-height: 1.6;
}


/*--------------------------------------------------------------
# Ссылки
--------------------------------------------------------------*/

.contact-page__link {
    color: #555;

    text-decoration: none;

    transition:
        color .2s ease;
}


.contact-page__link:hover {
    color: #00743C;
}


/*--------------------------------------------------------------
# Карта
--------------------------------------------------------------*/

.contact-page__map {
    width: 100%;
}


.contact-page__map-wrapper {
    position: relative;

    width: 100%;
    height: 300px;

    overflow: hidden;

    background: #f5f5f5;
}


.contact-page__map-wrapper iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}


/*
 * Yandex constructor вставляет iframe внутрь контейнера.
 * Дополнительные стили помогают карте корректно занимать
 * всю доступную ширину.
 */

.contact-page__map-wrapper > iframe {
    display: block;

    width: 100% !important;
    height: 300px !important;

    border: 0;
}


/*--------------------------------------------------------------
# Планшеты
--------------------------------------------------------------*/

@media (max-width: 991px) {

    .contact-page__item {
        padding: 26px 22px;
    }


    .contact-page__item-title {
        font-size: 18px;
    }


    .contact-page__item-text {
        font-size: 15px;
    }

}


/*--------------------------------------------------------------
# Mobile
--------------------------------------------------------------*/

@media (max-width: 768px) {

    .contact-page {
        padding: 20px 0 40px;
    }


    .contact-page__header {
        margin-bottom: 24px;
    }


    .contact-page__title {
        margin-bottom: 12px;

        padding-bottom: 10px;

        font-size: 24px;
    }


    .contact-page__title::after {
        width: 55px;
        height: 3px;
    }


    .contact-page__description {
        font-size: 16px;
        line-height: 1.65;
    }


    /*----------------------------------------------------------
       Контактная информация
       ----------------------------------------------------------*/

    .contact-page__info {
        display: block;
    }


    .contact-page__item {
        padding: 22px 24px;

        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }


    .contact-page__item:last-child {
        border-bottom: none;
    }


    .contact-page__item-title {
        margin-bottom: 12px;

        font-size: 18px;
    }


    .contact-page__item-text {
        font-size: 15.5px;
    }


    /*----------------------------------------------------------
       Карта
       ----------------------------------------------------------*/

    .contact-page__map-wrapper {
        height: 300px;
    }


    .contact-page__map-wrapper > iframe {
        height: 300px !important;
    }

}


/*--------------------------------------------------------------
# Маленькие мобильные
--------------------------------------------------------------*/

@media (max-width: 480px) {

    .contact-page {
        padding-top: 18px;
        padding-bottom: 40px;
    }


    .contact-page__title {
        font-size: 22px;
    }


    .contact-page__description {
        font-size: 15px;
    }


    .contact-page__item {
        padding: 20px 18px;
    }


    .contact-page__item-title {
        font-size: 17px;
    }


    .contact-page__item-text {
        font-size: 15px;
    }


    .contact-page__map-wrapper {
        height: 280px;
    }


    .contact-page__map-wrapper > iframe {
        height: 280px !important;
    }

}
