.c-footer {
    --footer-red: #c90019;
    --footer-yellow: #ffcc00;
    --footer-text: #cbd1d6;
    position: relative;
    overflow: hidden;
    color: var(--footer-text);
    isolation: isolate;
    background-color: #20272f;
}

.c-footer__ground {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #20272f url("../../images/footer-dark-texture.jpg") right top / cover no-repeat;
}

.c-footer__content {
    position: relative;
    z-index: 2;
    background: transparent;
}

.c-footer__cta-bar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 108px;
    padding-top: 1.5rem;
    padding-bottom: 1.35rem;
}

.c-footer__rule {
    flex: 0 0 auto;
    width: 1px;
    height: 2.75rem;
    margin: 0 1.35rem 0 1.6rem;
    background: rgba(255, 255, 255, 0.22);
}

.c-footer__cta-title {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0;
    color: #fff;
    font-size: clamp(1.7rem, 2.15vw, 2.15rem);
}

.c-footer__cta-title::before {
    content: "";
    flex: 0 0 auto;
    width: 0.55rem;
    height: 1.85rem;
    background: var(--footer-yellow);
    transform: skewX(-18deg);
}

.c-footer .c-button--primary {
    background: var(--footer-red);
}

.c-footer .c-button--primary:hover,
.c-footer .c-button--primary:focus-visible {
    background: #a30014;
    color: #fff;
}

.c-footer__panel {
    position: relative;
}

.c-footer__body {
    position: relative;
    z-index: 1;
}

.c-footer__grid {
    --footer-gap: 2.6rem;
    display: grid;
    grid-template-columns: minmax(200px, 1.25fr) minmax(120px, 0.75fr) minmax(170px, 1fr) minmax(190px, 1.05fr);
    gap: 2rem var(--footer-gap);
    padding-top: 0.4rem;
    padding-bottom: 2.5rem;
}

.c-footer__grid > * + * {
    position: relative;
}

.c-footer__grid > * + *::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--footer-gap) / -2);
    width: 1px;
    background: rgba(255, 255, 255, 0.16);
}

.c-footer__brand-link {
    display: inline-flex;
    text-decoration: none;
}

.c-footer__logo {
    display: block;
    width: 148px;
    height: 42px;
    object-fit: cover;
    object-position: center 62%;
}

.c-footer__badge {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.4rem 0.75rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none;
    background: var(--footer-red);
}

.c-footer__badge sup {
    margin-left: 0.12em;
    font-size: 0.45em;
}

.c-footer__about {
    max-width: 16.5rem;
    margin: 1.15rem 0 1.25rem;
    color: var(--footer-text);
    font-size: 0.92rem;
    line-height: 1.55;
}

.c-footer__label {
    margin: 0 0 1rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.c-footer__links {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.c-footer__links a {
    color: var(--footer-text);
    font-size: 0.95rem;
    line-height: 1.35;
    text-decoration: none;
}

.c-footer__links a:hover,
.c-footer__links a:focus-visible {
    color: #fff;
}

.c-footer__contact {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.c-footer__contact li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    color: var(--footer-text);
    font-size: 0.95rem;
    line-height: 1.35;
}

.c-footer__contact a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.c-footer__contact a:hover,
.c-footer__contact a:focus-visible {
    color: #fff;
}

.c-footer__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    color: #fff;
    background: var(--footer-red);
    border-radius: 50%;
}

.c-footer__icon svg {
    width: 0.85rem;
    height: 0.85rem;
}

.c-footer__photo {
    position: absolute;
    right: 0;
    bottom: 4.25rem;
    z-index: 1;
    width: auto;
    height: calc(100% - 4.25rem);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
}

.c-footer__photo img {
    display: block;
    width: auto;
    height: 100%;
    object-position: left bottom;
}

.c-footer__legal {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.c-footer__legal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 64px;
    color: #b7bec6;
    font-size: 0.86rem;
}

.c-footer__legal-bar p {
    margin: 0;
}

.c-footer__legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.c-footer__legal-links a,
.c-footer__cookie-settings {
    color: var(--footer-text);
    text-decoration: none;
}

.c-footer__legal-links a:hover,
.c-footer__legal-links a:focus-visible,
.c-footer__cookie-settings:hover,
.c-footer__cookie-settings:focus-visible {
    color: #fff;
}

.c-footer__cookie-settings {
    padding: 0;
    background: transparent;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.c-footer__legal-links li + li::before {
    content: "|";
    margin: 0 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

.c-footer a:focus-visible {
    outline: 2px solid var(--footer-yellow);
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    .c-footer__photo {
        display: none;
    }

    .c-footer__cta-bar,
    .c-footer__legal-bar {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 1.4rem;
        padding-bottom: 1.4rem;
    }

    .c-footer__rule {
        width: 4.5rem;
        height: 1px;
        margin: 0.15rem 0 0.35rem 0.7rem;
    }

    .c-footer__grid {
        grid-template-columns: 1fr 1fr;
        padding-right: 0;
    }

    .c-footer__grid > * + *::before {
        content: none;
    }
}

@media (max-width: 575.98px) {
    .c-footer__cta-title {
        align-items: flex-start;
    }

    .c-footer__grid {
        grid-template-columns: 1fr;
    }
}
