/* ================= VARIABLES Y BASE ================= */
:root {
    --color-black: #111111;
    --color-pink: #E8B0C0;
    --color-blue: #1E94BC;
    --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; }
.section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }

/* 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-flex; align-items: center; justify-content: center; gap: 0.5rem; }
.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; }
.btn-large { padding: 0.9rem 2.2rem; font-size: 1.05rem; }
.w-100 { width: 100%; margin-top: 1rem; padding: 1rem; border-radius: 12px; font-size: 1.05rem; box-shadow: 0 4px 15px rgba(232, 176, 192, 0.4); }

/* ================= 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, .nav-links { 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 DEL EMPRENDIMIENTO ================= */
.hero-emprendimiento {
    position: relative;
    width: 100%;
    /* Empuja la imagen hacia abajo para que la barra del menú no la tape */
    padding-top: 110px; 
    background-color: var(--color-white);
    display: flex;
}

.hero-emprendimiento img {
    width: 100%;
    height: auto; /* Mantiene la proporción original sin recortes */
    display: block;
}

/* Capa semitransparente oscura */
.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(17, 17, 17, 0.454); 
    z-index: 1; 
}

.hero-emprendimiento-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-top: 30px; /* Empuja el texto hacia abajo para centrarlo perfecto */
}

.hero-emprendimiento h1 {
    font-size: 3.2rem;
    color: var(--color-white); /* Texto blanco para contrastar */
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Sombra elegante */
}

.hero-emprendimiento p {
    font-size: 1.2rem;
    color: #e0e0e0;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* ================= HISTORIA / CÓMO NACE ================= */
.historia-texto p { margin-bottom: 1.2rem; color: #555; line-height: 1.8; }
.placeholder-img { background: transparent; height: 360px; border-radius: 20px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.placeholder-img img { width: 100%; height: 100%; object-fit: contain; }

/* ================= OBJETIVO Y VISIÓN ================= */
.mision-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.mv-card {
    background: var(--color-white);
    padding: 3.5rem 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 5px solid var(--color-pink);
    transition: var(--transition-smooth);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-top-color: var(--color-blue);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: rgba(232, 176, 192, 0.15);
    color: var(--color-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 2rem auto;
    transition: var(--transition-smooth);
}

.mv-card:hover .mv-icon {
    background: rgba(30, 148, 188, 0.15);
    color: var(--color-blue);
}

.mv-card h3 {
    font-size: 1.6rem;
    color: var(--color-black);
    margin-bottom: 1rem;
}

.mv-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ================= HISTORIA EMPRENDIMIENTO (CENTRAL) ================= */
.historia-texto-centrada p {
    margin-bottom: 1.2rem;
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

.img-historia-emprendimiento {
    width: 100%;
    max-width: 650px; /* Reducimos el ancho para que no se vea gigante */
    height: auto; /* IMPORTANTE: Deja que la imagen tome su forma natural sin recortes */
    margin: 2.5rem auto; /* Centrada con buen espacio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Sombra elegante */
    border: 3px solid var(--color-white);
}

.img-historia-emprendimiento img {
    width: 100%;
    height: auto; /* Mantiene la proporción perfecta del diseño original */
    display: block;
    transition: var(--transition-smooth);
}

.img-historia-emprendimiento:hover img {
    transform: scale(1.02); /* Efecto de zoom muy sutil */
}

/* ================= ESQUEMA: CADENA DE OPORTUNIDADES ================= */
.esquema-cadena {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
    padding-bottom: 2rem;
}

/* Línea conectora de fondo */
.esquema-cadena::before {
    content: '';
    position: absolute;
    top: 150px; /* Exactamente en el límite de la foto */
    left: 5%;
    right: 5%;
    height: 4px;
    background: rgba(232, 176, 192, 0.6);
    z-index: 0;
    border-radius: 5px;
}

.esquema-paso {
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    position: relative;
    z-index: 1; 
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
}

.esquema-paso:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(30,148,188,0.15);
}

.esquema-img-wrapper {
    height: 150px; /* Altura fija */
    width: 100%;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.esquema-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.esquema-paso:hover .esquema-img-wrapper img {
    transform: scale(1.05);
}

/* El círculo ahora se posiciona perfecto sobre la línea */
.esquema-numero {
    position: absolute;
    top: 150px; /* Misma altura que la línea conectora */
    left: 50%;
    transform: translate(-50%, -50%); /* Centrado exacto mitad arriba, mitad abajo */
    width: 40px;
    height: 40px;
    background: var(--color-blue);
    color: var(--color-white);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--color-white);
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.esquema-texto {
    padding: 2.5rem 1rem 1.5rem 1rem; /* Empuja el texto para que no choque con el círculo */
    text-align: center;
}

.esquema-texto p {
    font-size: 0.95rem;
    color: #444;
    margin: 0;
    line-height: 1.5;
}

.esquema-texto strong {
    color: var(--color-blue);
    font-size: 1.05rem;
}

/* ================= SECCIÓN: PROPÓSITO A FUTURO (MANIFIESTO) ================= */
.proposito-red-wrapper {
    background: linear-gradient(135deg, rgba(232, 176, 192, 0.12) 0%, rgba(30, 148, 188, 0.08) 100%);
    border: 1px solid rgba(232, 176, 192, 0.4);
    border-radius: 24px;
    padding: 4.5rem 3.5rem;
    max-width: 850px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    position: relative;
    transition: var(--transition-smooth);
}

.proposito-red-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(30,148,188,0.08);
}

.icono-proposito {
    font-size: 2.5rem;
    color: var(--color-pink);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.texto-proposito {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.texto-proposito strong {
    color: var(--color-blue);
    font-weight: 600;
}

.cita-proposito {
    position: relative;
}

/* Pequeña línea separadora antes de la cita */
.cita-proposito::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-yellow, #928a67); /* Usamos un toque dorado/amarillo si está definido, si no un color suave */
    border-radius: 2px;
}

.cita-proposito p {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--color-blue);
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 8px rgba(30, 148, 188, 0.15);
}

/* ================= ESTILOS DE FRASES DESTACADAS ================= */

/* Estilo 1: Letra cursiva rosa (Referencia imagen 1) */
.frase-cursiva-rosa {
    font-family: 'Great Vibes', cursive !important;
    font-size: 3rem !important;
    color: #D34366 !important; /* Rosa oscuro de la referencia */
    line-height: 1.4 !important;
    text-shadow: none !important; /* Remueve la sombra anterior si la hubiera */
    margin: 0;
}

/* Estilo 2: Letra Poppins Itálica Azul (Referencia imagen 2) */
.frase-italica-azul {
    font-family: var(--font-main) !important;
    font-size: 2.2rem !important;
    color: var(--color-blue) !important;
    font-weight: 600 !important;
    font-style: italic !important;
    line-height: 1.4 !important;
    margin: 0;
}

/* ================= SECCIÓN: ¿QUIÉNES PUEDEN PARTICIPAR? ================= */
.participantes-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr; /* Columna izquierda un poco más ancha */
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.participantes-texto h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.participantes-texto p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.pregunta-por-que {
    color: var(--color-pink);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.intro-lista {
    color: var(--color-blue) !important;
    font-weight: 600;
    margin-top: 1.5rem;
}

/* Recuadro de la lista */
.lista-oportunidades {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Lista dividida en 2 columnas */
    gap: 1.5rem;
    background: var(--color-white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border-top: 5px solid var(--color-pink);
}

.lista-oportunidades li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.4;
}

.lista-oportunidades i {
    color: var(--color-pink);
    background: rgba(232, 176, 192, 0.15);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.cita-participantes {
    margin-top: 2rem;
    padding: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.cita-participantes p {
    font-family: 'Dancing Script', cursive;
    font-size: 2.6rem;
    color: var(--color-blue);
    line-height: 1.3;
    margin: 0;
}

/* ================= SECCIÓN: ROLES DE PARTICIPACIÓN (TARJETAS GIRATORIAS) ================= */
.roles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

/* Contenedor principal de la tarjeta 3D */
.rol-card {
    flex: 1 1 300px;
    max-width: 340px;
    height: 280px; /* Es necesario darle una altura fija para que giren bien */
    perspective: 1000px; /* Activa el espacio 3D */
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /* Quita el cuadro azul al tocar en móviles */
}

/* El cuadro interno que hace el giro */
.rol-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

/* Al hacer clic, se añade la clase flipped y la tarjeta gira 180 grados */
.rol-card.flipped .rol-card-inner {
    transform: rotateY(180deg);
}

/* Caras frontal y trasera */
.rol-card-front, .rol-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden; /* Soporte para Safari */
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
}

/* Frente de la tarjeta */
.rol-card-front {
    z-index: 2;
    transform: rotateY(0deg);
}

.rol-card:hover .rol-card-front {
    box-shadow: 0 15px 40px rgba(30, 148, 188, 0.1);
}

/* Dorso de la tarjeta (Inicialmente oculto) */
.rol-card-back {
    transform: rotateY(180deg);
    /* Un ligero degradado de fondo en el reverso para que se vea premium */
    background: linear-gradient(135deg, rgba(232, 176, 192, 0.08) 0%, rgba(30, 148, 188, 0.08) 100%);
    text-align: center;
}

/* Diseño de elementos internos */
.rol-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem auto;
}

.icon-pink { background: rgba(232, 176, 192, 0.15); color: var(--color-pink); }
.icon-blue { background: rgba(30, 148, 188, 0.15); color: var(--color-blue); }
.icon-gold { background: rgba(214, 176, 0, 0.15); color: #d6b000; }

.rol-card-front h3 {
    font-size: 1.4rem;
    color: var(--color-black);
    margin: 0;
}

/* El texto que indica que se puede tocar */
.click-hint {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.click-hint i {
    color: var(--color-pink);
    animation: bounce-hint 1.5s infinite; /* Un pequeño salto para llamar la atención */
}

@keyframes bounce-hint {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.rol-card-back h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.rol-card-back p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ================= CAJA DE FRASE DE CIERRE (ROLES) ================= */
.cita-roles-caja {
    margin: 4rem auto 0 auto;
    padding: 3rem 2rem;
    max-width: 850px;
    background: var(--color-white);
    border: 2px solid var(--color-pink); /* Aquí están los filos rosados elegantes */
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(232, 176, 192, 0.15); /* Sombra rosada muy sutil */
    position: relative;
    overflow: hidden; /* Asegura que el efecto interno no se salga de los bordes */
}

/* Efecto premium: un levísimo degradado rosa en una de las esquinas internas */
.cita-roles-caja::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(232, 176, 192, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.cita-roles-caja p {
    position: relative;
    z-index: 1; /* Mantiene el texto nítido por encima del efecto */
}

/* ================= SECCIÓN: ESQUEMA DE FLUJO SOCIAL ================= */
.esquema-flujo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.flujo-item {
    background: transparent;
    border: 2px solid rgba(30, 148, 188, 0.2);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    flex: 1;
    max-width: 220px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.flujo-item:hover {
    background: var(--color-white);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: var(--color-blue);
}

.flujo-item i {
    font-size: 2rem;
    color: var(--color-blue);
}

.flujo-item span {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.4;
}

.flujo-flecha {
    color: var(--color-pink);
    font-size: 1.5rem;
    opacity: 0.6;
}

/* ================= SECCIÓN: NUBES DE PROPÓSITO (IMÁGENES PNG) ================= */
.cielo-nubes-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem; /* Espacio entre las imágenes */
    position: relative;
    padding: 2rem 0;
    margin-bottom: 5rem;
}

.nube-img-wrapper {
    position: relative;
    max-width: 650px; /* Tamaño máximo para que no sean gigantes en PC */
    width: 100%;
    animation: floatCloud 6s ease-in-out infinite; /* Mantiene el efecto de flotación */
    z-index: 2;
}

.nube-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    /* Este filtro le da una sombra elegante directamente al contorno de tu PNG transparente */
    filter: drop-shadow(0px 15px 25px rgba(30,148,188,0.15));
    transition: var(--transition-smooth);
}

.nube-img-wrapper:hover img {
    transform: scale(1.02); /* Ligero acercamiento interactivo */
}

/* Posicionamiento en zigzag */
.nube-izq { align-self: flex-start; margin-left: 2rem; animation-delay: 0s; }
.nube-der { align-self: flex-end; margin-right: 2rem; animation-delay: 2s; }
.nube-cen { align-self: center; animation-delay: 4s; }

/* Animación mágica de flotación */
@keyframes floatCloud {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Recuadro final de la sección */
.cierre-productos-rosada {
    max-width: 850px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 2.5rem 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-bottom: 5px solid var(--color-pink);
    position: relative;
    z-index: 3;
}

.cierre-productos-rosada p {
    font-size: 1.25rem;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

.cierre-productos-rosada strong {
    color: var(--color-pink);
}

/* ================= 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; }

/* ================= 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); }
.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; 
    }
    .section-grid { grid-template-columns: 1fr; gap: 2rem; }
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; /* Se coloca justo debajo de la barra blanca */
        left: -100%; /* Oculto fuera de la pantalla por defecto */
        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; /* Animación suave al abrir */
    }

    /* La clase que activará JavaScript para mostrar el menú */
    .nav-links.active {
        left: 0;
    }

    /* --- Ajustes del Submenú (Programas) en Celular --- */
    .dropdown {
        width: 100%;
    }
    
    .dropdown-content {
        position: static; /* Quita el efecto flotante */
        box-shadow: none;
        background-color: #f4f6f8; /* Un fondo sutilmente diferente */
        width: 100%;
        margin-top: 10px;
        display: none; /* Se mantiene oculto hasta que JS lo active */
    }
    
    /* Esta clase la activará JavaScript */
    .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; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.8rem; }
    
    .mision-vision-grid { grid-template-columns: 1fr; gap: 2rem; }
    /* Ajuste Imagen Historia Celular */
    .img-historia-emprendimiento {
        height: 200px;
        margin: 2rem auto;
    }

    /* Ajustes Esquema Celular */
    .esquema-cadena {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
        gap: 2.5rem; /* Espacio para la flecha */
    }

    .esquema-cadena::before {
        display: none; /* Esconde la línea horizontal */
    }

    .esquema-img-wrapper {
        height: 180px; /* Foto más alta en el cel */
    }

    .esquema-numero {
        top: 180px; /* Se ajusta a la nueva altura de la foto */
    }

    /* Flecha hacia abajo para conectar en móvil */
    .esquema-paso::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        bottom: -28px;
        left: 50%;
        transform: translateX(-50%);
        color: var(--color-pink);
        font-size: 1.5rem;
    }

    .esquema-paso:last-child::after {
        display: none;
    }

    /* Ajustes Propósito a Futuro Celular */
    .proposito-red-wrapper {
        padding: 3rem 1.5rem;
        border-radius: 20px;
    }
    
    .texto-proposito {
        font-size: 1.05rem;
        margin-bottom: 2.5rem;
    }
    


    /* Ajustes Quiénes Pueden Participar Celular */
    .participantes-wrapper {
        grid-template-columns: 1fr; /* Pasa a 1 sola columna */
        gap: 2.5rem;
    }

    .lista-oportunidades {
        grid-template-columns: 1fr; /* La lista pasa a 1 sola columna en móvil */
        padding: 2rem 1.5rem;
    }

    .participantes-texto h2 {
        font-size: 1.9rem;
    }

    /* Ajustes Frases Destacadas en Celular */
    .frase-cursiva-rosa {
        font-size: 2.2rem !important;
    }

    .frase-italica-azul {
        font-size: 1.6rem !important;
    }

    /* Ajustes Esquema de Flujo Social Celular */
    .esquema-flujo {
        flex-direction: column;
        gap: 1.2rem;
    }

    .flujo-item {
        max-width: 100%;
        width: 100%;
        min-height: auto;
        flex-direction: row;
        padding: 1.2rem;
        justify-content: flex-start;
        text-align: left;
    }

    .flujo-item i {
        margin-right: 1rem;
    }

    /* Gira las flechitas para que apunten hacia abajo en celular */
    .flujo-flecha {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }

    /* Ajustes Nubes Imágenes Celular */
    .cielo-nubes-wrapper { 
        gap: 2rem; 
    }

    .nube-img-wrapper {
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-self: center !important; /* Centra todas las nubes en móviles */
        max-width: 95%; /* Toma casi todo el ancho de la pantalla */
    }

    .cierre-productos-rosada { padding: 2rem 1.5rem; }
    .cierre-productos-rosada p { font-size: 1.05rem; }

    /* Ajuste Hero Emprendimiento Celular */
    .hero-emprendimiento {
        padding-top: 75px; /* Empuje más pequeño para la altura del menú en móvil */
    }

    /* Ajustes Caja Frase Roles Celular */
    .cita-roles-caja {
        margin-top: 3rem;
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }
}
