@media screen and (max-width: 425px) {

    .container {
        padding: 10px 10px 10px 10px;
    }

    .kiosco-card {
        width: 100%;
        height: 100%;
    }

    .overlay {
        padding: 25px 20px;
    }

    .header-image {
        width: 110px;
    }

    .formulario-contacto {
        width: 100%;
        max-width: 100%;
    }

    .footer-nav {
        grid-template-columns: 1fr 1fr;
    }

    .slot-left {
        display: none;
    }

    .slot-center {
        justify-content: flex-start;
    }

    .slot-right {
        justify-content: flex-end;
    }

    .footer-main-btn {
        width: 200px;
    }

}

@media screen and (max-width: 425px) {

    .consent-logo {
        width: 120px;
    }

    .consent-title {
        font-size: 1.5rem;
    }

    .consent-popup {
        width: 82% !important;
        padding: 20px !important;
        border-radius: 16px !important;
    }

    .consent-popup h2 {
        font-size: 1.1rem;
    }

    .consent-popup p {
        font-size: .9rem;
        line-height: 1.5;
    }

    .consent-popup button {
        padding: 14px;
    }
}

/* ANIMACIONES */
.formulario-contacto,
.btn-enviar {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.overlay.show .formulario-contacto,
.overlay.show .btn-enviar{
    opacity: 1;
    transform: translateY(0);
}

.overlay.hide .formulario-contacto,
.overlay.hide .btn-enviar{
    opacity: 0;
    transform: translateY(-20px);
}

/* delays */
.overlay.show .formulario-contacto { transition-delay: 0.4s; }
.overlay.show .btn-enviar { transition-delay: 0.5s; }


/* ==========================
   PANTALLA INTRO
========================== */

.intro-screen {

    position: absolute;
    inset: 0;

    background: transparent;

    backdrop-filter: blur(2px);

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    padding:40px;

    z-index:9999;
}

.intro-screen.hide {
    opacity: 0;
    pointer-events: none;
}

.intro-logo {
    width: 180px;

    opacity: 0;
    transform: scale(0.5);
}

.intro-message {
    max-width: 550px;
    margin-top: 30px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.5;

    opacity: 0;
    transform: translateY(30px);
}

.intro-next-btn {

    margin-top: 35px;

    background: #ff0088;
    color: white;

    border: none;
    border-radius: 12px;

    padding: 14px 40px;

    font-size: 1rem;
    font-weight: bold;

    cursor: pointer;

    opacity: 0;
    transform: translateY(20px);

    transition: all .3s ease;
}

.intro-next-btn:hover {
    transform: translateY(0) scale(1.03);
}

/* aparece después del texto */

.intro-screen.show .intro-next-btn {

    animation: botonIntro .6s ease forwards;
    animation-delay: 2.2s;
}

@keyframes botonIntro {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-screen.show .intro-logo {
    animation: logoIntro 0.8s ease forwards;
}

.intro-screen.show .intro-message {
    animation: textIntro 0.8s ease forwards;
    animation-delay: 0.9s;
}

@keyframes logoIntro {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textIntro {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TITULO */
.overlay h1 {
    font-size: 1.7em;
}

/* FORMULARIO */
.formulario-contacto {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* INPUTS */
.formulario-contacto input {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: 2px solid #ddd;
    font-size: 1em;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.formulario-contacto input:focus {
    border-color: #ff0088;
}

/* BOTÓN */
.btn-enviar {
    margin-top: 10px;
    background-color: #ff0088;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-enviar:hover {
    background-color: black;
    transform: scale(1.03);
}

.btn-enviar:disabled {
    opacity: 0.6;
}


/* ==========================
   CONSENTIMIENTO
========================== */

.consent-screen {

    position: fixed;
    inset: 0;

    background: transparent;

    backdrop-filter: blur(2px);

    overflow: hidden;

    z-index: 15000;
}

/* CENTRADO ABSOLUTO */

.welcome-container {
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    z-index: 1;
}

.consent-logo {
    width: 180px;

    opacity: 0;
    transform: scale(.5);

    animation: logoIntro .8s ease forwards;
}

.consent-title {
    margin-top: 20px;

    font-size: 2rem;
    font-weight: bold;

    opacity: 0;
    transform: translateY(20px);

    animation: helloIntro .6s ease forwards;
    animation-delay: .8s;
}

/* POPUP */

.consent-popup {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%) scale(.9);

    width: min(650px, 90vw);

    background: white;

    padding: 30px;

    border-radius: 20px;

    box-shadow: 0 20px 60px rgba(0,0,0,.25);

    z-index: 10;

    opacity: 0;

    animation: popupIntro .8s ease forwards;
    animation-delay: 2.5s;
}

.consent-popup h2 {
    text-align: center;
    margin-bottom: 20px;
}

.consent-popup p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.consent-popup button {
    width: 100%;

    padding: 16px;

    border: none;
    border-radius: 12px;

    background: #ff0088;
    color: white;

    font-size: 1rem;
    font-weight: bold;

    cursor: pointer;

    margin-top: 10px;
}

/* SALIDA */

.consent-screen.hide {
    opacity: 0;
    transition: opacity .8s ease;
    pointer-events: none;
}

/* ANIMACIONES */

@keyframes logoIntro {

    from {
        opacity: 0;
        transform: scale(.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes helloIntro {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popupIntro {

    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.9);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.kiosco-card.index-kiosco-hidden{

    opacity:0;

    transform:translateY(30px) scale(.96);

    pointer-events:none;

}


.whatsapp-pin-group{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.pin-info{
    font-size:.82rem;
    line-height:1.45;
    color:#666;
    text-align:left;
}

#whatsapp_usuario,
#whatsapp_pin{
    width:100%;
    padding:10px;
    border-radius:12px;
    border:2px solid #ddd;
    font-size:1em;
    outline:none;
    box-sizing:border-box;
    transition:all .2s ease;
}

#whatsapp_usuario:focus,
#whatsapp_pin:focus{
    border-color:#ff0088;
}