@font-face {
    font-family: 'Oswald-Regular';
    src: url('font/Oswald-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Freigeist-Regular';
    src: url('font/Freigeist-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.footer {
    margin: 0;
    font-family: 'Freigeist-Regular', sans-serif;
    background-color: #fff;
    color: #fff;
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
}

.footer-top {
    display: flex; /* используем flex для левого и правого блока */
    justify-content: space-between; /* расстояние между картой и контактами */
    gap: 20px; /* расстояние между колонками */
    background-color: #d7cdc5;
    padding: 30px 20px;
    border-radius: 12px;
    margin: 10px;
    height: 340px;

}

.map {
    flex: 1; /* карта занимает всю доступную ширину колонки слева */
    background-color: #f0ecea;
    border-radius: 12px;
    min-height: 120px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* равномерно распределяем элементы по вертикали */
    align-items: flex-end; /* прижимаем к правому краю */
    flex: 1; /* правая колонка занимает оставшуюся ширину */
    height: 100%; /* чтобы space-between работал на всю высоту */
    text-align: right;
    font-family: 'Freigeist-Regular', sans-serif;
}

.contact-info h3 {
    margin: 0 0 10px 0;
    font-weight: normal;
    font-size: 22px;
}

.contact-info p {
    margin: 5px 0;
    font-size: 20px;
}

/* Нижняя часть футера */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #787571;
    height: 150px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
    font-family: 'Freigeist-Regular', sans-serif;
}

.footer-bottom a{
    text-decoration: none;
    color: inherit;
}

.footer-bot{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    font-family: 'Freigeist-Regular', sans-serif;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 14px;
    font-weight: normal;
    font-family: 'Freigeist-Regular', sans-serif;
}

.footer-nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-weight: normal;
    gap: 7px;
    font-size: 14px;
    text-align: right;
    font-family: 'Freigeist-Regular', sans-serif;
}

.footer-nav-right a:hover {
    color: #ccc;
}

.footer-nav a:hover {
    color: #ccc;
}

.privacy {
    font-family: 'Freigeist-Regular', sans-serif;
    font-size: 12px;
    color: #ccc;
    margin-top: 10px;
}

.social-call {
    font-family: 'Freigeist-Regular', sans-serif;
    display: flex;
    flex-direction: column; /* теперь элементы идут сверху вниз */
    align-items: flex-start; /* прижимаем к левому краю */
    gap: 10px; /* расстояние между блоками */
    margin-bottom: 50px;
}

.call-social-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Freigeist-Regular', sans-serif;
}


.social {
    width: 35px;
    height: 35px;
    border-radius: 13px;
    background-color: #EEEAE7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Freigeist-Regular', sans-serif;
}

.social-icons {
    display: flex;
    gap: 10px;
    font-family: 'Freigeist-Regular', sans-serif;
}

.social-icons img {
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.call-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    height: 35px;
    width: 170px;
    border-radius: 13px;
    background-color: #EEEAE7;
    cursor: pointer;
    font-family: 'Freigeist-Regular', sans-serif;
    font-weight: 500;
    font-size: 14px;
}

.call-button span {
    color: #787571;
    font-weight: bold;
}

.call-button img {
    width: 14px;
    height: 14px;
}

.footer-logo {
    font-family: 'Freigeist-Regular', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #AEA39C;
    font-size: 24px;
    font-weight: 400;
}

.footer-logo__img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Текст */
.footer-logo__text {
    color: #FFF;
    font-family: 'Oswald-Regular', sans-serif;
    font-size: 24px;
    line-height: normal;
}

.mobile-privacy{
    display: none;
}

/* Адаптив для мобильных */
@media (max-width: 1024px) {
    /* Верхняя часть футера */
    .footer-top {
        flex-direction: column;
        padding: 20px;
        height: auto;
    }

    .contact-info {
        order: 1;
        text-align: right;
        align-items: end;
        margin-bottom: 20px;
    }

    .contact-info h3 {
        font-size: 16px;
        font-weight: 400;
        margin-bottom: 10px;
    }

    .contact-info p {
        font-size: 14px;
        margin: 3px 0;
    }

    .map {
        order: 2;
        width: 100%;
        min-height: 150px;
        margin-bottom: 20px;
    }

    /* Нижняя часть футера */
    .footer-bottom {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
        height: auto;
    }

    /* Навигация в две колонки */
    .footer-bot {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 10px;
        width: 100%;

        order: 1;
    }

    .footer-nav {
        flex-direction: column;
        gap: 5px;
        text-align: left;
    }

    .footer-nav-right{
        flex-direction: column;
        gap: 5px;
        text-align: right;
    }

    /* Логотип TSOY Clinic */
    .social-call {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
        order: 2;
    }

    /* Звонок + мессенджеры в одной строке */
    .call-social-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .call-input {
        display: flex;
        align-items: center;
    }

    .call-input input {
        width: 120px;
    }

    .social-icons {
        display: flex;
        gap: 10px;
    }

    .privacy{
        display: none;
    }



    /* Политика конфиденциальности в самом низу */
    .mobile-privacy {
        text-align: center;
        margin-top: 10px;
        color: #fff;
        font-size: 12px;
        order: 3;
    }
}
