/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--color-bg-white);
    border-top: 1px solid var(--color-border);
}

/* ---- Footer Top (light gray section) ---- */
.footer-top {
    background-color: var(--color-bg-light);
    padding: 32px 20px;
}

.footer-top__inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Social + App Buttons Row */
.footer-social-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.footer-social-icons {
    display: flex;
    gap: 8px;
}

.footer-social-icons a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--color-primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background-color 0.2s ease;
}

.footer-social-icons a:hover {
    background-color: var(--color-accent-green);
}

.footer-social-icons a svg {
    width: 15px;
    height: 15px;
}

/* Badge Buttons (Google, App Store, Google Play) */
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #111111;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.footer-badge:hover {
    background-color: #2a2a2a;
}

.footer-badge svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-badge span {
    font-size: 9px;
    line-height: 1.3;
    color: #d1d5db;
    white-space: nowrap;
}

.footer-badge span strong {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.footer-app-buttons {
    display: flex;
    gap: 8px;
}

/* Link Columns */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 992px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
}

.footer-column__heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-primary-blue) !important;
    padding-bottom: 8px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--color-primary-blue);
    display: inline-block;
}

.footer-column__list {
    list-style: none;
}

.footer-column__list li {
    margin-bottom: 12px;
}

.footer-column__list a {
    font-size: 13px;
    color: var(--color-primary-blue);
    text-decoration: none;
    line-height: 1.4;
}

.footer-column__list a:hover {
    text-decoration: underline;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    justify-content: flex-start;
}

.footer-logo__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.footer-logo__text {
    font-size: 20px;
    font-weight: 900;
    color: var(--color-primary-blue);
    letter-spacing: -0.5px;
}

/* ---- Footer Bottom (white section) ---- */
.footer-bottom {
    padding: 32px 20px;
}

.footer-bottom__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
}

.footer-bottom-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-bottom-links__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    row-gap: 6px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--color-primary-blue);
    text-decoration: underline;
    font-weight: 400;
}

.footer-bottom-links a:hover {
    color: var(--color-accent-green);
}

.footer-bottom-links__sep {
    color: var(--color-text-body);
    font-size: 13px;
}

.footer-copyright {
    font-size: 12px;
    color: #8c96a3;
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary-blue);
    margin-bottom: 14px;
}

.footer-age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--color-primary-blue);
    border-radius: 50%;
    color: var(--color-primary-blue);
    font-size: 11px;
    font-weight: 700;
    margin: 0 auto;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS (Social Row, App Badges, & Bottom Links)
   ========================================================================== */

/* Tablet Adjustments */
@media (max-width: 768px) {
    .footer-social-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-app-buttons {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* Mobile Adjustments */
@media (max-width: 560px) {
    .footer-social-row {
        align-items: center; /* Center elements on small screens */
    }

    .footer-app-buttons {
        justify-content: center;
        width: 100%;
    }

    .footer-logo {
        justify-content: center;
        margin-top: 24px;
        margin-bottom: 12px;
    }

    .footer-bottom-links__row {
        flex-direction: row;
        gap: 12px;
    }

    .footer-bottom-links__sep {
        display: none; /* Hide the separator pipes when links are stacked vertically */
    }
    
    .footer-bottom {
        padding: 24px 16px;
    }
}