/* ============================================================
   Footer — matches Tilda rec279008170 (t396, height:300px, bg:#e6e6e6)
   ============================================================ */

#site-footer {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #3b3b3b;
    background-color: #e6e6e6;
}

/* Tilda uses a 1200px grid with max-width 1200px and auto margins */
#site-footer .t-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* ---- Top bar: contacts + social ---- */
/* In Tilda: phone at left:22px, email at left:196px, clock at left:350px — all at top:52px
   Social icons at left:1115 and 1155px — far right of 1200px grid */

.footer-contacts {
    padding: 20px 0 0;
}

.footer-contacts__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-contacts__group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
}

.footer-contacts__item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3b3b3b !important;
    text-decoration: none !important;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
}

.footer-contacts__item:hover {
    opacity: 0.7;
}

.footer-contacts__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
}

.footer-contacts__social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-contacts__social-link {
    display: flex;
    align-items: center;
    opacity: 1;
    transition: opacity 0.2s;
}

.footer-contacts__social-link:hover {
    opacity: 0.7;
}

/* ---- Navigation links ---- */
/* In Tilda: links at top:156px, copyright at top:272px
   Total artboard height: 300px
   So nav block starts at ~104px from contacts row */

.footer-nav {
    padding: 50px 0 0;
}

.footer-nav__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-nav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav__link {
    color: #3b3b3b !important;
    text-decoration: none !important;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 500;
    transition: opacity 0.2s;
}

.footer-nav__link:hover {
    opacity: 0.7;
}

/* ---- Copyright ---- */
/* In Tilda at top:272px from artboard top, artboard is 300px total
   So copyright is ~28px from bottom */

.footer-nav__copyright {
    padding-top: 62px;
    padding-bottom: 28px;
    font-size: 12px;
    line-height: 1.55;
    color: #3b3b3b;
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 400;
}

/* ---- Responsive ---- */

@media (max-width: 1199px) {
    .footer-nav {
        padding-top: 40px;
    }
}

@media (max-width: 959px) {
    .footer-contacts__inner,
    .footer-nav__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-nav__links {
        gap: 14px;
    }
    .footer-nav__copyright {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@media (max-width: 639px) {
    .footer-contacts__group {
        gap: 12px;
    }
    .footer-nav__links {
        gap: 12px;
    }
}

@media (max-width: 479px) {
    .footer-contacts__group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .footer-nav__links {
        flex-direction: column;
        gap: 8px;
    }
    .footer-nav__copyright {
        padding-top: 16px;
        padding-bottom: 16px;
    }
}
