@charset "UTF-8";

/*!
 * SEPA 2027 Valencia
 * MAY 2026
 * evomeet.es
 * jblanco
 */

/* MEDIA BREAKPOINTS ------------------------------------------------

@media (min-width: 576px) {}    sm
@media (min-width: 768px) {}    md
@media (min-width: 992px) {}    lg
@media (min-width: 1200px) {}   xl
@media (min-width: 1400px) {}   xxl

-------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

:root {
    --color-brand: #07f9c4;
    --color-secondary: #ffb400;
    --color-success: rgba(46, 204, 113, 0.9);
    --color-error: rgba(231, 76, 60, 0.9);
    --font-main: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

html {
    font-size: 16px;
}

body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
    background-color: #ffffff;
}

/* Fondo a pantalla completa */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/valencia.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -2;
}

strong {
    font-family: var(--font-main);
    font-weight: 600;
    font-style: normal;
}

h1 {
    font-family: var(--font-main);
    font-size: 3rem;
    font-weight: 800;
    font-style: normal;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(157, 157, 157, 0.55);
    z-index: -1;
}

.wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.content {
    width: 100%;
    display: grid;
    place-items: center;
}

.content-subscribe {
    width: 100%;
    max-width: 450px;
    margin-top: auto;
    margin-bottom: auto;
}

/* “Ventana” con el tamaño del logo */
.logo-window {
    width: min(90vw, 1000px);
    margin-top: 0;
    aspect-ratio: 16 / 6;
    position: relative;
    overflow: hidden;
    -webkit-mask-image: url("../img/Logo_Sepa_Valencia_2027.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: url("../img/Logo_Sepa_Valencia_2027.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.logo-window video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.headline {
    margin-bottom: 1rem;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 500;
    color: var(--color-brand);
}

.price {
    margin-bottom: 1.5rem;
}

.btn-register {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    margin-bottom: 2rem;
    border: none;
    border-radius: 999px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    background-color: var(--color-brand);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.btn-register:hover {
    opacity: 0.92;
}

.call-to-action-subscribe {
    margin-bottom: 0.7rem;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 500;
}

.form-container {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 999px;
}

.form-container input[type="email"] {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    outline: none;
}

.form-container button {
    padding: 0 1.5rem;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    background-color: var(--color-secondary);
    white-space: nowrap;
    cursor: pointer;
}

.form-container button:hover {
    opacity: 0.92;
}

.form-message {
    height: 3.2rem;
    padding: 0.6rem 0.8rem;
    border-radius: 0.6rem;
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.form-message.hidden {
    opacity: 0;
}

.form-message.success {
    display: block;
    font-size: 1.6rem;
    color: var(--color-success);
}

.form-message.error {
    display: block;
    color: var(--color-error);
}

@media (max-width: 600px) {
    .form-container {
        flex-direction: column;
        border-radius: 1rem;
    }

    .form-container button {
        width: 100%;
        padding: 0.8rem 1rem;
    }

    .hidden-on-mobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .logo-window {
        width: 75vw;
        aspect-ratio: 16 / 8;
    }
}
