/* =========================================================
   Где меня найти
   ========================================================= */

.contacts {
    width: 100%;

    background: var(--cream-20);
}


.contacts-container {
    box-sizing: border-box;

    width: 1040px;

    margin: 0 auto;
    padding: 42px 0 48px;
}


/* =========================================================
   Верхняя часть
   ========================================================= */

.contacts-head {
    margin-bottom: 32px;
}


.contacts-heading {
    position: relative;

    width: max-content;

    margin: 0 0 22px;
    padding-bottom: 11px;

    color: var(--charcoal);

    font-size: 40px;
    font-weight: 500;
    line-height: 1;
}


.contacts-heading::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 65px;
    height: 2px;

    background: var(--gold);
}


.contacts-subtitle {
    color: var(--gray-500);

    font-size: 17px;
    font-weight: 400;
    line-height: 1.45;
}


/* =========================================================
   Общий блок
   ========================================================= */

.contacts-block {
    box-sizing: border-box;

    padding: 25px 32px 27px;

    border-radius: 9px;

    background: var(--cream-100);
}


.contacts-block-main {
    margin-bottom: 20px;
}


/* =========================================================
   Заголовок блока
   ========================================================= */

.contacts-block-title {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 28px;

    color: var(--gold);

    font-size: 13px;
    font-weight: 600;
    line-height: 1;

    letter-spacing: 2px;
    text-transform: uppercase;
}


.contacts-block-title span {
    flex-shrink: 0;
}


.contacts-block-line {
    flex: 1;

    height: 1px;

    background: var(--sand-300);
}


/* =========================================================
   Сетка площадок
   ========================================================= */

.contacts-platforms {
    display: grid;
}


.contacts-platforms-five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}


.contacts-platforms-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}




/* =========================================================
   Одна площадка
   ========================================================= */

.contacts-platform {
    display: flex;
    flex-direction: column;
    align-items: center;

    box-sizing: border-box;

    min-width: 0;

    color: var(--charcoal);

    text-decoration: none;
}


/* Вертикальные разделители */

.contacts-platform + .contacts-platform {
    border-left: 1px solid var(--cream-300);
}


/* =========================================================
   Иконка
   ========================================================= */

.contacts-platform img {
    display: block;

    width: 62px;
    height: 62px;

    margin-bottom: 13px;

    object-fit: contain;
}


/* =========================================================
   Название
   ========================================================= */

.contacts-platform-name {
    min-height: 20px;

    color: var(--charcoal);

    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;

    text-align: center;
}


/* =========================================================
   Стрелка
   ========================================================= */

.contacts-platform-arrow {
    display: block;

    width: 35px;
    height: 10px;

    margin-top: 16px;

    background-image: url('../../images/base/arrow.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    flex-shrink: 0;

    transition: transform .2s ease;
}


.contacts-platform:hover .contacts-platform-arrow {
    transform: translateX(4px);
}


/* =========================================================
   Нижние два блока
   ========================================================= */

.contacts-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}