/* =========================================
   SAMWISE PLUMBING - FOOTER
   ========================================= */

#footer {
    background-color: #202320;
    color: #F0EBE1;
    padding: 70px 0 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Footer columns */
#footer .footer-column {
    padding-right: 25px;
}

/* Footer headings */
#footer h2,
#footer h3 {
    font-family: 'Teko', sans-serif;
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    margin-bottom: 22px;
}

/* Business name fallback */
#footer .footer-business-name {
    font-size: 2.5rem;
    color: #F0EBE1;
}

/* Footer logo */
#footer .footer-logo {
    display: inline-block;
    margin-bottom: 22px;
}

#footer .footer-logo img {
    display: block;
    width: auto;
    max-width: 210px;
    max-height: 75px;
    object-fit: contain;
}

/* Business description */
#footer .footer-description {
    color: #C6C8C0;
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 310px;
    margin-bottom: 0;
}

/* =========================================
   FOOTER LINKS
   ========================================= */

#footer a {
    color: #C6C8C0;
    text-decoration: none;
    transition: color 0.25s ease;
}

#footer a:hover,
#footer a:focus-visible {
    color: #9BA78B;
}

#footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .footer-links li {
    margin-bottom: 12px;
}

#footer .footer-links a {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
}

/* =========================================
   CONTACT INFORMATION
   ========================================= */

#footer .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: #C6C8C0;
}

/* Contact icons */
#footer .footer-contact i {
    color: #9BA78B;
    font-size: 1rem;
    flex-shrink: 0;
    width: 18px;
    margin-top: 3px;
}

/* Phone and email links */
#footer .footer-contact a {
    color: #F0EBE1;
    font-size: 0.9rem;
    font-weight: 500;
    overflow-wrap: anywhere;
}

#footer .footer-contact a:hover {
    color: #9BA78B;
}

/* Address and business hours */
#footer .footer-contact-text {
    color: #C6C8C0;
    font-size: 0.9rem;
    line-height: 1.7;
    min-width: 0;
}

#footer .footer-contact-text p {
    margin: 0 0 5px;
}

#footer .footer-contact-text p:last-child {
    margin-bottom: 0;
}

#footer .footer-contact-text a {
    color: #C6C8C0;
}

/* =========================================
   COPYRIGHT BAR
   ========================================= */

#footer .footer-bottom {
    border-top: 1px solid rgba(240, 235, 225, 0.15);
    padding: 22px 0;
    margin-top: 55px;
}

#footer .footer-bottom p {
    color: #A5A99F;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 991.98px) {

    #footer {
        padding-top: 55px;
    }

    #footer .footer-column {
        padding-right: 15px;
    }

    #footer h2,
    #footer h3 {
        font-size: 1.5rem;
        margin-bottom: 18px;
    }

    #footer .footer-logo img {
        max-width: 190px;
    }

    #footer .footer-bottom {
        margin-top: 40px;
    }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767.98px) {

    #footer {
        padding-top: 45px;
        font-size: 0.875rem;
    }

    #footer .footer-column {
        padding-right: 12px;
    }

    #footer .footer-logo {
        margin-bottom: 18px;
    }

    #footer .footer-logo img {
        max-width: 180px;
    }

    #footer .footer-description {
        max-width: 100%;
    }

    #footer .footer-links li {
        margin-bottom: 10px;
    }

    #footer .footer-contact li {
        margin-bottom: 14px;
    }

    #footer .footer-bottom {
        margin-top: 30px;
        padding: 20px 0;
    }

    #footer .footer-bottom p {
        font-size: 0.75rem;
    }
}

/* =========================================
   REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    #footer a {
        transition: none;
    }
}