





/* ==========================================
   1. RESET & BASE
========================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Inter', sans-serif; 
    background: #f4f7fb; 
    color: #1a1a1a; 
    line-height: 1.6; 
    overflow-x: hidden; 
}

/* ==========================================
   2. NAVEGACIÃ“N (NAV) - VERSION ESTILIZADA
========================================== */
.nav { 
    background: #fff; 
    height: 90px;             /* Bajamos de 120 a 90 */
    display: flex; 
    align-items: center; 
    position: sticky; 
    top: 0; 
    z-index: 9999; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
}

.nav-container { 
    width: 100%; 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    height: 100%;
}

.logo { 
    height: 70px;             /* Antes era 50, ahora 70: se nota la diferencia */
    width: auto; 
    transition: 0.3s; 
    display: block;
    padding: 5px 0;           /* Le damos un poquito de aire */
}
/* El contenedor de todas las cajas */
/* El contenedor de todas las cajas */
.menu {
    display: flex;
    align-items: center;
    gap: 5px; 
}

/* LA CAJA: Definimos el bloque de interacciÃ³n */
.nav-item {
    padding: 12px 20px;       /* Esto crea el tamaÃ±o de la caja */
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    border-radius: 8px;       /* Bordes suavizados */
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;       /* Para que el menÃº sepa dÃ³nde colgar */
}

/* EFECTO ACTIVE: Cuando el mouse entra en la CAJA */
.nav-item:hover {
    background-color: #f0f4f8; /* El color de fondo que "se prende" */
    color: #0056b3;
}

/* DISPARADOR: Cuando el mouse estÃ¡ sobre la caja de dropdown, mostramos contenido */
.dropdown:hover .dropdown-content {
    display: block !important;
}

/* Reset para que el texto de Servicios no se rompa */
.dropbtn {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    display: block;
}

/* La caja especial del botÃ³n final */
.nav-contact {
    background-color: #2F4F9C;
    color: #fff !important;
    margin-left: 10px;
}

.nav-contact:hover {
    background-color: #1e3a7a;
    transform: translateY(-2px);
}

/* Estilo del MegamenÃº (El que ya tenÃ­amos) */



@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   3. HAMBURGUER PREMIUM (ANIMADA)
========================================== */
.hamburger {
    display: none; 
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #0056b3;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: left;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(20px); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); }

/* ==========================================
   4. HERO SECTION (ALTO IMPACTO)
========================================== */
.hero { 
    padding: 40px 20px; 
    background: radial-gradient(circle at 75% 50%, #1565c0 0%, #0a4d8c 100%); 
    color: #fff; 
}

.hero-container { 
    max-width: 1200px; 
    margin: auto; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 40px; 
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 500px;
}

.hero-buttons { display: flex; gap: 15px; }

.btn { padding: 14px 28px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: 0.3s; }
.btn.primary { background: #fff; color: #0a4d8c; }
.btn.secondary { border: 2px solid #fff; color: #fff; }

.hero-logo-main { 
    width: auto;
    max-width: 550px; 
    height: auto;
    filter: drop-shadow(0px 20px 40px rgba(0,0,0,0.3)); 
    animation: float 5s infinite; 
    display: block;
    transform-origin: center;
}


/* ==========================================
   5. MARQUEE & CARDS
========================================== */
.marquee { overflow: hidden; background: #0a4d8c; padding: 30px 0; }
.marquee-content { display: flex; gap: 50px; animation: scroll 30s linear infinite; }
.marquee img { height: 110px; border-radius: 8px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding: 80px 20px; text-align: center; max-width: 1200px; margin: auto; }
.cards { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
}
.card { background: #fff; padding: 35px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.card:hover { 
    transform: translateY(-4px); 
}

.counter-flex { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 2.5rem; color: #0a4d8c; margin-bottom: 10px; }
.counter-logo { height: 50px; }

/* Pilares */
.valores-section{
    position: relative;
    overflow: hidden;
    background: #fff;
    text-align: center;

    height: 400px;
}	
.valores-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1200px; margin: auto; }
.valor-card { background: #f9fbff; padding: 40px 25px; border-radius: 20px; border: 1px solid #e6ecf5; }
.valor-icon { width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; }
.mision .valor-icon { background: linear-gradient(135deg, #ff7a00, #ffb347); }
.vision .valor-icon { background: linear-gradient(135deg, #1e90ff, #00c6ff); }
.valores .valor-icon { background: linear-gradient(135deg, #a100ff, #ff00c8); }

/* ==========================================
   6. FOOTER & REDES SOCIALES PREMIUM
========================================== */
.main-footer { background: #fff; width: 100%; padding: 80px 0 30px; border-top: 1px solid #eef2f6; margin-top: 50px; }
.footer-wrap { max-width: 1200px; margin: 0 auto; padding: 0 5%; display: flex; justify-content: space-between; align-items: flex-start; }

.footer-logo-img { height: 70px; margin-bottom: 25px; }

.footer-social-links { display: flex; gap: 15px; margin-bottom: 30px; }

.social-icon {
    width: 48px; height: 48px;
    background: #ffffff; color: #333;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px; font-size: 22px; text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.social-icon:hover { transform: translateY(-5px); color: #fff; }
.social-icon.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); border-color: transparent; }
.social-icon.facebook:hover { background: #1877F2; border-color: #1877F2; }
.social-icon.linkedin:hover { background: #0077b5; border-color: #0077b5; }

.footer-info-box h4 { color: #0a4d8c; margin-bottom: 20px; font-weight: 700; }
.contact-item { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; }
.contact-item i { color: #0056b3; width: 25px; text-align: center; font-size: 1.1rem; }

.footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #f1f1f1; color: #999; font-size: 0.85rem; }

/* ==========================================
   7. EXTRAS (WSP & REVEAL) - VERSIÃ“N FINAL
========================================== */

}

.wsp-float:hover { 
    transform: scale(1.1) rotate(10deg);
    background: #20ba5a;
}

.wsp-float i {
    line-height: 0; /* Centra el icono perfectamente */
}

/* El reveal queda igual */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s all ease; }
.reveal.active { opacity: 1; transform: translateY(0); }


/* ==========================================
   8. RESPONSIVE (CELULAR)
========================================== */
@media (max-width: 768px) {
    .hamburger { display: flex; }

    .menu {
        position: fixed;
        top: 80px;
        right: -100%;
        background: #ffffff;
        width: 100%;
        height: calc(100vh - 80px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 50px;
        gap: 20px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: -10px 0 20px rgba(0,0,0,0.05);
    }

    .menu.active { right: 0; }

    .menu a { 
        width: 100%; 
        text-align: center; 
        font-size: 1.2rem; 
        padding: 15px;
        border-bottom: 1px solid #f8f9fa;
    }

    .nav-contact { width: 80%; margin-top: 20px; }

    .hero-container, .footer-wrap { flex-direction: column; text-align: center; align-items: center; gap: 40px; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-buttons { justify-content: center; }
    
    .contact-item { justify-content: center; }
}


.bg-circles {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.circle {
    position: absolute;
    width: 1000px;
    height: 1000px;
    border-radius: 50%;

    background: radial-gradient(circle,
    currentColor 0%,
    currentColor 15%,
    rgba(255,255,255,0.6) 30%,
    transparent 75%
);

    filter: blur(60px);
    opacity: 1;

    animation: flotar 12s ease-in-out infinite;
}


/* COLORES */
.green { color: #00ff96; top: 20%; left: 10%; }
.yellow { color: #ffdc00; top: 60%; left: 70%; }
.orange { color: #ff7800; top: 30%; left: 80%; }
.blue { color: #0078ff; top: 70%; left: 20%; }

.green  { width: 900px; height: 900px; }
.yellow { width: 700px; height: 700px; }
.orange { width: 800px; height: 800px; }
.blue   { width: 750px; height: 750px; }


.green  { animation-duration: 14s; }
.yellow { animation-duration: 18s; }
.orange { animation-duration: 16s; }
.blue   { animation-duration: 20s; }


/* === TITULOS SECCION === */
.section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}


.hero-img {
    position: relative;
}

.hero-img::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    border-radius: 50%;

    background: radial-gradient(circle,
        rgba(0,198,255,0.6) 0%,
        rgba(0,86,179,0.4) 40%,
        transparent 70%
    );

    filter: blur(60px);
    z-index: -1;

}

.slider-servicios {
    padding: 80px 20px;
}

.slider {
    max-width: 1100px;
    margin: auto;
}

.slide {
    display: none;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
}

.slide.active {
    display: flex;
}

.slide-text {
    padding: 40px;
    width: 50%;
}

.slide img {
    width: 50%;
    object-fit: cover;
}

.slider-servicios h2 {
    text-align: center;
    font-size: 3rem; /* mÃ¡s grande */
    font-weight: 800;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

/* FLECHAS */
.controls span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: rgba(0,0,0,0.4);
    color: #fff;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.prev { left: 15px; }
.next { right: 15px; }

.controls span:hover {
    background: rgba(0,0,0,0.7);
}

/* ==========================================
   DOTS VISIBLES + PREMIUM
========================================== */

.dots{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    margin-top:35px;
}

/* DOT */
.dot{
    width:14px;
    height:14px;

    border-radius:50%;

    background:#c7d2fe; /* visible */

    cursor:pointer;

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease,
        opacity .3s ease;

    opacity:.65;
}

/* HOVER */
.dot:hover{
    transform:scale(1.15);

    opacity:1;

    background:#60a5fa;

    box-shadow:
        0 0 12px rgba(59,130,246,.45);
}

/* ACTIVO */
.dot.active{

    background: linear-gradient(
        135deg,
        #00c6ff,
        #0078ff
    );

    transform:scale(1.4);

    opacity:1;

    box-shadow:
        0 0 18px rgba(0,120,255,.55),
        0 0 35px rgba(0,120,255,.28);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;

    background: radial-gradient(circle at 20% 30%, rgba(0,255,150,0.15), transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(0,120,255,0.15), transparent 60%),
                radial-gradient(circle at 60% 20%, rgba(255,120,0,0.15), transparent 60%);
}


/* ==========================================
   DISEÃ‘O HERO PROFESIONAL Y EQUILIBRADO
========================================== */

.hero-new {
    /* Cambiamos el color sÃ³lido por RGBA con 0.98 de opacidad (98% sÃ³lido) */
    background-color: rgba(20, 85, 187, 1); 
    
    /* Agregamos esto para que lo poquito que se transparente se vea elegante */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(0px); /* Soporte para Safari */

    color: #fff;
    padding: 60px 20px;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}
.hero-container-new {
    display: flex;
    max-width: 1400px; /* Un poco mÃ¡s ancho para dar aire */
    width: 90%;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    gap: 40px; /* Espacio entre las tres columnas */
}

/* --- Contenedores de ImÃ¡genes (Los lados) --- */
.hero-image-container {
    flex: 1; /* Las dos imÃ¡genes ocupan el mismo espacio */
    display: flex;
    align-items: center;
}

.hero-left {
    justify-content: flex-start; /* Mano pegada a la izquierda */
}

.hero-right {
    justify-content: flex-end; /* Familia pegada a la derecha */
}

/* --- El Secreto del Equilibrio y No-DeformaciÃ³n --- */
.hero-image {
    width: auto;          /* No la obligamos a estirarse */
    height: auto;         /* No la obligamos a aplastarse */
    max-width: 100%;      /* Pero que no se salga de su columna */
    object-fit: contain;  /* Mantiene la proporciÃ³n perfecta */
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.2));
}

/* --- TamaÃ±os EspecÃ­ficos (Ajusta estos para 'grandeza' sin caos) --- */
.logo-mano {
    max-width: 480px;     /* <--- TamaÃ±o grande para la mano, sin ser gigante aplastada */
    animation: float 5s ease-in-out infinite;
}

.ilustracion-familia {
    max-width: 450px;     /* <--- TamaÃ±o equilibrado para la familia */
}

/* --- El Contenido Central (El Rey) --- */
.hero-content-new {
    flex: 2;             /* El texto ocupa el doble de espacio que una imagen */
    text-align: center;   /* Centramos todo el texto y botones */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 4rem;      /* TÃ­tulo grande y claro */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero-description {
    font-size: 1.4rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;     /* Limitamos el ancho del pÃ¡rrafo para legibilidad */
    margin-bottom: 45px;
}

/* --- Botones --- */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-new {
    padding: 16px 35px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #fff;
    color: #1455bb;
}

.btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #0b4eac;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* --- AnimaciÃ³n de FlotaciÃ³n (CopiÃ¡ esto si no lo tenÃ©s) --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* ==========================================
   5. AJUSTE PARA QUE SERVICIOS NO TARDE (IMPORTANTE)
========================================== */
.marquee { 
    overflow: hidden; 
    background: #0a4d8c; 
    padding: 30px 0; 
    margin-top: 0; /* Sin margen negativo para respetar el diseÃ±o original */
}

.section { 
    padding: 40px 20px; /* Bajamos solo este padding para que Servicios suba un poco */
    text-align: center; 
    max-width: 1200px; 
    margin: auto; 
}

.section h2 {
    margin-top: 0;
    margin-bottom: 30px; /* Menos espacio entre tÃ­tulo y tarjetas */
}


/* Ajuste para que la familia no estÃ© gigante */
.hero-img-left-src {
    width: 100%;          /* Que ocupe el ancho de su columna... */
    max-width: 420px;     /* ...pero que no pase de 420px (ajustÃ¡ este nÃºmero si la querÃ©s mÃ¡s chica) */
    height: auto;
    display: block;
    margin-left: auto;    /* La empuja bien hacia la derecha */
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.15));
}

/* Reequilibramos las columnas para que el texto respire */
.hero-img {
    flex: 2.5;
    display: flex;
    justify-content: flex-end !important;
    align-items: center;
    padding-left: 400px;
}
              /* Columna de la mano (izq) */
}

.hero-text {
    flex: 2;              /* Columna del texto (centro) - le damos mÃ¡s espacio */
}

.hero-img-left {
    flex: 1.5;            /* Columna de la familia (der) */
    display: flex;
    justify-content: flex-end;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* ==========================================
   WSP - FIX FINAL (ESTILO IMPERATIVO)
========================================== */
.wsp-float { 
    position: fixed !important;
    bottom: 40px !important;    /* Lo subimos un poco para que no se pegue al borde */
    right: 10px !important;     /* Lo metemos hacia adentro para que no se corte */
    width: 65px !important; 
    height: 65px !important; 
    background: #25d366 !important; 
    color: #fff !important; 
    border-radius: 50% !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    font-size: 35px !important; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.3) !important; 
    z-index: 2147483647 !important; /* El nivel mÃ¡s alto de capas */
    text-decoration: none !important; 
    transition: all 0.3s ease !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wsp-float:hover { 
    transform: scale(1.15) rotate(15deg) !important; 
    background: #20ba5a !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4) !important;
}

/* Centrado del icono */
.wsp-float i {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.logo { 
    height: 95px !important;    /* <--- AjustÃ¡ este nÃºmero a tu gusto (ej: 80, 90, 100) */
    width: auto !important; 
    transition: 0.3s !important;
    display: block !important;
    position: relative !important;
    z-index: 10000 !important;
}

/* Estilo para el contenedor del tÃ­tulo-imagen */
.hero-title-img {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

/* ==========================================
   IMPACTO MÃXIMO: ILUSTRACIÃ“N DE LETRAS
========================================== */

/* Usamos una cadena de selectores larga para ganar especificidad sin !important */
body .hero-new .hero-container-new .hero-content-new .hero-title-img .img-frase-hero {
    display: block;
    width: 140%;
    /* TAMAÃ‘O IMPACTO: De 800px subimos a 1200px */
    max-width: none; 
    height: auto;
    margin: 0 auto;
    /* TransiciÃ³n fluida para el responsive */
    transition: all 0.4s ease-in-out;
    filter: drop-shadow(0px 15px 30px rgba(0,0,0,0.2));
}

/* Ajustamos el contenedor para que no asfixie a la imagen */
.hero-content-new {
    flex: 4 !important; /* Le damos mucho mÃ¡s espacio al centro que a los lados */
    width: 100%;
}

/* ==========================================
   RESPONSIVE (Ajuste gradual)
========================================== */

/* Pantallas de Laptop comunes */
@media (max-width: 1400px) {
    body .hero-new .hero-container-new .hero-content-new .hero-title-img .img-frase-hero {
        max-width: 950px;
    }
}

/* Tablets y pantallas pequeÃ±as */
@media (max-width: 1024px) {
    body .hero-new .hero-container-new .hero-content-new .hero-title-img .img-frase-hero {
        max-width: 750px;
    }
}

/* Celulares (Para que se vea imponente pero quepa en la pantalla) */
@media (max-width: 768px) {
    body .hero-new .hero-container-new .hero-content-new .hero-title-img .img-frase-hero {
        max-width: 450px;
    }
}

/* Celulares pequeÃ±os */
@media (max-width: 480px) {
    body .hero-new .hero-container-new .hero-content-new .hero-title-img .img-frase-hero {
        max-width: 320px;
    }
}


@media (max-width: 768px) {

    .hero-container-new {
        flex-direction: column;
        gap: 20px;
    }

    .hero-left,
    .hero-right {
        justify-content: center;
    }

    .logo-mano {
        max-width: 220px;
    }

    .ilustracion-familia {
        max-width: 240px;
    }

    .hero-content-new {
        order: -1; /* ðŸ”¥ el texto arriba (clave) */
    }
}

@media (max-width: 768px) {

    .img-frase-hero {
        width: 100% !important;
        max-width: 320px !important;
        transform: none !important;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-new {
        width: 90%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-new {
        min-height: auto;
        padding: 40px 15px;
    }
}

.hero-description {
    text-align: center;
}

@media (max-width: 768px) {

    .marquee {
        padding: 15px 0; /* menos alto */
    }

    .marquee-content {
        gap: 25px; /* menos espacio entre imÃ¡genes */
    }

    .marquee img {
        height: 45px; /* ðŸ”¥ clave */
    }

}

@media (max-width: 768px) {
    .marquee-content { 
        animation: scroll 15s linear infinite;
    }
}

@media (max-width: 768px) {

    .footer-wrap {
        flex-direction: column;
        align-items: center; /* ðŸ”¥ centra TODO el bloque */
        text-align: center;
    }

    .footer-identity {
        display: flex;
        flex-direction: column;
        align-items: center; /* ðŸ”¥ centra logo + redes */
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    .footer-social-links {
        display: flex;
        justify-content: center; /* ðŸ”¥ centra los Ã­conos */
        gap: 12px;
        width: 100%;
    }


    .footer-logo-img {
        display: block;
        margin: 0 auto; /* ðŸ”¥ centra el logo sÃ­ o sÃ­ */
    }

}

.nav {
    position: relative;
    z-index: 100000 !important;
}

.hamburger {
    position: relative;
    z-index: 100001 !important;
}


#bg-wrap {
    pointer-events: none !important;
    z-index: -1 !important;
}









.nav .menu-card:hover {
    transform: translateY(-5px);
}
.nav .dropdown-content .card-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* ðŸ”¥ clave */
    padding: 8px !important;        /* ðŸ”¥ iguala visualmente */
    display: block !important;
}

/* 3. Aseguramos que las tarjetas se pongan una al lado de la otra */
.nav .megamenu-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 45px !important;
    padding: 20px !important;
}

/* 4. La tarjeta completa */
.nav .menu-card {
    width: 100px !important; /* Limita el ancho de todo el bloque */
    text-align: center !important;
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* 5. El texto debajo de la foto */
.nav .menu-card span {
    font-size: 13px !important;
    line-height: 1.2 !important;
    color: #333 !important;
    font-weight: 600 !important;
}



.nav .menu-card {
    transition: 0.3s;
}


.nav .dropdown-content .card-img-wrapper {
    width: 110px !important;
    height: 90px !important;
}

.nav .dropdown-content .card-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 10px !important;
}

.nav .dropdown-content .card-img-wrapper img {
    width: 90% !important;
    height: 90% !important;
    object-fit: contain !important;
    transform: scale(1.1); /* ðŸ”¥ compensa imÃ¡genes chicas */
}


/* ===== FIX DEFINITIVO MEGAMENU ===== */

.nav .dropdown-content .card-img-wrapper {
    width: 150px;
    height: 120px;

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

    background: #f4f7fb;
    border-radius: 12px;
    overflow: hidden;
}

.nav .dropdown-content .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;

    transform: scale(1.3);
}

.nav .menu-card {
    width: 150px;
    text-align: center;
}

.nav .megamenu-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}




/* ðŸ”¥ FORZADO FINAL */
.dropdown {
    position: static !important;
}

.dropdown-content {
    position: fixed !important;
    top: 90px !important;
    left: 0 !important;

    width: 100vw !important;
    max-width: none !important;

    background: #fff !important;
    padding: 40px 0 !important;

    border-radius: 0 !important;
    box-shadow: none !important;

    z-index: 999999 !important;

    /* ðŸ”¥ CAMBIO IMPORTANTE */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.25s ease;
}
.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}



.nav .megamenu-grid {
    max-width: 1100px !important;
    margin: 0 auto !important;
}

html, body {
    overflow-x: visible !important;
}

.dropdown-content::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -60px;
    width: 100%;
    height: 60px;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.95) 50%,
        rgba(255,255,255,0.85) 75%,
        rgba(255,255,255,0) 100%
    );

    pointer-events: none;
}



/* ==========================================
   FIX FINAL MEGAMENU + BLUR GAUSSIANO
========================================== */

/* ðŸ”¹ Dropdown SIEMPRE presente (no usar display:none) */
.dropdown-content {
    display: block !important;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.dropdown-content {
    top: 70px !important; /* ðŸ”¥ mismo valor que el nav */
}

/* ðŸ”¹ ActivaciÃ³n estable */
.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ðŸ”¹ PUENTE invisible para evitar corte de hover */
.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 25px;
}

/* ðŸ”¹ Overlay blur (NO interfiere con mouse) */
body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    pointer-events: none; /* ðŸ”¥ CLAVE */
    z-index: 1000;
}

/* ðŸ”¹ Asegurar capas correctas */
.nav {
    position: relative;
    z-index: 2000;
}

.dropdown-content {
    z-index: 3000 !important;
}

body.force-close .dropdown-content {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}


/* CONTENEDOR */
.loader {
    position: fixed;
    inset: 0;
    background: #0a4d8c;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    overflow: hidden;
}

/* MANO */
.loader-hand {
    width: 180px;
    opacity: 0.15; /* ðŸ”¥ casi transparente */
    animation: float 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

/* SHIMMER (efecto brillo) */
.loader-hand::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255,255,255,0.4),
        transparent 70%
    );
    animation: shimmer 2s infinite;
}

/* PARTICULAS */
.particles::before,
.particles::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: pulse 3s infinite;
}

.particles::after {
    animation-delay: 1.5s;
}

/* ANIMACIONES */

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulse {
    0% {
        transform: scale(0.6);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}







/* ðŸ”¥ AGRANDAR IMÃGENES DEL MEGAMENU */

.nav .dropdown-content .card-img-wrapper {
    width: 180px !important;
    height: 140px !important;
}

.nav .dropdown-content .card-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transform: scale(1.4) !important; /* ðŸ”¥ hace que se vean mÃ¡s grandes */
}

/* ðŸ”¥ AGRANDAR LA TARJETA COMPLETA */
.nav .menu-card {
    width: 180px !important;
}

/* ðŸ”¥ TEXTO UN POCO MÃS GRANDE (opcional pero queda mejor) */
.nav .menu-card span {
    font-size: 15px !important;
}






.card {
    padding: 70px 20px !important;
    overflow: visible !important; /* ðŸ”¥ permite que la imagen se salga */
}

.card img {
    width: 380px !important;     /* ðŸ’£ ENORME */
    height: 260px !important;

    object-fit: cover !important;

    display: block !important;
    margin: -80px auto 30px !important; /* ðŸ”¥ efecto flotante */

    border-radius: 30px !important;

    box-shadow: 0 30px 80px rgba(0,0,0,0.35) !important;

    max-width: none !important;
    position: relative;
    z-index: 2;
}



.cards{
    display: grid !important;

    grid-template-columns: repeat(5, minmax(220px, 260px)) !important;

    justify-content: center !important;

    gap: 35px !important;
}


.card img{
    width: 90% !important;
    height: 180px !important;

    object-fit: cover !important;

    margin: -40px auto 20px !important;

    border-radius: 20px !important;
}


.dropbtn,
.menu-card span {
    transition: all 0.25s ease !important;
}

.menu-card:hover span,
.dropdown:hover .dropbtn {
    transform: translateY(-2px) !important;
    letter-spacing: 0.5px !important;
    opacity: 0.9 !important;
}

.card-img-wrapper img {
    transition: all 0.25s ease !important;
}

.menu-card:hover .card-img-wrapper img {
    transform: scale(1.05) !important;
    filter: brightness(1.05) drop-shadow(0 8px 18px rgba(0,0,0,0.25)) !important;
}

.menu-card span {
    margin-top: 8px !important;
    display: block !important;
}

.card {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}









/* ==========================================
   VIDEO PILARES - FIX LIMPIO
========================================== */

.valores-section{
    position: relative;
    overflow: hidden;
}

/* VIDEO DE FONDO */
.valores-video-bg{
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 1;

    filter: sepia(0.4)
            saturate(0.9)
            brightness(0.9)
            contrast(1.2)
            hue-rotate(5deg);

    z-index: 0;

    pointer-events: none;
}
/* CONTENIDO ENCIMA */
.valores-container{
    position: relative;
    z-index: 2;
}






.valor-card{
    position: relative;

    background: rgba(255,255,255,0.22);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255,255,255,0.35);

    border-radius: 28px;

    padding: 50px 35px;

    overflow: hidden;

    transition: all .45s cubic-bezier(.2,.8,.2,1);

    box-shadow:
        0 10px 40px rgba(0,0,0,.08),
        inset 0 1px 0 rgba(255,255,255,.35);
}


.valor-card::before{
    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        135deg,
        rgba(255,255,255,.35),
        transparent 40%
    );

    opacity:.7;

    pointer-events:none;
}


.valor-card:hover{

    transform:
        translateY(-12px)
        scale(1.02);

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

}


.valor-icon{

    width:90px;
    height:90px;

    font-size:34px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.18);

    margin-bottom:28px;
}


.valores-section{

    background:
    linear-gradient(
        135deg,
        #f7d7ca 0%,
        #f2dfd4 50%,
        #eedfd8 100%
    );

    position:relative;
}



.valores-section::before,
.valores-section::after{

    content:"";

    position:absolute;

    width:500px;
    height:500px;

    border-radius:50%;

    filter:blur(90px);

    opacity:.25;

    z-index:0;
}

.valores-section::before{
    background:#ff8a00;
    top:-150px;
    left:-120px;
}

.valores-section::after{
    background:#ff00c8;
    bottom:-200px;
    right:-150px;
}


.valores-container{
    position:relative;
    z-index:2;
}







.stack-section{
    position: relative;
    overflow: visible;

    background: #1B74FF;

    padding: 120px 0;

    min-height: 100vh;
}

/* TITULO */

.stack-title{
    text-align: center;
    color: white;
    margin-bottom: 80px;

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

    animation: fadeUp 1s ease forwards;
}

.stack-title h2{
    font-size: 55px;
    margin-bottom: 15px;
}

.stack-title p{
    font-size: 20px;
    opacity: .9;
}

/* CONTENEDOR */

.stack-cards{
    position: relative;

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

    height: 520px;

    width: 100%;
    max-width: 1700px;

    margin: auto;

    perspective: 1800px;
    
}

/* TARJETAS */

.stack-card{
    position: absolute;

    width: 320px;
    height: 430px;

    border-radius: 30px;
    overflow: hidden;

    cursor: pointer;

    opacity: 0;

   

    transition:
        transform .35s ease,
        box-shadow .35s ease;

    animation: stackFade .8s ease forwards;

    box-shadow:
        0 15px 40px rgba(0,0,0,.22);

    will-change: transform;

    backface-visibility: hidden;
}


/* POSICION SUPERPUESTA */

.stack-card:nth-child(1){
    transform: translateX(0px);
    z-index: 1;
}

.stack-card:nth-child(2){
    transform: translateX(12px);
    z-index: 2;
}

.stack-card:nth-child(3){
    transform: translateX(24px);
    z-index: 3;
}

.stack-card:nth-child(4){
    transform: translateX(36px);
    z-index: 4;
}

.stack-card:nth-child(5){
    transform: translateX(48px);
    z-index: 5;
}

/* IMAGEN */

.stack-card img{
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    transform: translateZ(0);

    border-radius: 30px;
}

/* OVERLAY */

.card-info{
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;

    padding: 25px;

    background:
    linear-gradient(
        transparent,
        rgba(0,0,0,.8)
    );

    color: white;

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

    text-align: center;
}

/* HOVER SOLO CUANDO LA SECCION ESTA ACTIVA */

.stack-card{
    pointer-events: none;
}

.stack-section.stack-active .stack-card{
    pointer-events: auto;
}

.stack-section.stack-active .stack-card:hover{
    transform:
        translateY(-15px)
        scale(1.03);

    z-index: 999;

    box-shadow:
        0 20px 50px rgba(0,0,0,.28);
}

/* ANIMACIONES */

@keyframes stackFade{
    from{
        opacity: 0;
    }

    to{
        opacity: 1;
    }
}

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





/* ===== EFECTO FINAL PRO ===== */

.card{
    overflow: hidden;
    transform-style: preserve-3d;
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        background .35s ease;
}

.card::before{
    content:"";

    position:absolute;
    inset:-2px;

    background:
    linear-gradient(
        135deg,
        rgba(255,255,255,.35),
        transparent 30%,
        transparent 70%,
        rgba(255,255,255,.15)
    );

    opacity:0;

    transition: opacity .35s ease;

    pointer-events:none;
}

.card:hover{
    transform:
        translateY(-10px)
        scale(1.02);

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

.card:hover::before{
    opacity:1;
}

.card img{
    transition:
        transform .45s cubic-bezier(.2,.8,.2,1),
        filter .45s ease;
}

.card:hover img{
    transform: scale(1.08);

    filter:
        brightness(1.08)
        contrast(1.05)
        saturate(1.08);
}

.card h3,
.card p{
    transition:
        transform .35s ease,
        opacity .35s ease;
}

.card:hover h3{
    transform: translateY(-3px);
}

.card:hover p{
    transform: translateY(-2px);
    opacity:.92;
}




/* 🔥 STACK CARD SALE HACIA ADELANTE */

.stack-cards{
    perspective: 2200px;
    transform-style: preserve-3d;
}

.stack-card{

    transform-style: preserve-3d;

    transition:
        transform .45s cubic-bezier(.2,.8,.2,1),
        box-shadow .45s ease,
        filter .45s ease;

    will-change: transform;
}

/* 🔥 EFECTO PRINCIPAL */
.stack-section.stack-active .stack-card:hover{

    transform:
        translateY(-18px)
        translateZ(90px)
        scale(1.04);

    z-index: 9999;

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

/* IMAGEN MÁS PROFUNDA */
.stack-card img{

    transition:
        transform .5s ease,
        filter .45s ease;

    transform-style: preserve-3d;
}

.stack-section.stack-active .stack-card:hover img{

    transform:
        scale(1.08)
        translateZ(120px);

    filter:
        brightness(1.08)
        contrast(1.05)
        saturate(1.08);
}

/* INFO FLOTA */
.card-info{
    transform-style: preserve-3d;
    transition: transform .45s ease;
}

.stack-section.stack-active .stack-card:hover .card-info{
    transform: translateZ(90px);
}



/* ==========================================
   POPUP PRO SOLO CSS
========================================== */

.stack-card{
    position: relative !important;
    overflow: visible !important;
    isolation: isolate;
}

/* POPUP */
.stack-card::after{

    content: attr(data-text);

    position: absolute;

    left: 50%;
    top: calc(100% + 18px);

    transform:
        translateX(-50%)
        translateY(-12px)
        scale(.92);

    width: 280px;

    padding: 18px 20px;

    border-radius: 22px;

    background: rgba(255,255,255,.96);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: #1a1a1a;

    font-size: 14px;
    line-height: 1.5;
    text-align: center;

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

    opacity: 0;

    pointer-events: none;

    transition:
        opacity .35s ease,
        transform .45s cubic-bezier(.2,.8,.2,1);

    z-index: 999999;
}

/* APARECE */
.stack-card:hover::after{

    opacity: 1;

    transform:
        translateX(-50%)
        translateY(0)
        scale(1);
}



.quienes-text-area{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
}

.quienes-text-wrapper{
    width:100%;
    max-width:680px;

    height:140px;          /* 🔒 FIJO REAL */
    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;
}

#quienesText{
    font-size:20px;
    line-height:1.8;
    color:#4b5563;
    text-align:center;

    margin:0;

    transition: opacity .55s ease, transform .55s ease;
}

#quienesText.fade-out{
    opacity:0;
    transform:translateY(15px);
}





/* =========================
   QUIÉNES SOMOS (BLOQUE)
========================= */

.quienes-section {
    padding: 90px 20px;
    background: linear-gradient(135deg, #ffffff, #f7f9ff);
    display: flex;
    justify-content: center;
}

.quienes-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

/* TAG superior */
.quienes-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: #ffe6ec;
    color: #ff4d6d;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .3px;
    margin-bottom: 12px;
}

/* TITULO */
.quienes-container h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #1c1c1c;
}

/* CONTENEDOR DEL SLIDER */
.quienes-text-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: #fff;
    padding: 25px 20px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    position: relative;
}

/* TEXTO */
#quienesText {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    max-width: 600px;
    transition: opacity .3s ease;
}

/* BOTONES FLECHA */
.quienes-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #ff4d6d, #ff7a00);
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    flex-shrink: 0;
}

.quienes-arrow:hover {
    transform: scale(1.1);
}

/* EFECTO SUAVE AL CAMBIAR TEXTO */
.quienes-text-slider p {
    animation: fadeText .3s ease;
}

@keyframes fadeText {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}



.quienes-text-slider {
    min-height: 140px; /* clave: fija el alto del bloque */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

#quienesText {
    min-height: 80px;   /* evita que el texto empuje el layout */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.6;
}



.hero .hero-container{
    justify-content: center !important;
}

.hero .hero-img img{
    width: 250px !important;
}




/* ASOCIATE HOY */
#asociate {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

#asociate .cards {
    margin: 30px auto 0 auto !important;
    display: flex !important;
    justify-content: center !important;
}

#asociate .card {
    width: 100% !important;
    max-width: 420px !important;
}






.contact-section{
    padding:100px 8%;
}

.contact-container{
    max-width:1200px;
    margin:auto;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:60px;

    flex-wrap:wrap;
}

.contact-info{
    flex:1;
    min-width:300px;
}

.contact-tag{
    background:#0a4d8c;
    color:white;

    padding:8px 18px;
    border-radius:50px;

    font-size:.9rem;
    display:inline-block;
    margin-bottom:20px;
}

.contact-info h2{
    font-size:3rem;
    margin-bottom:20px;
    color:#111;
}

.contact-info p{
    font-size:1.1rem;
    color:#444;
    line-height:1.7;
    margin-bottom:30px;
}

.contact-data{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.contact-item{
    display:flex;
    align-items:center;
    gap:14px;

    font-size:1rem;
    color:#222;
}

.contact-item i{
    width:45px;
    height:45px;

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

    background:white;
    border-radius:12px;

    color:#0a4d8c;

    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.contact-card{
    flex:1;
    min-width:320px;

    background:rgba(255,255,255,.7);
    backdrop-filter:blur(10px);

    padding:40px;
    border-radius:30px;

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

    display:flex;
    flex-direction:column;
    gap:18px;
}

.contact-card input,
.contact-card textarea{
    width:100%;

    padding:16px 18px;

    border:none;
    outline:none;

    border-radius:14px;

    background:white;

    font-size:1rem;

    box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.contact-card textarea{
    min-height:140px;
    resize:none;
}

.contact-btn{
    background:#0a4d8c;
    color:white;

    text-decoration:none;

    text-align:center;

    padding:16px;

    border-radius:14px;

    font-weight:600;

    transition:.3s;
}

.contact-btn:hover{
    transform:translateY(-3px);
    opacity:.9;
}

@media(max-width:768px){

    .contact-info h2{
        font-size:2.2rem;
    }

    .contact-container{
        gap:40px;
    }

}





.contact-btn{

    width:100%;
    border:none;
    cursor:pointer;

    background:#25D366;
    color:#fff;

    font-size:1.05rem;
    font-weight:700;

    padding:16px;

    border-radius:12px;

    transition:.25s;
}

.contact-btn:hover{

    background:#1ebe5d;

    transform:translateY(-2px);

    box-shadow:0 12px 28px rgba(37,211,102,.28);

}





/* ==========================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
========================================== */
:root {
  --form-bg: #ffffff;
  --form-border: #edf2f7;
  --form-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  --form-shadow-hover: 0 25px 60px rgba(0, 0, 0, 0.12);

  --text-main: #143d7a;
  --text-muted: #6b7280;
  --placeholder: #9aa3af;

  --input-bg: #fafbfd;
  --input-border: #e8edf3;
  --primary-accent: #1b74ff;
  --primary-focus-glow: rgba(27, 116, 255, 0.15);

  --btn-grad-start: #25d366;
  --btn-grad-end: #12ab4e;
  --btn-shadow: 0 12px 30px rgba(37, 211, 102, 0.28);
  --btn-shadow-hover: 0 18px 40px rgba(37, 211, 102, 0.4);

  --radius-card: 24px;
  --radius-input: 14px;
  --radius-btn: 16px;

  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   FORMULARIO DE CONTACTO (CARD)
========================================== */
.contact-form {
  background: var(--form-bg);
  border-radius: var(--radius-card);
  padding: 42px;
  box-shadow: var(--form-shadow);
  border: 1px solid var(--form-border);
  transition: transform 0.4s var(--transition-smooth), 
              box-shadow 0.4s var(--transition-smooth);
  will-change: transform, box-shadow;
}

.contact-form:hover {
  transform: translateY(-4px);
  box-shadow: var(--form-shadow-hover);
}

.contact-form h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.contact-form .subtitle {
  text-align: center;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  font-size: 1rem;
}

/* ==========================================
   INPUTS & TEXTAREA
========================================== */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--input-border);
  border-radius: var(--radius-input);
  background: var(--input-bg);
  color: #1f2937;
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 20px;
  transition: all 0.25s var(--transition-smooth);
  box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 4px var(--primary-focus-glow);
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* ==========================================
   BOTÓN CTA PRO (CON GLOW Y EFECTOS)
========================================== */
.contact-btn {
  position: relative;
  width: 100%;
  border: none;
  border-radius: var(--radius-btn);
  padding: 18px 24px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--btn-grad-start), var(--btn-grad-end));
  background-size: 200% 200%;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: transform 0.3s var(--transition-smooth), 
              box-shadow 0.3s var(--transition-smooth),
              background-position 0.5s ease;
  box-shadow: var(--btn-shadow);
}

/* Efecto de destello al pasar el cursor (Shimmer effect) */
.contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: left 0.6s var(--transition-smooth);
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--btn-shadow-hover);
  background-position: right center;
}

.contact-btn:hover::before {
  left: 100%;
}

.contact-btn:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: var(--btn-shadow);
}

/* Estado Deshabilitado (para envíos mediante JS) */
.contact-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ==========================================
   TEXTO INFERIOR Y ACCESIBILIDAD
========================================== */
.contact-info {
  margin-top: 20px;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Mejor respuesta táctil en celulares */
@media (max-width: 640px) {
  .contact-form {
    padding: 28px 20px;
    border-radius: 18px;
  }
}