/* ==========================================================================
   TRIB Banner
   Figma: bg #d31346, height 107px
   "Proud Members of:" 25.505px Medium white, uppercase
   ========================================================================== */
.trib-banner {
    height: 107px;
}

.trib-banner .container {
    max-width: 1640px;
}

.trib-banner__label {
    font-size: 25.505px;
    letter-spacing: 1px;
    margin-right: 30px;
}

.trib-banner__logos {
    gap: 30px;
}

.trib-banner__logos img {
    filter: brightness(0) invert(1);
}

/* Toggle hidden on desktop */
.footer-col__toggle {
    display: contents;
}

/* ==========================================================================
   Footer Main
   Figma: bg #f2f2f2, border 0.85px #f1f1f1
   Content: 1620px wide, left 141px, top 130.69px
   ========================================================================== */
.footer-col:first-of-type {
    display: none;
}

.site-footer {
    background-color: #f2f2f2;
    overflow: hidden;
}

.site-footer .container {
    max-width: 1640px;
}

.footer-main {
    padding: 116px 0 95px;
    gap: 30px;
}

.footer-right {
    width: 60%;
}

.footer-col--contact {
    max-width: 400px;
    width: 100%;
}

/* Figma: 24.977px Medium #7b7b7b, letter-spacing 1.2488px, uppercase */
.footer-col__title {
    font-size: 24.977px;
    color: #7b7b7b;
    letter-spacing: 1.2488px;
    margin-bottom: 15px;
    line-height: 37.465px;
    text-align: left;
}

/* Figma: 20.814px Regular #7b7b7b, letter-spacing 1.0407px, line-height 37.465px */

.footer-col__list a {
    font-size: 20.814px;
    color: #7b7b7b;
    letter-spacing: 1.0407px;
    line-height: 37.465px;
    transition: color 0.2s;
}

.footer-col__list a:hover {
    color: var(--primary);
}

/* Figma: Contact button — white bg, border 0.833px #707070, radius 60.776px, 457.904 × 83.255px */
.footer-col--contact .cta-button {
    max-width: 457.904px;
    height: 83.255px;
    background: var(--white);
    color: #7b7b7b;
    font-size: 23.311px;
    font-weight: 500;
    letter-spacing: 1.1656px;
    border: 0.833px solid #707070;
    margin-bottom: 30px;
    width: 100%;
}

.footer-col--contact .cta-button:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Figma: Store Hours — 24.977px Medium heading, 24.977px Light hours */
.footer-hours {
    max-width: 292px;
    margin: 0 auto;
    margin-bottom: 25px;
}

.footer-hours .footer-col__title {
    font-size: 24.977px;
    margin-bottom: 10px;
}

/* Figma: 24.977px Light #7b7b7b, letter-spacing 1.2488px, line-height 45.79px */
.footer-hours__table td {
    font-size: 24.977px;
    color: #7b7b7b;
    letter-spacing: 1.2488px;
    line-height: 45.79px;
    padding: 0;
}

.footer-hours__table td:last-child {
    text-align: right;
}

/* Figma: social icons 229.785 × 61.609px */
.footer-social {
    gap: 15px;
    max-width: 292px;
    margin: 0 auto;
    justify-content: center;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border: 1px solid #7b7b7b;
    color: #7b7b7b;
    transition: all 0.2s;
}

.footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ==========================================================================
   Footer Legal
   Figma: 19.554px Light #7b7b7b, letter-spacing 0.9777px, line-height 26.355px
   Bold heading: "Rent to Own Agreement"
   ========================================================================== */
.footer-legal {
    padding: 50px 0;
}

.footer-legal__title {
    font-size: 19.554px;
    color: #7b7b7b;
    line-height: 26.355px;
    margin-bottom: 15px;
}

.footer-legal__text p {
    font-size: 19.554px;
    font-weight: 400;
    color: #7b7b7b;
    letter-spacing: 0.9777px;
    line-height: 26.355px;
    margin-bottom: 15px;
}

.footer-legal__text p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Footer Bottom
   Figma: bg #f1f1f1, height 144px
   Links: 20px Light #7b7b7b, letter-spacing 1px, underline
   Copyright: 20px Light #7b7b7b, right-aligned
   ========================================================================== */
.footer-bottom {
    background-color: #f1f1f1;
    height: 144px;
}

.footer-bottom__links {
    gap: 30px;
}

.footer-bottom__links a {
    font-size: 20px;
    color: #7b7b7b;
    letter-spacing: 1px;
    line-height: 32.306px;
}

.footer-bottom__links a:hover {
    color: var(--primary);
}

.footer-bottom__copy {
    font-size: 20px;
    color: #7b7b7b;
    letter-spacing: 1px;
    line-height: 32.306px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media screen and (min-width: 1300px) and (max-width: 1915px) {
    .site-footer .container {
        margin-left: 140px;
        margin-right: 140px;
    }

    .site-footer .container {
        padding: 0;
    }
}

@media (max-width: 1700px) {
    .footer-bottom__links a {
        font-size: 16px;
    }

    .footer-bottom__copy {
        font-size: 16px;
    }

}

@media (max-width: 1550px) {
    .footer-col--contact {
        max-width: 355px;
    }

    .footer-col__title {
        font-size: 21.977px;
    }

    .footer-col__list a {
        font-size: 16.814px;
    }

    .footer-hours .footer-col__title {
        font-size: 20.977px;
    }

    .footer-hours__table td {
        font-size: 20.977px;
    }

    .footer-hours {
        max-width: 260px;
        margin: 0 auto;
        margin-bottom: 25px;
    }
}

@media (max-width: 1450px) {
    .footer-bottom__links a {
        font-size: 13px;
    }

    .footer-bottom__copy {
        font-size: 13px;
    }
}

@media (max-width: 1400px) {
    .footer-col--contact {
        max-width: 300px;
    }

    .footer-right {
        width: 64%;
    }

    .footer-hours__table td {
        font-size: 17.977px;
    }

    .footer-hours .footer-col__title {
        font-size: 17.977px;
    }

    .footer-hours {
        max-width: 206px;
    }

    .footer-col--contact .cta-button {
        font-size: 20.311px;
    }
}

@media (max-width: 1199px) {
    .footer-col__list a {
        font-size: 17px;
        line-height: 32px;
    }

    .footer-col__title {
        font-size: 20px;
        line-height: 32px;
    }

    .footer-hours__table td {
        font-size: 18px;
        line-height: 36px;
    }

    .footer-legal__text p,
    .footer-legal__title {
        font-size: 16px;
        line-height: 24px;
    }

    .footer-bottom__links a,
    .footer-bottom__copy {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .footer-col__list a {
        font-size: 16px;
    }

    .footer-col__title {
        font-size: 18px;
    }

    .footer-right {
        width: 100%;
    }

    .trib-banner {
        overflow: hidden;
    }

    .trib-banner__label {
        font-size: 20.505px;
    }
}

@media (max-width: 767px) {
    .trib-banner {
        height: 180px;
        padding: 0;
        background-color: var(--secondary);
    }

    .trib-banner .container {
        flex-direction: column;
        gap: 15px;
    }

    .trib-banner__label {
        font-size: 25px;
        letter-spacing: 1.25px;
        margin-right: 0;
    }

    .trib-banner__logos {
        gap: 25px;
    }

    .trib-banner__logos img {
        height: auto;
    }

    .trib-banner__logos img[alt="TRIB Group"] {
        height: 48px;
    }

    .trib-banner__logos img[alt="APRO"] {
        height: 26px;
    }

    .trib-banner__logos img[alt="Nationwide Rentdirect"] {
        height: 34px;
    }

    /* Footer columns — accordion style */
    .footer-main {
        padding: 60px 0 0;
        flex-direction: column;
        gap: 0;
    }

    .site-footer .container {
        padding: 0 15px;
    }

    /* Accordion toggle — hidden on desktop, visible on mobile */
    .footer-col__toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        font-family: inherit;
    }

    .footer-col__chevron {
        display: block;
        width: 20px;
        height: 20px;
        color: #7b7b7b;
        opacity: 0.58;
        transition: transform 0.3s;
        flex-shrink: 0;
    }

    .footer-col--accordion.active .footer-col__chevron {
        transform: rotate(180deg);
    }

    .footer-col {
        min-width: 100%;
        border-bottom: 1px solid #e5e5e5;
        padding: 18px 0;
    }

    .footer-col:first-child {
        border-top: 1px solid #e5e5e5;
    }

    .footer-col__title {
        font-size: 20px;
        line-height: 27px;
        letter-spacing: 1px;
        text-transform: none;
        margin-bottom: 0;
    }

    .footer-col__list {
        display: none;
        padding-top: 10px;
    }

    .footer-col--accordion.active .footer-col__list {
        display: block;
    }

    .footer-col__list a {
        font-size: 16px;
        line-height: 30px;
    }

    /* Contact section */
    .footer-col--contact {
        min-width: 100%;
        border: none;
        padding: 30px 0;
        text-align: center;
    }

    .footer-right {
        flex-direction: column;
    }

    .footer-hours {
        max-width: 100%;
    }

    .footer-col--contact .cta-button {
        width: 310px;
        height: 62px;
        font-size: 18.788px;
        letter-spacing: 0.9394px;
        border-radius: 68.576px;
        border-width: 0.939px;
        margin: 0 auto 30px;
    }

    .footer-hours {
        text-align: left;
    }

    .footer-hours .footer-col__title {
        font-size: 20px;
        text-transform: none;
        margin-bottom: 10px;
    }

    .footer-hours__table {
        width: 100%;
    }

    .footer-hours__table td {
        font-size: 20px;
        line-height: 45px;
        letter-spacing: 1px;
    }

    .footer-hours__table td:first-child {
        text-align: left;
    }

    .footer-hours__table td:last-child {
        text-align: right;
    }

    .footer-social {
        justify-content: center;
        margin-top: 25px;
        gap: 22px;
    }

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

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

    /* Legal — 11px */
    .footer-legal {
        padding: 30px 0;
    }

    .footer-legal__title {
        font-size: 11px;
        line-height: 18px;
    }

    .footer-legal__text p {
        font-size: 11px;
        line-height: 18px;
        letter-spacing: 0;
    }

    /* Bottom bar — stacked */
    .footer-bottom {
        height: auto;
        padding: 30px 0;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .footer-bottom__links {
        flex-direction: column;
        gap: 0;
    }

    .footer-bottom__links a {
        font-size: 17px;
        letter-spacing: 0.85px;
        line-height: 38px;
    }

    .footer-bottom__copy {
        font-size: 14px;
        letter-spacing: 0.7px;
        margin-top: 30px;
    }
}