/*
 * ChamaeleonStyle V5 – Footer
 * ===========================
 * Intentionally generous. A large footer gives service, trust and navigation
 * room without crowding product pages.
 */
.site-footer {
    margin-top: 0;
    border-top: 1px solid var(--cs-border-dark);
}

.footer-help {
    background: var(--cs-surface-soft);
    border-bottom: 1px solid var(--cs-border);
}

.footer-help__grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.65fr) repeat(4, minmax(150px, 1fr));
    gap: 1px;
    padding-block: 34px;
}

.footer-help__grid > div:first-child {
    padding-right: 28px;
}

.footer-help h2 {
    margin-bottom: 8px;
    font-size: clamp(1.4rem, 2vw, 2rem);
}

.footer-help p {
    margin: 0;
    color: var(--cs-muted);
}

.footer-quick {
    display: flex;
    min-height: 100px;
    padding: 18px 20px;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-left: 1px solid var(--cs-border);
    color: var(--cs-black);
}

.footer-quick:hover {
    color: var(--cs-red);
    background: #fafafa;
}

.footer-quick span {
    margin-top: 4px;
    color: var(--cs-muted);
    font-size: 12px;
}

.site-footer__main {
    background: var(--cs-black);
    color: #d9dde1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: clamp(28px, 4vw, 64px);
    padding-block: clamp(54px, 6vw, 86px);
}

.footer-grid h3 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-grid a {
    display: block;
    padding: 5px 0;
    color: #d9dde1;
    font-size: 13px;
}

.footer-grid a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-grid p {
    max-width: 460px;
    color: #aeb4ba;
    font-size: 14px;
    line-height: 1.7;
}

.footer-brandline {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #33373b;
    color: #8f969d;
    font-size: 12px;
}

.footer-bottom {
    background: #090a0b;
    color: #8f969d;
    font-size: 11px;
}

.footer-bottom .site-container {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ==========================================================================
   PROMINENT CONTRACT WITHDRAWAL
   --------------------------------------------------------------------------
   The electronic withdrawal entry must be immediately recognisable.
   It deliberately looks different from ordinary footer navigation.
   ========================================================================== */

.footer-withdrawal {
    display: flex;
    min-height: 100px;
    padding: 16px 20px;
    flex-direction: column;
    justify-content: center;

    background: var(--cs-red);
    color: #FFFFFF;

    border-left: 1px solid var(--cs-red);

    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.footer-withdrawal:hover {
    background: var(--cs-brand-black);
    color: #FFFFFF;
    text-decoration: none;
}

.footer-withdrawal__eyebrow {
    margin-bottom: 5px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-withdrawal strong {
    color: #FFFFFF;

    font-size: 16px;
    line-height: 1.2;
}

.footer-withdrawal > span:last-child {
    margin-top: 5px;

    color: rgba(255, 255, 255, 0.86);

    font-size: 11px;
    line-height: 1.35;
}


@media (max-width: 1180px) {
    .footer-help__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-help__grid > div:first-child {
        grid-column: 1 / -1;
        padding-right: 0;
        padding-bottom: 8px;
    }
}

@media (max-width: 620px) {
    .footer-help__grid {
        grid-template-columns: 1fr;
    }

    .footer-help__grid > div:first-child {
        grid-column: auto;
    }

    .footer-quick,
    .footer-withdrawal {
        min-height: 82px;
        border-left: 0;
        border-top: 1px solid var(--cs-border);
    }
}
