/* ==========================================================
   VARIABLES GLOBALES SPECTRA
========================================================== */
:root {
  --spectra-bg: #111111;
  --spectra-card: #161616;
  --spectra-accent: #e5a93d;
  --spectra-border: #333333;
  --spectra-text: #aaaaaa;
  --spectra-title: #ffffff;
}

/* RESET GENERAL */
* { box-sizing: border-box; margin: 0; padding: 0; box-shadow: none !important; }

body, html, main {
  background: var(--spectra-bg);
  background-color: var(--spectra-bg);
  color: var(--spectra-text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Títulos (Gruesos y blancos) */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--spectra-title);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p, span { font-family: 'Inter', sans-serif; }
a { color: var(--spectra-title); text-decoration: none; }

/* ==========================================================
   CONTENEDOR MAESTRO DE ALINEACIÓN (EL SECRETO)
========================================================== */
.grid-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}

/* ==========================================================
   1. HEADER ALINEADO
========================================================== */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  border-bottom: 1px solid var(--spectra-border);
  background-color: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  height: 80px;
}

.header-alignment-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header__heading-link span {
  font-family: 'Montserrat', sans-serif;
  color: var(--spectra-title);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.05em;
  transition: color 0.3s ease;
}
.header__heading-link:hover span { color: var(--spectra-accent); }

.header__inline-menu ul { display: flex; gap: 35px; list-style: none; }

.header__menu-item span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--spectra-text);
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s ease;
}
.header__menu-item:hover span { color: var(--spectra-accent); }

.header__menu-item::after {
  content: ''; position: absolute; width: 0; height: 2px;
  bottom: -15px; left: 0; background-color: var(--spectra-accent);
  transition: width 0.3s ease;
}
.header__menu-item:hover::after { width: 100%; }

/* ==========================================================
   MEGA MENU SPECTRA - REV 2026
========================================================== */

/* 1. ESTRUCTURA Y VISIBILIDAD */
.has-mega-menu { 
    position: static; 
} 

.mega-menu {
    position: absolute;
    top: 80px; /* Ajustar según la altura de tu header */
    left: 0;
    width: 100%;
    background: #0f0f0f; /* Negro profundo industrial */
    border-bottom: 1px solid #222;
    padding: 40px 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

/* Activación al posar el mouse sobre el link del Header */
.has-mega-menu:hover .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mega-menu-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 0 20px;
}

/* 2. COLUMNAS / TARJETAS INTERNAS */
.mega-col {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid transparent; 
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

/* Efecto hover en la columna entera */
.mega-col:hover {
    background: #161616;
    border-color: #333;
    transform: translateY(-5px);
}

/* 3. IMAGEN / PLACEHOLDER TÉCNICO */
.mega-img-placeholder {
    height: 120px;
    background: #161616;
    border: 1px solid #222;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #444;
    transition: all 0.3s ease;
}

.mega-col:hover .mega-img-placeholder {
    background: #1a1a1a;
    border-color: var(--spectra-accent);
    color: var(--spectra-accent); /* El texto // R&D se ilumina */
}

/* 4. TIPOGRAFÍA Y CONTENIDO */
.mega-col h3 {
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: 1px;
    color: var(--spectra-title);
    transition: color 0.3s ease;
}

.mega-col:hover h3 {
    color: #fff;
}

.mega-col p {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
    margin-bottom: 15px;
}

.mega-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--spectra-accent);
    text-decoration: none;
    margin-top: auto;
    transition: all 0.3s ease;
}

.mega-col:hover .mega-link {
    letter-spacing: 1px;
    font-weight: bold;
}

/* 5. ETIQUETAS (BADGES) */
.badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    padding: 2px 6px;
    align-self: flex-start;
    border: 1px solid;
    letter-spacing: 0.5px;
}

.badge.new { color: var(--spectra-accent); border-color: var(--spectra-accent); }
.badge.soon { color: #666; border-color: #333; }
.badge.catalog { color: #fff; border-color: #444; }
.badge.custom { color: var(--spectra-accent); border-color: var(--spectra-accent); }
/* ==========================================================
   2. HERO SECTION ALINEADO Y COMPRIMIDO
========================================================== */
.objex-hero-section { 
  border-bottom: 1px solid #000; 
  padding: 40px 0;
}

.objex-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  min-height: 400px;
  border: 1px solid #000;
}

/* Quitamos el padding izquierdo para que el texto nazca alineado al logo */
.info-col { 
  padding: 40px 40px 40px 0; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  gap: 25px;
  background: var(--spectra-bg); 
}

.top-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #666; }
.main-title h1 { font-size: 4rem; line-height: 0.9; margin: 0; font-family: 'JetBrains Mono', monospace; font-weight: 700; }
.bottom-info p { max-width: 400px; font-size: 14px; margin-bottom: 25px; color: var(--spectra-text); line-height: 1.5; }

.objex-btn {
  border: 1px solid #333; padding: 12px 25px; color: #fff;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: bold;
  text-transform: uppercase; letter-spacing: 1px;
  transition: 0.3s; display: inline-block;
}
.objex-btn:hover { background: var(--spectra-accent); color: #000; border-color: var(--spectra-accent); }

.image-col {
  background-color: #1a1a1a;
  border-left: 1px solid #000;
  position: relative;
  overflow: hidden;
  min-height: 400px; /* Aseguramos que se vea el espacio */
  
  /* CAMBIO DE RUTA: Entramos a la carpeta assets */
  background-image: 
    
    url('./assets/hero-spectra.jpg'); 
    
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ==========================================================
   3. BENTO GRID 
========================================================== */
.spectra-bento-wrapper { padding: 60px 0; }
.spectra-bento-row-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-bottom: 20px; }
.spectra-bento-row-bottom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spectra-bento-col-right { display: flex; flex-direction: column; gap: 20px; }

.spectra-bento-main-image {
  border: 1px solid var(--spectra-border); border-radius: 4px; position: relative;
  min-height: 450px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px; background-color: var(--spectra-card); overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.spectra-bento-main-image:hover { border-color: var(--spectra-accent); box-shadow: 0 10px 30px -10px rgba(229, 169, 61, 0.1) !important; }

.image-gradient { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(17,17,17,0) 0%, rgba(17,17,17,0.95) 100%); z-index: 1; }
.image-content { position: relative; z-index: 10; }
.image-content h2 { font-size: 32px; margin: 0 0 10px 0; }
.image-content p { color: var(--spectra-text); margin: 0; font-size: 14px; max-width: 90%; line-height: 1.6; }

.spectra-bento-card {
  background-color: var(--spectra-card); border: 1px solid var(--spectra-border); border-radius: 4px;
  padding: 35px; flex: 1; display: flex; flex-direction: column; justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: default;
}
.spectra-bento-card:hover { transform: translateY(-5px); border-color: var(--spectra-accent); background-color: #1a1a1a; box-shadow: 0 15px 35px -10px rgba(229, 169, 61, 0.1) !important; }

.spectra-bento-card-accent { background-color: rgba(229, 169, 61, 0.05); border: 1px solid var(--spectra-accent); }
.spectra-bento-card-accent:hover { background-color: rgba(229, 169, 61, 0.08); box-shadow: 0 15px 35px -10px rgba(229, 169, 61, 0.2) !important; }

.card-label { color: var(--spectra-accent); font-size: 11px; font-weight: 700; letter-spacing: 1px; margin: 0 0 15px 0; font-family: 'JetBrains Mono', monospace; }
.spectra-bento-card h3 { font-size: 18px; margin: 0 0 15px 0; line-height: 1.3;}
.spectra-bento-card-accent .accent-title { color: var(--spectra-accent); }
.card-text { color: var(--spectra-text); font-size: 13px; line-height: 1.6; margin: 0; }
.card-icon { width: 30px; height: 30px; fill: none; stroke: var(--spectra-accent); stroke-width: 1.5; margin-bottom: 20px; transition: all 0.3s ease; }

/* ==========================================================
   ESTILOS CATÁLOGO TÉCNICO (CON INTERACCIÓN)
========================================================== */
.tech-catalog-section {
    padding: 100px 0;
    background-color: #111111; /* Color general de la página */
    border-top: 1px solid var(--spectra-border);
}

.catalog-header { margin-bottom: 60px; }
.catalog-rev { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #666; margin-bottom: 10px; }
.catalog-title { font-size: 36px; letter-spacing: -1.5px; }

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* 1. LA TARJETA MAESTRA */
.catalog-card {
    background: #161616; /* Ligeramente más claro que el fondo */
    border: 1px solid var(--spectra-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1); /* Transición suave de ingeniería */
    cursor: pointer;
    position: relative;
}

/* EFECTO HOVER EN TARJETA: Elevación + Glow amarillo sutil */
.catalog-card:hover {
    transform: translateY(-8px);
    border-color: var(--spectra-accent);
    box-shadow: 0 10px 40px -10px rgba(229, 169, 61, 0.15);
}

/* 2. EL CONTENEDOR DE IMAGEN */
.card-image-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--spectra-border);
    background-color: #000;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(1) brightness(0.7); /* Gris y oscura por defecto */
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* EFECTO HOVER EN IMAGEN: Zoom suave + Color real + Brillo */
.catalog-card:hover .product-image {
    filter: grayscale(0) brightness(1);
    transform: scale(1.08);
}

.card-tech-header {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(17, 17, 17, 0.9);
    padding: 6px 15px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: var(--spectra-accent);
    letter-spacing: 1px;
    border-top: 1px solid var(--spectra-border);
    border-right: 1px solid var(--spectra-border);
    z-index: 10;
}

/* 3. EL CUERPO DE TEXTO */
.card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name { font-size: 24px; margin-bottom: 5px; color: var(--spectra-title); }
.product-type { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #888; text-transform: uppercase; margin-bottom: 20px; display: block; }
.product-description { font-size: 14px; line-height: 1.6; color: var(--spectra-text); margin-bottom: 25px; }

.specs-mini {
    display: flex;
    gap: 10px;
    margin-bottom: 35px;
    margin-top: auto; /* Empuja las specs hacia abajo */
}

.specs-mini span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    background: #222;
    padding: 5px 10px;
    color: #aaa;
    border: 1px solid #333;
}

/* 4. LOS BOTONES REACTIVOS */
.card-actions {
    display: flex;
    gap: 10px;
}

.btn-main, .btn-outline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    padding: 12px 15px;
    text-align: center;
    text-transform: uppercase;
    flex: 1;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-main {
    background: var(--spectra-accent);
    color: #000;
    border: 1px solid var(--spectra-accent);
}

/* EFECTO HOVER BOTÓN PRINCIPAL: Invierte a blanco/negro */
.btn-main:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
}

.btn-outline {
    border: 1px solid #333;
    color: #fff;
}

/* EFECTO HOVER BOTÓN SECUNDARIO: Se ilumina en amarillo */
.btn-outline:hover {
    border-color: var(--spectra-accent);
    color: var(--spectra-accent);
    background-color: rgba(229, 169, 61, 0.05);
}

@media (max-width: 600px) {
    .card-actions { flex-direction: column; }
}

/* ==========================================================
   4. FOOTER ALINEADO
========================================================== */
.spectra-footer { background-color: #111; padding: 60px 0 20px 0; border-top: 1px solid #222; }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; }
.footer-logo { font-size: 28px; margin: 0 0 20px 0; letter-spacing: -1px; }
.footer-slogan { color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 20px; text-transform: uppercase; }
.footer-desc { font-size: 13px; line-height: 1.6; max-width: 400px; margin-bottom: 20px; }
.footer-motto { font-style: italic; font-size: 13px; color: #666; margin-bottom: 30px; }
.footer-title { font-family: 'JetBrains Mono', monospace; font-size: 13px; margin-bottom: 30px; letter-spacing: 1px; color: #fff;}
.info-label { font-size: 11px; font-weight: 700; margin-bottom: 5px; color: #555; text-transform: uppercase; }
.info-value { font-size: 13px; color: #aaa; display: block; margin-bottom: 5px; }

.footer-bottom { margin-top: 60px; padding-top: 30px; border-top: 1px solid #222; font-size: 11px; }
.bottom-inner { display: flex; justify-content: space-between; align-items: center; }
.bottom-links { display: flex; gap: 20px; }
.bottom-links a { color: #555; transition: color 0.3s;}
.bottom-links a:hover { color: var(--spectra-accent); }

/* ==========================================================
   SPECTRA FOOTER - ESTRUCTURA FINAL COMPACTA
========================================================== */

/* --- Footer General --- */
.spectra-footer {
    padding-top: 60px;
    padding-bottom: 25px;
    background-color: #0c0c0c;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 25px; /* Compactamos el espacio con la barra legal */
}

/* --- Iconos Estilo "Brand" (Debajo del lema) --- */
.footer-socials-brand {
    display: flex;
    gap: 15px; /* Alineados uno al lado del otro */
    margin-top: 25px; /* Espacio desde el lema */
}

.social-icon-brand {
    color: #666; /* Gris neutro por defecto */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.social-icon-brand svg {
    width: 20px;
    height: 20px;
}

.social-icon-brand:hover {
    color: #e5a93d; /* Cambia al dorado Spectra */
    transform: translateY(-2px);
}

/* --- Barra Inferior Compacta --- */
.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding-top: 15px; /* Reducimos el espacio entre la línea y el Copyright */
    margin-top: 0; 
}
.bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    color: #444;
}

.bottom-links {
    display: flex;
    gap: 15px;
}

.bottom-links a {
    color: #444;
    text-decoration: none;
    text-transform: uppercase;
}

.bottom-links a:hover {
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; }
    .bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
    .footer-socials-brand { justify-content: center; }
}

/* ==========================================================
   RESPONSIVE GLOBAL
========================================================== */
@media (max-width: 900px) {
  .objex-grid, .spectra-bento-row-top, .spectra-bento-row-bottom, .footer-container { grid-template-columns: 1fr; }
  .info-col { padding: 40px 0; border-right: none; }
  .image-col { min-height: 300px; border-left: none; border-top: 1px solid #000; }
  .main-title h1 { font-size: 3rem; }
  .bottom-inner { flex-direction: column; gap: 20px; text-align: center; }
  .header__inline-menu { display: none; }
}

/* ==========================================================
   CONTACT PAGE SPECTRA
========================================================== */
.contact-section { padding: 60px 0 100px 0; }
.contact-header { margin-bottom: 60px; max-width: 700px; }
.contact-subtitle { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--spectra-accent); margin-bottom: 10px; }
.contact-title { font-size: 3rem; margin-bottom: 20px; letter-spacing: -1px; }
.contact-desc { font-size: 16px; color: var(--spectra-text); line-height: 1.6; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }

/* --- Panel Izquierdo (Info Técnica) --- */
.contact-info-panel { 
    background: #161616; 
    border: 1px solid var(--spectra-border); 
    padding: 40px; 
    display: flex; 
    flex-direction: column; 
    gap: 40px; 
    height: fit-content;
}

.info-block { display: flex; flex-direction: column; gap: 10px; }
.info-block .info-label { 
    font-family: 'JetBrains Mono', monospace; 
    font-size: 10px; 
    color: #666; 
    letter-spacing: 1px; 
    border-bottom: 1px solid #333; 
    padding-bottom: 5px; 
    margin-bottom: 10px; 
}
.info-block h3 { font-size: 18px; color: #fff; margin: 0; }
.info-block p { font-size: 14px; color: #aaa; margin: 0; line-height: 1.5; }
.contact-link { color: var(--spectra-accent); font-family: 'JetBrains Mono', monospace; font-size: 13px; text-decoration: none; transition: 0.3s; }
.contact-link:hover { color: #fff; }

/* Luz parpadeante estilo hardware */
.status-indicator { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    font-family: 'JetBrains Mono', monospace; 
    font-size: 12px; 
    color: #aaa; 
    background: #0c0c0c; 
    padding: 10px 15px; 
    border: 1px solid #333; 
}
.dot { width: 8px; height: 8px; background-color: #4CAF50; border-radius: 50%; box-shadow: 0 0 8px #4CAF50; }
.blink { animation: blinker 2s linear infinite; }
@keyframes blinker { 50% { opacity: 0; } }

/* --- Formulario Derecho --- */
.spectra-form { display: flex; flex-direction: column; gap: 25px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { 
    font-family: 'JetBrains Mono', monospace; 
    font-size: 11px; 
    color: #888; 
    letter-spacing: 0.5px; 
}

/* Campos de entrada */
.spectra-form input, .spectra-form select, .spectra-form textarea {
    background-color: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.spectra-form input:focus, .spectra-form select:focus, .spectra-form textarea:focus {
    border-color: var(--spectra-accent);
    box-shadow: 0 0 10px rgba(229, 169, 61, 0.1);
    background-color: #161616;
}

/* Flecha personalizada para el Select */
.spectra-form select { 
    appearance: none; 
    cursor: pointer; 
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23888" 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: 98%; 
    background-position-y: 50%; 
}

/* Botón de Enviar */
.btn-submit {
    background: var(--spectra-accent);
    color: #000;
    border: 1px solid var(--spectra-accent);
    padding: 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.btn-submit:hover { 
    background: #fff; 
    border-color: #fff; 
    letter-spacing: 1px; 
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid, .form-row { grid-template-columns: 1fr; gap: 30px; }
    .contact-title { font-size: 2.2rem; }
}

/* ==========================================================
   FAQ SECTION (CONTACT PAGE)
========================================================== */
.faq-section {
    padding: 80px 0;
    background-color: #0c0c0c;
    border-top: 1px solid var(--spectra-border);
}

.faq-header {
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.faq-header p {
    color: #888;
    font-size: 14px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background-color: #111;
    border: 1px solid #222;
    padding: 30px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #444;
    background-color: #161616;
}

.faq-item h4 {
    color: var(--spectra-title);
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.4;
    letter-spacing: 0;
}

.faq-item p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   SUPPORT PAGE SPECTRA
========================================================== */

/* Hero de Soporte */
.support-hero {
    padding: 80px 0 60px 0;
    border-bottom: 1px solid #222;
    background-color: #111;
}

.support-hero-inner {
    max-width: 800px;
}

.support-subtitle { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--spectra-accent); margin-bottom: 10px; }
.support-title { font-size: 3rem; margin-bottom: 20px; letter-spacing: -1px; }
.support-desc { font-size: 16px; color: var(--spectra-text); line-height: 1.6; margin-bottom: 40px; }

/* Barra de Búsqueda */
.support-search {
    display: flex;
    align-items: center;
    background: #161616;
    border: 1px solid #333;
    padding: 5px 20px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.support-search:focus-within {
    border-color: var(--spectra-accent);
    box-shadow: 0 0 15px rgba(229, 169, 61, 0.1);
}

.support-search svg {
    width: 20px;
    height: 20px;
    color: #666;
    margin-right: 15px;
}

.support-search input {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    padding: 15px 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    outline: none;
}

/* Grilla de Documentos */
.support-docs-section {
    padding: 80px 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.doc-category-card {
    background: #161616;
    border: 1px solid var(--spectra-border);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.doc-cat-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.doc-icon {
    width: 24px;
    height: 24px;
    color: var(--spectra-accent);
}

.doc-cat-header h3 {
    font-size: 16px;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Lista de Archivos */
.doc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doc-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #111;
    border: 1px solid #222;
    text-decoration: none;
    transition: all 0.2s ease;
}

.doc-list li a:hover {
    border-color: #555;
    background: #1a1a1a;
    transform: translateX(5px);
}

.doc-list li a span:first-child {
    font-size: 13px;
    color: #ccc;
}

.doc-list li a:hover span:first-child {
    color: #fff;
}

/* Etiqueta de Tipo de Archivo (PDF, ZIP, etc) */
.doc-type {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    background: #222;
    color: #888;
    padding: 3px 6px;
    border-radius: 2px;
}

/* Call to Action Final (Ticket) */
.support-cta {
    padding-bottom: 100px;
}

.ticket-box {
    background: linear-gradient(135deg, #161616 0%, #0c0c0c 100%);
    border: 1px solid var(--spectra-accent);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.ticket-info h2 { font-size: 20px; margin-bottom: 10px; }
.ticket-info p { color: #aaa; font-size: 14px; margin: 0; max-width: 600px; line-height: 1.5; }

@media (max-width: 768px) {
    .support-title { font-size: 2.2rem; }
    .ticket-box { flex-direction: column; text-align: center; }
    .ticket-action { width: 100%; }
    .ticket-action .btn-main { display: block; width: 100%; }
}

/* ==========================================================
   SPECTRACLOUD PAGE - TELEMETRÍA
========================================================== */

/* --- Hero & Login Panel --- */
.cloud-hero-section {
    padding: 80px 0;
    border-bottom: 1px solid #111;
}

.cloud-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.cloud-subtitle { 
    font-family: 'JetBrains Mono', monospace; 
    font-size: 12px; 
    color: var(--spectra-accent); 
    margin-bottom: 15px; 
}

.cloud-title { 
    font-size: 3.5rem; 
    margin-bottom: 25px; 
    letter-spacing: -1.5px; 
}

.cloud-desc { 
    font-size: 16px; 
    color: var(--spectra-text); 
    line-height: 1.6; 
    margin-bottom: 40px; 
}

.cloud-specs {
    display: flex;
    gap: 40px;
    border-top: 1px solid #222;
    padding-top: 30px;
}

.spec-item { display: flex; flex-direction: column; gap: 5px; }
.spec-value { font-size: 24px; font-weight: 800; color: #fff; }
.spec-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #666; }

/* --- Terminal de Login --- */
.cloud-login-panel {
    background: #111;
    border: 1px solid #333;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-radius: 2px;
}

.login-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
}

.login-header svg { width: 24px; height: 24px; }
.login-header h3 { font-size: 16px; margin: 0; color: #fff; }

.login-form .form-group { margin-bottom: 20px; }
.login-form input { 
    width: 100%; 
    box-sizing: border-box; 
    background-color: #0c0c0c;
    border: 1px solid #333;
    color: #fff;
    padding: 15px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s;
}

.login-form input:focus {
    border-color: var(--spectra-accent);
    box-shadow: 0 0 10px rgba(229, 169, 61, 0.1);
}

.login-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 12px;
}

.remember-me { display: flex; align-items: center; gap: 8px; color: #888; cursor: pointer; }
.forgot-pass { color: var(--spectra-accent); text-decoration: none; }
.forgot-pass:hover { text-decoration: underline; }

.btn-login { width: 100%; margin-bottom: 20px; padding: 15px; }

.login-footer {
    text-align: center;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #222;
    padding-top: 20px;
}

.login-footer a { color: #fff; text-decoration: none; border-bottom: 1px solid #555; padding-bottom: 2px; transition: 0.3s; }
.login-footer a:hover { color: var(--spectra-accent); border-color: var(--spectra-accent); }

/* --- Capacidades (Fotos de Plataforma) --- */
.cloud-features-section {
    padding: 100px 0;
    background-color: #0c0c0c;
}

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

.section-header-center h2 { font-size: 32px; margin-bottom: 15px; color: #fff; }
.section-header-center p { color: #888; max-width: 600px; margin: 0 auto; line-height: 1.6; }

.cloud-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #161616;
    border: 1px solid var(--spectra-border);
    display: flex;
    flex-direction: column;
}

.feature-img-slot {
    height: 200px;
    background-color: #000;
    border-bottom: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.placeholder-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #444;
}

.feature-content { padding: 30px; }
.feature-content h3 { font-size: 16px; margin-bottom: 15px; color: var(--spectra-accent); }
.feature-content p { font-size: 14px; color: #aaa; line-height: 1.6; margin: 0; }

/* --- Planes de Precio (Pricing B2B) --- */
.cloud-pricing-section {
    padding: 100px 0;
    background-color: #111;
    border-top: 1px solid #222;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: #161616;
    border: 1px solid var(--spectra-border);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.pricing-card:hover { transform: translateY(-5px); border-color: #444; }

.featured-tier {
    border-color: var(--spectra-accent);
    box-shadow: 0 10px 40px rgba(229, 169, 61, 0.05);
    transform: scale(1.05);
}
.featured-tier:hover { transform: scale(1.05) translateY(-5px); border-color: var(--spectra-accent); }

.tier-header {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    background: #222;
    color: #888;
    padding: 5px 10px;
    align-self: flex-start;
    margin-bottom: 20px;
}

.tier-header.accent-bg { background: var(--spectra-accent); color: #000; font-weight: bold; }

.tier-name { font-size: 22px; margin-bottom: 10px; color: #fff; }
.tier-desc { font-size: 13px; color: #888; margin-bottom: 25px; height: 40px; }

.tier-price { display: flex; align-items: baseline; margin-bottom: 5px; }
.currency { font-size: 20px; color: #fff; margin-right: 5px; }
.amount { font-size: 48px; font-weight: 900; color: #fff; line-height: 1; }
.period { font-size: 14px; color: #888; margin-left: 5px; }

.tier-subtext { font-size: 11px; color: #666; margin-bottom: 30px; border-bottom: 1px solid #222; padding-bottom: 20px; }

.tier-features { list-style: none; padding: 0; margin: 0 0 30px 0; display: flex; flex-direction: column; gap: 15px; }
.tier-features li { font-size: 13px; color: #aaa; position: relative; padding-left: 20px; }
.tier-features li::before { content: '→'; position: absolute; left: 0; color: var(--spectra-accent); font-family: 'JetBrains Mono'; }

.tier-btn { margin-top: auto; text-align: center; width: 100%; box-sizing: border-box; }

/* --- Responsive para SpectraCloud --- */
@media (max-width: 900px) {
    .cloud-hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .cloud-features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; gap: 40px; }
    .featured-tier { transform: none; }
    .featured-tier:hover { transform: translateY(-5px); }
}

/* ==========================================================
   DASHBOARD UI (SPECTRACLOUD APP)
========================================================== */
.dashboard-body {
    background-color: #080808; /* Un poco más oscuro que la web para dar contraste */
    margin: 0;
    overflow: hidden; /* Evita el scroll general, como en una app */
}

.dashboard-layout {
    display: flex;
    height: 100vh;
}

/* --- SIDEBAR --- */
.dashboard-sidebar {
    width: 260px;
    background-color: #111;
    border-right: 1px solid #222;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #222;
}

.sidebar-brand h2 {
    font-size: 20px;
    color: #fff;
    margin: 0;
}

.badge.live {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid #4CAF50;
    font-size: 9px;
    padding: 3px 6px;
    border-radius: 2px;
    animation: pulse 2s infinite;
}

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #888;
    text-decoration: none;
    font-size: 13px;
    padding: 12px 15px;
    border-radius: 4px;
    transition: all 0.2s;
}

.nav-item svg { width: 18px; height: 18px; }

.nav-item:hover, .nav-item.active {
    background-color: #1a1a1a;
    color: var(--spectra-accent);
}

.sidebar-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
}

.user-info { margin-bottom: 15px; padding: 0 10px; }
.user-id { color: #fff; font-size: 12px; margin: 0 0 5px 0; font-family: 'JetBrains Mono', monospace; }
.user-role { color: #666; font-size: 10px; margin: 0; text-transform: uppercase; }

.logout { color: #f44336; }
.logout:hover { background-color: rgba(244, 67, 54, 0.1); color: #f44336; }

/* --- MAIN PANEL --- */
.dashboard-main {
    flex-grow: 1;
    padding: 30px 40px;
    overflow-y: auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.dash-title { font-size: 24px; color: #fff; margin: 0 0 5px 0; }
.dash-subtitle { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #666; margin: 0; }

.btn-sm { padding: 10px 20px; font-size: 12px; }

/* --- KPIs --- */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.kpi-card {
    background-color: #161616;
    border: 1px solid #222;
    padding: 20px;
    border-radius: 4px;
}

.kpi-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #888; display: block; margin-bottom: 15px; }
.kpi-value { font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 10px; display: flex; align-items: baseline; gap: 5px; }
.unit { font-size: 14px; color: #666; font-weight: 400; }

.kpi-trend { font-size: 11px; font-family: 'JetBrains Mono', monospace; }
.kpi-trend.positive { color: #4CAF50; }
.kpi-trend.negative { color: #f44336; }
.kpi-trend.neutral { color: var(--spectra-accent); }

/* --- CHARTS --- */
.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.chart-card {
    background-color: #161616;
    border: 1px solid #222;
    padding: 20px;
    border-radius: 4px;
}

.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #222; padding-bottom: 15px; }
.chart-header h3 { font-size: 13px; color: #aaa; margin: 0; letter-spacing: 0.5px; }

.chart-filter { background: #0c0c0c; border: 1px solid #333; color: #fff; padding: 5px 10px; font-size: 11px; outline: none; }

.chart-placeholder {
    height: 300px;
    border: 1px dashed #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    color: #555;
}

.data-log-list { list-style: none; padding: 0; margin: 0; height: 300px; overflow-y: auto; }
.data-log-list li { border-bottom: 1px solid #222; padding: 12px 0; display: flex; flex-direction: column; gap: 5px; }
.data-log-list li:last-child { border: none; }
.log-time { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--spectra-accent); }
.log-msg { font-size: 12px; color: #ccc; }

/* ==========================================================
   PÁGINA: MIS NODOS (FLOTA)
========================================================== */
.nodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.node-card {
    background: #111;
    border: 1px solid #333;
    padding: 25px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.node-card:hover {
    border-color: var(--spectra-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.node-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.node-icon-wrapper {
    width: 45px;
    height: 45px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--spectra-accent);
}

.node-icon-wrapper svg { width: 24px; height: 24px; }

.node-status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #888;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #4CAF50; /* Verde por defecto */
    border-radius: 50%;
    box-shadow: 0 0 8px #4CAF50;
}

.node-info h3 {
    font-size: 18px;
    color: #fff;
    margin: 0 0 5px 0;
}

.node-info p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #666;
    margin: 0;
}

.node-meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #333;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-label {
    font-size: 11px;
    color: #666;
}

.meta-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #ccc;
}

.node-actions {
    margin-top: 25px;
    display: flex;
    gap: 10px;
}

.node-actions .btn-outline {
    flex: 1;
    padding: 10px;
    font-size: 11px;
    text-align: center;
}

/* ==========================================================
   PÁGINA: EXPORTACIÓN Y ZONA CRÍTICA
========================================================== */
.export-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.danger-zone {
    border: 1px solid #f44336;
    background: rgba(244, 67, 54, 0.05);
}

.danger-zone .chart-header h3 {
    color: #f44336;
}

.btn-danger {
    background-color: transparent;
    border: 1px solid #f44336;
    color: #f44336;
    padding: 15px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-danger:hover {
    background-color: #f44336;
    color: #fff;
}