﻿/* ==========================================================================
   ESTILOS INDUSTRIALES UNIÓN METAL - MANUAL DE IDENTIDAD CORPORATIVA
   Normas de Aplicación Industrial: Rojo #D82B1E, Negro #121212, Gris Acero #3A4146
   ========================================================================== */

:root {
    /* Paleta Cromática Oficial según Manual de Marca */
    --um-primary: #D82B1E;          /* Rojo Industrial (RGB: 216, 43, 30) */
    --um-primary-hover: #b72116;    /* Rojo profundo hover */
    --um-accent: #D82B1E;           /* Color heráldico de cobertura */
    --um-accent-hover: #b72116;
    --um-accent-text: #FFFFFF;      /* Blanco Soporte (RGB: 255, 255, 255) */
    --um-dark: #121212;             /* Negro Chasis (RGB: 18, 18, 18) */
    --um-dark-surface: #1e1e1e;     /* Superficie chasis oscuro */
    --um-steel: #3A4146;            /* Gris Acero / Hidráulico (RGB: 58, 65, 70) */
    --um-steel-light: #525c63;
    --um-white: #FFFFFF;            /* Blanco Soporte */
    --um-gray-light: #f4f5f7;
    --um-gray-border: #e2e8f0;
    --um-text-main: #121212;
    --um-text-muted: #64748b;
    
    /* Sistema Tipográfico Oficial (Montserrat Sans-Serif Geométrica) */
    --um-font-heading: 'Montserrat', sans-serif;
    --um-font-body: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: var(--um-font-body);
    color: var(--um-text-main);
    background-color: #f8fafc;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, 
.section-title, 
.um-hero-title, 
.um-footer-title, 
.navbar-brand {
    font-family: var(--um-font-heading);
    font-weight: 800;
    color: var(--um-dark);
    letter-spacing: 0.3px;
}

/* Clases de Peso Tipográfico Oficial Unión Metal */
.fw-black {
    font-weight: 900 !important;
}

.fw-extrabold {
    font-weight: 800 !important;
}

/* Anulación de .display-* de Bootstrap para que mantengan peso industrial macizo */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--um-font-heading) !important;
    font-weight: 900 !important;
    letter-spacing: -0.5px;
    color: var(--um-dark);
    line-height: 1.15;
}

/* Títulos de Sección Institucionales Unión Metal */
.um-section-heading {
    font-family: var(--um-font-heading);
    font-size: clamp(2rem, 3.8vw, 2.85rem);
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #111418;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.um-heading-divider {
    width: 64px;
    height: 4px;
    background-color: var(--um-primary);
    margin: 14px auto 18px auto;
    border-radius: 2px;
}

.um-heading-divider-start {
    width: 64px;
    height: 4px;
    background-color: var(--um-primary);
    margin: 14px 0 18px 0;
    border-radius: 2px;
}

/* Contenedores de Iconos Perfectamente Redondos (No Alargados ni Ovalados) */
.um-icon-circle {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

.um-icon-circle-lg {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

.main-content-wrapper {
    flex: 1 0 auto;
}

/* -------------------------------------------------------------
   TOP BAR SUPERIOR
   ------------------------------------------------------------- */
.um-top-bar {
    background-color: #0b0f14;
    color: #94a3b8;
    font-size: 0.85rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.um-top-bar a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.um-top-bar a:hover {
    color: var(--um-accent);
}

.um-top-bar .highlight-phone {
    color: var(--um-accent);
    font-weight: 600;
}

/* -------------------------------------------------------------
   TOP BAR INSTITUCIONAL UNIÓN METAL (NEGRO PROFUNDO INDUSTRIAL)
   ------------------------------------------------------------- */
.um-topbar {
    background-color: #111418 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    font-size: 0.82rem;
    color: #94a3b8 !important;
}

.um-topbar span {
    color: #cbd5e1 !important;
}

.um-topbar a.text-white {
    color: #ffffff !important;
}

.um-topbar-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.um-topbar-social-link:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

/* -------------------------------------------------------------
   BARRA DE NAVEGACIÓN PRINCIPAL UNIÓN METAL (BLANCO PURO CORPORATIVO)
   ------------------------------------------------------------- */
.um-main-navbar {
    background-color: #ffffff !important; /* Blanco puro corporativo */
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    z-index: 1030;
    transition: all 0.3s ease;
}

.um-navbar-brand {
    padding: 3px 0;
}

.um-brand-logo {
    height: 52px; /* Altura óptima para el logo horizontal en el navbar */
    width: auto;
    max-width: 260px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

@media (max-width: 768px) {
    .um-brand-logo {
        height: 38px;
        max-width: 190px;
    }
}

.um-navbar-brand:hover .um-brand-logo {
    transform: scale(1.02);
}

.um-nav-item {
    font-family: var(--um-font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    color: #1e293b !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
}

.um-nav-item:hover,
.um-nav-item:focus {
    color: var(--um-primary) !important;
}

.um-cta-button {
    background-color: var(--um-primary);
    color: #ffffff !important;
    font-family: var(--um-font-heading);
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--um-primary);
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(216, 43, 30, 0.3);
}

.um-cta-button:hover {
    background-color: var(--um-primary-hover);
    border-color: var(--um-primary-hover);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216, 43, 30, 0.45);
}

.um-main-navbar .dropdown {
    position: relative;
    padding-top: 2px;
    padding-bottom: 6px;
    margin-bottom: -6px;
}

@media (min-width: 992px) {
    .um-main-navbar .dropdown-menu {
        position: absolute;
        top: 100% !important;
        left: 0 !important;
        margin-top: 0 !important; /* Cero separación para no perder el cursor */
        z-index: 1060 !important;
        background-color: #ffffff;
        border: 1px solid #e2e8f0;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        border-radius: 6px;
        border-top: 3px solid var(--um-primary);
        padding: 6px 0;
    }

    /* Puente invisible superior para que el cursor jamás pierda el foco al bajar a las opciones */
    .um-main-navbar .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -12px;
        left: 0;
        width: 100%;
        height: 12px;
        background: transparent;
    }

    .um-main-navbar .dropdown-menu-end {
        left: auto !important;
        right: 0 !important;
    }
}

/* ESTILOS DEL MENÚ MÓVIL DESPLEGABLE */
#navbarMobileMenu {
    background: #ffffff;
    border-radius: 0 0 8px 8px;
}

.um-mobile-toggle-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    padding: 10px 14px;
    font-family: var(--um-font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: #1e293b;
    border-radius: 6px;
    text-transform: uppercase;
    transition: background 0.15s ease, color 0.15s ease;
}

.um-mobile-toggle-btn:hover,
.um-mobile-toggle-btn:focus {
    background-color: #f8fafc;
    color: var(--um-primary);
}

.um-mobile-toggle-btn .bi-chevron-down {
    transition: transform 0.25s ease;
}

.um-mobile-toggle-btn[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
    color: var(--um-primary);
}

.um-mobile-submenu-box {
    background-color: #f8fafc;
    border-left: 3px solid var(--um-primary);
    border-radius: 6px;
    padding: 6px 8px;
    margin: 4px 6px 8px 12px;
}

.um-mobile-sublink {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    color: #334155;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.um-mobile-sublink:hover,
.um-mobile-sublink:active {
    background-color: #ffffff;
    color: var(--um-primary);
    padding-left: 16px;
}

.um-nav-item.dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: 0.15em;
    border-top-color: currentColor;
    transition: transform 0.2s ease;
}

.um-nav-item.dropdown-toggle[aria-expanded="true"]::after,
.um-main-navbar .dropdown:hover > .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Apertura instantánea por hover en desktop */
@media (min-width: 992px) {
    .um-main-navbar .dropdown:hover > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
}

/* Apertura por click en móvil y desktop */
.um-main-navbar .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.dropdown-menu-dark .dropdown-item {
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 9px 18px;
    transition: all 0.2s ease;
}

.dropdown-menu-dark .dropdown-item:hover {
    background-color: var(--um-primary);
    color: #ffffff;
    padding-left: 22px;
}

/* Breadcrumbs y listas activas con Rojo Industrial */
.breadcrumb a {
    color: var(--um-primary) !important;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.list-group-item.active {
    background-color: var(--um-primary) !important;
    border-color: var(--um-primary) !important;
    color: var(--um-white) !important;
}

/* -------------------------------------------------------------
   BOTONES INDUSTRIALES
   ------------------------------------------------------------- */
.btn-industrial {
    background-color: var(--um-accent);
    color: var(--um-accent-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-radius: 4px;
    padding: 10px 22px;
    border: 2px solid var(--um-accent);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-industrial:hover {
    background-color: var(--um-accent-hover);
    border-color: var(--um-accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(216, 43, 30, 0.4);
}

.btn-outline-industrial {
    background-color: transparent;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-radius: 4px;
    padding: 10px 22px;
    border: 2px solid #ffffff;
    transition: all 0.25s ease;
}

.btn-outline-industrial:hover {
    background-color: #ffffff;
    color: var(--um-dark);
    transform: translateY(-2px);
}

.btn-primary-industrial {
    background-color: var(--um-primary);
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    padding: 10px 20px;
    border: none;
    transition: all 0.25s ease;
}

.btn-primary-industrial:hover {
    background-color: var(--um-primary-hover);
    color: #ffffff;
}

/* -------------------------------------------------------------
   HERO BANNER CON SOPORTE DE VIDEO (Estilo Landoll)
   ------------------------------------------------------------- */
.um-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    padding: 105px 0 95px 0;
    border-bottom: 4px solid var(--um-primary);
    background-color: #0b0f14;
}

/* Hero Libre Cinema para exhibir video de maquinaria (Estilo Landoll) */
.um-hero-cinema {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 5;
    height: auto;
    max-height: 80vh;
    background-color: #000000;
    overflow: hidden;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.um-hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Video nativo HTML5:
   - Cobertura 100% de pantalla a lo ancho y alto sin franjas negras laterales (object-fit: cover)
   - Cartel de financiación reencuadrado en zona segura central sin recortes
   - Rendimiento acelerado por GPU */
.um-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border: none;
    pointer-events: none;
    background-color: #000000;
    opacity: 0;
    transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.um-hero-video.um-video-playing {
    opacity: 1;
}

/* Transición cinematográfica sin saltos al reiniciar bucle */
.um-hero-video.um-video-loop-fade {
    opacity: 0 !important;
    transition: opacity 0.35s ease-out !important;
}

/* Reproductor YouTube encuadrado estilo Landoll (compatibilidad retroactiva) */
.um-hero-youtube {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.78vh;
    transform: translate(-50%, -50%) scale(1.16);
    transform-origin: center center;
    pointer-events: none;
    border: none;
}

.um-hero-overlay-landoll {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: 2;
}

/* Contenedor y tarjeta de contenido cinematográfico superpuesto */
.um-hero-content-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.um-hero-text-card {
    pointer-events: auto;
    max-width: 660px;
    background: rgba(14, 17, 22, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 24px 28px;
    border-radius: 8px;
    border-left: 4px solid var(--um-primary);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

.um-hero-main-title {
    font-family: var(--um-font-heading);
    font-size: clamp(1.6rem, 3.8vw, 2.5rem);
    font-weight: 900 !important;
    letter-spacing: 0.5px;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

@media (max-width: 767.98px) {
    .um-hero-text-card {
        padding: 18px 20px;
        background: rgba(14, 17, 22, 0.8);
        border-radius: 6px;
    }
}



/* Cortina oscura que cubre el reproductor durante la conexión inicial para evitar overlays de YouTube */
.um-hero-curtain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 2;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.um-hero-curtain.hidden {
    opacity: 0;
}

.um-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 15, 20, 0.90) 0%, rgba(11, 15, 20, 0.72) 50%, rgba(11, 15, 20, 0.55) 100%);
    z-index: 2;
}

.um-hero-overlay-subtle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(11, 15, 20, 0.15) 0%, rgba(11, 15, 20, 0.5) 100%);
    z-index: 2;
}

.um-hero-content {
    position: relative;
    z-index: 3;
}

/* -------------------------------------------------------------
   FRANJA DE CONFIANZA Y FORTALEZAS DE PLANTA (Trust Bar)
   ------------------------------------------------------------- */
.um-trust-bar {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.um-trust-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background-color: #fff1f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.um-trust-bar:hover .um-trust-icon-box {
    transform: scale(1.05);
}

.um-trust-item {
    transition: all 0.25s ease;
}

.um-trust-item:hover {
    transform: translateY(-2px);
    border-color: rgba(216, 43, 30, 0.35) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    background-color: #ffffff !important;
}

/* -------------------------------------------------------------
   SHOWROOM INDUSTRIAL DE LÍNEAS DE PRODUCCIÓN
   ------------------------------------------------------------- */
.um-showroom-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0 !important;
}

.um-showroom-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08) !important;
    border-color: #cbd5e1 !important;
}

.um-showroom-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    display: block;
    padding: 0 !important;
    background-color: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.um-showroom-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.4s ease;
}

.um-showroom-card:hover .um-showroom-img {
    transform: scale(1.05);
}

.um-showroom-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: var(--um-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 5px 12px;
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.um-showroom-specs .badge {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 9px;
}

.um-hero-badge {
    background-color: var(--um-accent);
    color: var(--um-accent-text);
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    margin-bottom: 18px;
}

.um-hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.um-hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 650px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* -------------------------------------------------------------
   SECCIONES Y TÍTULOS
   ------------------------------------------------------------- */
.section-padding {
    padding: 70px 0;
}

.section-header {
    margin-bottom: 45px;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--um-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 4px;
    background-color: var(--um-accent);
    border-radius: 2px;
}

.section-title.text-start::after {
    left: 0;
    transform: none;
}

.section-subtitle {
    color: var(--um-text-muted);
    font-size: 1.05rem;
    margin-top: 10px;
}

/* -------------------------------------------------------------
   TARJETAS DE CATEGORÍA
   ------------------------------------------------------------- */
.category-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    height: 270px;
    transition: all 0.3s ease;
    background-color: var(--um-dark);
    display: block;
    text-decoration: none;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card .category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 15, 20, 0.95) 0%, rgba(11, 15, 20, 0.45) 60%, rgba(11, 15, 20, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #ffffff;
    transition: background 0.3s ease;
}

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

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(216, 43, 30, 0.95) 0%, rgba(18, 18, 18, 0.75) 100%);
}

.category-title {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: #ffffff;
}

.category-desc {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* -------------------------------------------------------------
   TARJETAS DE MAQUINARIA (PRODUCT CARDS)
   ------------------------------------------------------------- */
.machinery-card {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid var(--um-gray-border);
    border-top: 3px solid transparent;
    overflow: hidden;
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.machinery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: #cbd5e1;
    border-top-color: var(--um-primary);
}

.machinery-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f1f5f9;
    padding: 0 !important;
}

.machinery-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    transition: transform 0.4s ease;
}

.machinery-card:hover .machinery-thumb img {
    transform: scale(1.05);
}

.machinery-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--um-dark);
    color: var(--um-accent);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.machinery-body {
    padding: 20px;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.machinery-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--um-primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

.machinery-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--um-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.machinery-desc {
    font-size: 0.88rem;
    color: var(--um-text-muted);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.machinery-footer {
    padding-top: 14px;
    border-top: 1px solid var(--um-gray-border);
}

/* -------------------------------------------------------------
   DETALLE DE PRODUCTO
   ------------------------------------------------------------- */
.product-hero {
    background-color: var(--um-dark);
    color: #ffffff;
    padding: 40px 0 35px 0;
    border-bottom: 3px solid var(--um-accent);
}

.product-gallery-main {
    border-radius: 6px;
    overflow: hidden;
    background-color: #0b0f14;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.product-gallery-main img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-gallery-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.product-thumb-item {
    width: 90px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.product-thumb-item.active,
.product-thumb-item:hover {
    border-color: var(--um-accent);
}

.product-thumb-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.table-specs {
    margin-bottom: 0;
}

.table-specs th {
    background-color: var(--um-dark);
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.6px;
    padding: 12px 16px;
    border: none;
}

.table-specs td {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-color: var(--um-gray-border);
}

.table-specs tr:nth-child(even) td {
    background-color: #f8fafc;
}

/* -------------------------------------------------------------
   CARACTERÍSTICAS / INGENIERÍA LANDOLL
   ------------------------------------------------------------- */
.features-section {
    background-color: #ffffff;
    border-top: 1px solid var(--um-gray-border);
    border-bottom: 1px solid var(--um-gray-border);
}

.feature-box {
    padding: 30px 20px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid var(--um-gray-border);
    height: 100%;
    transition: all 0.25s ease;
}

.feature-box:hover {
    border-color: var(--um-accent);
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    background-color: var(--um-dark);
    color: var(--um-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--um-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.feature-desc {
    color: var(--um-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* -------------------------------------------------------------
   FOOTER INDUSTRIAL
   ------------------------------------------------------------- */
.um-footer {
    background-color: #0b0f14;
    color: #94a3b8;
    padding: 60px 0 25px 0;
    border-top: 4px solid var(--um-primary);
    font-size: 0.9rem;
}

.um-footer-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.um-footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--um-accent);
}

.um-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.um-footer a:hover {
    color: var(--um-accent);
}

.um-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.um-footer-links li {
    margin-bottom: 10px;
}

.um-footer-bottom {
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
}

/* -------------------------------------------------------------
   RESPONSIVIDAD
   ------------------------------------------------------------- */
@media (max-width: 991px) {
    .um-hero-title {
        font-size: 2.3rem;
    }
    .product-gallery-main {
        height: 320px;
    }
}

/* -------------------------------------------------------------
   BOTÓN FLOTANTE WHATSAPP
   ------------------------------------------------------------- */
.btn-whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 62px;
    height: 62px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    text-align: center;
    font-size: 34px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp-float:hover {
    background-color: #20ba59;
    color: #ffffff !important;
    transform: scale(1.12);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.65);
}

.btn-whatsapp-float::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.35);
    animation: pulse-whatsapp 2s infinite;
    z-index: -1;
}

@keyframes pulse-whatsapp {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.45); opacity: 0; }
}

@media (max-width: 576px) {
    .btn-whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
        font-size: 27px;
    }
}

/* -------------------------------------------------------------
   NORMAS DE APLICACIÓN INDUSTRIAL (MANUAL DE IDENTIDAD VISUAL)
   ------------------------------------------------------------- */

/* Cápsula Oval de Contraste para el Isotipo */
.um-capsule-badge {
    background-color: var(--um-white);
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    padding: 4px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Calcomanía Troquelada de Identificación de Modelo (Uso Técnico) */
.um-model-calco {
    font-family: var(--um-font-heading);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--um-dark);
    color: var(--um-white);
    border-left: 4px solid var(--um-primary);
    padding: 4px 10px;
    border-radius: 3px;
    display: inline-block;
    font-size: 0.85rem;
}

/* Badge Gris Acero / Hidráulico (#3A4146) */
.badge-steel {
    background-color: var(--um-steel);
    color: var(--um-white);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 3px;
}

/* Logo en Navbar */
.um-navbar-logo {
    height: 44px;
    width: auto;
    max-width: 250px;
    display: block;
}

/* Rotulado Longitudinal (Chasis de tiro y largueros) */
.um-rotulado-longitudinal {
    font-family: var(--um-font-heading);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--um-white);
    background-color: var(--um-primary);
    padding: 6px 18px;
    border-radius: 2px;
    display: inline-block;
}

@media (max-width: 991.98px) {
    .um-hero-cinema {
        height: auto;
        min-height: unset;
        aspect-ratio: 16 / 9;
    }

    .um-hero-youtube {
        min-height: 120%;
        min-width: 195vw;
        bottom: -2%;
        transform: translateX(-50%) scale(1.22);
    }

    .um-landoll-categories-grid {
        flex-direction: column;
    }

    .um-landoll-cat-item {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 24px 20px;
    }

    .um-landoll-cat-item::before {
        display: none;
    }

    .um-landoll-cat-image-box {
        height: 90px;
        margin-bottom: 12px;
    }

    .um-landoll-cat-img {
        max-height: 85px;
    }

    .um-landoll-cat-title {
        font-size: 1rem;
    }
}

/* -------------------------------------------------------------
   FICHA TÉCNICA AVANZADA (ESTILO LANDOLL / INDUSTRIAL)
   ------------------------------------------------------------- */
.um-spec-stats-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.um-spec-stat-card {
    background: #f8fafc;
    border-radius: 6px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--um-primary);
    transition: all 0.2s ease;
    height: 100%;
}

.um-spec-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    background: #ffffff;
}

.um-spec-stat-lbl {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.um-spec-stat-val {
    font-size: 1.15rem;
    font-weight: 900;
    font-family: var(--um-font-heading);
    color: var(--um-dark);
    margin: 0;
    line-height: 1.2;
}

.um-product-gallery-container {
    background: #0f172a;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.um-product-gallery-main {
    position: relative;
    height: 440px;
    border-radius: 6px;
    overflow: hidden;
    background: #0b0f14;
    display: flex;
    align-items: center;
    justify-content: center;
}

.um-product-gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.um-product-gallery-main:hover img {
    transform: scale(1.03);
}

.um-product-gallery-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(18, 18, 18, 0.85);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 4px;
    border-left: 3px solid var(--um-primary);
    backdrop-filter: blur(4px);
    z-index: 2;
}

.um-product-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.um-product-thumb {
    flex: 0 0 95px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.65;
    transition: all 0.2s ease;
    background: #1e293b;
}

.um-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.um-product-thumb.active,
.um-product-thumb:hover {
    opacity: 1;
    border-color: var(--um-primary);
    transform: scale(1.05);
}

.um-nav-tabs-specs {
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 24px;
    gap: 8px;
}

.um-nav-tabs-specs .nav-link {
    font-family: var(--um-font-heading);
    font-weight: 800;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #475569;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 18px;
    border-radius: 0;
    background: transparent;
    transition: all 0.2s ease;
}

.um-nav-tabs-specs .nav-link:hover {
    color: var(--um-primary);
    border-bottom-color: #cbd5e1;
}

.um-nav-tabs-specs .nav-link.active {
    color: var(--um-primary);
    border-bottom-color: var(--um-primary);
    background: transparent;
}

@media (max-width: 768px) {
    .um-nav-tabs-specs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        gap: 4px;
        padding-bottom: 6px;
    }

    .um-nav-tabs-specs .nav-link {
        font-size: 0.8rem;
        padding: 8px 12px;
        flex-shrink: 0;
    }
}

.table-specs-enhanced {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-specs-enhanced tr td {
    padding: 13px 18px;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f5f9;
}

.table-specs-enhanced tr:nth-child(even) td {
    background: #f8fafc;
}

.table-specs-enhanced tr:hover td {
    background: #fef2f2;
}

.table-specs-enhanced .spec-key {
    font-weight: 700;
    color: #1e293b;
    width: 42%;
}

.table-specs-enhanced .spec-val {
    color: #475569;
    font-weight: 500;
}

.um-commercial-sidebar {
    position: sticky;
    top: 90px;
}

.um-commercial-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.um-commercial-header {
    background: var(--um-dark);
    color: #ffffff;
    padding: 18px 20px;
    border-bottom: 3px solid var(--um-primary);
}

.um-whatsapp-btn-large {
    background-color: #25d366;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 14px 18px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: all 0.25s ease;
}

.um-whatsapp-btn-large:hover {
    background-color: #1eb954;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
    color: #ffffff !important;
}

.um-feature-bullet {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.um-feature-bullet i {
    color: var(--um-primary);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* -------------------------------------------------------------
   VISOR DE FOTOS MEDIANO Y LEGIBLE (DETALLE DE MAQUINARIA)
   ------------------------------------------------------------- */
.um-product-viewer-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    padding: 16px;
}

.um-product-image-stage {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    padding: 8px;
}

@media (max-width: 768px) {
    .um-product-image-stage {
        height: 260px;
    }
}

.um-product-main-img {
    max-height: 96%;
    max-width: 96%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.2s ease, transform 0.25s ease;
}

.um-product-stage-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(18, 18, 18, 0.75);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 5;
}

.um-product-stage-btn:hover {
    background: var(--um-primary);
    transform: translateY(-50%) scale(1.1);
    color: #ffffff;
}

.um-product-stage-btn.prev-btn {
    left: 10px;
}

.um-product-stage-btn.next-btn {
    right: 10px;
}

.um-thumbs-strip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 2px 4px 2px;
}

.um-thumb-box {
    width: 65px;
    height: 48px;
    border-radius: 4px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    background: #ffffff;
    padding: 2px;
    transition: all 0.2s ease;
}

.um-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.um-thumb-box.active,
.um-thumb-box:hover {
    border-color: var(--um-primary);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(216, 43, 30, 0.25);
}

/* Ficha Legible de Alto Contraste */
.um-quick-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.um-quick-specs-table tr td {
    padding: 9px 12px;
    font-size: 0.93rem;
    border-bottom: 1px solid #f1f5f9;
}

.um-quick-specs-table tr:nth-child(even) td {
    background-color: #f8fafc;
}

.um-quick-specs-table .spec-label {
    font-weight: 700;
    color: #1e293b;
    width: 40%;
}

.um-quick-specs-table .spec-value {
    color: #334155;
    font-weight: 600;
}

/* ========================================================
   MODAL LIGHTBOX PANTALLA COMPLETA PARA FOTOS DE PRODUCTOS
   ======================================================== */
.um-product-main-img {
    cursor: zoom-in;
}

.um-fullscreen-hint {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(17, 24, 39, 0.8);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 6;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.um-fullscreen-hint:hover {
    background: var(--um-primary);
    border-color: var(--um-primary);
    transform: scale(1.06);
    color: #ffffff;
}

.um-lightbox-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background-color: rgba(10, 15, 25, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    flex-direction: column;
    justify-content: space-between;
    animation: umFadeInLightbox 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    padding-top: env(safe-area-inset-top, 0);
    padding-bottom: env(safe-area-inset-bottom, 0);
    overflow: hidden;
    touch-action: pan-y;
}

.um-lightbox-backdrop.active {
    display: flex;
}

@keyframes umFadeInLightbox {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.um-lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    z-index: 25;
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}

.um-lightbox-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.um-lightbox-close {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.um-lightbox-close:hover {
    background: #D82B1E;
    border-color: #D82B1E;
    color: #ffffff;
    transform: scale(1.1);
}

.um-lightbox-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex: 1 1 auto;
    position: relative;
    width: 100%;
    min-height: 0;
    overflow: hidden;
}

.um-lightbox-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    padding: 8px 12px;
    box-sizing: border-box;
    overflow: hidden;
}

.um-lightbox-img-wrapper img {
    max-width: 92vw;
    max-height: calc(100dvh - 140px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.85);
    transition: opacity 0.2s ease, transform 0.25s ease;
    display: block;
    margin: 0 auto;
    user-select: none;
    -webkit-user-drag: none;
}

.um-lightbox-arrow {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 20;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.um-lightbox-arrow.prev {
    left: 16px;
}

.um-lightbox-arrow.next {
    right: 16px;
}

.um-lightbox-arrow:hover {
    background: var(--um-primary);
    border-color: var(--um-primary);
    transform: translateY(-50%) scale(1.1);
    color: #ffffff;
}

.um-lightbox-footer {
    padding: 10px 16px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 25;
    flex-shrink: 0;
}

/* RESPONSIVE MOBILE AJUSTES */
@media (max-width: 768px) {
    .um-lightbox-header {
        padding: 10px 14px;
    }
    .um-lightbox-title {
        font-size: 0.88rem;
    }
    .um-lightbox-close {
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
    }
    .um-lightbox-img-wrapper {
        padding: 4px;
    }
    .um-lightbox-img-wrapper img {
        max-width: 98vw;
        max-height: calc(100dvh - 120px);
        border-radius: 4px;
    }
    .um-lightbox-arrow {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
        background: rgba(0, 0, 0, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.25);
    }
    .um-lightbox-arrow.prev {
        left: 8px;
    }
    .um-lightbox-arrow.next {
        right: 8px;
    }
    .um-lightbox-footer {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    /* Hero cinema responsivo estilo Landoll */
    .um-hero-cinema {
        height: auto;
        min-height: unset;
        aspect-ratio: 16 / 9;
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
    }

    .um-hero-youtube {
        top: 50%;
        left: 50%;
        bottom: auto;
        width: 177.78vh;
        height: 100vh;
        min-width: 100vw;
        min-height: 56.25vw;
        transform: translate(-50%, -50%) scale(1.18);
        transform-origin: center center;
    }
}

/* ==========================================================================
   ANIMACIONES, SCROLL REVEAL Y MICROINTERACCIONES DE ALTO RENDIMIENTO
   ========================================================================== */

/* GPU-Accelerated Scroll Reveal */
.um-reveal,
.um-reveal-up,
.um-reveal-left,
.um-reveal-right {
    opacity: 0;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.um-reveal-up {
    transform: translateY(32px);
}

.um-reveal-left {
    transform: translateX(-32px);
}

.um-reveal-right {
    transform: translateX(32px);
}

.um-reveal.um-revealed,
.um-reveal-up.um-revealed,
.um-reveal-left.um-revealed,
.um-reveal-right.um-revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Retardos escalonados para listas de tarjetas */
.um-stagger-1 { transition-delay: 0.08s; }
.um-stagger-2 { transition-delay: 0.16s; }
.um-stagger-3 { transition-delay: 0.24s; }
.um-stagger-4 { transition-delay: 0.32s; }

/* Microinteracciones en tarjetas y botones */
.um-showroom-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.um-showroom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12) !important;
}

.um-showroom-img-wrap {
    overflow: hidden;
    position: relative;
}

.um-showroom-img-wrap img {
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.um-showroom-card:hover .um-showroom-img-wrap img {
    transform: scale(1.06);
}

/* Microinteracciones en botones industriales */
.btn-industrial,
.btn-danger,
.btn-outline-danger {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s ease,
                background-color 0.25s ease,
                border-color 0.25s ease,
                color 0.25s ease;
}

.btn-industrial:hover,
.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(216, 43, 30, 0.35);
}

.btn-industrial:active,
.btn-danger:active,
.btn-outline-danger:active {
    transform: scale(0.97);
}

/* Microinteracción en cajas de confianza y características */
.um-trust-bar .um-trust-icon-box {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.um-trust-bar .col-lg-3:hover .um-trust-icon-box {
    transform: scale(1.15) translateY(-2px);
}

.um-feature-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}

.um-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: rgba(216, 43, 30, 0.35) !important;
}

/* ==========================================================================
   SECCIÓN: CONTADOR DE TRAYECTORIA Y CIFRAS INDUSTRIALES (Stats Counter)
   ========================================================================== */
.um-stats-counter-section {
    position: relative;
    background: linear-gradient(135deg, #0b0f14 0%, #161c24 50%, #0d1117 100%);
    border-top: 4px solid var(--um-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 70px 0;
    color: #ffffff;
    overflow: hidden;
}

/* Patrón sutil de fondo */
.um-stats-counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(216, 43, 30, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.6;
    pointer-events: none;
}

.um-stat-item {
    position: relative;
    padding: 28px 22px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                background-color 0.3s ease;
    text-align: center;
}

.um-stat-item:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(216, 43, 30, 0.45);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(216, 43, 30, 0.15);
}

.um-stat-icon-badge {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(216, 43, 30, 0.14);
    border: 1px solid rgba(216, 43, 30, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff4d40;
    font-size: 1.55rem;
    margin-bottom: 16px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.um-stat-item:hover .um-stat-icon-badge {
    transform: scale(1.12) rotate(4deg);
    background: var(--um-primary);
    color: #ffffff;
}

.um-stat-number-wrap {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.um-stat-affix {
    color: var(--um-primary);
    font-size: 2.6rem;
    font-weight: 800;
}

.um-stat-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #f1f3f5;
    margin-bottom: 6px;
}

.um-stat-desc {
    font-size: 0.85rem;
    color: #9aa3af;
    line-height: 1.45;
    margin-bottom: 0;
}

/* Modo accesibilidad para usuarios con reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
    .um-reveal,
    .um-reveal-up,
    .um-reveal-left,
    .um-reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .um-showroom-card,
    .um-showroom-card:hover,
    .um-showroom-img-wrap img {
        transform: none !important;
        transition: none !important;
    }
}



