/* ============================================
   LLAQTA INGENIEROS — CSS Principal (Limpio)
   ============================================ */

:root {
    --verde: #2d5a27;
    --verde-claro: #3a7232;
    --verde-oscuro: #1e3d1a;
    --amarillo: #f2b705;
    --amarillo-hover: #e0a800;
    --blanco: #ffffff;
    --negro: #0f0f0f;
    --plomo: #3a3a3a;
    --gris-claro: #f4f4f0;
    --gris-medio: #888;
    --fuente-titulo: 'Bebas Neue', sans-serif;
    --fuente-cuerpo: 'Barlow', sans-serif;
    --transicion: 0.3s ease;
    --radio: 8px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--fuente-cuerpo); color: var(--plomo); overflow-x: hidden; background: var(--blanco); }
img { max-width: 100%; display: block; }

/* ============================================
   HEADER
   ============================================ */
#main-header {
    position: fixed;
    width: 100%;
    padding: 14px 5%;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    backdrop-filter: blur(12px);
    transition: padding var(--transicion), box-shadow var(--transicion);
}
#main-header.scrolled { padding: 8px 5%; box-shadow: 0 2px 24px rgba(0,0,0,0.12); }
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}
.logo img { height: 75px; transition: height var(--transicion); }
#main-header.scrolled .logo img { height: 48px; }
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2px;
}
.nav-links li a {
    text-decoration: none;
    color: var(--plomo);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: color var(--transicion);
}
.nav-links li a:hover { color: var(--amarillo) !important; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 4px;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--plomo); border-radius: 2px;
    transition: transform var(--transicion), opacity var(--transicion);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   DROPDOWN MENÚ — ESCRITORIO
   ============================================ */
.has-dropdown { position: relative; }

/* Chevron animado */
.chevron {
    display: inline-block;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 5px;
    vertical-align: middle;
    transition: transform var(--transicion);
}
.has-dropdown:hover .chevron,
.has-dropdown.open .chevron {
    transform: rotate(180deg);
}

/* Panel desplegable */
.dropdown {
    position: absolute;
    top: calc(100% + 14px); /* reducido de 14px a 4px para que sea más fácil alcanzar */
    left: 50%;
    transform: translateX(-50%);
    min-width: 260px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.14), 0 4px 16px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.07);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-8px);
    /* apertura instantánea, cierre con 300ms de delay */
    transition: opacity 0.22s ease 0s, transform 0.22s ease 0s;
    z-index: 2000;
}

/* Triángulo decorativo */
.dropdown::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px; height: 7px;
    background: #fff;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.06));
}

/* Mostrar al hover o con clase open */
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

/* Delay de cierre: cuando el cursor sale, espera 300ms antes de ocultar */
.has-dropdown:not(:hover) .dropdown {
    transition: opacity 0.22s ease 0.1s, transform 0.22s ease 0.1s;
}

/* Puente invisible: cubre el espacio entre el link y el panel
   para que el cursor no "salga" del hover al moverse hacia el dropdown */
.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 12px;
    background: transparent;
    pointer-events: auto;
}

/* Cada item del dropdown */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--plomo);
    background: transparent;
    border: 1px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.dropdown-item:hover {
    background: var(--gris-claro);
    border-color: #e5e2da;
    transform: translateX(3px);
}

/* Ícono del item */
.item-icon {
    width: 38px; height: 38px;
    background: rgba(45,90,39,0.08);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verde);
    flex-shrink: 0;
    transition: background 0.18s ease, color 0.18s ease;
}
.dropdown-item:hover .item-icon {
    background: var(--verde);
    color: var(--blanco);
}
.item-icon svg {
    width: 16px; height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Texto del item */
.item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.item-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--negro);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.item-desc {
    font-size: 0.75rem;
    color: var(--gris-medio);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.3;
}

/* ============================================
   BOTONES
   ============================================ */
.btn-primary {
    background: var(--amarillo);
    color: #000;
    padding: 13px 30px;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 4px;
    border: 2px solid var(--amarillo);
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--fuente-cuerpo);
    cursor: pointer;
    transition: background var(--transicion), transform var(--transicion), box-shadow var(--transicion);
}
.btn-primary:hover {
    background: var(--amarillo-hover);
    border-color: var(--amarillo-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242,183,5,0.35);
}
.btn-secondary {
    border: 2px solid rgba(255,255,255,0.8);
    color: var(--blanco);
    padding: 13px 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background var(--transicion), color var(--transicion), transform var(--transicion);
}
.btn-secondary:hover { background: var(--blanco); color: var(--negro); transform: translateY(-2px); }

/* Botón paso BOLTSENSE */
.btn-step {
    background: var(--amarillo);
    color: #000;
    padding: 8px 22px;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 4px;
    border: 2px solid var(--amarillo);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1.8rem;
    transition: background var(--transicion), transform var(--transicion), box-shadow var(--transicion);
}
.btn-step:hover {
    background: var(--amarillo-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242,183,5,0.3);
}

/* ============================================
   HERO
   ============================================ */
#hero {
    position: relative;
    height: 100vh;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    overflow: hidden;
}
.video-container { position: absolute; inset: 0; z-index: 0; }
#hero-video { width: 100%; height: 100%; object-fit: cover; }
.overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.78) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
    animation: fadeUp 0.9s ease both;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-tagline {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--amarillo);
    margin-bottom: 14px;
}
.hero-content h1 {
    font-family: var(--fuente-titulo);
    font-size: clamp(2.8rem, 8vw, 5.8rem);
    color: var(--blanco);
    line-height: 1.0;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.highlight { color: var(--amarillo); }
.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 36px;
    font-weight: 300;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-indicator {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 26px; height: 42px;
    border: 2px solid rgba(255,255,255,0.45);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-indicator span {
    width: 4px; height: 8px;
    background: var(--amarillo);
    border-radius: 2px;
    animation: scrollBounce 1.6s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%       { transform: translateY(10px); opacity: 0.35; }
}

/* ============================================
   UTILIDADES
   ============================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section-label {
    display: inline-block;
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--verde);
    margin-bottom: 10px;
}
.section-label.light { color: var(--amarillo); }
.highlight-verde { color: var(--verde); }

/* Fallbacks */
.img-fallback-dark {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--verde-oscuro) 100%) !important;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.img-fallback-dark::after { content: '🔧'; font-size: 4rem; }

/* ============================================
   EL PROBLEMA
   ============================================ */
.section-problema {
    padding: 100px 0;
    background: var(--negro);
    position: relative;
    overflow: hidden;
}
.section-problema::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: var(--verde-oscuro);
    pointer-events: none;
}
.problema-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.problema-izq h2 {
    font-family: var(--fuente-titulo);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: 2px;
    color: var(--blanco);
    margin-bottom: 20px;
    line-height: 1;
}
.problema-izq > p {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 32px;
}
.problema-lista {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.problema-lista li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}
.prob-icono {
    width: 32px; height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.prob-icono--rojo { background: rgba(220,50,50,0.15); color: #e05555; }
.problema-visual {
    position: relative;
    border-radius: var(--radio);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: #222;
}
.problema-visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}
.problema-overlay-texto {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 40px 24px 24px;
}
.problema-overlay-texto p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
}
.problema-overlay-texto p strong { color: var(--amarillo); font-weight: 700; }

/* ============================================
   LA SOLUCIÓN — NUEVO DISEÑO VERTICAL
   ============================================ */
.section-solucion {
    padding: 100px 0;
    background: var(--gris-claro);
}
.solucion-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}
.solucion-header h2 {
    font-family: var(--fuente-titulo);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: 1px;
    color: var(--negro);
    margin-bottom: 12px;
}
.solucion-header p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

/* Grid de tarjetas */
.solucion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

/* Tarjeta individual */
.solucion-card {
    background: var(--blanco);
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid #e8e5df;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.solucion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(0,0,0,0.13);
    border-color: var(--verde);
}

/* Contenedor de la imagen */
.solucion-card-img {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #1a1a1a;
}
.solucion-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(0.85);
}
.solucion-card:hover .solucion-card-img img {
    transform: scale(1.07);
    filter: brightness(1);
}

/* Badge numérico sobre la imagen */
.solucion-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    font-family: var(--fuente-titulo);
    font-size: 3rem;
    letter-spacing: 1px;
    color: var(--blanco);
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    width: 56px;
    height: 56px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.35s ease, color 0.35s ease;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.25);
}
.solucion-card:hover .solucion-badge {
    background: var(--amarillo);
    color: var(--negro);
    border-color: var(--amarillo);
}

/* Fallback imagen */
.solucion-img-fallback {
    background: linear-gradient(135deg, var(--verde-oscuro) 0%, var(--verde) 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}
.solucion-img-fallback::after {
    content: '⚙️';
    font-size: 4rem;
    opacity: 0.4;
    position: absolute;
}

/* Cuerpo de la tarjeta (info abajo) */
.solucion-card-body {
    padding: 28px 24px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--blanco);
}
.solucion-card-body h3 {
    font-family: var(--fuente-titulo);
    font-size: 1.6rem;
    letter-spacing: 0.5px;
    color: var(--negro);
    margin-bottom: 12px;
    line-height: 1.1;
    transition: color 0.3s ease;
}
.solucion-card:hover .solucion-card-body h3 {
    color: var(--amarillo);
}
.solucion-card-body p {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.75;
    flex: 1;
}

/* Bloque de resultados (se mantiene igual) */
.solucion-resultados {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    background: var(--verde);
    border-radius: var(--radio);
    padding: 28px 36px;
}
.resultado-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 0.92rem;
    font-weight: 600;
}
.resultado-item svg {
    color: var(--amarillo);
    flex-shrink: 0;
}

/* ============================================
   BOLTSENSE — JOURNEY VERTICAL
   ============================================ */
.section-boltsense {
    padding: 100px 0;
    background: var(--blanco);
}
.boltsense-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 72px;
}
.boltsense-header h2 {
    font-family: var(--fuente-titulo);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: 1px;
    color: var(--negro);
    margin: 8px 0 14px;
}
.boltsense-header p { font-size: 1rem; color: #666; line-height: 1.7; }

/* Separación entre pasos */
.bs-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 3rem;
}
.bs-step:last-child { margin-bottom: 0; }
.bs-step--reverse { direction: rtl; }
.bs-step--reverse > * { direction: ltr; }

.bs-step-img {
    position: relative;
    border-radius: var(--radio);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #1a1a1a;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.bs-step-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.88);
}
.bs-step:hover .bs-step-img img { transform: scale(1.04); filter: brightness(1); }
.bs-img-fallback { background: linear-gradient(135deg, var(--verde-oscuro), var(--verde)) !important; }
.bs-img-fallback::after {
    content: '⚙️'; font-size: 4rem;
    display: flex; align-items: center; justify-content: center;
    height: 100%;
}
.bs-step-badge {
    position: absolute;
    top: 20px; left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}
.bs-badge-num {
    font-family: var(--fuente-titulo);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--blanco);
    letter-spacing: 1px;
}
.bs-badge-icon {
    width: 44px; height: 44px;
    background: rgba(242,183,5,0.9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--negro);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.bs-step-texto { padding: 8px 0; }
.bs-etiqueta {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--verde);
    margin-bottom: 12px;
    padding: 4px 12px;
    background: rgba(45,90,39,0.08);
    border-radius: 20px;
    border: 1px solid rgba(45,90,39,0.15);
}
.bs-step-texto h3 {
    font-family: var(--fuente-titulo);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    letter-spacing: 1px;
    color: var(--negro);
    margin-bottom: 16px;
    line-height: 1.05;
}
.bs-step-texto p {
    font-size: 0.98rem;
    color: #555;
    line-height: 1.85;
    margin-bottom: 24px;
}
.bs-step-texto p strong { color: var(--verde); font-weight: 700; }
.bs-lista {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bs-lista li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--plomo);
    font-weight: 600;
}
.bs-lista li svg { color: var(--verde); flex-shrink: 0; }

/* ============================================
   NOSOTROS
   ============================================ */
.section-nosotros {
    padding: 100px 0;
    background: var(--gris-claro);
}
.nosotros-intro {
    max-width: 900px;
    margin: 0 auto 56px;
    text-align: center;
}
.nosotros-intro h2 {
    font-family: var(--fuente-titulo);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 1px;
    color: var(--negro);
    margin: 8px 0 18px;
    line-height: 1.05;
}
.nosotros-intro p {
    font-size: 1rem;
    line-height: 1.85;
    color: #555;
    text-align: justify;
}
.nosotros-intro p strong { color: var(--verde); font-weight: 700; }
.nosotros-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: start;
}
.nosotros-video-wrap { width: 100%; }
.nosotros-video-marco {
    position: relative;
    border-radius: var(--radio);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 20px 56px rgba(0,0,0,0.18);
    background: #1a1a1a;
}
.nosotros-video { width: 100%; height: 100%; object-fit: cover; }
.nosotros-video-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}
.video-stats-ext {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 20px 24px;
    background: var(--blanco);
    border-radius: var(--radio);
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border: 1px solid #e8e5df;
}
.vstat-ext { text-align: center; flex: 1; padding: 0 16px; }
.vstat-ext strong {
    display: block;
    font-family: var(--fuente-titulo);
    font-size: 2rem;
    letter-spacing: 1px;
    color: var(--amarillo);
    line-height: 1;
}
.vstat-ext span {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gris-medio);
    display: block;
    margin-top: 4px;
}
.vstat-ext-sep { width: 1px; height: 36px; background: #ddd; flex-shrink: 0; }
.nosotros-pilares-col { display: flex; flex-direction: column; }
.pilares {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 4px;
}
.pilar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}
.pilar:last-child { border-bottom: none; padding-bottom: 0; }
.pilar-icono {
    width: 42px; height: 42px;
    background: rgba(45,90,39,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verde);
    flex-shrink: 0;
}
.pilar strong {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--negro);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pilar span { font-size: 0.88rem; color: #666; line-height: 1.6; }
.btn-ver-mas {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    font-size: 0.85rem;
    align-self: flex-start;
}
.btn-ver-mas svg { transition: transform var(--transicion); }
.btn-ver-mas:hover svg { transform: translateX(4px); }

/* ============================================
   CTA: PREGUNTA
   ============================================ */
.section-cta-pregunta {
    background: var(--verde);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}
.section-cta-pregunta::before {
    content: ''; position: absolute;
    right: -80px; top: -80px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.cta-pregunta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.cta-pregunta-texto h3 {
    font-family: var(--fuente-titulo);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    letter-spacing: 1px;
    color: var(--blanco);
    margin-bottom: 10px;
    line-height: 1.1;
}
.cta-pregunta-texto p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 520px;
}
.btn-cta-contacto {
    display: inline-block;
    background: var(--amarillo);
    color: var(--negro);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    transition: background var(--transicion), transform var(--transicion), box-shadow var(--transicion);
    white-space: nowrap;
}
.btn-cta-contacto:hover {
    background: var(--amarillo-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ============================================
   INDUSTRIAS
   ============================================ */
.section-industrias {
    padding: 100px 0;
    background: var(--gris-claro);
}
.industrias-header {
    text-align: center;
    margin-bottom: 56px;
}
.industrias-header h2 {
    font-family: var(--fuente-titulo);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    letter-spacing: 1px;
    color: var(--negro);
    margin-bottom: 12px;
    margin-top: 6px;
}
.industrias-header p {
    font-size: 1rem;
    color: #666;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
.industrias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.industria-card {
    background: var(--blanco);
    border-radius: var(--radio);
    overflow: hidden;
    border: 1.5px solid #e8e5df;
    transition: transform var(--transicion), box-shadow var(--transicion), border-color var(--transicion);
}
.industria-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.1);
    border-color: var(--verde);
}
.industria-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #2a2a2a;
}
.industria-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.85);
}
.industria-card:hover .industria-img img { transform: scale(1.07); filter: brightness(1); }
.industria-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(45,90,39,0.6) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    transition: opacity var(--transicion);
}
.industria-card:hover .industria-img-overlay { opacity: 0.7; }
.ind-fallback { background: linear-gradient(135deg, var(--verde-oscuro) 0%, var(--verde) 100%) !important; }
.ind-fallback::after { content: '🏭'; font-size: 3rem; display: flex; align-items: center; justify-content: center; height: 100%; }
.industria-badge {
    position: absolute;
    top: 16px; right: 16px;
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 2;
}
.industria-body { padding: 24px 24px 28px; }
.industria-body h4 {
    font-family: var(--fuente-titulo);
    font-size: 1.6rem;
    letter-spacing: 0.5px;
    color: var(--negro);
    margin-bottom: 10px;
}
.industria-body p { font-size: 0.9rem; color: #666; line-height: 1.75; }
.industrias-cta { text-align: center; }
.btn-industrias {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid var(--verde);
    color: var(--verde);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 13px 32px;
    border-radius: 4px;
    text-decoration: none;
    transition: background var(--transicion), color var(--transicion), transform var(--transicion);
}
.btn-industrias:hover { background: var(--verde); color: var(--blanco); transform: translateY(-2px); }
.btn-industrias svg { transition: transform var(--transicion); }
.btn-industrias:hover svg { transform: translateX(4px); }

/* ============================================
   CTA FINAL (CURVA INVERTIDA)
   ============================================ */
.section-cta-final { position: relative; padding: 0; overflow: hidden; }
.cta-final-inner {
    background: var(--verde);
    position: relative;
    padding: 80px 0 64px;
    clip-path: ellipse(95% 100% at 50% 100%);
}
.cta-final-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--verde), var(--amarillo), var(--verde));
}
.cta-final-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-final-texto span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--amarillo);
    margin-bottom: 10px;
}
.cta-final-texto h3 {
    font-family: var(--fuente-titulo);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    letter-spacing: 1px;
    color: var(--blanco);
    line-height: 1.1;
}
.cta-final-texto h3 strong { color: var(--amarillo); font-weight: 800; }
.btn-cta-final {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--amarillo);
    color: var(--negro);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 36px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background var(--transicion), transform var(--transicion), box-shadow var(--transicion);
}
.btn-cta-final:hover {
    background: var(--amarillo-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(242,183,5,0.3);
}
.btn-cta-final svg { transition: transform var(--transicion); }
.btn-cta-final:hover svg { transform: translateX(5px); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--negro);
    padding: 64px 0 0;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 48px;
    padding-bottom: 52px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--amarillo);
    margin-bottom: 20px;
}
.footer-logo-img {
    height: 65px;
    margin-bottom: 14px;
}
.footer-slogan {
    font-size: 0.87rem;
    color: rgba(255,255,255,0.38);
    line-height: 1.75;
    margin-bottom: 22px;
}
.footer-redes { display: flex; gap: 8px; }
.red-social {
    width: 34px; height: 34px;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: background var(--transicion), border-color var(--transicion), color var(--transicion);
}
.red-social:hover { background: var(--verde); border-color: var(--verde); color: var(--blanco); }
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.footer-col ul li a {
    color: rgba(255,255,255,0.42);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--transicion);
}
.footer-col ul li a:hover { color: var(--amarillo); }
.contacto-lista { gap: 14px !important; }
.contacto-lista li {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
}
.contacto-lista li svg { flex-shrink: 0; color: rgba(255,255,255,0.22); margin-top: 2px; }
.contacto-lista li span,
.contacto-lista li a {
    font-size: 0.87rem;
    color: rgba(255,255,255,0.42);
    text-decoration: none;
    line-height: 1.65;
    transition: color var(--transicion);
}
.contacto-lista li a:hover { color: var(--amarillo); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.2); }
.footer-bottom p strong { color: rgba(255,255,255,0.32); }
.footer-ruc { color: rgba(255,255,255,0.18) !important; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* ── TABLET: hamburger activo desde 1024px ── */
@media (max-width: 1024px) {
    .nav-toggle { display: flex; }

    /* El menú se oculta y se convierte en panel lateral/full */
    .nav-links {
        display: none;
        position: fixed;
        top: 0; right: 0;
        width: min(340px, 85vw);
        height: 100vh;
        background: #0f0f0f;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        z-index: 999;
        padding: 90px 24px 40px;
        overflow-y: auto;
        box-shadow: -6px 0 40px rgba(0,0,0,0.45);
    }
    .nav-links.open { display: flex; }

    /* Overlay oscuro detrás del panel */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.55);
        z-index: 998;
        backdrop-filter: blur(3px);
    }
    .nav-overlay.open { display: block; }

    .nav-links li a {
        font-size: 0.95rem;
        padding: 14px 16px;
        color: rgba(255,255,255,0.85) !important;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        border-radius: 0;
    }
    .nav-links li:last-child > a { border-bottom: none; }
    .nav-links li a:hover { color: var(--amarillo) !important; background: rgba(255,255,255,0.04); }

    /* Dropdowns en tablet/móvil: se despliegan inline (accordion) */
    .has-dropdown { position: static; width: 100%; }

    /* El link principal del has-dropdown NO navega al primer click (lo maneja JS) */
    .has-dropdown > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* El dropdown pasa a ser relativo y colapsa por defecto */
    .dropdown {
        position: static;
        top: auto; left: auto;
        transform: none !important;
        min-width: 100%;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        box-shadow: none;
        border-radius: 10px;
        margin: 4px 0 8px;
        padding: 6px;
        /* Override transición de escritorio */
        opacity: 0;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.25s ease, max-height 0.3s ease;
    }
    .dropdown::before { display: none; }

    /* Dropdown abierto en móvil/tablet */
    .has-dropdown.open .dropdown {
        opacity: 1;
        pointer-events: all;
        max-height: 600px;
    }
    /* Anular el hover de escritorio en estas vistas */
    .has-dropdown:hover .dropdown {
        opacity: 0;
        pointer-events: none;
        max-height: 0;
    }
    .has-dropdown.open:hover .dropdown,
    .has-dropdown.open .dropdown {
        opacity: 1;
        pointer-events: all;
        max-height: 600px;
    }

    .dropdown-item { padding: 10px 12px; border-radius: 8px; }
    .dropdown-item:hover { background: rgba(255,255,255,0.08); transform: none; }
    .item-label { color: var(--blanco); }
    .item-desc { color: rgba(255,255,255,0.5); }
    .item-icon { background: rgba(255,255,255,0.08); color: var(--amarillo); }
    .dropdown-item:hover .item-icon { background: var(--amarillo); color: var(--negro); }

    /* Chevron gira cuando está open */
    .has-dropdown.open .chevron { transform: rotate(180deg); }
    /* Anular el hover de escritorio */
    .has-dropdown:hover .chevron { transform: none; }
    .has-dropdown.open:hover .chevron { transform: rotate(180deg); }

    /* Footer en 2 columnas */
    .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
    .industrias-grid { grid-template-columns: 1fr 1fr; }
    .bs-step { gap: 40px; }
}

/* ── Tablet media (sin hamburger conflicto) — solo layout ── */
@media (max-width: 1060px) and (min-width: 1025px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
    .industrias-grid { grid-template-columns: 1fr 1fr; }
    .bs-step { gap: 40px; }
}

@media (max-width: 860px) {
    .problema-grid, .nosotros-grid, .bs-step { grid-template-columns: 1fr; gap: 32px; }
    .bs-step--reverse { direction: ltr; }

    /* Círculo de sección problema: se achica con la vista */
    .section-problema::before {
        width: 320px;
        height: 320px;
        top: -150px;
        right: -60px;
    }

    .problema-visual { aspect-ratio: 16/9; max-height: 320px; }
    .solucion-grid { grid-template-columns: 1fr; gap: 24px; }
    .solucion-card-img { height: 200px; }
    .solucion-card-body { padding: 22px 20px 26px; }
    .solucion-card-body h3 { font-size: 1.4rem; }
    .solucion-badge { font-size: 2.4rem; width: 46px; height: 46px; top: 14px; left: 14px; }
    .cta-pregunta-grid { flex-direction: column; align-items: flex-start; gap: 28px; }
    .industrias-grid { grid-template-columns: 1fr; }
    .cta-final-grid { flex-direction: column; align-items: flex-start; gap: 28px; }
    .video-stats-ext { gap: 0; padding: 16px; }
}

@media (max-width: 680px) {
    /* Círculo más chico en móvil */
    .section-problema::before {
        width: 200px;
        height: 200px;
        top: -50px;
        right: -40px;
    }

    .hero-content h1 { font-size: clamp(2.4rem, 12vw, 4rem); }
    .hero-btns { flex-direction: column; align-items: center; }
    .section-solucion { padding: 70px 0; }
    .solucion-resultados { flex-direction: column; padding: 24px; }
    .solucion-card-img { height: 180px; }
    .section-problema, .section-boltsense, .section-nosotros, .section-industrias { padding: 70px 0; }
    .section-cta-pregunta { padding: 48px 0; }
    .vstat-ext strong { font-size: 1.5rem; }
    .vstat-ext span { font-size: 0.65rem; }
    .boltsense-header { margin-bottom: 48px; }
    .industrias-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .bs-step { margin-bottom: 2.5rem; }
}
/* ============================================
   VIDEO INTERACTIVO — SECCIÓN NOSOTROS (index)
   Prefijo ix- para no chocar con nosotros.css
   ============================================ */

/* Marco del video — hace cursor pointer y activa play btn */
.ix-video-marco {
    cursor: pointer;
}

/* Botón play central */
.ix-play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 72px; height: 72px;
    background: rgba(242,183,5,0.92);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--negro);
    cursor: pointer;
    transition: background var(--transicion), transform var(--transicion), box-shadow var(--transicion);
    box-shadow: 0 6px 28px rgba(0,0,0,0.35), 0 0 0 0 rgba(242,183,5,0);
    animation: ix-pulse 2.5s ease-in-out infinite;
}
@keyframes ix-pulse {
    0%   { box-shadow: 0 6px 28px rgba(0,0,0,0.35), 0 0 0 0   rgba(242,183,5,0.4); }
    70%  { box-shadow: 0 6px 28px rgba(0,0,0,0.35), 0 0 0 18px rgba(242,183,5,0); }
    100% { box-shadow: 0 6px 28px rgba(0,0,0,0.35), 0 0 0 0   rgba(242,183,5,0); }
}
.ix-play-btn:hover {
    background: var(--amarillo);
    transform: translate(-50%, -50%) scale(1.12);
}

/* Barra de progreso (preview) */
.ix-progress-wrap {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 4;
    padding: 0 0 6px;
}
.ix-progress-bar {
    height: 4px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    border-radius: 0 0 var(--radio) var(--radio);
    overflow: hidden;
}
.ix-progress-fill {
    height: 100%;
    background: var(--amarillo);
    width: 0%;
    transition: width 0.3s linear;
    border-radius: inherit;
}

/* ─── MODAL ─── */
.ix-video-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.ix-video-modal.active {
    opacity: 1;
    pointer-events: all;
}
.ix-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.72);
    backdrop-filter: blur(14px) saturate(0.6);
    -webkit-backdrop-filter: blur(14px) saturate(0.6);
}
.ix-modal-container {
    position: relative;
    z-index: 1;
    width: min(880px, 92vw);
    background: #111;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
    opacity: 0;
}
.ix-video-modal.active .ix-modal-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.ix-modal-close {
    position: absolute;
    top: 14px; right: 14px;
    z-index: 10;
    width: 40px; height: 40px;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    cursor: pointer;
    transition: background var(--transicion), border-color var(--transicion);
}
.ix-modal-close:hover {
    background: rgba(242,183,5,0.85);
    border-color: var(--amarillo);
    color: var(--negro);
}
.ix-modal-video-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    cursor: pointer;
}
.ix-modal-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── CONTROLES DEL MODAL ─── */
.ix-modal-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #1a1a1a;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.ix-mc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: color var(--transicion), background var(--transicion);
    flex-shrink: 0;
}
.ix-mc-btn span { font-size: 0.72rem; font-weight: 700; }
.ix-mc-btn:hover { color: var(--amarillo); background: rgba(242,183,5,0.08); }
.ix-mc-play {
    width: 44px; height: 44px;
    background: var(--amarillo);
    border-radius: 50%;
    color: var(--negro);
}
.ix-mc-play:hover { background: var(--amarillo-hover); color: var(--negro); }
.ix-mc-progress-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.ix-mc-time {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    flex-shrink: 0;
}
.ix-mc-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: height 0.15s ease;
}
.ix-mc-progress-bar:hover { height: 6px; }
.ix-mc-progress-fill {
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    background: var(--amarillo);
    border-radius: 8px;
    pointer-events: none;
    width: 0%;
}
.ix-mc-progress-thumb {
    position: absolute;
    top: 50%; left: 0%;
    transform: translate(-50%, -50%);
    width: 14px; height: 14px;
    background: var(--amarillo);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}
.ix-mc-progress-bar:hover .ix-mc-progress-thumb { opacity: 1; }

@media (max-width: 680px) {
    .ix-modal-controls { gap: 6px; padding: 12px; }
    .ix-mc-btn span { display: none; }
}