/* ============================================= */
/* === FOOTER === */
/* ============================================= */

.footer {
    /* Позиционирование */
    position: relative;

    /* Box model */
    padding-top: 180px;
    padding-bottom: 50px;
    min-height: 100svh;

    /* Фон */
    background: white;

    /* Прочее */
    overflow-x: hidden;
}

.footer__curtain {
    /* Позиционирование */
    position: absolute;
    top: 0;
    bottom: 0; 

    /* Box model */

}

.footer__curtain--left {
    /* Позиционирование */
    left: 0;
    z-index: 0;

    /* Box model */
    height: 80%;
    max-height: 80%;
}

.footer__curtain--right {
    /* Позиционирование */
    right: 0;
    z-index: 3;

    /* Box model */
    height: 100%;
    max-height: 100%;
}

.footer__contacts-bar {
    /* Box model */
    width: 100%;
    padding: 2rem 0;

    /* Позиционирование */
    z-index: 1;

    /* Фон */
    background: #ddd3c6;

    /* Прочее */
    position: relative;
}

.footer__title {
    /* Типографика */
    font-size: 6rem;
    font-weight: 200;
    text-align: center;
    color: #593e22;
}

.footer__body {
    /* Позиционирование */
    position: relative;
    z-index: 2;

    /* Display & Flex */
    display: flex;
    flex-direction: column;
    align-items: center;

    /* Box model */
    padding-top: 2.5rem;
}

.footer__tagline {
    /* Box model */
    margin-bottom: 0.5rem;

    /* Типографика */
    font-size: 2rem;
    text-align: center;
    color: #593e22;
}

.footer__tagline-line {
    /* Box model */
    width: 27rem;
    height: 2px;
    margin-bottom: 1.5rem;
    border-radius: 4px;

    /* Фон */
    background: #898179;
    opacity: 0.8;
}

.footer__subtitle {
    /* Box model */
    margin-bottom: 3rem;

    /* Типографика */
    font-size: 1.5rem;
    text-align: center;
    color: #593e22;
}

.footer__contacts {
    /* Display & Flex */
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 3rem;
    
    /* Box model */
    height: auto; 
    margin-right: 10rem;
}

.footer__contacts-line {
    /* Box model */
    width: 12px;
    align-self: stretch; 
    
    /* Фон */
    background: #baa286;
    opacity: 0.85;
    border-radius: 2px;
}

.footer__contacts-list {
    /* Display & Flex */
    display: flex;
    flex-direction: column;
    gap: 0.6rem;

    /* Прочее */
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__contacts-item {
    /* Display & Flex */
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer__icon {
    /* Box model */
    width: 40px;
    height: 40px;
    flex-shrink: 0;

    /* Прочее */
    object-fit: contain;
}

.footer__link {
    /* Типографика */
    font-size: 1.7rem;
    color: #593e22;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.footer__link:hover {
    text-decoration: underline;
}

/* === СТИЛИ ДЛЯ СОЦСЕТЕЙ === */
.footer__socials {
    /* Box model */
    width: 100%; 
    
    /* Display & Flex */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;

    /* Box model */
    margin-top: 2.5rem;
}

.footer__social-icon {
    /* Box model */
    width: 40px;
    height: 40px;

    /* Прочее */
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer__social-link:hover .footer__social-icon {
    opacity: 0.7;
    transform: translateY(-3px);
}