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

.site-footer {
    margin-top: 100px;
    padding: 80px 0 30px;
    overflow: hidden;
    color: #d1d5db;
    background: #111827;
}

.site-footer .row > [class*="col-"] {
    min-width: 0;
}

/* Company */

.footer-logo {
    margin: 0;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.footer-logo span {
    color: #ff6b00;
}

.footer-text {
    max-width: 420px;
    margin: 20px 0 0;
    color: #9ca3af;
    line-height: 1.8;
}

/* Headings */

.site-footer h5 {
    margin-bottom: 25px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.3;
}

/* Lists */

.footer-links,
.footer-info {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li,
.footer-info li {
    min-width: 0;
    margin-bottom: 12px;
    line-height: 1.65;
}

.footer-links li:last-child,
.footer-info li:last-child {
    margin-bottom: 0;
}

/* Quick links */

.footer-links a {
    display: inline-flex;
    align-items: center;
    color: #d1d5db;
    text-decoration: none;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #ff6b00;
    transform: translateX(6px);
}

/* Contact links */

.footer-info a {
    display: inline-flex;
    align-items: flex-start;
    max-width: 100%;
    color: inherit;
    gap: 8px;
    line-height: 1.6;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
    transition: color 0.2s ease;
}

.footer-info a:hover,
.footer-info a:focus-visible {
    color: #ff6b00;
}

/* Social links */

.footer-social {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 15px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    color: #ffffff;
    background: #1f2937;
    border-radius: 50%;
    font-size: 1.1rem;
    text-decoration: none;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}

.footer-social a:hover {
    color: #ffffff;
    background: #ff6b00;
    transform: translateY(-5px);
}

.footer-social a:focus-visible,
.footer-links a:focus-visible,
.footer-info a:focus-visible,
.footer-map-link:focus-visible {
    outline: 3px solid rgba(255, 107, 0, 0.45);
    outline-offset: 3px;
}

/* Google Maps */

.footer-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 48px;
    margin-top: 16px;
    padding: 10px 18px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    gap: 8px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.footer-map-link:hover {
    color: #ffffff;
    background: #ff6b00;
    border-color: #ff6b00;
    transform: translateY(-2px);
}

/* Footer bottom */

.site-footer hr {
    margin: 50px 0 25px;
    border-color: #374151;
    opacity: 1;
}

.footer-bottom {
    color: #9ca3af;
    line-height: 1.7;
    text-align: center;
    overflow-wrap: anywhere;
}

/* =========================
   TABLETS
========================= */

@media (max-width: 991.98px) {
    .site-footer {
        margin-top: 80px;
        padding: 70px 0 28px;
    }

    .site-footer h5 {
        margin-bottom: 18px;
    }

    .footer-text {
        margin-top: 16px;
    }

    .footer-social {
        margin-top: 24px;
    }
}

/* =========================
   PHONES
========================= */

@media (max-width: 767.98px) {
    .site-footer {
        margin-top: 64px;
        padding: 60px 0 24px;
    }

    .site-footer .row {
        --bs-gutter-y: 2.5rem;
    }

    .footer-logo {
        font-size: 1.8rem;
    }

    .footer-links a {
        min-height: 44px;
    }

    .footer-info a {
        min-height: 44px;
    }

    .footer-map-link {
        width: 100%;
        max-width: 340px;
    }

    .site-footer hr {
        margin: 42px 0 24px;
    }
}

/* =========================
   SMALL PHONES
========================= */

@media (max-width: 575.98px) {
    .site-footer {
        margin-top: 52px;
        padding: 52px 0 22px;
    }

    .site-footer .row {
        --bs-gutter-y: 2.25rem;
    }

    .footer-logo {
        font-size: clamp(1.55rem, 8vw, 1.8rem);
    }

    .footer-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .footer-social {
        gap: 12px;
    }

    .footer-social a {
        width: 46px;
        height: 46px;
    }

    .footer-map-link {
        max-width: none;
    }

    .site-footer hr {
        margin: 36px 0 22px;
    }

    .footer-bottom {
        font-size: 0.9rem;
    }
}

@media (max-width: 359.98px) {
    .site-footer {
        padding-top: 46px;
    }

    .footer-logo {
        font-size: 1.45rem;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .footer-links a,
    .footer-info a,
    .footer-social a,
    .footer-map-link {
        transition: none;
    }
}