





/* ==========================================
   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); }

/* ==========================================
   HERO SECTION (VERSIÓN PREMIUM)
========================================== */

.hero{
    padding: 80px 20px;
    position: relative;
    overflow: hidden;

    color: #fff;
    background: radial-gradient(circle at 75% 50%, #1b6fd8 0%, #0a4d8c 45%, #061a2b 100%);
}

/* fondo decorativo suave */
.hero::before{
    content: "";
    position: absolute;
    inset: -200px;

    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(61,220,151,0.10), transparent 45%);

    filter: blur(60px);
    opacity: 0.8;
    z-index: 0;
}

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

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

    position: relative;
    z-index: 1;
}

/* TEXTO */
.hero-text{
    flex: 1;
}

.hero-text h1{
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;

    margin-bottom: 22px;

    background: linear-gradient(90deg, #ffffff, #b7ddff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p{
    font-size: 1.25rem;
    line-height: 1.7;

    max-width: 520px;

    opacity: 0.85;
    margin-bottom: 35px;
}

/* BOTONES */
.hero-buttons{
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn{
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;

    display: inline-block;
}

.btn.primary{
    background: #ffffff;
    color: #0a4d8c;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.btn.primary:hover{
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

.btn.secondary{
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff;
    background: transparent;
}

.btn.secondary:hover{
    background: rgba(255,255,255,0.12);
    transform: translateY(-3px);
}

/* ILUSTRACIÓN */
.hero-illu{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illu img{
    width: 100%;
    max-width: 460px;

    filter: drop-shadow(0 25px 60px rgba(0,0,0,0.45));

    animation: heroFloat 5s ease-in-out infinite;
}

/* flotación más suave y natural */
@keyframes heroFloat{
    0%, 100%{
        transform: translateY(0px);
    }
    50%{
        transform: translateY(-12px);
    }
}

/* RESPONSIVE */
@media (max-width: 900px){
    .hero-container{
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text p{
        margin: 0 auto 30px;
    }

    .hero-text h1{
        font-size: 2.6rem;
    }

    .hero-illu img{
        max-width: 320px;
    }
}


/* ==========================================
   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(220px, 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-image: url("img/hero-ilustrado.webp");
background-size: cover;
background-position: center;
background-repeat: no-repeat; 
position: relative;
overflow: hidden;
    
    /* 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-new::before{
    content:"";
    position:absolute;
    inset:0;

    background: rgba(20,85,187,.55);

    z-index:0;
}


.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;
    position: relative;
    z-index: 2;
    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-abuelos {
    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: -125px;
    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: 70%;
    /* 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;
}




/* ==========================================
   AFILIACION MUDAP
========================================== */

#asociate{

    position:relative;

    max-width:900px;

    margin:0 auto;

    padding:140px 20px;

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

    text-align:center;

    overflow:hidden;
}

/* GLOW PRINCIPAL */

#asociate::before{

    content:"";

    position:absolute;

    width:900px;
    height:900px;

    left:50%;
    top:-450px;

    transform:translateX(-50%);

    background:
    radial-gradient(
        circle,
        rgba(255,120,0,.28) 0%,
        rgba(255,120,0,.12) 35%,
        transparent 75%
    );

    filter:blur(100px);

    pointer-events:none;
}

/* SEGUNDO GLOW */

#asociate::after{

    content:"";

    position:absolute;

    width:500px;
    height:500px;

    bottom:-250px;
    right:-150px;

    background:
    radial-gradient(
        circle,
        rgba(255,140,0,.12),
        transparent 70%
    );

    filter:blur(80px);

    pointer-events:none;
}

/* TITULO */

#asociate h2{

    position:relative;

    z-index:2;

    font-size:clamp(3rem,8vw,5rem);

    line-height:.95;

    letter-spacing:-2px;

    margin-bottom:20px;

    text-shadow:
        0 0 40px rgba(255,140,0,.15);
}

/* SUBTITULO */

#asociate p{

    position:relative;

    z-index:2;

    max-width:700px;

    margin:0 auto 50px;

    line-height:1.8;

    font-size:1.08rem;

    opacity:.85;
}

/* FORM */

#asociate .card{

    position:relative;

    z-index:2;

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

    display:flex;
    flex-direction:column;

    gap:18px;
}

/* INPUTS */

#asociate input{

    width:100%;

    height:74px;

    padding:0 28px;

    border-radius:22px;

    border:1px solid rgba(255,140,0,.12);

    background:
    linear-gradient(
        180deg,
        rgba(28,28,28,.95),
        rgba(14,14,14,.95)
    );

    color:#fff;

    font-size:1.05rem;

    transition:
        .35s ease;
}

#asociate input::placeholder{

    color:rgba(255,255,255,.45);
}

#asociate input:focus{

    outline:none;

    border-color:#ff8c00;

    transform:translateY(-2px);

    box-shadow:
        0 0 0 1px rgba(255,140,0,.35),
        0 0 35px rgba(255,140,0,.15);
}

/* BOTON */

#btnWhatsapp{

    height:78px;

    border:none;

    border-radius:22px;

    cursor:pointer;

    color:#fff;

    font-size:1rem;

    font-weight:800;

    text-transform:uppercase;

    letter-spacing:2px;

    background:
    linear-gradient(
        135deg,
        #ff5e00,
        #ff8500,
        #ffb300
    );

    background-size:250% 250%;

    box-shadow:
        0 15px 40px rgba(255,120,0,.25),
        0 0 80px rgba(255,120,0,.15);

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

#btnWhatsapp:hover{

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

    box-shadow:
        0 25px 60px rgba(255,120,0,.40),
        0 0 120px rgba(255,120,0,.25);
}

#btnWhatsapp:active{

    transform:
        translateY(-1px)
        scale(.99);
}

/* RESPONSIVE */

@media (max-width:768px){

    #asociate{

        padding:100px 20px;
    }

    #asociate h2{

        font-size:3rem;
    }

    #asociate input{

        height:66px;
    }

    #btnWhatsapp{

        height:70px;
    }
}





.hero-new{
    position:relative;
    overflow:hidden;
    background:#0a4d8c;
}

.hero-pattern{
    position:absolute;

    top:-20%;
    left:-20%;
    width:140%;
    height:140%;

    background-image:
        radial-gradient(circle at 20% 30%, rgba(10,77,140,.95), transparent 35%),
        radial-gradient(circle at 75% 40%, rgba(10,77,140,.85), transparent 30%),
        radial-gradient(circle at 50% 80%, rgba(10,77,140,.90), transparent 40%),
        url("../img/_foco.png");

    background-repeat:repeat;
    background-size:
        auto,
        auto,
        auto,
        60px;

    opacity:.10;

    transform:rotate(-18deg) scale(1.4);

    z-index:0;
}



.hero-content-new {
    flex: 4 !important;
}





.cobertura-flow{
  padding: 100px 20px;
  position: relative;
  color: #eaf2ff;
  background: radial-gradient(circle at top, #13243a 0%, #0b1522 55%, #070f18 100%);
  overflow: hidden;
}

/* ✨ fondo abstracto suave (no molesta, pero da vida) */
.cobertura-flow::before{
  content: "";
  position: absolute;
  inset: -200px;

  background:
    radial-gradient(circle at 20% 30%, rgba(61,220,151,0.12), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(0,180,216,0.10), transparent 45%),
    radial-gradient(circle at 60% 80%, rgba(255,77,109,0.08), transparent 50%);

  filter: blur(40px);
  opacity: 0.9;
  z-index: 0;
}

/* contenido */
.cobertura-flow > *{
  position: relative;
  z-index: 1;
}

/* INTRO */
.cobertura-intro{
  text-align: center;
  max-width: 750px;
  margin: auto;
  margin-bottom: 70px;
}

.cobertura-intro h2{
  font-size: 2.6rem;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ffffff, #a8d8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cobertura-intro p{
  opacity: 0.75;
  font-size: 1.05rem;
}

/* HERO BLOCK */
.cobertura-hero-block{
  max-width: 1050px;
  margin: auto;
  padding: 45px;
  border-radius: 24px;

  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.cobertura-hero-block h3{
  font-size: 1.6rem;
  margin-bottom: 10px;
}

/* GRID */
.cobertura-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1050px;
  margin: 35px auto;
}

/* CARDS */
.cobertura-mini{
  padding: 28px;
  border-radius: 20px;

  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);

  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* glow lateral suave */
.cobertura-mini::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(61,220,151,0.12), transparent 60%);
  opacity: 0;
  transition: 0.4s;
}

.cobertura-mini:hover{
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(61,220,151,0.25);
}

.cobertura-mini:hover::before{
  opacity: 1;
}

/* TITULO CARD */
.cobertura-mini h3{
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: #ffffff;
}

/* TEXTO */
.cobertura-mini p{
  opacity: 0.78;
  margin-bottom: 8px;
}

/* LISTA */
.cobertura-mini ul{
  list-style: none;
  margin-top: 10px;
}

.cobertura-mini ul li{
  padding: 6px 0;
  padding-left: 22px;
  position: relative;
  opacity: 0.88;
  transition: 0.2s;
}

.cobertura-mini ul li::before{
  content: "✔";
  position: absolute;
  left: 0;
  color: #3ddc97;
}

.cobertura-mini ul li:hover{
  transform: translateX(4px);
  opacity: 1;
}

/* DESTACADO */
.highlight{
  background: linear-gradient(135deg, rgba(255,77,109,0.12), rgba(255,255,255,0.03));
  border-color: rgba(255,77,109,0.25);
}

/* FOOTER BLOCK */
.cobertura-footer-block{
  max-width: 1050px;
  margin: 45px auto 0;
}

/* banda final más elegante */
.wide{
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.02)
  );

  border-left: none;
  border-bottom: 4px solid #ffd166;

  padding: 30px;

  text-align: center;

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

.cobertura-mini.wide ul{
  list-style: none;
  padding-left: 0;
}

.cobertura-mini.wide li{
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 800px){

  .cobertura-row{
    grid-template-columns: 1fr;
  }

  .cobertura-intro h2{
    font-size: 2.1rem;
  }

}











/* =========================
   PILARES
========================= */

.valores-section{
    position: relative;
    overflow: hidden;
    background:
    linear-gradient(
        135deg,
        #f7d7ca 0%,
        #f2dfd4 50%,
        #eedfd8 100%
    );

    text-align:center;

    min-height:400px;
    padding-bottom:40px;
}

.valores-video-bg{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    z-index:0;
}

.valores-overlay{
    position:absolute;
    inset:0;


    z-index:1;
}

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

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

    max-width:1200px;

    margin:auto;
}

.valor-card{
    position:relative;

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

    backdrop-filter:blur(14px);

    border-radius:28px;

    padding:50px 35px;
}

.valor-icon{
    width:90px;
    height:90px;

    margin:0 auto 28px;

    border-radius:50%;

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

    color:white;
    font-size:34px;
}

/* =========================
   FIESTA 40
========================= */

.fiesta40-section{
    padding:80px 20px 40px;
    text-align:center;
    overflow:hidden;
}

.fiesta40-marquee{
    overflow:hidden;
    width:100%;
    position:relative;
}

.track{
    display:flex;
    gap:14px;

    width:max-content;

    animation:scroll 90s linear infinite;

    align-items:center;
}

.track img{
    height:230px;
    width:auto;

    border-radius:14px;

    object-fit:cover;

    flex-shrink:0;

    transition:.35s ease;

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

.track img:hover{
    transform:scale(1.08);
}

@keyframes scroll{
    0%{
        transform:translateX(0);
    }

    100%{
        transform:translateX(-50%);
    }
}

/* =========================
   EXPAND IMAGE
========================= */

.fiesta40-expanded{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.92);

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

    opacity:0;
    visibility:hidden;

    transition:.35s ease;

    z-index:99999;
}

.fiesta40-expanded.active{
    opacity:1;
    visibility:visible;
}

#fiestaExpandedImg{
    width:min(1200px,88vw);

    max-height:88vh;

    object-fit:contain;

    border-radius:24px;
}

.fiesta-nav{
    position:absolute;

    top:50%;

    transform:translateY(-50%);

    font-size:70px;

    color:white;

    cursor:pointer;
}

.fiesta-prev{
    left:40px;
}

.fiesta-next{
    right:40px;
}

.fiesta-close{
    position:absolute;

    top:22px;
    right:42px;

    font-size:65px;

    color:white;

    cursor:pointer;
}

/* =========================
   APP BANNER
========================= */

.app-banner{
    width:min(1280px,94%);

    margin:60px auto;

    display:grid;

    grid-template-columns:320px 1fr 260px;

    gap:60px;

    padding:60px;

    border-radius:42px;

    position:relative;

    overflow:hidden;
}

.app-phone{
    display:flex;
    justify-content:center;
}

.app-phone video{
    width:100%;
    max-width:300px;

    border-radius:42px;
}

.app-content h2{
    font-size:clamp(42px,5vw,72px);

    line-height:1.02;

    margin-bottom:26px;
}

.app-buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.app-qr img{
    width:220px;

    border-radius:28px;
}

/* =========================
   FOOTER
========================= */

.main-footer{
    background:#fff;

    width:100%;

    padding:80px 0 30px;

    margin-top:50px;
}

.footer-wrap{
    max-width:1200px;

    margin:0 auto;

    padding:0 5%;

    display:flex;

    justify-content:space-between;
}

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

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

.footer-bottom{
    text-align:center;

    margin-top:40px;
}

/* =========================
   WHATSAPP
========================= */

.wsp-float{
    position:fixed;

    bottom:40px;
    right:10px;

    width:65px;
    height:65px;

    border-radius:50%;

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

    z-index:999999;
}




.footer-signature{

    margin-top:18px;

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

    gap:10px;

    text-decoration:none;

    opacity:0.75;

    transition:0.35s ease;
}

.footer-signature:hover{

    opacity:1;
    transform:translateY(-2px);
}

.footer-signature img{

    width:140px;
    max-width:80vw;

    height:auto;

    object-fit:contain;

    border-radius:8px;

    filter:
    drop-shadow(0 0 12px rgba(255,255,255,0.18))
    drop-shadow(0 0 30px rgba(255,255,255,0.08));
}

.footer-signature span{

    font-size:12px;

    color:#4b5563;

    letter-spacing:1px;

    text-transform:uppercase;

    font-weight:600;
}







#asociate {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(180deg, #f5f8ff, #eef5ff);
}

.card {
    max-width: 420px;
    margin: auto;
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card input {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 16px;
}

#btnWhatsapp {
    width: 100%;
    padding: 15px;
    margin-top: 15px;
    border: none;
    border-radius: 10px;
    background: #25D366;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}







.cobertura-hero-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
}

.cobertura-hero-text {
  flex: 1;
}

.cobertura-hero-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.cobertura-hero-img img {
  max-width: 100%;
  width: 380px;
  border-radius: 20px;
  object-fit: cover;
}






.cobertura-mini {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.cobertura-mini-text {
  flex: 1;
  min-width: 0;
}

.cobertura-mini-text ul {
  padding-left: 18px;
  margin-top: 10px;
}

.cobertura-mini-text li {
  line-height: 1.5;
}

.cobertura-mini-img {
  flex: 0 0 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cobertura-mini-img img {
  width: 100%;
  max-width: 120px;
  border-radius: 12px;
  object-fit: cover;
}






@media (max-width: 768px) {
  .cobertura-mini {
    flex-direction: column;
    text-align: center;
  }

  .cobertura-mini-img {
    margin-top: 10px;
  }

  .cobertura-mini-img img {
    max-width: 220px;
  }
}





.cobertura-mini.left {
  padding: 30px;
  border-radius: 20px;

  background: linear-gradient(135deg, #ffffff, #f7f9ff);

  border: 1px solid rgba(0,0,0,0.05);

  box-shadow: 0 12px 30px rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;
  gap: 12px;

  transition: 0.3s ease;
}
.cobertura-mini.left h3,
.cobertura-mini.left p {
  margin: 0;
}
.cobertura-mini.left ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.cobertura-mini.left li {
  line-height: 1.5;
}
.cobertura-mini.left .cobertura-mini-img {
  margin-top: 15px;
  display: flex;
  justify-content: center;
}
.cobertura-mini.left .cobertura-mini-img img {
  width: 100%;
  max-width: 220px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}


.cobertura-mini.left:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}




/* ================================
   ALTA COMPLEJIDAD - BOX
================================ */

.cobertura-mini.left {
  padding: 30px;
  border-radius: 20px;

  /* respeta diseño general, no lo aplasta */
  background: inherit;

  display: flex;
  flex-direction: column;
  gap: 12px;

  transition: all 0.3s ease;
}

/* Hover suave sin romper estilo general */
.cobertura-mini.left:hover {
  transform: translateY(-4px);
}

/* Título */
.cobertura-mini.left h3 {
  margin: 0;
}

/* Texto */
.cobertura-mini.left p {
  margin: 0;
  opacity: 0.85;
}

/* Lista ordenada */
.cobertura-mini.left ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.cobertura-mini.left li {
  line-height: 1.6;
}

/* Contenedor de imagen dentro del box */
.cobertura-mini.left .cobertura-mini-img {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Imagen */
.cobertura-mini.left .cobertura-mini-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 14px;
  object-fit: cover;

  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}





/* ================================
   REINTEGROS - BOX
================================ */

.cobertura-mini.right.highlight {
  padding: 30px;
  border-radius: 20px;

  background: inherit;

  display: flex;
  flex-direction: column;
  gap: 12px;

  transition: all 0.3s ease;
}

/* Hover igual que el otro box */
.cobertura-mini.right.highlight:hover {
  transform: translateY(-4px);
}

/* Título */
.cobertura-mini.right.highlight h3 {
  margin: 0;
}

/* Texto */
.cobertura-mini.right.highlight p {
  margin: 0;
  opacity: 0.85;
}

/* Lista */
.cobertura-mini.right.highlight ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.cobertura-mini.right.highlight li {
  line-height: 1.6;
}


.cobertura-mini.left,
.cobertura-mini.right.highlight {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}



/* ================================
   LINEA ANIMADA - ALTA COMPLEJIDAD
================================ */

.cobertura-mini.left {
  position: relative;
  overflow: hidden;
}

/* barra lateral animada */
.cobertura-mini.left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  border-radius: 20px 0 0 20px;

  background: linear-gradient(
    180deg,
    #ff3b3b,
    #ff7a00,
    #ff3b3b
  );

  background-size: 200% 200%;
  animation: lineaAlta 4s ease infinite;
}

/* animación del color */
@keyframes lineaAlta {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}




/* ================================
   REINTEGROS - BARRA ANIMADA (FADE + MOVIMIENTO)
================================ */

.cobertura-mini.right.highlight {
  position: relative;
  overflow: hidden;
}

/* barra derecha animada con aparición/desaparición */
.cobertura-mini.right.highlight::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 5px;
  height: 100%;
  border-radius: 0 20px 20px 0;

  background: linear-gradient(
    180deg,
    #00c6ff,
    #00ff9d,
    #00c6ff
  );

  background-size: 200% 200%;
  animation: reintegrosFlow 4s ease-in-out infinite;
}

/* animación tipo “vida” (sube, baja, aparece/desaparece) */
@keyframes reintegrosFlow {
  0% {
    background-position: 0% 50%;
    opacity: 0.4;
  }
  25% {
    opacity: 1;
  }
  50% {
    background-position: 100% 50%;
    opacity: 0.6;
  }
  75% {
    opacity: 1;
  }
  100% {
    background-position: 0% 50%;
    opacity: 0.4;
  }
}



/* ================================
   ALTA COMPLEJIDAD - BARRA ANIMADA (IZQUIERDA)
================================ */

.cobertura-mini.left {
  position: relative;
  overflow: hidden;
}

/* barra izquierda animada */
.cobertura-mini.left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  border-radius: 20px 0 0 20px;

  background: linear-gradient(
    180deg,
    #ff3b3b,
    #ff7a00,
    #ff3b3b
  );

  background-size: 200% 200%;
  animation: altaFlow 4s ease-in-out infinite;
}

/* animación tipo “respiración + movimiento” */
@keyframes altaFlow {
  0% {
    background-position: 0% 50%;
    opacity: 0.4;
  }
  25% {
    opacity: 1;
  }
  50% {
    background-position: 100% 50%;
    opacity: 0.6;
  }
  75% {
    opacity: 1;
  }
  100% {
    background-position: 0% 50%;
    opacity: 0.4;
  }
}



/* ================================
   LIMPIEZA REINTEGROS (SIN BORDE NI GLOW EXTRA)
================================ */

.cobertura-mini.right.highlight {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}



/* ================================
   REINTEGROS - FORZADO (IMPORTANT)
================================ */

.cobertura-mini.right.highlight {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;

  padding: 30px !important;
  border-radius: 20px !important;

  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Texto limpio */
.cobertura-mini.right.highlight h3,
.cobertura-mini.right.highlight p,
.cobertura-mini.right.highlight ul {
  margin: 0 !important;
  padding: 0 !important;
}

/* Lista ordenada */
.cobertura-mini.right.highlight ul {
  padding-left: 18px !important;
  margin-top: 8px !important;
}

.cobertura-mini.right.highlight li {
  line-height: 1.5 !important;
  margin-bottom: 6px !important;
}

/* Imagen */
.cobertura-mini.right.highlight .cobertura-mini-img {
  margin-top: 15px !important;
  display: flex !important;
  justify-content: center !important;
}

.cobertura-mini.right.highlight .cobertura-mini-img img {
  width: 100% !important;
  max-width: 400px !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
}




/* ================================
   ALTA COMPLEJIDAD - FIX REAL
================================ */

.cobertura-mini.left {
  display: block !important;
  position: relative !important;
}

/* fuerza orden visual del texto */
.cobertura-mini.left h3 {
  display: block !important;
  margin: 0 0 8px 0 !important;
}

.cobertura-mini.left p {
  display: block !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.5 !important;
}

.cobertura-mini.left ul {
  display: block !important;
  margin: 0 !important;
  padding-left: 18px !important;
}

.cobertura-mini.left li {
  display: list-item !important;
  margin-bottom: 6px !important;
  line-height: 1.5 !important;
}






.beneficios-img {
    position: relative;
    width: 100%;
    height: 260px;
    margin-bottom: 28px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.beneficios-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.18),
        rgba(0,0,0,0.02)
    );
}

.beneficios-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cobertura-mini.wide:hover .beneficios-img img {
    transform: scale(1.04);
}

@media (max-width: 768px) {

    .beneficios-img {
        height: 210px;
        border-radius: 20px;
        margin-bottom: 22px;
    }

}


.cobertura-mini.wide {
    border-left: none !important;
    border-bottom: 4px solid #ffd54a;
}





/* ================================
   TARJETA AZUL - BENEFICIOS APP
================================ */

.beneficios-blue{
    position: relative;
    overflow: hidden;

    background:
    linear-gradient(
        135deg,
        rgba(0,140,255,0.14),
        rgba(0,70,170,0.10)
    ) !important;

    border-bottom: 4px solid #4db8ff !important;

    border-radius: 26px;

    padding: 28px;

    transition: .35s ease;
}

/* glow suave */
.beneficios-blue::before{
    content:"";

    position:absolute;
    inset:0;

    background:
    radial-gradient(
        circle at top right,
        rgba(77,184,255,.18),
        transparent 55%
    );

    opacity:.9;

    pointer-events:none;
}

/* hover elegante */
.beneficios-blue:hover{
    transform: translateY(-6px);
    box-shadow:
        0 20px 45px rgba(0,120,255,.16);
}

/* titulo */
.beneficios-blue h3{
    color:#ffffff;
    font-size:1.35rem;
    margin:18px 0 14px;
}

/* lista */
.beneficios-blue ul{
    list-style:none;
    padding:0;
    margin:0;
}

/* items */
.beneficios-blue ul li{
    position:relative;

    padding-left:26px;
    margin-bottom:12px;

    color:rgba(255,255,255,.88);

    line-height:1.55;
}

/* check azul */
.beneficios-blue ul li::before{
    content:"✦";

    position:absolute;
    left:0;
    top:0;

    color:#66c7ff;

    font-size:14px;
}

/* imagen */
.beneficios-blue .beneficios-img{
    border-radius:22px;
    overflow:hidden;

    box-shadow:
        0 12px 30px rgba(0,0,0,.20);
}

/* imagen interna */
.beneficios-blue .beneficios-img img{
    width:100%;
    height:260px;

    object-fit:cover;

    display:block;

    transition: transform .55s ease;
}

/* zoom suave */
.beneficios-blue:hover .beneficios-img img{
    transform:scale(1.05);
}

/* responsive */
@media (max-width:768px){

    .beneficios-blue{
        padding:22px;
    }

    .beneficios-blue .beneficios-img img{
        height:210px;
    }

}



/* ================================
   ULTIMAS DOS CARDS - IMG ABAJO
================================ */

.cobertura-mini.wide{
    display:flex;
    flex-direction:column;
}

/* texto arriba */
.cobertura-mini.wide h3{
    order:1;
}

.cobertura-mini.wide ul{
    order:2;
}

/* imagen abajo */
.cobertura-mini.wide .beneficios-img{
    order:3;
    margin-top:22px;
}



/* ================================
   CARD 1 - ESTILO PREMIUM
================================ */

.cobertura-mini.wide{
    position: relative;
    overflow: hidden;

    display:flex;
    flex-direction:column;

    padding:32px;
    border-radius:28px;

    background:
    linear-gradient(
        135deg,
        rgba(255,255,255,.06),
        rgba(255,255,255,.03)
    );

    border-bottom:4px solid #ffd166;

    box-shadow:
        0 18px 45px rgba(0,0,0,.14);

    transition:.35s ease;
}

/* glow suave */
.cobertura-mini.wide::before{
    content:"";

    position:absolute;
    inset:0;

    background:
    radial-gradient(
        circle at top left,
        rgba(255,209,102,.14),
        transparent 58%
    );

    pointer-events:none;
}

/* hover */
.cobertura-mini.wide:hover{
    transform:translateY(-6px);

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

/* titulo */
.cobertura-mini.wide h3{
    order:1;

    font-size:1.45rem;
    color:#fff;

    margin-bottom:14px;
}

/* lista */
.cobertura-mini.wide ul{
    order:2;

    list-style:none;

    padding:0;
    margin:0;
}

/* items */
.cobertura-mini.wide ul li{
    position:relative;

    padding-left:28px;
    margin-bottom:12px;

    color:rgba(255,255,255,.88);

    line-height:1.55;
}

/* icono */
.cobertura-mini.wide ul li::before{
    content:"✦";

    position:absolute;
    left:0;
    top:0;

    color:#ffd166;
}

/* imagen abajo */
.cobertura-mini.wide .beneficios-img{
    order:3;

    margin-top:24px;

    border-radius:22px;
    overflow:hidden;

    box-shadow:
        0 12px 30px rgba(0,0,0,.20);
}

/* imagen */
.cobertura-mini.wide .beneficios-img img{
    width:100%;
    height:300px;

    object-fit:cover;

    display:block;

    transition:transform .55s ease;
}

/* zoom */
.cobertura-mini.wide:hover .beneficios-img img{
    transform:scale(1.04);
}

/* responsive */
@media (max-width:768px){

    .cobertura-mini.wide{
        padding:24px;
    }

    .cobertura-mini.wide .beneficios-img img{
        height:220px;
    }

}




/* TEXTO A LA IZQUIERDA EN LAS 2 ÚLTIMAS CARDS */

.cobertura-mini.wide{
    text-align:left;
    align-items:flex-start;
}

.cobertura-mini.wide h3{
    width:100%;
    text-align:left;
}

.cobertura-mini.wide ul{
    width:100%;
    text-align:left;
}

.cobertura-mini.wide ul li{
    text-align:left;
}



*,
*::before,
*::after {
    cursor: url("../img/_manofinalmano.png") 16 0, auto !important;
}



.hero-new{
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}




.destacado {
    position: relative;
    font-weight: 600;
}

.destacado::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff8c00, #ffb347);
    border-radius: 999px;
}







/* =========================
   CONSULTORIOS MUDAP
========================= */

:root{
    --primary:#00A6C7;
    --primary-dark:#008AA5;
    --dark:#1E293B;
    --gray:#64748B;
    --light:#F8FAFC;
    --white:#FFFFFF;

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

    --radius:20px;
}

/* =========================
   GENERALES
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter',sans-serif;
    color:var(--dark);
    background:white;
    line-height:1.6;
}

section{
    padding:100px 20px;
}

.container{
    width:100%;
    max-width:1200px;
    margin:auto;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:clamp(2rem,5vw,3rem);
    margin-bottom:15px;
}

.section-title p{
    max-width:700px;
    margin:auto;
    color:var(--gray);
}

/* =========================
   HERO
========================= */

.hero-consultorios{
    background:
    linear-gradient(
        135deg,
        #0f172a,
        #1e293b
    );

    color:white;
    text-align:center;
}

.badge{
    display:inline-block;

    padding:12px 20px;

    border-radius:999px;

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

    backdrop-filter:blur(10px);

    margin-bottom:25px;

    font-size:.9rem;
}

.hero-consultorios h1{
    font-size:
    clamp(2.8rem,6vw,5rem);

    line-height:1.1;

    font-weight:800;

    max-width:900px;

    margin:auto;
}

.hero-consultorios h1::after{
    content:"";

    display:block;

    width:120px;
    height:5px;

    background:var(--primary);

    margin:25px auto 0;

    border-radius:999px;
}

.hero-consultorios p{
    max-width:750px;

    margin:35px auto;

    font-size:1.15rem;

    opacity:.9;
}

.beneficios-mini{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;

    margin-top:50px;
}

.beneficios-mini div{
    padding:15px 25px;

    border-radius:999px;

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

    backdrop-filter:blur(8px);

    border:
    1px solid rgba(255,255,255,.08);

    font-weight:600;
}

/* =========================
   ESPECIALIDADES
========================= */

.especialidades{
    background:var(--light);
}

.cards{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:25px;
}

.card{
    background:white;

    padding:35px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:.3s ease;

    text-align:center;
}

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

.card h3{
    font-size:1.3rem;
    margin-bottom:10px;
    color:var(--dark);
}

.card p{
    color:var(--gray);
}

.card::before{
    content:"🏥";

    display:block;

    font-size:2rem;

    margin-bottom:15px;
}

/* =========================
   CTA FINAL
========================= */

.cta-consultorios{
    text-align:center;

    background:white;
}

.cta-consultorios h2{
    font-size:
    clamp(2rem,5vw,3.5rem);

    line-height:1.2;

    max-width:900px;

    margin:auto auto 20px;
}

.cta-consultorios p{
    max-width:650px;

    margin:0 auto 40px;

    color:var(--gray);

    font-size:1.1rem;
}

/* =========================
   BOTÓN
========================= */

.btn-primary{
    display:inline-flex;

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

    padding:16px 34px;

    border-radius:999px;

    background:var(--primary);

    color:white;

    text-decoration:none;

    font-weight:700;

    transition:.3s ease;
}

.btn-primary:hover{
    background:var(--primary-dark);

    transform:
    translateY(-3px);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

    section{
        padding:70px 20px;
    }

    .hero-consultorios h1{
        font-size:2.6rem;
    }

    .beneficios-mini{
        flex-direction:column;
        align-items:center;
    }

    .beneficios-mini div{
        width:100%;
        max-width:320px;
    }

    .cards{
        grid-template-columns:1fr;
    }

}



/* =========================================
   1. VARIABLES GLOBALES Y RESET
   ========================================= */
:root {
    --primary: #00A6C7;
    --secondary: #2DD4BF;
    --dark-bg: #0f172a;
    --text-light: #ffffff;
    --transition-smooth: .35s cubic-bezier(.4, 0, .2, 1);
    --gradient-primary: linear-gradient(90deg, var(--primary), var(--secondary));
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--primary);
    color: var(--text-light);
}

a, 
button, 
.card, 
.beneficios-mini div {
    transition: var(--transition-smooth);
}

/* =========================================
   2. HERO Y LLAMADOS A LA ACCIÓN (CTA)
   ========================================= */
.hero-consultorios {
    position: relative;
    background-color: var(--dark-bg);
    /* Combinamos el patrón de puntos con la imagen y el gradiente oscuro */
    background: 
        radial-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(rgba(0, 40, 70, .75), rgba(0, 40, 70, .75)),
        url("../img/consultorio.jpg");
    background-size: 25px 25px, cover, cover;
    background-position: center, center, center;
    color: var(--text-light);
    text-align: center;
}

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

.hero-consultorios h1 {
    text-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}

/* Línea decorativa debajo del H1 */
.hero-consultorios h1::after {
    content: "";
    display: block;
    width: 140px;
    height: 6px;
    margin: 25px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Fondo decorativo del CTA */
.cta-consultorios {
    position: relative;
    overflow: hidden;
}

.cta-consultorios::after {
    content: "";
    position: absolute;
    top: -350px;
    right: -250px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(rgba(255, 255, 255, .15), transparent 70%);
}

/* =========================================
   3. SECCIONES Y TÍTULOS
   ========================================= */
.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 90px;
    height: 5px;
    border-radius: 999px;
    background: var(--gradient-primary);
}

/* =========================================
   4. BOTONES
   ========================================= */
.btn-primary {
    position: relative;
    overflow: hidden;
    /* Añade aquí tu padding, background y color base si no los tienes en otra parte */
}

/* Efecto de destello al pasar el mouse */
.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    transform: skewX(-25deg);
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, .4), transparent);
    transition: left .8s ease;
}

.btn-primary:hover::before {
    left: 150%;
}

/* =========================================
   5. TARJETAS (CARDS) Y EFECTOS 3D
   ========================================= */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    perspective: 1200px; /* Necesario en el contenedor para el efecto 3D */
}

.card {
    position: relative;
    background: rgba(255, 255, 255, 0.9); /* Ligeramente transparente para el blur */
    border-radius: 24px;
    padding: 40px 30px;
    cursor: pointer;
    
    /* Glassmorphism */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, .6);
    
    /* Sombras base */
    box-shadow: 
        0 5px 10px rgba(0, 0, 0, .03),
        0 15px 30px rgba(0, 0, 0, .05),
        0 30px 60px rgba(0, 0, 0, .06);
    
    /* Configuración 3D */
    transform-style: preserve-3d;
    will-change: transform;
    transition: 
        transform .12s linear, 
        box-shadow var(--transition-smooth),
        border-color var(--transition-smooth);
}

/* Borde superior gradiente */
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 24px 24px 0 0;
    transform: translateZ(60px); /* Efecto 3D del borde */
}

/* Borde invisible que aparece en hover */
.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 2px solid transparent;
    transition: border-color var(--transition-smooth);
    pointer-events: none; /* Evita que interfiera con el hover */
}

.card:hover {
    transform: translateY(-12px); /* Si usas una librería JS para el 3D, el JS sobreescribirá esto */
    box-shadow: 0 25px 50px rgba(0, 0, 0, .12);
}

.card:hover::after {
    border-color: rgba(0, 166, 199, .25);
}

/* Elementos internos de la tarjeta despegándose en 3D */
.card h3 {
    transform: translateZ(40px);
}

.card p {
    transform: translateZ(25px);
}





.cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.card {
    width: 100% !important;
}

/* Tablet */
@media (max-width: 992px) {
    .cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Móvil */
@media (max-width: 576px) {
    .cards {
        grid-template-columns: 1fr !important;
    }
}




.telefono-info {
    margin-top: 15px;
    text-align: center;
    color: #555;
    font-size: 0.95rem;
}

#telefono {
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

#telefono:hover {
    opacity: .8;
    text-decoration: underline;
}






.hero-content-new{
  text-align: center;
  padding: 40px 20px;
}

/* IMAGEN DE LETRAS */
.img-frase-hero{
  max-width: 520px;
  width: 100%;
  height: auto;

  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.15));
  transition: transform 0.4s ease, filter 0.4s ease;

  animation: fadeUp 1s ease forwards;
}

/* efecto hover elegante */
.img-frase-hero:hover{
  transform: scale(1.04);
  filter: drop-shadow(0 18px 35px rgba(0,0,0,0.25));
}

/* descripción abajo */
.hero-description{
  margin-top: 18px;
  font-size: 1.05rem;
  color: #7DD3FC;
  letter-spacing: 0.5px;
  font-weight: 500;
  opacity: 0.95;
}

/* entrada suave */
@keyframes fadeUp{
  from{
    opacity: 0;
    transform: translateY(20px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}



.img-frase-hero{
  max-width: 560px;
  width: 100%;
  height: auto;

  /* look premium */
  filter: drop-shadow(0 18px 35px rgba(0,0,0,0.35));
  
  /* sensación de flotación */
  transform: translateY(0);
  transition: transform 0.5s ease, filter 0.5s ease;

  /* entrada suave */
  animation: floatIn 1s ease forwards;
}

/* hover elegante */
.img-frase-hero:hover{
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 28px 55px rgba(0,0,0,0.55));
}

/* animación de entrada */
@keyframes floatIn{
  from{
    opacity: 0;
    transform: translateY(25px) scale(0.98);
  }
  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}



.hero-description{
    font-size: 1.25rem; /* 20px */
}


.hero-description{
    font-size: 1.4rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.6;
}











/* =========================================
   BOUTIQUE MUDAP - INTEGRADO (SIN FONDO)
   ========================================= */

.boutique-highlight {
    --brand-primary: #0284c7;       
    --brand-primary-light: #e0f2fe; 
    --text-heading: #0f172a;        
    --text-body: #475569;           
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px; /* Reducido un poco para integrarse mejor entre secciones */
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    
    /* Sin background-color para heredar el del sitio */
}

/* =========================================
   BLOQUE DE TEXTO
   ========================================= */
.boutique-content {
    flex: 1;
    max-width: 540px;
}

.boutique-badge {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 20px;
    
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    border: 1px solid rgba(2, 132, 199, 0.15);
    border-radius: 6px;
    
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.boutique-content h2 {
    font-size: clamp(2.3rem, 4.5vw, 3.5rem); /* Ajustado sutilmente */
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-heading);
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.boutique-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-body);
    margin-bottom: 35px;
}

/* =========================================
   TARJETAS DE BENEFICIOS
   ========================================= */
.boutique-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.boutique-benefits div {
    position: relative;
    padding: 20px 20px 20px 56px;
    
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    
    color: var(--text-heading);
    font-weight: 600;
    font-size: 0.95rem;
    
    /* Sombra suave para que floten sobre el fondo general */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.boutique-benefits div::before {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
}

.benefit-shop::before { content: "🛍️"; }
.benefit-card::before { content: "💳"; }
.benefit-star::before { content: "⭐"; }
.benefit-delivery::before { content: "🚚"; }

.boutique-benefits div:hover {
    border-color: var(--brand-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(2, 132, 199, 0.08), 0 4px 6px -2px rgba(2, 132, 199, 0.04);
}

/* =========================================
   VISUAL E IMAGEN
   ========================================= */
.boutique-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.boutique-visual img {
    width: 100%;
    max-width: 440px;
    height: auto;
    
    /* Sombra difuminada para la bolsa */
    filter: drop-shadow(0 15px 25px rgba(15, 23, 42, 0.08));
    
    animation: floatBagClean 5s ease-in-out infinite;
}

@keyframes floatBagClean {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 900px) {
    .boutique-highlight {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 20px;
        gap: 40px;
    }
    
    .boutique-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .boutique-benefits {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        text-align: left;
    }
}

/* =========================================
   TARJETAS DE BENEFICIOS (PREMIUM REDESIGN)
   ========================================= */
.boutique-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 35px;
}

.boutique-benefits div {
    position: relative;
    /* Más espacio a la izquierda para el nuevo contenedor del ícono */
    padding: 24px 24px 24px 80px; 
    
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px; /* Bordes suavizados modernos */
    
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
    
    display: flex;
    align-items: center;
    
    /* Sombra base estilo Tailwind/Fintech */
    box-shadow: 
        0 1px 3px 0 rgba(15, 23, 42, 0.03), 
        0 4px 12px 0 rgba(15, 23, 42, 0.05);
        
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* --- Contenedor del Ícono (Badge Interno) --- */
.boutique-benefits div::before {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    
    /* Creamos una cajita contenedora para el emoji */
    width: 44px;
    height: 44px;
    border-radius: 12px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    
    transition: transform 0.3s ease;
}

/* --- Personalización de Colores por Beneficio --- */
/* Productos seleccionados (Azul) */
.benefit-shop::before { 
    content: "🛍️"; 
    background-color: #f0f9ff; 
    border: 1px solid #e0f2fe; 
}

/* Financiación accesible (Verde) */
.benefit-card::before { 
    content: "💳"; 
    background-color: #f0fdf4; 
    border: 1px solid #dcfce7; 
}

/* Beneficios exclusivos (Dorado/Amarillo) */
.benefit-star::before { 
    content: "⭐"; 
    background-color: #fffbeb; 
    border: 1px solid #fef3c7; 
}

/* Entrega rápida (Violeta/Rosa) */
.benefit-delivery::before { 
    content: "🚚"; 
    background-color: #fdf2f8; 
    border: 1px solid #fce7f3; 
}

/* --- Comportamiento Hover --- */
.boutique-benefits div:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    
    /* Sombra más profunda al levantar la tarjeta */
    box-shadow: 
        0 12px 20px -3px rgba(15, 23, 42, 0.08), 
        0 4px 6px -2px rgba(15, 23, 42, 0.04);
}

/* Micro-interacción: El ícono resalta sutilmente al pasar el mouse */
.boutique-benefits div:hover::before {
    transform: translateY(-50%) scale(1.08);
}

/* Responsive individual para las tarjetas */
@media (max-width: 600px) {
    .boutique-benefits {
        grid-template-columns: 1fr;
    }
}




.news-section{
    padding:120px 30px;
    max-width:1400px;
    margin:auto;
}

.news-header{
    text-align:center;
    margin-bottom:70px;
}

.news-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:10px 20px;

    border-radius:999px;

    background:rgba(125,211,252,.15);
    color:#0284c7;

    font-size:.85rem;
    font-weight:800;
    letter-spacing:1px;
}

.news-header h2{
    margin-top:24px;
    font-size:clamp(3rem,5vw,5rem);
    color:#0f172a;
    line-height:1;
}

.news-header p{
    margin-top:18px;
    color:#64748b;
    font-size:1.1rem;
}

/* GRID */

.news-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;
}

/* CARD */

.news-card{
    position:relative;
    overflow:hidden;

    border-radius:30px;

    background:#fff;

    box-shadow:
    0 20px 50px rgba(15,23,42,.08);

    transition:.45s ease;
}

.news-card:hover{
    transform:translateY(-10px);
    box-shadow:
    0 30px 60px rgba(15,23,42,.15);
}

.news-card img{
    width:100%;
    height:600px;
    object-fit:cover;
    object-position:top;

    display:block;

    transition:
    transform 1.5s ease,
    object-position 2.5s ease;
}

.news-card:hover img{
    object-position:bottom;
    transform:scale(1.04);
}

/* Overlay */

.news-overlay{
    position:absolute;
    inset:0;

    display:flex;
    flex-direction:column;
    justify-content:flex-end;

    padding:28px;

    background:
    linear-gradient(
        to top,
        rgba(15,23,42,.92) 0%,
        rgba(15,23,42,.55) 35%,
        transparent 75%
    );
}

.news-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:12px;
}

.news-meta span{
    background:rgba(125,211,252,.18);
    backdrop-filter:blur(10px);

    padding:8px 12px;

    border-radius:999px;

    color:#7DD3FC;

    font-size:.72rem;
    font-weight:800;
    letter-spacing:1px;
    text-transform:uppercase;
}

.news-meta small{
    color:#e2e8f0;
    font-weight:600;
}

.news-overlay h3{
    color:#fff;
    font-size:1.7rem;
    line-height:1.15;
    font-weight:800;
}

/* Responsive */

@media(max-width:1100px){

    .news-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .news-card img{
        height:550px;
    }
}

@media(max-width:700px){

    .news-grid{
        grid-template-columns:1fr;
    }

    .news-card img{
        height:650px;
    }
}




.news-section{
    position:relative;
    max-width:1400px;
    margin:auto;
    padding:120px 30px;
    z-index:1;
}

.news-section::before{
    content:"";
    position:absolute;

    top:0;
    bottom:0;

    left:50%;
    transform:translateX(-50%);

    width:100vw;

    background:
    linear-gradient(
        rgba(250,247,242,.95),
        rgba(250,247,242,.95)
    ),
    url("img/madera-clara.jpg");

    background-size:cover;
    background-position:center;

    z-index:-1;
}



.news-card{
    animation: floatCard 5s ease-in-out infinite;
}

.news-card:nth-child(2){animation-delay:1s;}
.news-card:nth-child(3){animation-delay:2s;}
.news-card:nth-child(4){animation-delay:3s;}

@keyframes floatCard{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-8px);
    }
}




.boutique-script{
    font-family:'Tangerine', cursive;
    font-size:clamp(4.5rem,7vw,8rem);
    font-weight:700;
    line-height:.9;
    color:#2c2a28;
}


.news-hero-image{
    width:100%;
    margin-bottom:40px;
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(0,0,0,.12);
}

.news-hero-image img{
    width:100%;
    height:420px;
    object-fit:cover;
    display:block;

    transition:transform 1.2s ease;
}

.news-hero-image:hover img{
    transform:scale(1.05);
}





.news-title-lines{
    display:flex;
    align-items:center;
    justify-content:center;

    gap:18px;

    font-size:clamp(2.6rem,5vw,4.2rem);
    color:#0f172a;
}

/* líneas laterales */
.news-title-lines .line{
    height:1px;
    width:80px;

    background:linear-gradient(
        to right,
        transparent,
        #94a3b8,
        transparent
    );

    opacity:.8;
}



.highlight-text{
    font-weight:800;
    color:#0ea5e9;

    letter-spacing:2px;
    text-transform:uppercase;
}




.hero-content-new{
    position: relative;
    z-index: 2;
}

.img-frase-hero{
    width: min(900px, 90vw);
    height: auto;
    display: block;

    filter:
        drop-shadow(0 10px 30px rgba(0,0,0,.35))
        drop-shadow(0 0 20px rgba(255,140,0,.15));

    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat{
    0%,100%{
        transform: translateY(0px);
    }
    50%{
        transform: translateY(-10px);
    }
}

















.hero-content-new::after{
  content: "";
  position: absolute;

  top: 140px;
  right: 24%;

  width: 120px;
  height: 120px;
  pointer-events: none;

  background: radial-gradient(
    circle,
    rgba(255, 230, 170, .95) 0%,
    rgba(255, 170, 0, .8) 25%,
    rgba(255, 120, 0, .55) 50%,
    rgba(255, 90, 0, .2) 70%,
    transparent 85%
  );

  box-shadow:
    0 0 8px rgba(255,120,0,.6),
    0 0 18px rgba(255,120,0,.35),
    0 0 28px rgba(255,120,0,.15);

  filter: blur(4px);
  border-radius: 50%;

  animation: pulseLight 2.8s infinite ease-in-out;
}

@keyframes pulseLight {
  0%{
    opacity: .65;
    filter: blur(4px) brightness(1);
  }

  50%{
    opacity: .95;
    filter: blur(5px) brightness(1.6);
  }

  100%{
    opacity: .65;
    filter: blur(4px) brightness(1);
  }
}



.img-frase-hero{
  animation: floatLetters 2.2s infinite ease-in-out;
}

.hero-content-new::after{
  animation: floatLetters 2.2s infinite ease-in-out, pulseLight 2.2s infinite ease-in-out;
}

@keyframes floatLetters {
  0%{
    transform: translateY(0px);
  }

  50%{
    transform: translateY(-6px);
  }

  100%{
    transform: translateY(0px);
  }
}
















.cursos-hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;

    background:
    radial-gradient(circle at 20% 30%, rgba(255,140,0,.25), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(0,140,255,.18), transparent 30%),
    linear-gradient(135deg,#071321,#0b2340,#102f58);

    padding:120px 20px;
}

.cursos-overlay{
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        rgba(0,0,0,.15),
        rgba(0,0,0,.45)
    );

    backdrop-filter:blur(2px);
}

.cursos-container{
    position:relative;
    z-index:2;
    max-width:1200px;
    width:100%;
    text-align:center;
}

.cursos-badge{
    display:inline-block;
    padding:12px 24px;

    border:1px solid rgba(255,255,255,.15);
    border-radius:50px;

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

    color:#ffd18b;
    font-weight:600;
    letter-spacing:1px;

    margin-bottom:25px;
}

.cursos-hero h1{
    color:#fff;
    font-size:clamp(3rem,7vw,6rem);
    font-weight:900;
    line-height:1;
    margin-bottom:25px;
}

.cursos-hero h1 span{
    color:#ff9a1f;

    text-shadow:
    0 0 15px rgba(255,154,31,.5),
    0 0 40px rgba(255,154,31,.3);
}

.cursos-hero p{
    max-width:850px;
    margin:auto;

    color:rgba(255,255,255,.85);

    font-size:1.25rem;
    line-height:1.8;

    margin-bottom:60px;
}

.cursos-destacados{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;

    margin-bottom:50px;
}

.curso-item{
    background:rgba(255,255,255,.08);

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

    backdrop-filter:blur(10px);

    border-radius:20px;

    padding:30px 20px;

    transition:.35s;
}

.curso-item:hover{
    transform:translateY(-8px);

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

    box-shadow:
    0 15px 35px rgba(0,0,0,.25),
    0 0 25px rgba(255,154,31,.15);
}

.curso-item span{
    font-size:2.5rem;
    display:block;
    margin-bottom:15px;
}

.curso-item h3{
    color:#fff;
    font-size:1.1rem;
    font-weight:700;
}

.btn-cursos{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:18px 38px;

    border-radius:60px;

    text-decoration:none;

    color:#fff;
    font-weight:700;
    font-size:1rem;

    background:linear-gradient(
        135deg,
        #ff8c00,
        #ffb347
    );

    box-shadow:
    0 10px 30px rgba(255,140,0,.35);

    transition:.35s;
}

.btn-cursos:hover{
    transform:translateY(-4px) scale(1.03);
}






.cursos-disponibles{
    padding:120px 20px;
    background:
    linear-gradient(
        180deg,
        #f8fafc 0%,
        #eef5ff 100%
    );
}

.section-title{
    text-align:center;
    max-width:800px;
    margin:0 auto 80px;
}

.section-title span{
    color:#ff8c00;
    font-weight:700;
    letter-spacing:2px;
}

.section-title h2{
    font-size:clamp(2.5rem,5vw,4rem);
    margin:15px 0;
    color:#0f172a;
}

.section-title p{
    color:#64748b;
    line-height:1.8;
}

.cursos-grid{
    max-width:1400px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.curso-card{
    background:#fff;

    border-radius:28px;

    overflow:hidden;

    box-shadow:
    0 15px 40px rgba(15,23,42,.08);

    transition:.45s ease;

    position:relative;
}

.curso-card:hover{
    transform:translateY(-12px);

    box-shadow:
    0 25px 60px rgba(15,23,42,.15);
}

.curso-img{
    position:relative;
    height:250px;
    overflow:hidden;
}

.curso-img::after{
    content:"";

    position:absolute;
    inset:0;

    background:
    linear-gradient(
        to top,
        rgba(0,0,0,.55),
        transparent
    );
}

.curso-img img{
    width:100%;
    height:100%;
    object-fit:cover;

    transition:1s;
}

.curso-card:hover .curso-img img{
    transform:scale(1.12);
}

.curso-content{
    padding:30px;
}

.curso-content h3{
    color:#0f172a;
    font-size:1.5rem;
    margin-bottom:15px;
}

.curso-content p{
    color:#64748b;
    line-height:1.8;
    margin-bottom:25px;
}

.curso-content a{
    display:inline-block;

    padding:12px 24px;

    border-radius:50px;

    text-decoration:none;

    color:white;

    background:
    linear-gradient(
        135deg,
        #ff8c00,
        #ffb347
    );

    font-weight:700;

    transition:.3s;
}

.curso-content a:hover{
    transform:translateY(-3px);
}





.curso-card{
    animation: floatCard 7s ease-in-out infinite;
}

.curso-card:nth-child(2){
    animation-duration: 9s;
}

.curso-card:nth-child(3){
    animation-duration: 8s;
}

.curso-card:nth-child(4){
    animation-duration: 10s;
}

.curso-card:nth-child(5){
    animation-duration: 7.5s;
}

@keyframes floatCard{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-12px);
    }
}




.cursos-grid:hover .curso-card{
    transform:scale(.97);
}

.cursos-grid .curso-card:hover{
    transform:
    translateY(-15px)
    scale(1.05);

    z-index:10;
}




@keyframes breathe{
    0%,100%{
        transform:scale(1);
    }
    50%{
        transform:scale(1.02);
    }
}

.curso-card{
    animation:breathe 6s ease-in-out infinite;
}





.curso-card:nth-child(odd){
    animation: driftLeft 8s ease-in-out infinite;
}

.curso-card:nth-child(even){
    animation: driftRight 8s ease-in-out infinite;
}

@keyframes driftLeft{
    0%,100%{
        transform:translateX(0);
    }
    50%{
        transform:translateX(-6px);
    }
}

@keyframes driftRight{
    0%,100%{
        transform:translateX(0);
    }
    50%{
        transform:translateX(6px);
    }
}








.cursos-confianza{
  padding:120px 20px;
  background: linear-gradient(135deg,#061a33,#0d2f55);
  position:relative;
  overflow:hidden;
}

/* glow central mejorado */
.confianza-bg-orb{
  position:absolute;
  width:600px;
  height:600px;
  top:-250px;
  right:-200px;
  background: radial-gradient(circle, rgba(255,140,0,.18), transparent 60%);
  filter: blur(60px);
  animation: floatOrb 8s ease-in-out infinite;
}

@keyframes floatOrb{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(30px); }
}

.confianza-container{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:70px;
  align-items:center;
}

/* TAG */
.confianza-tag{
  display:inline-block;
  color:#ffb347;
  font-weight:700;
  letter-spacing:2px;
  font-size:.85rem;
  margin-bottom:20px;
  opacity:.9;
}

/* TITULO */
.confianza-content h2{
  color:#fff;
  font-size:clamp(2.4rem,5vw,3.6rem);
  line-height:1.2;
  margin-bottom:20px;
}

/* TEXTOS */
.confianza-content p{
  color:rgba(255,255,255,.75);
  font-size:1.05rem;
  line-height:1.9;
  margin-bottom:18px;
}

/* BADGES */
.confianza-badges{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:25px;
}

.badge{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
  font-size:.9rem;
  backdrop-filter: blur(10px);
}

.badge span{
  color:#ff9a1f;
  font-weight:bold;
}

/* STATS GRID */
.confianza-stats{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

/* CARD */
.stat-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:35px 25px;
  text-align:center;
  backdrop-filter:blur(14px);
  transition:.4s ease;
  position:relative;
  overflow:hidden;
}

/* glow hover interno */
.stat-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at center, rgba(255,140,0,.15), transparent 60%);
  opacity:0;
  transition:.4s;
}

.stat-card:hover{
  transform:translateY(-10px) scale(1.02);
  border-color:rgba(255,140,0,.3);
}

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

/* número */
.stat-card h3{
  color:#ff9a1f;
  font-size:2.8rem;
  margin-bottom:8px;
}

/* texto */
.stat-card p{
  color:rgba(255,255,255,.75);
  font-size:.95rem;
}

/* destacado */
.stat-card.highlight{
  border:1px solid rgba(255,154,31,.4);
  box-shadow:0 0 25px rgba(255,140,0,.15);
}

/* responsive */
@media (max-width: 900px){
  .confianza-container{
    grid-template-columns:1fr;
    gap:50px;
  }

  .confianza-stats{
    grid-template-columns:1fr 1fr;
  }
}









@media (max-width: 768px){

  .hero-content-new::after{
    top: 0;
    left: 0;
    right: auto;

    width: 100%;
    height: 100%;

    border-radius: 0;

    /* 🔥 NARANJA MÁS MARCADO */
    background: radial-gradient(
      circle at center,
      rgba(255, 170, 80, .38) 0%,
      rgba(255, 120, 0, .25) 40%,
      rgba(255, 80, 0, .12) 65%,
      transparent 80%
    );

    box-shadow: none;

    /* 🔥 tono más cálido */
    filter: blur(7px) brightness(1.15);

    animation: pulseLightMobile 2.8s ease-in-out infinite;
  }

  @keyframes pulseLightMobile{
    0%, 100%{
      opacity: .5;
    }

    50%{
      opacity: .8;
    }
  }

}







@media (max-width: 768px){
  .hero-description{
    display: block;
    margin-top: 75px;
  }
}





@keyframes pulseLight {
  0%{
    opacity: .4;
    filter: blur(6px) brightness(1);
    transform: translateY(0px);
  }

  50%{
    opacity: 1;
    filter: blur(6px) brightness(4);
    transform: translateY(-10px);
  }

  100%{
    opacity: .4;
    filter: blur(6px) brightness(1);
    transform: translateY(0px);
  }
}





.img-frase-hero{
  animation: floatLetters 2.2s ease-in-out infinite;
}

.hero-content-new::after{
  animation:
    floatLetters 2.2s ease-in-out infinite,
    pulseLight 2.2s ease-in-out infinite;
}

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

@keyframes pulseLight{
  0%{
    opacity: .65;
    filter: blur(4px) brightness(1);
  }
  50%{
    opacity: .95;
    filter: blur(5px) brightness(1.6);
  }
  100%{
    opacity: .65;
    filter: blur(4px) brightness(1);
  }
}