/**
 * Page Extra - Landing QR
 * Estilos para la landing que se abre al escanear QR en botella
 */

/* Variables locales */
.page-extra-main {
    --extra-blue: #033E84;
    --extra-red: #D84141;
}

/* Reset main padding para full viewport */
body.page-template-page-extra-php .page-extra-main {
    padding-top: 0;
}

/* Hero section - ~85% viewport para que footer sea visible */
.extra-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.extra-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.extra-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 24px 48px;
    max-width: 800px;
    margin: 0 auto;
}

.extra-hero__title {
    font-family: var(--font-family-title);
    font-size: clamp(28px, 5vw, 58px);
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 40px;
}

.extra-hero__title strong {
    font-weight: 700;
}

/* CTAs - Desktop: side by side, más separados */
.extra-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 56px;
    justify-content: center;
    margin-bottom: 48px;
}

.extra-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-family: var(--font-family-body);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    min-width: 200px;
}

.extra-hero__btn--blue {
    background-color: var(--extra-blue);
}

.extra-hero__btn--blue:hover {
    background-color: #fff;
    color: var(--extra-blue);
}

.extra-hero__btn--red {
    background-color: var(--extra-red);
}

.extra-hero__btn--red:hover {
    background-color: #fff;
    color: var(--extra-red);
}

.extra-hero__btn:hover {
    transform: translateY(-1px);
}

/* Link Volver al inicio - Desktop: abajo a la derecha, más arriba y alejado del borde */
.extra-hero__link {
    position: absolute;
    bottom: 64px;
    right: 72px;
    font-family: "Myriad Pro", var(--font-family-title);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    text-decoration: underline;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.extra-hero__link:hover {
    opacity: 0.85;
}

.extra-hero__link-arrow {
    flex-shrink: 0;
}

/* ========== MOBILE ========== */
@media (max-width: 767px) {
    .extra-hero__content {
        padding: 100px 20px 48px;
    }

    .extra-hero__title {
        margin-bottom: 32px;
    }

    /* Botones full-width, apilados */
    .extra-hero__ctas {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 32px;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .extra-hero__btn {
        width: 100%;
        min-width: unset;
        padding: 10px 24px;
        font-size: 16px;
        border-radius: 50px;
    }

    /* Mobile: link centrado, más cerca de los botones */
    .extra-hero {
        flex-direction: column;
    }

    .extra-hero__link {
        position: static;
        margin-top: 12px;
        justify-content: center;
    }
}
