/* ==========================================================================
   APCO CHILE - DESIGN SYSTEM & STYLESHEET
   Inspirado en Elesi WooCommerce B2B Minimalist Architecture
   ========================================================================== */

:root {
  /* Brand Palette */
  --color-primary: #004B87;        /* Azul Corporativo APCO */
  --color-primary-dark: #003360;   /* Azul Profundo */
  --color-primary-light: #EBF3FA;  /* Azul Suave Fondo */
  --color-accent: #F59E0B;         /* Amarillo Seguridad Vial / Industrial */
  --color-accent-hover: #D97706;   /* Amarillo Oscuro */
  --color-dark: #0F172A;           /* Slate Oscuro Texto Principal */
  --color-muted: #64748B;          /* Gris Texto Secundario */
  --color-border: #E2E8F0;         /* Bordes Sutiles */
  --color-bg-light: #F8FAFC;       /* Fondo Contenedores */
  --color-surface: #FFFFFF;        /* Superficie Blanca */
  --color-success: #10B981;        /* Verde Operacional */
  
  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Radii & Shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 20px 40px rgba(0, 75, 135, 0.12);
  
  /* Layout Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-surface);
  color: var(--color-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ==========================================================================
   TOP BAR (ESTILO ELESI B2B)
   ========================================================================== */
.top-bar {
  background-color: #0A192F;
  color: #94A3B8;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #CBD5E1;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  fill: var(--color-accent);
}

.top-badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-accent);
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ==========================================================================
   HEADER PRINCIPAL
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 38px;
  object-fit: contain;
}

.logo-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  text-transform: uppercase;
  border-left: 2px solid var(--color-border);
  padding-left: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-dark);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

/* Botón Cotizador B2B / Carrito RFQ */
.btn-quote-cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 75, 135, 0.25);
  position: relative;
}

.btn-quote-cart:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.cart-count {
  background-color: var(--color-accent);
  color: #000;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Mobile Toggle */
.btn-mobile-menu {
  display: none;
  font-size: 1.5rem;
  color: var(--color-dark);
}

/* ==========================================================================
   HERO SECTION (ALTA RESOLUCIÓN & CONVERSIÓN B2B)
   ========================================================================== */
/* ==========================================================================
   HERO SECTION - SLIDER DE FONDO FULL-ANCHO (ROTACIÓN 6 SEGUNDOS)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 100px;
  background-color: #0A192F;
}

/* Contenedor del Slider de Fondo */
.hero-bg-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 6.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Overlay de Gradiente para Máxima Legibilidad */
.hero-slider-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(90deg, 
    rgba(10, 25, 47, 0.95) 0%, 
    rgba(10, 25, 47, 0.84) 48%, 
    rgba(10, 25, 47, 0.55) 100%);
  pointer-events: none;
}

/* Contenido Frontal del Hero */
.hero-content-wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 52px;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.badge-tag {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FCD34D;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-cert {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6EE7B7;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title span {
  color: #60A5FA;
  position: relative;
}

.hero-desc {
  font-size: 1.15rem;
  color: #CBD5E1;
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--color-primary);
  color: #fff;
  padding: 15px 28px;
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 75, 135, 0.45);
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: #0060ad;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 75, 135, 0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 15px 26px;
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

/* Tarjeta Flotante Derecha en Hero */
.hero-telemetry-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  color: #fff;
}

.telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.telemetry-title h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.telemetry-title p {
  font-size: 0.8rem;
  color: #94A3B8;
}

.pulse-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 800;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.telemetry-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.telemetry-metric-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
}

.telemetry-metric-item .metric-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #60A5FA;
}

.telemetry-metric-item .metric-lbl {
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 600;
}

/* Barra y Controles del Slider */
.hero-slider-controls {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 6;
}

.hero-slider-controls .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slide-caption-ticker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: #E2E8F0;
}

.slide-caption-ticker strong {
  color: var(--color-accent);
}

.slider-navigation-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-dot {
  width: 32px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.slider-dot.active {
  width: 48px;
  background: var(--color-accent);
}

.slider-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

/* ==========================================================================
   BENTO GRID DE MÉTRICAS & CONFIANZA
   ========================================================================== */
.bento-section {
  padding: 64px 0;
  background-color: var(--color-surface);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-pretitle {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0A192F;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-muted);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: var(--transition);
}

.bento-card:hover::before {
  background: var(--color-primary);
}

.bento-stat {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.bento-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.bento-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ==========================================================================
   CATÁLOGO WOOCOMMERCE B2B (ESTILO ELESI CON FILTROS AJAX)
   ========================================================================== */
.catalog-section {
  padding: 72px 0 96px;
  background-color: #F8FAFC;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* AJAX Tabs Filter & Search Toolbar */
.catalog-header-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
}

.catalog-search-box {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.catalog-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: #94A3B8;
  pointer-events: none;
}

.catalog-search-input {
  width: 100%;
  padding: 12px 42px 12px 44px;
  border: 1px solid var(--color-border);
  border-radius: 99px;
  background: #FFFFFF;
  font-size: 0.92rem;
  color: var(--color-dark);
  font-family: inherit;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.catalog-search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 75, 135, 0.15);
}

.catalog-search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #94A3B8;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.catalog-search-clear:hover {
  color: var(--color-dark);
}

.catalog-tabs-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  padding: 10px 22px;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  color: var(--color-primary);
  border-color: #CBD5E1;
}

.tab-btn.active {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 75, 135, 0.25);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Tarjeta Producto B2B */
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.product-thumb {
  position: relative;
  height: 230px;
  background: #E2E8F0;
  overflow: hidden;
}

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

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

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-badge.gold {
  background: var(--color-accent);
  color: #000;
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0A192F;
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.product-specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.spec-chip {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.btn-card-quote {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-card-quote:hover {
  background: var(--color-primary-dark);
}

.btn-card-details {
  background: var(--color-bg-light);
  color: var(--color-dark);
  border: 1px solid var(--color-border);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
}

.btn-card-details:hover {
  background: #E2E8F0;
  color: var(--color-primary);
}

/* ==========================================================================
   OFF-CANVAS QUOTE DRAWER (COTIZADOR B2B / REQUEST FOR QUOTE)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.quote-drawer {
  position: fixed;
  top: 0;
  right: -520px;
  width: 500px;
  max-width: 95vw;
  height: 100vh;
  background: var(--color-surface);
  z-index: 2100;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-backdrop.active .quote-drawer {
  right: 0;
}

.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
}

.drawer-title-group h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0A192F;
}

.drawer-title-group p {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.btn-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-muted);
  transition: var(--transition);
}

.btn-drawer-close:hover {
  background: #F1F5F9;
  color: var(--color-dark);
}

.drawer-body {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
}

.drawer-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.drawer-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.drawer-item-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.drawer-item-info span {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.btn-item-remove {
  color: #EF4444;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px;
}

.btn-item-remove:hover {
  text-decoration: underline;
}

.empty-cart-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--color-muted);
}

.empty-cart-state svg {
  width: 56px;
  height: 56px;
  fill: #CBD5E1;
  margin-bottom: 12px;
}

/* Quote Form inside Drawer */
.quote-form-section {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

.quote-form-section h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0A192F;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--color-dark);
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 75, 135, 0.12);
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--color-border);
  background: #F8FAFC;
}

.btn-submit-rfq {
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 75, 135, 0.3);
  transition: var(--transition);
}

.btn-submit-rfq:hover {
  background: var(--color-primary-dark);
}

/* ==========================================================================
   MODAL DE FICHA TÉCNICA
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.spec-modal {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
}

.modal-header-visual {
  position: relative;
  height: 280px;
  background: #000;
}

.modal-header-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content-inner {
  padding: 32px;
}

.modal-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.modal-title-row h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0A192F;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.spec-table tr {
  border-bottom: 1px solid var(--color-border);
}

.spec-table th {
  text-align: left;
  padding: 10px 14px;
  color: var(--color-muted);
  width: 40%;
}

.spec-table td {
  padding: 10px 14px;
  font-weight: 700;
  color: var(--color-dark);
}

/* ==========================================================================
   PORTAL TALENTO APCO (RECLUTAMIENTO)
   ========================================================================== */
.talent-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0A192F 0%, #003360 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.talent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.talent-content h2 {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.talent-content p {
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: 28px;
}

.talent-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.talent-perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #F1F5F9;
}

.perk-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.talent-form-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.talent-form-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.talent-form-card p {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 22px;
}

.talent-form-card .form-label {
  color: #E2E8F0;
}

.talent-form-card .form-input, .talent-form-card .form-select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.talent-form-card .form-input:focus, .talent-form-card .form-select:focus {
  border-color: var(--color-accent);
}

.talent-form-card .form-select option {
  background: #0A192F;
  color: #fff;
}

.file-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.03);
}

.file-dropzone:hover {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.06);
}

.btn-talent-submit {
  width: 100%;
  background: var(--color-accent);
  color: #000;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 800;
  margin-top: 18px;
  transition: var(--transition);
}

.btn-talent-submit:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

/* ==========================================================================
   FOOTER CORPORATIVO
   ========================================================================== */
.main-footer {
  background-color: #050E1D;
  color: #94A3B8;
  padding: 64px 0 28px;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col p {
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* ==========================================================================
   MOBILE BOTTOM BAR (STICKY APP-LIKE EXPERIENCE ESTILO ELESI)
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 1500;
  padding: 8px 12px;
}

.bottom-bar-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-muted);
  position: relative;
}

.bottom-bar-item.active, .bottom-bar-item:hover {
  color: var(--color-primary);
}

.bottom-bar-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.bottom-cart-badge {
  position: absolute;
  top: -4px;
  right: 6px;
  background: var(--color-accent);
  color: #000;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #0A192F;
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  border-left: 4px solid var(--color-accent);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .talent-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .main-nav {
    display: none;
  }
  .btn-mobile-menu {
    display: block;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-bottom-bar {
    display: block;
  }
  body {
    padding-bottom: 64px;
  }
  .whatsapp-float-btn {
    right: 20px;
    bottom: 80px; /* Sobre la barra inferior móvil de Elesi */
    width: 52px;
    height: 52px;
  }
  .whatsapp-float-btn svg {
    width: 28px;
    height: 28px;
  }
}

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP (COSTADO DERECHO A 50PX SOBRE EL PIE)
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  right: 28px;
  bottom: 50px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.48);
  z-index: 1800;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  background-color: #20BA5A;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
  color: #FFFFFF;
}

.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
}

.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: waPulse 2.2s infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #0A192F;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.25s ease;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #0A192F;
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

