/* ==========================================================================
   1. RESET BÁSICO Y VARIABLES GLOBALES
   ========================================================================== */
:root {
    --amarillo-subsco: #febc07;
    --negro: #000000;
    --gris-fondo: #f8f9fa;
    --texto-oscuro: #1e293b;
    --texto-mutado: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000000; 
    color: #ffffff;
    line-height: 1.6;
}

/* ==========================================================================
   2. CONTROL TIPOGRÁFICO GLOBAL (MONTSERRAT INDESTRUCTIBLE)
   ========================================================================== */
html, body, div, span, p, a, li, strong, b, em, button, input, select, textarea, .btn, [class*="btn-"] {
    font-family: 'Montserrat', sans-serif !important;
}

/* Fuerza Montserrat en todos los encabezados del sitio */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif !important;
}

/* 🎯 UNIFICACIÓN DE TODOS LOS TÍTULOS DEL SITIO (Idénticos a image_d33c7b.png) */
.brochure-intro h1,
.resumen-texto h2,
#valores-corporativos .valores-titulo,
.cobertura-intro h1,
.hero-overlay-content h1,
.servicios-header .titulo {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important; /* Peso extra-bold uniforme */
    letter-spacing: -0.5px;
    line-height: 1.2;
}

strong, b {
    font-weight: 700;
}

/* ==========================================================================
   3. BARRA DE NAVEGACIÓN (NAVBAR)
   ========================================================================== */
.navbar {
    background-color: #161616; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo img {
    height: 70px;       
    width: auto;        
    display: block;     
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    list-style: none; 
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none; 
    color: #ffffff;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.5rem 0;
    position: relative; 
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--amarillo-subsco); 
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--amarillo-subsco);
    transform: scaleX(0);
    transform-origin: bottom left;
    transition: transform 0.3s ease-in-out;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
}

.nav-links li a.active-page {
    color: var(--amarillo-subsco) !important;
    font-weight: 700 !important;
}

.nav-links li a.active-page::after {
    transform: scaleX(1) !important; 
}

/* ── DROPDOWN SERVICIOS — sin submenú ── */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #ffffff;
    min-width: 260px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
    z-index: 999;
    overflow: hidden;
}

.dropdown-menu li a {
    display: block;
    padding: 13px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111111;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: #febc07;
    color: #111111;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeDown 0.18s ease;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        border-left: 3px solid #febc07;
        margin-left: 12px;
        min-width: unset;
    }
}
/* Responsive Navbar */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 101;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--amarillo-subsco); 
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: #2c2c2c; 
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: all 0.4s ease;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links li {
        text-align: center;
        width: 100%;
    }

    .menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ==========================================================================
   4. PÁGINA DE INICIO (HERO VIDEO, MISIÓN/VISIÓN Y RESUMEN)
   ========================================================================== */
.hero-video-container {
    position: relative;
    width: 100%;
    min-height: 85vh; 
    padding: 10px 0; 
    background-color: #000000; 
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65); 
    z-index: 2;
}

.hero-content {
    position: relative; 
    z-index: 10;        
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    max-width: 350px;  
    width: 100%;       
    height: auto;      
    margin-bottom: 1.5rem;
    filter: drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.8)); 
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--amarillo-subsco); 
    font-weight: 500;
    margin-bottom: 2.5rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 0.8rem 2.2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px; 
}

.hero-btn:hover {
    background-color: var(--amarillo-subsco);
    color: #000000;
    border-color: var(--amarillo-subsco);
    transform: translateY(-2px); 
    box-shadow: 0 4px 15px rgba(247, 243, 56, 0.3); 
}

/* Misión y Visión */
.seccion-mision-vision {
    background-color: var(--amarillo-subsco);
    padding: 60px 20px;
}

.contenedor-mv {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; 
    gap: 40px;
}

.mv-fila-imagenes {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.mv-caja-foto { flex: 1; }
.mv-caja-foto img {
    width: 100%;
    height: 280px;      
    object-fit: cover;
    border-radius: 0 !important; 
    display: block;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.mv-fila-textos {
    display: flex;
    flex-direction: row; 
    gap: 50px;
}

.bloque-mv { flex: 1; }
.bloque-mv h3 {
    font-size: 1.4rem;
    color: var(--negro);
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bloque-mv p {
    color: #2d3748;
    line-height: 1.6;
    font-size: 1rem;
}

/* Resumen Intermedio */
.seccion-resumen {
    background-color: #ffffff;
    padding: 90px 20px;
}

.contenedor-resumen {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.resumen-texto { flex: 1; }
.subtitulo-amarillo {
    color: var(--amarillo-subsco);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

.resumen-texto p {
    color: var(--texto-mutado);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 30px;
}

.btn-negro {
    display: inline-block;
    background-color: var(--negro);
    color: #ffffff;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 0 !important; 
    transition: background-color 0.3s;
}

.resumen-foto-marco {
    flex: 1;
    position: relative;
    padding-left: 20px;
    padding-bottom: 20px;
}

.resumen-foto-marco::before {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    background-color: var(--amarillo-subsco);
    left: 0;
    bottom: 0;
    z-index: 1;
    border-radius: 0 !important; 
}

.resumen-foto {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    display: block;
    border-radius: 0 !important; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .hero-video-container { min-height: 70vh; padding: 40px 0; }
    .hero-logo-img { max-width: 240px; }
    .hero-subtitle { font-size: 1rem; }
    .mv-fila-textos, .mv-fila-imagenes, .contenedor-resumen { flex-direction: column; gap: 30px; }
}

/* ==========================================================================
   5. SECCIÓN DE VALORES EMPRESARIALES (DONA INTERACTIVA)
   ========================================================================== */
#valores-corporativos {
    min-height: 100vh;
    padding: 80px 40px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    background: #ffffff;
}

.valores-encabezado { text-align: center; max-width: 560px; }
.valores-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amarillo-subsco);
    margin-bottom: 16px;
}

.valores-titulo {
    color: #000000;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    width: 100%;
}
.valores-subtitulo { font-size: 15px; line-height: 1.7; color: #000000; }

.valores-escena {
    position: relative;
    width: 100%;
    max-width: 860px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.valor-info {
    position: absolute;
    width: 175px;
    font-size: 13px;
    line-height: 1.65;
    color: #000000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.valor-info.activo { opacity: 1; pointer-events: auto; }
.valor-info strong {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amarillo-subsco);
    margin-bottom: 6px;
}

#info-1 { top: 30px;    right: 0; text-align: left;  }
#info-2 { top: 50%;     right: 0; transform: translateY(-50%); text-align: left;  }
#info-3 { bottom: 30px; right: 0; text-align: left;  }
#info-4 { bottom: 30px; left: 0;  text-align: right; }
#info-5 { top: 50%;     left: 0;  transform: translateY(-50%); text-align: right; }
#info-6 { top: 30px;    left: 0;  text-align: right; }

.circulo-svg-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 480px;
}

.circulo-svg-wrap svg { width: 100%; height: 100%; overflow: visible; }
.rebanada { cursor: pointer; transition: filter 0.2s ease; transform-box: fill-box; transform-origin: center; }
.rebanada:hover { filter: brightness(1.18); }

.label-rebanada {
    pointer-events: none;
    font-size: 11px;
    font-weight: 700;
    fill: rgba(255,255,255,0.97);
    letter-spacing: 0.4px;
    text-anchor: middle;
    dominant-baseline: middle;
}

.icono-rebanada {
    pointer-events: none;
    stroke: rgba(255,255,255,0.92);
    stroke-width: 1.5;
    fill: none;
}

.circulo-centro-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 148px;
    height: 148px;
    background: #F7F6F2;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    z-index: 20;
    pointer-events: none;
}

.centro-numero { font-size: 46px; font-weight: 900; color: #1C1C1C; line-height: 1; }
.centro-label { font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #888; margin-top: 2px; }
.centro-empresa { font-size: 8px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #c49002; margin-top: 4px; }

.valores-mobile { display: none; }
.valor-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.valor-card-texto strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 4px;
}

.valor-card-texto p { font-size: 13px; line-height: 1.6; color: #555; }

@media (max-width: 900px) and (min-width: 769px) {
    .valores-escena { height: 420px; }
    .circulo-svg-wrap { width: 380px; height: 380px; }
    .circulo-centro-wrap { width: 110px; height: 110px; }
    .valor-info { width: 140px; font-size: 12px; }
}

@media (max-width: 768px) {
    #valores-corporativos { padding: 60px 24px 80px; gap: 40px; }
    .circulo-svg-wrap, .circulo-centro-wrap, .valor-info { display: none !important; }
    .valores-mobile { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 420px; }
}

/* ==========================================================================
   SECCIÓN ALIADOS — carrusel infinito fondo blanco
   ========================================================================== */

.aliados {
    background-color: #ffffff;
    padding: 60px 50px 80px;
    overflow: hidden;
    width: 100%;
}
 
/* Título sección aliados */
.aliados-titulo {
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #111111;
    margin: 0 0 48px;
}

.aliados-titulo span {
    color: #febc07;
}

/* Máscara que difumina los bordes izquierdo y derecho
   para que no se note el corte del bucle */
.aliados-track-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #ffffff 12%,
        #ffffff 88%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #ffffff 12%,
        #ffffff 88%,
        transparent 100%
    );
}

/* Track que se mueve solo con CSS puro — sin JS */
.aliados-track {
    display: flex;
    align-items: center;
    gap: 32px;
    width: max-content;
    animation: aliados-scroll 35s linear infinite;
}

/* Pausa al pasar el mouse */
.aliados-track:hover {
    animation-play-state: paused;
}

@keyframes aliados-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* -50% porque el track está duplicado */
}

/* Cada logo */
.aliados-slide {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 6px;
    padding: 12px 16px;
    transition: background 0.3s ease;
}

.aliados-slide:hover {
    background: #eeeeee;
}

.aliados-slide img {
    height: 90px;
    width: 150px;
    object-fit: contain;
    display: block;
     opacity: 0.75;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.aliados-slide img:hover {
    filter: grayscale(0%) brightness(1) contrast(1);
    opacity: 1;
}
/* ==========================================================================
   6. SUBPÁGINA: COBERTURA (MAPA INTERACTIVO)
   ========================================================================== */
/* ==========================================================================
   SECCIÓN COBERTURA
   ========================================================================== */

.seccion-cobertura {
    background-color: #000000;
    padding: 80px 4% 100px;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.cobertura-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

/* ==========================================================================
   FILA SUPERIOR: CARRUSEL — texto izquierda + foto cuadrada derecha
   Reaprovechamos .carrusel-wrapper para esto
   ========================================================================== */

.carrusel-wrapper {
    width: 100%;
    position: static;
    left: auto;
    transform: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding-bottom: 0;
}

/* Texto izquierdo */
.carrusel-titulo {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 16px;
    text-align: left;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 55%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtexto debajo del título del carrusel */
.carrusel-subtexto {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    margin: 0;
    font-weight: 400;
    max-width: 400px;
}

/* Lista de puntos debajo del subtexto */
.carrusel-lista {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.carrusel-lista li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.carrusel-lista li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 7px;
    height: 7px;
    background: #febc07;
    border-radius: 50%;
}

/* Columna izquierda del carrusel (título + texto) */
.carrusel-col-texto {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Foto cuadrada derecha — recorte exacto */
.carrusel-stage {
    width: 100%;
    aspect-ratio: 1 / 1;        /* cuadrado perfecto */
    overflow: hidden;
    border-radius: 0;
    position: relative;
    height: auto;
    display: block;
    background-color: #febc07;   /* fondo amarillo visible entre transiciones */
}

.carrusel-track-3d {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: max-content;
    will-change: transform;
    transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
    height: 100%;
}

.slide-3d {
    flex: 0 0 100%;           /* cada slide ocupa exactamente el cuadrado */
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    cursor: default;
    box-shadow: none;
    min-width: 0;
}

/* Hack: como el track usa width:max-content los slides necesitan
   un ancho concreto — se lo damos via JS, pero el aspect-ratio
   lo maneja el stage. Aquí forzamos imagen a llenar el slide */
.slide-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    pointer-events: none;
    transform: scale(0.82);
    transform-origin: center center;
    transition: transform 0.9s ease;
}

.slide-3d.activo img {
    transform: scale(0.86);
}

/* Ocultar flechas y dots — auto-scroll sin controles */
.carrusel-nav {
    display: none !important;
}

/* ==========================================================================
   FILA INFERIOR: MAPA IZQUIERDA — INFO DERECHA
   ========================================================================== */

.cobertura-top {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.mapa-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    order: 1;
}

.mapa-container svg {
    width: 100%;
    height: auto;
    max-height: 560px;
    display: block;
    filter: drop-shadow(0 10px 36px rgba(240, 188, 80, 0.10));
}

.mapa-container svg path {
    cursor: pointer;
    fill: #252525;
    stroke: #111111;
    stroke-width: 0.7px;
    transition: fill 0.18s ease, filter 0.18s ease, stroke 0.18s ease;
}

.amarillo-1 { fill: #E8A020 !important; }
.amarillo-2 { fill: #C8780A !important; }
.amarillo-3 { fill: #F0BC50 !important; }
.amarillo-4 { fill: #D4900C !important; }

.activo-hover {
    filter: brightness(1.4) !important;
    stroke: #ffffff !important;
    stroke-width: 1.8px !important;
}

#tooltip-mapa { display: none !important; }

/* ==========================================================================
   COLUMNA DERECHA: TÍTULO + STATS + CARD DEP
   ========================================================================== */

.cobertura-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    order: 2;
}

.cobertura-info h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 55%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cobertura-info > p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    margin: -12px 0 0;
    font-weight: 400;
}

/* ==========================================================================
   ESTADÍSTICAS — fila horizontal, números sueltos con divisor vertical
   Exactamente como en la imagen: 25+ / 77 / 38K sin cajas
   ========================================================================== */

.cobertura-stats {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 4px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 28px 0 0;
    margin-right: 28px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}

.stat-numero {
    font-size: 2.4rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
}

/* ==========================================================================
   CARD DEPARTAMENTO ACTIVO
   ========================================================================== */

#info-departamento { width: 100%; }

.departamentos-panel {
    padding: 14px 0;
}

.departamentos-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.departamentos-panel-header h3 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #f0bc50;
    margin: 0;
}

.departamentos-panel-header span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.58);
}

.departamentos-lista {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 12px;
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.departamento-item {
    width: 100%;
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.departamento-item:hover,
.departamento-item.activo {
    color: #f0bc50;
    transform: translateX(2px);
}

.departamento-nombre {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.25;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
    .carrusel-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cobertura-top {
        grid-template-columns: 1fr;
    }

    .mapa-container { order: 1; }
    .cobertura-info { order: 2; }

    .mapa-container svg { max-height: 400px; }

    .carrusel-stage {
        aspect-ratio: 4 / 3;
    }

    .departamentos-lista {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .departamentos-lista {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================================
   7. SUBPÁGINA: BROCHURE CORPORATIVO
   ========================================================================== */
/* ==========================================================================
   7. SUBPÁGINA: BROCHURE CORPORATIVO (RESPONSIVE)
   ========================================================================== */
.brochure-container {
    max-width: 1300px;
    margin: 60px auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.1fr 1.9fr; 
    gap: 60px;
    align-items: center;
    background-color: #000000;
}

.brochure-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.brochure-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--amarillo-subsco);
    font-weight: 700;
    margin-bottom: 12px;
}

.brochure-desc {
    font-size: 1rem;
    color: #a6a6a6;
    line-height: 1.6;
    margin-bottom: 40px;
}

.brochure-desc strong { 
    color: var(--amarillo-subsco); 
}

.brochure-index {
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.index-item {
    border-left: 2px solid var(--amarillo-subsco); 
    padding-left: 16px;
}

.index-item strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.index-item p { 
    color: #888888; 
    font-size: 0.85rem; 
}

.btn-download {
    display: inline-block;
    background-color: var(--amarillo-subsco);
    color: #000000;
    text-decoration: none;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 0; 
}

.btn-download:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(254, 188, 7, 0.15);
}

.pdf-viewer-container { 
    width: 100%; 
}

.pdf-frame-wrapper {
    background: #141414;
    padding: 12px;
    border-radius: 0; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.05);
}

.pdf-embed { 
    width: 100%; 
    height: 650px; 
    display: block; 
    border: none; 
}

/* ==========================================================================
   BROCHURE MOBILE ADAPTATION
   ========================================================================== */
@media (max-width: 1024px) {
    .brochure-container { 
        grid-template-columns: 1fr; /* Colapsa las dos columnas a una sola */
        gap: 40px; 
        padding: 0 24px; 
    }
    
    .brochure-intro {
        align-items: center; /* Centra el contenido en móviles */
        text-align: center;
    }
    
    .index-item {
        border-left: none;
        border-bottom: 1px solid rgba(254, 188, 7, 0.2); /* Cambia línea lateral por borde inferior en celulares */
        padding-left: 0;
        padding-bottom: 12px;
    }
    
    .btn-download {
        width: 100%;
        max-width: 320px; /* Botón ancho y cómodo para celulares */
        text-align: center;
    }

    .pdf-embed { 
        height: 500px; 
    }
}

@media (max-width: 480px) {
    .pdf-embed { 
        height: 400px; 
    }
}
/* ==========================================================================
   8. SUBPÁGINA: CONTACTO (HERO UNIFICADO CON LOS OTROS TÍTULOS)
   ========================================================================== */
/* ==========================================================================
   11. SUBPÁGINA: CONTACTO (CARDS FIJAS - SIN BORDER RADIUS)
   ========================================================================== */
.main-contacto {
    padding: 60px 4%;
    background-color: #000000; 
    box-sizing: border-box;
}

.contacto-header {
    text-align: center;
    margin-bottom: 50px;
}

.contacto-header .contacto-subtitulo {
    color: #ffcc00; 
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.contacto-header .contacto-titulo {
    color: #ffffff;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.08;
    margin: 0;
}

/* Rejilla Fija para las Tarjetas Superiores */
.contacto-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas fijas en escritorio */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
}

.contacto-info-card {
    background-color: #dddada;
    border: 1px solid #464141;
    padding: 40px 30px;
    text-align: center;
    border-radius: 0 !important; /* Esquinas 100% rectas, sin radius */
}


.contacto-icon {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Estilo específico para el icono vectorial */
.contacto-icon i {
    font-size: 2.5rem;          /* Tamaño del icono */
    color: #ffcc00;             /* Tu amarillo de marca */
    transition: color 0.3s ease; /* Transición suave por si quieres que cambie al hacer hover */
}

/* Opcional: Si quieres que el icono brille o cambie a blanco cuando pasas el cursor sobre la tarjeta entera */
.contacto-info-card:hover .contacto-icon i {
    color: #ffffff;
}

.contacto-info-card h3 {
    color: #000000;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contacto-info-card p {
    color: #000000;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Contenedor Inferior Fijo de Dos Columnas */
.contacto-detalles-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr; 
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Contenedor del Mapa Fijo y Recto */
.contacto-mapa-wrapper {
    width: 100%;
    background: #1a1a1a;
    padding: 12px;
    border: 1px solid #2c2c2c;
    border-radius: 0 !important; /* Sin radius */
    box-sizing: border-box;
}

.contacto-mapa {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 0 !important; /* Sin radius */
    display: block;
    filter: grayscale(1) invert(0.9) contrast(1.2); 
}

/* Lado Derecho: Información de Atención */
.contacto-atencion-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.atencion-tag {
    color: #ffcc00;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contacto-atencion-info h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.atencion-desc {
    color: #a6a6a6;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 35px 0;
}

.atencion-horarios {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.horario-item {
    border-left: 2px solid #ffcc00; 
    padding-left: 16px;
}

.horario-item strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.horario-item p {
    color: #888888;
    font-size: 0.9rem;
    margin: 4px 0;
}

/* ==========================================================================
   ADAPTACIÓN RESPONSIVA SE SEGURIDAD (MÓVILES Y TABLETS)
   ========================================================================== */
@media (max-width: 1024px) {
    .contacto-cards-container {
        grid-template-columns: 1fr; /* Pasa a 1 columna apilada fija sólo si es móvil */
        gap: 20px;
    }
    
    .contacto-detalles-grid {
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    
    .contacto-atencion-info {
        align-items: center;
        text-align: center;
    }
    
    .contacto-header .contacto-titulo {
        font-size: 2.2rem;
    }
    
    .contacto-atencion-info h2 {
        font-size: 2rem;
    }
    
    .contacto-mapa {
        height: 350px; 
    }
}
/* Botón Flotante WhatsApp */
.whatsapp-flotante {
    position: fixed; bottom: 25px; right: 25px; background-color: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); z-index: 9999; transition: transform 0.3s ease, background-color 0.3s ease;
}
.whatsapp-flotante:hover { background-color: #059605; transform: scale(1.1); }

/* ==========================================================================
   9. SUBPÁGINA: SERVICIOS (CATÁLOGO DE SOLUCIONES)
   ========================================================================== */
/* ==========================================================================
   9. SUBPÁGINA: SERVICIOS (SOLO CSS - REPLICA CON ICONO INFERIOR DERECHO)
   ========================================================================== */
.main-servicios {
    padding: 80px 4%; 
    background-color: #000000; 
    box-sizing: border-box;
}

.servicios-header { 
    text-align: center;
    margin-bottom: 60px; 
}

.servicios-header .subtitulo {
    color: #ffcc00; 
    font-size: 0.85rem; 
    letter-spacing: 2px; 
    font-weight: 700; 
    text-transform: uppercase; 
    display: block;
    margin-bottom: 12px;
}

.servicios-header .titulo {
    color: #ffffff; 
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0;
}

.servicios-container { 
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjeta Fija Relativa y con esquinas rectas */
.tarjeta-servicio {
    background-color: #0f0f0f;
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.68) 45%, rgba(0, 0, 0, 0.82) 100%);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.16);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    text-align: left;
    text-decoration: none; 
    border-radius: 0 !important; /* Esquinas rectísimas */
    position: relative; /* Clave para mover el icono abajo */
    overflow: hidden;   /* Esconde el desborde del círculo del icono */
    box-sizing: border-box;
    min-height: 280px;  
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.tarjeta-servicio:hover {
    border-color: #ffcc00;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.tarjeta-infra {
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.68) 45%, rgba(0, 0, 0, 0.82) 100%),
        url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=900&q=80');
}

.tarjeta-redes {
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.68) 45%, rgba(0, 0, 0, 0.82) 100%),
        url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=900&q=80');
}

.tarjeta-mantenimiento {
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.68) 45%, rgba(0, 0, 0, 0.82) 100%),
        url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80');
}

.tarjeta-electrica {
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.68) 45%, rgba(0, 0, 0, 0.82) 100%),
        url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?auto=format&fit=crop&w=900&q=80');
}

.tarjeta-obras {
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.68) 45%, rgba(0, 0, 0, 0.82) 100%),
        url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=900&q=80');
}

.tarjeta-predios {
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.68) 45%, rgba(0, 0, 0, 0.82) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=900&q=80');
}

.contenido-tarjeta {
    width: 100%;
    margin-bottom: 24px;
    padding-right: 60px; /* Evita que el texto choque con el icono flotante */
}

.contenido-tarjeta h2 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.contenido-tarjeta p {
    color: rgba(255,255,255,0.86); 
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Enlace inferior izquierdo estilo Amiso */
.servicios-link-text {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto; 
    z-index: 2; 
}

/* Círculo con flecha en "Read More" */
.servicios-link-text i {
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.16); 
    color: #ffffff;
    border-radius: 50%; /* Este círculo interno pequeño sí es redondo */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.servicios-link-text span {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
}

.tarjeta-servicio:hover .servicios-link-text i {
    background-color: #ffcc00;
    color: #000000;
    transform: translateX(3px);
}

/* Icono Grande Flotante Abajo a la Derecha */
.servicios-icon-box {
    position: absolute;
    bottom: -30px;
    right: -40px;
    width: 180px;
    height: 175px;
    background-color: #000000;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 50%;        /* Hace la forma de la curva */
    display: flex;
    align-items: center;      /* CAMBIADO: Centra verticalmente */
    justify-content: center;   /* CAMBIADO: Centra horizontalmente */
    padding: 0;
    box-sizing: border-box;
    z-index: 1;
    pointer-events: none;      
}

   .servicios-icon-box i {
    font-size: 2.2rem;
    color: #ffcc00;            
    transition: color 0.3s ease;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.4); /* LÍNEA NUEVA: Sombra suave para el icono */
}


.tarjeta-servicio:hover .servicios-icon-box i {
    color: #8a8a8a;            
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .servicios-container { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    .servicios-container { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
}
/* ==========================================================================
   10. FOOTER CORPORATIVO GLOBAL
   ========================================================================== */
.footer-corporativo {
    background-color: #000000; color: #ffffff; padding: 15px 40px 10px 40px; width: 100%;
}

.footer-contenido {
    max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 15px; padding-bottom: 10px; border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-columna:nth-child(1) { flex: 1.5; min-width: 280px; display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo-img { max-width: 110px; margin-bottom: 8px; height: auto; display: block; }
.footer-descripcion { font-size: 0.95rem; line-height: 1.6; color: #94a3b8; max-width: 340px; }

.footer-columna:nth-child(2), .footer-columna:nth-child(3) { flex: 1; min-width: 160px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-columna:nth-child(4) { flex: 1; min-width: 200px; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }

.footer-columna h3 { font-weight: 700; font-size: 0.85rem; margin-bottom: 8px; color: var(--amarillo-subsco); text-transform: uppercase; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 4px; }
.footer-links a { color: #cbd5e1; text-decoration: none; font-size: 0.95rem; transition: all 0.3s ease; }
.footer-links a:hover { color: #ffffff; transform: translateY(-2px); }

.footer-redes-columna { display: flex; flex-direction: column; gap: 6px; width: fit-content; }
.red-item { display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: #cbd5e1; text-decoration: none; font-size: 0.95rem; transition: all 0.3s ease; }
.red-item:hover { color: var(--amarillo-subsco); transform: translateX(-5px); }

.footer-inferior { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding-top: 20px; 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    align-items: center; 
    font-size: 0.85rem; 
    color: #64748b; 
}

.credito-dev a { 
    color: #94a3b8; 
    text-decoration: none; 
    font-weight: 600; 
}
.credito-dev a:hover { 
    color: var(--amarillo-subsco); 
}

@media (max-width: 768px) {
    .footer-contenido { flex-direction: column; text-align: center; }
    .footer-columna:nth-child(1), .footer-columna:nth-child(2), .footer-columna:nth-child(3), .footer-columna:nth-child(4) { align-items: center; text-align: center; }
    .red-item { justify-content: center; }
  }





























/*obras*/

/* ============================================================
   OVINCO — Página Obras
   Paleta: grafito profundo + señal cian (fibra/telecom) + ámbar
   No incluye estilos de .navbar / .nav-* ni .footer-*
   ============================================================ */

:root{
  --ov-bg:            #000000;
  --ov-bg-panel:      #ffcc00;
  --ov-bg-panel-soft: #ffcc00;
  --ov-signal:        #ffcc00;
  --ov-signal-soft:   #ffcc00;
  --ov-amber:         #F2A93B;
  --ov-text:          #EAF3F4;
  --ov-text-muted:    #A6A6A6;
  --ov-line:          rgba(0, 0, 0, 0.08);
  --ov-radius-md:     18px;
  --ov-ease:          cubic-bezier(.22,1,.36,1);
}

/* ---------- Base de la sección ---------- */
.seccion-obras{
  background:
    radial-gradient(120% 60% at 50% 0%, #131414 0%, var(--ov-bg) 55%),
    var(--ov-bg);
  font-family: 'Montserrat', sans-serif;
  color: var(--ov-text);
  padding: 56px 6vw 100px;
  min-height: 100vh;
}

/* ---------- Barra flotante tipo "buscador" ---------- */
.obras-filter-nav{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 92%;
  margin: 0 auto 48px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.199);
  border: 1px solid rgba(234, 243, 244, 0.10);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    0 18px 40px -18px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.filter-item{
  position: relative;
  padding: 12px 26px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ov-text-muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: color .3s var(--ov-ease), background .3s var(--ov-ease);
}

.filter-item:hover{
  color: var(--ov-text);
}

.filter-item.is-active{
  color: var(--ov-bg);
  background: var(--ov-signal);
  box-shadow: 0 8px 22px -8px var(--ov-signal-soft);
}

/* ---------- Panel de información de la obra activa ---------- */
.obra-panel{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto 56px;
  animation: ov-fade-up .5s var(--ov-ease);
}

.obra-hero-img{
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ov-bg-panel);
}

.obra-hero-img img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.obra-panel-info{
  text-align: left;
}

.obra-panel-tag{
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ov-signal);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.obra-panel-title{
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.obra-panel-desc{
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ov-text-muted);
  margin: 0 0 26px;
  max-width: 46ch;
}

.obra-panel-specs{
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--ov-line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.obra-panel-specs li{
  position: relative;
  padding-left: 20px;
  font-size: 0.88rem;
  color: var(--ov-text);
  line-height: 1.4;
}

.obra-panel-specs li::before{
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--ov-amber);
}

@keyframes ov-fade-up{
  from{ opacity: 0; transform: translateY(10px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* ---------- Galería: fila de imágenes debajo del panel ---------- */
.obra-gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.gallery-item{
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--ov-bg-panel);
}

.gallery-item img{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}



/* ---------- Accesibilidad / movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce){
  .obra-panel,
  .gallery-item,
  .gallery-item img,
  .filter-item{ transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .obra-panel{
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .obra-panel-info{ text-align: center; }
  .obra-panel-desc{ margin-left: auto; margin-right: auto; }
  .obra-panel-specs{ align-items: center; }
  .obra-panel-specs li{ padding-left: 0; }
  .obra-panel-specs li::before{ display: none; }
}

@media (max-width: 640px){
  .seccion-obras{ padding: 40px 5vw 80px; }
  .obras-filter-nav{
    gap: 2px;
    padding: 6px;
  }
  .filter-item{
    padding: 10px 16px;
    font-size: 0.7rem;
  }
  .obra-panel{ margin-bottom: 36px; }
  .obra-gallery{
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .gallery-item{ border-radius: 10px; }
}