/* ================= VARIABLES Y BASE ================= */
:root {
    --color-black: #111111;
    --color-pink: #E8B0C0;
    --color-blue: #1E94BC;
    --color-yellow: #928a67; /* Color vibrante para ProKids */
    --color-white: #ffffff;
    --font-main: 'Poppins', sans-serif;
    --transition-smooth: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--color-black); overflow-x: hidden; }

/* ================= CLASES GENERALES ================= */
.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 5.5rem 0; }
.bg-light { background-color: #f9f9f9; }
.text-center { text-align: center; }

h2 { font-size: 2rem; color: var(--color-blue); margin-bottom: 1rem; }
.subtitle { font-size: 1rem; color: #666; margin-bottom: 2.5rem; }
.badge { display: inline-block; padding: 0.3rem 0.8rem; background: rgba(232,176,192,0.2); color: var(--color-pink); border-radius: 50px; font-weight: 600; font-size: 0.8rem; margin-bottom: 1rem; }
.badge-kids { background: rgba(255, 209, 0, 0.2); color: #d6b000; } /* Tono amarillo para el badge */

/* Botones Base */
.btn { padding: 0.5rem 1.3rem; border-radius: 8px; font-family: var(--font-main); font-weight: 600; cursor: pointer; transition: var(--transition-smooth); border: none; font-size: 0.9rem; text-decoration: none; display: inline-block; text-align: center; }
.btn-solid { background: var(--color-pink); color: var(--color-black); }
.btn-solid:hover { background: #d39cae; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--color-blue); color: var(--color-blue); }
.btn-outline:hover { background: var(--color-blue); color: var(--color-white); }
.login-btn-small { padding: 0.4rem 0.9rem; font-size: 0.85rem; margin-left: 0.5rem; }
.w-100 { width: 100%; margin-top: 1rem; padding: 1rem; border-radius: 12px; font-size: 1.05rem; }

/* ================= TOP BAR Y NAVEGACIÓN ================= */
.top-bar { background-color: var(--color-black); color: var(--color-white); font-size: 0.8rem; padding: 0.4rem 0; position: fixed; width: 100%; top: 0; z-index: 1001; }
.top-bar-container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
.social-icons { display: flex; gap: 0.1rem; align-items: center; }
.social-icons a { color: var(--color-white); text-decoration: none; font-size: 1rem; transition: var(--transition-smooth); display: inline-block; margin-left: 1.3rem; }
.social-icons a:hover { color: var(--color-pink); transform: translateY(-2px); }

.navbar { background-color: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px); box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: fixed; width: 100%; top: 32px; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1080px; margin: 0 auto; padding: 0.8rem 2rem; }
.nav-logo { height: 58px; width: auto; display: block; transition: var(--transition-smooth); }
.nav-logo:hover { opacity: 0.85; }

.nav-links { display: flex; gap: 1.8rem; align-items: center; margin-right: auto; margin-left: 2.5rem; }
.nav-links a { text-decoration: none; color: var(--color-black); font-weight: 500; transition: var(--transition-smooth); font-size: 0.95rem; }
.nav-links a:hover { color: var(--color-pink); }
.dropdown { position: relative; display: inline-block; }
.dropdown-content { display: none; position: absolute; background-color: var(--color-white); min-width: 180px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); border-radius: 8px; top: 100%; left: 0; overflow: hidden; padding: 0.5rem 0; }
.dropdown-content a { color: var(--color-black); padding: 0.7rem 1.2rem; display: block; font-size: 0.9rem; }
.dropdown-content a:hover { background-color: rgba(232,176,192,0.1); color: var(--color-blue); }
.dropdown:hover .dropdown-content { display: block; }

.auth-buttons { display: flex; gap: 0.8rem; }
.mobile-menu-btn { 
    display: none; 
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px; /* Espacio entre las 3 líneas */
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--color-black);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ================= HERO PROKIDS ================= */
/* ================= HERO INTERNO PROKIDS (BANNER) ================= */
.hero-interno-kids {
    position: relative;
    /* Reducimos la altura para que quede como una franja elegante, no pantalla completa */
    min-height: 45vh; 
    display: flex;
    align-items: center;
    justify-content: center; 
    text-align: center; 
    padding: 2rem;
    padding-top: 130px; /* Espacio exacto para que el menú no tape el texto */
    margin-bottom: 5rem; /* Genera el espacio blanco necesario con la sección de abajo */
    background-image: url('../assets/prokids/image8.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #333; 
}

.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.4); /* Sombra justa para leer el texto sin oscurecer mucho la foto */
    z-index: 1; 
}

.hero-interno-content { 
    position: relative; 
    z-index: 2; 
    max-width: 850px; 
}

.hero-interno-content h1 { 
    /* Tamaño y grosor exacto de la referencia "Productos con Propósito" */
    font-size: 3.2rem; 
    color: var(--color-white); 
    margin-bottom: 1rem; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); 
    font-weight: 700;
    line-height: 1.2;
}

.hero-interno-content p { 
    /* Subtítulo equilibrado */
    font-size: 1.15rem; 
    color: var(--color-white); 
    text-shadow: 0 1px 5px rgba(0,0,0,0.4); 
    font-weight: 400;
    margin: 0;
}

.hero-prokids-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-prokids-texto h1 {
    font-size: 2.8rem;
    color: var(--color-blue);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.hero-prokids-texto p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.frase-kids {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: var(--color-pink);
    margin-top: 2rem;
}

.hero-prokids-imagen img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transform: rotate(2deg); /* Un ligero giro para darle un toque divertido e infantil */
    transition: var(--transition-smooth);
}

.hero-prokids-imagen img:hover {
    transform: rotate(0deg) scale(1.02);
}

/* ================= MÉTODOS DE DONACIÓN ================= */
.metodos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem; 
    max-width: 800px; 
    margin: 2.5rem auto 0;
}

.metodo-card {
    background: var(--color-white);
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tarjeta-destacada {
    border: 2px solid var(--color-yellow); 
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 209, 0, 0.15);
}

.tag-recomendado {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-yellow);
    color: var(--color-black);
    padding: 0.4rem 1.2rem;
    border-bottom-left-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.metodo-header {
    background-color: #f8f9fa;
    padding: 1.5rem; 
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.metodo-header i {
    font-size: 2rem; 
    color: var(--color-blue);
    margin-bottom: 0.8rem;
}

.metodo-header h3 {
    color: var(--color-black);
    font-size: 1.25rem; 
    margin: 0;
}

.metodo-body {
    padding: 1.8rem 1.5rem; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.metodo-body p {
    color: #666;
    font-size: 0.9rem; 
    margin-bottom: 1.2rem;
    text-align: center;
}

/* --- Ajuste perfecto para el Código QR --- */
.qr-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5rem auto 1.5rem auto;
    background: #ffffff;
    padding: 12px; 
    border-radius: 12px; 
    border: 2px dashed rgba(11, 11, 11, 0.6); 
    width: 140px; 
    height: 140px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.qr-img {
    width: 100%; 
    height: 100%;
    object-fit: contain; 
}

/* Ajuste sutil para que el icono de WhatsApp quede bien alineado en el botón */
.btn-comprobante-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem; 
}

.btn-comprobante-qr i {
    font-size: 1.2rem;
}

.datos-bancarios {
    list-style: none;
    background: #fdfdfd;
    border: 1px dashed #ccc;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.datos-bancarios li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #444;
}

.datos-bancarios li:last-child {
    margin-bottom: 0;
}

.datos-bancarios strong {
    color: var(--color-blue);
    display: inline-block;
    width: 110px;
}

.iconos-pagos {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 2.5rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.iconos-pagos i { transition: var(--transition-smooth); }
.iconos-pagos i:hover { color: var(--color-blue); }

.btn-comprobante {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
}

.btn-donar-ahora {
    background: linear-gradient(90deg, #d13076 0%, #b82365 100%);
    color: var(--color-white);
    border: none;
    box-shadow: 0 5px 15px rgba(209, 48, 118, 0.3);
    margin-top: auto;
}

.btn-donar-ahora:hover {
    box-shadow: 0 8px 20px rgba(209, 48, 118, 0.4);
    transform: translateY(-2px);
    color: var(--color-white);
}

/* ================= FOOTER Y WHATSAPP ================= */
.footer-premium { background-color: var(--color-black); color: #cccccc; padding-top: 5rem; font-size: 0.95rem; position: relative; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-bottom: 4rem; }
.footer-col h3 { color: var(--color-white); font-size: 1.3rem; margin-bottom: 0.5rem; font-weight: 600; }
.footer-logo span { color: var(--color-pink); }
.footer-line { width: 35px; height: 2px; background-color: var(--color-white); margin-bottom: 1.5rem; }
.footer-col p { margin-bottom: 1.5rem; line-height: 1.7; }
.footer-socials { display: flex; gap: 0.8rem; }
.footer-socials a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background-color: #222222; color: var(--color-white); border-radius: 50%; text-decoration: none; transition: var(--transition-smooth); font-size: 1.1rem; }
.footer-socials a:hover { background-color: var(--color-pink); color: var(--color-black); transform: translateY(-3px); }
.footer-links, .footer-contact { list-style: none; padding: 0; }
.footer-links li, .footer-contact li { margin-bottom: 1rem; }
.footer-links a { color: #cccccc; text-decoration: none; transition: var(--transition-smooth); }
.footer-links a:hover { color: var(--color-pink); padding-left: 6px; }
.footer-contact li { display: flex; align-items: center; gap: 1rem; }
.footer-contact i { color: var(--color-pink); font-size: 1.1rem; width: 20px; text-align: center; }
.footer-bottom { background-color: #080808; padding: 1.5rem 2rem; text-align: center; font-size: 0.85rem; color: #777; border-top: 1px solid #1a1a1a; }
.footer-bottom p { margin-bottom: 0.4rem; }
.footer-bottom a { color: #c7bebe; text-decoration: none; transition: var(--transition-smooth); font-weight: 500; }
.footer-bottom a:hover { color: var(--color-white); }
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; box-shadow: 0 6px 20px rgba(0,0,0,0.25); z-index: 1000; transition: var(--transition-smooth); text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.1); background-color: #20b858; color: white; }

/* ================= INTRODUCCIÓN PRO KIDS ================= */
.intro-kids-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
}

.intro-kids-content p {
    margin-bottom: 1.5rem;
}

.cita-kids-destacada {
    background: rgba(46, 204, 113, 0.08); /* Fondo verde muy suave y fresco */
    border-left: 5px solid #2ecc71; /* Borde verde brillante y alegre */
    padding: 2.5rem;
    margin: 3rem auto;
    border-radius: 0 16px 16px 0;
    max-width: 90%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.cita-kids-destacada p {
    font-family: 'Dancing Script', cursive;
    font-size: 2.3rem;
    
    /* Magia CSS: Creando el Arcoíris en el texto */
    background: linear-gradient(90deg, #1E94BC, #2ecc71, #f39c12, #E8B0C0);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    
    margin: 0 !important;
    line-height: 1.4;
    text-align: center;
    font-weight: 700;
}

/* ================= FASES DE APRENDIZAJE PRO KIDS ================= */
.fases-caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.fase-caracteristica {
    background: var(--color-white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
}

.fase-caracteristica:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 209, 0, 0.15); /* Sombra amarilla */
    border-color: rgba(255, 209, 0, 0.3);
}

.fase-caracteristica i {
    background: rgba(30, 148, 188, 0.1);
    color: var(--color-blue);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.fase-caracteristica:hover i {
    background: var(--color-yellow);
    color: var(--color-black);
}

.fase-caracteristica p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
    line-height: 1.4;
}

/* ================= CUADRO FINAL DE FASES (ANIMACIÓN TIPO SEMÁFORO) ================= */
.lema-kids-box {
    background: linear-gradient(135deg, #FFE031 0%, #FFC107 100%); /* Fondo amarillo brillante y elegante */
    border: 4px solid var(--color-white);
    border-radius: 24px;
    padding: 0 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    height: 160px; /* Altura fija necesaria para la animación */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.25);
    overflow: hidden;
}

.lema-kids-box h3 {
    position: absolute;
    width: 100%;
    left: 0;
    font-size: 2.3rem;
    font-weight: 700;
    margin: 0;
    padding: 0 2rem;
    opacity: 0; /* Ocultas por defecto */
    animation: animacionSemaforo 9s infinite; /* 9 segundos en total (3s cada una) */
}

.lema-azul { 
    color: var(--color-blue); 
    animation-delay: 0s !important; 
}
.lema-rosa { 
    color: #D34366; /* Rosa oscuro para que contraste bien con el amarillo */
    animation-delay: 3s !important; 
}
.lema-dorado { 
    color: var(--color-black); /* Negro elegante para máxima legibilidad */
    animation-delay: 6s !important; 
}

@keyframes animacionSemaforo {
    0% { opacity: 0; transform: translateY(20px); }
    5% { opacity: 1; transform: translateY(0); }
    28% { opacity: 1; transform: translateY(0); }
    33% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* ================= IMAGEN RECTANGULAR DE TRANSICIÓN ================= */
.img-separadora-kids {
    max-width: 650px; /* Más angosta que la de bienvenida (que era de 750px) */
    margin: 3.5rem auto 1rem auto; /* Centrada, con buen espacio arriba para respirar */
    border-radius: 16px; /* Bordes redondeados un poco más sutiles */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06); /* Sombra suave */
    border: 4px solid var(--color-white); /* Marco blanco para resaltar sobre el fondo claro */
}

.img-separadora-kids img {
    width: 100%;
    height: 240px; /* Altura controlada para que sea un rectángulo horizontal perfecto */
    object-fit: cover; /* Evita que la foto se estire */
    display: block;
    transition: var(--transition-smooth);
}

.img-separadora-kids:hover img {
    transform: scale(1.03); /* Pequeño zoom elegante al pasar el ratón */
}

/* ================= 90 DÍAS Y DINO & DANA ================= */
.noventa-dias-wrapper {
    margin-bottom: 5rem;
}

.noventa-dias-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.nd-item {
    background: #fdfdfd;
    padding: 2.5rem 1.8rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
}

.nd-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30,148,188,0.08);
}

.nd-item i {
    font-size: 2.5rem;
    color: var(--color-blue);
    margin-bottom: 1.5rem;
}

.nd-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.nd-separador {
    text-align: center;
    margin: 5rem auto;
    padding: 3rem 1rem;
    border-top: 2px dashed rgba(232, 176, 192, 0.5);
    border-bottom: 2px dashed rgba(232, 176, 192, 0.5);
    max-width: 800px;
}

.nd-separador h3 {
    color: var(--color-blue);
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.nd-separador p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    font-style: italic;
}

/* --- Contenedor Dino & Dana --- */
.dino-dana-wrapper {
    background: linear-gradient(135deg, rgba(232, 176, 192, 0.15) 0%, #ffffff 100%);
    border-radius: 30px;
    padding: 4.5rem 4rem;
    border: 1px solid rgba(232, 176, 192, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.dd-subtitle {
    color: #ba5a72;
    font-family: 'Dancing Script', cursive;
    font-size: 2.4rem;
    margin-bottom: 2rem;
}

.dd-recursos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin: 3.5rem 0;
}

.dd-recurso {
    background: var(--color-white);
    padding: 1.2rem;
    border-radius: 50px; /* Estilo de píldora */
    text-align: center;
    font-weight: 500;
    color: var(--color-black);
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.dd-recurso:hover {
    transform: translateY(-3px);
    border-color: var(--color-pink);
    color: var(--color-blue);
}

.dd-recurso i {
    color: var(--color-pink);
    font-size: 1.3rem;
}

.dd-footer p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.dd-cita {
    margin-top: 4rem;
    text-align: center;
    position: relative;
}

.dd-cita p {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: var(--color-blue);
    line-height: 1.4;
    margin: 0;
}

/* ================= BADGE ARCOÍRIS (DINO & DANA) ================= */
.badge-arcoiris-dd {
    background: rgba(255, 255, 255, 0.9); /* Fondo blanco sutil para que el texto brillante resalte */
    border: 1px solid rgba(30, 148, 188, 0.15); /* Borde delicado */
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); /* Sombra elegante */
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
}

.texto-magico-dd {
    /* El arcoíris: Empieza Rosa (0%), transiciona suave (45%), y es totalmente Azul en "Pro Kids 365" (75% al 100%) */
    background: linear-gradient(90deg, var(--color-pink) 0%, #b491c8 45%, var(--color-blue) 75%, var(--color-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

/* ================= LISTA VÍNCULO FAMILIAR ================= */
.lista-crecimiento-familia {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.item-crecimiento {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: #444;
    background: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-left: 4px solid var(--color-yellow);
    transition: var(--transition-smooth);
}

.item-crecimiento:hover {
    transform: translateX(5px);
}

.item-crecimiento i {
    color: var(--color-yellow);
    font-size: 1.2rem;
}

.destaque-familia {
    border-left-color: var(--color-pink);
    background: rgba(232, 176, 192, 0.1);
    margin-top: 0.5rem;
}

.destaque-familia i {
    color: var(--color-pink);
}

.destaque-familia span {
    color: var(--color-blue);
    font-size: 1.15rem;
}

/* ================= IMAGEN DE BIENVENIDA (SIN FONDO) ================= */
.intro-bienvenida-img {
    max-width: 500px; /* Reducido para que quede proporcionado como logo o banner */
    margin: 0 auto 3rem auto; /* Centrado y con buen espacio inferior */
    /* ¡Eliminamos background, bordes y box-shadow! */
    background: transparent;
    display: flex;
    justify-content: center;
}

.intro-bienvenida-img img {
    width: 100%;
    height: auto; /* Permite que tome sus dimensiones naturales transparentes */
    object-fit: contain; /* Asegura que la imagen no se corte */
    display: block;
    /* Podemos añadir un filtro sutil de caída de sombra solo a las letras/logo de tu PNG */
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.06)); 
    transition: var(--transition-smooth);
}

.intro-bienvenida-img:hover img {
    transform: scale(1.03); /* Ligero acercamiento al pasar el ratón */
}

/* ================= IMAGEN TÍTULO DINO & DANA ================= */
.img-dino-dana {
    max-width: 470px; /* Tamaño controlado para que actúe como título/banner pequeño */
    margin: 1.5rem auto; /* Centrado perfecto con espacio arriba y abajo */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border: 4px solid var(--color-white); /* Marco blanco para que resalte sobre el fondo rosado sutil */
}

.img-dino-dana img {
    width: 100%;
    height: 320px; /* Altura rectangular */
    object-fit: cover; /* Evita que la foto o logo se deforme */
    display: block;
    transition: var(--transition-smooth);
}

.img-dino-dana:hover img {
    transform: scale(1.03); /* Ligero movimiento al pasar el cursor */
}

/* ================= CTA FINAL PRO KIDS ================= */
.cta-final-kids {
    background: linear-gradient(135deg, rgba(255, 209, 0, 0.08) 0%, rgba(30, 148, 188, 0.08) 100%);
    border: 2px dashed rgba(30, 148, 188, 0.4);
    border-radius: 30px;
    padding: 5rem 3rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
}

.cta-titulo-kids {
    font-size: 2.2rem;
    color: var(--color-black);
    margin-bottom: 1.5rem;
}

.frase-cierre-kids {
    margin: 2rem 0;
}

.frase-cierre-kids p {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: var(--color-blue);
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(30, 148, 188, 0.1);
}

.cta-texto-kids {
    font-size: 1.15rem;
    color: #555;
    margin: 0 auto;
    max-width: 600px;
}

/* Diseño y animación del botón de cierre */
.btn-pulse-kids {
    font-size: 1.2rem;
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--color-pink);
    color: var(--color-black);
    box-shadow: 0 10px 25px rgba(232, 176, 192, 0.4);
    animation: pulseKids 2.5s infinite;
}

.btn-pulse-kids:hover {
    background: var(--color-blue);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(30, 148, 188, 0.4);
    animation: none; /* Detiene el latido al pasar el ratón */
}

@keyframes pulseKids {
    0% { box-shadow: 0 0 0 0 rgba(232, 176, 192, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(232, 176, 192, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 176, 192, 0); }
}

/* ================= MODALES PREMIUM ================= */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(17,17,17,0.7); z-index: 2000; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
.modal.active { display: flex; }
.modal-content { 
    background-color: var(--color-white); 
    padding: 3rem 2.5rem; 
    border-radius: 24px; 
    width: 92%; 
    max-width: 550px; 
    position: relative; 
    box-shadow: 0 25px 50px rgba(0,0,0,0.15); 
    border: 1px solid rgba(0,0,0,0.04); 
    max-height: 90vh; /* Permite scroll interno si es muy alto */
    overflow-y: auto; 
}
.close-modal { position: absolute; top: 1.2rem; right: 1.5rem; font-size: 1.5rem; cursor: pointer; color: #a0a0a0; transition: var(--transition-smooth); }
.close-modal:hover { color: var(--color-pink); transform: rotate(90deg); }
.modal-content h2 { font-size: 1.8rem; color: var(--color-blue); margin-bottom: 0.3rem; text-align: center; }
.modal-subtitle { text-align: center; color: #777; font-size: 0.95rem; margin-bottom: 2.5rem; }
.form-row { display: flex; gap: 1.2rem; }
.input-group { margin-bottom: 1.5rem; width: 100%; }
.input-group label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 0.5rem; font-weight: 600; color: #888; }
.input-group input, .input-group textarea { width: 100%; padding: 0.9rem 1.2rem; background-color: #f4f6f8; border: 1px solid transparent; border-radius: 12px; font-family: var(--font-main); outline: none; transition: var(--transition-smooth); font-size: 0.95rem; color: var(--color-black); }
.input-group textarea { resize: vertical; min-height: 110px; }
.input-group input:focus, .input-group textarea:focus { background-color: var(--color-white); border-color: var(--color-blue); box-shadow: 0 0 0 4px rgba(30,148,188,0.12); }

/* ================= ANIMACIONES ================= */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.slide-up { animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

    /* ================= CORRECCIÓN DE ESPACIOS EN CELULARES ================= */
    /* Reduce a la mitad el relleno de todas las secciones */
    .section-padding {
        padding: 2.5rem 0 !important; 
    }

    /* Reduce los espacios debajo de los títulos y subtítulos */
    h2 {
        margin-bottom: 0.8rem !important;
    }
    
    .subtitle {
        margin-bottom: 1.8rem !important;
    }

    /* Evita que los márgenes gigantes de computadora se pasen al celular */
    .text-center {
        margin-bottom: 2rem !important;
    }

    .mobile-menu-btn { 
        display: flex; 
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; 
        left: -100%; 
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(8px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 2rem 0;
        margin: 0;
        gap: 2rem;
        text-align: center;
        transition: left 0.4s ease; 
    }

    .nav-links.active {
        left: 0;
    }

    /* Ajustes del Submenú (Programas) en Celular */
    .dropdown {
        width: 100%;
    }
    
    .dropdown-content {
        position: static; 
        box-shadow: none;
        background-color: #f4f6f8; 
        width: 100%;
        margin-top: 10px;
        display: none; 
    }
    
    .dropdown-content.mostrar-movil {
        display: block; 
    }
    
    .dropdown-content a {
        padding: 1rem;
        border-bottom: 1px solid #eaeaea;
    }
    
    .dropdown-content a:last-child {
        border-bottom: none;
    }
    
    .auth-buttons, .top-bar { display: none; }
    .navbar { top: 0; }
    .form-row { flex-direction: column; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    
    .hero-prokids-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-prokids-imagen { order: -1; } 
    .hero-prokids-imagen img { transform: rotate(0); }
    .hero-prokids { padding-top: 100px; } /* Ajuste de altura porque ya no hay top-bar */
    .hero-prokids-texto h1 { font-size: 2.2rem; } /* Textos más adecuados a pantalla pequeña */
    .frase-kids { font-size: 1.8rem; }
    
    .metodos-grid { grid-template-columns: 1fr; gap: 2rem; }
    .tarjeta-destacada { transform: scale(1); }

    /* Modales adaptados a móvil para que no se corten */
    .modal-content { 
        padding: 2.5rem 1.5rem 1.5rem 1.5rem; 
        width: 95%; 
    }
    .close-modal { 
        top: 1rem; 
        right: 1.2rem; 
    }
    .hero-interno-kids { 
        min-height: 35vh; 
        padding-top: 100px; 
        margin-bottom: 3.5rem;
    }
    
    .hero-interno-content h1 { 
        font-size: 2.1rem; 
    }
    
    .hero-interno-content p { 
        font-size: 1rem; 
        padding: 0 1rem;
    }

    .cita-kids-destacada {
        padding: 1.5rem;
        margin: 2rem auto;
        max-width: 100%;
    }
    
    .cita-kids-destacada p {
        font-size: 1.7rem;
    }

    /* Ajustes Fases de Aprendizaje en Celular */
    .fases-caracteristicas-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Ajustes Cuadro de Fases Celular */
    .lema-kids-box {
        height: 120px; /* Altura más pequeña para móvil */
        padding: 0 1rem;
    }

    .lema-kids-box h3 {
        font-size: 1.6rem;
        padding: 0 1rem;
    }

    /* Ajustes 90 Días y Dino & Dana Celular */
    .noventa-dias-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nd-separador h3 {
        font-size: 1.4rem;
    }

    .dino-dana-wrapper {
        padding: 3rem 1.5rem;
    }

    .dd-recursos-grid {
        grid-template-columns: 1fr;
    }
    
    .dd-cita p {
        font-size: 1.8rem;
    }

    /* Ajuste Imagen Bienvenida Celular (Sin Fondo) */
    .intro-bienvenida-img {
        max-width: 90%;
        margin-bottom: 2rem;
    }
    
    .intro-bienvenida-img img {
        height: auto; /* Mantiene la proporción natural en móviles */
    }

    .img-separadora-kids {
        margin-top: 2.5rem;
    }
    
    .img-separadora-kids img {
        height: 160px; /* Se reduce la altura en móviles para mantener la estética */
    }

    /* Ajuste Imagen Dino & Dana Celular */
    /* Ajuste Imagen Dino & Dana Celular (100% visible sin recortes) */
    .img-dino-dana {
        max-width: 95%; /* Le da un pequeñísimo margen a los lados para que respire */
        margin: 1.2rem auto;
        height: auto !important; 
    }
    
    .img-dino-dana img {
        height: auto !important; 
        aspect-ratio: auto !important; /* Quitamos cualquier proporción forzada */
        object-fit: contain !important; /* ¡ESTA ES LA MAGIA! Fuerza a que se muestre toda la imagen sin cortar nada */
    }

    /* Ajustes CTA Final Celular */
    .cta-final-kids {
        padding: 3.5rem 1.5rem;
        border-radius: 20px;
    }

    .cta-titulo-kids {
        font-size: 1.8rem;
    }

    .frase-cierre-kids p {
        font-size: 2.5rem;
    }

    .cta-texto-kids {
        font-size: 1rem;
    }

    .btn-pulse-kids {
        font-size: 1rem;
        padding: 1rem 2rem;
        width: 100%; /* Botón de ancho completo en móvil */
        display: block;
    }
}