/* ═══════════════════════════════════════════════
   InfraGo — style.css
   Operación TI Inteligente. Sin Fricción.
   © 2026 InfraGo SpA / TIC Manager's
═══════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  /* Fondo base: blanco y grises muy claros */
  --navy: #f8f9fb;
  --navy-2: #f0f2f5;
  --navy-3: #e8eaf0;
  --navy-4: #dde1ea;
  --blue: #1a4fa0;
  --blue-bright: #2563c4;
  --blue-light: #3b82f6;
  /* Naranja/dorado principal */
  --gold: #e8920a;
  --gold-bright: #f0a500;
  --gold-dark: #c47200;
  /* Texto: negro y grises oscuros */
  --white: #111111;
  --white-90: rgba(17,17,17,0.9);
  --white-85: rgba(17,17,17,0.85);
  --white-80: rgba(17,17,17,0.75);
  --white-60: rgba(17,17,17,0.6);
  --white-30: rgba(17,17,17,0.35);
  --white-10: rgba(17,17,17,0.08);
  --white-05: rgba(17,17,17,0.04);
  /* Naranjas con transparencia */
  --gold-10: rgba(232,146,10,0.1);
  --gold-20: rgba(232,146,10,0.2);
  --blue-10: rgba(37,99,196,0.1);
  /* Blanco puro para elementos que lo necesiten */
  --pure-white: #ffffff;
}

/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 201;
  background: rgba(5, 18, 55, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon { width: 34px; height: 34px; }

.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.nav-logo-go {
  color: var(--gold);
}

.nav-logo-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  letter-spacing: 0.3px;
  display: block;
  margin-top: -3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.nav-links a:hover { color: #ffffff; }

.nav-cta {
  background: var(--gold);
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 10px 24px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: var(--gold-bright) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 64px 220px;
  flex-direction: column;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/img/Front%20web%201.PNG');
  background-size: cover;
  background-position: center;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17,17,17,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,0.04) 1px, transparent 1px);
  background-size: 55px 55px;
}

.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,80,200,0.22) 0%, transparent 70%);
  top: 30%; right: 5%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  align-self: flex-start;
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  animation: fadeUp 0.8s 0.1s ease both;
  color: #ffffff;
}

.hero-stats {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  letter-spacing: 0.2px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.25s ease both;
}

.hero-subtitle {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.25;
  margin-bottom: 10px;
  animation: fadeUp 0.8s 0.3s ease both;
  color: #ffffff;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 0;
  animation: fadeUp 0.8s 0.35s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
  animation: fadeUp 0.8s 0.4s ease both;
  flex-wrap: wrap;
}

/* ── BOTONES ── */
.btn-primary {
  background: linear-gradient(135deg, #c47200, #e8920a);
  color: #ffffff;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  padding: 16px 36px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 28px rgba(232,146,10,0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d47f0a, #f0a500);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(232,146,10,0.4);
}

.btn-primary svg { width: 16px; height: 16px; }

.btn-secondary {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  border: none;
  background: none;
  cursor: pointer;
}

.btn-secondary:hover { color: #ffffff; }

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.3);
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
  color: #ffffff;
  background: rgba(255,255,255,0.08);
}

/* ── HERO CHECKLIST ── */
.hero-checklist {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fadeUp 0.8s 0.35s ease both;
}

.hero-checklist li {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-checklist li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

/* ── HERO KPIs ── */
.hero-kpis {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 32px;
  animation: fadeUp 0.8s 0.5s ease both;
}

.hero-kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 20px;
}

.hero-kpi:first-child { padding-left: 0; }

.kpi-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
}

.kpi-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hero-kpi-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}


.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 52%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1;
  animation: fadeUp 0.9s 0.3s ease both;
}

.hero-devices {
  position: relative;
  width: 580px;
  height: 460px;
}

/* Glow background behind devices */
.devices-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(30,80,200,0.35) 0%, transparent 70%);
  pointer-events: none;
}

/* Platform/shelf */
.devices-platform {
  position: absolute;
  bottom: 30px;
  left: 40px;
  right: 40px;
  height: 18px;
  background: linear-gradient(180deg, rgba(80,120,200,0.2) 0%, rgba(20,40,100,0.1) 100%);
  border-radius: 50%;
  filter: blur(8px);
}

/* SERVER RACK */
.device-server {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  z-index: 3;
}

.server-rack {
  position: relative;
  width: 160px;
  background: linear-gradient(180deg, #0d1e40 0%, #071228 100%);
  border: 1px solid rgba(40,80,180,0.5);
  border-radius: 8px;
  padding: 10px 8px;
  box-shadow:
    0 0 60px rgba(30,80,200,0.5),
    0 0 20px rgba(30,80,200,0.3),
    inset 0 0 20px rgba(0,0,0,0.5);
}

.server-top-glow {
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 20px;
  background: radial-gradient(ellipse, rgba(50,120,255,0.6) 0%, transparent 80%);
  pointer-events: none;
}

.rack-unit {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, rgba(10,25,60,0.9), rgba(15,35,80,0.8));
  border: 1px solid rgba(40,80,180,0.25);
  border-radius: 4px;
  padding: 5px 8px;
  margin-bottom: 5px;
  height: 32px;
}

.rack-unit.ru-highlight {
  border-color: rgba(60,120,255,0.5);
  background: linear-gradient(90deg, rgba(15,35,90,0.95), rgba(20,50,120,0.8));
}

.ru-led {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.ru-led.active {
  background: #00ff88;
  box-shadow: 0 0 6px #00ff88;
  animation: ledPulse 2s infinite;
}

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

.ru-bars {
  display: flex;
  gap: 3px;
  flex: 1;
}

.ru-bars span {
  flex: 1;
  height: 10px;
  background: rgba(40,80,180,0.4);
  border-radius: 2px;
}

.ru-label {
  font-size: 8px;
  font-weight: 700;
  color: rgba(100,150,255,0.8);
  letter-spacing: 0.5px;
  font-family: monospace;
  flex-shrink: 0;
}

.rack-cables {
  display: flex;
  gap: 8px;
  padding: 4px 4px 0;
}

.cable {
  flex: 1;
  height: 12px;
  border-radius: 2px 2px 0 0;
  border: 2px solid;
  border-bottom: none;
}

.c1 { border-color: rgba(30,200,100,0.7); }
.c2 { border-color: rgba(50,120,255,0.7); }
.c3 { border-color: rgba(255,165,0,0.6); }

/* LAPTOP */
.device-laptop {
  position: absolute;
  left: 40px;
  bottom: 50px;
  z-index: 4;
}

.laptop-screen {
  width: 190px;
  height: 130px;
  background: linear-gradient(160deg, #060e20, #0a1830);
  border: 2px solid rgba(40,80,160,0.4);
  border-radius: 8px 8px 0 0;
  padding: 8px;
  box-shadow: 0 0 30px rgba(30,80,200,0.3);
  overflow: hidden;
}

.laptop-screen-inner {
  height: 100%;
  background: linear-gradient(160deg, #071220 0%, #0a1a30 100%);
  border-radius: 4px;
  padding: 6px;
  position: relative;
  overflow: hidden;
}

.ls-topbar {
  display: flex;
  gap: 3px;
  margin-bottom: 6px;
}

.ls-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
}

.ls-dot.r { background: #ff5f57; }
.ls-dot.y { background: #febc2e; }
.ls-dot.g { background: #28c840; }

.ls-map {
  height: 55px;
  background:
    radial-gradient(circle at 30% 50%, rgba(30,80,180,0.4) 0%, transparent 40%),
    radial-gradient(circle at 70% 50%, rgba(20,60,140,0.3) 0%, transparent 40%),
    linear-gradient(160deg, rgba(10,30,80,0.8), rgba(5,15,50,0.9));
  border-radius: 3px;
  margin-bottom: 6px;
  border: 1px solid rgba(40,80,160,0.2);
}

.ls-bars { display: flex; flex-direction: column; }

.laptop-base {
  width: 190px;
  height: 12px;
  background: linear-gradient(180deg, #1a2a4a, #0d1a35);
  border-radius: 0 0 4px 4px;
  border: 1px solid rgba(40,80,160,0.3);
  border-top: none;
}

/* MONITOR */
.device-monitor {
  position: absolute;
  right: 20px;
  top: 60px;
  z-index: 2;
}

.monitor-screen {
  width: 180px;
  height: 115px;
  background: linear-gradient(160deg, #060e20, #0a1830);
  border: 2px solid rgba(40,80,160,0.35);
  border-radius: 6px;
  padding: 8px;
  box-shadow: 0 0 25px rgba(30,80,200,0.25);
  overflow: hidden;
}

.monitor-inner {
  height: 100%;
  background: linear-gradient(160deg, #071220, #091828);
  border-radius: 3px;
  padding: 5px;
}

.mi-header {
  font-size: 7px;
  font-family: monospace;
  color: rgba(80,140,255,0.7);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.mi-globe {
  height: 50px;
  background:
    radial-gradient(circle at 40% 50%, rgba(20,60,160,0.5) 0%, transparent 50%),
    radial-gradient(circle at 70% 40%, rgba(10,40,120,0.4) 0%, transparent 40%),
    linear-gradient(160deg, rgba(8,20,60,0.9), rgba(5,12,40,0.95));
  border-radius: 3px;
  margin-bottom: 5px;
  border: 1px solid rgba(30,60,140,0.2);
  position: relative;
  overflow: hidden;
}

.mi-stats {
  display: flex;
  gap: 4px;
}

.mi-stat {
  flex: 1;
  height: 20px;
  background: linear-gradient(180deg, rgba(30,80,180,0.4) 0%, rgba(20,50,120,0.2) 100%);
  border-radius: 2px;
  border: 1px solid rgba(40,80,160,0.2);
}

.monitor-stand {
  width: 30px;
  height: 20px;
  background: linear-gradient(180deg, #1a2a4a, #0d1a35);
  margin: 0 auto;
  border: 1px solid rgba(40,80,160,0.2);
}

.monitor-foot {
  width: 70px;
  height: 6px;
  background: linear-gradient(90deg, #0d1a35, #1a2a4a, #0d1a35);
  margin: 0 auto;
  border-radius: 2px;
  border: 1px solid rgba(40,80,160,0.2);
}

/* PRINTER */
.device-printer {
  position: absolute;
  right: 10px;
  bottom: 55px;
  z-index: 4;
}

.printer-body {
  width: 130px;
  background: linear-gradient(160deg, #2a3a5a, #1a2840);
  border-radius: 8px;
  border: 1px solid rgba(60,90,150,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  overflow: hidden;
}

.printer-top {
  background: linear-gradient(160deg, #34456a, #243050);
  padding: 10px;
  border-bottom: 1px solid rgba(60,90,150,0.2);
}

.printer-panel {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pp-circle {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(80,120,200,0.6), rgba(40,80,160,0.4));
  border: 1px solid rgba(100,150,255,0.3);
}

.pp-lines { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pp-lines div { height: 3px; background: rgba(80,120,200,0.35); border-radius: 2px; }
.pp-lines div:first-child { width: 70%; }

.printer-tray {
  height: 18px;
  background: linear-gradient(90deg, #1a2840, #243050, #1a2840);
  border-bottom: 1px solid rgba(60,90,150,0.2);
}

.printer-slot {
  height: 5px;
  background: linear-gradient(90deg, rgba(0,0,0,0.5), rgba(10,20,50,0.3), rgba(0,0,0,0.5));
  margin: 6px 10px;
  border-radius: 2px;
}

/* ── HERO BRANDS BAR (SLIDER AUTOMÁTICO) ── */
.hero-brands-bar {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(17,17,17,0.08);
  padding: 0 64px;
  height: 90px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: fadeUp 1s 0.5s ease both;
  box-shadow: 0 -4px 20px rgba(17,17,17,0.05);
}

/* Contenedor del slider */
.brands-slider-container {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.brands-logos {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: scrollBrands 50s linear infinite;
  will-change: transform;
  padding: 0 20px;
}

@keyframes scrollBrands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.55);
  transition: opacity 0.2s, filter 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
  min-width: 90px;
  height: 50px;
}

.brand-item:hover { 
  opacity: 0.95;
  color: rgba(0,0,0,0.8);
}

.brand-logo {
  width: 70px;
  height: 40px;
  object-fit: contain;
  object-position: center;
  filter: brightness(0.8) contrast(1.1);
  transition: filter 0.2s;
}

.brand-item:hover .brand-logo {
  filter: brightness(0.6) contrast(1.2);
}

.brand-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand-dell { font-style: italic; letter-spacing: 1px; }
.brand-asus { letter-spacing: 2px; font-size: 15px; }
.brand-brother { font-size: 15px; font-weight: 600; }

.brands-separator {
  width: 1px;
  height: 50px;
  background: rgba(0,0,0,0.1);
  margin: 0 12px;
  flex-shrink: 0;
}

.brands-certs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cert-label {
  font-size: 11px;
  color: rgba(0,0,0,0.55);
  letter-spacing: 0.5px;
  text-align: center;
}

.cert-badges {
  display: flex;
  gap: 12px;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid rgba(240,165,0,0.3);
  color: var(--gold);
  line-height: 1.1;
}

.cert-badge svg { flex-shrink: 0; color: var(--gold); }
.cert-badge span { font-size: 8px; font-weight: 500; letter-spacing: 1px; display: block; }

/* ── SECTIONS GENERALES ── */
section { padding: 100px 48px; }

.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--white-60);
  max-width: 540px;
  line-height: 1.7;
}

/* ── POR QUÉ INFRAGO ── */
.why-section {
  background: #f0f2f5;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17,17,17,0.08), transparent);
}

.why-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
}

.why-track-outer {
  overflow: hidden;
  flex: 1;
}

.why-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.why-card {
  background: #ffffff;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 16px;
  padding: 28px 24px;
  flex: 0 0 calc((100% - 4 * 24px) / 5);
  min-width: 200px;
  box-shadow: 0 2px 8px rgba(17,17,17,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(17,17,17,0.1);
  border-color: rgba(232,146,10,0.35);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-card-icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
  stroke: #ffffff;
}

.why-card-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #111111;
  line-height: 1.3;
}

.why-card-desc {
  font-size: 14px;
  color: rgba(17,17,17,0.6);
  line-height: 1.6;
  flex: 1;
}

.why-card-stat {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.2px;
}

/* Flechas del carrusel */
.why-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(17,17,17,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  color: #111111;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(17,17,17,0.08);
}

.why-arrow:hover:not(:disabled) {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(232,146,10,0.3);
}

.why-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Responsive carrusel */
@media (max-width: 1199px) {
  .why-card { flex: 0 0 calc((100% - 2 * 24px) / 3); }
}
@media (max-width: 899px) {
  .why-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 599px) {
  .why-section { padding: 60px 20px; }
  .why-card { flex: 0 0 100%; }
}

/* ── CTA FINAL ── */
.cta-section {
  background: var(--navy);
  text-align: center;
  padding: 120px 48px;
}

.cta-box {
  background: linear-gradient(135deg, #ffffff 0%, rgba(232,146,10,0.05) 100%);
  border: 1px solid rgba(232,146,10,0.2);
  border-radius: 20px;
  padding: 72px 48px;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(232,146,10,0.1);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 16px;
  color: var(--white-60);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── QUIÉNES SOMOS ── */
.about-section {
  background: linear-gradient(135deg, #f0f2f5 0%, rgba(232,146,10,0.04) 100%);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,146,10,0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px;
  position: relative;
  z-index: 1;
}

.about-content {
  max-width: 900px;
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(17,17,17,0.85);
  margin-bottom: 48px;
  padding: 24px;
  background: #ffffff;
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(17,17,17,0.05);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.feature-item {
  background: #ffffff;
  border: 1px solid rgba(17,17,17,0.07);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(17,17,17,0.04);
}

.feature-item:hover {
  background: #ffffff;
  border-color: rgba(232,146,10,0.3);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(232,146,10,0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(232,146,10,0.1), rgba(37,99,196,0.06));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.feature-item p {
  font-size: 14px;
  color: rgba(17,17,17,0.85);
  font-weight: 600;
}

.about-footer {
  border-top: 1px solid rgba(17,17,17,0.08);
  padding-top: 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-subtitle {
  font-size: 14px;
  color: rgba(17,17,17,0.6);
}

.about-subtitle strong {
  color: var(--gold);
  font-weight: 700;
}

.about-logo {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(240,165,0,0.2));
}

/* ── PLANES ── */
.plans-section {
  padding: 0 48px;
  margin: 80px 0;
  text-align: center;
}

.plans-section .section-sub {
  margin: 0 auto 48px;
}

.plans-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.plan-card {
  background: #ffffff;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(17,17,17,0.05);
}

.plan-card:hover {
  background: #ffffff;
  border-color: rgba(17,17,17,0.14);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(17,17,17,0.1);
}

.plan-premium {
  background: linear-gradient(135deg, rgba(232,146,10,0.06) 0%, rgba(37,99,196,0.04) 100%);
  border: 2px solid rgba(232,146,10,0.35);
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(232,146,10,0.12);
}

.plan-premium:hover {
  border-color: rgba(232,146,10,0.55);
  box-shadow: 0 30px 60px rgba(232,146,10,0.18);
}

.plan-featured-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(37,99,196,0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
}

.plan-badge {
  display: inline-block;
  background: rgba(232,146,10,0.1);
  color: var(--gold);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.plan-badge-featured {
  background: rgba(232,146,10,0.12);
  color: var(--gold-dark);
  box-shadow: 0 0 20px rgba(232,146,10,0.15);
}

.plan-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111111;
}

.plan-desc {
  font-size: 14px;
  color: rgba(17,17,17,0.6);
  margin-bottom: 24px;
}

.plan-price {
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(17,17,17,0.08);
  border-bottom: 1px solid rgba(17,17,17,0.08);
}

.plan-price-value {
  font-size: 12px;
  color: rgba(17,17,17,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.plan-price-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Barlow Condensed', sans-serif;
}

.plan-price-period {
  font-size: 13px;
  color: rgba(17,17,17,0.5);
  margin-top: 4px;
}

.plan-includes {
  flex: 1;
  text-align: left;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-include-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(17,17,17,0.85);
}

.plan-include-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.btn-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  background: rgba(17,17,17,0.05);
  border: 1px solid rgba(17,17,17,0.12);
  color: #111111;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-plan:hover {
  background: rgba(17,17,17,0.09);
  border-color: rgba(17,17,17,0.2);
}

.btn-plan-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  border: 1px solid rgba(232,146,10,0.3);
  color: #ffffff;
}

.btn-plan-primary:hover {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  box-shadow: 0 10px 30px rgba(232,146,10,0.25);
}

/* ── FOOTER ── */
footer {
  background: #111111;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 240px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

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

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: #ffffff; }

.footer-bottom {
  background: #0a0a0a;
  padding: 20px 48px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.footer-socials { display: flex; gap: 16px; }

.footer-socials a {
  color: rgba(255,255,255,0.35);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.footer-socials a:hover { color: rgba(255,255,255,0.7); }

/* ── STICKY CTA ── */
.sticky-expert {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 50;
  animation: fadeUp 1s 1s ease both;
}

.sticky-btn {
  background: var(--gold);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 32px rgba(232,146,10,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.sticky-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(232,146,10,0.45);
}

.sticky-dot {
  width: 8px; height: 8px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* ── DIVISOR ── */
.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17,17,17,0.08), transparent);
  margin: 0 48px;
}


/* ════════════════════════════════════════════
   MODAL COTIZADOR IA
════════════════════════════════════════════ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #ffffff;
  border: 1px solid rgba(17,17,17,0.1);
  border-radius: 20px;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  padding: 0;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(17,17,17,0.15);
  transform: scale(0.96) translateY(16px);
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1);
}

.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-track { background: transparent; }
.modal-box::-webkit-scrollbar-thumb { background: rgba(17,17,17,0.12); border-radius: 2px; }

.modal-header {
  background: linear-gradient(135deg, #f8f9fb, #f0f2f5);
  border-bottom: 1px solid rgba(17,17,17,0.07);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 2;
}

.modal-header-left { display: flex; align-items: center; gap: 14px; }

.modal-header-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-header-icon svg { width: 22px; height: 22px; color: #ffffff; }

.modal-header-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #111111;
}

.modal-header-sub {
  font-size: 12px;
  color: rgba(17,17,17,0.55);
  margin-top: 2px;
}

.modal-close {
  background: rgba(17,17,17,0.05);
  border: 1px solid rgba(17,17,17,0.1);
  border-radius: 8px;
  width: 36px; height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(17,17,17,0.5);
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover { background: rgba(17,17,17,0.1); color: #111111; }
.modal-close svg { width: 16px; height: 16px; }

.modal-body { padding: 28px; }

/* Selector de tipo */
.quote-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.quote-type-btn {
  background: rgba(17,17,17,0.03);
  border: 1px solid rgba(17,17,17,0.09);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow', sans-serif;
  color: rgba(17,17,17,0.6);
}

.quote-type-btn:hover {
  border-color: rgba(232,146,10,0.4);
  background: rgba(232,146,10,0.05);
  color: #111111;
}

.quote-type-btn.active {
  border-color: var(--gold);
  background: rgba(232,146,10,0.07);
  color: #111111;
}

.quote-type-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(232,146,10,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quote-type-icon svg { width: 18px; height: 18px; color: var(--gold); }

.quote-type-label {
  font-size: 13px;
  font-weight: 700;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.quote-type-sub {
  font-size: 11px;
  color: rgba(17,17,17,0.4);
  display: block;
  margin-top: 2px;
}

/* Campo de descripción */
.quote-textarea-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(17,17,17,0.5);
  margin-bottom: 8px;
  display: block;
}

.quote-textarea {
  width: 100%;
  background: rgba(17,17,17,0.03);
  border: 1px solid rgba(17,17,17,0.12);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: #111111;
  resize: none;
  height: 100px;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 20px;
}

.quote-textarea::placeholder { color: rgba(17,17,17,0.35); }

.quote-textarea:focus {
  border-color: rgba(232,146,10,0.5);
}

/* Sliders de cantidad */
.quote-sliders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.quote-slider-item label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: rgba(17,17,17,0.55);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quote-slider-item label span {
  color: var(--gold);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.quote-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(17,17,17,0.1);
  outline: none;
  cursor: pointer;
}

.quote-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(232,146,10,0.4);
}

/* Resultado de cotización */
.quote-result {
  background: linear-gradient(135deg, #f8f9fb, rgba(232,146,10,0.04));
  border: 1px solid rgba(232,146,10,0.2);
  border-radius: 12px;
  padding: 20px 22px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  min-height: 80px;
}

.quote-result::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.quote-result-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(17,17,17,0.55);
  font-size: 14px;
}

.quote-result-loading .chat-typing-dots { background: none; border: none; padding: 0; }

.quote-result-text {
  font-size: 14px;
  color: rgba(17,17,17,0.85);
  line-height: 1.7;
}

.quote-result-text strong { color: var(--gold); }
.quote-result-text em { color: var(--blue-bright); font-style: normal; }

.quote-result-price {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(17,17,17,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quote-price-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(17,17,17,0.35);
}

.quote-price-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
}

.quote-price-value span {
  font-size: 14px;
  font-weight: 400;
  color: rgba(17,17,17,0.55);
  margin-left: 4px;
}

/* Botón generar cotización */
.quote-btn-generate {
  width: 100%;
  margin-top: 20px;
  background: var(--gold);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 16px;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(232,146,10,0.25);
}

.quote-btn-generate:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(232,146,10,0.35);
}

.quote-btn-generate:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.quote-btn-generate svg { width: 16px; height: 16px; }