/* ============================================
   HERO SLIDER - CPL CONSULTORES
   VERSIÓN ÚNICA, LIMPIA Y CORREGIDA
   ============================================ */

/*------------------------------------------------------------------
  TÍTULO PRINCIPAL: ESTRUCTURA BASE DEL SLIDER
------------------------------------------------------------------*/

/*--- 1. CONTENEDOR PRINCIPAL DEL SLIDER ---*/
.hero-slider {
    width: 100%;
    height: 85vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    background-color: #00143C;
}

.hero-slider-native {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 72px;  /* ← AGREGA ESTO PARA PC */
    background-color: var(--cpl-azul);
}


@supports (height: 100dvh) {
    .hero-slider { height: 85dvh; }
}

@supports (-webkit-touch-callout: none) {
    .hero-slider { height: -webkit-fill-available; }
}

/*--- 2. EFECTOS VISUALES (GRADIENTES) ---*/
.hero-slider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 20, 60, 0.35) 40%, rgba(0, 20, 60, 0.9) 90%, #00143C 100%);
    z-index: 15;
    pointer-events: none;
}

.hero-slider::before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 900px;
    height: 60px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 50%, transparent 80%);
    border-radius: 50%;
    filter: blur(12px);
    z-index: 14;
    pointer-events: none;
    opacity: 0.7;
}

/*--- 3. SLIDER NATIVO - ESTRUCTURA BASE ---*/
.hero-slider-native,
.slider-container,
.slider-track,
.slider-slide {
    height: 100%;
}

.slider-container {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    align-items: center;
    transition: transform 0.5s ease-in-out;
}

.slider-slide {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100%;
    width: 100%;
    flex-shrink: 0;
}

/*--- 4. IMÁGENES DEL SLIDER ---*/
.slide-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/*--- 5. OVERLAY OSCURO ---*/
.slider-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.30) 50%, rgba(0,0,0,.20) 100%);
    pointer-events: none;
    backdrop-filter: none;
}

/*--- 6. CONTENIDO DEL SLIDE (DESKTOP) ---*/
.slide-content {
    position: absolute;
    bottom: 20%;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    color: var(--text-inverse);
    padding: 0 20px;
    margin: 0 auto;
    pointer-events: none;
}

.slide-content > * {
    pointer-events: auto;
}

.slider-slide-active .slide-content {
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/*--- 7. ACENTO DORADO ---*/
.hero-accent {
    width: 56px;
    height: 3px;
    background: var(--accent-gold);
    margin: 0 auto 20px auto;
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(184, 150, 58, 0.3);
}

/*--- 8. TÍTULOS Y TEXTOS (TAMAÑOS ORIGINALES ESCRITORIO) ---*/
.slide-title {
  font-size: clamp(1.6rem, 4.9vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    color: var(--text-inverse);
}

.slide-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 400;
    color: var(--text-inverse-soft);
    max-width: 700px;
    margin: 0 auto 2rem auto;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/*--- 9. BOTONES CTA ---*/
.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
    box-shadow: var(--shadow-soft);
    letter-spacing: 0.3px;
    min-height: 44px;
}

.btn-primary {
    background-color: #00143C;
    color: var(--text-inverse);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    color: var(--text-inverse);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-text-desktop { display: inline; }
.btn-text-mobile { display: none; }

/*--- 10. NAVEGACIÓN (FLECHAS) ---*/
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 20, 60, 0.5);
    backdrop-filter: blur(4px);
    color: var(--accent-gold);
    border: 1px solid rgba(184, 150, 58, 0.3);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }

.slider-nav:hover {
    background: var(--accent-gold);
    color: #00143C;
    border-color: var(--accent-gold);
}

/*--- 11. INDICADORES (DOTS) ---*/
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-gold);
    width: 26px;
    box-shadow: 0 0 15px var(--accent-gold);
}

/*--- 12. OPTIMIZACIONES DE RENDIMIENTO ---*/
.slider-slide,
.slide-picture img {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/*------------------------------------------------------------------
  MEDIA QUERIES - RESPONSIVE
------------------------------------------------------------------*/

/*============================================
  = TABLET (768px - 1024px)
  ============================================*/
@media (min-width: 768px) and (max-width: 1024px) {
    .slider-container { height: 70vh; min-height: 500px; }
    .slide-title { font-size: 2rem; }
    .slide-subtitle { font-size: 1rem; }
    .btn { padding: 10px 24px; font-size: 0.9rem; }
}

/*============================================
  = MÓVIL (max-width: 767px) - VERSIÓN CORREGIDA
  ============================================*/
@media (max-width: 767px) {
    
    /*--- CONTENEDOR PRINCIPAL ---*/
    .hero-slider-native {
        margin-top: 0;
        position: relative;
        top: 0;
        display: flex;
        align-items: center;
        min-height: auto;
        height: auto;
        padding-top: 40px !important;
    }
    
    .hero-slider {
        margin-top: 0 !important;
        position: relative;
        top: 0;
    }
    
    /*--- EFECTOS VISUALES MÓVIL ---*/
    .hero-slider::after {
        height: 50px;
        background: linear-gradient(to bottom, transparent 0%, rgba(0, 20, 60, 0.15) 30%, rgba(0, 20, 60, 0.4) 80%, #00143C 100%);
    }
    
    .hero-slider::before {
        bottom: 10px;
        width: 80%;
        height: 40px;
        background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 60%, transparent 85%);
        filter: blur(8px);
        opacity: 0.5;
    }
    
    .hero-slider-native::before,
    .hero-slider-native::after {
        display: none;
    }
    
    /*--- CONTENEDOR SLIDER ---*/
    .slider-container {
        height: auto !important;
        min-height: auto !important;
        width: 100%;
        position: relative;
    }
    
    .slider-track {
        height: auto;
        width: 100%;
    }
    
    /*--- SLIDES (MEJORA APLICADA A TODOS) ---*/
    .slider-slide {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 520px;
        height: 520px;
        position: relative;
        background-color: #00143C;
        aspect-ratio: 3 / 4;
    }
    
    /*--- IMÁGENES MÓVIL ---*/
    .slide-picture {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-color: #00143C;
    }
    
    .slide-picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
    }
    
    /*--- OVERLAY MÓVIL (MEJORA APLICADA A TODOS) ---*/
    .slider-slide::after {
        background: linear-gradient(135deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.06) 40%, rgba(0,0,0,0.04) 70%, rgba(0,0,0,0.08) 100%);
        backdrop-filter: none !important;
    }
    
    /*--- CONTENIDO MÓVIL (MEJORA APLICADA A TODOS) ---*/
    .slide-content {
        position: absolute !important;
       bottom: 85px !important;
    transform: translateY(0%) !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 10;
        width: 90%;
        padding: 20px !important;
        margin: 0 auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
       
    }
    
    .hero-accent {
        width: 40px;
        height: 2px;
        margin: 0 auto 6px auto;
        box-shadow: none;
    }
    
    .slide-title {
        font-size: clamp(0.9rem, 4vw, 1.3rem);
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 8px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
    }
    
    .slide-subtitle {
        font-size: clamp(0.65rem, 2.5vw, 0.85rem);
        font-weight: 500;
        margin: 0 auto 16px auto;
        max-width: 80%;
        line-height: 1.3;
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
        color: rgba(255, 255, 255, 0.95);
    }
    
    /*--- BOTONES MÓVIL ---*/
    .cta-group {
        flex-direction: column;
        gap: 8px;
        margin-top: 8px;
    }
    
    .cta-group .btn-secondary {
        display: none;
    }
    
    .btn {
        white-space: nowrap;
        padding: 8px 16px;
        font-size: 0.75rem;
        min-width: 130px;
        max-width: 150px;
        border-radius: 4px;
        margin: 0 auto;
        font-weight: 600;
    }
    
    .btn-primary {
        padding: 4px 12px;
        font-size: 0.65rem;
        min-width: 100px;
        background-color: #00143C;
        border-color: rgba(184, 150, 58, 0.3);
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
    }
    
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
    
    .btn-text-desktop { display: none; }
    .btn-text-mobile { display: inline; }
    
    /*--- NAVEGACIÓN MÓVIL ---*/
    .slider-nav { display: none; }
    
    /*--- DOTS MÓVIL ---*/
    .slider-dots { bottom: 4px; gap: 6px; }
    .dot { width: 5px; height: 5px; margin: 0 3px; }
    .dot.active { width: 14px; }
    
    /*--- ESTILOS EXCLUSIVOS PARA EL PRIMER SLIDE (SOLO POSICIÓN DE IMAGEN) ---*/
    .slider-slide.slide-primero .slide-picture img {
        object-position: 75% 25%;
    }
}

/*============================================
  = MÓVILES PEQUEÑOS (max-width: 480px)
  ============================================*/
@media (max-width: 480px) {
    .hero-slider { margin-top: 70px !important; padding: 0 0 2rem 0; }
    .slider-slide { min-height: 460px; height: 460px; }
    .slide-content { width: 92%; padding: 16px !important; transform: translateY(-25%); bottom: 35px !important; }
    .slide-title { font-size: 0.9rem; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); }
    .slide-subtitle { font-size: 0.65rem; max-width: 220px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7); }
    .btn { padding: 6px 12px; font-size: 0.7rem; min-width: 110px; }
}

/*============================================
  = TABLETS PEQUEÑAS (481px - 767px)
  ============================================*/
@media (min-width: 481px) and (max-width: 767px) {
    .slider-slide { min-height: 520px; height: 520px; }
    .slide-content { width: 85%; padding: 25px !important; transform: translateY(-30%); }
    .slide-title { font-size: 1.4rem; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7); }
    .slide-subtitle { font-size: 0.9rem; max-width: 400px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
    .btn { padding: 10px 20px; font-size: 0.85rem; min-width: 150px; }
}

/*============================================
  = PANTALLAS MUY PEQUEÑAS (max-width: 360px)
  ============================================*/
@media (max-width: 360px) {
    .slider-container { height: 320px; min-height: 300px; }
    .slide-title { font-size: 0.85rem; max-width: 240px; }
    .slide-subtitle { font-size: 0.6rem; max-width: 220px; }
    .btn-primary { padding: 4px 12px; font-size: 0.65rem; min-width: 100px; }
    .slide-content { bottom: 25px !important; }
}

/*============================================
  = PREFERENCIAS DE MOVIMIENTO REDUCIDO
  ============================================*/
@media (prefers-reduced-motion: reduce) {
    .slider-track { transition: none; }
    .btn { transition: none; }
    .hero-slider-native::before,
    .hero-slider-native::after { animation: none; }
    .slide-content { animation: none; }
}

/* \O.o/ - \O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ */

/* ============================================
   REPORTES - VERSIÓN OBSERVATORIO (ÚNICA)
   ============================================ */

.obs-section {
    background: #ffffff;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    padding: 80px 20px;
    position: relative;
}

.obs-section.section-divider::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--section-divider);
    pointer-events: none;
}

.obs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.obs-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.obs-icon {
    flex-shrink: 0;
}

.obs-icon img {
    width: 100px;
    height: auto;
    display: block;
}

.obs-text-content {
    flex: 1;
}

.obs-eyebrow {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.obs-title {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1rem 0;
}

.obs-title-link {
    text-decoration: none;
    color: #00143C;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.obs-title-link:hover {
    color: var(--accent-gold);
}

.obs-title-arrow {
    font-size: 1.8rem;
    opacity: 0.7;
    transition: transform 0.2s, opacity 0.2s;
    color: var(--accent-gold);
}

.obs-title-link:hover .obs-title-arrow {
    transform: translateX(5px);
    opacity: 1;
}

.obs-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0;
    line-height: 1.6;
}

/* ===== LISTA DE REPORTES ===== */
.obs-lista-reportes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2.5rem 0 3rem;
}

.obs-reporte {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.obs-reporte:hover {
    background-color: var(--gris-hover);
    border-color: var(--accent-gold);
    box-shadow: 0 4px 12px rgba(0, 20, 60, 0.08);
}

/* Zona izquierda - métrica */
.obs-reporte-metrica {
    min-width: 140px;
    padding-right: 2rem;
}

.obs-metrica-numero {
    font-size: 2.2rem;
    font-weight: 700;
    color: #00143C;
    display: block;
    line-height: 1.1;
}

.obs-metrica-concepto {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--accent-gold);
    font-weight: 600;
}

/* Zona central - información */
.obs-reporte-info {
    flex: 2;
    padding: 0 1rem;
}

.obs-reporte-titulo {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.35rem 0;
}

.obs-reporte-detalle {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.obs-reporte-detalle i {
    color: var(--accent-gold);
    width: 18px;
    margin-right: 0.3rem;
}

/* Zona derecha - enlace */
.obs-reporte-accion {
    min-width: 140px;
    text-align: right;
}

.obs-reporte-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #00143C;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.obs-reporte-link i {
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.obs-reporte:hover .obs-reporte-link {
    color: var(--accent-gold);
}

.obs-reporte:hover .obs-reporte-link i {
    transform: translateX(5px);
}

/* ===== BOTÓN CTA ===== */
.obs-cta {
    text-align: center;
    margin-top: 3rem;
}

.obs-button {
    background: var(--accent-gold);
    color: var(--text-inverse);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.obs-button:hover {
    background: #a17a2e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.obs-button-arrow {
    transition: transform 0.2s;
}

.obs-button:hover .obs-button-arrow {
    transform: translateX(5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .obs-reporte {
        padding: 1.25rem 1.5rem;
    }

    .obs-reporte-metrica {
        min-width: 120px;
        padding-right: 1rem;
    }

    .obs-metrica-numero {
        font-size: 1.8rem;
    }

    .obs-reporte-titulo {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .obs-section {
        padding: 60px 15px;
    }

    .obs-container {
        padding: 0 15px;
    }

    .obs-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .obs-title-link {
        font-size: 2rem;
    }

    .obs-subtitle {
        font-size: 1rem;
    }

    /* Ocultar reportes 3 y 4 en móvil */
    .obs-reporte-hidden-mobile {
        display: none !important;
    }

    /* Cada reporte en bloque vertical */
    .obs-reporte {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .obs-reporte-metrica {
        min-width: auto;
        padding-right: 0;
        width: 100%;
        border-bottom: 1px dashed var(--border-color);
        padding-bottom: 1rem;
    }

    .obs-reporte-info {
        padding: 0;
        width: 100%;
    }

    .obs-reporte-detalle {
        margin-top: 0.25rem;
    }

    .obs-reporte-accion {
        width: 100%;
        text-align: left;
        min-width: auto;
    }

    .obs-reporte-link {
        width: 100%;
        justify-content: center;
        background-color: var(--gris-hover);
        padding: 0.8rem;
    }

    /* Scroll effect */
    .obs-reporte.obs-reporte-scroll-active {
        border: 0.5px solid var(--accent-gold) !important;
        box-shadow: 0 0 0 1px rgba(184, 150, 58, 0.1), 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    }
}

@media (max-width: 480px) {
    .obs-title-link {
        font-size: 1.6rem;
    }

    .obs-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .obs-metrica-numero {
        font-size: 1.6rem;
    }

    .obs-reporte-titulo {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .obs-reporte:hover,
    .obs-reporte-link i,
    .obs-button:hover,
    .obs-title-link:hover .obs-title-arrow,
    .obs-button:hover .obs-button-arrow {
        transform: none;
        transition: none;
    }
}

/* \O.o/ - \O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ */

/* ============================================
   HERO CORE - home_hero-core.php
   ============================================ */

.hero-section-core {
    background: #00143C;
    min-height: 80vh;
    display: flex;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
}

.hero-core-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.hero-core-left {
    color: var(--text-inverse);
    padding-right: 2rem;
}

.hero-core-subtitle {
    color: var(--accent-gold);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.hero-core-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    color: var(--text-inverse);
}

.hero-core-description {
    font-size: 1.1rem;
    color: var(--text-inverse-soft);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-core-description strong {
    color: var(--accent-gold);
    font-weight: 600;
}

.hero-core-button {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--text-inverse);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.hero-core-button:hover {
    background: #a17a2e;
}

.hero-core-right {
    color: var(--text-inverse);
}

.hero-core-video-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-inverse);
}

.hero-core-video-subtitle {
    font-size: 1.1rem;
    color: var(--text-inverse-soft);
    margin-bottom: 1.5rem;
}

.hero-core-video-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    aspect-ratio: 16/9;
}

.hero-core-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-core-video-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 20, 60, 0.4);
    transition: background 0.3s;
}

.hero-core-video-thumb:hover::after {
    background: rgba(0, 20, 60, 0.6);
}

.hero-core-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
     transform: translate(-50%, -50%) !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.2rem;
    color: #00143C;
    z-index: 10;
}

.hero-core-play-btn:hover {
    background: rgba(255, 255, 255, 1);
}

/* MODAL DEL VIDEO */
.hero-core-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.hero-core-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #00143C;
    border-radius: 12px;
    padding: 20px;
}

.hero-core-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--text-inverse);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.hero-core-close-btn:hover {
    color: var(--accent-gold);
}

.hero-core-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.hero-core-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section-core {
        padding: 1.5rem;
    }

    .hero-core-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-core-left {
        padding-right: 0;
        text-align: center;
    }

    .hero-core-title {
        font-size: 2.2rem;
    }

    .hero-core-description {
        font-size: 1rem;
    }

    .hero-core-video-title {
        font-size: 1.6rem;
        text-align: center;
    }

    .hero-core-video-subtitle {
        text-align: center;
    }

    .hero-core-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-core-title {
        font-size: 1.8rem;
    }

    .hero-core-video-subtitle {
        font-size: 1rem;
    }

    .hero-core-play-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-core-button:hover,
    .hero-core-play-btn:hover,
    .hero-core-video-thumb::after {
        transition: none;
    }

    .hero-core-play-btn:hover {
        transform: translate(-50%, -50%);
    }
}

/* \O.o/ - \O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ */

/* ============================================
   GOOGLE REVIEWS - VERSIÓN CORREGIDA
   ============================================ */

#googler {
    background-color: #E8ECF1;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

/* LOGO DE GOOGLE */
.google-logo {
    width: 250px;
    height: 126px;
    object-fit: contain;
    display: block;
    margin: 0 auto 2rem auto;
    transition: transform 0.3s ease;
}

.google-logo:hover {
    transform: scale(1.05);
}

/* CONTENEDOR DEL CARRUSEL - SIN PADDING LATERAL EXCESIVO */
.google-review-carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0 3rem 0;  /* ← SIN padding lateral */
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.3s ease;
    gap: 1.5rem;
    padding: 0 1rem;  /* ← PADDING AQUÍ, NO EN EL PADRE */
    cursor: grab;
    user-select: none;
}

.carousel-container:active {
    cursor: grabbing;
}

/* CARD DE REVIEW - CORREGIDO */
.google-review-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);  /* ← AÑADIDO para consistencia */
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid rgba(0, 20, 60, 0.05);
}

.google-review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-gold);
}

/* ============================================
   BOTONES DE NAVEGACIÓN
   ============================================ */

.carousel-btn.prev-btn {
    position: absolute;
    top: 35%;
    left: 0;  /* ← PEGADO AL BORDE */
    /* transform: translateY(-50%); */
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.carousel-btn.next-btn {
    position: absolute;
    top: 35%;
    right: 0;  /* ← PEGADO AL BORDE */
    /* transform: translateY(-50%); */
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.carousel-btn.prev-btn:hover,
.carousel-btn.next-btn:hover {
    background: var(--accent-gold);
    box-shadow: var(--shadow-medium);
}

.carousel-btn svg {
    width: 22px;
    height: 22px;
    stroke: #00143C;
    transition: stroke 0.2s ease;
}

.carousel-btn:hover svg {
    stroke: white;
}

/* INDICADORES */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.indicator {
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--accent-gold);
    width: 50px;
}

/* Por defecto, ocultar todos los indicadores */
.desktop-indicator,
.mobile-indicator {
    display: none;
}

/* RESTAURAR ESTILOS INTERNOS DE LAS TARJETAS */
.review-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 2px solid #f0f0f0;
}

.review-meta {
    flex-grow: 1;
}

.reviewer-name {
    font-weight: 600;
    font-size: 1rem;
    color: #00143C;
    margin-bottom: 0.25rem;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.google-icon {
    width: 20px;
    height: 20px;
}

.review-rating {
    margin: 0.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars img {
    width: 18px;
    height: 18px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.toggle-more {
    background-color: transparent;
    border: none;
    color: var(--accent-gold);
    cursor: pointer;
    padding: 4px 0;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    transition: color 0.2s;
    align-self: flex-start;
}

.toggle-more:hover {
    color: #a17a2e;
    text-decoration: underline;
}

/* TOOLTIP */
.tooltip-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 0.5rem;
}

.tooltip-wrapper .tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: 180px;
    background-color: rgba(51, 51, 51, 0.95);
    color: #fff;
    text-align: left;
    border-radius: 8px;
    padding: 12px;
    position: absolute;
    z-index: 1000;
    top: 50%;
    left: 125%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    line-height: 1.4;
    transition: opacity 0.2s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tooltip-wrapper:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* ===================================== */
/* MEDIA QUERIES */
/* ===================================== */

/* ===== DESKTOP (≥769px) ===== */
@media (min-width: 769px) {
    /* Ocultar indicadores de móvil */
    .mobile-indicator {
        display: none !important;
    }
}


/* Pantallas medianas (≤1200px) */
@media (max-width: 1200px) {
    .google-review-card {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: calc(50% - 0.75rem);
    }
}

/* Tablet (≤992px) */
@media (max-width: 992px) {
    .container {
        padding: 1.5rem;
    }
}

/* Móvil (≤768px) */
@media (max-width: 768px) {


 /* Mostrar solo indicadores de móvil */
    .mobile-indicator {
        display: block;
    }
    
    /* Ocultar indicadores de desktop */
    .desktop-indicator {
        display: none !important;
    }

    .carousel-btn.prev-btn,
    .carousel-btn.next-btn {
        display: none;
    }

    .google-review-carousel {
        padding: 1rem 0 2rem 0;
    }

    .carousel-container {
        padding: 0 1rem;
    }

    .google-review-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .container {
        padding: 1rem;
    }

    .google-logo {
        width: 180px;
        height: auto;
    }
}

/* Móviles pequeños (≤480px) */
@media (max-width: 480px) {
    .google-review-card {
        padding: 1rem;
    }

    .review-text {
        font-size: 0.85rem;
    }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .google-review-card:hover,
    .carousel-btn.prev-btn:hover,
    .carousel-btn.next-btn:hover,
    .google-logo:hover {
        transform: none;
        transition: none;
    }

    .carousel-container {
        transition: none;
    }
}

/* \O.o/ - \O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ */

/* =====================================================
   BLOQUE GUÍA GRATUITA CPL - Home (2 columnas: texto + formulario)
   ===================================================== */
.guia-home {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.guia-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0; 
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' opacity='0.03'%3E%3Cpath fill='white' d='M10,10 L90,10 L90,90 L10,90 Z' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-size: 30px 30px;
    pointer-events: none;
}

.guia-home__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

/* Columna izquierda - Texto */
.guia-home__eyebrow {
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.guia-home__title {
    color: var(--text-inverse);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
}

.guia-home__description {
    color: var(--text-inverse-soft);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 550px;
    margin-bottom: 0;
}

/* Columna derecha - Formulario */
.guia-home__form-wrapper {
    width: 100%;
}

.guia-form {
    width: 100%;
}

/* Grupo de formulario - ESPACIOS REDUCIDOS */
.guia-form__group {
    margin-bottom: 16px;
    display: block;
    width: 100%;
    position: relative;
}

/* Inputs - PADDING REDUCIDO */
.guia-form__input,
.guia-form__select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-inverse);
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background 0.2s ease;
    height: 48px; /* Altura fija para todos los inputs */
}

.guia-form__select {
    height: 48px;
}

.guia-form__input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.1);
}

.guia-form__input::placeholder {
    color: var(--text-inverse-soft);
    opacity: 0.7;
}

.guia-form__input:focus::placeholder {
    opacity: 0.5;
}

/* Estilo para el select (desplegable) */
.guia-form__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    cursor: pointer;
    padding: 12px 16px;   /* Mismo padding que los inputs */
}

.guia-form__select option {
    background-color: var(--primary-color);
    color: white;
}

.guia-form__select option:first-child {
    color: rgba(255, 255, 255, 0.7);
}

/* Errores - TAMAÑO REDUCIDO */
.guia-form__error {
    color: #ff6b6b;
    font-size: 0.7rem;
    margin-top: 4px;
    height: 18px;
    min-height: 18px;
    max-height: 18px;
    display: block;
    line-height: 1.3;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.guia-form__error:empty {
    visibility: hidden;
    height: 18px;
    min-height: 18px;
}

/* Botones - PADDING REDUCIDO */
.guia-home__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 40px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
    font-size: 1rem;
    font-family: inherit;
    text-decoration: none;
    height: 48px;
}

.guia-home__btn--primary {
    background: var(--accent-gold);
    color: var(--primary-dark);
    width: 100%;
}

.guia-home__btn--primary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.guia-home__btn--success {
    background: #28a745;
    color: white;
    width: 100%;
}

.guia-home__btn--success:hover {
    background: #218838;
    transform: translateY(-2px);
}

.guia-home__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Estado del formulario */
.guia-form__status {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9rem;
    min-height: 50px;
}

.guia-form__status.error {
    color: #ff6b6b;
}

.guia-form__status.success {
    color: #28a745;
}

/* Estado de éxito */
.guia-success-state {
    text-align: center;
    animation: guiaFadeIn 0.5s ease;
}

@keyframes guiaFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guia-success__icon {
    margin-bottom: 20px;
}

.guia-success__icon svg {
    stroke: var(--accent-gold);
    animation: guiaCheckmark 0.5s ease-in-out 0.2s both;
}

@keyframes guiaCheckmark {
    0% {
        stroke-dashoffset: 100;
        opacity: 0;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.guia-success__title {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.guia-success__message {
    color: var(--text-inverse);
    font-size: 1rem;
    margin-bottom: 25px;
}

/* Loading spinner */
.guia-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-dark);
    animation: guiaSpin 0.6s linear infinite;
    margin-right: 10px;
}

@keyframes guiaSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Mensaje de advertencia */
.guia-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.guia-message--warning {
    background: rgba(255, 193, 7, 0.2);
    border-left: 4px solid #ffc107;
    color: #ffc107;
}

.guia-message--warning i {
    margin-right: 10px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
/* Tablet */
@media (max-width: 992px) {
    .guia-home__container {
        gap: 40px;
    }
    
    .guia-home__title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .guia-home {
        padding: 60px 0;
    }
    
    .guia-home__container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .guia-home__description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .guia-home__title {
        font-size: 1.8rem;
    }
    
    .guia-success__title {
        font-size: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .guia-home {
        padding: 40px 0;
    }
    
    .guia-home__title {
        font-size: 1.5rem;
    }
    
    .guia-home__description {
        font-size: 1rem;
    }
    
    .guia-home__btn {
        padding: 12px 25px;  /* Ajustado para mobile */
        font-size: 0.9rem;
    }
    
    .guia-form__input,
    .guia-form__select {
        padding: 10px 14px;  /* Aún más compacto en mobile */
    }
    
    .guia-success__title {
        font-size: 1.3rem;
    }
}

/* \O.o/ - \O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ */

/* ============================================
   PUBLICACIONES - home_publicaciones.php
   ============================================ */

.pindex-noticias-section {
    background-color: #EDF2F6;
    padding: 5rem 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    position: relative;
}

.pindex-noticias-section.section-divider::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--section-divider);
    pointer-events: none;
}

.pindex-noticias-container {
    max-width: 1400px;
    margin: 0 auto;
}

.pindex-noticias-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pindex-noticias-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #00143C;
    margin: 0 0 0.5rem 0;
    position: relative;
    display: inline-block;
}

.pindex-noticias-header h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

/* ===== GRID DE TARJETAS ===== */
.pindex-noticias-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* ===== TARJETA - ALTURA FIJA Y CONSISTENTE ===== */
.pindex-noticia-item {
    background: #ffffff;
    border-radius: var(--home-card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0, 20, 60, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;  /* ← TARJETAS DE IGUAL ALTURA */
}

.pindex-noticia-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-gold);
}

/* ===== IMAGEN ===== */
.pindex-noticia-item figure {
    margin: 0;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;  /* ← EVITA QUE LA IMAGEN SE ENCOJA */
}

.pindex-noticia-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pindex-noticia-item:hover img {
    transform: scale(1.05);
}

/* ===== CONTENIDO DE LA TARJETA ===== */
.pindex-noticia-item > div {
    padding: 1.5rem;
    flex: 1;  /* ← OCUPA EL ESPACIO RESTANTE */
    display: flex;
    flex-direction: column;
}

/* ===== TÍTULO - CORREGIDO PARA TÍTULOS LARGOS ===== */
.pindex-noticia-item h4 {
    font-size: 1.0rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0 0 1rem 0;
    /* ← NUEVO: Control para títulos largos */
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    line-clamp: 3; /* ← MÁXIMO 3 LÍNEAS */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1.2rem * 1.4 * 3);  /* ← ALTURA MÍNIMA PARA 3 LÍNEAS */
}

.pindex-noticia-item h4 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.pindex-noticia-item h4 a:hover {
    color: var(--accent-gold);
}

/* ===== METADATOS (AUTOR Y FECHA) ===== */
.pindex-noticia-item ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-medium);
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 20, 60, 0.05);
    margin-top: auto;  /* ← EMPUJA LOS METADATOS HACIA ABAJO */
}

.pindex-noticia-item ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pindex-noticia-item ul li i {
    color: var(--accent-gold);
    font-size: 0.85rem;
}

/* ===== BOTÓN VER MÁS ===== */
.pindex-noticias-container > p {
    text-align: center;
    margin-top: 2rem;
}

.pindex-noticias-section button {
    background: var(--accent-gold);
    color: var(--text-inverse);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.pindex-noticias-section button:hover {
    background: #a17a2e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.pindex-noticias-section button::after {
    content: '→';
    transition: transform 0.2s;
}

.pindex-noticias-section button:hover::after {
    transform: translateX(5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .pindex-noticias-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pindex-noticia-item figure {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .pindex-noticias-section {
        padding: 3rem 1rem;
    }

    .pindex-noticias-header {
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .pindex-noticias-header h3 {
        font-size: 1.8rem;
    }

    .pindex-noticias-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    /* En móvil solo mostrar 2 tarjetas */
    .pindex-noticia-item:nth-child(3),
    .pindex-noticia-item:nth-child(4) {
        display: none !important;
    }

    .pindex-noticia-item figure {
        height: 200px;
    }

    .pindex-noticia-item h4 {
        font-size: 1.1rem;
        -webkit-line-clamp: 2; 
        line-clamp: 2; /* ← 2 LÍNEAS EN MÓVIL */
        min-height: calc(1.1rem * 1.4 * 2);
    }

    .pindex-noticia-item ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .pindex-noticias-section button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pindex-noticias-header h3 {
        font-size: 1.6rem;
    }

    .pindex-noticias-grid {
        max-width: 300px;
        gap: 1rem;
    }

    .pindex-noticia-item figure {
        height: 180px;
    }

    .pindex-noticia-item > div {
        padding: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pindex-noticia-item:hover,
    .pindex-noticia-item:hover img,
    .pindex-noticias-section button:hover,
    .pindex-noticias-section button:hover::after {
        transform: none;
        transition: none;
    }
}

/* \O.o/ - \O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ */

/* ============================================
   KPI CONTADOR - home_kpi-contador.php
   VERSIÓN OSCURA CON EFECTO REFLEJO
   ============================================ */

.hz-kpi {
    background-color: #001640;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
}

.hz-kpi.section-divider::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--section-divider);
    pointer-events: none;
}

.container-kpi {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== TARJETA KPI - TRANSLÚCIDA ===== */
.kpi-card {
    flex: 1 1 220px;
    max-width: 260px;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 25px 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Línea superior brillante */
.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 12px 12px 0 0;
}

/* EFECTO REFLEJO al hacer hover */
.kpi-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.kpi-card:hover::after {
    left: 100%;
}

.kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

/* ===== CONTENIDO INTERNO ===== */
.card-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

/* ===== ICONO ===== */
.kpi-icon {
    font-size: 38px;
    margin-bottom: 15px;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.kpi-card:hover .kpi-icon {
    transform: scale(1.1);
    color: #4dabf7;
}

/* ===== NÚMERO ===== */
.kpi-number {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.2;
    margin: 10px 0;
    letter-spacing: 0.5px;
}

.kpi-number .counter {
    display: inline-block;
    min-width: 40px;
}

/* ===== ETIQUETA ===== */
.kpi-label {
    font-size: 14px;
    letter-spacing: 0.8px;
    margin-top: 10px;
    color: #e0e0e0;
    padding: 0 10px;
    line-height: 1.4;
}

/* ===== PANTALLAS GRANDES (≥1400px) ===== */
@media (min-width: 1400px) {
    .container-kpi {
        max-width: 1300px;
        gap: 35px;
    }

    .kpi-card {
        max-width: 280px;
        min-height: 220px;
        padding: 30px 20px;
    }

    .kpi-icon {
        font-size: 42px;
    }

    .kpi-number {
        font-size: 32px;
    }

    .kpi-label {
        font-size: 15px;
    }
}

/* ===== TABLET (≤768px) ===== */
@media (max-width: 768px) {
    .container-kpi {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 500px;
        padding: 0 15px;
    }

    .kpi-card {
        max-width: 100%;
        width: 100%;
        min-height: 180px;
        padding: 20px 10px;
    }

    .kpi-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .kpi-number {
        font-size: 24px;
        margin: 8px 0;
    }

    .kpi-card[data-kpi-index="0"] .kpi-number {
        font-size: 22px;
    }

    .kpi-label {
        font-size: 13px;
        letter-spacing: 0.5px;
        padding: 0 5px;
    }

    .kpi-card:hover {
        transform: translateY(-3px);
    }
}

/* ===== MÓVIL PEQUEÑO (≤480px) ===== */
@media (max-width: 480px) {
    .container-kpi {
        gap: 15px;
        padding: 0 10px;
    }

    .kpi-card {
        min-height: 160px;
        padding: 15px 8px;
        border-radius: 10px;
    }

    .kpi-number {
        font-size: 22px;
    }

    .kpi-card[data-kpi-index="0"] .kpi-number {
        font-size: 20px;
    }

    .kpi-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .kpi-label {
        font-size: 12px;
        margin-top: 8px;
    }
}

/* \O.o/ - \O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ */

/* ============================================
   ALIADOS - home_aliados.php
   ============================================ */

.hz-aliados-section {
    background-color: #EDF2F6;
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    position: relative;
}

.hz-aliados-section.section-divider::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--section-divider);
    pointer-events: none;
}

.hz-aliados-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.hz-aliados-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

#aliados h2 {
    color: #00143C;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

#aliados h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.hz-aliados-intro {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-top: 20px;
}

.hz-aliados-intro .highlight {
    color: var(--accent-gold);
    font-weight: 600;
}

/* ===== ESCRITORIO: GRID NORMAL (TODAS LAS TARJETAS VISIBLES) ===== */
.hz-aliados-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    width: 100%;
    margin: 0 auto;
}

/* ===== TARJETAS ===== */
.hz-aliados-item {
    width: 100%;
    background: #ffffff;
    border-radius: var(--home-card-radius);
    border: 1px solid rgba(0, 20, 60, 0.05);
    transition: var(--transition);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.hz-aliados-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-gold);
}

.hz-aliados-item-content {
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
}

.hz-aliados-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    background-color: #f8f8f8;
    min-height: 140px;
    overflow: hidden;
}

.hz-aliados-logo {
    width: 100%;
    height: 140px;
    object-fit: contain;
    background-color: #f8f8f8;
    padding: 10px;
}

.hz-aliados-nombre {
    color: #00143C;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    padding: 15px 10px;
    background: rgba(184, 150, 58, 0.08);
    border-radius: 0 0 var(--home-card-radius) var(--home-card-radius);
    width: 100%;
    transition: var(--transition);
    margin-top: auto;
    line-height: 1.3;
}

.hz-aliados-item:hover .hz-aliados-nombre {
    background: rgba(184, 150, 58, 0.15);
}

/* ===== TABLET (≤1024px): AJUSTAR COLUMNAS ===== */
@media (max-width: 1024px) {
    .hz-aliados-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* ===== MÓVIL (≤768px): CARRUSEL TÁCTIL (1 TARJETA A LA VEZ) ===== */
@media (max-width: 768px) {
    .hz-aliados-container {
        padding: 40px 15px;
    }

    #aliados h2 {
        font-size: 1.8rem;
    }

    .hz-aliados-intro {
        font-size: 0.95rem;
    }

    /* Carrusel horizontal - 1 tarjeta visible */
    .hz-aliados-row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 15px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .hz-aliados-row::-webkit-scrollbar {
        display: none;
    }

    .hz-aliados-item {
        flex: 0 0 calc(100% - 30px);
        scroll-snap-align: start;
        width: auto;
        margin: 0 15px 0 0;
    }

    .hz-aliados-item:first-child {
        margin-left: 0;
    }

    .hz-aliados-item:last-child {
        margin-right: 0;
    }

    .hz-aliados-logo {
        height: 120px;
    }

    .hz-aliados-nombre {
        font-size: 0.85rem;
        padding: 10px 6px;
    }
}

/* ===== MÓVIL PEQUEÑO (≤480px) ===== */
@media (max-width: 480px) {
    .hz-aliados-container {
        padding: 30px 10px;
    }

    #aliados h2 {
        font-size: 1.6rem;
    }

    .hz-aliados-intro {
        font-size: 0.9rem;
    }

    .hz-aliados-item {
        flex: 0 0 calc(100% - 20px);
    }

    .hz-aliados-logo {
        height: 100px;
    }

    .hz-aliados-nombre {
        font-size: 0.8rem;
        padding: 8px 4px;
    }
}

/* ===== DOTS (solo visibles en móvil) ===== */
.aliados-dots {
    display: none;
}

@media (max-width: 768px) {
    .aliados-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .aliados-dot {
        width: 8px;
        height: 8px;
        background: #ccc;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .aliados-dot.active {
        width: 24px;
        background: var(--accent-gold);
        border-radius: 10px;
    }
}

/* \O.o/ - \O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ */

/* ============================================
   VENTAJAS - home_ventajas.php
   VERSIÓN: FONDO AZUL, TARJETAS TRASLÚCIDAS, ACENTOS DORADOS
   ============================================ */

.hz-ventajas-section {
    position: relative;
    background-color: #001540;  /* Fondo azul institucional */
}

.hz-ventajas-section.section-divider::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.hz-ventajas-bg {
    position: relative;
    background-color: transparent;
    overflow: hidden;
}

.hz-ventajas-contenido {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    color: #ffffff;
}

/* ===== HEADER ===== */
.hz-ventajas-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.hz-ventajas-titulo {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.hz-ventajas-titulo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);  /* Dorado */
    border-radius: 2px;
}

.hz-ventajas-intro {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-top: 20px;
}

.hz-ventajas-intro .highlight {
    color: var(--accent-gold);  /* Dorado */
    font-weight: 600;
}

/* ===== GRID ===== */
.hz-ventajas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== TARJETAS TRASLÚCIDAS ===== */
.hz-ventajas-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.hz-ventajas-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
    border-color: rgba(184, 150, 58, 0.4);  /* Dorado */
    background: rgba(255, 255, 255, 0.08);
}

.hz-ventajas-item-content {
    padding: 35px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

/* ===== ICONOS (dorados) ===== */
.hz-ventajas-icono {
    filter: brightness(0) invert(1);
    margin-bottom: 25px;
    width: 70px;
    height: 70px;
    transition: all 0.3s ease;
}

.hz-ventajas-item:hover .hz-ventajas-icono {
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 0 8px var(--accent-gold));
}

/* ===== TÍTULOS (blancos con línea dorada) ===== */
.hz-ventajas-subtitulo {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.hz-ventajas-subtitulo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent-gold);  /* Dorado */
    transition: width 0.3s ease;
}

.hz-ventajas-item:hover .hz-ventajas-subtitulo::after {
    width: 60px;
}

/* ===== TEXTO ===== */
.hz-ventajas-texto {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1rem;
    margin-top: 10px;
    flex: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hz-ventajas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hz-ventajas-contenido {
        padding: 40px 15px;
    }

    .hz-ventajas-titulo {
        font-size: 1.8rem;
    }

    .hz-ventajas-intro {
        font-size: 0.95rem;
    }

    .hz-ventajas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hz-ventajas-item-content {
        padding: 25px 20px;
    }

    .hz-ventajas-icono {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .hz-ventajas-subtitulo {
        font-size: 1.2rem;
    }

    .hz-ventajas-texto {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hz-ventajas-contenido {
        padding: 30px 10px;
    }

    .hz-ventajas-titulo {
        font-size: 1.6rem;
    }

    .hz-ventajas-intro {
        font-size: 0.9rem;
    }

    .hz-ventajas-item-content {
        padding: 20px 15px;
    }

    .hz-ventajas-icono {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .hz-ventajas-subtitulo {
        font-size: 1.1rem;
    }

    .hz-ventajas-texto {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .hz-ventajas-item-content {
        padding: 15px 12px;
    }

    .hz-ventajas-icono {
        width: 45px;
        height: 45px;
    }

    .hz-ventajas-subtitulo {
        font-size: 1rem;
    }

    .hz-ventajas-texto {
        font-size: 0.85rem;
    }
}

/* \O.o/ - \O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ */

/* ============================================
   ALIANZA LEGAL DEL PACÍFICO - home_alianza.php
   VERSIÓN: GRID DESKTOP, CARRUSEL MÓVIL
   ============================================ */

.pi-section-white {
    background-color: #f4f6f6;
    color: #333333;
    position: relative;
}

.pi-section-white.section-divider::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--section-divider);
    pointer-events: none;
}

.Hz-Alianza-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.Hz-Alianza-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

#alianza-title {
    color: #00143C;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

#alianza-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.Hz-Alianza-intro {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-top: 20px;
}

.Hz-Alianza-intro .highlight {
    color: var(--accent-gold);
    font-weight: 600;
}

/* ===== ESCRITORIO: GRID NORMAL ===== */
.Hz-Alianza-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    width: 100%;
    margin: 0 auto;
}

/* ===== TARJETAS ===== */
.Hz-Alianza-item {
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 20, 60, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.Hz-Alianza-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-gold);
}

.Hz-Alianza-item-content {
    padding: 25px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-height: 200px;
}

.Hz-Alianza-pais {
    color: #00143C;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
    flex-shrink: 0;
}

.Hz-Alianza-pais::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.Hz-Alianza-item:hover .Hz-Alianza-pais::after {
    width: 50px;
}

.Hz-Alianza-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    width: 100%;
    flex: 1;
}

.Hz-Alianza-item:hover .Hz-Alianza-link {
    transform: scale(1.05);
}

.Hz-Alianza-logo {
    max-width: 140px;
    max-height: 80px;
    width: auto;
    height: auto;
    border-radius: 6px;
    transition: all 0.3s ease;
    filter: grayscale(20%);
    object-fit: contain;
}

.Hz-Alianza-item:hover .Hz-Alianza-logo {
    filter: grayscale(0%);
    box-shadow: 0 6px 16px rgba(184, 150, 58, 0.15);
}

/* ===== TABLET (≤1024px) ===== */
@media (max-width: 1024px) {
    .Hz-Alianza-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .Hz-Alianza-item-content {
        padding: 20px 12px;
        min-height: 180px;
    }

    .Hz-Alianza-logo {
        max-width: 120px;
        max-height: 70px;
    }
}

/* ===== MÓVIL (≤768px): CARRUSEL TÁCTIL ===== */
@media (max-width: 768px) {
    .Hz-Alianza-container {
        padding: 40px 15px;
    }

    .Hz-Alianza-header {
        margin-bottom: 30px;
        padding: 0 10px;
    }

    #alianza-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .Hz-Alianza-intro {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-top: 15px;
    }

    /* Carrusel horizontal - 1 tarjeta visible */
    .Hz-Alianza-row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 15px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .Hz-Alianza-row::-webkit-scrollbar {
        display: none;
    }

    .Hz-Alianza-item {
        flex: 0 0 calc(100% - 30px);
        scroll-snap-align: start;
        width: auto;
        margin: 0 15px 0 0;
    }

    .Hz-Alianza-item:first-child {
        margin-left: 0;
    }

    .Hz-Alianza-item:last-child {
        margin-right: 0;
    }

    .Hz-Alianza-item-content {
        padding: 20px 15px;
        min-height: auto;
    }

    .Hz-Alianza-pais {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* --- IMAGEN MÁS GRANDE EN MÓVIL (como en Aliados) --- */
    .Hz-Alianza-logo {
        max-width: 160px;
        max-height: 100px;
        width: auto;
        height: auto;
    }

    .Hz-Alianza-item:hover {
        transform: translateY(-3px);
    }
}

/* ===== MÓVIL PEQUEÑO (≤480px) ===== */
@media (max-width: 480px) {
    .Hz-Alianza-container {
        padding: 30px 10px;
    }

    #alianza-title {
        font-size: 1.6rem;
    }

    .Hz-Alianza-intro {
        font-size: 0.9rem;
    }

    .Hz-Alianza-item {
        flex: 0 0 calc(100% - 20px);
    }

    .Hz-Alianza-item-content {
        padding: 15px 12px;
    }

    .Hz-Alianza-pais {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    /* Imagen aún más grande en móvil pequeño */
    .Hz-Alianza-logo {
        max-width: 140px;
        max-height: 90px;
    }
}

/* ===== DOTS (solo visibles en móvil) ===== */
.alianza-dots {
    display: none;
}

@media (max-width: 768px) {
    .alianza-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .alianza-dot {
        width: 8px;
        height: 8px;
        background: #ccc;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .alianza-dot.active {
        width: 24px;
        background: var(--accent-gold);
        border-radius: 10px;
    }
}

/* \O.o/ - \O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ */

/* ============================================
   CLIENTES - home_clientes.php
   VERSIÓN: GRID DESKTOP, 2x1 EN MÓVIL (centrado)
   ============================================ */

.hz-clientes-scroll {
    padding: 60px 20px;
    background: #00143C;
    position: relative;
}

.hz-clientes-scroll.section-divider::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.hz-clientes-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-inline: auto;
}

.hz-clientes-titulo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.hz-clientes-titulo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.hz-clientes-titulo .highlight {
    color: var(--accent-gold);
}

.hz-clientes-descripcion {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== DESKTOP: GRID NORMAL ===== */
.hz-clientes-grid-desktop {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.hz-cliente-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    min-height: 120px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hz-cliente-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-gold);
}

/* Desktop: con filtro gris */
.hz-cliente-logo {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.hz-cliente-link:hover .hz-cliente-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ===== MÓVIL: SCROLL HORIZONTAL (SIN FILTRO) ===== */
.hz-clientes-scroll-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hz-clientes-scroll {
        padding: 40px 0;
        background: #00143C;
    }

    .hz-clientes-grid-desktop {
        display: none;
    }

    .hz-clientes-scroll-mobile {
        display: block;
    }

    .hz-clientes-titulo {
        font-size: 1.8rem;
        color: #ffffff;
    }

    .hz-clientes-descripcion {
        font-size: 0.95rem;
        padding: 0 20px;
        color: rgba(255, 255, 255, 0.85);
    }

    .scroll-container {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 20px 0 40px 0;
        margin: 0;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
    }

    .scroll-container::-webkit-scrollbar {
        display: none;
    }

    .scroll-content {
        display: flex;
        gap: 0;
        padding: 0;
    }

    .scroll-group {
        flex: 0 0 100%;
        max-width: 100%;
        scroll-snap-align: start;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .scroll-item {
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        background: #ffffff;
        border-radius: 16px;
        padding: 35px 20px;
        min-height: 170px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .scroll-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        border-color: var(--accent-gold);
    }

    /* MÓVIL: SIN FILTRO, LOGOS NÍTIDOS Y A COLOR */
    .scroll-logo {
        max-width: 95%;
        max-height: 120px;
        width: auto;
        height: auto;
        object-fit: contain;
        /* SIN filter: grayscale(100%) */
        /* SIN opacity: 0.7 */
        transition: all 0.3s ease;
        margin: 0 auto;
    }

    .scroll-item:hover .scroll-logo {
        transform: scale(1.05);
    }

    @keyframes bounceHorizontal {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(5px); }
    }
}

/* ===== MÓVIL PEQUEÑO (≤480px) ===== */
@media (max-width: 480px) {
    .scroll-group {
        padding: 0 12px;
    }

    .scroll-item {
        padding: 30px 15px;
        min-height: 150px;
    }

    .scroll-logo {
        max-height: 100px;
        max-width: 95%;
    }

    .hz-clientes-titulo {
        font-size: 1.6rem;
    }
}

/* ===== PANTALLAS MUY PEQUEÑAS (≤360px) ===== */
@media (max-width: 360px) {
    .scroll-group {
        padding: 0 10px;
    }

    .scroll-item {
        padding: 25px 12px;
        min-height: 130px;
    }

    .scroll-logo {
        max-height: 85px;
    }
}
/* \O.o/ - \O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ */

/* ============================================
   GALERÍA DE OFICINAS - home_galeria.php
   ============================================ */

.hz-section-galeria {
    background-color: #EDF2F6;  /* Fondo consistente con otras secciones */
    padding: 60px 20px;
    position: relative;
}

.hz-section-galeria.section-divider::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--section-divider);
    pointer-events: none;
}

.hz-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Reutilizamos los estilos de header de clientes para consistencia */
.hz-section-galeria .hz-clientes-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-inline: auto;
}

.hz-section-galeria .hz-clientes-titulo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00143C;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.hz-section-galeria .hz-clientes-titulo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.hz-section-galeria .hz-clientes-titulo .highlight {
    color: var(--accent-gold);
}

.hz-section-galeria .hz-clientes-descripcion {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== GALERÍA GRID ===== */
.hz-galeria {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    position: relative;
}

/* ===== ITEM DE GALERÍA ===== */
.hz-galeria-item {
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    cursor: pointer;
}

.hz-galeria-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hz-galeria-item:hover img {
    transform: scale(1.08);
}

/* ===== OVERLAY EFECTO (opcional) ===== */
.hz-galeria-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 20, 60, 0) 0%, rgba(0, 20, 60, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 12px;
}

.hz-galeria-item:hover::after {
    opacity: 1;
}

/* ===== ESCRITORIO (≥768px) ===== */
@media (min-width: 768px) {
    .hz-galeria {
        grid-template-columns: repeat(3, 1fr);
    }

    .hz-galeria-mobile-only {
        display: none;
    }
}

/* ===== TABLET (481px - 767px) ===== */
@media (min-width: 481px) and (max-width: 767px) {
    .hz-galeria {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .hz-galeria-mobile-only {
        display: block;
    }
}

/* ===== MÓVIL (≤480px) ===== */
@media (max-width: 480px) {
    .hz-section-galeria {
        padding: 40px 15px;
    }

    .hz-section-galeria .hz-clientes-titulo {
        font-size: 1.8rem;
    }

    .hz-section-galeria .hz-clientes-descripcion {
        font-size: 0.95rem;
    }

    .hz-galeria {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hz-galeria-mobile-only {
        display: block;
    }
}

/* ===== MÓVIL MUY PEQUEÑO (≤360px) ===== */
@media (max-width: 360px) {
    .hz-galeria {
        gap: 10px;
    }
}

/* \O.o/ - \O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ */

/* ============================================
   PREFERENCIAS DE MOVIMIENTO REDUCIDO
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    /* Slider */
    .slider-slide::after,
    .slider-slide-active .slide-content,
    .hero-accent,
    
    /* Google Reviews */
    .google-review-card:hover,
    .carousel-btn:hover,
    .google-logo:hover,
    
    /* Hero Core */
    .hero-core-button:hover,
    .hero-core-play-btn:hover,
    .hero-core-video-thumb::after,
    
    /* Publicaciones */
    .pindex-noticia-item:hover,
    .pindex-noticia-item:hover img,
    .pindex-noticias-section button:hover,
    .pindex-noticias-section button:hover::after,
    
    /* Reportes */
    .obs-card:hover,
    .obs-card:hover .obs-card-image img,
    .obs-button:hover,
    .obs-title-link:hover .obs-title-arrow,
    .obs-button:hover .obs-button-arrow,
    
    /* KPI */
    .kpi-card:hover,
    .kpi-card:hover .kpi-icon,
    
    /* Aliados / Alianza / Clientes */
    .hz-aliados-item:hover,
    .Hz-Alianza-item:hover,
    .scroll-item:hover,
    .hz-cliente-link:hover,
    
    /* Botones generales */
    .btn:hover,
    .scroll-top-btn:hover {
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    /* Eliminar efectos de blur */
    .slider-slide::after,
    .btn-secondary {
        backdrop-filter: none !important;
    }
}

/* \O.o/ - \O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ */

/* ============================================
   DOTS - SOLO VISIBLES EN MÓVIL
   ============================================ */


.aliados-dots,
.alianza-dots,
.clientes-dots,
.aliados-dot,
.alianza-dot,
.clientes-dot {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.aliados-dots,
.alianza-dots {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

.aliados-dot,
.alianza-dot {
    opacity: 1 !important;
    transform: none !important;
}


@media (max-width: 768px) {
    .clientes-dots,
    .aliados-dots,
    .alianza-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }
    
    /* Dots para fondos claros (Aliados y Alianza) */
    .aliados-dot,
    .alianza-dot {
        width: 8px;
        height: 8px;
        background: #ccc;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .aliados-dot.active,
    .alianza-dot.active {
        width: 24px;
        background: var(--accent-gold);
        border-radius: 10px;
    }
    
    /* Dots para fondo azul institucional (Clientes) */
    .clientes-dot {
        width: 8px;
        height: 8px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .clientes-dot.active {
        width: 24px;
        background: var(--accent-gold);
        border-radius: 10px;
    }
}

/* \O.o/ - \O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ -\O.o/ */