/* CTA strip uses the shared CtaBanner component/CSS (classes/cta-banner/cta-banner.css) */

/* ── Main footer ────────────────────────────────────────────── */
.site-footer__main {
    background: var(--color-blush);
    padding: 70px var(--pad-x) 25px;
}

.site-footer__inner {
    max-width: var(--site-max-w);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* ── Top: brand + right ────────────────────────────────────── */
.site-footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 16px;
    flex: none;
    max-width: min-content;
}

.site-footer__brand-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-footer__brand-rights {
    display: none;
    margin-top: auto;
}

.site-footer__logo svg {
    display: block;
    width: 207px;
    height: auto;
    color: var(--color-dark);
}

.site-footer__tagline {
    font-family: var(--font-heading);
    font-size: 29px;
    line-height: 1.1;
    color: var(--color-dark);
}

.site-footer__tagline em {
    font-style: italic;
    color: var(--color-rich-brown);
}

/* ── Shared text style for all footer copy except the tagline above ── */
.site-footer__email,
.site-footer__address,
.site-footer__column-link,
.site-footer__column-heading,
.site-footer__rights,
.site-footer__brand-rights,
.site-footer__legal a,
.site-footer__credit-label {
    color: var(--color-dark);
    font-family: var(--font-body);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 23px;
    transition: var(--transition);
}

.site-footer__right {
    display: flex;
    align-items: flex-start;
    min-width: 0;
    gap: 40px;
}

/* ── Info group: contact + download ───────────────────────── */
.site-footer__info {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.site-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 245px;
}

.site-footer__email:hover {
    color: var(--color-rich-brown);
}

.site-footer__socials {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 3px;
}

.site-footer__social svg {
    display: block;
    width: 32px;
    height: 32px;
}

/* Hover — the rect (outline) and the first path (glyph) shift to the accent
   colour. Only the first path so multi-path icons (e.g. TikTok) aren't flattened. */
.site-footer__social svg rect,
.site-footer__social svg path:first-of-type {
    transition: var(--transition);
}

.site-footer__social:hover svg rect {
    stroke: var(--color-accent);
}

.site-footer__social:hover svg path:first-of-type {
    fill: var(--color-accent);
}

.site-footer__download {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 189px;
}

.site-footer__app-badges {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-footer__app-badge {
    display: block;
    width: 100%;
    transition: var(--transition);
}

.site-footer__app-badge:hover {
    opacity: 0.85;
}

.site-footer__app-badge img {
    display: block;
    width: 100%;
    height: auto;
}

/* ── Links group: classes + about ─────────────────────────── */
.site-footer__links {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.site-footer__column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-footer__column-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-footer__column-link:hover {
    color: var(--color-rich-brown);
}

/* ── Shared column heading ("CONTACT", "CLASSES", etc.) ───── */
.site-footer__column-heading {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ── Bottom bar ────────────────────────────────────────────── */
.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.site-footer__rights {
    text-align: center;
}

.site-footer__legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-footer__legal a {
    white-space: nowrap;
}

.site-footer__legal a:hover {
    color: var(--color-rich-brown);
}

.site-footer__credit {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-footer__credit-label {
    text-transform: uppercase;
    white-space: nowrap;
}

.site-footer__credit-logo svg {
    display: block;
    width: 78px;
    height: 13px;
}

/* ── Responsive stacking (no mobile comp in Figma to match — sensible default) ── */
@media (max-width: 1366px) {
    .site-footer__contact,
    .site-footer__download {
        width: auto;
        min-width: 160px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .site-footer__main {
        padding-bottom: 20px;
    }

    .site-footer__info,
    .site-footer__links {
        flex-direction: column;
    }

    .site-footer__contact {
        gap: 10px;
    }

    .site-footer__brand-rights {
        display: block;
        align-self: flex-end;
    }

    .site-footer__rights {
        display: none;
    }
}

@media (max-width: 767px) {
    .site-footer__main {
        padding-bottom: 20px;
    }

    .site-footer__top {
        flex-direction: column;
        gap: 48px;
    }

    .site-footer__logo svg {
        width: 140px;
    }

    .site-footer__brand {
        max-width: none;
    }

    .site-footer__brand-content {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .site-footer__right {
        flex-direction: column;
        gap: 32px;
        width: 100%;
    }

    .site-footer__info,
    .site-footer__links {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 24px;
        width: 100%;
    }

    .site-footer__links {
        flex-direction: row-reverse;
    }

    .site-footer__info {
        flex-wrap: wrap;
    }

    .site-footer__contact,
    .site-footer__download {
        width: 100%;
    }

    .site-footer__app-badges {
        flex-direction: row;
    }

    .site-footer__app-badge {
        max-width: 170px;
    }

    .site-footer__legal {
        flex-wrap: wrap;
        row-gap: 8px;
        justify-content: center;
    }
}
