/* ===========================================
   HOME PAGE - ESTILOS GENERALES
   =========================================== */
:root {
    --purple-brand: #2E1A5F; /* Morado principal */
    --green-brand: #3BBCA8; /* Verde menta */
    --green-whatsapp: #25d366;
    --text-dark: #2E1A5F;
    --font-title: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding-top: 100px; /* Espacio para el navbar fijo */
    overflow-x: hidden; /* Evitar scroll horizontal */
}

* {
    box-sizing: border-box;
}

/* ===========================================
   HERO SECTION MODERNO (PANEL IZQUIERDO + DERECHO)
   =========================================== */
.hero-section-modern {
    display: flex;
    height: calc(100vh - 100px); /* Altura completa menos navbar */
    background: var(--purple-brand);
    overflow: hidden;
}

/* Ajustes responsivos globales: mejorar experiencia en móviles */
@media (max-width: 768px) {
    body {
        padding-top: 70px; /* navbar más compacto en móvil */
    }

    .hero-section-modern {
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - 70px);
    }

    .hero-left-panel {
        padding: 18px 16px;
        width: 100%;
    }

    /* Forzar orden y que cada mitad ocupe 100% en móvil */
    .hero-left-panel {
        order: 1;
        width: 100%;
        flex: none;
    }

    .hero-right-panel {
        order: 2;
        width: 100%;
        flex: none;
    }

    .hero-main-title {
        font-size: 1.9rem;
        line-height: 1.15;
    }

    .hero-quote {
        font-size: 1rem;
    }

    .hero-action-buttons .btn-quote,
    .hero-action-buttons .btn-whatsapp {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    /* Mostrar panel derecho e imágenes en columna para móvil */
    .hero-right-panel {
        display: block;
        width: 100%;
        position: relative;
        background: var(--purple-brand);
        padding: 0 16px 16px 16px;
        box-sizing: border-box;
    }

    .hero-image-gradient {
        display: block;
        height: 8px;
        margin-top: 8px;
        border-radius: 6px;
        background: linear-gradient(90deg, rgba(46,26,95,0.7), rgba(59,188,168,0.4));
    }

    .hero-images-container {
        position: relative;
        width: 100%;
        height: auto;
        padding-bottom: 8px;
    }

    .hero-image-card {
        position: relative;
        inset: auto;
        opacity: 1;
        transition: none;
        z-index: 0;
        margin-bottom: 12px;
    }

    .hero-description-floating {
        position: static;
        top: auto;
        right: auto;
        max-width: 100%;
        text-align: left;
        padding: 12px 0 0 0;
        background: transparent;
        box-shadow: none;
        margin-bottom: 8px;
    }

    /* Asegurar que la sección hero se estire y no recorte contenido */
    .hero-section-modern {
        align-items: stretch;
    }

    /* Imágenes responsivas */
    img, .hero-img, .sede-bg-img {
        max-width: 100%;
        height: auto;
    }

    /* Ajuste general de los contenedores */
    .container, .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Convertir la barra de estadísticas flotante a bloque en móvil */
    .stats-bar-floating {
        display: flex !important;
        bottom: auto;
        right: auto;
        gap: 12px;
        background: rgba(17, 175, 149, 0.39);
        padding: 12px;
        border-radius: 12px;
        box-shadow: none;
        width: calc(100% - 32px);
        margin: 12px 16px;
        min-width: 0;
        flex-wrap: wrap;
    }
}

/* PANEL IZQUIERDO */
.hero-left-panel {
    width: 100%;
    padding: 30px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--purple-brand);
    z-index: 20;
    overflow: hidden;
}

@media (min-width: 1200px) {
    .hero-left-panel {
        width: 38%;
        padding: 60px 80px;
    }
}

/* Logo Header */
.hero-logo-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background: var(--green-brand);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.logo-text {
    color: white;
}

.logo-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Central Content */
.hero-central-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex-grow: 0;
    width: 100%;
}

.hero-heading-section {
    margin-top: 0;
}

.hero-main-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: white;
    margin: 0 0 20px 0;
    line-height: 1.2;
    animation: titleFloat 3s ease-in-out infinite;
}

@media (min-width: 768px) {
    .hero-main-title {
        font-size: 3.4rem;
    }
}

.text-highlight {
    color: var(--green-brand);
}

.hero-quote {
    font-style: italic;
    color: #e2e8f0;
    font-size: 1.1rem;
    border-left: 3px solid var(--green-brand);
    padding-left: 20px;
    margin: 0;
    line-height: 1.6;
}

/* Tabs Container */
.services-tabs-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
}

.service-tab {
    padding: 14px 16px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    outline: none;
    text-decoration: none;
    color: inherit;
}

.service-tab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.service-tab:focus {
    outline: none;
}

.service-tab.active {
    background: white;
    border-color: white;
    transform: translateX(8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-tab-icon {
    padding: 8px;
    border-radius: 10px;
    background: transparent;
    color: #cbd5e1;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-tab.active .service-tab-icon {
    background: var(--green-brand);
    color: white;
}

.service-tab-content {
    flex: 1;
}

.service-tab-title {
    font-size: 0.95rem;
    font-weight: bold;
    margin: 0;
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.service-tab.active .service-tab-title {
    color: var(--purple-brand);
}

.service-tab-desc {
    font-size: 0.75rem;
    color: #64748b;
    margin: 4px 0 0 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-tab.active .service-tab-desc {
    opacity: 1;
    max-height: 50px;
}

.arrow-pulse {
    color: var(--purple-brand);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Action Buttons */
.hero-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

@media (min-width: 768px) {
    .hero-action-buttons {
        flex-direction: row;
    }
}

.btn-quote,
.btn-whatsapp {
    padding: 18px 32px;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    font-size: 1rem;
}

.btn-quote {
    background: transparent;
    color: white;
    border: 3px solid var(--purple-brand);
    outline: 2px solid rgba(255, 255, 255, 0.3);
    outline-offset: 2px;
}

.btn-quote:hover {
    background: var(--purple-brand);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(46, 26, 95, 0.4);
    border-color: var(--purple-brand);
    outline-color: rgba(255, 255, 255, 0.6);
}

.btn-whatsapp {
    background: var(--green-brand);
    border: 3px solid rgba(255, 255, 255, 0.4);
    color: white;
    outline: 2px solid var(--green-brand);
    outline-offset: 2px;
}

.btn-whatsapp:hover {
    background: #31a89a;
    color: white;
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
    outline-color: #31a89a;
}

/* PANEL DERECHO */
.hero-right-panel {
    display: none;
    width: 70%;
    position: relative;
    overflow: hidden;
    background: black;
    
}

@media (min-width: 800px) {
    .hero-right-panel {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
    }
}

.hero-images-container {
    position: absolute;
    inset: 0;
}

.hero-image-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    z-index: 0;
}

.hero-image-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #2E1A5F 0%, rgba(46, 26, 95, 0.4) 8%, transparent 100%);
    z-index: 12;
    pointer-events: none;
}

.hero-image-card.active {
    opacity: 1;
    z-index: 10;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.hero-image-gradient {
    display: none;
}

.hero-description-floating {
    position: absolute;
    top: 60px;
    right: 60px;
    max-width: 500px;
    text-align: right;
}

.hero-description-floating h3 {
    font-size: 2.4rem;
    font-weight: 900;
    color: white;
    margin: 0 0 18px 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-description-floating p {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    margin: 0;
    line-height: 1.7;
}

/* Stats Bar Floating */
.stats-bar-floating {
    position: absolute;
    bottom: 50px;
    right: 60px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 50px;
    background: rgba(0, 255, 217, 0.2);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(104, 102, 102, 0.25);
    padding: 25px 60px;
    border-radius: 25px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    z-index: 30;
    min-width: 600px;
}

.stat-float-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    flex: 1;
    text-align: center;
}

.stat-icon {
    color: var(--green-brand);
    padding: 8px;
    background: rgba(59, 188, 168, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(59, 188, 168, 0.3);
    backdrop-filter: blur(8px);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stat-float-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    width: 100%;
}

.stat-float-number {
    font-size: 4rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.253);
}

.stat-float-label {
    font-size: 1.4rem;
    color: #ffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.39);
}

.stat-float-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

/* Animaciones para Stats Bar */
.stats-bar-floating {
    animation: slideUpStats 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
    opacity: 0;
}

.stats-bar-floating.animate {
    opacity: 1;
}

.stat-float-number {
    animation: scaleInNumber 0.6s ease-out 0.4s both;
}

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

@keyframes scaleInNumber {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Laptop */
@media (max-width: 1366px) {
    .hero-left-panel {
        padding: 50px 60px;
    }

    .hero-main-title {
        font-size: 2.8rem;
    }

    .hero-description-floating {
        top: 40px;
        right: 40px;
        max-width: 420px;
    }

    .hero-description-floating h3 {
        font-size: 2rem;
    }

    .hero-description-floating p {
        font-size: 0.95rem;
        padding: 18px;
    }

    .stats-bar-floating {
        right: 40px;
        bottom: 40px;
        padding: 20px 40px;
        gap: 30px;
        min-width: 520px;
    }

    .stat-float-number {
        font-size: 2.8rem;
    }

    .stat-float-label {
        font-size: 1.1rem;
    }

    .services-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-content {
        gap: 50px;
    }

    .image-circle-bg,
    .why-image img {
        width: 380px;
        height: 380px;
    }
}

/* Responsive Mobile */
@media (max-width: 1199px) {
    .hero-section-modern {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .hero-left-panel {
        width: 100%;
        padding: 40px 25px;
        min-height: 100vh;
    }
    
    .hero-main-title {
        font-size: 2rem;
    }
}

@media (min-width: 800px) and (max-width: 1199px) {
    .hero-section-modern {
        flex-direction: row;
        height: calc(100vh - 100px);
    }

    .hero-left-panel {
        width: 45%;
        min-height: auto;
    }

    .hero-right-panel {
        display: flex;
        width: 55%;
        background: var(--purple-brand);
    }

    .stats-bar-floating {
        right: 24px;
        bottom: 24px;
        min-width: 0;
        width: min(520px, 88%);
        background: rgba(17, 175, 149, 0.39);
        border: 1px solid rgba(238, 237, 237, 0.075);
        padding: 16px 20px;
        gap: 16px;
    }   

    .stat-float-number {
        font-size: 2.2rem;
    }

    .stat-float-label {
        font-size: 0.95rem;
    }
}

/* Título */
.hero-title {
    font-family: var(--font-title);
    color: #2E1A5F;
    font-size: 3.4rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 50px;
    line-height: 1.2;
}

/* --- CARDS DE SERVICIOS (ZIG-ZAG) --- */
.services-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas exactas */
    gap: 25px;
    margin-bottom: 60px;
}

.service-link {
    text-decoration: none;
    color: inherit;
}

.service-card {
    background: #fff;
    border-radius: 25px;
    padding: 25px 15px;
    box-shadow: 0 15px 30px rgba(66, 29, 157, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 240px; /* Altura fija para uniformidad */
    border: 1px solid transparent;
}

/* EFECTO ZIG-ZAG: Pares suben, Impares bajan */
.service-link:nth-child(odd) .service-card {
    transform: translateY(20px); /* Baja */
}

.service-link:nth-child(even) .service-card {
    transform: translateY(-20px); /* Sube */
}

/* Hover */
.service-link:hover .service-card {
    /* Mantenemos el desplazamiento y agregamos el efecto hover */
    box-shadow: 0 20px 40px rgba(66, 29, 157, 0.25);
    border-color: var(--purple-brand); /* Borde morado al pasar mouse */
}

/* Ajuste fino para el hover manteniendo el zig-zag */
.service-link:nth-child(odd):hover .service-card {
    transform: translateY(15px);
}

.service-link:nth-child(even):hover .service-card {
    transform: translateY(-25px);
}


.card-image-box {
    margin-bottom: 15px;
    height: 80px;
    display: flex;
    align-items: center;
}

.card-image-box img {
    max-height: 100%;
    width: auto;
    border-radius: 10px;
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
}

/* --- BOTONES --- */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-hero {
    padding: 16px 45px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-purple {
    background-color: var(--purple-brand);
}

.btn-green {
    background-color: var(--green-whatsapp);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* --- ESTADÍSTICAS --- */
.stats-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 45px 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
    position: relative; /* Para z-index */
}

.stat-item {
    text-align: center;
    padding: 0 20px;
}

.stat-number {
    font-size: 4.6rem;
    font-weight: 700;
    color: var(--green-brand);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    max-width: 150px;
    margin: 0 auto;
}

.stat-divider {
    width: 2px;
    height: 60px;
    background: #eee;
}

/* --- ANIMACIONES DE ENTRADA CSS --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.fade-in-up:first-of-type {
    animation-delay: 0.2s;
}

.fade-in-up:last-of-type {
    animation-delay: 0.4s;
}

.animate-down {
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInDown 0.8s forwards 0.1s;
}

/* Animación sutil para el título del hero */
.hero-title.animate-down {
    animation: fadeInDown 0.8s forwards, titleFloat 3s ease-in-out 0.8s infinite;
}

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

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

@keyframes titleFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        text-shadow: 0 4px 12px rgba(46, 26, 95, 0.1);
    }
    50% { 
        transform: translateY(-3px) scale(1.01);
        text-shadow: 0 5px 14px rgba(46, 26, 95, 0.12);
    }
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.4rem; }
    .services-cards { 
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stats-container { padding: 30px 25px; }
}



@media (max-width: 480px) {
    .hero-section-modern {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }
    
    .hero-left-panel {
        width: 100%;
        padding: 30px 15px;
        min-height: auto;
    }
    
    .hero-right-panel {
        width: 100%;
        margin-left: 0;
        min-height: 300px;
    }
    
    .hero-main-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .hero-quote {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .hero-action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .services-tabs-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .service-tab {
        padding: 10px 12px;
        flex-direction: column;
        text-align: center;
    }
    
    .stats-bar-floating {
        padding: 15px 20px;
        gap: 20px;
        min-width: auto;
        width: 100%;
        flex-direction: row;
    }
    
    .stat-float-number {
        font-size: 2rem;
    }
    
    .stat-float-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .service-card h3 {
        font-size: 0.95rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

/* ===========================================
   ¿POR QUÉ ELEGIRNOS? 
   =========================================== */
/* --- ANIMACIONES DE ENTRADA (SCROLL REVEAL) --- */

/* 1. Elemento que entra desde la IZQUIERDA (Foto) */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px); /* Empieza 50px a la izquierda */
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

/* 2. Elemento que entra desde la DERECHA (Texto) */
.reveal-right {
    opacity: 0;
    transform: translateX(50px); /* Empieza 50px a la derecha */
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

/* 3. Items de la lista (Empiezan invisibles y un poco abajo) */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

/* --- CLASE ACTIVA (JS la pone cuando llegas a la sección) --- */
.active-section .reveal-left,
.active-section .reveal-right {
    opacity: 1;
    transform: translateX(0); /* Vuelven a su sitio original */
}

.active-section .stagger-item {
    opacity: 1;
    transform: translateY(0);
}

/* Retrasos para el efecto cascada (uno tras otro) */
.active-section .stagger-item:nth-child(1) { transition-delay: 0.2s; }
.active-section .stagger-item:nth-child(2) { transition-delay: 0.4s; }
.active-section .stagger-item:nth-child(3) { transition-delay: 0.6s; }
.active-section .stagger-item:nth-child(4) { transition-delay: 0.8s; }
.active-section .btn-conoce-mas.stagger-item { transition-delay: 1.0s; }


.why-choose-us {
    padding: 100px 20px;
    /* EL TRUCO DEL FONDO: Degradado radial para el efecto de "brillo" detrás de la foto */
    background: radial-gradient(circle at 25% 50%, #e8fcf9 0%, #ffffff 65%);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dividir en dos columnas iguales */
    gap: 80px; /* Más espacio entre foto y texto */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- LA IMAGEN CIRCULAR --- */
.image-circle-bg {
    width: 450px; /* Mantenemos el tamaño grande */
    height: 450px; /* Mantenemos el tamaño grande */
    border-radius: 50%; /* Hacemos el círculo */

    /* --- AQUÍ ESTÁ EL TRUCO DEL ZOOM --- */
    background-position: center center; /* Centramos la imagen */
    background-repeat: no-repeat;

    /* JUEGA CON ESTE VALOR:
       - 'cover' es el zoom automático que tenías antes.
       - Pon un porcentaje (ej. 130%) para alejarla manualmente. 
       Cuanto más bajo el número, más lejos se ve. Si te pasas de bajo, saldrán bordes blancos. 
       Prueba con 130% o 140% para empezar. */
    background-size: 140%;

    /* Estilos del borde y sombra igual que antes */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 5px solid #ffffff;
}

.why-image img {
    width: 450px;
    height: 450px;
    object-fit: cover;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 40px;
    border-radius: 50%;
    border-width: 5px;
    border-style: solid;
    border-color: rgb(255, 255, 255);
    border-image: initial;
}

/* --- EL BADGE (CHECK) --- */
.check-badge {
    position: absolute;
    bottom: 20px; /* Ajuste para que quede en el borde */
    right: 100px; /* Ajuste para que quede en el borde */
    width: 90px;
    height: 90px;
    background-color: #3bbca8; /* Verde menta de tu marca */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(59, 188, 168, 0.4);
    border: 4px solid #ffffff; /* Borde blanco para separarlo de la foto */
    animation: floatBadge 3s ease-in-out infinite; /* Pequeña animación de flotación */
}

.check-badge i {
    font-size: 2.5rem;
    color: #ffffff;
}

/* --- TEXTOS --- */
.why-text {
    padding-right: 20px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #000000; /* Título negro fuerte como en la imagen */
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.why-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #555; /* Gris suave para lectura */
    margin-bottom: 35px;
    max-width: 90%;
}

/* --- LISTA DE BENEFICIOS CON HOVER --- */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

/* LA TARJETA PRINCIPAL */
.hover-item {
    position: relative; /* Necesario para que lo de adentro flote */
    background-color: #fff;
    border-radius: 12px; /* Bordes más redondos */
    height: 80px; /* Altura fija para que no salte */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    overflow: hidden; /* Mantiene todo dentro de la tarjeta */
    transition: all 0.3s ease;
}

/* --- ESTADO NORMAL (TÍTULO) --- */
.visible-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
    height: 100%; /* Ocupa todo el alto */
    width: 100%;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.icon-box {
    background: #e0f2f1;
    color: #3bbca8;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.visible-content span {
    font-weight: 700;
    color: #4a148c;
    font-size: 1.1rem;
}

/* --- ESTADO OCULTO (DESCRIPCIÓN) --- */
.hidden-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #421D9D; /* TU COLOR MORADO */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-align: center;

    /* Inicialmente invisible y desplazado abajo */
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Animación suave */
}

.hidden-content p {
    color: #ffffff; /* Texto blanco */
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

/* --- ACCIÓN AL PASAR EL MOUSE (HOVER) --- */
.hover-item:hover {
    box-shadow: 0 10px 25px rgba(66, 29, 157, 0.2);
    transform: translateY(-2px);
}

.hover-item:hover .visible-content {
    opacity: 0;
    transform: translateY(-50%); /* Se va para arriba */
}

.hover-item:hover .hidden-content {
    opacity: 1;
    transform: translateY(0); /* Vuelve a su sitio original */
}

/* --- EL BOTÓN (TU COLOR SOLICITADO) --- */
.btn-conoce-mas {
    display: inline-block;
    background-color: #421D9D; /* EL COLOR QUE PEDISTE */
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 30px; /* Botón redondeado */
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(66, 29, 157, 0.3); /* Sombra morada */
    transition: all 0.3s ease;
}

.btn-conoce-mas:hover {
    background-color: #301375; /* Un poco más oscuro al pasar el mouse */
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(66, 29, 157, 0.4);
}

/* Animación sutil para el badge */
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* --- RESPONSIVE (MÓVIL) --- */
@media (max-width: 900px) {
    .why-choose-us {
        padding: 60px 20px;
    }
    
    .why-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .why-image {
        position: relative;
        display: flex;
        justify-content: center;
    }
    
    .why-image img, .image-circle-bg {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }

    .check-badge {
        width: 65px;
        height: 65px;
        right: calc(50% - 140px);
        bottom: 15px;
    }
    
    .check-badge i {
        font-size: 2rem;
    }

    .why-text {
        padding-right: 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .why-description {
        margin: 0 auto 30px;
        max-width: 100%;
        font-size: 0.95rem;
    }
    
    .benefits-list {
        gap: 12px;
    }
    
    .hover-item {
        height: 70px;
    }
    
    .visible-content span {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .why-image img, .image-circle-bg {
        width: 240px;
        height: 240px;
    }
    
    .check-badge {
        right: calc(50% - 120px);
    }
    
    .section-title {
        font-size: 1.6rem;
    }
}

/* ===========================================
   UBICACIÓN (ESTILO STORE LOCATOR)
   =========================================== */

.location-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #f4f9f8 0%, #ffffff 100%);
    overflow: hidden;
}

.section-title-dark {
    text-align: center;
    color: #421D9D; /* Morado marca */
    margin-bottom: 50px;
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- GRID PRINCIPAL --- */
.location-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr; /* La info ocupa un poco menos, el mapa más */
    gap: 0; /* Sin espacio entre ellos para que parezca una sola pieza */
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); /* Sombra elegante */

    /* Animación de entrada */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.location-grid.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- COLUMNA IZQUIERDA: CARD DE INFO --- */
.location-info-card {
    padding: 0;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2; /* Para que la sombra caiga sobre el mapa */
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.05);
}

/* Imagen de la sede */
.sede-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.sede-bg-img {
    width: 100%;
    height: 100%;
    /* === AQUÍ ESTÁ LA MAGIA PARA VER EL MEDIO === */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    transition: transform 0.5s ease;
}

/* Efecto Zoom al pasar el mouse */
.location-info-card:hover .sede-bg-img {
    transform: scale(1.05);
}

.badge-sede {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #3bbca8;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Contenido de texto */
.info-content {
    padding: 30px;
}

.info-content h3 {
    color: #421D9D;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.address {
    color: #555;
    font-size: 1rem;
    display: flex;
    gap: 10px;
    align-items: start;
    margin-bottom: 20px;
}

.address i {
    color: #db4437;
    margin-top: 4px;
}

/* --- LISTA DE REFERENCIAS (Estilo Hover) --- */
.route-trigger {
    padding: 10px;
    border-radius: 8px;
    cursor: pointer; /* Manito */
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #444;
    font-size: 0.95rem;
}

.route-trigger:hover {
    background-color: #f0fdfa; /* Colorcito suave al pasar el mouse */
}

.route-trigger i {
    width: 35px;
    height: 35px;
    background: #f0f7f6; /* Fondo verde muy claro */
    color: #3bbca8; /* Icono verde */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.separator {
    height: 1px;
    background: #eee;
    margin: 20px 0;
}

.ref-title {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Botón Cómo Llegar */
.btn-directions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #421D9D;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(44, 62, 122, 0.2);
}

.btn-directions:hover {
    background: #1f2d5a;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(44, 62, 122, 0.3);
}

/* --- COLUMNA DERECHA: MAPA --- */
.map-container {
    position: relative; /* Necesario */
    width: 100%;
    height: 100%;
    min-height: 500px; /* Altura mínima para que se vea bien */
    border-radius: 0; /* Grid ya redondea */
    overflow: hidden;
    background: #eee;
}

.map-container iframe {
    filter: saturate(1.1); /* Hacer el mapa un poco más vivo */
}

/* La capa superpuesta (Enlace + Imagen) */
.croquis-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Estado inicial: Invisible y no bloquea el mouse */
    opacity: 0;
    pointer-events: none; 
    z-index: 10;
    transition: opacity 0.4s ease;
    background-color: white; /* Fondo blanco mientras carga la imagen */
    display: flex;
    align-items: center;
    justify-content: center;
}

.croquis-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Que la imagen cubra todo el espacio */
}

/* Estado Activo: Visible y permite clic */
.croquis-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
/* ESTO VA EN TU CSS */

.croquis-overlay img {
    width: 100%;
    height: 100%;
    
    /* CAMBIO CLAVE: 'contain' asegura que se vea TODA la imagen sin zoom ni recortes */
    object-fit: contain; 
    
    /* Opcional: Fondo blanco para los espacios vacíos que queden a los lados */
    background-color: white; 
}

/* --- RESPONSIVE UBICACIÓN (MÓVIL) --- */
@media (max-width: 900px) {
    .location-grid {
        grid-template-columns: 1fr; /* Una sola columna */
        max-width: 500px; /* Ancho máximo en móvil */
    }

    .map-container {
        height: 350px; /* Mapa más pequeño en celular */
        min-height: 350px;
        order: -1; /* OPCIONAL: Si quieres que el mapa salga PRIMERO arriba */
    }

    .info-content {
        padding: 25px;
    }
}

/* ===========================================
   TESTIMONIOS (CARRUSEL INFINITO)
   =========================================== */

.testimonials-section {
    padding: 80px 0;
    background-color: #f9f9f9; /* Fondo suave para separar secciones */
    overflow: hidden;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    margin-top: -30px;
    font-size: 0.95rem;
}

/* Contenedor con degradados laterales (Fade effect) */
.reviews-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.reviews-container::before,
.reviews-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.reviews-container::before {
    left: 0;
    background: linear-gradient(to right, #f9f9f9, transparent);
}

.reviews-container::after {
    right: 0;
    background: linear-gradient(to left, #f9f9f9, transparent);
}

/* Pista de deslizamiento */
.reviews-track {
    display: flex;
    gap: 25px; /* Espacio entre tarjetas */
    width: max-content;
    padding: 20px 0; /* Espacio para las sombras */
    animation: scroll-reviews 60s linear infinite; /* Velocidad suave */
}

/* Pausa al pasar el mouse */
.reviews-track:hover {
    animation-play-state: paused;
}

/* --- TARJETA DE TESTIMONIO --- */
.review-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    width: 320px; /* Ancho fijo ideal */
    flex-shrink: 0; /* Evita deformaciones */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-color: #2dc4ad; /* Borde verde al pasar mouse */
}

/* Cabecera: Foto + Nombre */
.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.review-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 3px 0;
}

/* Fuente (Google/Facebook) */
.review-source {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.source-google {
    color: #DB4437;
}

.source-facebook {
    color: #1877F2;
}

/* Estrellas */
.review-stars {
    color: #FFC107;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

/* Texto */
.review-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    font-style: italic;

    /* Cortar texto si es muy largo (opcional) */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Animación Infinita */
@keyframes scroll-reviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Móvil */
@media (max-width: 768px) {
    .review-card {
        width: 280px;
        padding: 20px;
    }

    .reviews-container::before,
    .reviews-container::after {
        width: 50px; /* Fade más pequeño en móvil */
    }
}

/* ===========================================
   NORMATIVAS (CARRUSEL INFINITO - VERSIÓN COLOR & FOCUS)
   =========================================== */

.normativas-section-carousel {
    padding: 60px 0;
    background-color: #ffffff; /* Fondo Blanco Puro */
    overflow: hidden;
    position: relative;
}

/* El contenedor que delimita el área visible */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Degradados laterales en blanco para suavizar la entrada/salida */
.carousel-container::before,
.carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

/* LA PISTA QUE SE MUEVE */
.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll-infinite 35s linear infinite; /* Un poco más lento para apreciar los logos */
}

.carousel-track:hover {
    animation-play-state: paused;
}

/* --- CADA ITEM (LA CAJA FIJA) --- */
.normativa-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* TAMAÑO FIJO DE LA CAJA: Aquí está el truco para alinearlos */
    width: 250px;
    height: 160px; /* Altura suficiente para logo + texto */

    padding: 0 20px;
}

/* --- LA IMAGEN (TAMAÑO UNIFORME) --- */
.normativa-slide img {
    /* Define el espacio máximo que puede ocupar el logo */
    width: 100%;
    height: 90px; /* Todos los logos tendrán esta altura máxima */

    /* ESTO EVITA QUE SE DEFORMEN */
    object-fit: contain;

    margin-bottom: 15px;

    /* ESTADO NORMAL: A color, pero suave */
    filter: none; /* Quitamos el gris */
    opacity: 0.6; /* Un poco transparentes para que no saturen */

    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Transición suave */
    transform: translateZ(0); /* Mejora rendimiento */
}

/* --- EFECTO AL PASAR EL MOUSE (ENFOQUE MEJORADO) --- */
.normativa-slide:hover img {
    opacity: 1; /* Color total */
    /* EFECTO 3D: Crece + Sube + Sombra */
    transform: scale(1.15) translateY(-8px);
    /* Sombra que sigue la forma del PNG (mejor que box-shadow) */
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.2));
}

/* Texto */
.normativa-slide p {
    font-size: 0.9rem;
    color: #888; /* Texto gris suave */
    font-weight: 600;
    text-align: center;
    margin: 0;
    transition: color 0.3s ease;
}

.normativa-slide:hover p {
    color: #4a148c; /* El texto se pinta del color de tu marca al enfocar */
}

/* --- LA ANIMACIÓN --- */
@keyframes scroll-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Móviles */
@media (max-width: 768px) {
    .carousel-track {
        animation-duration: 20s;
    }

    .normativa-slide {
        width: 180px; /* Cajas más pequeñas en móvil */
        height: 140px;
        padding: 0 10px;
    }

    .normativa-slide img {
        height: 70px;
    }
}

/* --- EXCEPCIÓN PARA LOGOS MUY ANCHOS (Como DIGESA) --- */
.normativa-slide.wide-slide {
    width: 500px;
    padding: 0 10px;
}

/* Ajuste para móviles: que no sea TAN gigante en celular */
@media (max-width: 768px) {
    .normativa-slide.wide-slide {
        width: 300px; /* En celular lo reducimos un poco */
    }
}

/* ===========================================
   BOTÓN FLOTANTE WHATSAPP
   =========================================== */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ===========================================
   RESPONSIVE GLOBAL ADICIONAL
   =========================================== */

/* Responsive Global Final */
@media (max-width: 768px) {
    .section-title-dark {
        font-size: 1.8rem;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .info-box {
        padding: 30px 20px;
    }
    
    .map-wrapper {
        height: 300px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 20px;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        bottom: 15px;
        right: 15px;
    }
    
    .section-title-dark {
        font-size: 1.5rem;
    }
}

/* ===========================================
   OPTIMIZACIÓN RESPONSIVA TOTAL (MÓVIL)
   =========================================== */
@media (max-width: 768px) {
    /* 1. Reorganizamos el contenedor principal en columna */
    .hero-section-modern {
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
        background: var(--purple-brand);
    }

    /* 2. Panel Izquierdo (Texto y Botones) */
    .hero-left-panel {
        width: 100% !important;
        padding: 40px 20px 20px 20px !important;
        min-height: auto !important;
        order: 1; /* Aparece primero */
    }

    .hero-main-title {
        font-size: 1.8rem !important;
        text-align: center;
    }

    .hero-quote {
        font-size: 0.95rem !important;
        text-align: center;
        border-left: none;
        border-bottom: 2px solid var(--green-brand);
        padding: 0 0 15px 0;
    }

    /* 3. Panel Derecho (Imágenes) */
    .hero-right-panel {
        display: block !important;
        width: 100% !important;
        height: auto !important; /* Deja que el contenido defina la altura */
        position: relative !important;
        order: 2; /* Aparece después del texto */
        background: var(--purple-brand);
    }

    .hero-images-container {
        position: relative !important;
        height: 360px !important; /* Reserva espacio para la imagen */
    }

    /* 4. Ajuste de las Imágenes y sus Paneles de Información */
    .hero-image-card {
        position: absolute !important;
        inset: 0 !important;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .hero-image-card.active {
        opacity: 1 !important;
        z-index: 5;
    }

    /* CAMBIO CLAVE: El cuadro de información ahora es un degradado sutil abajo */
    .hero-description-floating {
        position: absolute !important;
        bottom: 0 !important;
        top: auto !important;
        right: 0 !important;
        left: 0 !important;
        max-width: 100% !important;
        padding: 40px 20px 20px 20px !important;
        background: linear-gradient(to top, rgba(0,0,0,0.9) 20%, transparent 100%) !important;
        backdrop-filter: blur(2px);
        border: none !important;
        box-shadow: none !important;
        text-align: left !important;
    }

    .hero-description-floating h3 {
        font-size: 1.3rem !important;
        margin-bottom: 5px !important;
        color: var(--green-brand) !important;
    }

    .hero-description-floating p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        background: transparent !important;
        padding: 0 !important;
    }

    /* 5. Cuadro de Datos (Barra de Estadísticas) */
   .stats-bar-floating {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    width: 100% !important;
    margin: 8px 0 0 0 !important;
    order: 3;

    /* 🎨 COLORES */
    background: linear-gradient(
        135deg,
        rgba(17, 175, 149, 0.55),
        rgba(17, 175, 149, 0.35)
    ) !important;

    padding: 10px 8px !important;
    min-width: 0 !important;
    gap: 8px !important;

    /* 🧊 Glass effect */
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(31, 202, 177, 0.35) !important;
    backdrop-filter: blur(6px);

    align-items: center !important;
    justify-content: space-around !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
}


    .stat-float-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 4px 6px !important;
        flex: 1 !important;
    }

    .stat-float-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2px !important;
    }

    .stat-float-number {
        font-size: 1.7rem !important;
        font-weight: 900 !important;
        background: linear-gradient(135deg, #ffffffe1 0%, #ffffffd3 100%) !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        line-height: 1 !important;
    }

    .stat-float-label {
        font-size: 0.6rem !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        line-height: 1.2 !important;
    }

    .stat-float-divider {
        width: 0.9px !important;
        height: 32px !important;
        background: linear-gradient(to bottom, transparent, rgba(59, 188, 168, 0.3), transparent) !important;
        margin: 0 4px !important;
    }
}