:root {
    /* Colores extraÃ­dos de tu logo STROM */
    --color-primary: #0066FF; /* Azul Brillante */
    --color-secondary: #FF6600; /* Naranja Vibrante */
    --color-bg: #050810; /* Fondo Oscuro (Modo Noche Moderno) */
    --color-surface: #111827; /* Fondo de tarjetas */
    --color-surface-hover: #1f2937;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --font-family: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    background-color: var(--color-bg);
    color-scheme: dark light;
    max-width: 100%;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}

html[data-theme="light"],
html.light-theme,
body.light-theme {
    background-color: #f8fafc;
    color: #0f172a;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Colores de texto y degradados */
.text-blue { color: var(--color-primary); }
.text-orange { color: var(--color-secondary); }
.text-gradient {
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}
.btn-primary:hover {
    background-color: #0052cc;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}
.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: white;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.5);
    transform: translateY(-2px);
}

.btn-glow {
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    color: white;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}
.btn-glow:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 30px rgba(255, 102, 0, 0.6);
}

.btn-glow-orange {
    background-color: var(--color-secondary);
    color: white;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.4);
}
.btn-glow-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 102, 0, 0.7);
}

/* Header Glassmorphism */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 8, 16, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}

header.scrolled {
    background: rgba(5, 8, 16, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    position: relative;
    width: 100%;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 140px !important;
    margin: -40px 0 !important;
    filter: drop-shadow(0 0 12px rgba(0, 102, 255, 0.5));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    object-fit: contain;
    display: block;
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(0, 102, 255, 0.75));
}

.logo h2 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(0, 102, 255, 0.4), 0 0 30px rgba(255, 102, 0, 0.3);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}
.logo h2:hover {
    transform: scale(1.05);
    text-shadow: 0 0 25px rgba(0, 102, 255, 0.7), 0 0 45px rgba(255, 102, 0, 0.5);
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 0 auto;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav ul li {
    display: flex;
    align-items: center;
}

nav ul li a {
    font-weight: 600;
    transition: color 0.2s ease, text-shadow 0.2s ease;
    font-size: 1rem;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    padding: 8px 8px;
    position: relative;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 4px;
    right: 4px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    box-shadow: 0 0 8px rgba(0, 102, 255, 0.6);
    pointer-events: none;
}

nav ul li a:hover,
nav ul li a.active {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(0, 102, 255, 0.8);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Agrupación elegante de acciones del header en escritorio y móvil */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cotizador {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 20px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 12px;
    white-space: nowrap;
    height: 42px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 18px rgba(0, 102, 255, 0.35), 0 0 15px rgba(255, 102, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    flex-shrink: 0;
}

.btn-cotizador:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 102, 255, 0.5), 0 0 25px rgba(255, 102, 0, 0.4);
}

/* Secciones Generales */
.section {
    padding: 120px 0;
}
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    font-weight: 800;
}
.bg-darker {
    background-color: #030408;
    position: relative;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center; /* Centramos verticalmente de nuevo ya que el fondo ocupa todo */
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradient oscuro para oscurecer las imÃ¡genes y asegurar lectura del texto */
    background: linear-gradient(to right, rgba(5,8,16,0.95) 0%, rgba(5,8,16,0.5) 50%, rgba(5,8,16,0.95) 100%),
                radial-gradient(circle at center, transparent 0%, rgba(0, 102, 255, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Hero Centrado y Slider Grande */
.hero-content-centered {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 0;
}

.hero-text {
    text-align: center;
    max-width: 900px;
    margin-bottom: 50px;
}
.text-center { text-align: center !important; }
.justify-center { justify-content: center !important; }

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-text p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.hero-text .hero-buttons {
    justify-content: center;
}

/* Background Slider a Pantalla Completa (Edge-to-Edge) */
.hero-bg-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}
.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 6s ease-in-out; /* Efecto suave (Ken Burns) */
    transform: scale(1.05);
}
.slide.active {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    width: 60px; height: 60px; /* Botones mÃ¡s grandes */
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-btn:hover { 
    background: var(--color-primary); 
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}
.prev-btn { left: 30px; }
.next-btn { right: 30px; }

/* Grid y Tarjetas */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--color-surface);
    border: 1px solid rgba(0, 102, 255, 0.32);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 16px rgba(0, 102, 255, 0.16);
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.8);
}

.card:hover {
    transform: translateY(-8px);
    background: var(--color-surface-hover);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 102, 255, 0.55), 0 0 15px rgba(255, 102, 0, 0.35);
    border-color: var(--color-primary);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 25px;
    transition: all 0.3s;
}

.card:hover .card-icon {
    color: var(--color-secondary);
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.4));
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
}

/* AI Teaser (La parte del Ingeniero Virtual) */
.ai-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.ai-text {
    flex: 1;
}
.ai-text h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.ai-text p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.ai-text ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

.glow-orb {
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--color-primary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: pulseOrb 5s infinite alternate;
}
.glow-orb-2 {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--color-secondary);
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.3;
    animation: pulseOrb2 4s infinite alternate;
    top: 20%;
    right: 20%;
}

.ai-icon {
    font-size: 10rem;
    color: white;
    z-index: 2;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes pulseOrb {
    0% { transform: scale(0.8); opacity: 0.3; }
    100% { transform: scale(1.2); opacity: 0.6; }
}
@keyframes pulseOrb2 {
    0% { transform: scale(1); opacity: 0.2; }
    100% { transform: scale(1.3); opacity: 0.5; }
}

/* Chat Widget (La ventana del Asesor) */
.fab-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    display: flex;
    align-items: center;
    animation: stromFloatLevitate 4.4s ease-in-out infinite 0.5s;
}

@keyframes stromFloatLevitate {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.fab-tooltip {
    background: var(--color-primary);
    color: white;
    padding: 12px 20px;
    border-radius: 20px;
    margin-right: 15px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.4);
    position: relative;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    animation: floatTooltip 3s ease-in-out infinite;
}

.fab-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid var(--color-primary);
}

@keyframes floatTooltip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.fab-container:hover .fab-tooltip,
.fab-tooltip.show-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.fab {
    width: 65px;
    height: 65px;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-secondary), #cc5200);
    border: 2.5px solid rgba(255, 255, 255, 0.45);
    cursor: pointer;
    box-shadow: 0 0 25px rgba(255, 102, 0, 0.65), 0 0 15px rgba(0, 102, 255, 0.4);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease, filter 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    box-sizing: border-box !important;
    line-height: 0 !important;
    font-size: 0 !important;
    animation: pulseFabPlasma 3.2s ease-in-out infinite;
}

@keyframes pulseFabPlasma {
    0%, 100% {
        box-shadow: 0 0 22px rgba(255, 102, 0, 0.7), 0 0 12px rgba(0, 240, 255, 0.35), 0 0 0 0 rgba(255, 102, 0, 0.55);
    }
    50% {
        box-shadow: 0 0 32px rgba(0, 212, 255, 0.8), 0 0 22px rgba(255, 102, 0, 0.6), 0 0 0 14px rgba(0, 212, 255, 0);
    }
}

.fab:hover {
    transform: scale(1.12);
    box-shadow: 0 0 40px rgba(255, 102, 0, 0.95), 0 0 32px rgba(0, 240, 255, 0.85);
    filter: brightness(1.1);
}

.fab:active {
    transform: scale(0.95);
}

/* Resplandor ambiental interior del planeta (Centrado Absoluto) */
.fab-planet-glow {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 46px !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.45) 0%, rgba(0, 102, 255, 0.25) 55%, transparent 75%);
    pointer-events: none;
    z-index: 1;
    transform-origin: center center !important;
    animation: planetGlowPulse 3s ease-in-out infinite alternate;
}

@keyframes planetGlowPulse {
    0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.92); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* Icono del Planeta Animado (favicon.png) - 100% Centrado Matemático */
.fab-planet-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    object-fit: contain !important;
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.7));
    transform-origin: center center !important;
    animation: planetSpin 14s linear infinite;
    transition: filter 0.4s ease;
}

/* Rotación continua y perfectamente concéntrica del Planeta */
@keyframes planetSpin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Aceleración suave y aura al pasar el cursor (Centrado en Hover) */
.fab:hover .fab-planet-icon {
    animation: planetSpinHover 4s linear infinite;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.95)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

@keyframes planetSpinHover {
    0% {
        transform: translate(-50%, -50%) scale(1.15) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.15) rotate(360deg);
    }
}

/* Anillo orbital futurista con chispa de energía (Concéntrico) */
.fab-orbit-ring {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) rotate(-25deg) !important;
    width: 52px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1.5px solid rgba(0, 240, 255, 0.65);
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
    transform-origin: center center !important;
    animation: orbitWobble 4s ease-in-out infinite;
}

.fab-orbit-ring::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px #00f0ff, 0 0 14px #0066ff;
    transform: translateX(-50%);
    animation: orbitSparkPulse 1.5s ease-in-out infinite alternate;
}

@keyframes orbitWobble {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(-25deg) scale(1);
        border-color: rgba(0, 240, 255, 0.65);
    }
    50% {
        transform: translate(-50%, -50%) rotate(-15deg) scale(1.05);
        border-color: rgba(255, 255, 255, 0.85);
    }
}

@keyframes orbitSparkPulse {
    0% {
        transform: translateX(-50%) scale(0.8);
        box-shadow: 0 0 6px #00f0ff;
    }
    100% {
        transform: translateX(-50%) scale(1.3);
        box-shadow: 0 0 12px #ffffff, 0 0 18px #00f0ff;
    }
}

.chat-widget {
    position: fixed;
    bottom: 120px;
    right: 40px;
    width: 380px;
    height: 550px;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(15px);
    border: 1.5px solid rgba(0, 102, 255, 0.4);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    transform: translateY(30px) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 50px rgba(0,0,0,0.8), 0 0 30px rgba(0, 102, 255, 0.25);
}

.chat-widget.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 1.1rem;
}
.chat-header button {
    background: none; border: none; color: white; cursor: pointer; font-size: 1.5rem;
    transition: transform 0.3s;
}
.chat-header button:hover {
    transform: rotate(90deg);
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
/* Scrollbar para el chat */
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); }
.chat-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }

.message {
    max-width: 85%;
    padding: 12px 18px;
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}
.message.bot {
    background: rgba(255,255,255,0.08);
    align-self: flex-start;
    border-bottom-left-radius: 0;
}
.message.user {
    background: var(--color-primary);
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.chat-input {
    padding: 15px;
    display: flex;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.2);
}
.chat-input input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 12px 15px;
    border-radius: 10px;
    outline: none;
    font-family: var(--font-family);
    transition: border-color 0.3s;
}
.chat-input input:focus {
    border-color: var(--color-primary);
}
.chat-input button {
    background: var(--color-primary);
    color: white;
    border: none;
    width: 45px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}
.chat-input button:hover {
    background: #0052cc;
}

/* Separador de Secciones */
.section-divider {
    height: 1px;
    width: 80%;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* SecciÃ³n Nosotros */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.about-text {
    flex: 1;
}
.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.features-list {
    margin-top: 20px;
}
.features-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.features-list i {
    font-size: 1.5rem;
}
.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}
.image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 350px;
    background: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: rgba(255,255,255,0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}
.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* SecciÃ³n Contacto */
.contact-content {
    display: flex;
    gap: 50px;
    background: var(--color-surface);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}
.contact-info {
    flex: 1;
}
.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}
.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.info-item i {
    color: var(--color-secondary);
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}
.contact-form {
    flex: 1;
}
.form-group {
    margin-bottom: 20px;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: white;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(0,0,0,0.5);
}

/* Footer Extendido */
.main-footer {
    background: #030408;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 45px; height: 3px;
    border-radius: 4px;
    background: linear-gradient(90deg, #00f0ff, #0066ff);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.7);
}
.footer-desc {
    margin: 20px 0;
    font-size: 0.95rem;
}
.social-icons {
    display: flex;
    gap: 15px;
}
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}
.social-icons a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul li a {
    transition: color 0.3s;
}
.footer-col ul li a:hover {
    color: var(--color-primary);
}
.contact-col p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.contact-col i {
    color: var(--color-secondary);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Grid Básico del Footer */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
}
/* Timeline Scroll Horizontal (Evolución) */
.timeline-container {
    width: 100%;
    padding: 20px 0 40px;
}
.timeline-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 40px 40px; /* Padding for scrollbar and shadow */
    scroll-snap-type: x mandatory;
}
/* Estilo del scrollbar horizontal */
.timeline-scroll::-webkit-scrollbar {
    height: 10px;
}
.timeline-scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    margin: 0 40px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
}
.timeline-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

.timeline-card {
    min-width: 320px;
    max-width: 320px;
    flex: 0 0 auto;
    background: var(--color-surface);
    border-radius: 15px;
    overflow: hidden;
    scroll-snap-align: center;
    border: 1px solid rgba(0, 102, 255, 0.32);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 16px rgba(0, 102, 255, 0.16);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.timeline-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-secondary);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 102, 0, 0.5), 0 0 14px rgba(0, 102, 255, 0.35);
}
.timeline-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.timeline-info {
    padding: 25px;
    position: relative;
    text-align: left;
}
.timeline-year {
    position: absolute;
    top: -20px;
    right: 20px;
    background: var(--color-secondary);
    color: white;
    font-weight: 800;
    padding: 5px 15px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
}
.timeline-info h3 {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1.25rem;
}
.timeline-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Override para centrar las tarjetas en pantallas grandes */
.timeline-scroll {
    justify-content: center;
}
@media (max-width: 1400px) {
    .timeline-scroll {
        justify-content: flex-start;
    }
}

/* =========================================
   Interactive Section (Centro Interactivo)
   ========================================= */
.interactive-tab {
    color: var(--text-main); /* Ensure button text is visible */
}

.interactive-pane {
    animation: fadeIn 0.5s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tablero Simulator Breaker */
input#main-breaker:checked + .breaker-switch {
    background-color: #ff3300 !important;
}
input#main-breaker:checked + .breaker-switch .breaker-handle {
    transform: translateY(-50px);
    background-color: #ff6600 !important;
}

/* Map Zone Hover */
.map-zone:hover {
    background: rgba(255,255,255,0.1) !important;
    transform: scale(1.02);
}

/* =========================================
   Interactive Section (Centro Interactivo)
   ========================================= */
.interactive-pane {
    animation: fadeIn 0.5s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tablero Simulator Breaker */
input#main-breaker:checked + .breaker-switch {
    background-color: #ff3300 !important;
}
input#main-breaker:checked + .breaker-switch .breaker-handle {
    transform: translateY(-50px);
    background-color: #ff6600 !important;
}

/* Map Zone Hover */
.map-zone:hover {
    background: rgba(255,255,255,0.1) !important;
    transform: scale(1.02);
}

/* ========================================================
   CATÁLOGO - BÚSQUEDA Y FILTROS
   ======================================================== */
.catalog-controls {
    display: flex;
    gap: 20px;
    background: var(--color-surface);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.search-box {
    flex: 2;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    left: 20px;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 55px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    font-family: var(--font-family);
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(0,0,0,0.5);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.filter-box {
    flex: 1;
    min-width: 220px;
}

.filter-box select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: center;
}

.filter-box select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.filter-box select option {
    background: var(--color-surface);
    color: white;
    padding: 10px;
}

/* ========================================================
   CATÁLOGO - TARJETAS DINÁMICAS Y PREMIUM
   ======================================================== */
.product-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #080d1a;
}

.product-image-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-card > div:not(.product-image-container) {
    padding: 25px;
}

.product-code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 102, 255, 0.15);
    color: #4da6ff;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.product-title {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 12px;
    font-weight: 700;
    text-align: left;
    line-height: 1.3;
}

.product-category {
    color: var(--color-secondary);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: left;
    flex-grow: 1;
    line-height: 1.5;
}

.ai-ask-btn {
    border-color: #0066ff;
    color: #ffffff;
    background: linear-gradient(135deg, #0066ff, #0052cc);
    transition: all 0.3s;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.35);
}

.ai-ask-btn:hover {
    background: linear-gradient(135deg, #0052cc, #003db8);
    border-color: #0052cc;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.5);
}

/* Modal & Table Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}
.modal-content {
    background-color: var(--color-surface);
    margin: 5% auto;
    padding: 30px;
    border: 1px solid var(--color-primary);
    width: 90%;
    max-width: 1000px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.2);
}
.close-modal {
    color: var(--text-muted);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}
.close-modal:hover,
.close-modal:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
}
.catalog-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    overflow: hidden;
}
.catalog-table th {
    background: var(--color-primary);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}
.catalog-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}
.catalog-table tr:hover {
    background: rgba(0, 102, 255, 0.1);
}
.btn-small {
    padding: 5px 10px;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Product Image Styles */
.product-image-container {
    width: 100%;
    height: 250px;
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

    transform: translateY(-8px);
}

/* ========================================================
   PÁGINA NOSOTROS - DISEÑO LLAMATIVO, AMIGABLE Y JOVIAL
   ======================================================== */

.nosotros-hero-wrap,
.contacto-hero-wrap {
    position: relative;
    padding: 20px 0 50px;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    max-width: 960px !important;
    width: 100% !important;
}

/* Orbes de luz de fondo para dar atmósfera viva */
.nosotros-ambient-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(120px);
}
.nosotros-orb-blue {
    width: 320px;
    height: 320px;
    background: rgba(0, 102, 255, 0.25);
    top: -50px;
    left: 10%;
    animation: pulseOrb 6s infinite alternate;
}
.nosotros-orb-orange {
    width: 300px;
    height: 300px;
    background: rgba(255, 102, 0, 0.22);
    top: 50px;
    right: 12%;
    animation: pulseOrb2 5s infinite alternate;
}

/* Badge píldora jovial */
.nosotros-pill-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.35);
    padding: 8px 24px;
    border-radius: 30px;
    color: #5cb3ff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0 auto 22px auto !important;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.25);
    animation: pillFloat 3s ease-in-out infinite;
    text-align: center !important;
    align-self: center !important;
}

body.light-theme .nosotros-pill-badge {
    background: rgba(0, 102, 255, 0.08) !important;
    border: 1px solid rgba(0, 102, 255, 0.35) !important;
    color: #005ce6 !important;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.15) !important;
}

@keyframes pillFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.nosotros-pill-badge .spark-icon {
    color: #ffaa00;
    font-size: 1.1rem;
    animation: sparkSpin 3s linear infinite;
}

@keyframes sparkSpin {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.25) rotate(15deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.nosotros-main-title {
    font-size: clamp(2.3rem, 4.6vw, 3.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 auto 20px auto !important;
    letter-spacing: -0.5px;
    text-align: center !important;
    width: 100% !important;
    max-width: 900px !important;
}

.nosotros-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    max-width: 780px !important;
    margin: 0 auto 30px auto !important;
    line-height: 1.7;
    text-align: center !important;
}

/* Chips de atributos rápidos */
.nosotros-chips-row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px;
    margin: 15px auto 0 auto !important;
    position: relative;
    z-index: 1;
    max-width: 1200px !important;
}

.nosotros-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    background: rgba(18, 24, 38, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    padding: 8px 18px;
    font-size: 0.95rem;
    color: #e2e8f0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nosotros-chip i {
    color: var(--color-secondary);
}

.nosotros-chip:hover {
    border-color: var(--color-primary);
    background: rgba(0, 102, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
}

/* ========================================================
   BARRA DE IMPACTO Y ESTADÍSTICAS JOVIAL
   ======================================================== */
.nosotros-stats-bar {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(9, 14, 26, 0.95) 100%);
    border: 1.5px solid rgba(0, 102, 255, 0.35);
    border-radius: 22px;
    padding: 35px 30px;
    margin: 40px 0 80px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 102, 255, 0.18);
    backdrop-filter: blur(16px);
}

.nosotros-stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px;
    transition: transform 0.3s ease;
}

.nosotros-stat-card:hover {
    transform: translateY(-4px);
}

.nosotros-stat-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.icon-blue-gradient {
    background: linear-gradient(135deg, #0066FF, #003d99);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

.icon-orange-gradient {
    background: linear-gradient(135deg, #FF6600, #cc5200);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.4);
}

.icon-gold-gradient {
    background: linear-gradient(135deg, #ffaa00, #d98200);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.4);
}

.icon-green-gradient {
    background: linear-gradient(135deg, #00d26a, #00994d);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 210, 106, 0.4);
}

.nosotros-stat-info h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 4px;
}

.nosotros-stat-info p {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 2px;
}

.nosotros-stat-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}

/* ========================================================
   HISTORIA STROM - DUAL COLUMN INTERACTIVA
   ======================================================== */
.nosotros-story-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 90px;
}

.story-badge-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 102, 0, 0.12);
    border: 1px solid rgba(255, 102, 0, 0.35);
    color: #ff944d;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.story-heading {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 22px;
}

.story-paragraph {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 18px;
}

/* Hitos rápidos de historia */
.story-milestones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.story-milestone-item {
    background: rgba(18, 24, 38, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--color-secondary);
    border-radius: 12px;
    padding: 14px 16px;
    transition: all 0.3s ease;
}

.story-milestone-item:hover {
    background: rgba(255, 102, 0, 0.08);
    border-color: rgba(255, 102, 0, 0.4);
    transform: translateY(-3px);
}

.story-milestone-year {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-secondary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.story-milestone-text {
    font-size: 0.9rem;
    color: #f1f5f9;
    font-weight: 600;
    line-height: 1.4;
}

/* Imagen de Historia con Badges Flotantes */
.story-image-showcase {
    position: relative;
    padding: 20px;
}

.story-main-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 102, 0, 0.35);
    display: block;
    transition: transform 0.5s ease;
}

.story-image-showcase:hover .story-main-img {
    transform: scale(1.02);
}

/* Badges flotantes interactivos */
.floating-story-badge {
    position: absolute;
    background: rgba(10, 15, 28, 0.88);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    z-index: 3;
    pointer-events: none;
    transition: transform 0.3s;
}

.floating-badge-top {
    top: 5px;
    right: 0px;
    border: 1px solid rgba(0, 102, 255, 0.45);
    animation: floatBadge1 4s ease-in-out infinite;
}

.floating-badge-bottom {
    bottom: -10px;
    left: 0px;
    border: 1px solid rgba(255, 102, 0, 0.45);
    animation: floatBadge2 4s ease-in-out infinite 2s;
}

@keyframes floatBadge1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes floatBadge2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.badge-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.floating-story-badge strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.2;
}

.floating-story-badge small {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ========================================================
   MISIÓN Y VISIÓN - TARJETAS MODERNAS 3D GLOW
   ======================================================== */
.nosotros-mv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 90px;
}

.nosotros-mv-card {
    background: linear-gradient(145deg, rgba(18, 24, 38, 0.8) 0%, rgba(10, 14, 24, 0.9) 100%);
    border: 1px solid rgba(0, 102, 255, 0.35);
    border-radius: 22px;
    padding: 42px 35px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 102, 255, 0.18);
    backdrop-filter: blur(12px);
}

.nosotros-mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: transform 0.4s ease;
    transform: scaleX(0.4);
    box-shadow: 0 0 14px rgba(0, 102, 255, 0.8);
}

.card-mision::before {
    background: linear-gradient(90deg, #0066FF, #00f0ff);
}

.card-vision::before {
    background: linear-gradient(90deg, #FF6600, #ffaa00);
    box-shadow: 0 0 14px rgba(255, 102, 0, 0.8);
}

.nosotros-mv-card:hover {
    transform: translateY(-8px);
}

.card-mision:hover {
    border-color: #0066FF;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 102, 255, 0.55), 0 0 15px rgba(0, 240, 255, 0.35);
}

.card-vision:hover {
    border-color: #FF6600;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 102, 0, 0.55), 0 0 15px rgba(255, 170, 0, 0.35);
}

.nosotros-mv-card:hover::before {
    transform: scaleX(1);
}

.mv-card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.mv-icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.mv-title-group h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.mv-title-group span {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mv-lead-text {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.mv-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mv-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #f1f5f9;
    font-size: 0.98rem;
    line-height: 1.5;
}

.mv-checklist li i {
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ========================================================
   VALORES / SUPERPODERES STROM - VIBRANTE Y AMIGABLE
   ======================================================== */
.nosotros-values-header {
    text-align: center;
    margin-bottom: 50px;
}

.nosotros-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 90px;
}

.value-card-modern {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 16px rgba(0, 102, 255, 0.16);
}

.value-card-modern:hover {
    transform: translateY(-8px);
    background: rgba(23, 32, 52, 0.85);
    border-color: #FF6600;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(255, 102, 0, 0.5), 0 0 14px rgba(0, 102, 255, 0.3);
}

.value-icon-box {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 22px;
    transition: transform 0.4s ease;
}

.value-card-modern:hover .value-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.value-card-modern h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.value-card-modern p {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.65;
}

/* ========================================================
   CÓMO TRABAJAMOS - 4 PASOS DE AGILIDAD
   ======================================================== */
.nosotros-steps-section {
    margin-bottom: 90px;
}

.nosotros-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    position: relative;
}

.step-card-box {
    background: linear-gradient(145deg, rgba(18, 24, 38, 0.7) 0%, rgba(11, 16, 28, 0.85) 100%);
    border: 1.5px solid rgba(0, 102, 255, 0.32);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 16px rgba(0, 102, 255, 0.16);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card-box:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 102, 255, 0.55), 0 0 14px rgba(255, 102, 0, 0.35);
}

.step-num-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.step-emoji-icon {
    font-size: 2.8rem;
    margin: 15px 0 15px;
    display: inline-block;
}

.step-card-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.step-card-box p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================================
   CTA BANNER JOVIAL - "¡HAGAMOS CHISPAS JUNTOS!"
   ======================================================== */
.nosotros-cta-banner {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(255, 102, 0, 0.18) 100%),
                rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: 26px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 102, 0, 0.15);
    backdrop-filter: blur(16px);
    margin-bottom: 40px;
}

.cta-bolt-bg {
    position: absolute;
    font-size: 16rem;
    color: rgba(255, 255, 255, 0.02);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(15deg);
    pointer-events: none;
}

.nosotros-cta-banner h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.nosotros-cta-banner p {
    font-size: 1.18rem;
    color: #cbd5e1;
    max-width: 680px;
    margin: 0 auto 35px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.nosotros-cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Responsive Nosotros */
@media (max-width: 992px) {
    .nosotros-story-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .story-image-showcase {
        max-width: 550px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nosotros-stats-bar {
        grid-template-columns: 1fr 1fr;
        padding: 25px 20px;
        gap: 15px;
    }
    .nosotros-stat-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 1.3rem;
    }
    .nosotros-stat-info h3 {
        font-size: 1.6rem;
    }
    .floating-story-badge {
        position: static;
        margin-top: 15px;
        display: inline-flex;
    }
    .nosotros-cta-banner {
        padding: 40px 25px;
    }
    .nosotros-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .nosotros-stats-bar {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   PÁGINA CONTACTO - DISEÑO LLAMATIVO, AMIGABLE Y JOVIAL
   ======================================================== */

.contacto-hero-wrap {
    text-align: center;
    position: relative;
    padding: 20px 0 45px;
    z-index: 1;
}

/* Grid de canales de contacto directo */
.contacto-channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.contacto-channel-card {
    background: linear-gradient(145deg, rgba(18, 24, 38, 0.8) 0%, rgba(10, 15, 26, 0.92) 100%);
    border: 1px solid rgba(0, 102, 255, 0.32);
    border-radius: 20px;
    padding: 28px 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 16px rgba(0, 102, 255, 0.16);
}

.contacto-channel-card:hover {
    transform: translateY(-8px);
}

.channel-whatsapp:hover {
    border-color: #00d26a !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 32px rgba(0, 210, 106, 0.6), 0 0 14px rgba(0, 210, 106, 0.35) !important;
}

.channel-stromia:hover {
    border-color: #0066FF !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 32px rgba(0, 102, 255, 0.6), 0 0 14px rgba(0, 212, 255, 0.35) !important;
}

.channel-phone:hover {
    border-color: #FF6600 !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 32px rgba(255, 102, 0, 0.6), 0 0 14px rgba(255, 170, 0, 0.35) !important;
}

.channel-location:hover {
    border-color: #ffaa00 !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 32px rgba(255, 170, 0, 0.6), 0 0 14px rgba(255, 102, 0, 0.35) !important;
}

.channel-top-badge {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-green {
    background: rgba(0, 210, 106, 0.15);
    color: #00d26a;
    border: 1px solid rgba(0, 210, 106, 0.3);
}

.badge-blue {
    background: rgba(0, 102, 255, 0.15);
    color: #5cb3ff;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.badge-orange {
    background: rgba(255, 102, 0, 0.15);
    color: #ff944d;
    border: 1px solid rgba(255, 102, 0, 0.3);
}

.badge-gold {
    background: rgba(255, 170, 0, 0.15);
    color: #ffc04d;
    border: 1px solid rgba(255, 170, 0, 0.3);
}

.channel-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.contacto-channel-card:hover .channel-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.contacto-channel-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.contacto-channel-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.channel-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.channel-btn-link i {
    transition: transform 0.3s ease;
}

.contacto-channel-card:hover .channel-btn-link i {
    transform: translateX(4px);
}

/* ========================================================
   GRID PRINCIPAL DE CONTACTO (FORMULARIO + INFO)
   ======================================================== */
.contacto-main-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

/* Tarjeta del Formulario */
.contacto-form-card {
    background: linear-gradient(145deg, rgba(18, 24, 38, 0.85) 0%, rgba(9, 14, 25, 0.95) 100%);
    border: 1.5px solid rgba(0, 102, 255, 0.35);
    border-radius: 24px;
    padding: 45px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 102, 255, 0.18);
    backdrop-filter: blur(16px);
}

.form-header-wrap {
    margin-bottom: 30px;
}

.form-header-wrap h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.form-header-wrap p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Selector de tipo de proyecto en chips */
.project-type-selector {
    margin-bottom: 25px;
}

.project-type-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-chips-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip-option {
    cursor: pointer;
}

.chip-option input[type="radio"] {
    display: none;
}

.chip-option span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.chip-option input[type="radio"]:checked + span {
    background: rgba(0, 102, 255, 0.2);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.3);
}

.chip-option span:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

/* Campos de entrada con icono */
.contacto-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.contacto-input-group {
    position: relative;
    margin-bottom: 18px;
}

.contacto-input-group i.field-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.contacto-input-group.textarea-group i.field-icon {
    top: 20px;
    transform: none;
}

.contacto-input-group input,
.contacto-input-group textarea,
.contacto-input-group select {
    width: 100%;
    padding: 15px 18px 15px 50px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-family);
    font-size: 0.98rem;
    outline: none;
    transition: all 0.3s ease;
}

.contacto-input-group input:focus,
.contacto-input-group textarea:focus,
.contacto-input-group select:focus {
    border-color: var(--color-primary);
    background: rgba(0, 102, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.25);
}

.contacto-input-group input:focus + i.field-icon,
.contacto-input-group textarea:focus + i.field-icon {
    color: var(--color-primary);
}

.form-privacy-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========================================================
   TARJETA DE INFORMACIÓN DIRECTA & ATENCIÓN
   ======================================================== */
.contacto-info-card {
    background: linear-gradient(145deg, rgba(18, 24, 38, 0.85) 0%, rgba(9, 14, 25, 0.95) 100%);
    border: 1.5px solid rgba(0, 102, 255, 0.35);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 102, 255, 0.18);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-status-live {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 210, 106, 0.12);
    border: 1px solid rgba(0, 210, 106, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #00d26a;
    margin-bottom: 25px;
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00d26a;
    box-shadow: 0 0 10px #00d26a;
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.info-contact-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 30px;
}

.info-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon-circle {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-contact-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.info-contact-text p {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.45;
}

.info-contact-text small {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 2px;
}

/* Callout dinámico de WhatsApp */
.info-whatsapp-callout {
    background: linear-gradient(135deg, rgba(0, 210, 106, 0.12) 0%, rgba(0, 102, 255, 0.08) 100%);
    border: 1px solid rgba(0, 210, 106, 0.3);
    border-radius: 18px;
    padding: 22px;
    text-align: center;
}

.info-whatsapp-callout h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.info-whatsapp-callout p {
    font-size: 0.88rem;
    color: #cbd5e1;
    margin-bottom: 15px;
    line-height: 1.45;
}

/* ========================================================
   SECCIÓN DE MAPA ESTILIZADO CON BADGE
   ======================================================== */
.contacto-map-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1.5px solid rgba(0, 102, 255, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 102, 255, 0.18);
    height: 420px;
    margin-bottom: 70px;
}

.contacto-map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) brightness(90%) contrast(90%);
}

.map-floating-pill {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(10, 15, 28, 0.9);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 102, 255, 0.4);
    border-radius: 16px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    z-index: 5;
}

.map-floating-pill strong {
    font-size: 0.95rem;
    color: #fff;
    display: block;
}

.map-floating-pill span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ========================================================
   FAQ RÁPIDAS JOVIALES DE CONTACTO
   ======================================================== */
.contacto-faq-section {
    margin-bottom: 40px;
}

.contacto-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.contacto-faq-item {
    background: rgba(17, 24, 39, 0.65);
    border: 1.5px solid rgba(0, 102, 255, 0.32);
    border-radius: 18px;
    padding: 26px 22px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45), 0 0 16px rgba(0, 102, 255, 0.16);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contacto-faq-item:hover {
    background: rgba(23, 32, 52, 0.85);
    border-color: #0066FF;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.65), 0 0 28px rgba(0, 102, 255, 0.55), 0 0 12px rgba(255, 102, 0, 0.3);
    transform: translateY(-4px);
}

.contacto-faq-item h4 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contacto-faq-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive Contacto */
@media (max-width: 992px) {
    .contacto-main-grid {
        grid-template-columns: 1fr;
    }
    .contacto-field-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contacto-form-card,
    .contacto-info-card {
        padding: 30px 22px;
    }
    .map-floating-pill {
        position: static;
        margin: 15px;
        display: inline-flex;
    }
    .contacto-map-card {
        height: 350px;
    }
}

/* ========================================================
   SIMULADOR DE COTIZACIÓN STROM - MODAL INTERACTIVO
   ======================================================== */
.cotizador-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(3, 6, 14, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.cotizador-modal-overlay.active {
    display: flex;
    animation: cotizadorFade 0.3s ease-out;
}

@keyframes cotizadorFade {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.cotizador-modal-dialog {
    background: linear-gradient(155deg, rgba(15, 23, 42, 0.98) 0%, rgba(8, 12, 24, 0.99) 100%);
    border: 1px solid rgba(0, 102, 255, 0.4);
    box-shadow: 0 25px 80px rgba(0,0,0,0.85), 0 0 60px rgba(0, 102, 255, 0.25);
    border-radius: 24px;
    width: 95%;
    max-width: 1140px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.cotizador-header {
    padding: 20px 28px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cotizador-header-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cotizador-header-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: #fff;
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.5);
    flex-shrink: 0;
}

.cotizador-header-info h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 3px;
}

.cotizador-header-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cotizador-body {
    padding: 24px 28px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 26px;
}

.cotizador-body::-webkit-scrollbar { width: 6px; }
.cotizador-body::-webkit-scrollbar-thumb { background: rgba(0, 102, 255, 0.4); border-radius: 3px; }

/* Secciones */
.cotiz-section {
    margin-bottom: 24px;
}

.cotiz-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cotiz-title i {
    color: var(--color-secondary);
}

.cotiz-title.warning-title i {
    color: #f59e0b;
}

/* 1. Prompt Box */
.cotiz-prompt-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cotiz-prompt-sub {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.4;
}

.cotiz-prompt-input-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.cotiz-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1.5px solid rgba(0, 102, 255, 0.35);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #f1f5f9;
    resize: vertical;
    min-height: 75px;
    transition: all 0.25s ease;
    line-height: 1.45;
}

.cotiz-textarea:focus {
    outline: none;
    border-color: #00f0ff;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
    background: rgba(0, 0, 0, 0.5);
}

.btn-cotiz-analyze {
    background: linear-gradient(135deg, var(--color-primary), #0099ff);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(0, 102, 255, 0.35);
}

.btn-cotiz-analyze:hover {
    background: linear-gradient(135deg, #0052cc, #0080ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 102, 255, 0.5);
}

.prompt-shake {
    animation: promptShake 0.4s ease-in-out;
    border-color: #ef4444 !important;
}

@keyframes promptShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    50% { transform: translateX(6px); }
    75% { transform: translateX(-4px); }
}

.cotiz-chips-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 8px;
    font-weight: 600;
}

.cotiz-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.cotiz-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border-radius: 20px;
    padding: 6px 13px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.cotiz-chip i {
    color: var(--color-primary);
    font-size: 0.85rem;
}

.cotiz-chip:hover {
    background: rgba(0, 102, 255, 0.12);
    border-color: rgba(0, 102, 255, 0.4);
    color: #fff;
    transform: translateY(-1px);
}

.cotiz-chip.active {
    background: rgba(0, 102, 255, 0.25);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.35);
}

/* 2. Diagnosis Card */
.cotiz-diagnosis-card {
    background: linear-gradient(145deg, rgba(0, 40, 100, 0.25) 0%, rgba(0, 15, 40, 0.4) 100%);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.cotiz-diagnosis-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #00f0ff, var(--color-primary));
}

.diagnosis-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.diagnosis-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(0, 240, 255, 0.15);
    color: #00f0ff;
    border: 1px solid rgba(0, 240, 255, 0.3);
    font-size: 0.74rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.diagnosis-voltage {
    background: rgba(255, 102, 0, 0.15);
    color: #ff944d;
    border: 1px solid rgba(255, 102, 0, 0.3);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.diagnosis-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.diagnosis-text {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 12px;
}

.diagnosis-retie-note {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 0.78rem;
    color: #94a3b8;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    line-height: 1.4;
}

.diagnosis-retie-note i {
    color: #10b981;
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* 3. Catalog Products List */
.cotiz-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.products-count-badge {
    background: rgba(0, 102, 255, 0.15);
    color: #5cb3ff;
    border: 1px solid rgba(0, 102, 255, 0.3);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.cotiz-products-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
    margin-bottom: 14px;
}

.cotiz-products-list::-webkit-scrollbar { width: 5px; }
.cotiz-products-list::-webkit-scrollbar-thumb { background: rgba(0, 102, 255, 0.3); border-radius: 3px; }

.cotiz-product-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px 14px;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 14px;
    transition: all 0.2s ease;
}

.cotiz-product-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.35);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.prod-thumb-wrap {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prod-thumb {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.prod-details {
    min-width: 0;
}

.prod-top-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.prod-code-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: #00f0ff;
    background: rgba(0, 240, 255, 0.1);
    padding: 1px 6px;
    border-radius: 6px;
}

.prod-cat-badge {
    font-size: 0.7rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prod-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 3px 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prod-ref-price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
}

.prod-ref {
    color: #94a3b8;
}

.prod-unit-price {
    color: #38bdf8;
    font-weight: 600;
}

.prod-qty-subtotal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.prod-qty-ctrl {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    overflow: hidden;
}

.btn-qty-minus, .btn-qty-plus {
    background: transparent;
    border: none;
    color: #cbd5e1;
    width: 26px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: background 0.15s ease;
}

.btn-qty-minus:hover, .btn-qty-plus:hover {
    background: rgba(0, 102, 255, 0.3);
    color: #fff;
}

.input-qty {
    width: 32px;
    height: 28px;
    background: transparent;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    -moz-appearance: textfield;
}

.input-qty::-webkit-outer-spin-button, .input-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.prod-line-subtotal {
    font-size: 0.88rem;
    font-weight: 800;
    color: #fff;
    min-width: 95px;
    text-align: right;
}

.btn-prod-delete {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-prod-delete:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    transform: scale(1.1);
}

.cotiz-empty-products {
    padding: 30px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #94a3b8;
}

.cotiz-empty-products i {
    font-size: 2.2rem;
    color: rgba(0, 102, 255, 0.4);
    margin-bottom: 10px;
    display: block;
}

/* Buscador Agregar Producto */
.cotiz-add-product-box {
    position: relative;
}

.cotiz-add-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.search-add-icon {
    position: absolute;
    left: 14px;
    color: var(--color-primary);
    font-size: 0.9rem;
    pointer-events: none;
}

.cotiz-search-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(0, 102, 255, 0.4);
    border-radius: 12px;
    padding: 10px 14px 10px 38px;
    font-size: 0.84rem;
    color: #fff;
    font-family: inherit;
    transition: all 0.25s ease;
}

.cotiz-search-input:focus {
    outline: none;
    border-style: solid;
    border-color: #00f0ff;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    background: rgba(0, 0, 0, 0.45);
}

.cotiz-search-results-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 102, 255, 0.4);
    border-radius: 14px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    padding: 6px;
}

.search-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.search-item-row:hover {
    background: rgba(0, 102, 255, 0.15);
}

.search-item-thumb {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    object-fit: contain;
    flex-shrink: 0;
}

.search-item-info {
    flex: 1;
    min-width: 0;
}

.search-item-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-code {
    color: #00f0ff;
}

.search-item-sub {
    font-size: 0.73rem;
    color: #94a3b8;
}

.btn-search-add {
    background: rgba(0, 102, 255, 0.25);
    border: 1px solid var(--color-primary);
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-search-add:hover {
    background: var(--color-primary);
}

.search-no-results {
    padding: 12px;
    font-size: 0.82rem;
    color: #94a3b8;
    text-align: center;
}

/* 4. Missing Components (Fuera de Catálogo / Obra) */
.cotiz-missing-section {
    background: rgba(245, 158, 11, 0.04);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 18px;
    padding: 18px 20px;
}

.missing-intro-text {
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.45;
    margin-bottom: 12px;
}

.cotiz-missing-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.cotiz-missing-item {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 11px 14px;
    transition: all 0.2s ease;
}

.cotiz-missing-item:hover {
    border-color: rgba(245, 158, 11, 0.45);
    background: rgba(0, 0, 0, 0.5);
}

.missing-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.missing-item-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.missing-tag-external {
    font-size: 0.7rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 7px;
    border-radius: 6px;
}

.missing-item-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.missing-item-spec {
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.4;
    margin-bottom: 4px;
}

.missing-item-spec strong {
    color: #38bdf8;
}

.missing-item-why {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.35;
}

.missing-item-why strong {
    color: #f59e0b;
}

.cotiz-special-order-toggle {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
}

.cotiz-special-order-toggle input {
    margin-top: 3px;
    width: 17px;
    height: 17px;
    accent-color: #f59e0b;
    cursor: pointer;
}

.toggle-label {
    font-size: 0.82rem;
    color: #e2e8f0;
    line-height: 1.4;
}

.toggle-label strong {
    color: #fbbf24;
}

/* Right Side: Summary Breakdown */
.cotiz-summary-panel {
    background: linear-gradient(145deg, rgba(10, 15, 28, 0.95) 0%, rgba(5, 8, 16, 0.98) 100%);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    height: fit-content;
    position: sticky;
    top: 0;
}

.summary-header {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.summary-badge {
    display: inline-block;
    background: rgba(0, 210, 106, 0.15);
    color: #00d26a;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.summary-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
}

.summary-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 4px 0 0 0;
}

.summary-breakdown-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    line-height: 1.35;
}

.breakdown-label {
    color: #94a3b8;
}

.breakdown-val {
    font-weight: 700;
    color: #fff;
    text-align: right;
}

.breakdown-row.highlight-row {
    background: rgba(0, 210, 106, 0.08);
    border: 1px solid rgba(0, 210, 106, 0.2);
    border-radius: 8px;
    padding: 6px 10px;
    margin: 4px 0;
}

.breakdown-row.highlight-row .breakdown-label {
    color: #e2e8f0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breakdown-row.highlight-row .breakdown-label i {
    color: #00d26a;
}

.text-success {
    color: #00d26a !important;
}

.summary-price-box {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    margin-bottom: 14px;
}

.price-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 3px;
}

.price-val {
    font-size: 1.95rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 102, 255, 0.6);
    line-height: 1.1;
}

.price-note {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.summary-missing-badge-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.78rem;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-weight: 600;
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.btn-whatsapp-cotiz {
    background: #00d26a;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 13px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 210, 106, 0.35);
}

.btn-whatsapp-cotiz:hover {
    background: #00b85c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 210, 106, 0.5);
}

.btn-ai-cotiz {
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.4);
    color: #5cb3ff;
    border-radius: 12px;
    padding: 11px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-ai-cotiz:hover {
    background: rgba(0, 102, 255, 0.3);
    color: #fff;
}

.btn-close-cotiz {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.7rem;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1;
    padding: 5px;
}

.btn-close-cotiz:hover {
    color: #fff;
    transform: rotate(90deg);
}

@media (max-width: 900px) {
    .cotizador-body {
        grid-template-columns: 1fr;
        padding: 18px;
    }
    .cotizador-modal-dialog {
        max-height: 95vh;
    }
    .cotiz-product-item {
        grid-template-columns: 48px 1fr;
        gap: 10px;
    }
    .prod-qty-subtotal {
        grid-column: 1 / -1;
        justify-content: space-between;
        margin-top: 6px;
        padding-top: 6px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
}

/* ========================================================
   CATÁLOGO STROM - BÚSQUEDA DIRECTA Y TARJETAS DE PRODUCTO
   ======================================================== */
.filter-box {
    flex: 1;
    min-width: 240px;
}

.filter-box select {
    width: 100%;
    padding: 16px 45px 16px 18px !important;
    background: rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 8px !important;
    color: white !important;
    font-size: 1.05rem !important;
    font-family: var(--font-family) !important;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%230066ff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 20px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-box select:hover {
    border-color: rgba(0, 102, 255, 0.5) !important;
    background-color: rgba(0,0,0,0.45) !important;
}

.filter-box select:focus {
    outline: none !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3) !important;
}

.filter-box select option {
    background: #0d1424;
    color: #e2e8f0;
    padding: 12px;
}

/* Feedback bar de búsqueda */
.catalog-feedback-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.12), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 12px;
    padding: 14px 22px;
    color: #e2e8f0;
    font-size: 1rem;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.catalog-feedback-bar .feedback-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-feedback-bar strong {
    color: #38bdf8;
}

.catalog-feedback-bar .btn-clear {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f1f5f9;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.catalog-feedback-bar .btn-clear:hover {
    transform: translateY(-2px);
}

.catalog-feedback-bar #btn-clear-search:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.catalog-feedback-bar #btn-reset-category {
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.4);
    color: #38bdf8;
}

.catalog-feedback-bar #btn-reset-category:hover {
    background: #0066ff;
    border-color: #0066ff;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.5);
}

/* Layout de Catálogo: 4 tarjetas por fila en escritorio y responsive */
.catalog-grid-4col {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    align-items: stretch;
}

@media (max-width: 1199px) {
    .catalog-grid-4col {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 890px) {
    .catalog-grid-4col {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
}

@media (max-width: 520px) {
    .catalog-grid-4col {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* Tarjeta individual de producto directo (Compacta 4 por línea) */
.single-product-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #080d1a;
    border: 1px solid rgba(0, 102, 255, 0.32);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 16px rgba(0, 102, 255, 0.16);
}

.single-product-card:hover {
    transform: translateY(-6px);
    border-color: #0066FF;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 102, 255, 0.55), 0 0 14px rgba(255, 102, 0, 0.35);
}

.single-product-card .product-image-container {
    width: 100%;
    height: 148px;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at center, #131c31 0%, #080d1a 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-product-card .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.single-product-card:hover .product-image {
    transform: scale(1.06);
}

.product-code-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(5, 8, 16, 0.88);
    backdrop-filter: blur(8px);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-cat-pill {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(13, 20, 36, 0.88);
    backdrop-filter: blur(8px);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.67rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    z-index: 2;
    max-width: 65%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-product-card .product-card-body {
    padding: 12px 13px 14px 13px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.single-product-card .product-title {
    font-size: 0.94rem;
    color: #ffffff;
    margin: 0 0 8px 0;
    font-weight: 700;
    line-height: 1.3;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 6px 8px;
    margin-bottom: 8px;
}

.product-spec-item {
    display: flex;
    flex-direction: column;
}

.product-spec-item .spec-label {
    color: #64748b;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-spec-item .spec-val {
    color: #e2e8f0;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price-box {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 9px;
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 8px;
    margin-top: auto;
    margin-bottom: 9px;
}

.product-price-box .price-sub {
    font-size: 0.68rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.product-price-box .price-val {
    font-size: 1.08rem;
    font-weight: 800;
    color: #38bdf8;
    font-family: var(--font-family);
    letter-spacing: 0.2px;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.product-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.product-actions-row .btn {
    padding: 8px 6px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 6px;
}

.product-actions-row .ai-ask-btn,
.product-actions-row .btn-primary {
    background: linear-gradient(135deg, #0066ff, #004ecc) !important;
    border: 1px solid #0066ff !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.35);
}

.product-actions-row .ai-ask-btn:hover,
.product-actions-row .btn-primary:hover {
    background: linear-gradient(135deg, #0052cc, #003db8) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.5);
}

.product-actions-row .btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #cbd5e1;
}

.product-actions-row .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Tarjeta de Resumen de Categoría (Compacta 4 por línea) */
.category-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #080d1a;
    border: 1px solid rgba(0, 102, 255, 0.32);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 16px rgba(0, 102, 255, 0.16);
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: #0066FF;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 102, 255, 0.55), 0 0 14px rgba(255, 102, 0, 0.35);
}

.category-card .product-image-container {
    width: 100%;
    height: 148px;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at center, #131c31 0%, #080d1a 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.category-card:hover .product-image {
    transform: scale(1.06);
}

.category-card .card-body {
    padding: 13px 13px 15px 13px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-badge {
    color: #38bdf8;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.3);
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-block;
    width: fit-content;
    margin-bottom: 7px;
}

.category-card .product-title {
    font-size: 1.08rem;
    color: white;
    margin: 0 0 6px 0;
    font-weight: 700;
    line-height: 1.25;
}

.category-card .cat-desc {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.45;
    margin-bottom: 14px;
    display: block;
    overflow: visible;
    flex-grow: 1;
}

.category-card .cat-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px;
    margin-top: auto;
}

.category-card .cat-actions .btn {
    padding: 7px 10px;
    font-size: 0.77rem;
    border-radius: 6px;
}

/* ==========================================================================
   SISTEMA DE DISEÑO 100% RESPONSIVE - STROM ELECTRICIDAD & AUTOMATIZACIÓN
   Garantiza compatibilidad perfecta en móviles (320px-480px),
   tablets (600px-992px), laptops y pantallas desktop (1024px+)
   ========================================================================== */

/* 1. Reset Global y Prevención de Desbordamiento */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body.mobile-nav-locked {
    overflow: hidden !important;
    touch-action: none;
}

/* Botón Hamburguesa Móvil (Oculto en Desktop) */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1002;
    padding: 0;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
    background: rgba(0, 102, 255, 0.25);
    border-color: var(--color-primary);
    box-shadow: 0 0 16px rgba(0, 102, 255, 0.45);
    outline: none;
}

.mobile-cotizador-item,
.mobile-theme-item {
    display: none !important;
}

/* 1.5. Pantallas medianas / laptops (993px a 1200px) */
@media (max-width: 1200px) and (min-width: 993px) {
    .nav-content {
        gap: 12px;
    }
    nav ul {
        gap: 16px;
    }
    nav ul li a {
        font-size: 0.94rem;
        padding: 6px 4px;
    }
    .btn-cotizador {
        padding: 9px 14px;
        font-size: 0.84rem;
        gap: 6px;
    }
}

/* 2. Reglas para Tablets y Móviles (Pantallas <= 992px) */
@media (max-width: 992px) {
    /* Header & Navegación */
    .nav-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 75px;
        position: relative;
    }

    .logo img {
        height: 110px !important;
        margin: -32px 0 !important;
    }

    .nav-actions {
        gap: 10px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Ocultar el botón cotizador del header en móviles para no saturar la barra superior */
    .btn-cotizador {
        display: none !important;
    }

    /* Menú Desplegable Tipo Drawer */
    nav ul {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 75px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #050810 !important;
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-bottom: 2px solid rgba(0, 102, 255, 0.45);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.95);
        flex-direction: column;
        gap: 0;
        padding: 18px 24px 30px;
        transform: translateY(-115%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
        z-index: 999;
    }

    body.light-theme nav ul {
        background: #ffffff !important;
        border-bottom: 2px solid rgba(0, 102, 255, 0.35) !important;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
    }

    body.light-theme nav ul li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    }

    nav ul.mobile-menu-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 6px;
        font-size: 1.15rem;
        font-weight: 600;
        color: #e2e8f0;
        width: 100%;
        transition: all 0.25s ease;
    }

    nav ul li a:hover,
    nav ul li a.active {
        color: #38bdf8 !important;
        padding-left: 14px;
        text-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
    }

    /* Elementos especiales en menú móvil */
    .mobile-theme-item {
        display: block !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 6px 0;
        width: 100%;
        margin-top: 8px;
    }

    .mobile-cotizador-item {
        display: block !important;
        margin-top: 14px;
        padding-top: 5px;
        border-bottom: none !important;
        width: 100%;
    }

    .btn-mobile-cotizador {
        width: 100%;
        padding: 14px;
        font-size: 0.98rem;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 5px;
    }

    /* Contenido General */
    main {
        padding-top: 85px !important;
    }

    .section {
        padding: 70px 0;
    }

    .hero-text h1 {
        font-size: clamp(2rem, 5.5vw, 3rem);
    }

    .hero-text p {
        font-size: 1.05rem;
    }

    /* Asistente IA Teaser */
    .ai-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .ai-visual {
        height: 250px;
    }

    .ai-icon {
        font-size: 6.5rem;
    }

    .glow-orb, .glow-orb-2 {
        width: 160px;
        height: 160px;
    }

    /* Contacto */
    .contacto-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 3. Reglas para Teléfonos Móviles (Pantallas <= 768px) */
@media (max-width: 768px) {
    /* Prevención crítica de auto-zoom en iOS Safari */
    input, select, textarea {
        font-size: 16px !important;
    }

    .container {
        padding: 0 16px;
    }

    /* En pantallas móviles ocultamos el botón cotizador del navbar para no saturar el logo */
    .nav-content .btn-cotizador {
        display: none;
    }

    /* Hero Banner */
    .hero-content-centered {
        margin-top: 20px;
    }

    .hero-text h1 {
        font-size: clamp(1.85rem, 6.5vw, 2.6rem);
        line-height: 1.25;
        margin-bottom: 15px;
    }

    .hero-text p {
        font-size: 0.98rem;
        line-height: 1.5;
        padding: 0 10px;
    }

    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .prev-btn { left: 8px; }
    .next-btn { right: 8px; }

    /* Timeline Evolución */
    .timeline-container {
        padding: 15px 0 25px;
    }

    .timeline-scroll {
        padding: 15px 15px 25px;
        gap: 18px;
    }

    .timeline-card {
        min-width: 270px;
        max-width: 82vw;
    }

    /* Centro Interactivo (index.html) */
    .interactive-tabs {
        gap: 8px !important;
        margin-bottom: 25px !important;
    }

    .interactive-tab {
        padding: 9px 14px;
        font-size: 0.85rem;
        flex: 1 1 calc(50% - 10px);
        text-align: center;
    }

    #simulador {
        padding: 24px 16px !important;
        border-radius: 16px !important;
    }

    #simulador > div {
        flex-direction: column !important;
        align-items: center !important;
        gap: 22px !important;
    }

    #simulador .breaker-box-wrap {
        width: 100%;
    }

    #calculadora {
        padding: 24px 16px !important;
    }

    #calculadora > div {
        flex-direction: column !important;
        gap: 25px !important;
    }

    #calculadora div[style*="border-left"] {
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding-left: 0 !important;
        padding-top: 20px !important;
        width: 100% !important;
    }

    #ahorro-total {
        font-size: clamp(2rem, 7.5vw, 3.2rem) !important;
    }

    #mapa {
        padding: 24px 16px !important;
    }

    #mapa > div:first-of-type {
        flex-direction: column !important;
    }

    .map-zone {
        width: 100% !important;
        min-width: 100% !important;
        height: 140px !important;
    }

    /* Página Servicios (servicios.html) */
    .servicios-grid,
    main .grid[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Página Catálogo (catalogo.html) */
    .catalog-controls {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 14px !important;
    }

    .search-box, .filter-box {
        width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 100% !important;
    }

    .catalog-feedback-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
    }

    .catalog-feedback-bar .btn-clear {
        text-align: center;
        justify-content: center;
    }

    /* Modal de Categoría en Catálogo */
    #categoryModal .modal-content {
        width: 95% !important;
        max-width: 95vw !important;
        max-height: 90vh !important;
        margin: 4vh auto !important;
        padding: 20px 14px !important;
        border-radius: 16px !important;
    }

    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
    }

    .catalog-table {
        min-width: 480px;
        font-size: 0.84rem;
    }

    .catalog-table th, 
    .catalog-table td {
        padding: 10px 8px;
    }

    /* Página Nosotros (nosotros.html) */
    .nosotros-ambient-orb {
        max-width: 100vw;
        overflow: hidden;
    }

    .nosotros-main-title {
        font-size: clamp(1.75rem, 5.5vw, 2.7rem) !important;
    }

    .nosotros-subtitle {
        font-size: 1rem !important;
    }

    .nosotros-chips-row {
        gap: 8px !important;
        justify-content: center !important;
    }

    .nosotros-chip {
        padding: 7px 12px !important;
        font-size: 0.82rem !important;
    }

    .nosotros-stats-bar {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 20px 14px !important;
        gap: 12px !important;
    }

    .nosotros-story-wrapper {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .story-image-showcase {
        max-width: 100% !important;
    }

    .floating-story-badge {
        position: static !important;
        margin: 10px 0 !important;
        display: flex !important;
        width: 100% !important;
    }

    /* Página Contacto (contacto.html) */
    .contacto-channels-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .contacto-form-card, 
    .contacto-info-card {
        padding: 24px 18px !important;
    }

    .contacto-field-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .contacto-map-card {
        height: 290px !important;
        margin-bottom: 25px !important;
    }

    .map-floating-pill {
        position: static !important;
        margin: 12px 0 0 0 !important;
        display: flex !important;
        width: 100% !important;
        border-radius: 12px !important;
    }

    .contacto-faq-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    /* Modal Simulador de Cotización */
    .cotizador-modal-overlay {
        padding: 8px !important;
    }

    .cotizador-modal-dialog {
        max-width: 98vw !important;
        max-height: 94vh !important;
        border-radius: 18px !important;
    }

    .cotizador-header {
        padding: 16px 18px !important;
    }

    .cotizador-header-info h2 {
        font-size: 1.18rem !important;
    }

    .cotizador-header-info p {
        font-size: 0.78rem !important;
    }

    .cotizador-body {
        grid-template-columns: 1fr !important;
        padding: 16px 14px !important;
        gap: 18px !important;
    }

    .cotiz-pill-group {
        gap: 6px !important;
    }

    .cotiz-pill-btn {
        padding: 8px 12px !important;
        font-size: 0.84rem !important;
        flex: 1 1 calc(50% - 6px);
        text-align: center;
    }

    .price-val {
        font-size: clamp(1.8rem, 6.5vw, 2.2rem) !important;
    }

    /* Chat Widget StromIA Flotante */
    .fab-container {
        bottom: 18px !important;
        right: 18px !important;
    }

    .fab {
        width: 54px !important;
        height: 54px !important;
    }

    .fab-planet-icon {
        width: 36px !important;
        height: 36px !important;
    }

    .fab-planet-glow {
        width: 38px !important;
        height: 38px !important;
    }

    .fab-orbit-ring {
        width: 44px !important;
        height: 18px !important;
    }

    .fab-tooltip {
        display: none !important;
    }

    .chat-widget {
        width: calc(100vw - 24px) !important;
        max-width: 440px !important;
        left: 12px !important;
        right: 12px !important;
        margin: 0 auto !important;
        bottom: 80px !important;
        height: min(540px, calc(100vh - 100px)) !important;
        max-height: 80vh !important;
        border-radius: 18px !important;
    }

    .chat-header {
        padding: 16px 18px !important;
        font-size: 1.05rem !important;
    }

    .chat-body {
        padding: 16px !important;
    }

    .chat-input {
        padding: 10px 12px !important;
    }
}

/* 4. Reglas para Teléfonos Pequeños (Pantallas <= 480px) */
@media (max-width: 480px) {
    .logo img {
        height: 92px !important;
        margin: -26px 0 !important;
    }

    .nav-content {
        height: 68px;
    }

    nav ul {
        top: 68px;
        max-height: calc(100vh - 68px);
        padding: 14px 18px 25px;
    }

    .hero-text h1 {
        font-size: 1.75rem !important;
    }

    .interactive-tab {
        flex: 1 1 100%;
    }

    .nosotros-stats-bar {
        grid-template-columns: 1fr !important;
    }

    .nosotros-stat-card {
        padding: 10px;
    }

    .nosotros-stat-info h3 {
        font-size: 1.5rem !important;
    }

    .story-milestones-grid {
        grid-template-columns: 1fr !important;
    }

    .chip-option span {
        padding: 7px 12px;
        font-size: 0.8rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.92rem;
    }
}

/* 5. Reglas para Teléfonos Ultra-Compactos (Pantallas <= 360px como iPhone SE 1st gen de 320px) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px !important;
    }
    .logo img {
        height: 78px !important;
        margin: -20px 0 !important;
    }
    .nav-content {
        height: 60px;
    }
    nav ul {
        top: 60px;
        max-height: calc(100vh - 60px);
        padding: 12px 14px 22px;
    }
    .hero-text h1 {
        font-size: 1.55rem !important;
        line-height: 1.2 !important;
    }
    .hero-text p {
        font-size: 0.88rem !important;
        padding: 0 4px !important;
    }
    .btn {
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
    }
    .single-product-card {
        border-radius: 10px !important;
    }
    .product-cat-pill {
        display: none !important;
    }
    .product-code-badge {
        font-size: 0.65rem !important;
        padding: 3px 6px !important;
    }
    .category-card {
        padding: 16px 12px !important;
    }
    .category-title {
        font-size: 1.05rem !important;
    }
}

/* ==========================================================================
   SISTEMA DE MODO CLARO (LIGHT THEME) & INTERRUPTOR DE TEMA
   Permite alternar entre la estética futurista oscura y un modo claro
   limpio, moderno y de alta legibilidad para entornos iluminados o de obra.
   ========================================================================== */

/* Botón de Cambio de Tema en el Header */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    color: #ffd166;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1002;
}

.theme-toggle-btn:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffd166;
    box-shadow: 0 0 16px rgba(255, 209, 102, 0.45);
}

/* Interruptor de Tema en el Menú Móvil */
.mobile-theme-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 6px;
    width: 100%;
}

.theme-label-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-theme-switch-mobile {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 7px 16px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   ESTILOS GENERALES DEL MODO CLARO (body.light-theme)
   ========================================================================== */
body.light-theme {
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-surface-hover: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    background-color: #f8fafc;
    color: #0f172a;
}

body.light-theme .bg-darker {
    background-color: #f1f5f9;
}

body.light-theme .theme-toggle-btn {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.22);
    color: #0066ff;
}

body.light-theme .theme-toggle-btn:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: #0066ff;
    box-shadow: 0 0 16px rgba(0, 102, 255, 0.35);
}

/* Cabecera en Modo Claro */
body.light-theme header {
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-theme header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light-theme .logo img {
    filter: drop-shadow(0 2px 10px rgba(0, 102, 255, 0.25)) !important;
}

body.light-theme nav ul li a {
    color: #1e293b;
}

body.light-theme nav ul li a:hover,
body.light-theme nav ul li a.active {
    color: var(--color-primary) !important;
    text-shadow: none;
}

body.light-theme .mobile-menu-toggle {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #0f172a;
}

/* Menú en Modo Claro - Transparente en Escritorio (Sin recuadro) */
@media (min-width: 993px) {
    nav ul,
    body.light-theme nav ul {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    body.light-theme nav ul li {
        border-bottom: none !important;
    }
}

body.light-theme .btn-theme-switch-mobile {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.25);
    color: #0066ff;
}

/* ========================================================
   MARCO Y EFECTO NEÓN EN TODAS LAS TARJETAS (MODO CLARO)
   ======================================================== */
body.light-theme .card,
body.light-theme .bg-darker.card,
body.light-theme .card.bg-darker,
body.light-theme .single-product-card,
body.light-theme .product-card,
body.light-theme .category-card,
body.light-theme .timeline-card,
body.light-theme .nosotros-mv-card,
body.light-theme .value-card-modern,
body.light-theme .nosotros-stats-bar,
body.light-theme .story-milestone-item,
body.light-theme .contacto-channel-card,
body.light-theme .contacto-form-card,
body.light-theme .contacto-info-card,
body.light-theme .contacto-faq-item,
body.light-theme .contacto-map-card,
body.light-theme .step-card-box {
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 102, 255, 0.4) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05), 0 0 18px rgba(0, 102, 255, 0.2) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.light-theme .card:hover,
body.light-theme .single-product-card:hover,
body.light-theme .product-card:hover,
body.light-theme .category-card:hover,
body.light-theme .timeline-card:hover,
body.light-theme .story-milestone-item:hover,
body.light-theme .contacto-form-card:hover,
body.light-theme .contacto-info-card:hover,
body.light-theme .contacto-faq-item:hover,
body.light-theme .contacto-map-card:hover,
body.light-theme .step-card-box:hover {
    border-color: #0066FF !important;
    box-shadow: 0 16px 40px rgba(0, 102, 255, 0.18), 0 0 32px rgba(0, 102, 255, 0.55), 0 0 14px rgba(255, 102, 0, 0.25) !important;
    transform: translateY(-6px) !important;
}

/* Acentos específicos de tarjeta en modo claro */
body.light-theme .card-mision:hover,
body.light-theme .channel-stromia:hover {
    border-color: #0066FF !important;
    box-shadow: 0 18px 45px rgba(0, 102, 255, 0.2), 0 0 32px rgba(0, 102, 255, 0.55), 0 0 14px rgba(0, 240, 255, 0.35) !important;
}

body.light-theme .card-vision:hover,
body.light-theme .channel-phone:hover,
body.light-theme .value-card-modern:hover {
    border-color: #FF6600 !important;
    box-shadow: 0 18px 45px rgba(255, 102, 0, 0.2), 0 0 32px rgba(255, 102, 0, 0.55), 0 0 14px rgba(255, 170, 0, 0.35) !important;
}

body.light-theme .channel-whatsapp:hover {
    border-color: #00b359 !important;
    box-shadow: 0 18px 45px rgba(0, 179, 89, 0.2), 0 0 32px rgba(0, 210, 106, 0.55), 0 0 14px rgba(0, 210, 106, 0.3) !important;
}

body.light-theme .channel-location:hover {
    border-color: #d97706 !important;
    box-shadow: 0 18px 45px rgba(217, 119, 6, 0.2), 0 0 32px rgba(255, 170, 0, 0.55), 0 0 14px rgba(255, 170, 0, 0.3) !important;
}

/* Hero Section */
body.light-theme .hero-overlay {
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.72) 50%, rgba(255,255,255,0.95) 100%),
                radial-gradient(circle at center, transparent 0%, rgba(0, 102, 255, 0.08) 100%);
}

/* ========================================================
   TIPOGRAFÍA Y TÍTULOS DE ALTO CONTRASTE (MODO CLARO)
   ======================================================== */
body.light-theme h1:not(.main-footer h1),
body.light-theme h2:not(.main-footer h2),
body.light-theme h3:not(.main-footer h3):not(.footer-col h3),
body.light-theme h4:not(.main-footer h4),
body.light-theme h5:not(.main-footer h5),
body.light-theme h6:not(.main-footer h6),
body.light-theme .hero-text h1,
body.light-theme .section-title,
body.light-theme .nosotros-main-title,
body.light-theme .story-heading,
body.light-theme .mv-title-group h2,
body.light-theme .value-card-modern h3,
body.light-theme .nosotros-cta-banner h2,
body.light-theme .contacto-channel-card h3,
body.light-theme .form-header-wrap h2,
body.light-theme .contacto-info-card h3,
body.light-theme .info-contact-text h4,
body.light-theme .info-whatsapp-callout h4,
body.light-theme .contacto-faq-item h4,
body.light-theme .interactive-pane h3,
body.light-theme #simulador h3,
body.light-theme .timeline-info h3,
body.light-theme .nosotros-stat-info h3,
body.light-theme .step-card-box h3,
body.light-theme .single-product-card .product-title,
body.light-theme .category-card .product-title,
body.light-theme .summary-title,
body.light-theme #modalCatTitle,
body.light-theme #noResults h3 {
    color: #0f172a !important;
}

/* Subtítulos y párrafos legibles en Modo Claro */
body.light-theme p:not(.main-footer p):not(.contact-col p):not(.footer-bottom p),
body.light-theme .nosotros-subtitle,
body.light-theme .story-paragraph,
body.light-theme .nosotros-cta-banner p,
body.light-theme .contacto-channel-card p,
body.light-theme .form-header-wrap p,
body.light-theme .step-card-box p,
body.light-theme .value-card-modern p,
body.light-theme .mv-lead-text {
    color: #334155;
}

/* Gradientes y acentos de color vibrantes en Modo Claro */
body.light-theme .text-gradient {
    background: linear-gradient(45deg, #005ce6, #ea580c) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block;
}

body.light-theme .text-blue {
    color: #005ce6 !important;
}

body.light-theme .text-orange {
    color: #ea580c !important;
}

body.light-theme .story-badge-label {
    background: rgba(0, 102, 255, 0.08) !important;
    border-color: rgba(0, 102, 255, 0.3) !important;
    color: #005ce6 !important;
}

body.light-theme .mv-title-group span {
    color: #005ce6 !important;
}

body.light-theme .card-vision .mv-title-group span {
    color: #ea580c !important;
}

body.light-theme .circuit-grid {
    opacity: 0.04;
    filter: invert(1);
}

body.light-theme .section-divider {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
}

body.light-theme .timeline-card {
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 102, 255, 0.38) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 0 16px rgba(0, 102, 255, 0.18) !important;
}

body.light-theme .timeline-card:hover {
    border-color: var(--color-secondary) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08), 0 0 30px rgba(255, 102, 0, 0.45), 0 0 12px rgba(0, 102, 255, 0.25) !important;
}

body.light-theme .timeline-info h3 {
    color: #0f172a;
}

body.light-theme .timeline-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

/* Centro Interactivo (index.html) */
body.light-theme #interactivo {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%) !important;
}

body.light-theme .interactive-pane {
    background: #ffffff !important;
    border: 2px solid rgba(0, 102, 255, 0.38) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05), 0 0 25px rgba(0, 102, 255, 0.18) !important;
}

body.light-theme #simulador {
    background: #f8fafc !important;
    border: 2px solid rgba(0, 102, 255, 0.42) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06), 0 0 25px rgba(0, 102, 255, 0.2) !important;
}

body.light-theme #simulador h3 {
    color: #0f172a !important;
}

body.light-theme .map-zone {
    background: rgba(0, 102, 255, 0.04) !important;
}

body.light-theme #zone-tooltip {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0066ff !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Teaser Asistente IA */
body.light-theme .ai-teaser {
    background: #f1f5f9;
}

body.light-theme .ai-icon {
    color: #0066ff;
    text-shadow: 0 0 35px rgba(0, 102, 255, 0.25);
}

body.light-theme .glow-orb {
    opacity: 0.12;
}

/* Catálogo */
body.light-theme .catalog-controls {
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 102, 255, 0.35) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 0 16px rgba(0, 102, 255, 0.16) !important;
}

body.light-theme .search-box input,
body.light-theme .filter-box select {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

body.light-theme .filter-box select option {
    background: #ffffff;
    color: #0f172a;
}

body.light-theme .catalog-feedback-bar {
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 255, 0.05));
    border: 1.5px solid rgba(0, 102, 255, 0.3);
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

body.light-theme .catalog-feedback-bar strong {
    color: #0066ff;
}

body.light-theme .catalog-feedback-bar .feedback-text i {
    color: #0066ff !important;
}

body.light-theme .catalog-feedback-bar .btn-clear {
    background: #ffffff !important;
    border: 1.5px solid #0066ff !important;
    color: #0066ff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.15) !important;
}

body.light-theme .catalog-feedback-bar .btn-clear:hover {
    background: #0066ff !important;
    border-color: #0066ff !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3) !important;
    transform: translateY(-2px);
}

body.light-theme .catalog-feedback-bar .btn-clear i {
    color: inherit !important;
}

body.light-theme .catalog-feedback-bar #btn-clear-search:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3) !important;
}

body.light-theme .single-product-card,
body.light-theme .category-card {
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 102, 255, 0.38) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05), 0 0 16px rgba(0, 102, 255, 0.18) !important;
}

body.light-theme .single-product-card:hover,
body.light-theme .category-card:hover {
    box-shadow: 0 16px 40px rgba(0, 102, 255, 0.18), 0 0 30px rgba(0, 102, 255, 0.5), 0 0 12px rgba(255, 102, 0, 0.25) !important;
    border-color: #0066FF !important;
}

body.light-theme .single-product-card .product-image-container,
body.light-theme .category-card .product-image-container {
    background: #f8fafc;
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .single-product-card .product-title,
body.light-theme .category-card .product-title {
    color: #0f172a;
}

body.light-theme .product-specs-grid {
    background: #f8fafc;
    border-color: rgba(0, 102, 255, 0.15);
}

body.light-theme .spec-val {
    color: #0f172a;
}

body.light-theme .product-code-badge {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 102, 255, 0.25);
    color: #0066ff;
}

body.light-theme .product-cat-pill {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 102, 255, 0.2);
    color: #475569;
}

body.light-theme .category-card .cat-desc {
    color: #475569 !important;
}

/* Visibilidad de StromIA y Cotizar en Modo Claro */
body.light-theme .product-actions-row .ai-ask-btn,
body.light-theme .product-actions-row .btn-primary,
body.light-theme .single-product-card .ai-ask-btn {
    background: linear-gradient(135deg, #0066ff, #0052cc) !important;
    border: 1px solid #0052cc !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 10px rgba(0, 102, 255, 0.3) !important;
}

body.light-theme .product-actions-row .ai-ask-btn:hover,
body.light-theme .product-actions-row .btn-primary:hover,
body.light-theme .single-product-card .ai-ask-btn:hover {
    background: linear-gradient(135deg, #0052cc, #003db8) !important;
    color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.45) !important;
    transform: translateY(-1px);
}

body.light-theme .product-actions-row .ai-ask-btn i,
body.light-theme .ai-ask-btn.btn-primary i {
    color: #ffd166 !important;
}

body.light-theme .product-actions-row .btn-outline,
body.light-theme .single-product-card .btn-outline {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .product-actions-row .btn-outline:hover,
body.light-theme .single-product-card .btn-outline:hover {
    background: #e2e8f0 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

body.light-theme .ai-ask-btn.btn-outline,
body.light-theme .catalog-table .ai-ask-btn {
    background: rgba(0, 102, 255, 0.08) !important;
    border: 1px solid rgba(0, 102, 255, 0.35) !important;
    color: #0066ff !important;
    font-weight: 600 !important;
}

body.light-theme .ai-ask-btn.btn-outline:hover,
body.light-theme .catalog-table .ai-ask-btn:hover {
    background: #0066ff !important;
    color: #ffffff !important;
}

body.light-theme #categoryModal .modal-content {
    background-color: #ffffff;
    border: 2px solid rgba(0, 102, 255, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 0 30px rgba(0, 102, 255, 0.22);
}

body.light-theme #modalCatTitle,
body.light-theme #noResults h3 {
    color: #0f172a !important;
}

body.light-theme #noResults {
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 102, 255, 0.3) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04), 0 0 16px rgba(0, 102, 255, 0.15) !important;
}

body.light-theme .close-modal {
    color: #64748b;
}

body.light-theme .close-modal:hover {
    color: #0f172a;
}

body.light-theme .catalog-table td {
    border-bottom-color: rgba(0, 0, 0, 0.06);
    color: #1e293b;
}

body.light-theme .catalog-table tr:hover {
    background: rgba(0, 102, 255, 0.05);
}

/* Nosotros */
body.light-theme .nosotros-stats-bar {
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 102, 255, 0.4) !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05), 0 0 22px rgba(0, 102, 255, 0.18) !important;
}

body.light-theme .nosotros-stat-info h3 {
    color: #0f172a;
}

body.light-theme .nosotros-chip {
    background: #ffffff;
    border: 1px solid rgba(0, 102, 255, 0.28);
    color: #0066ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03), 0 0 10px rgba(0, 102, 255, 0.12);
}

body.light-theme .story-heading {
    color: #0f172a;
}

body.light-theme .story-paragraph {
    color: #475569;
}

body.light-theme .story-milestone-item {
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 102, 255, 0.35) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04), 0 0 15px rgba(0, 102, 255, 0.15) !important;
}

body.light-theme .story-milestone-text {
    color: #334155;
}

body.light-theme .floating-story-badge {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 102, 255, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    color: #0f172a;
}

body.light-theme .floating-story-badge strong {
    color: #0f172a !important;
}

body.light-theme .nosotros-ambient-orb {
    opacity: 0.12;
}

/* Contacto con Marco y Efecto Neón en Modo Claro */
body.light-theme .contacto-channel-card {
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 102, 255, 0.38) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 0 16px rgba(0, 102, 255, 0.18) !important;
}

body.light-theme .contacto-channel-card:hover {
    box-shadow: 0 18px 45px rgba(0, 102, 255, 0.18), 0 0 30px rgba(0, 102, 255, 0.45) !important;
}

body.light-theme .channel-content h3 {
    color: #0f172a;
}

body.light-theme .contacto-form-card,
body.light-theme .contacto-info-card {
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 102, 255, 0.38) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05), 0 0 20px rgba(0, 102, 255, 0.18) !important;
}

body.light-theme .contacto-input-group input,
body.light-theme .contacto-input-group textarea,
body.light-theme .contacto-input-group select {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

body.light-theme .chip-option span {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

body.light-theme .chip-option input[type="radio"]:checked + span {
    background: rgba(0, 102, 255, 0.12);
    border-color: var(--color-primary);
    color: #0066ff;
}

body.light-theme .info-contact-text h4 {
    color: #0f172a;
}

body.light-theme .map-floating-pill {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 102, 255, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

body.light-theme .map-floating-pill strong {
    color: #0f172a;
}

body.light-theme .contacto-faq-item {
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 102, 255, 0.35) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04), 0 0 14px rgba(0, 102, 255, 0.15) !important;
}

body.light-theme .contacto-faq-item:hover {
    border-color: #0066FF !important;
    box-shadow: 0 12px 28px rgba(0, 102, 255, 0.15), 0 0 24px rgba(0, 102, 255, 0.45) !important;
}

body.light-theme .contacto-faq-item h4 {
    color: #0f172a;
}

/* Modal Simulador de Cotización en Modo Claro */
body.light-theme .cotizador-modal-overlay {
    background: rgba(15, 23, 42, 0.65);
}

body.light-theme .cotizador-modal-dialog {
    background: #ffffff;
    border: 2px solid rgba(0, 102, 255, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18), 0 0 30px rgba(0, 102, 255, 0.22);
}

body.light-theme .cotizador-header {
    background: #f8fafc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-theme .cotizador-header-info h2 {
    color: #0f172a;
}

body.light-theme .cotizador-header-info p {
    color: #64748b;
}

body.light-theme .btn-close-cotiz {
    color: #64748b;
}

body.light-theme .btn-close-cotiz:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.06);
}

body.light-theme .cotiz-title {
    color: #1e293b;
}

body.light-theme .cotiz-prompt-box {
    background: #f8fafc;
    border: 1.5px solid rgba(0, 102, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

body.light-theme .cotiz-prompt-sub {
    color: #64748b;
}

body.light-theme .cotiz-textarea {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #0f172a;
}

body.light-theme .cotiz-textarea:focus {
    background: #ffffff;
    border-color: #0066ff;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.2);
}

body.light-theme .cotiz-chips-label {
    color: #64748b;
}

body.light-theme .cotiz-chip {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}

body.light-theme .cotiz-chip:hover {
    background: rgba(0, 102, 255, 0.1);
    border-color: #0066ff;
    color: #0066ff;
}

body.light-theme .cotiz-chip.active {
    background: rgba(0, 102, 255, 0.15);
    border-color: #0066ff;
    color: #0066ff;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.2);
}

body.light-theme .cotiz-diagnosis-card {
    background: linear-gradient(145deg, #f0fdf4 0%, #e0f2fe 100%);
    border: 1.5px solid rgba(0, 102, 255, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.light-theme .diagnosis-title {
    color: #0f172a;
}

body.light-theme .diagnosis-text {
    color: #334155;
}

body.light-theme .diagnosis-retie-note {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #475569;
}

body.light-theme .cotiz-product-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.light-theme .cotiz-product-item:hover {
    background: #f8fafc;
    border-color: #0066ff;
    box-shadow: 0 6px 18px rgba(0, 102, 255, 0.12);
}

body.light-theme .prod-thumb-wrap {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

body.light-theme .prod-name {
    color: #0f172a;
}

body.light-theme .prod-cat-badge {
    color: #64748b;
}

body.light-theme .prod-ref {
    color: #64748b;
}

body.light-theme .prod-unit-price {
    color: #0066ff;
}

body.light-theme .prod-qty-ctrl {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

body.light-theme .btn-qty-minus,
body.light-theme .btn-qty-plus {
    color: #334155;
}

body.light-theme .btn-qty-minus:hover,
body.light-theme .btn-qty-plus:hover {
    background: rgba(0, 102, 255, 0.15);
    color: #0066ff;
}

body.light-theme .input-qty {
    color: #0f172a;
}

body.light-theme .prod-line-subtotal {
    color: #0f172a;
}

body.light-theme .cotiz-empty-products {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #64748b;
}

body.light-theme .cotiz-search-input {
    background: #ffffff;
    border-color: #94a3b8;
    color: #0f172a;
}

body.light-theme .cotiz-search-input:focus {
    background: #ffffff;
    border-color: #0066ff;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.2);
}

body.light-theme .cotiz-search-results-dropdown {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

body.light-theme .search-item-row:hover {
    background: rgba(0, 102, 255, 0.08);
}

body.light-theme .search-item-title {
    color: #0f172a;
}

body.light-theme .search-item-sub {
    color: #64748b;
}

body.light-theme .cotiz-missing-section {
    background: #fffbeb;
    border-color: rgba(245, 158, 11, 0.35);
}

body.light-theme .missing-intro-text {
    color: #475569;
}

body.light-theme .cotiz-missing-item {
    background: #ffffff;
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

body.light-theme .missing-item-name {
    color: #0f172a;
}

body.light-theme .missing-item-spec {
    color: #334155;
}

body.light-theme .missing-item-why {
    color: #64748b;
}

body.light-theme .cotiz-special-order-toggle {
    background: #ffffff;
    border-color: rgba(245, 158, 11, 0.3);
}

body.light-theme .toggle-label {
    color: #334155;
}

body.light-theme .cotiz-summary-panel {
    background: #ffffff;
    border: 1.5px solid rgba(0, 102, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.light-theme .summary-title {
    color: #0f172a;
}

body.light-theme .summary-sub {
    color: #64748b;
}

body.light-theme .summary-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-theme .breakdown-label {
    color: #64748b;
}

body.light-theme .breakdown-val {
    color: #0f172a;
}

body.light-theme .breakdown-row.highlight-row {
    background: rgba(0, 210, 106, 0.1);
    border-color: rgba(0, 210, 106, 0.3);
}

body.light-theme .breakdown-row.highlight-row .breakdown-label {
    color: #0f172a;
}

body.light-theme .summary-price-box {
    background: rgba(0, 102, 255, 0.06);
    border-color: rgba(0, 102, 255, 0.25);
}

body.light-theme .price-label {
    color: #0066ff;
}

body.light-theme .price-val {
    color: #0066ff;
    text-shadow: none;
}

body.light-theme .price-note {
    color: #64748b;
}

body.light-theme .summary-missing-badge-box {
    background: #fef3c7;
    border-color: #fde68a;
    color: #92400e;
}

body.light-theme .btn-ai-cotiz {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.3);
    color: #0066ff;
}

body.light-theme .btn-ai-cotiz:hover {
    background: rgba(0, 102, 255, 0.18);
    color: #0052cc;
}

/* Chat Widget StromIA en Modo Claro */
body.light-theme .chat-widget {
    background: #ffffff;
    border: 2px solid rgba(0, 102, 255, 0.4);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12), 0 0 25px rgba(0, 102, 255, 0.22);
}

body.light-theme .chat-body {
    background: #f8fafc;
}

body.light-theme .message.bot {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

body.light-theme .chat-input {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

body.light-theme .chat-input input {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

/* Misión, Visión y Valores con Marco y Efecto Neón en Modo Claro */
body.light-theme .nosotros-mv-card {
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 102, 255, 0.38) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05), 0 0 20px rgba(0, 102, 255, 0.18) !important;
}

body.light-theme .mv-title-group h2 {
    color: #0f172a;
}

body.light-theme .mv-lead-text {
    color: #475569;
}

body.light-theme .mv-checklist li {
    color: #1e293b;
}

body.light-theme .value-card-modern {
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 102, 255, 0.38) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 0 16px rgba(0, 102, 255, 0.18) !important;
}

body.light-theme .value-card-modern h3 {
    color: #0f172a;
}

body.light-theme .value-card-modern p {
    color: #475569;
}

body.light-theme .nosotros-cta-banner {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(255, 102, 0, 0.08) 100%);
    border-color: rgba(0, 102, 255, 0.22);
}

body.light-theme .nosotros-cta-banner h2 {
    color: #0f172a;
}

body.light-theme .nosotros-cta-banner p {
    color: #475569;
}

/* ========================================================
   ESTILOS ROBUSTOS PARA EL PIE DE PÁGINA (MODO CLARO Y OSCURO)
   Garantiza títulos resaltados y máxima legibilidad
   ======================================================== */
.main-footer,
body.light-theme .main-footer {
    background: #060911 !important;
    border-top: 1px solid rgba(0, 240, 255, 0.18) !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35) !important;
    color: #94a3b8 !important;
}

/* Títulos del Footer de Alto Impacto (Navegación, Atención al Cliente, Contacto) */
.main-footer .footer-col h3,
body.light-theme .main-footer .footer-col h3,
body.light-theme footer h3,
footer h3 {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 22px !important;
    padding-bottom: 12px !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6) !important;
}

/* Línea indicadora Neón Eléctrico STROM */
.main-footer .footer-col h3::after,
body.light-theme .main-footer .footer-col h3::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 48px !important;
    height: 3px !important;
    border-radius: 4px !important;
    background: linear-gradient(90deg, #00f0ff, #0066ff) !important;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.8) !important;
}

/* Iconos de títulos en el footer */
.main-footer .footer-col h3 i,
body.light-theme .main-footer .footer-col h3 i {
    font-size: 1.05rem !important;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
}

/* Enlaces del Footer con animación interactiva */
.main-footer .footer-col ul li a,
body.light-theme .main-footer .footer-col ul li a {
    color: #cbd5e1 !important;
    transition: all 0.25s ease !important;
    display: inline-block !important;
    font-size: 0.95rem !important;
}

.main-footer .footer-col ul li a:hover,
body.light-theme .main-footer .footer-col ul li a:hover {
    color: #00f0ff !important;
    transform: translateX(5px) !important;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.7) !important;
}

/* Textos secundarios y contacto */
.main-footer p,
.main-footer .footer-desc,
body.light-theme .main-footer p,
body.light-theme .main-footer .footer-desc,
.main-footer .footer-bottom p,
body.light-theme .main-footer .footer-bottom p {
    color: #94a3b8 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

.main-footer .contact-col p,
body.light-theme .main-footer .contact-col p {
    color: #e2e8f0 !important;
}

.main-footer .contact-col i,
body.light-theme .main-footer .contact-col i {
    color: #ff7700 !important;
    filter: drop-shadow(0 0 8px rgba(255, 119, 0, 0.5));
}

/* Redes Sociales del Footer */
.main-footer .social-icons a,
body.light-theme .main-footer .social-icons a {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    transition: all 0.3s ease !important;
}

.main-footer .social-icons a:hover,
body.light-theme .main-footer .social-icons a:hover {
    background: #0066ff !important;
    border-color: #00f0ff !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.6) !important;
    transform: translateY(-3px) scale(1.08) !important;
}



@keyframes neonPulse {
    0% { filter: drop-shadow(0 0 5px rgba(0, 102, 255, 0.4)) drop-shadow(0 0 10px rgba(0, 102, 255, 0.3)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 15px rgba(0, 102, 255, 0.7)) drop-shadow(0 0 25px rgba(255, 119, 0, 0.5)); transform: scale(1.02); }
    100% { filter: drop-shadow(0 0 5px rgba(0, 102, 255, 0.4)) drop-shadow(0 0 10px rgba(0, 102, 255, 0.3)); transform: scale(1); }
}
@keyframes neonPulseLight {
    0% { filter: drop-shadow(0 0 8px rgba(0, 102, 255, 0.7)) drop-shadow(0 0 12px rgba(255, 119, 0, 0.6)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 18px rgba(0, 102, 255, 0.9)) drop-shadow(0 0 28px rgba(255, 119, 0, 0.8)); transform: scale(1.02); }
    100% { filter: drop-shadow(0 0 8px rgba(0, 102, 255, 0.7)) drop-shadow(0 0 12px rgba(255, 119, 0, 0.6)); transform: scale(1); }
}
.logo img {
    animation: neonPulse 3s infinite ease-in-out;
}
body.light-theme .logo img {
    animation: neonPulseLight 3s infinite ease-in-out !important;
}

/* =========================================================
   RESPONSIVE DESIGN COMPLEMENTARIO (Móviles y Tablets)
   ========================================================= */

@media (max-width: 1200px) {
    .ai-content {
        gap: 30px;
    }
    .hero h1 {
        font-size: 3.8rem;
    }
}

@media (max-width: 992px) {
    /* Tipografía Hero */
    .hero h1, .hero-text h1 {
        font-size: 3rem;
    }
    .hero p, .hero-text p {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    /* Secciones Generales */
    .section {
        padding: 80px 0;
    }
    .section-title {
        font-size: 2.4rem;
        margin-bottom: 40px;
    }

    /* Ingeniero Virtual (AI) */
    .ai-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .ai-text ul li {
        justify-content: center;
        text-align: left;
    }
    .ai-icon {
        font-size: 7rem;
    }

    /* Widget de Chat */
    .chat-widget {
        right: 20px;
        bottom: 100px;
        width: 340px;
        height: 500px;
    }
}

@media (max-width: 768px) {
    /* Tipografía Hero y Botones */
    .hero h1, .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero p, .hero-text p {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* Títulos de sección */
    .section-title {
        font-size: 2rem;
    }

    /* Chat y Fab */
    .fab-container {
        right: 20px;
        bottom: 20px;
    }
    .fab {
        width: 55px;
        height: 55px;
    }
    .chat-widget {
        width: calc(100% - 40px);
        height: 450px;
        right: 20px;
        bottom: 90px;
    }
}

@media (max-width: 576px) {
    .hero h1, .hero-text h1 {
        font-size: 2.2rem;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .card {
        padding: 30px 20px;
    }
    .card-icon {
        font-size: 2.8rem;
    }
    .ai-text h2 {
        font-size: 2.2rem;
    }
}

/* ========================================================
   GALERÍA DE PROYECTOS E INGENIERÍA
   ======================================================== */
.strom-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-rows: 250px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.3);
    z-index: 2;
}

.gallery-item-tall {
    grid-row: span 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(10, 15, 28, 0.95) 0%, rgba(10, 15, 28, 0.7) 60%, transparent 100%);
    backdrop-filter: blur(4px);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.gallery-overlay p {
    color: var(--color-primary);
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

body.light-theme .gallery-item {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

body.light-theme .gallery-item:hover {
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
}

body.light-theme .gallery-overlay {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 60%, transparent 100%);
}

body.light-theme .gallery-overlay h4 {
    color: #0f172a;
}

@media (max-width: 768px) {
    .strom-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        grid-auto-rows: 220px;
        gap: 15px;
    }
    .gallery-item-tall {
        grid-row: span 1;
    }
    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(10, 15, 28, 0.95) 0%, rgba(10, 15, 28, 0.4) 100%);
    }
    body.light-theme .gallery-overlay {
        background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.5) 100%);
    }
}

@media (max-width: 480px) {
    .strom-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 210px;
        gap: 12px;
    }
}

/* ========================================================
   AMBIENTE ESPECIAL DÍA DE LAS BRUJAS / HALLOWEEN STROM 🎃⚡
   Telarañas vectoriales, araña animada y murciélagos eléctricos
   ======================================================== */
.halloween-web {
    position: fixed;
    top: 0;
    pointer-events: none;
    z-index: 9980;
    color: rgba(255, 255, 255, 0.42);
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.45)) drop-shadow(0 0 16px rgba(255, 119, 0, 0.35));
    transition: color 0.3s ease, filter 0.3s ease;
}

.halloween-web-left {
    left: 0;
}

.halloween-web-right {
    right: 0;
}

body.light-theme .halloween-web {
    color: rgba(15, 23, 42, 0.42);
    filter: drop-shadow(0 0 5px rgba(0, 102, 255, 0.25));
}

.halloween-web svg {
    display: block;
    width: clamp(120px, 13vw, 175px);
    height: clamp(120px, 13vw, 175px);
}

@media (max-width: 768px) {
    .halloween-web svg {
        width: clamp(65px, 16vw, 95px);
        height: clamp(65px, 16vw, 95px);
    }
    .hanging-spider-wrap {
        display: none !important;
    }
}

/* Arañita colgante animada en la esquina derecha */
.hanging-spider-wrap {
    position: absolute;
    top: 55px;
    right: 55px;
    pointer-events: none;
    transform-origin: top center;
    animation: spiderSwing 3.8s ease-in-out infinite alternate;
}

.hanging-spider-thread {
    width: 1.5px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(0, 240, 255, 0.6));
    margin: 0 auto;
    box-shadow: 0 0 5px rgba(0, 240, 255, 0.6);
}

body.light-theme .hanging-spider-thread {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(0, 102, 255, 0.8));
    box-shadow: none;
}

.hanging-spider-icon {
    font-size: 1.55rem;
    line-height: 1;
    display: block;
    text-align: center;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
    animation: spiderWiggle 2.2s ease-in-out infinite alternate;
    user-select: none;
}

@keyframes spiderSwing {
    0% { transform: rotate(-15deg); }
    100% { transform: rotate(15deg); }
}

@keyframes spiderWiggle {
    0% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.08) translateY(-2px); }
    100% { transform: scale(0.95) translateY(2px); }
}

/* Telaraña decorativa en esquinas de tarjetas */
.card-web-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 65px;
    height: 65px;
    pointer-events: none;
    opacity: 0.28;
    color: var(--color-primary);
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 2;
}

.card:hover .card-web-corner,
.single-product-card:hover .card-web-corner,
.category-card:hover .card-web-corner {
    opacity: 0.75;
    transform: scale(1.1);
    color: #ff7700;
}

body.light-theme .card-web-corner {
    color: #0066ff;
    opacity: 0.32;
}

body.light-theme .card:hover .card-web-corner,
body.light-theme .single-product-card:hover .card-web-corner,
body.light-theme .category-card:hover .card-web-corner {
    color: #ff7700;
    opacity: 0.75;
}

/* Murciélagos y partículas de Halloween */
.bat {
    position: fixed;
    pointer-events: none;
    z-index: 9985;
    animation: flyBat linear forwards;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

@keyframes flyBat {
    0% {
        transform: translate(0, 0) scale(var(--scale)) rotate(0deg);
        opacity: 0;
    }
    12% {
        opacity: 0.85;
    }
    88% {
        opacity: 0.85;
    }
    100% {
        transform: translate(var(--end-x), var(--end-y)) scale(var(--scale)) rotate(var(--end-rot));
        opacity: 0;
    }
}

/* ========================================================
   ESTILOS DE PIE DE PÁGINA (FOOTER) - ALTO CONTRASTE Y CALIDAD
   ======================================================== */
.main-footer,
footer,
.footer {
    background: #030408 !important;
    padding: 60px 0 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--text-muted) !important;
    position: relative;
    z-index: 10;
}

body.light-theme .main-footer,
body.light-theme footer,
body.light-theme .footer {
    background: #050a17 !important; /* Fondo tecnológico oscuro para máximo contraste en modo claro */
    border-top: 1px solid rgba(0, 102, 255, 0.25) !important;
    color: #94a3b8 !important;
}

body.light-theme .main-footer .footer-col h3,
body.light-theme .main-footer .footer-col h4,
body.light-theme footer .footer-col h3,
body.light-theme footer .footer-col h4,
body.light-theme .footer-col h3,
body.light-theme .footer-col h4 {
    color: #ffffff !important;
    text-shadow: 0 0 12px rgba(0, 102, 255, 0.4);
}

body.light-theme .main-footer p,
body.light-theme footer p,
body.light-theme .footer p,
body.light-theme .footer-desc {
    color: #94a3b8 !important;
}

body.light-theme .main-footer a,
body.light-theme footer a,
body.light-theme .footer a {
    color: #cbd5e1 !important;
}

body.light-theme .main-footer a:hover,
body.light-theme footer a:hover,
body.light-theme .footer a:hover {
    color: #00f0ff !important;
}

body.light-theme .footer-bottom,
body.light-theme .main-footer .footer-bottom,
body.light-theme footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #64748b !important;
}

/* -------------------------------------------------------------
 * ESTILOS DE AMPLIACIÓN DE IMAGEN (LIGHTBOX) Y DESCRIPCIÓN DE USO
 * ------------------------------------------------------------- */
.product-image-container {
    cursor: zoom-in;
    position: relative;
}

.image-zoom-overlay {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 102, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 3;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4);
}

.product-image-container:hover .image-zoom-overlay {
    opacity: 1;
    transform: translateY(0);
}

.product-usage-box {
    background: rgba(0, 102, 255, 0.06);
    border: 1px solid rgba(0, 102, 255, 0.16);
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 10px;
    transition: all 0.25s ease;
}

.single-product-card:hover .product-usage-box {
    border-color: rgba(0, 102, 255, 0.35);
    background: rgba(0, 102, 255, 0.1);
}

.product-usage-box .usage-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.product-usage-box .usage-text {
    font-size: 0.8rem;
    line-height: 1.35;
    color: #cbd5e1;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Light Mode para product-usage-box */
body.light-theme .product-usage-box,
html[data-theme="light"] .product-usage-box {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

body.light-theme .product-usage-box .usage-label,
html[data-theme="light"] .product-usage-box .usage-label {
    color: #0284c7;
}

body.light-theme .product-usage-box .usage-text,
html[data-theme="light"] .product-usage-box .usage-text {
    color: #334155;
}

/* Lightbox Modal para ampliación de imagen */
.product-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 8, 16, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.lightbox-container {
    position: relative;
    z-index: 2;
    background: #0d1424;
    border: 1px solid rgba(0, 102, 255, 0.35);
    border-radius: 16px;
    max-width: 680px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 102, 255, 0.3);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-lightbox-modal.active .lightbox-container {
    transform: scale(1);
}

.lightbox-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: rotate(90deg) scale(1.1);
}

.lightbox-img-area {
    width: 100%;
    height: 340px;
    background: radial-gradient(circle at center, #17223b 0%, #080d1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.5));
}

.lightbox-details {
    padding: 20px 24px 24px 24px;
}

.lightbox-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.lightbox-code {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}

.lightbox-cat {
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.lightbox-title {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 700;
}

.lightbox-usage-box {
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.22);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 20px;
}

.lightbox-usage-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.lightbox-usage-text {
    font-size: 0.92rem;
    color: #e2e8f0;
    line-height: 1.45;
    margin: 0;
}

.lightbox-actions-bar {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 5px;
}

.lightbox-actions-bar .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.92rem;
}

/* Light mode lightbox */
body.light-theme .lightbox-container,
html[data-theme="light"] .lightbox-container {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 20px rgba(0, 102, 255, 0.15);
}

body.light-theme .lightbox-img-area,
html[data-theme="light"] .lightbox-img-area {
    background: #f8fafc;
    border-bottom-color: #e2e8f0;
}

body.light-theme .lightbox-title,
html[data-theme="light"] .lightbox-title {
    color: #0f172a;
}

body.light-theme .lightbox-usage-box,
html[data-theme="light"] .lightbox-usage-box {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

body.light-theme .lightbox-usage-text,
html[data-theme="light"] .lightbox-usage-text {
    color: #334155;
}

body.light-theme .lightbox-close-btn,
html[data-theme="light"] .lightbox-close-btn {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* Adaptación responsive para el Lightbox en Smartphones */
@media (max-width: 600px) {
    .product-lightbox-modal {
        padding: 10px !important;
    }
    .lightbox-container {
        max-height: 92vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        border-radius: 14px !important;
    }
    .lightbox-img-area {
        height: 200px !important;
        padding: 12px !important;
    }
    .lightbox-details {
        padding: 16px 14px 20px !important;
    }
    .lightbox-title {
        font-size: 1.15rem !important;
    }
    .lightbox-actions-bar {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }
    .lightbox-actions-bar .btn {
        width: 100% !important;
    }
}

/* ========================================================
   SOPORTE ULTRA-WIDE Y PANTALLAS 4K (>= 1921px)
   ======================================================== */
@media (min-width: 1921px) {
    .container {
        max-width: 1540px;
    }
    .hero-text h1 {
        font-size: 3.8rem;
    }
    .hero-text p {
        font-size: 1.25rem;
    }
    .catalog-grid-4col {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 22px !important;
    }
    .section-title {
        font-size: 3rem;
    }
}

/* ========================================================
   BOTÓN FLOTANTE OFICIAL DE WHATSAPP STROM 💬⚡
   Ubicado verticalmente justo encima del Asesor StromIA
   ======================================================== */
.whatsapp-fab-container {
    position: fixed;
    bottom: 118px;
    right: 42px;
    left: auto;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: waFloatLevitate 4.4s ease-in-out infinite;
}

@keyframes waFloatLevitate {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.whatsapp-fab {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.05rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5), 0 0 20px rgba(37, 211, 102, 0.35);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease, filter 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.45);
    animation: waPulseGlow 3.2s ease-in-out infinite;
}

@keyframes waPulseGlow {
    0%, 100% {
        box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45), 0 0 15px rgba(18, 140, 126, 0.3);
    }
    50% {
        box-shadow: 0 10px 32px rgba(37, 211, 102, 0.75), 0 0 28px rgba(37, 211, 102, 0.55);
    }
}

.whatsapp-fab:hover {
    transform: scale(1.14);
    box-shadow: 0 14px 38px rgba(37, 211, 102, 0.85), 0 0 35px rgba(37, 211, 102, 0.65);
    filter: brightness(1.08);
}

.whatsapp-fab:active {
    transform: scale(0.95);
}

/* Animación periódica del icono del teléfono (Efecto Timbre / Llamada) */
.wa-icon-anim {
    display: inline-block;
    transform-origin: center center;
    animation: waPhoneRing 4.2s ease-in-out infinite;
}

@keyframes waPhoneRing {
    0%, 78%, 100% {
        transform: rotate(0deg) scale(1);
    }
    80% {
        transform: rotate(-18deg) scale(1.2);
    }
    82% {
        transform: rotate(18deg) scale(1.2);
    }
    84% {
        transform: rotate(-14deg) scale(1.2);
    }
    86% {
        transform: rotate(14deg) scale(1.2);
    }
    88% {
        transform: rotate(-8deg) scale(1.1);
    }
    90% {
        transform: rotate(8deg) scale(1.1);
    }
    92% {
        transform: rotate(0deg) scale(1);
    }
}

/* Efecto de ondas pulsantes expansivas dobles */
.whatsapp-fab-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.45);
    z-index: -1;
    animation: waRipple 2.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    pointer-events: none;
}

.whatsapp-fab-pulse-2 {
    animation-delay: 1.4s;
}

@keyframes waRipple {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }
    70% {
        transform: scale(1.7);
        opacity: 0;
    }
    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

/* Indicador de estado en línea con baliza de radar */
.whatsapp-badge-online {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #00ff66;
    border: 2px solid #ffffff;
    box-shadow: 0 0 8px rgba(0, 255, 102, 0.9);
}

.whatsapp-badge-ping {
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border-radius: 50%;
    background: rgba(0, 255, 102, 0.7);
    animation: badgeBeacon 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes badgeBeacon {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    60%, 100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Tooltip elegante con mensaje a la izquierda del botón */
.whatsapp-fab-tooltip {
    position: relative;
    background: rgba(13, 20, 36, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #ffffff;
    padding: 9px 15px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(37, 211, 102, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateX(15px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    white-space: nowrap;
}

.whatsapp-fab-tooltip::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 7px solid rgba(13, 20, 36, 0.95);
}

.whatsapp-fab-container:hover .whatsapp-fab-tooltip,
.whatsapp-fab-tooltip.show-wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

body.light-theme .whatsapp-fab-tooltip {
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    border-color: rgba(37, 211, 102, 0.45);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), 0 0 15px rgba(37, 211, 102, 0.15);
}

body.light-theme .whatsapp-fab-tooltip::after {
    border-left-color: rgba(255, 255, 255, 0.96);
}

.whatsapp-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 0 8px #25D366;
    flex-shrink: 0;
    animation: waBlink 1.8s infinite;
}

@keyframes waBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.whatsapp-tooltip-text {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    line-height: 1.3;
}

.whatsapp-tooltip-text strong {
    font-size: 0.88rem;
    color: #25D366;
}

body.light-theme .whatsapp-tooltip-text strong {
    color: #128C7E;
}

/* Ocultar sutilmente cuando el panel de chat de StromIA está activo */
.chat-widget.active ~ .whatsapp-fab-container,
body.chat-is-open .whatsapp-fab-container {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(0.85) !important;
}

/* Reglas Responsive para Dispositivos Móviles */
@media (max-width: 768px) {
    .whatsapp-fab-container {
        bottom: 82px;
        right: 20px;
        left: auto;
    }
    .whatsapp-fab {
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
    }
    .whatsapp-fab-tooltip {
        display: none !important;
    }
}

@media (max-width: 360px) {
    .whatsapp-fab-container {
        bottom: 74px;
        right: 17px;
        left: auto;
    }
    .whatsapp-fab {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
}

 
 