:root {
    --esip-green-dark: #00331e;
    --esip-green: #01A84B;
    --esip-green-light: #008f4c;
    --esip-orange: #f26522;
    --esip-orange-dark: #d44d0e;
    --gray-dark: #1a202c;
    --gray-muted: #718096;
    --font-premium: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CORREGIDO: Se habilita el scroll vertical en todo el documento */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #ffffff;
    font-family: var(--font-premium);
}

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;

}

a,
button,
.thumb-item,
.material-nav-card {
    cursor: pointer;
}

/* CORREGIDO: Se elimina 'overflow: hidden' para que el contenido inferior fluya */
.split-creative-viewport {
    width: 100vw;
    min-height: 100vh;;
    display: grid;
grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    position: relative;
}

/* ==========================================================================
   SECCIÓN IZQUIERDA: PANELES RECTANGULARES EDITORIALES
   ========================================================================== */
.visual-canvas {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    background: var(--esip-green-dark);
    z-index: 2;
    overflow: hidden;
}

/* Imagen base de fondo (Más visible) */
.industrial-bg-src {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    mix-blend-mode: luminosity;
    opacity: 0.25;
}

/* MODIFICADO: Imagen secundaria con degradado verde MUCHO más imponente y visible */
.industrial-gradient-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    mix-blend-mode: hard-light;
    opacity: 0.75;

    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

/* Capa de fusión cromática */
.gradient-overlay-fluid {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 84, 51, 0.85) 0%,
            rgba(0, 51, 30, 0.75) 60%,
            rgba(242, 101, 34, 0.05) 100);
    z-index: 1;
}

/* Contenedor estructural de los paneles arquitectónicos */
.tech-panel-cluster {
    position: relative;
    width: 100%;
    height: 80%;
    max-width: 550px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    z-index: 3;
    transform: translateX(40px);
}

/* Estilo base de los paneles técnicos rígidos */
.editorial-panel {
    position: relative;
    transition: transform 0.2s ease-out;
    will-change: transform;
}

.panel-window {
    width: 100%;
    height: 100%;
    background: #ffffff;
    padding: 5px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    border-radius: 2px;
}

.highlighted-orange-frame {
    padding: 6px;
    background: linear-gradient(135deg, #ffffff 0%, var(--esip-orange) 100%);
}

.panel-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

/* Maquetación milimétrica asimétrica mediante Grid */
.panel-alpha {
    grid-column: 1 / span 6;
    grid-row: 1 / span 5;
    z-index: 2;
}

.panel-beta {
    grid-column: 2 / span 5;
    grid-row: 6 / span 6;
    z-index: 1;
}

.panel-prime {
    grid-column: 6 / span 7;
    grid-row: 3 / span 6;
    z-index: 3;
}

.panel-gamma {
    grid-column: 8 / span 5;
    grid-row: 9 / span 4;
    z-index: 2;
}

.editorial-panel:hover .panel-img {
    transform: scale(1.1);
}

.editorial-panel:hover .panel-window {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   SECCIÓN DERECHA: CORPORATIVA Y BOTÓN
   ========================================================================== */
.content-canvas {
    background: #ffffff;
    padding: 6vh 6vw 8vh 3vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    text-align: right;
    z-index: 3;
}

.corporate-identity {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.brand-flex-align {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-wrapper-svg {
    position: relative;
    width: 65px;
    height: 65px;
}

.derrick-logo-vector {
    width: 100%;
    height: 100%;
}

.logo-text-a {
    position: absolute;
    font-size: 28px;
    font-weight: 900;
    color: var(--esip-green);
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
}

.brand-name-main {
    font-size: 85px;
    font-weight: 900;
    color: var(--esip-green);
    line-height: 0.8;
    letter-spacing: -3px;
}

.brand-subtext {
    font-size: 13px;
    font-weight: 700;
    color: var(--esip-orange);
    margin-top: 14px;
    letter-spacing: 0.3px;
}

.brand-nit {
    font-size: 11px;
    color: var(--gray-muted);
    font-weight: 600;
    margin-top: 3px;
}

.marketing-titles {
    margin: 25px 0;
}

.title-green {
    font-size: 36px;
    font-weight: 900;
    color: var(--esip-green);
}

.title-light {
    font-size: 28px;
    font-weight: 300;
    color: var(--gray-dark);
    letter-spacing: 2px;
    margin: 4px 0;
}

.title-orange {
    font-size: 52px;
    font-weight: 900;
    color: var(--esip-orange);
}

/* --- BOTÓN CORPORATIVO PREMIUM --- */
.interactive-action-zone {
    margin-bottom: 25px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.btn-creative-esip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 38px;
    background: linear-gradient(135deg, var(--esip-orange) 0%, var(--esip-orange-dark) 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(242, 101, 34, 0.3);
    transition: all 0.3s ease;
}

.btn-txt,
.btn-arrow {
    position: relative;
    z-index: 2;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    z-index: 1;
}

.btn-creative-esip:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(242, 101, 34, 0.45);
}

.btn-creative-esip:hover .btn-shimmer {
    left: 150%;
    transition: left 0.7s ease-in-out;
}

.btn-creative-esip:hover .btn-arrow {
    transform: translateX(5px);
}

/* --- GRILLA ATRIBUTOS --- */
.features-minimal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 520px;
}

.feature-card-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    order: 2;
}

.badge-meta {
    order: 1;
}

.badge-meta h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-dark);
}

.badge-meta p {
    font-size: 11px;
    color: var(--gray-muted);
    font-weight: 600;
    white-space: nowrap;
}

.feature-card-item:hover .badge-icon {
    transform: scale(1.1);
    background-color: #1a202c;
    color: #fff;
}

/* --- PIE DE PÁGINA --- */
.asymmetric-footer-curves {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 60px;
    pointer-events: none;
    z-index: 10;
    max-width: 100%; 
    overflow: hidden;
}

.layer-curve {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    border-top-left-radius: 100% 150px;
}

.curve-orange {
    height: 42px;
    background-color: var(--esip-orange);
    width: 85%;
}

.curve-green {
    height: 22px;
    background-color: var(--esip-green-light);
}

/* ==========================================================================
   SECCIÓN INFERIOR: ÍNDICE DE CONTENIDOS
   ========================================================================== */
.content-section-viewport {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

/* --- BLOQUE IZQUIERDO: LISTADO --- */
.index-text-canvas {
    padding: 8vh 4vw 8vh 6vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-index-header {
    margin-bottom: 30px;
}

.index-main-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--esip-green, #005433);
    letter-spacing: -0.5px;
}

.index-title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--esip-orange, #f26522);
    margin-top: 8px;
}

/* ==========================================================================
   NUEVO: SCROLLBAR Y CONTENEDOR DE LA LISTA
   ========================================================================== */
.technical-index-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Reducido un poco para acomodar más ítems */
    max-width: 580px;
    max-height: 65vh;
    /* Controla la altura máxima para activar el scroll */
    overflow-y: auto;
    /* Activa el scroll vertical */
    padding-right: 15px;
    /* Espacio para que el scroll no monte el texto */
    margin-right: -15px;
    /* Compensación visual */
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

/* Scrollbar personalizado Webkit (Chrome, Edge, Safari) */
.technical-index-list::-webkit-scrollbar {
    width: 6px;
}

.technical-index-list::-webkit-scrollbar-track {
    background: transparent;
}

.technical-index-list::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

.technical-index-list::-webkit-scrollbar-thumb:hover {
    background-color: var(--esip-green, #005433);
}

/* ==========================================================================
   NUEVO: DIVISORES DE CATEGORÍA
   ========================================================================== */
.category-divider {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--esip-green, #005433);
    letter-spacing: 1.5px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 6px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.category-divider:first-child {
    margin-top: 0;
}

/* ==========================================================================
   ÍTEMS Y MENÚ ACORDEÓN (UNIFICADO)
   ========================================================================== */
.index-item {
    display: flex;
    flex-direction: column;
    /* Columna para albergar el menú oculto abajo */
    cursor: pointer;
    transition: all 0.3s ease;
}

.index-item-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 6px 0;
}

.item-icon {
    font-size: 18px;
    margin-right: 15px;
    width: 24px;
    text-align: center;
}

.item-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 50%;
    margin-right: 15px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-orange {
    border: 2px solid var(--esip-orange, #f26522);
    color: var(--esip-orange, #f26522);
}

.badge-green {
    border: 2px solid var(--esip-green-light, #00b050);
    color: var(--esip-green-light, #00b050);
}

.item-name {
    font-size: 14px;
    color: var(--gray-dark, #333);
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.fontweight-bold {
    font-weight: 700;
}

.item-dots {
    flex-grow: 1;
    border-bottom: 2px dotted #e2e8f0;
    margin: 0 15px;
    position: relative;
    top: -4px;
}

.item-page {
    font-size: 14px;
    font-weight: 700;
    color: var(--esip-green, #005433);
    transition: color 0.2s ease;
}

/* Efectos Hover unificados */
.index-item:hover .item-name {
    color: var(--esip-orange, #f26522);
    transform: translateX(4px);
}

.index-item:hover .item-page {
    color: var(--esip-orange, #f26522);
}

/* Modificación del submenú para dar espacio real */
.index-item-submenu {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* Pequeño espacio entre enlaces */
    padding-left: 39px;
    margin-top: 0;
    transition: max-height 0.35s ease, margin 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.index-item-submenu a {
    font-size: 13px;
    color: #718096;
    text-decoration: none;
    font-weight: 500;
    /* Damos más aire arriba y abajo para que se vean separados */
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
    /* Línea separadora muy suave opcional */
    display: block;
    /* Forzamos el salto de línea al ocupar el 100% */
    width: 100%;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.index-item-submenu a:hover {
    color: var(--esip-orange, #f26522);
    padding-left: 10px;
    /* Un pequeño efecto de desplazamiento lateral al pasar el mouse */
}

/* Ajustamos el estado abierto */
.index-item.menu-open .index-item-submenu {
    max-height: 300px;
    /* Aumentamos por si son muchos modelos */
    margin-top: 10px;
    margin-bottom: 15px;
    /* Más espacio al cerrar el bloque */
    opacity: 1;
}

.index-item.menu-open .item-name {
    color: var(--esip-green, #005433);
    font-weight: 700;
}

/* --- BLOQUE DERECHO: DETALLES --- */
.index-visual-canvas {
    position: relative;
    background-color: #050b14;
    overflow: hidden;
}

.asymmetric-wave-divider {
    position: absolute;
    top: 0;
    left: -1px;
    width: 120px;
    height: 100%;
    background: #ffffff;
    clip-path: polygon(0 0, 30% 0, 100% 100%, 0 100%);
    z-index: 4;
}

.machinery-preview-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.machinery-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    z-index: 1;
}

.machinery-img.active {
    opacity: 0.9;
    transform: scale(1);
    z-index: 2;
}

.dark-machinery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 51, 30, 0.4) 0%, rgba(5, 11, 20, 0.7) 100%);
    z-index: 3;
    pointer-events: none;
}

/* ==========================================================================
   ESTILOS PARA LAS PESTAÑAS (TABS) DE CONTENIDO
   ========================================================================== */
.index-tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.tab-btn {
    background: #f1f5f9;
    border: none;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-dark, #333);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn.active {
    background: var(--esip-green, #005433);
    color: #ffffff;
}

.index-tab-content {
    display: none;
    flex-direction: column;
    gap: 8px;
    max-height: 52vh; /* Mantiene un scroll cómodo sin volverse infinito */
    overflow-y: auto;
    padding-right: 10px;
}

.index-tab-content.active {
    display: flex;
}

/* Scrollbar interno para la pestaña de productos */
.index-tab-content::-webkit-scrollbar {
    width: 5px;
}
.index-tab-content::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}


/* ==========================================================================
   RESPONSIVE OPTIMIZADO: SECCIÓN ÍNDICE DE CONTENIDOS
   ========================================================================== */

@media (max-width: 1024px) {
    /* Convertimos la estructura de dos columnas en una columna vertical apilada */
    .content-section-viewport {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .index-text-canvas {
        padding: 50px 24px;
        width: 100%;
    }

    /* Permitimos que la lista crezca con naturalidad en pantallas táctiles */
    .technical-index-list {
        max-width: 100%;
        max-height: none;
        overflow-y: visible;
        margin-right: 0;
        padding-right: 0;
    }

    /* La sección visual pasa a la parte inferior con altura fija cómoda */
    .index-visual-canvas {
        width: 100%;
        height: 40vh;
        min-height: 320px;
    }

    /* Se oculta el divisor de onda diagonal al romper el layout horizontal */
    .asymmetric-wave-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .index-text-canvas {
        padding: 40px 18px;
    }

    .index-main-title {
        font-size: 26px;
    }

    /* Reducimos ligeramente los márgenes de los puntos guía en tablets */
    .item-dots {
        margin: 0 8px;
    }

    .item-name, 
    .item-page {
        font-size: 13px;
    }

    .item-icon, 
    .item-badge {
        font-size: 16px;
        margin-right: 10px;
    }

    .item-badge {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .index-text-canvas {
        padding: 30px 12px;
    }

    .index-main-title {
        font-size: 22px;
    }

    .category-divider {
        font-size: 11px;
        letter-spacing: 1px;
    }

    /* En celulares muy estrechos, los puntos guía se ocultan 
       para evitar que el texto colapse o genere saltos de línea extraños */
    .item-dots {
        display: none;
    }

    .index-item-trigger {
        padding: 8px 0;
        justify-content: space-between;
    }

    .item-name {
        font-size: 12px;
        flex-grow: 1; /* Ocupa el espacio intermedio de forma limpia */
        padding: 0 6px;
    }

    .item-page {
        font-size: 12px;
        margin-left: auto;
    }

    /* Ajuste del submenú desplegable en móviles pequeños */
    .index-item-submenu {
        padding-left: 28px;
    }

    .index-item-submenu a {
        font-size: 12px;
        padding: 6px 0;
    }

    .index-visual-canvas {
        height: 35vh;
        min-height: 260px;
    }
}


    /* ==========================================================================
   OPTIMIZACIÓN RESPONSIVE PREMIUM (ESIP S.A.S.)
   ========================================================================== */

@media (max-width: 1200px) {
    /* Ajuste para pantallas medianas o portátiles compactas */
    .brand-name-main { font-size: 70px; }
    .title-green { font-size: 30px; }
    .title-light { font-size: 24px; }
    .title-orange { font-size: 42px; }
    .tech-panel-cluster { max-width: 450px; transform: translateX(20px); }
}

@media (max-width: 992px) {
    /* Transición a diseño apilado (1 sola columna) en Tablets y Celulares */
    .split-creative-viewport {
        width: 100vw;
        height: auto;
        min-height: 100vh;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    /* Sección visual superior en móvil */
    .visual-canvas {
        width: 100%;
        height: 50vh;
        min-height: 400px;
        clip-path: none; /* Se elimina el corte diagonal para evitar espacios extraños */
        padding: 30px 0;
    }

    .tech-panel-cluster {
        height: 90%;
        max-width: 380px;
        transform: translateX(0); /* Se centra el clúster de imágenes */
    }

    /* Sección derecha (Contenido corporativo) pasa debajo */
    .content-canvas {
        width: 100%;
        padding: 5vh 6vw 12vh 6vw; /* Espacio extra abajo para las curvas */
        align-items: center;
        text-align: center;
    }

    .corporate-identity,
    .brand-flex-align,
    .interactive-action-zone {
        align-items: center;
        justify-content: center;
    }

    /* Alineación de texto y elementos a la centro para móvil */
    .features-minimal-grid {
        justify-content: center;
        max-width: 100%;
    }

    .feature-card-item {
        justify-content: center;
    }

    /* Reducción proporcional de títulos grandes */
    .marketing-titles {
        margin: 20px 0;
    }
    
    .title-green { font-size: 26px; }
    .title-light { font-size: 20px; letter-spacing: 1px; }
    .title-orange { font-size: 38px; }

    /* Ajuste de curvas del pie de página para que no tapuen información */
    .asymmetric-footer-curves {
        width: 100%;
        height: 45px;
    }
    
    .curve-orange { width: 100%; }
}

@media (max-width: 576px) {
    /* Celulares pequeños */
    .visual-canvas {
        height: 45vh;
        min-height: 320px;
    }

    .tech-panel-cluster {
        max-width: 290px;
    }

    .content-canvas {
        padding: 4vh 5vw 10vh 5vw;
        align-items: center; /* Asegura que todo el contenido del contenedor flex esté centrado */
        text-align: center;
    }

    /* CENTRADO ABSOLUTO DE LA GRILLA DE ATRIBUTOS */
    .features-minimal-grid {
        grid-template-columns: 1fr; /* Una sola columna */
        gap: 15px;
        width: 100%;
        max-width: 280px; /* Ancho controlado para que no se expanda de más */
        margin: 0 auto; /* Centrado horizontal automático */
        justify-items: center; /* Centra los elementos internos de la grilla */
    }

    /* Centrar cada tarjeta de forma individual y alinear sus textos e iconos */
    .feature-card-item {
        justify-content: center; /* Centra el contenido de la tarjeta */
        text-align: left; /* Mantiene el texto alineado internamente de forma limpia frente al icono */
        width: 100%;
        background: #f8fafc;
        padding: 10px 15px;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    }

    .badge-meta {
        text-align: left;
    }

    .title-green { font-size: 22px; }
    .title-light { font-size: 16px; }
    .title-orange { font-size: 30px; }

    .btn-creative-esip {
        padding: 14px 28px;
        font-size: 12px;
        width: 100%;
        justify-content: center;
    }
    
    .interactive-action-zone {
        justify-content: center;
    }
}

/* Contenedor Modal Premium */
.esip-premium-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1.5rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Estructura interna */
.modal-inner {
    background: #ffffff;
    width: 100%;
    max-width: 1050px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Botón Cerrar */
.close-modal-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    color: #0f172a;
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-radius: 8px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.close-modal-btn:hover {
    background: #f26522;
    color: #ffffff;
    border-color: #f26522;
}

/* Rejilla Principal de 2 Columnas */
.premium-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    min-height: 600px;
}

@media (max-width: 768px) {
    .premium-grid {
        grid-template-columns: 1fr;
    }
    .visual-pane {
        min-height: 220px;
    }
}

/* Panel Visual (Izquierda) - Imagen limpia sin tonos */
.visual-pane {
    position: relative;
    background: #0f172a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.visual-pane img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.5s ease;
}

.visual-pane:hover img {
    transform: scale(1.03);
}

.visual-pane::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%);
    pointer-events: none;
    z-index: 1;
}

.visual-caption {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    color: #ffffff;
}

.caption-tag {
    display: inline-block;
    background-color: #f26522;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.visual-caption h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
}

/* Panel de Contenido (Derecha) */
.content-pane {
    padding: 2.5rem;
    overflow-y: auto;
    max-height: 80vh;
    background-color: #ffffff;
}

.modal-header .eyebrow {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.intro-text {
    font-size: 0.925rem;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 2rem;
    border-left: 3px solid #f26522;
    padding-left: 1rem;
}

/* Tarjetas Internas */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.story-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.story-card:hover {
    border-color: #01A84B;
    box-shadow: 0 4px 12px rgba(1, 168, 75, 0.05);
}

.card-icon {
    background: rgba(1, 168, 75, 0.08);
    color: #01A84B;
    padding: 0.6rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.story-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
}

.story-card p {
    font-size: 0.85rem;
    color: #000000;
    line-height: 1.5;
    margin: 0;
}

/* Objetivos de Calidad */
.story-card.full-width {
    flex-direction: column;
}

.card-header-flex {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.card-header-flex h4 {
    margin: 0;
}

.quality-list {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.85rem;
    color: #000000;
    line-height: 1.6;
}

.quality-list li {
    margin-bottom: 0.35rem;
}


/* ==========================================================================
   RESPONSIVO PARA MODAL CORPORATIVO (¿QUIÉNES SOMOS?)
   ========================================================================== */

@media (max-width: 1024px) {
    .esip-premium-modal {
        padding: 20px;
    }

    /* Cambiamos el grid de dos columnas a una sola columna vertical */
    .premium-grid {
        grid-template-columns: 1fr;
    }

    /* La imagen pasa a la parte superior con una altura fija atractiva */
    .visual-pane {
        height: 240px;
    }

    .content-pane {
        padding: 40px 30px;
    }

    .content-pane h1 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .esip-premium-modal {
        padding: 10px;
    }

    .content-pane {
        padding: 30px 20px;
    }

    .content-pane h1 {
        font-size: 32px;
    }

    /* Misión y Visión se apilan en una sola columna en pantallas pequeñas */
    .story-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }

    .close-modal-btn {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
        font-size: 11px;
        background: rgba(255, 255, 255, 0.9);
    }
}

@media (max-width: 480px) {
    .content-pane h1 {
        font-size: 28px;
    }

    .intro-text, 
    .story-item p, 
    .quality-list li {
        font-size: 13px;
    }

    .visual-pane {
        height: 180px;
    }
}


.catalog-dashboard-section {
    width: 100vw;
    height: 100vh;
    background-color: #f1f5f9;
    display: grid;
    grid-template-columns: 420px 1fr;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

/* --- PANEL IZQUIERDO: CONTROLES Y RECUADRADOS --- */
.dashboard-control-panel {
    background-color: #ffffff;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.control-panel-header {
    padding: 30px 24px 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.control-panel-header h2 {
    font-size: 24px;
    font-weight: 900;
    color: var(--esip-green);
}

.control-panel-header p {
    font-size: 12px;
    color: var(--gray-muted);
    margin-top: 4px;
    line-height: 1.4;
}

/* Filtros de Categorías */
.category-filter-pills {
    display: flex;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gray-bg);
    overflow-x: auto;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.category-filter-pills::-webkit-scrollbar {
    height: 0px;
}

.filter-pill {
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-dark);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.filter-pill.active,
.filter-pill:hover {
    background: var(--esip-green);
    color: #ffffff;
    border-color: var(--esip-green);
}

/* Contenedor con scroll para los recuadrados */
.materials-grid-container {
    flex-grow: 1;
    padding: 20px 24px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* Tarjetas / Recuadrados laterales */
.material-nav-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.material-nav-card:hover {
    border-color: var(--esip-orange);
    box-shadow: 0 4px 12px rgba(242, 101, 34, 0.1);
    transform: translateX(4px);
}

.material-nav-card.active {
    background: var(--esip-green-dark);
    border-color: var(--esip-green-dark);
    color: white;
}

.card-num-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-bg);
    font-size: 11px;
    font-weight: 700;
    color: var(--esip-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.material-nav-card.active .card-num-badge {
    background: var(--esip-orange);
    color: white;
}

.card-meta-info h4 {
    font-size: 13px;
    font-weight: 700;
}

.card-meta-info p {
    font-size: 11px;
    color: var(--gray-muted);
    margin-top: 2px;
}

.material-nav-card.active .card-meta-info p {
    color: #a2bcae;
}

/* --- PANEL DERECHO: VISOR DE FICHAS TÉCNICAS --- */
.dashboard-viewer-canvas {
    padding: 40px;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.spec-sheet-container {
    width: 100%;
    max-width: 820px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    position: relative;
    display: none;
    /* Oculto por defecto */
}

.spec-sheet-container.active-sheet {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Encabezado Estilo Folleto Industrial */
.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid var(--esip-orange);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.sheet-title-area h3 {
    font-size: 38px;
    font-weight: 900;
    color: var(--esip-green);
    line-height: 1;
}

.sheet-title-area h3 span {
    color: #ff0000;
    display: block;
}

.sheet-title-area p {
    font-size: 14px;
    color: var(--esip-green-dark);
    font-weight: 700;
    margin-top: 8px;
}

.sheet-tag-pill {
    background: var(--esip-green-dark);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}



.main-display-overlay {
    width: 100%;
    padding: 20px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
}

.product-render-placeholder {
    width: 100%;
    max-width: 480px;
    height: 140px;
    margin: 0 auto;
    background: linear-gradient(90deg, #e11d48 0%, #be123c 100%);
    border-radius: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}


.style-labels-flex {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.style-pill-box {
    background: white;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 12px;
    text-align: center;
}

.style-pill-box strong {
    color: var(--esip-orange);
    display: block;
    margin-bottom: 2px;
}

/* Cuadros Técnicos del Folleto */
.sheet-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.spec-block-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    background: white;
    transition: background 0.2s;
}

.spec-block-card:hover {
    background: var(--gray-bg);
}

.spec-block-card h5 {
    font-size: 11px;
    font-weight: 700;
    color: var(--esip-green);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.spec-block-card p {
    font-size: 13px;
    color: #000000;
    font-weight: 500;
    line-height: 1.5;
}

.spec-block-card p strong {
    color: var(--esip-orange-dark);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- RESPONSIVE OPTIMIZADO PARA EL CATALOGO --- */
@media (max-width: 1024px) {
    .catalog-dashboard-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        height: auto;
        max-height: none;
    }

    .dashboard-control-panel {
        height: 400px;
    }

    .dashboard-viewer-canvas {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .dashboard-control-panel {
        height: 350px;
    }

    .sheet-features-grid {
        grid-template-columns: 1fr;
    }

    .sheet-header {
        flex-direction: column;
        gap: 12px;
    }

    .sheet-title-area h3 {
        font-size: 28px;
    }

    .style-labels-flex {
        flex-direction: column;
        gap: 10px;
    }
}


/* Estilo para los grupos de navegación */
.index-group {
    margin-bottom: 25px;
}

.group-title {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--esip-orange);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 800;
}

/* Ajuste del ítem principal para que no parezca desordenado */
.index-item-trigger {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.index-item-submenu {
    background: #fcfcfc;
    border-left: 2px solid var(--esip-green);
    margin-left: 10px;
}

/* Mejora la transición para que el "acordeón" sea fluido */
.index-item.menu-open .index-item-submenu {
    padding: 10px 15px;
}

/* ==========================================================================
   SECCIÓN: PROYECTOS Y OPERACIONES EN CAMPO (ESTILO PREMIUM INDUSTRIAL)
   ========================================================================== */
.operations-field-section {
    width: 100vw;
    padding: 90px 6vw;
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
}

/* Encabezado */
.operations-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.operations-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: var(--esip-orange);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.operations-header h2 {
    font-size: 36px;
    font-weight: 900;
    color: var(--esip-green-dark);
}

.operations-header h2 span {
    color: var(--esip-green);
}

.operations-header p {
    font-size: 14px;
    color: var(--gray-muted);
    margin-top: 12px;
    line-height: 1.6;
}

/* Barra de Métricas de Alto Impacto */
.metrics-performance-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: var(--esip-green-dark);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 60px;
    box-shadow: 0 12px 30px rgba(0, 51, 30, 0.15);
}

.metric-block {
    text-align: center;
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.metric-block:last-child {
    border-right: none;
}

.metric-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--esip-orange);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.metric-label {
    font-size: 11px;
    font-weight: 600;
    color: #a2bcae;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grilla de Tarjetas de Proyectos */
.projects-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-field-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-field-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
}

.project-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--esip-orange);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card-content {
    padding: 24px;
}

.project-card-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-dark);
    line-height: 1.3;
}

.project-location {
    font-size: 11px;
    font-weight: 700;
    color: var(--esip-green);
    margin: 6px 0 18px 0;
}

/* Ficha Técnica del Proyecto (Reto, Solución, Resultado) */
.project-tech-summary {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tech-item-row {
    font-size: 12px;
    color: var(--gray-dark);
    line-height: 1.5;
}

.tech-item-row strong {
    color: var(--esip-green-dark);
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

/* --- RESPONSIVE INMUNE PARA ESTA SECCIÓN --- */
@media (max-width: 1024px) {
    .operations-field-section {
        padding: 60px 4vw;
    }

    .metrics-performance-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 0;
    }

    .metric-block:nth-child(2) {
        border-right: none;
    }

    .projects-showcase-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .operations-header h2 {
        font-size: 28px;
    }

    .metrics-performance-bar {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .metric-block {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 12px;
    }

    .metric-block:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .metric-number {
        font-size: 28px;
    }
}


/* ==========================================================================
   NUEVOS ESTILOS PARA GALERÍA DE IMÁGENES (CATÁLOGO)
   ========================================================================== */

.sheet-visual-showcase.gallery-mode {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Forzar que el visualizador principal soporte imágenes de fondo limpias */
.main-gallery-display {
    width: 100%;
    height: 260px;
    /* Ajusta según tu layout actual */
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    transition: background-image 0.3s ease-in-out;
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

/* Contenedor de las miniaturas */
.gallery-thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columnas iguales */
    gap: 10px;
    width: 100%;
}

/* Estilo de cada miniatura individual */
.thumb-item {
    height: 60px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.25s ease;
}

/* Efecto Hover */
.thumb-item:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Miniatura seleccionada actualmente */
.thumb-item.active {
    border-color: #f26522;
    /* Color naranja o el tono corporativo de tu marca */
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP PREMIUM
   ========================================================================== */
.whatsapp-floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    z-index: 9999;
    /* Asegura que siempre esté por encima de todo el contenido */
    font-family: inherit;
}

/* El botón circular principal */
.whatsapp-main-button {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

/* Efecto de pulso de ondas alrededor del botón */
.whatsapp-main-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.4;
    z-index: -1;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-svg-icon {
    width: 32px;
    height: 32px;
}

/* Cambios estéticos al pasar el mouse */
.whatsapp-main-button:hover {
    transform: scale(1.1) rotate(8deg);
    background-color: #20ba56;
    box-shadow: 0 8px 25px rgba(32, 186, 86, 0.5);
}

/* Burbuja de mensaje de texto lateral (Tooltip) */
.whatsapp-tooltip-box {
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 8px 8px 0px 8px;
    /* Esquina inferior derecha recta hacia el botón */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-right: 15px;
    border: 1px solid #e2e8f0;
    max-width: 240px;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    /* No estorba clics traseros */

    /* Animación de entrada con retraso (Delay) */
    opacity: 0;
    transform: translateX(20px);
    animation: whatsappTooltipFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 2.5s;
    /* Aparece 2.5 segundos después de cargar la web */
}

.whatsapp-tooltip-box p {
    font-size: 12px;
    color: #334155;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

/* Punto indicador de "En Línea / Online" */
.tooltip-status-dot {
    width: 8px;
    height: 8px;
    background-color: #25d366;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2);
}

/* ==========================================================================
   ANIMACIONES (KEYFRAMES)
   ========================================================================== */
@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes whatsappTooltipFadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ajuste responsive básico para celulares */
@media (max-width: 480px) {
    .whatsapp-floating-container {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-main-button {
        width: 52px;
        height: 52px;
    }

    .whatsapp-svg-icon {
        width: 28px;
        height: 28px;
    }

    /* En teléfonos pequeños ocultamos la burbuja de texto para que no tape la pantalla */
    .whatsapp-tooltip-box {
        display: none;
    }
}

/* Nuevo Botón Flotante Premium */
.btn-trigger-modal-premium {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    /* Efecto Esmerilado (Glassmorphism) */
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);

    color: #ffffff;
    padding: 10px 18px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
}

/* Comportamiento al pasar el cursor (Hover) */
.btn-trigger-modal-premium:hover {
    background: var(--esip-orange, #f26522);
    border-color: var(--esip-orange, #f26522);
    box-shadow: 0 6px 16px rgba(242, 101, 34, 0.4);
    transform: translateY(-2px);
}

/* Efecto de clic pulsado (Active) */
.btn-trigger-modal-premium:active {
    transform: translateY(0);
}

/* Animación del Icono SVG Cúbico */
.icon-3d {
    transition: transform 0.3s ease;
}

.btn-trigger-modal-premium:hover .icon-3d {
    transform: rotate(15deg) scale(1.1);
}

/* Asegurar que el contenedor padre no corte el botón */
.main-gallery-display {
    position: relative;
    overflow: hidden;
}

/* Estructura Base del Modal */
.custom-specs-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: none;
    /* Controlado por JS */
    align-items: center;
    justify-content: center;
}

.custom-specs-modal.modal-active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
}

.modal-window-wrapper {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botón de Cierre */
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 22px;
    color: #64748b;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Layout en Dos Columnas */
.modal-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

/* Columna Izquierda (3D) */
.modal-left-3d-pane {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px;
    justify-content: center;
}

.modal-left-3d-pane model-viewer {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.pane-title-tag {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1px;
}

/* Columna Derecha (Especificaciones) */
.modal-right-specs-pane {
    padding: 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.modal-right-specs-pane h4 {
    font-size: 24px;
    font-weight: 900;
    color: var(--esip-green);
    margin-bottom: 25px;
    border-bottom: 3px solid var(--esip-orange, #f26522);
    padding-bottom: 10px;
}

.specs-table-container {
    flex-grow: 1;
}

.technical-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.technical-data-table th {
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px 16px;
    border-bottom: 2px solid #e2e8f0;
}

.technical-data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13.5px;
    color: #000000;
}

.technical-data-table tr:hover td {
    background: #f8fafc;
    color: #000000;
    font-weight: 600;
}

.technical-data-table td:first-child {
    font-weight: 700;
    color: #334155;
    width: 40%;
}

/* Ajustes de Galería Sin 3D de fondo */
.gallery-thumbnails-grid {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumb-item {
    width: 70px;
    height: 50px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.thumb-item.active {
    border-color: var(--esip-orange, #f26522);
}

/* Responsivo para el Modal */
@media (max-width: 868px) {
    .modal-split-layout {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .modal-window-wrapper {
        height: 90vh;
    }

    .modal-left-3d-pane {
        padding: 20px;
        height: 300px;
    }

    .modal-left-3d-pane model-viewer {
        min-height: auto;
    }

    .modal-right-specs-pane {
        padding: 20px;
    }
}

/* ==========================================================================
   ANUNCIO DE PRIMERAZO (WELCOME MODAL OVERLAY)
   ========================================================================== */
.announcement-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.7);
    /* Fondo oscuro semitransparente */
    backdrop-filter: blur(12px);
    /* Desenfoque premium del fondo */
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    /* Por encima de absolutamente todo, incluido WhatsApp */
    opacity: 1;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Tarjeta del anuncio */
.announcement-card {
    background-color: #0c1a13;
    /* Verde ultra oscuro industrial */
    /* OPCIÓN CON IMÁGENES: Si quieres usar una imagen de fondo, descomenta la línea de abajo y ajusta la ruta */
    /* background-image: linear-gradient(to right, rgba(12,26,19,0.95) 40%, rgba(12,26,19,0.4)), url('img/tu-fondo-industrial.jpg'); */
    background-size: cover;
    background-position: center;
    width: 90%;
    max-width: 680px;
    border-radius: 16px;
    border: 1px solid rgba(242, 101, 34, 0.3);
    /* Sutil borde con tu naranja corporativo */
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(242, 101, 34, 0.1);
    overflow: hidden;
    animation: announcementScaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Botón de cerrar plano en la esquina */
.close-announcement-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
    z-index: 10;
}

.close-announcement-btn:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* Cuerpo interno */
.announcement-body-content {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
}

.announcement-badge {
    background: rgba(242, 101, 34, 0.15);
    color: #f26522;
    /* Tu naranja */
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 16px;
    border: 1px solid rgba(242, 101, 34, 0.3);
}

.announcement-header h1 {
    font-size: 20px;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.announcement-header h1 span {
    color: #008f53;
    /* Tu verde brillante */
    font-weight: 800;
}

.announcement-header h2 {
    font-size: 32px;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.2;
}

.announcement-divider {
    width: 60px;
    height: 4px;
    background: #f26522;
    margin: 22px 0;
    border-radius: 2px;
}

.announcement-description {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Flex de botones */
.announcement-actions-flex {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Botón principal */
.btn-announcement-primary {
    background: #f26522;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(242, 101, 34, 0.4);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-announcement-primary:hover {
    background: #e05313;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 101, 34, 0.5);
}

.btn-arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.btn-announcement-primary:hover .btn-arrow-icon {
    transform: translateX(4px);
}

/* Botón secundario */
.btn-announcement-secondary {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.btn-announcement-secondary:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ANIMACIONES */
@keyframes announcementScaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* RESPONSIVE PARA MÓVILES */
@media (max-width: 480px) {
    .announcement-body-content {
        padding: 40px 24px;
    }

    .announcement-header h2 {
        font-size: 24px;
    }

    .announcement-description {
        font-size: 14px;
    }

    .announcement-actions-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    .btn-announcement-primary {
        width: 100%;
        justify-content: center;
    }
}

.comparador-section {
    padding: 60px 10%;
    background: #f9f9f9;
}

.tabla-esip {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-top: 20px;
}

.tabla-esip th, .tabla-esip td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: center;
}

.tabla-esip th {
    background: #005433; /* Color corporativo */
    color: white;
}

.hidden { display: none; }

.technical-data-table tbody tr {
    transition: background-color 0.2s ease;
}

.technical-data-table tbody tr:hover {
    background-color: rgba(255, 204, 0, 0.2); /* Color de resaltado */
    color: var(--esip-orange);
}

/* Bandeja Flotante Inferior */
.comparison-tray {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #111827;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: bottom 0.3s ease-in-out;
    z-index: 1000;
    width: 90%;
    max-width: 500px;
}
.comparison-tray:not(.hidden) {
    bottom: 25px;
}
.tray-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.btn-compare-action {
    background: #2563eb;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-compare-action:disabled {
    background: #4b5563;
    cursor: not-allowed;
}
.btn-tray-close {
    background: transparent;
    color: #9ca3af;
    border: none;
    cursor: pointer;
}
.hidden { display: none !important; }

/* Modal de Comparación */
.comparison-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.comparison-modal-container {
    background: #ffffff;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    border-radius: 16px;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}
.comparison-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 12px;
    margin-bottom: 20px;
}
.btn-close-modal {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #4b5563;
}

/* ==========================================================================
   AJUSTE EXCLUSIVO PARA MÓVILES (BOTONES FUERA Y DEBAJO DE LA IMAGEN)
   ========================================================================== */
@media (max-width: 768px) {

    /* 1. La imagen principal mantendrá su alto y no cortará los botones */
    .main-gallery-display {
        position: relative !important;
        height: 200px !important; /* Alto de la imagen en celular */
        margin-bottom: 120px !important; /* Crear espacio físico debajo de la imagen para los botones */
        overflow: visible !important;
    }

    /* 2. Botón 3D: Se ubica justo al terminar la imagen */
    .main-gallery-display .btn-trigger-modal-premium {
        position: absolute !important;
        top: calc(100% + 12px) !important; /* Empuja el botón 12px abajo del borde inferior de la imagen */
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        z-index: 10 !important;
    }

    /* 3. Botón Comparar: Se ubica debajo del botón 3D */
    .main-gallery-display .btn-toggle-compare {
        position: absolute !important;
        top: calc(100% + 64px) !important; /* Se ubica debajo del primer botón */
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        z-index: 10 !important;
    }
}
/* Estilo de la tabla comparativa */
.compare-table {
    width: 100%;
    border-collapse: collapse;
}
.compare-table th, .compare-table td {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    text-align: left;
    font-size: 14px;
}
.compare-table th {
    background: #f3f4f6;
    color: #1f2937;
}

/* ==========================================
   PALETA ESTRICTA: #00331e, #f26522, Blanco
   ========================================== */

/* --- BOTÓN DE AÑADIR A COMPARAR (EN LAS TARJETAS) --- */
.btn-toggle-compare {
    background-color: #ffffff;
    color: #00331e;
    border: 2px solid #00331e;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Efecto al pasar el mouse por encima */
.btn-toggle-compare:hover {
    background-color: #00331e;
    color: #ffffff;
}

/* Estado cuando el producto YA está seleccionado (activado por JavaScript) */
.btn-toggle-compare.active {
    background-color: #f26522;
    color: #ffffff;
    border-color: #f26522;
}

.btn-toggle-compare.active:hover {
    background-color: #d8571b;
    border-color: #d8571b;
}

/* --- 1. BANDEJA FLOTANTE DE COMPARACIÓN --- */
.comparison-tray {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #00331e;
    padding: 14px 28px;
    border-radius: 50px;
    border: 2px solid #00331e;
    box-shadow: 0 15px 35px rgba(0, 51, 30, 0.15);
    transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    width: 90%;
    max-width: 550px;
}
.comparison-tray:not(.hidden) {
    bottom: 30px;
}
.tray-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.tray-info {
    color: #00331e;
    font-weight: 600;
    font-size: 14px;
}
#selectedCount {
    color: #f26522;
    font-weight: 800;
}
.btn-compare-action {
    background: #00331e;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    transition: background 0.2s;
}
.btn-compare-action:hover {
    background: #f26522;
}
.btn-compare-action:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}
.btn-tray-close {
    background: transparent;
    color: #00331e;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
}
.hidden { display: none !important; }

/* Modal del Comparador */
.comparison-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 51, 30, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.comparison-modal-container {
    background: #ffffff;
    width: 90%;
    max-width: 950px;
    max-height: 85vh;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow-y: auto;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.comparison-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f26522;
    padding-bottom: 15px;
    margin-bottom: 25px;
}
.comparison-modal-header h3 {
    color: #00331e;
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}
.btn-close-modal {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #00331e;
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
}
.compare-table th, .compare-table td {
    padding: 14px 18px;
    border: 1px solid #e5e7eb;
    text-align: left;
    font-size: 14px;
}
.compare-table th {
    background: #00331e;
    color: #ffffff;
    font-weight: 700;
}
.compare-table td {
    background: #ffffff;
    color: #00331e;
}
.compare-table td strong {
    color: #00331e;
    font-weight: 700;
}


---

/* --- 2. FOOTER ELEGANTE Y PROFESIONAL --- */

.industrial-footer {
    background-color: #ffffff;
    color: #00331e;
    font-size: 14px;
    line-height: 1.6;
    border-top: 4px solid #00331e;
}

/* Franja Superior CTA */
.footer-top-cta {
    background: #00331e;
    color: #ffffff;
    padding: 40px 20px;
}
.footer-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-cta-text h3 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}
.footer-cta-text p {
    color: #ffffff;
    opacity: 0.9;
    margin: 0;
    font-size: 15px;
}
.btn-footer-cta {
    background: #f26522;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s, transform 0.2s;
}
.btn-footer-cta:hover {
    background: #d8571b;
    transform: translateY(-2px);
}

/* Contenido Principal del Footer */
.footer-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}
.footer-col h4 {
    color: #00331e;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background-color: #f26522;
}
.brand-col .footer-logo h2 {
    color: #00331e;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}
.brand-col .footer-logo span {
    color: #f26522;
}
.footer-brand-desc {
    margin-bottom: 20px;
    font-size: 13px;
    color: #374151;
}
.footer-social-icons {
    display: flex;
    gap: 12px;
}
.footer-social-icons a {
    background: #f3f4f6;
    color: #00331e;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.footer-social-icons a:hover {
    background: #f26522;
    color: #ffffff;
}

/* Enlaces y Listas del Footer */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a, .footer-links span {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 13px;
    font-weight: 500;
}
.footer-links a:hover {
    color: #f26522;
    font-weight: 700;
}
.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #374151;
}
.footer-contact-info svg {
    color: #f26522;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Barra Inferior */
.footer-bottom-bar {
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
    padding: 20px 0;
}
.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #4b5563;
}
.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom-links a:hover {
    color: #f26522;
}

@media (max-width: 768px) {
    .footer-cta-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-links {
        justify-content: center;
    }
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 99999;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

/* Contenedor para escalar el iframe de YouTube a pantalla completa */
.video-container-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* Relación de aspecto 16:9 (100 * 9 / 16) */
    min-height: 100vh;
    min-width: 177.77vh; /* Relación 16:9 inversa */
    transform: translate(-50%, -50%);
    pointer-events: none; /* Evita que el usuario haga clic en el video y lo abra en YouTube */
}

.video-container-iframe iframe {
    width: 100%;
    height: 100%;
}

.skip-video-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    z-index: 100000;
    pointer-events: auto; /* Permite hacer clic en el botón de omitir */
}

.skip-video-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.corporate-identity .corporate-logo-img {
    width: 100% !important;
    max-width: 200px !important; /* Prueba subiendo este valor poco a poco (ej. 450px o 600px) */
    height: auto !important;
    object-path: contain;
    display: block;
    margin: 0 auto;
}

/* Forzamos también al contenedor contenedor para que no restrinja el ancho */
.corporate-identity .logo-wrapper-svg {
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    justify-content: center;
}



/* Estilo del botón de coordenada / estrella en el 3D */
.hotspot-punto {
    background: #01A84B; /* Color verde corporativo */
    border: 2px solid #ffffff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: transform 0.2s ease;
}

.hotspot-punto:hover {
    transform: scale(1.2);
    background: #ea580c; /* Cambia a naranja ESIP al pasar el cursor */
}

.punto-star {
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

/* Tooltip flotante que muestra el tamaño */
.hotspot-tooltip {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.hotspot-punto:hover .hotspot-tooltip {
    opacity: 1;
}

.industrial-kits-section {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    padding: 4rem 1.5rem;
    box-sizing: border-box;
    font-family: inherit;
    color: #1f2937;
}

@media (min-width: 768px) {
    .industrial-kits-section {
        padding: 5rem 3rem;
    }
}

.kits-wrapper {
    max-width: 85rem;
    margin: 0 auto;
}

.kits-main-header {
    text-align: center;
    margin-bottom: 3rem;
}

.header-tag {
    font-family: monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #f97316;
    background-color: rgba(249, 115, 22, 0.08);
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(249, 115, 22, 0.2);
    font-weight: bold;
}

.kits-main-header h2 {
    font-size: 2.25rem;
    font-weight: 900;
    color: #111827;
    margin: 1rem 0 0.5rem 0;
    letter-spacing: -0.025em;
}

.kits-main-header p {
    color: #4b5563;
    font-size: 0.95rem;
    max-width: 36rem;
    margin: 0 auto;
}

/* Pestañas Horizontales Superiores */
.kits-tabs-container {
    display: flex;
    justify-content: center; /* <--- CENTRA LAS PESTAÑAS HORIZONTALMENTE */
    flex-wrap: wrap;         /* <--- Permite que bajen si la pantalla es muy pequeña */
    gap: 0.75rem;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    scrollbar-width: thin;
    scrollbar-color: #01A84B #f3f4f6;
}

.kits-tabs-container::-webkit-scrollbar {
    height: 6px;
}

.kits-tabs-container::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 4px;
}

.kits-tabs-container::-webkit-scrollbar-thumb {
    background: #01A84B;
    border-radius: 4px;
}

.kit-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 0.85rem 1.25rem;
    border-radius: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.kit-tab-btn:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

.kit-tab-btn.active {
    background-color: #01A84B;
    border-color: #01A84B;
    box-shadow: 0 4px 20px rgba(1, 168, 75, 0.3);
}

.tab-num {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: bold;
    background-color: #e5e7eb;
    color: #4b5563;
    padding: 0.25rem 0.5rem;
    border-radius: 0.4rem;
}

.kit-tab-btn.active .tab-num {
    background-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.tab-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.kit-tab-btn.active .tab-label {
    color: #ffffff;
}

/* Tarjeta Principal de Exhibición */
.kit-showcase-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .kit-showcase-card {
        padding: 3rem;
    }
}

.showcase-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge-cat {
    background-color: rgba(1, 168, 75, 0.1);
    color: #01A84B;
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    border: 1px solid rgba(1, 168, 75, 0.25);
}

.ref-code {
    font-family: monospace;
    font-size: 0.75rem;
    color: #6b7280;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #01A84B;
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #01A84B;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(1, 168, 75, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(1, 168, 75, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(1, 168, 75, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(1, 168, 75, 0);
    }
}

.showcase-header-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.5rem 0;
}

.showcase-header-content p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    max-width: 50rem;
}

/* Galería Bento Grid (Diseño de 5 Imágenes) */
.bento-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 180px);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

/* Configuración Bento para las 5 imágenes */
.bento-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item:nth-child(2) {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-item:nth-child(3) {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-item:nth-child(4) {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-item:nth-child(5) {
    grid-column: span 1;
    grid-row: span 2;
}

@media (min-width: 768px) {
    .bento-gallery {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 160px);
    }
    
    .bento-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }
    .bento-item:nth-child(2) {
        grid-column: span 1;
        grid-row: span 1;
    }
    .bento-item:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
    }
    .bento-item:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }
    .bento-item:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

.bento-item {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.bento-item:hover {
    transform: translateY(-4px);
    border-color: #01A84B;
    box-shadow: 0 10px 20px rgba(1, 168, 75, 0.12);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bento-item:hover img {
    transform: scale(1.05);
}

.bento-badge-num {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: #1f2937;
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 0.4rem;
    border: 1px solid #e5e7eb;
}

/* Pie de Tarjeta y Botón de Cotización */
.showcase-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-top: 1px solid #f3f4f6;
    padding-top: 1.5rem;
}

.footer-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4b5563;
    font-size: 0.85rem;
}

.footer-note svg {
    color: #f97316;
    flex-shrink: 0;
}

.action-quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #f97316;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.85rem 1.75rem;
    border-radius: 0.85rem;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.25);
}

.action-quote-btn:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
}

.action-quote-btn svg {
    transition: transform 0.2s ease;
}

.action-quote-btn:hover svg {
    transform: translateX(4px);
}

.industrial-kits-section {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    padding: 4rem 1.5rem;
    box-sizing: border-box;
    font-family: inherit;
    color: #1f2937;
}

@media (min-width: 768px) {
    .industrial-kits-section {
        padding: 5rem 3rem;
    }
}

.kits-wrapper {
    max-width: 85rem;
    margin: 0 auto;
}

.kits-main-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.header-tag {
    font-family: monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #f97316;
    background-color: rgba(249, 115, 22, 0.08);
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(249, 115, 22, 0.2);
    font-weight: bold;
}

.kits-main-header h2 {
    font-size: 2.25rem;
    font-weight: 900;
    color: #111827;
    margin: 1rem 0 0.5rem 0;
    letter-spacing: -0.025em;
}

.kits-main-header p {
    color: #4b5563;
    font-size: 0.95rem;
    max-width: 36rem;
    margin: 0 auto;
}

/* Pestañas Horizontales Superiores */
.kits-tabs-container {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    scrollbar-width: thin;
    scrollbar-color: #01A84B #f3f4f6;
}

.kits-tabs-container::-webkit-scrollbar {
    height: 6px;
}

.kits-tabs-container::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 4px;
}

.kits-tabs-container::-webkit-scrollbar-thumb {
    background: #01A84B;
    border-radius: 4px;
}

.kit-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 0.85rem 1.25rem;
    border-radius: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.kit-tab-btn:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

.kit-tab-btn.active {
    background-color: #01A84B;
    border-color: #01A84B;
    box-shadow: 0 4px 20px rgba(1, 168, 75, 0.3);
}

.tab-num {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: bold;
    background-color: #e5e7eb;
    color: #4b5563;
    padding: 0.25rem 0.5rem;
    border-radius: 0.4rem;
}

.kit-tab-btn.active .tab-num {
    background-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.tab-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.kit-tab-btn.active .tab-label {
    color: #ffffff;
}

/* Tarjeta Principal de Exhibición */
.kit-showcase-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .kit-showcase-card {
        padding: 2.5rem;
    }
}

.showcase-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 1.25rem;
    margin-bottom: 2rem;
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge-cat {
    background-color: rgba(1, 168, 75, 0.1);
    color: #01A84B;
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    border: 1px solid rgba(1, 168, 75, 0.25);
}

.ref-code {
    font-family: monospace;
    font-size: 0.75rem;
    color: #6b7280;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #01A84B;
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #01A84B;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(1, 168, 75, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(1, 168, 75, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(1, 168, 75, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(1, 168, 75, 0);
    }
}

/* Galería Bento Grid Estrictamente Visual (5 Imágenes) */
.bento-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 160px);
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Distribución Bento impactante para las 5 imágenes de cada kit */
.bento-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item:nth-child(2) {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-item:nth-child(3) {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-item:nth-child(4) {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-item:nth-child(5) {
    grid-column: span 1;
    grid-row: span 2;
}

@media (min-width: 768px) {
    .bento-gallery {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 180px);
    }
    
    .bento-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }
    .bento-item:nth-child(2) {
        grid-column: span 1;
        grid-row: span 1;
    }
    .bento-item:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
    }
    .bento-item:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }
    .bento-item:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

.bento-item {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    box-sizing: border-box;
}

.bento-item:hover {
    transform: translateY(-4px);
    border-color: #01A84B;
    box-shadow: 0 10px 20px rgba(1, 168, 75, 0.12);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.bento-item:hover img {
    transform: scale(1.05);
}

.bento-badge-num {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: #1f2937;
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 0.4rem;
    border: 1px solid #e5e7eb;
}

/* Pie de Tarjeta y Botón de Cotización */
.showcase-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-top: 1px solid #f3f4f6;
    padding-top: 1.5rem;
}

.footer-note {
    display: flex;
    align-items: center;
}

.mini-title-reference {
    font-size: 0.9rem;
    font-weight: 700;
    color: #374151;
}

.action-quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #f97316;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.85rem 1.75rem;
    border-radius: 0.85rem;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.25);
}

.action-quote-btn:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
}

.action-quote-btn svg {
    transition: transform 0.2s ease;
}

.action-quote-btn:hover svg {
    transform: translateX(4px);
}

/* Estilos para el visor de imágenes ampliadas */
.modal-lightbox {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-lightbox.active {
    display: flex;
    opacity: 1;
}

.modal-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-lightbox.active .modal-lightbox-content {
    transform: scale(1);
}

.modal-lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: #fff;
}

.modal-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close-btn:hover {
    color: #ff4d4d;
}

/* Cursor de lupa para las miniaturas indicando que son clickeables */
.gallery-thumbnails-grid .thumb-item {
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.gallery-thumbnails-grid .thumb-item:hover {
    transform: scale(1.05);
}



.hero-section {
    position: relative; /* <--- Esto es clave para que sirva de "caja" contenedora */
    width: 100%;
    min-height: 100vh;
    overflow: hidden; /* Evita que las partículas se salgan de la sección */
}

#particles-js {
    position: absolute; /* <--- Cambiado de fixed a absolute para que se quede en el main */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;     
    pointer-events: none; /* Permite que los clics sigan funcionando en los botones */
}


/* Fondo oscuro translúcido con desenfoque */
.modal-3d-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000; /* Por encima de todo, igual que el de bienvenida */
    opacity: 1;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Tarjeta contenedora del modal */
.modal-3d-card {
    background-color: white;
    width: 90%;
    max-width: 950px;
    border-radius: 16px;
    border: 1px solid rgba(242, 101, 34, 0.3);
    padding: 30px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-3d-header {
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}

.modal-3d-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #f26522;
}

.modal-3d-header p {
    margin: 5px 0 0 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Botón de cierre */
.close-modal-3d-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-modal-3d-btn:hover {
    color: #ffffff;
}

/* Fondo oscuro translúcido con desenfoque */
.modal-3d-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: none; /* <--- Asegurar que esté en none */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}


/* Tarjeta principal transparente y mucho más ancha */
.minimal-transparent-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 1150px !important; /* <--- Ancho amplio para que no se vea corto */
    width: 95% !important;
    padding: 15px !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Estructura de dos columnas */
.visor-content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    background: transparent !important;
    width: 100%;
}

/* Panel de información izquierdo en formato vertical y angosto */
.visor-info-panel {
    flex: 0 0 300px; /* Ancho fijo para mantenerlo vertical */
    max-width: 300px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 18px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(242, 101, 34, 0.3);
    box-sizing: border-box;
}

.visor-badge {
    background: #f26522;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    width: fit-content;
    letter-spacing: 0.5px;
}

.visor-info-panel h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    line-height: 1.3;
}

.visor-info-panel p {
    font-size: 13.5px;
    line-height: 1.5;
    color: #cccccc;
    margin: 0;
}

.visor-highlight-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: #b0b0b0;
    border-left: 3px solid #f26522;
    line-height: 1.4;
}

/* Contenedor exacto del Canvas 3D (Ocupa todo el espacio restante a la derecha) */
.modal-canvas-container {
    flex: 1;
    height: 540px !important;
    position: relative;
    display: block;
    background: transparent !important;
}

/* Botón de cerrar elegante */
.minimal-transparent-card .close-modal-3d-btn {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 20px;
    cursor: pointer;
    align-self: flex-end;
    margin-bottom: -10px;
    z-index: 10;
    transition: background 0.3s, transform 0.2s;
}

.minimal-transparent-card .close-modal-3d-btn:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

/* Botón inferior de despiece */
.minimal-transparent-card .modal-3d-actions {
    text-align: center;
}

.minimal-transparent-card .btn-despiece-modal {
    background: linear-gradient(135deg, #f26522, #d9531e);
    color: #ffffff;
    border: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(242, 101, 34, 0.4);
    transition: all 0.3s ease;
}

.minimal-transparent-card .btn-despiece-modal:hover {
    background: linear-gradient(135deg, #ff7533, #f26522);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(242, 101, 34, 0.6);
}

/* Responsivo para celulares (se acomoda en una sola columna vertical) */
@media (max-width: 768px) {
    .visor-content-wrapper {
        flex-direction: column;
    }
    .visor-info-panel {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }
    .modal-canvas-container {
        height: 350px !important;
        width: 100% !important;
    }
}

.btn-carrusel-visor {
    background: rgba(25, 25, 25, 0.8);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
}

.btn-prev { left: 10px; }
.btn-next { right: 10px; }

.btn-carrusel-visor:hover {
    background: #f26522;
    border-color: #f26522;
    transform: scale(1.1);
}

/* Botón Flotante 3D (Inferior Izquierdo) */
.btn-flotante-3d {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, #f26522, #d9531e);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    border: none;
    cursor: pointer;
    z-index: 9900;
    box-shadow: 0 4px 15px rgba(242, 101, 34, 0.5);
    transition: all 0.3s ease;
}

/* Efecto de pulso (Ondas expansivas) */
.btn-flotante-3d::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(242, 101, 34, 0.5);
    z-index: -1;
    animation: onda-pulso 2s infinite cubic-bezier(0, 0, 0.2, 1);
}

/* Animación de la onda */
@keyframes onda-pulso {
    75%, 100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

/* Hover: Aumenta tamaño y muestra tooltip */
.btn-flotante-3d:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #ff7533, #f26522);
}

.btn-flotante-3d:hover::after {
    content: 'Explorar en 3D';
    position: absolute;
    left: 80px; /* Aparece a la derecha del botón */
    background: rgba(20, 20, 20, 0.9);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 1px solid rgba(242, 101, 34, 0.4);
    backdrop-filter: blur(5px);
}

/* Ocultar el botón flotante en celulares y tablets */
@media (max-width: 1024px) {
    .btn-flotante-3d {
        display: none !important;
    }
}