.footer {
    width: 100%;
    padding: 0 0.75rem 0.75rem;
    background: #F0F0F0;
}

.footer__card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #1f1f1f;
    container-type: inline-size;
}

.footer__media {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 55%;
}

.footer__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer__mediaShade {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom, rgba(31, 31, 31, 0.4), rgba(31, 31, 31, 0.7), #1f1f1f);
}

.footer__content {
    position: relative;
    z-index: 1;
    padding: 360px 1.5rem 3rem;
}

.footer__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer__cta h2 {
    margin: 0;
    font-family: 'Alumni Sans', sans-serif;
    font-size: clamp(2.125rem, 5.375cqi, 5.375rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 0.85;
    letter-spacing: -0.02em;
    color: #fff;
}

.footer__cta p {
    margin: 0;
    font-family: 'Red Hat Display', sans-serif;
    font-size: clamp(0.9375rem, 1.25cqi, 1.25rem);
    font-weight: 400;
    line-height: 1.5;
    color: #f5f5f5;
}

.footer__ctaButton {
    margin-top: 0.5rem;
    border-radius: 3px;
    background: #c62828;
    padding: 1.25rem 2rem;
    font-family: 'Red Hat Display', sans-serif;
    font-size: clamp(0.9375rem, 1.125cqi, 1.125rem);
    font-weight: 500;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer__ctaButton:hover {
    background: rgba(198, 40, 40, 0.9);
    color: #fff;
}

.footer__columns {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__col h3 {
    margin: 0;
    font-family: 'Alumni Sans', sans-serif;
    font-size: clamp(1rem, 1.375cqi, 1.375rem);
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1;
    color: #fff;
}

.footer__contact,
.footer__links {
    display: flex;
    flex-direction: column;
    font-family: 'Red Hat Display', sans-serif;
    font-size: clamp(0.9375rem, 1.125cqi, 1.125rem);
    font-weight: 400;
    line-height: 1.5;
}

.footer__contact {
    gap: 0.75rem;
    color: #c7c8c9;
}

.footer__contact li {
    display: flex;
    gap: 0.5rem;
}

.footer__contact li > span {
    color: #6b6b6b;
}

.footer__links {
    gap: 0.5rem;
}

.footer__contact a,
.footer__links a,
.footer__legal a,
.footer__cookie {
    color: #c7c8c9;
    text-decoration: none;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer__contact a:hover,
.footer__links a:hover,
.footer__legal a:hover,
.footer__cookie:hover {
    color: #fff;
}

.footer__menus {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer__bottom {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 2rem;
    row-gap: 0.5rem;
}

.footer__legal span,
.footer__legal a,
.footer__cookie {
    font-family: 'Red Hat Display', sans-serif;
    font-size: clamp(0.9375rem, 1.125cqi, 1.125rem);
    font-weight: 400;
    line-height: 1.5;
}

.footer__legal > span {
    color: #6b6b6b;
}

.footer__cookie {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.footer__credit {
    font-family: 'Red Hat Display', sans-serif;
    font-size: clamp(0.9375rem, 1.125cqi, 1.125rem);
    font-weight: 400;
    line-height: 1.5;
    color: #939393;
    text-decoration: none;
    white-space: nowrap;
}

.footer__credit span {
    color: #c62828;
}

.footer__credit:hover {
    color: #fff;
}

@media (min-width: 640px) {
    .footer__menus {
        flex-direction: row;
        gap: 50px;
    }
}

@media (min-width: 768px) {
    .footer__content {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .footer__columns {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 1280px) {
    .footer__content {
        padding-top: 600px;
        padding-left: 6rem;
        padding-right: 6rem;
    }

    .footer__columns {
        margin-top: 8rem;
    }
}
