/* Variables */
:root {
    --bg-main: #121418; /* Deep dark background */
    --bg-card: rgba(255, 255, 255, 0.04);
    --border-card: rgba(255, 255, 255, 0.08);
    --color-pink: #E867C5;
    --color-cyan: #6AD9E0;
    --text-light: #F8F9FA;
    --text-muted: #A0A5B0;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --font-main: 'Alexandria', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-main);
    color: var(--text-light);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}
/* O también puedes usar esto para añadir la línea directamente a tus secciones existentes */
section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Línea gris muy suave al final de cada sección */
}
/* Base de Animación Fade-In */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1), transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section-padding { padding: 6rem 0; }
.text-pink { color: var(--color-pink); }
.text-cyan { color: var(--color-cyan); }
.text-center { text-align: center; }
.subtitle { font-size: 1.1rem; margin-top: 0.5rem; letter-spacing: 1px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    cursor: pointer;
}
.btn-pink {
    background-color: var(--color-pink);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(232, 103, 197, 0.3);
}
.btn-pink:hover { background-color: #d85ab5; transform: translateY(-2px); }
.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-card);
}
.btn-outline:hover { border-color: var(--color-cyan); color: var(--color-cyan); }

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Layout Grids */
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.gap-sm { gap: 1.5rem; }

/* Image Placeholders */
.img-placeholder {
    background: linear-gradient(135deg, rgba(232, 103, 197, 0.04), rgba(106, 217, 224, 0.04));
    border: 1px dashed rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.lg-placeholder { min-height: 400px; width: 100%; border-radius: var(--radius-lg); }
.md-placeholder { min-height: 200px; width: 100%; margin-bottom: 1.5rem; }
.sm-placeholder { min-height: 140px; width: 100%; margin-bottom: 1rem; }
.fill-placeholder { min-height: 220px; width: 100%; border-radius: var(--radius-sm); border: 1px rgba(255, 255, 255, 0.1); background: rgba(255,255,255,0.01); }

img.md-placeholder, 
img.lg-placeholder, 
img.sm-placeholder {
    width: 100%;
    object-fit: cover; /* Esto hace que la foto encuadre perfectamente sin deformarse */
    border-radius: var(--radius-md);
}
/* Clase para mantener todas las imágenes del mismo tamaño */
.img-uniforme {
    width: 100%;
    height: 220px; /* Ajusta este número según qué tan altas quieras las fotos */
    object-fit: cover; /* Recorta la imagen automáticamente para llenar el espacio sin deformarse */
    border-radius: var(--radius-md); /* Mantiene los bordes redondeados de tu diseño */
    border: 1px solid var(--border-card); /* Opcional: le da un marco sutil */
}

/* Header */
.header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-card);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-placeholder { font-weight: 700; font-size: 1.2rem; line-height: 1.1; }
.logo-placeholder small { font-weight: 300; font-size: 0.7rem; letter-spacing: 2px; }
.logo img{
    display: block;
    max-width: 150px;
}
.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--color-cyan); }

/* --- HERO SECTION (Imagen confinada estrictamente a su contenedor) --- */
.hero { 
    position: relative;
    background-image: linear-gradient(135deg, rgba(11, 14, 20, 0.92) 40%, rgba(11, 14, 20, 0.1) 100%), url('./img/header.png'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    padding: 8rem 0 8rem 0; 
    min-height: auto; 
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-grid-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    width: 100%;
}
.hero-content h1 { font-size: 3.8rem; line-height: 1.1; margin-bottom: 1.5rem; font-weight: 700; letter-spacing: -1px; }
.hero-content p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 90%; }
.hero-buttons { display: flex; gap: 1rem; }

/* Pillars Section con Líneas Verticales Finas Blancas */
/* --- CORRECCIÓN DE PROPUESTA (GRID Y FLEX UNIFICADOS) --- */
.pillars {
    padding-top: 5rem;
    padding-bottom: 1rem;
    border-bottom: none;
}

.pillars .glass-card {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0; /* Eliminamos el gap para que las líneas divisorias funcionen mejor */
    padding: 3rem 1rem;
}

.pillar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
    min-width: 0; /* Evita que el contenido fuerce el desborde de la columna del grid */
}

.pillar-item h4,
.pillar-item p {
    overflow-wrap: break-word;
}

/* Línea divisoria */
.pillar-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--border-card);
}

.icon-web {
    font-size: 4rem;
    color: var(--color-pink);
    margin-bottom: 1.5rem;
}

.pillar-item h4 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.pillar-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.etapas {
    padding-top: 3rem;
}

/* Etapas */
.section-header { margin-bottom: 4rem; }
.section-header h2 { font-size: 2.4rem; font-weight: 700; }
.etapa-card { padding: 2.5rem 2rem; }
.etapa-card h3 { font-size: 1.1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-card); padding-bottom: 1rem; }
.etapa-card ul { list-style: none; }
.etapa-card li { position: relative; padding-left: 1.2rem; margin-bottom: 0.8rem; font-size: 0.9rem; color: var(--text-muted); }
.etapa-card li::before { content: '•'; color: var(--color-pink); position: absolute; left: 0; top: 0; font-size: 1.2rem; line-height: 1; }

/* Trabajo en Acción */
.trabajo-card { background: rgba(255,255,255,0.01); border: 1px solid var(--border-card); padding: 1.5rem; border-radius: var(--radius-md); transition: transform 0.3s ease, border-color 0.3s; }
.trabajo-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.03); border-color: rgba(106, 217, 224, 0.3); }
.trabajo-card h4 { font-size: 0.80rem; margin-bottom: 0.5rem; white-space: normal; line-height: 1.3; min-height: 2.2em; }
.trabajo-card p { font-size: 0.85rem; color: var(--text-muted); }

.card-img {
    width: 100%;
    height: 140px; /* Puedes ajustar esta altura según lo necesites */
    object-fit: cover; /* Asegura que la imagen llene el espacio sin deformarse */
    border-radius: var(--radius-sm); /* Mantiene los bordes redondeados del diseño */
    margin-bottom: 1.5rem;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Sombra sutil para darle profundidad */
}

/* ===================================================
   CÓMO TRABAJAMOS TIMELINE - ANIMACIÓN ESPECTACULAR
   =================================================== */

.relative-container { 
    position: relative; 
}

/* --- LÍNEA BASE (GRIS SUTIL) --- */
.timeline-line-bg { 
    position: absolute; 
    top: 40px; /* Exactamente a la mitad de los 80px del círculo */
    left: 10%; 
    right: 10%; 
    height: 2px; 
    background: rgba(255, 255, 255, 0.1); 
    z-index: 1; 
}

/* --- LÍNEA DE PROGRESO (ROSA CON RESPLANDOR DIGITAL) --- */
.timeline-line-progress {
    position: absolute; 
    top: 40px; 
    left: 10%; 
    width: 0%; 
    height: 2px; 
    background: var(--color-pink); 
    box-shadow: 0 0 12px var(--color-pink); 
    z-index: 1;
    transition: width 3s cubic-bezier(.5,.29,.38,.68);
}

/* Al activarse por JS, expande la línea rosa */
.animate-active .timeline-line-progress {
    width: 80%; 
}

/* --- ESTADO INICIAL DE LOS PASOS (OCULTOS AL PRINCIPIO) --- */
.step { 
    position: relative; 
    z-index: 2; /* Asegura que el paso esté por encima de la línea */
    padding: 0 1rem; 
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- ENTRADA EN CASCADA SECUENCIAL --- */
.animate-active .step {
    opacity: 1;
    transform: translateY(0);
}

/* Retrasos calculados cronológicamente según avanza el ancho de la línea */
.animate-active .step:nth-child(3) { transition-delay: 0.1s; } /* Paso 1 */
.animate-active .step:nth-child(4) { transition-delay: 0.6s; } /* Paso 2 */
.animate-active .step:nth-child(5) { transition-delay: 1.2s; } /* Paso 3 */
.animate-active .step:nth-child(6) { transition-delay: 1.8s; } /* Paso 4 */
.animate-active .step:nth-child(7) { transition-delay: 2.4s; } /* Paso 5 */

/* --- EL CÍRCULO CONTENEDOR --- */
.icon-circle { 
    width: 80px; 
    height: 80px; 
    background: var(--bg-main); /* Fondo oscuro sólido para "cortar" la línea de fondo */
    border: 1px solid rgba(255, 255, 255, 0.15); 
    border-radius: 50%; 
    margin: 0 auto 2rem auto; 
    
    display: flex; 
    align-items: center; 
    justify-content: center; 
    
    position: relative; 
    z-index: 3; 
    box-shadow: 0 0 0 rgba(232, 103, 197, 0);
    transition: border-color 0.4s ease, transform 0.3s ease; 
}

/* --- DISPARO DEL EFECTO POP Y RESPLANDOR (SINCRO CON CASCADA) --- */
.animate-active .step:nth-child(3) .icon-circle { animation: pop-and-glow 0.6s ease forwards 0.1s; }
.animate-active .step:nth-child(4) .icon-circle { animation: pop-and-glow 0.6s ease forwards 0.6s; }
.animate-active .step:nth-child(5) .icon-circle { animation: pop-and-glow 0.6s ease forwards 1.2s; }
.animate-active .step:nth-child(6) .icon-circle { animation: pop-and-glow 0.6s ease forwards 1.8s; }
.animate-active .step:nth-child(7) .icon-circle { animation: pop-and-glow 0.6s ease forwards 2.4s; }

/* --- EL ICONO INTERNO --- */
.icon-circle i {
    font-size: 2.2rem !important; 
    color: var(--color-pink); 
    padding-top: 20px; /* Ajuste manual para centrado visual del icono */
    margin: 0; 
    display: block; 
}

/* --- TEXTOS --- */
.step h4 { 
    font-size: 0.9rem; 
    margin-bottom: 0.8rem; 
}

.step p { 
    font-size: 0.85rem; 
    color: var(--text-muted); 
}

/* Interactividad Hover (Mantiene el flujo limpio posterior a la animación) */
.step:hover .icon-circle {
    border-color: var(--color-pink);
    transform: translateY(-3px);
}

/* --- KEYFRAMES PARA EL EFECTO DE REBOTE Y BRILLO --- */
@keyframes pop-and-glow {
    0% { 
        transform: scale(1); 
        border-color: rgba(255, 255, 255, 0.15); 
        box-shadow: 0 0 0 rgba(232, 103, 197, 0); 
    }
    50% { 
        transform: scale(1.12); /* Crece sutilmente capturando atención */
        border-color: var(--color-pink); 
        box-shadow: 0 0 25px rgba(232, 103, 197, 0.4); 
    }
    100% { 
        transform: scale(1); 
        border-color: var(--color-pink); 
        box-shadow: 0 6px 20px rgba(232, 103, 197, 0.25); /* Se asienta con un sombreado elegante */
    }
}
/*TARJETAS CASO DE EXITO*/
.resultados-list2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%; 
    padding: 1rem 0;
}

.resultados-list2 ul { 
    list-style: none; 
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    
    /* FIX: Aísla el contenedor para que los blurs no se pisen entre sí */
    isolation: isolate; 
}

/* Tarjeta Dark */
.resultados-list2 li { 
    display: flex; 
    gap: 1.2rem; 
    align-items: flex-start; 
    padding: 1.5rem;
    
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid #ff007f; 
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    position: relative;
    z-index: 1; /* Asegura que el contenido quede arriba */
    
    /* Quitamos el background y blur de aquí */
    
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;

}
/* 2. El "fondo falso" (Maneja SOLO el color, el blur y se queda quieto) */
.resultados-list2 li::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1; /* Lo enviamos al fondo de la tarjeta */
    
    border-radius: inherit; /* Copia automáticamente los 14px del padre */
    
    /* Aquí vive el efecto Glassmorphism */
    background-color: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    transition: background-color 0.3s ease;
}

/* 3. Efectos Hover (Separados para que el navegador no se rompa) */
.resultados-list2 li:hover {
    transform: translateY(-4px); 
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
    /* Teñimos los bordes sutilmente, excepto el izquierdo que sigue rosa */
    border-top-color: rgba(255, 0, 127, 0.3);
    border-right-color: rgba(255, 0, 127, 0.3);
    border-bottom-color: rgba(255, 0, 127, 0.3);
}

/* Iluminamos el fondo al pasar el mouse */
.resultados-list2 li:hover::before {
    background-color: rgba(255, 255, 255, 0.06);
}

/* Contenedor del ícono */
.icon-pink {
    background-color: rgba(255, 0, 127, 0.15);
    color: #ff007f;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex-shrink: 0; 
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.2);
    
    /* FIX: Lo preparamos para el centrado absoluto del emoji */
    position: relative; 
}

/* FIX: Centrado absoluto infalible para el emoji */
.emoji {
    font-size: 1.3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    line-height: 1;
    /* Forzamos tipografías de sistema para emojis */
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

/* Textos */
.item-content {
    display: flex;
    flex-direction: column;
}

.item-content strong {
    font-size: 1.1rem;
    color: #ffffff; 
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.item-content p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #b3b3b3; 
}
/* Resultados */
.resultados-content { padding: 3.5rem 3.5rem 1.5rem 3.5rem;}
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.2rem; border-bottom: 1px solid var(--border-card); padding-bottom: 2rem; margin-bottom: 2rem; text-align: center; }
.stat-item { display: flex; flex-direction: column; }
.stat-label { font-size: 0.75rem; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 0.5rem; text-transform: uppercase; }
.stat-number { font-size: 2.8rem; font-weight: 700; line-height: 1; min-height: 2.8rem; display: block; }
.resultados-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%; /* Se estira para permitir un centrado perfecto */
}
.resultados-list ul { list-style: none; 
    margin-bottom: 1.5rem;
 }
.resultados-list li { margin-bottom: 0.8rem; font-size: 1.2rem; display: flex; gap: 0.8rem; align-items: center; }
.disclaimer { font-size: 0.75rem; color: var(--text-muted); font-style: italic; }
.resultados-details {
    align-items: center; 
}
.caso-de-exito { 
    position: relative;
    background-image: linear-gradient(135deg, rgba(11, 14, 20, 0.92) 50%, rgba(11, 14, 20, 0.1) 100%), url('./img/fondo_casos_de_exito.jpg'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    padding:3rem 8rem;
    border-radius: 40px;
}
.text-notwrap {
    white-space: nowrap;
}
/* Galería Ajustada Dentro de los Márgenes */
.gallery-section {
    padding-top: 6rem; 
    padding-bottom: 1rem;
    padding-left: 0 !important; 
    padding-right: 0 !important; 
}

/* Carrusel continuo (auto-scroll en loop) */
.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.carousel-track {
    display: flex;
    width: max-content;
    gap: 1rem;
    animation: carousel-scroll 45s linear infinite;
    transition: transform 0.3s ease-out;
}

.carousel-track img {
    width:500px;
    flex-shrink: 0;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: transform 0.5s ease;
}

/* Esta es la regla que necesitas agregar */
.carousel-wrapper:hover .carousel-track {
    animation-play-state: paused;
}

@keyframes carousel-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* Avanza exactamente un set completo (la mitad, ya que está duplicado) */
}

@media (max-width: 768px) {
    .carousel-track img { width: 240px; }
}

/* ===================================================
   CONTENEDOR E IMAGEN DE DASHBOARD (LAPTOP)
   =================================================== */

.dashboard-img {
    width: 100%;
    margin: 0;   /* Quitamos el margen superior para que no se baje */
    padding: 0;  /* Quitamos el padding para que expanda al máximo */
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px; 
}
.dashboard-img img {
    width: 110%; /* Lo forzamos a ocupar todo el espacio, incluso un poco más para que se vea imponente */
    margin-right: -10%; /* Compensa el ancho extra para que no rompa la caja */
    height: auto; 
    display: block;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- EFECTO INTERACTIVO HOVER PREMIUM --- */
.dashboard-img:hover img {
    transform: scale(1.03);
}

/* ===================================================
   FOOTER Y FORMULARIO DE CONTACTO
   =================================================== */

.footer { 
    background: linear-gradient(180deg, var(--bg-main) 0%, #080a0e 100%); 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    padding: 8rem 0; /* Mucho más aire superior e inferior para separar secciones */
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 1fr 1.2fr; 
    gap: 6rem; 
    align-items: start; 
}

/* --- TEXTOS DEL FOOTER --- */
.footer-text {
    padding-right: 2rem;
}

/* Pequeña etiqueta de diseño arriba del título */
.footer-text .badge {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(232, 103, 197, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(232, 103, 197, 0.05); /* Rosa ultra transparente */
}

.footer-text h2 { 
    font-size: 3.2rem; /* Tamaño mucho más imponente */
    line-height: 1.1; 
    margin-bottom: 1.5rem; 
}

.footer-text p { 
    font-size: 1.15rem; 
    color: var(--text-muted); 
    line-height: 1.8;
}

/* --- CONTENEDOR DEL FORMULARIO --- */
.footer-form-wrapper { 
    background-color:#080a0e00;
    overflow: hidden;
}

/* --- LIMPIEZA FORZADA DEL FORMULARIO DOPPLER --- */

.doppler-custom,
.doppler-custom > div,
.doppler-custom form,
.doppler-custom iframe,
div[data-dp-form] iframe {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    
    /* Le avisa al contenido inyectado que estamos en un entorno oscuro */
    color-scheme: dark; 
}

/* Responsive basics */
@media (max-width: 1024px) {
    .grid-5, .pillars .glass-card { grid-template-columns: repeat(3, 1fr); }
    .grid-3 { grid-template-columns: 1fr; }
    .pillar-item:not(:last-child)::after { display: none; }
    .hero-grid-container { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .timeline-line-bg, .timeline-line-progress { display: none; }
    .footer-grid { 
        grid-template-columns: 1fr; /* Pasa a una sola columna */
        gap: 4rem; 
        text-align: center; /* Centramos todo para móviles */
    }
    .footer-text { 
        padding-right: 0; 
    }
    .footer-text .badge { 
        margin: 0 auto 1.5rem auto; /* Centramos el badge */
    }
    .footer-text h2 {
        font-size: 2.5rem; /* Achicamos el título para que no desborde en celular */
    }
    .footer-form-wrapper { 
        padding: 2rem; 
    }
}
@media (max-width: 768px) {
    .grid-5, .grid-2, .footer-grid, .pillars .glass-card { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.6rem; }
    .resultados-content { padding: 1.5rem; }
}
