:root {
    --amarillo-roemmers: #ffd632;
    --amarillo-claro: #ffdc4d;
    --negro: #111111;
}

/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    max-width:100%;
    overflow-x:hidden;
    
}

body {
    
    min-height: 100vh;
    min-height: 100svh;
    overflow-x: hidden;
overflow-y: auto;
    position: relative;
    color: var(--negro);
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(
        135deg,
        var(--amarillo-roemmers) 0%,
        var(--amarillo-claro) 50%,
        var(--amarillo-roemmers) 100%
    );
    background-size: 220% 220%;
    animation: movimientoFondo 12s ease-in-out infinite;
}

/* =========================
   FORMAS DECORATIVAS
========================= */

body::before,
body::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

body::before {
    width: 580px;
    height: 580px;
    top: -310px;
    right: -270px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    animation: moverCirculoSuperior 10s ease-in-out infinite alternate;
}

body::after {
    width: 450px;
    height: 450px;
    bottom: -260px;
    left: -200px;
    background: rgba(255, 255, 255, 0.2);
    animation: moverCirculoInferior 12s ease-in-out infinite alternate;
}

/* =========================
   HEADER
========================= */

header {
    position: absolute;
    top: 40px;
    left: 45px;
    right: 48px;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.logo {
    display: block;
    width: 170px;
    height: auto;
    opacity: 0;
    transform: translateY(-20px);
    animation: entradaLogo 1s ease forwards 0.2s;
}

/* =========================
   CONTENIDO CENTRAL
========================= */

main {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 100%;
    max-width: 1500px;
    padding: 0 35px;
    text-align: center;
    transform: translate(-50%, -50%);
}

.eyebrow {
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 7px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(18px);
    animation: aparecerTexto 0.9s ease forwards 0.55s;
}

h1 {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    font-size: clamp(65px, 8.5vw, 145px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -5px;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(25px);
    animation: aparecerTitulo 1.1s cubic-bezier(0.22, 0.8, 0.3, 1) forwards 0.8s;
}

.linea {
    width: 0;
    height: 3px;
    margin: 38px auto 32px;
    background: var(--negro);
    animation: dibujarLinea 0.9s ease forwards 1.55s;
}

/* =========================
   FOOTER
========================= */

footer {
    position: absolute;
    right: 45px;
    bottom: 38px;
    left: 45px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.fecha {
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(15px);
    animation: entradaFecha 0.9s ease forwards 1.7s;
}

.fecha::after {
    content: "";
    display: block;
    width: 38px;
    height: 2px;
    background: var(--negro);
}

/* =========================
   ANIMACIONES
========================= */

@keyframes movimientoFondo {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes moverCirculoSuperior {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-25px, 20px);
    }
}

@keyframes moverCirculoInferior {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(30px, -20px);
    }
}

@keyframes entradaLogo {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aparecerTexto {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aparecerTitulo {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dibujarLinea {
    to {
        width: 82px;
    }
}

@keyframes entradaFecha {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   TABLET / NOTEBOOK CHICA
========================= */

@media (max-width: 1100px) {
    body::before {
        width: 460px;
        height: 460px;
        top: -250px;
        right: -220px;
    }

    body::after {
        width: 360px;
        height: 360px;
        bottom: -220px;
        left: -170px;
    }

    header {
        top: 32px;
        left: 32px;
        right: 32px;
    }

    .logo {
        width: 145px;
    }

    main {
        max-width: 100%;
        padding: 0 30px;
    }

    .eyebrow {
        margin-bottom: 20px;
        font-size: 11px;
        letter-spacing: 5px;
    }

    h1 {
        font-size: clamp(60px, 10vw, 110px);
        letter-spacing: -4px;
    }

    footer {
        right: 32px;
        bottom: 30px;
        left: 32px;
    }
}

/* =========================
   TABLET VERTICAL
========================= */

@media (max-width: 768px) {
    body::before {
        width: 350px;
        height: 350px;
        top: -195px;
        right: -180px;
    }

    body::after {
        width: 300px;
        height: 300px;
        bottom: -190px;
        left: -150px;
    }

    header {
        top: 25px;
        left: 24px;
        right: 24px;
    }

    .logo {
        width: 125px;
    }

    main {
        top: 49%;
        padding: 0 24px;
    }

    .eyebrow {
        margin-bottom: 18px;
        font-size: 10px;
        line-height: 1.6;
        letter-spacing: 4px;
    }

    h1 {
        font-size: clamp(48px, 10vw, 82px);
        line-height: 0.95;
        letter-spacing: -3px;
    }

    .linea {
        margin: 28px auto 0;
    }

    footer {
        right: 24px;
        bottom: 22px;
        left: 24px;
        font-size: 8px;
        letter-spacing: 2px;
    }

    .fecha {
        gap: 10px;
    }

    .fecha::after {
        width: 28px;
        height: 1px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 540px) {
    body::before {
        width: 260px;
        height: 260px;
        top: -150px;
        right: -150px;
    }

    body::after {
        width: 220px;
        height: 220px;
        bottom: -120px;
        left: -120px;
    }

    header {
        top: 70px;
        left: 50%;
        right: auto;
        width: auto;
        justify-content: center;
        transform: translateX(-50%);
    }

    .logo {
        width: 130px;
        max-width: none;
    }

    main {
        top: 52%;
        width: 100%;
        padding: 0 16px;
    }

    .eyebrow {
        max-width: 260px;
        margin: 0 auto 18px;
        font-size: 9px;
        line-height: 1.6;
        letter-spacing: 3px;
    }

    h1 {
        width: 100%;
        margin: 0 auto;
        font-size: min(10vw, 46px);
        line-height: 0.95;
        letter-spacing: -1px;
        white-space: nowrap;
    }

    .linea {
        width: 70px;
        height: 2px;
        margin: 25px auto 0;
    }

    footer {
        right: 0;
        bottom: 24px;
        left: 0;
        justify-content: center;
        font-size: 9px;
        letter-spacing: 2px;
    }

    .fecha::after {
        display: none;
    }
}

/* =========================
   MOBILE MUY ANGOSTO
========================= */

@media (max-width: 390px) {
    .logo {
        width: 115px;
    }

    .eyebrow {
        max-width: 230px;
        font-size: 8px;
        letter-spacing: 2px;
    }

    h1 {
        font-size: min(9.5vw, 38px);
        letter-spacing: -0.5px;
    }
}

/* =========================
   MOBILE HORIZONTAL / PANTALLAS BAJAS
========================= */

@media (max-height: 560px) and (orientation: landscape) {
    header {
        top: 16px;
        left: 22px;
        right: 22px;
        width: auto;
        justify-content: flex-start;
        transform: none;
    }

    .logo {
        width: 100px;
    }

    main {
        top: 50%;
    }

    .eyebrow {
        margin-bottom: 10px;
        font-size: 8px;
        letter-spacing: 3px;
    }

    h1 {
        font-size: clamp(45px, 10vw, 78px);
    }

    .linea {
        margin-top: 18px;
    }

    footer {
        right: 22px;
        bottom: 14px;
        left: 22px;
        justify-content: flex-end;
    }

    .fecha::after {
        display: block;
    }
}

/* =========================
   ACCESIBILIDAD
========================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .logo,
    .eyebrow,
    h1,
    .fecha {
        opacity: 1;
        transform: none;
    }

    .linea {
        width: 82px;
    }
}