:root {
    --world-cup-blue: #087cb9;
    --world-cup-blue-dark: #0b3c70;
    --world-cup-blue-soft: #d9f2ff;
    --world-cup-gold: #f1b928;
    --world-cup-surface: #ffffff;
    --world-cup-ink: #102f54;
    --world-cup-shadow: rgba(7, 53, 94, 0.22);
    --world-cup-border: rgba(11, 60, 112, 0.2);
    --world-cup-glass: rgba(255, 255, 255, 0.82);
    --world-cup-glass-strong: rgba(255, 255, 255, 0.92);
    --world-cup-confetti-blue: rgba(8, 124, 185, 0.38);
    --world-cup-confetti-gold: rgba(241, 185, 40, 0.48);
}

.world-cup-event .header-container {
    overflow: visible;
    border-bottom-color: var(--world-cup-blue);
}

.world-cup-header__bunting {
    position: absolute;
    bottom: -38px;
    width: min(48vw, 680px);
    height: 76px;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 6px 5px var(--world-cup-shadow));
}

.world-cup-header__bunting--left {
    left: -4%;
}

.world-cup-header__bunting--right {
    right: -4%;
    transform: scaleX(-1);
}

.world-cup-event .header-content {
    position: relative;
    z-index: 3;
}

.world-cup-header__trophy {
    width: 48px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 7px 6px rgba(99, 62, 4, 0.24));
}

#hero.world-cup-hero {
    position: relative;
    min-height: clamp(500px, 52vw, 650px);
    padding: clamp(3rem, 6vw, 5.5rem) 0 2rem;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--world-cup-blue-soft);
    background-image: url("../hero_mundial.jpeg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.world-cup-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 24%;
    z-index: -1;
    background: linear-gradient(to top, var(--world-cup-surface), transparent);
    pointer-events: none;
}

.world-cup-hero__content {
    position: relative;
    min-height: clamp(430px, 46vw, 570px);
}

.world-cup-hero__copy {
    width: min(42%, 510px);
    margin-right: 4%;
    margin-left: auto;
    padding: clamp(1rem, 2.5vw, 2rem);
    color: var(--world-cup-ink);
    border: 1px solid var(--world-cup-border);
    border-radius: 22px;
    background: var(--world-cup-glass);
    box-shadow: 0 22px 45px var(--world-cup-shadow);
    backdrop-filter: blur(10px);
}

.world-cup-hero__eyebrow {
    margin-bottom: 0.7rem;
    color: var(--world-cup-blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.world-cup-hero__copy h1 {
    margin-bottom: 1rem;
    color: var(--world-cup-blue-dark);
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
}

.world-cup-hero__copy > p:not(.world-cup-hero__eyebrow) {
    max-width: 440px;
    margin-bottom: 1.5rem;
    color: var(--world-cup-ink);
    font-size: clamp(0.95rem, 1.3vw, 1.08rem);
}

.world-cup-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.world-cup-btn {
    min-width: 170px;
    padding: 0.75rem 1.1rem;
    border-width: 2px;
    border-radius: 10px;
    font-weight: 700;
}

.world-cup-btn--primary {
    border-color: var(--world-cup-blue);
    background: var(--world-cup-blue);
    color: var(--world-cup-surface);
}

.world-cup-btn--primary:hover,
.world-cup-btn--primary:focus {
    border-color: var(--world-cup-blue-dark);
    background: var(--world-cup-blue-dark);
    color: var(--world-cup-surface);
}

.world-cup-btn--outline {
    border-color: var(--world-cup-blue-dark);
    background: var(--world-cup-surface);
    color: var(--world-cup-blue-dark);
}

.world-cup-btn--outline:hover,
.world-cup-btn--outline:focus {
    border-color: var(--world-cup-blue-dark);
    background: var(--world-cup-blue-dark);
    color: var(--world-cup-surface);
}

.world-cup-countdown {
    position: absolute;
    right: 8%;
    bottom: 0;
    left: 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    padding: 1rem 1.35rem;
    border: 1px solid var(--world-cup-border);
    border-radius: 18px;
    background: var(--world-cup-glass-strong);
    box-shadow: 0 18px 38px var(--world-cup-shadow);
    backdrop-filter: blur(10px);
}

.world-cup-countdown__heading {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    max-width: 210px;
    color: var(--world-cup-blue-dark);
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

.world-cup-countdown__heading i {
    color: var(--world-cup-blue);
    font-size: 2.2rem;
}

.world-cup-countdown__units {
    display: flex;
    gap: 0.55rem;
}

.world-cup-countdown.is-complete .world-cup-countdown__units {
    display: none;
}

.world-cup-countdown__unit {
    display: grid;
    min-width: 70px;
    padding: 0.55rem 0.65rem;
    place-items: center;
    border: 1px solid var(--world-cup-border);
    border-radius: 10px;
    background: var(--world-cup-surface);
}

.world-cup-countdown__unit strong {
    color: var(--world-cup-blue-dark);
    font-size: 1.65rem;
    line-height: 1;
}

.world-cup-countdown__unit small {
    margin-top: 0.35rem;
    color: var(--world-cup-blue);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.world-cup-news {
    position: relative;
    isolation: isolate;
}

.world-cup-news::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    z-index: -1;
    transform: translateX(-50%);
    background-color: var(--world-cup-surface);
    background-image:
        url("../img/flag-argentina-wave.svg"),
        url("../img/flag-argentina-wave.svg"),
        radial-gradient(circle, var(--world-cup-confetti-blue) 0 2px, transparent 3px),
        radial-gradient(circle, var(--world-cup-confetti-gold) 0 2px, transparent 3px),
        radial-gradient(ellipse, var(--world-cup-confetti-blue) 0 2px, transparent 3px),
        radial-gradient(ellipse, var(--world-cup-confetti-gold) 0 2px, transparent 3px);
    background-repeat: no-repeat, no-repeat, repeat, repeat, repeat, repeat;
    background-position:
        max(1rem, calc(50% - 690px)) 0.6rem,
        min(calc(100% - 1rem), calc(50% + 690px)) 0.6rem,
        0 0,
        22px 28px,
        13px 42px,
        54px 12px;
    background-size:
        clamp(145px, 15vw, 220px) auto,
        clamp(145px, 15vw, 220px) auto,
        68px 68px,
        86px 86px,
        104px 76px,
        122px 92px;
    opacity: 0.58;
}

.world-cup-news > .container {
    position: relative;
    z-index: 1;
}

.world-cup-news h2::before {
    content: "★  ★  ★";
    display: block;
    margin-bottom: 0.5rem;
    color: var(--world-cup-gold);
    font-size: 1.2rem;
    letter-spacing: 0.5rem;
}

.world-cup-event .wrapper {
    right: 14px;
    bottom: 76px;
    display: flex;
    width: auto;
    height: auto;
    padding: 0;
    flex-direction: column-reverse;
    align-items: flex-end;
}

.world-cup-event .wrapper .whatsapp,
.world-cup-event .wrapper .catalogo-pdf {
    position: relative;
    display: flex;
    width: 178px;
    height: 66px;
    margin: 8px 0;
    padding: 7px 28px 7px 7px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 9px;
    overflow: visible;
    border: 2px solid var(--world-cup-surface);
    border-radius: 34px;
    background: linear-gradient(135deg, var(--world-cup-blue), var(--world-cup-blue-dark));
    color: var(--world-cup-surface);
    box-shadow: 0 12px 26px var(--world-cup-shadow);
}

.world-cup-event .wrapper .whatsapp:hover,
.world-cup-event .wrapper .whatsapp:focus,
.world-cup-event .wrapper .catalogo-pdf:hover,
.world-cup-event .wrapper .catalogo-pdf:focus {
    background: linear-gradient(135deg, var(--world-cup-blue), var(--world-cup-blue-dark));
    color: var(--world-cup-surface);
    transform: translateY(-2px);
}

.world-cup-event .wrapper .whatsapp .tooltip,
.world-cup-event .wrapper .catalogo-pdf .tooltip {
    display: none;
}

.world-cup-whatsapp__mark,
.world-cup-pdf__mark {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border: 3px solid var(--world-cup-surface);
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 5px 12px rgba(6, 73, 42, 0.3);
}

.world-cup-pdf__mark {
    background: #dc3545;
    box-shadow: 0 5px 12px rgba(111, 22, 31, 0.3);
}

.world-cup-whatsapp__mark i,
.world-cup-pdf__mark i {
    color: var(--world-cup-surface);
    font-size: 1.75rem;
}

.world-cup-whatsapp__copy,
.world-cup-pdf__copy {
    display: grid;
    min-width: 0;
    align-content: center;
    text-align: left;
}

.world-cup-whatsapp__copy strong,
.world-cup-whatsapp__copy small,
.world-cup-pdf__copy strong,
.world-cup-pdf__copy small {
    display: block;
    color: var(--world-cup-surface);
    line-height: 1.15;
}

.world-cup-whatsapp__copy strong,
.world-cup-pdf__copy strong {
    font-size: 0.86rem;
    font-weight: 800;
}

.world-cup-whatsapp__copy small,
.world-cup-pdf__copy small {
    margin-top: 0.2rem;
    font-size: 0.65rem;
    font-weight: 500;
}

.world-cup-whatsapp__ball,
.world-cup-pdf__star {
    position: absolute;
    right: -9px;
    bottom: -8px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 3px solid var(--world-cup-surface);
    border-radius: 50%;
    background: var(--world-cup-surface);
    color: var(--world-cup-ink);
    font-size: 1.7rem;
    filter: drop-shadow(0 5px 5px rgba(7, 53, 94, 0.24));
    transform: rotate(-14deg);
}

.world-cup-pdf__star {
    color: var(--world-cup-gold);
    font-size: 1.15rem;
    transform: rotate(12deg);
}

.world-cup-event .wrapper .catalogo-pdf.disabled {
    border-color: var(--world-cup-surface);
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color-dark));
    color: var(--world-cup-surface);
    opacity: 0.72;
}

.world-cup-event .wrapper .catalogo-pdf.disabled:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color-dark));
}

@media (max-width: 991.98px) {
    .world-cup-header__bunting {
        bottom: -30px;
        width: 58vw;
        height: 58px;
    }

    .world-cup-header__bunting--left {
        left: -18%;
    }

    .world-cup-header__bunting--right {
        right: -18%;
    }

    .world-cup-header__trophy {
        width: 38px;
        height: 58px;
    }

    #hero.world-cup-hero {
        min-height: auto;
        padding-top: 17rem;
        padding-bottom: 2rem;
        background-position: 38% top;
        background-size: auto 470px;
    }

    .world-cup-hero__content {
        min-height: 0;
    }

    .world-cup-hero__copy {
        width: min(100%, 620px);
        margin: 0 auto;
        text-align: center;
    }

    .world-cup-news::before {
        background-position:
            -1rem 0.7rem,
            calc(100% + 1rem) 0.7rem,
            0 0,
            22px 28px,
            13px 42px,
            54px 12px;
        background-size:
            145px auto,
            145px auto,
            68px 68px,
            86px 86px,
            104px 76px,
            122px 92px;
        opacity: 0.46;
    }

    .world-cup-hero__actions {
        justify-content: center;
    }

    .world-cup-countdown {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        flex-direction: column;
        gap: 0.8rem;
        width: min(100%, 620px);
        margin: 1rem auto 0;
    }

    .world-cup-countdown__heading {
        max-width: none;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .world-cup-event {
        overflow-x: hidden;
    }

    .world-cup-header__bunting {
        bottom: -26px;
        width: 72vw;
        height: 48px;
        opacity: 0.94;
    }

    .world-cup-header__bunting--left {
        left: -34%;
    }

    .world-cup-header__bunting--right {
        right: -34%;
    }

    .world-cup-header__trophy {
        position: static;
        width: 28px;
        height: 44px;
    }

    .world-cup-event .logo-container {
        gap: 0.55rem;
        flex-wrap: nowrap;
    }

    .world-cup-event .img-header {
        width: 118px;
    }

    .world-cup-event .img-header-academia {
        width: 136px;
    }

    #hero.world-cup-hero {
        min-height: auto;
        padding-top: 14.25rem;
        padding-bottom: 1.5rem;
        background-position: 31% top;
        background-size: auto 405px;
    }

    .world-cup-hero__content {
        display: grid;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        padding-inline: 0.75rem;
    }

    .world-cup-hero__copy {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 1.15rem;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 16px 32px var(--world-cup-shadow);
    }

    .world-cup-hero__eyebrow {
        margin-bottom: 0.55rem;
        font-size: 0.63rem;
        line-height: 1.35;
    }

    .world-cup-hero__copy h1 {
        max-width: 330px;
        margin-right: auto;
        margin-bottom: 0.75rem;
        margin-left: auto;
        font-size: clamp(1.45rem, 7vw, 1.7rem);
        line-height: 1.08;
    }

    .world-cup-hero__copy > p:not(.world-cup-hero__eyebrow) {
        margin-bottom: 1rem;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .world-cup-hero__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .world-cup-btn {
        width: 100%;
        min-width: 0;
        padding: 0.7rem 0.45rem;
        font-size: 0.85rem;
    }

    .world-cup-countdown {
        right: auto;
        left: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0.9rem;
        transform: none;
    }

    .world-cup-countdown__heading {
        width: 100%;
        justify-content: center;
        font-size: 0.8rem;
        text-align: center;
    }

    .world-cup-countdown__units {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .world-cup-countdown__unit {
        min-width: 0;
        padding: 0.65rem 0.35rem;
    }

    .world-cup-countdown__unit strong {
        font-size: 1.45rem;
    }

    .world-cup-news::before {
        background-position:
            -3.5rem 0.5rem,
            calc(100% + 3.5rem) 0.5rem,
            0 0,
            22px 28px,
            13px 42px,
            54px 12px;
        background-size:
            125px auto,
            125px auto,
            68px 68px,
            86px 86px,
            104px 76px,
            122px 92px;
        opacity: 0.38;
    }

    .world-cup-event .wrapper {
        right: 10px;
        bottom: 72px;
    }

    .world-cup-event .wrapper .whatsapp,
    .world-cup-event .wrapper .catalogo-pdf {
        width: 158px;
        height: 58px;
        padding-right: 24px;
        gap: 7px;
    }

    .world-cup-whatsapp__mark,
    .world-cup-pdf__mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .world-cup-whatsapp__mark i,
    .world-cup-pdf__mark i {
        font-size: 1.5rem;
    }

    .world-cup-whatsapp__copy strong,
    .world-cup-pdf__copy strong {
        font-size: 0.76rem;
    }

    .world-cup-whatsapp__copy small,
    .world-cup-pdf__copy small {
        font-size: 0.58rem;
    }

    .world-cup-whatsapp__ball,
    .world-cup-pdf__star {
        width: 30px;
        height: 30px;
        font-size: 1.45rem;
    }
}

@media (max-width: 419.98px) {
    .world-cup-hero__actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .world-cup-event *,
    .world-cup-event *::before,
    .world-cup-event *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
