/* ==========================================================================
   NUEVA VISIÓN INGENIERÍA · DESIGN SYSTEM 2026
   Inspiración: MedTech High-Precision Laboratory (Figma / Dribbble / 60fps.design)
   Concepto: "El Banco de Pruebas" (Instrumentación, Telemetría y Microelectrónica)
   ========================================================================== */

:root {
  /* Paleta Nuclear */
  --ink: #06181C;
  --ink2: #0B262B;
  --ink3: #12343A;
  --paper: #F3F5F1;
  --paper2: #E9EEEA;
  --paper3: #DFE6E1;
  --line: #D3DDD8;
  --lineD: rgba(160, 220, 205, 0.16);
  --lineD-strong: rgba(160, 220, 205, 0.32);

  /* Acentos de Señal y Diagnóstico */
  --teal: #0E7C74;
  --teal-dark: #08514C;
  --teal-light: #169E94;
  --mint: #5FE3C0;
  --mint-glow: rgba(95, 227, 192, 0.4);
  --amber: #FFB547;
  --amber-dark: #8A5300;
  --amber-bg: #FFF4E3;
  --wa: #25D366;
  --wa-dark: #1EBE5D;

  /* Neutros & Muted */
  --muted: #5E7470;
  --mutedD: #8FB0A9;
  --white: #FFFFFF;

  /* Tipografías del Sistema */
  --sans: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --serif: 'Instrument Serif', Georgia, serif;

  /* Curvas de Animación 60fps */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --trans-fast: 160ms var(--ease-out);
  --trans-spring: 260ms var(--ease-spring);
  --trans-smooth: 320ms var(--ease-expo);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  background-color: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* Envoltorios de Contenido */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 768px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Tipografía y Acentos Editoriales */
em.s {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.dark em.s {
  color: var(--mint);
}

.light em.s, em.s {
  color: var(--teal);
}

.tag-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
  display: inline-block;
}

.dark .tag-label {
  color: var(--mint);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 12px;
}

/* Retícula Milimétrica Técnica */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--lineD) 1px, transparent 1px),
    linear-gradient(90deg, var(--lineD) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.grid-bg.light {
  background-image: 
    linear-gradient(rgba(14, 124, 116, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 124, 116, 0.08) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%);
}

/* Chips & Pills Técnicos */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--ink);
  white-space: nowrap;
}

.chip.dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--lineD);
  color: #CFE7E1;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(95, 227, 192, 0.2);
  display: inline-block;
  flex-shrink: 0;
}

.dot.amber {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 181, 71, 0.25);
  animation: pulseAmber 2.2s infinite ease-in-out;
}

.dot.live {
  animation: pulseMint 2s infinite ease-in-out;
}

@keyframes pulseMint {
  0%, 100% { box-shadow: 0 0 0 3px rgba(95, 227, 192, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(95, 227, 192, 0.0); }
}

@keyframes pulseAmber {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 181, 71, 0.3); }
  50% { box-shadow: 0 0 0 7px rgba(255, 181, 71, 0.0); }
}

/* Botones con Micro-interacción Magnética (60fps.design) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast), background-color var(--trans-fast);
  will-change: transform;
}

.btn:active {
  transform: scale(0.97);
}

.btn-wa {
  background-color: var(--wa);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.btn-wa:hover {
  background-color: var(--wa-dark);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.38);
  transform: translateY(-2px);
}

.btn-am {
  border: 1.5px solid var(--amber);
  color: var(--amber);
  background: rgba(255, 181, 71, 0.05);
}

.btn-am:hover {
  background: rgba(255, 181, 71, 0.15);
  transform: translateY(-2px);
}

.btn-wh {
  background: #FFFFFF;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-wh:hover {
  background: var(--paper2);
  transform: translateY(-2px);
}

.btn-ink {
  background: var(--ink);
  color: #FFFFFF;
}

.btn-ink:hover {
  background: var(--ink2);
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--teal);
  color: #FFFFFF;
}

.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

/* Íconos SVG */
.wa-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   HEADER & NAVEGACIÓN
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 24, 28, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lineD);
  transition: background-color var(--trans-fast);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #FFFFFF;
}

.brandmark img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #FFFFFF;
  padding: 2px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--mint);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: #B7D3CC;
  transition: color var(--trans-fast);
  position: relative;
  padding: 6px 0;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--trans-fast);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  background-color: var(--wa);
  color: #FFFFFF;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.28);
  transition: transform var(--trans-fast), background-color var(--trans-fast), box-shadow var(--trans-fast);
}

.nav-cta-btn:hover {
  background-color: var(--wa-dark);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38);
  transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
}

.mobile-menu summary {
  list-style: none;
  cursor: pointer;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--lineD);
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-panel {
  position: absolute;
  top: 74px;
  left: 0;
  right: 0;
  background: var(--ink);
  border-bottom: 1px solid var(--lineD);
  padding: 20px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.mobile-panel a {
  color: #D3E6E1;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
}

/* Encabezado compacto en teléfono: nombre en dos líneas, sin subtítulo y WhatsApp solo con ícono */
@media (max-width: 600px) {
  .brand {
    gap: 10px;
  }
  .brand-title {
    font-size: 15px;
    line-height: 1.15;
    white-space: nowrap;
  }
  .brand-l2 {
    display: block;
  }
  .brand-sub {
    display: none;
  }
  .nav-cta-btn {
    width: 42px;
    padding: 0;
  }
  .nav-cta-btn span {
    display: none;
  }
  .nav-cta-btn .wa-svg {
    width: 22px;
    height: 22px;
  }
}

/* ==========================================================================
   HERO SECTION (Slide 06)
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--ink);
  color: #EAF4F1;
  padding: 60px 0 68px;
  overflow: hidden;
  border-bottom: 1px solid var(--lineD);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy {
  padding-right: 12px;
}

.hero-heading {
  font-size: 48px;
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: #FFFFFF;
  margin-top: 18px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 15.5px;
  line-height: 1.58;
  color: #9DBDB6;
  margin-bottom: 30px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 600px;
}

.hero-actions .btn {
  flex: 1 1 0;
  height: 46px;
  padding: 0 16px;
  white-space: nowrap;
  justify-content: center;
  text-align: center;
  font-size: 13.5px;
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    flex: none;
    height: 50px;
    font-size: 15px;
  }
}

/* Diagnostic Photoworkstation & Telemetry */
.photo-m {
  position: relative;
  height: 440px;
  border-radius: 20px 20px 20px 6px;
  overflow: hidden;
  border: 1px solid var(--lineD-strong);
  background: #0A1C20;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.65);
}

.photo-m img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  display: block;
}

.photo-m::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 24, 28, 0.15) 30%, rgba(6, 24, 28, 0.85) 100%);
  pointer-events: none;
}

/* Escaneo Láser (60fps.design) */
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--mint) 50%, transparent 95%);
  box-shadow: 0 0 18px 4px rgba(95, 227, 192, 0.65);
  z-index: 4;
  animation: laserScan 5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes laserScan {
  0% { top: 4%; opacity: 0; }
  15% { opacity: 1; }
  50% { top: 92%; opacity: 1; }
  65% { opacity: 0; }
  100% { top: 4%; opacity: 0; }
}

/* Telemetría Overlay */
.tele {
  position: absolute;
  z-index: 5;
  background: rgba(6, 24, 28, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(95, 227, 192, 0.35);
  border-radius: 10px;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: #CFE7E1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform var(--trans-fast);
}

.tele:hover {
  transform: translateY(-2px);
  border-color: var(--mint);
}

.tele b {
  display: block;
  font-size: 16px;
  color: #FFFFFF;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 2px;
}

.tele .ok {
  color: var(--mint);
  margin-right: 4px;
}

.tele-1 { left: 20px; top: 22px; }
.tele-2 { right: 20px; top: 110px; }
.tele-3 { right: 20px; top: 215px; }

.status-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  background: rgba(6, 24, 28, 0.85);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--lineD-strong);
}

/* Ticker de Marcas Animado */
.hero-ticker-wrap {
  width: 100%;
  margin-top: 50px;
  border-top: 1px solid var(--lineD);
  padding-top: 22px;
  overflow: hidden;
  position: relative;
}

.hero-ticker {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #7FA49C;
  white-space: nowrap;
  animation: tickerLoop 32s linear infinite;
}

.hero-ticker:hover {
  animation-play-state: paused;
}

.hero-ticker span::before {
  content: "◆";
  color: var(--teal);
  margin-right: 12px;
}

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

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-heading {
    font-size: 38px;
  }
  .photo-m {
    height: 380px;
  }
}

@media (max-width: 540px) {
  .hero-heading {
    font-size: 32px;
  }
  .photo-m {
    height: 320px;
  }
  .tele-3 {
    display: none;
  }
}

/* ==========================================================================
   SECCIÓN 02: DIFERENCIAL & MÉTRICAS (Slide 07)
   "El 65% se ve, no se lee"
   ========================================================================== */
.cost-section {
  padding: 80px 0;
  background-color: var(--paper);
}

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

.section-header h2 {
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-top: 8px;
}

.section-header p.header-lead {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 400px;
  line-height: 1.5;
}

.cost-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
}

/* Card Principal Oscura con Barras */
.cost-card-main {
  background: var(--ink);
  color: #EAF4F1;
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink);
  box-shadow: 0 20px 45px -15px rgba(6, 24, 28, 0.4);
}

.cost-label-header {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mint);
  margin-bottom: 28px;
}

.cost-bar-row {
  margin-bottom: 24px;
}

.cost-bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: #B7D3CC;
  margin-bottom: 8px;
}

.cost-bar-meta b {
  font-family: var(--mono);
  color: #FFFFFF;
}

.cost-track {
  height: 48px;
  border-radius: 12px;
  background: #173339;
  position: relative;
  overflow: hidden;
}

.cost-fill-full {
  width: 100%;
  height: 100%;
  background: #254B52;
  border-radius: 12px;
}

.cost-fill-saving {
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  border-radius: 12px;
  box-shadow: 0 0 16px rgba(95, 227, 192, 0.35);
  transition: width 1.2s var(--ease-expo);
}

.cost-stats-footer {
  display: flex;
  gap: 26px;
  align-items: flex-end;
  margin-top: 36px;
}

.cost-big-num {
  font-size: 68px;
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--mint);
}

.cost-stats-footer p {
  font-size: 13.5px;
  color: var(--mutedD);
  line-height: 1.5;
  max-width: 340px;
}

/* En teléfono el texto va debajo del -65% en vez de al costado */
@media (max-width: 600px) {
  .cost-bar-meta {
    gap: 14px;
  }
  .cost-bar-meta b {
    white-space: nowrap;
  }
  .cost-track {
    height: 36px;
  }
  .cost-stats-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 28px;
  }
  .cost-big-num {
    font-size: 60px;
  }
  .cost-stats-footer p {
    max-width: none;
    font-size: 14.5px;
  }
}

.cost-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  transition: transform var(--trans-spring), box-shadow var(--trans-spring);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -10px rgba(6, 24, 28, 0.12);
}

.metric-num {
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin: 14px 0 6px;
}

.metric-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.metric-card.full-width {
  grid-column: 1 / -1;
  background: var(--paper2);
}

.metric-card.full-width h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 8px 0 12px;
  line-height: 1.35;
}

.tele-chips-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

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

/* ==========================================================================
   SECCIÓN 03: SERVICIOS (Bento Grid, Slide 08)
   ========================================================================== */
.services-section {
  padding: 80px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 36px;
}

.bx {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--trans-spring), border-color var(--trans-fast), box-shadow var(--trans-spring);
}

.bx:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 16px 36px -12px rgba(14, 124, 116, 0.15);
}

.bx.dark {
  background: var(--ink);
  color: #EAF4F1;
  border-color: var(--ink);
  grid-column: span 2;
  grid-row: span 2;
  padding: 34px;
}

.bx.dark:hover {
  border-color: var(--mint);
  box-shadow: 0 20px 45px -12px rgba(6, 24, 28, 0.45);
}

.bx-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-weight: 500;
}

.bx.dark .bx-num {
  color: var(--mint);
}

.bx h3 {
  font-size: 21px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 12px 0 8px;
}

.bx.dark h3 {
  font-size: 32px;
  line-height: 1.1;
  margin: 16px 0 12px;
  max-width: 440px;
}

.bx p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

.bx.dark p {
  color: #B7D3CC;
  font-size: 14.5px;
  max-width: 430px;
}

.bx-arrow {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--ink);
  transition: transform var(--trans-spring), border-color var(--trans-fast), background-color var(--trans-fast);
}

.bx:hover .bx-arrow {
  transform: translate(2px, -2px) rotate(45deg);
  border-color: var(--teal);
  background: var(--teal);
  color: #FFFFFF;
}

.bx.dark .bx-arrow {
  border-color: var(--lineD);
  color: var(--mint);
}

.bx.dark:hover .bx-arrow {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--ink);
}

.wave-svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  width: 100%;
  pointer-events: none;
  opacity: 0.75;
}

.bx-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.bx.span-2 {
  grid-column: span 2;
}

@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bx.dark {
    grid-column: span 2;
    grid-row: auto;
  }
  .bx.span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bx.dark, .bx.span-2 {
    grid-column: span 1;
  }
}

/* La línea de pulso va debajo de las etiquetas, sin pisarlas, y de borde a borde */
.bx.dark .wave-svg {
  position: relative;
  bottom: auto;
  display: block;
  width: calc(100% + 68px);
  height: 70px;
  margin: 16px -34px -14px;
}

/* ==========================================================================
   SECCIÓN 04: EXPLORADOR DE TECNOLOGÍAS (Slide 09)
   ========================================================================== */
.equip-section {
  padding: 80px 0;
  background-color: var(--paper);
}

.exp-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px -15px rgba(6, 24, 28, 0.08);
  margin-top: 36px;
}

.exp-tabs {
  background: var(--paper);
  border-right: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tab-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  transition: all var(--trans-fast);
  width: 100%;
}

.tab-btn small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.tab-btn:hover {
  background: var(--paper2);
  color: var(--ink);
}

.tab-btn.active {
  background: var(--ink);
  color: #FFFFFF;
  font-weight: 600;
}

.tab-btn.active small {
  color: var(--mint);
  opacity: 1;
}

.exp-panel {
  padding: 36px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: start;
}

.panel-title {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 8px 0 4px;
}

.panel-mfr {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 22px;
}

.panel-tag-fail {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.panel-chips-fail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.panel-chips-fail span {
  font-size: 12px;
  padding: 6px 11px;
  border-radius: 8px;
  background: var(--amber-bg);
  color: var(--amber-dark);
  border: 1px solid #FFE0B0;
}

.panel-tag-comp {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.panel-chips-comp {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.panel-chips-comp span {
  font-size: 12px;
  padding: 6px 11px;
  border-radius: 8px;
  background: #E7F6F2;
  color: #0B5E57;
  border: 1px solid #C6EBE2;
}

.spec-list {
  display: flex;
  flex-direction: column;
}

.spec-row {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
}

.spec-row b {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
}

.exp-img-wrap {
  border-radius: 18px;
  overflow: hidden;
  height: 240px;
  background: var(--ink);
  position: relative;
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.exp-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .exp-wrapper {
    grid-template-columns: 1fr;
  }
  .exp-tabs {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .tab-btn {
    white-space: nowrap;
    padding: 10px 14px;
  }
  .tab-btn small {
    display: none;
  }
  .exp-panel {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SECCIÓN 05: PROCESO + INFORME TÉCNICO (Slide 10)
   ========================================================================== */
.process-section {
  padding: 80px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 36px;
}

.steps-rail-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--teal);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--paper);
}

.step-item.active .step-circle {
  background: var(--teal);
  color: #FFFFFF;
  box-shadow: 0 0 0 6px rgba(95, 227, 192, 0.35);
}

.step-text h4 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.step-text p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* Facsímil de Informe Técnico N° 007-102026 */
.report-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 20px 50px -20px rgba(6, 24, 28, 0.2);
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 12px;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 11px;
}

.report-header b {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--teal);
  font-weight: 700;
}

.report-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--paper);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 11.5px;
}

.report-meta-grid small {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 2px;
}

.report-meta-grid strong {
  font-weight: 600;
  color: var(--ink);
}

.meas-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meas-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--mono);
  font-size: 11px;
}

.meas-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.meas-bar {
  height: 5px;
  border-radius: 5px;
  background: var(--paper2);
  position: relative;
  overflow: hidden;
}

.meas-bar-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  border-radius: 5px;
  transition: width 1s var(--ease-expo);
}

.badge-ok {
  color: #0B8A5E;
  font-weight: 700;
  font-family: var(--mono);
}

@media (max-width: 900px) {
  .process-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SECCIÓN 06: CASO REAL & POR QUÉ ELEGIRNOS (Slide 12)
   ========================================================================== */
.about-section {
  padding: 80px 0;
  background: var(--paper);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.about-photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(6, 24, 28, 0.18);
  border: 1px solid var(--line);
}

.about-photo-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.about-tag-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(6, 24, 28, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--lineD-strong);
}

.about-sig-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
}

.about-sig-badge .badge-plus {
  font-size: 26px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}

.about-sig-badge strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
}

.about-sig-badge span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

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

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #E7F6F2;
  color: var(--teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
  font-family: var(--mono);
}

.pillar-text h4 {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pillar-text p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-photo-card img {
    height: 380px;
  }
}

/* ==========================================================================
   SECCIÓN 07: COTIZADOR INTERACTIVO (Slide 11)
   ========================================================================== */
.quote-section {
  padding: 80px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-app-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

.qcard {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 16px 36px -12px rgba(6, 24, 28, 0.07);
}

.qcard-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.prog-track {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}

.prog-bar {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--paper2);
  transition: background-color var(--trans-fast);
}

.prog-bar.active {
  background: var(--teal);
}

.seg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.seg-tile {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--trans-fast);
  text-align: left;
}

.seg-tile small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 400;
}

.seg-tile:hover {
  border-color: var(--teal);
  background: #F7FCFA;
}

.seg-tile.selected {
  border-color: var(--teal);
  background: #EEF9F6;
  box-shadow: inset 0 0 0 1px var(--teal);
}

/* Sidebar Resumen Cotización */
.quote-summary-card {
  background: var(--ink);
  color: #EAF4F1;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 45px -15px rgba(6, 24, 28, 0.4);
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0 30px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--lineD);
  color: #B7D3CC;
}

.sum-row strong {
  color: #FFFFFF;
  font-weight: 600;
}

@media (max-width: 900px) {
  .quote-app-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SECCIÓN 08: PREGUNTAS FRECUENTES (FAQ)
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  background: var(--paper);
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  transition: all var(--trans-fast);
}

.faq-list details[open] {
  border-color: var(--teal);
  box-shadow: 0 10px 24px -10px rgba(14, 124, 116, 0.12);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  color: var(--teal);
  transition: transform var(--trans-fast);
  margin-left: 12px;
}

.faq-list details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-list p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

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

/* ==========================================================================
   SECCIÓN 09: BANNER DE CONTACTO FINAL
   ========================================================================== */
.contact-cta-section {
  padding: 80px 0;
  background: var(--ink);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.contact-card-box {
  background: var(--ink2);
  border: 1px solid var(--lineD-strong);
  border-radius: 22px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 2;
}

.contact-card-box h2 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 10px 0 8px;
}

.contact-card-box p {
  color: #B7D3CC;
  font-size: 15px;
  max-width: 520px;
}

@media (max-width: 800px) {
  .contact-card-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #041215;
  color: #8EABA4;
  font-size: 13px;
  padding: 44px 0 54px;
  border-top: 1px solid var(--lineD);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

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

.footer-left b {
  color: #FFFFFF;
  letter-spacing: 0.04em;
  font-size: 13.5px;
}

.footer-left span {
  font-size: 12px;
  color: #7A9B94;
}

.footer-contact-line {
  font-size: 10.5px;
  color: #5C7D77;
  font-family: var(--mono);
  margin-top: 4px;
}

.footer-center {
  font-family: var(--mono);
  font-size: 11px;
  color: #5C7D77;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #8EABA4;
  transition: color var(--trans-fast);
}

.footer-links a:hover {
  color: var(--mint);
}

@media (max-width: 900px) {
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP OFICIAL
   ========================================================================== */
.wa-float-wrap {
  position: fixed;
  right: max(24px, env(safe-area-inset-right, 24px));
  bottom: max(24px, env(safe-area-inset-bottom, 24px));
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-float-tooltip {
  background: #FFFFFF;
  color: var(--ink);
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floatTooltip 4s infinite ease-in-out;
}

.wa-float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--trans-spring), box-shadow var(--trans-spring);
}

.wa-float-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

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

@media (max-width: 600px) {
  .wa-float-tooltip {
    display: none;
  }
}

/* ==========================================================================
   REGLAS DE RENDIMIENTO & ACCESIBILIDAD 60FPS
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .scan-line, .hero-ticker {
    animation: none !important;
  }
}
