/* --- CONFIGURACIÓN Y RESET --- */
html {
    scroll-behavior: smooth;
}

:root {
    --azul-daxer: #003d7b;
    --verde-agua: #BEE9ED;
    --verde-claro: #A0E0E6;
    --blanco: #ffffff;
    --texto-oscuro: #1c1c1c;
    --texto-gris: #555555;
    --gris-fondo: #f4f7f6;
    --borde-gris: #e1e1e1;
    --shadow: 0 4px 20px rgba(0,0,0,0.05);

}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Poppins', sans-serif; 
    background-color: var(--blanco); 
    color: var(--texto-oscuro); 
    line-height: 1.6;
}

/* --- NAVBAR (Diseño PC) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    padding: 0 8%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--verde-claro);
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-left: 3rem; /* Espacio después del logo */
}

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 2.5rem; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--texto-oscuro); 
    font-weight: 500; 
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--verde-agua); }

.nav-links .dropdown a { display: flex; align-items: center; gap: 5px; }

.nav-btns { display: flex; gap: 1rem; align-items: center; }



/* --- BOTONES --- */
.btn-primario {
    background-color: var(--azul-daxer);
    color: var(--blanco);
    padding: 0.7rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-secundario {
    background-color: var(--azul-daxer);
    color: var(--blanco);
    padding: 0.7rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}


/* --- BOTÓN HAMBURGUESA (Oculto en PC) --- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--azul-daxer);
    cursor: pointer;
    z-index: 1001;
}



.btn-outline {
    background-color: transparent;
    color: var(--azul-daxer);
    padding: 0.7rem 1.8rem;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--borde-gris);
    border-radius: 5px;
    transition: 0.3s;
}

.btn-primario:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(10, 37, 64, 0.2); }
.btn-outline:hover { background-color: rgba(0, 209, 178, 0.05); color: var(--verde-agua); border-color: var(--verde-agua); }

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh; /* Cambiamos height por min-height para que no se corte el contenido */
    display: flex;
    flex-direction: column; /* Esto pone el video arriba y el texto abajo */
    justify-content: center;
    align-items: center;
    padding: 120px 8% 40px 8%; /* Aumentamos padding superior por el navbar */
    margin-top: 0; /* Quitamos el margin si ya tenemos padding */
    text-align: center; /* Centramos el texto para que combine con el diseño vertical */
}

.hero-content { flex: 1; padding-right: 5%; }

.badget {
    display: inline-block;
    background-color: #f6b93b20;
    color: #f6b93b;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.highlight { color: var(--verde-agua); }

.hero-content {
    flex: none;
    padding-right: 0; /* Quitamos el padding lateral */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centramos elementos internos */
    order: 2; /* El contenido va después del video */
}

.hero-btns {
    justify-content: center; /* Centramos los botones */
}

.hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    order: 1; /* Forzamos que sea el primero arriba */
    margin-bottom: 3rem; /* Espacio entre el video y el texto */
}

/* --- CONTENEDOR DEL VIDEO (EL MARCO NEGRO) --- */
.video-container {
    position: relative;
    width: 100%;
    max-width: 900px; /* Ajustá este ancho a tu gusto */
    aspect-ratio: 16 / 9; 
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
    background-color: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* --- EL IFRAME DE YOUTUBE (RELLENO TOTAL) --- */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Ocupa el 100% del ancho del contenedor */
    height: 100%; /* Ocupa el 100% del alto del contenedor */
    border: none;
}



.video-preview { width: 100%; height: 100%; object-fit: cover; }


/* Un toque extra: que brille al pasar el mouse */
.play-icon:hover {
    background-color: rgba(81, 81, 81, 0.6);
    transform: translate(-50%, -50%) scale(1.1);
}

/* --- SECCIÓN PRECIOS --- */
.pricing-section {
    padding: 80px 8%;
    background-color: #ffffff;
    text-align: center;
}

.pricing-header h2 { font-size: 2.5rem; color: var(--azul-daxer); margin-bottom: 10px; }
.pricing-header p { color: #666; margin-bottom: 50px; }

.pricing-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }



/* --- SECCIÓN FAQ --- */
.faq-section {
    padding: 100px 8%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(270deg, #fdf6e3, #ffffff, #f4fcfb);
    background-size: 600% 600%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.faq-container { display: flex; gap: 50px; align-items: flex-start; position: relative; z-index: 2; }

.faq-text h2 { font-size: 2.8rem; color: var(--azul-daxer); line-height: 1.2; }

.faq-list { flex: 1.5; background: white; padding: 20px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

.faq-item { border-bottom: 1px solid #eee; padding: 15px 0; }

.faq-question {
    width: 100%; background: none; border: none; display: flex; justify-content: space-between;
    align-items: center; padding: 15px; cursor: pointer; font-size: 1.1rem; font-weight: 600;
    color: var(--azul-daxer); text-align: left; font-family: 'Poppins', sans-serif;
}

.faq-answer { max-height: 0; overflow: hidden; transition: 0.3s ease-out; padding: 0 15px; }

.faq-item.active .faq-answer { max-height: 200px; padding: 10px 15px 20px 15px; }

/* --- MODAL DE REGISTRO --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 37, 64, 0.85);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.registration-container {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
    animation: modalAppear 0.4s ease;
}

@keyframes modalAppear { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
}

.close-modal:hover { color: var(--azul-daxer); }

/* --- ELEMENTOS DEL FORMULARIO --- */
.steps-indicator { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; }

.step {
    height: 35px; width: 35px; background-color: #eee; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: bold; color: #aaa;
}

.step.active { background-color: var(--verde-agua); color: white; }

input, select {
    width: 100%; padding: 14px; margin: 10px 0; border: 1px solid var(--borde-gris);
    border-radius: 10px; font-family: 'Poppins', sans-serif; outline: none;
}

input:focus { border-color: var(--verde-agua); }

.slug-preview { background: var(--gris-fondo); padding: 10px; border-radius: 8px; font-size: 0.85rem; margin-bottom: 15px; }
#slugText { font-weight: bold; color: var(--verde-agua); }

.form-navigation { display: flex; justify-content: space-between; margin-top: 30px; gap: 10px; }

#nextBtn { background-color: var(--azul-daxer); color: white; border: none; padding: 12px 25px; border-radius: 8px; cursor: pointer; flex: 1; font-weight: 600; }
#prevBtn { background-color: #eee; color: #666; border: none; padding: 12px 25px; border-radius: 8px; cursor: pointer; flex: 1; font-weight: 600; }












/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #52d069; /* Verde más vibrante como el de la imagen */
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(82, 208, 105, 0.3);
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(82, 208, 105, 0.4);
}

.wa-icon i {
    font-size: 2rem;
}

.wa-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.wa-title {
    font-weight: 700;
    font-size: 1rem;
}

.wa-sub {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
}

/* El globito azul de "Online" */
.wa-status {
    position: absolute;
    top: -10px;
    right: 0;
    background-color: #4480ff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 10px rgba(68, 128, 255, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
}










/* MODAL PARA INGRESO A CLIENTES */

.texto-modal-login{
    text-align:center;
}
.close-modal-login {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
}

.login-container {
    max-width: 400px !important;
    text-align: center;
    
}

.input-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.login-footer {
    margin-top: 20px;
    font-size: 0.9rem;
}

.link-secundario {
    color: #666;
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    text-align: center;
}

.link-verde {
    color: var(--verde-agua);
    font-weight: bold;
    text-decoration: none;
}

.info-text{
    text-align: center;
}

.btn-primario {
    display: block;
    width: 100%;      /* Ocupa todo el ancho disponible */
    max-width: 300px; /* (Opcional) Para que no sea gigante en PC */
    margin: 0 auto;   /* Lo centra si tiene un max-width */
}








/* Responsive: En celulares muy chicos achicamos un poco el botón */
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        padding: 10px 20px;
    }
    .wa-sub { display: none; } /* Ocultamos el subtítulo en móviles mini para ahorrar espacio */
}

/* --- RESPONSIVE (Móviles) --- */
@media (max-width: 768px) {
    .navbar { height: 70px; padding: 0 5%; }
    
    .menu-toggle { display: block; }

    .nav-container {
        position: fixed;
        top: 70px;
        right: 100%;
        width: 100%;
        height: auto; /* Cambiado de 100vh a auto para que no fuerce el alto total */
        max-height: calc(100vh - 70px); /* Evita que se salga de la pantalla */
        background: white;
        flex-direction: column;
        padding: 20px 5% 30px 5%; /* Reducimos el padding superior e inferior */
        transition: 0.4s ease-in-out;
        box-shadow: -10px 0 20px rgba(0,0,0,0.1);
        display: flex;
        align-items: center;
        gap: 1.5rem; /* Reducimos el espacio entre grupos (antes era 2.5rem) */
        overflow-y: auto; /* Por si el celular es muy chico, permite scroll interno */
    }

    .nav-container.active { right: 0; }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem; /* Reducimos espacio entre links individuales */
        display: flex !important;
        margin-bottom: 10px; /* Un pequeño margen antes de los botones */
    }

    .nav-btns {
        flex-direction: column;
        width: 100%;
        display: flex !important;
        gap: 0.8rem; /* Reducimos espacio entre los dos botones */
    }

    .nav-btns a { width: 100%; text-align: center; }

    .hero { flex-direction: column; text-align: center; padding: 120px 5% 50px 5%; height: auto; }
    .hero-content { padding-right: 0; margin-bottom: 3rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn-primario, .btn-outline { width: 100%; }
    
    .pricing-grid { gap: 20px; }
    .price-card { width: 100%; }
    .faq-container { flex-direction: column; }
}