/* ==========================================================================
   AINSPECCIONA · IN & OUT PRODUCT PAGE STYLES
   Paleta: Dark tech (#07090d), Verde Neón / Emerald (#22c55e, #10b981), Cyan (#06b6d4)
   ========================================================================== */

.inout-page.platform-page {
  --home-bg: #07090d;
  --io-green: #22c55e;
  --io-green-hover: #16a34a;
  --io-emerald: #10b981;
  --io-mint: #4ade80;
  --io-cyan: #06b6d4;
  --io-glow: rgba(34, 197, 94, 0.22);
  --io-glow-subtle: rgba(34, 197, 94, 0.08);
  --io-border: rgba(34, 197, 94, 0.24);
  --io-border-subtle: rgba(255, 255, 255, 0.1);
  --io-card-bg: rgba(13, 18, 25, 0.85);
  --io-card-border: rgba(255, 255, 255, 0.08);
  --io-text: #f3f4f6;
  --io-muted: #9ca3af;
}

.inout-page .platform-canvas::before {
  background-color: #07090d;
  background-image: none;
}

/* Brand tag en Navbar */
.inout-page .site-header-v2 .brand {
  gap: 0;
}

.inout-page .site-header-v2 .brand::after {
  content: "IN & OUT";
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.inout-page .site-header-v2 .navDemoCta {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.85);
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.inout-page .site-header-v2 .navDemoCta:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: #4ade80;
  color: #4ade80;
}

/* ==========================================================================
   1. HERO SECTION DE ALTO IMPACTO
   ========================================================================== */
.io-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 0 56px;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 75% 35%, rgba(34, 197, 94, 0.12), transparent 42%),
    radial-gradient(circle at 20% 70%, rgba(6, 182, 212, 0.08), transparent 45%),
    linear-gradient(180deg, #07090d 0%, #0a0f16 55%, #080c12 100%);
  overflow: hidden;
}

.io-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.io-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 380px at 70% 40%, rgba(34, 197, 94, 0.15), transparent 70%),
    radial-gradient(circle 280px at 85% 65%, rgba(16, 185, 129, 0.1), transparent 70%);
}

.io-hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 60% 40%, #000 30%, transparent 75%);
}

.io-hero__wrap {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 40px 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.io-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #4ade80;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.io-hero__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: ioPulse 2s infinite;
}

@keyframes ioPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.io-hero__title {
  margin: 0;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #f9fafb;
}

.io-hero__grad {
  display: block;
  background: linear-gradient(90deg, #22c55e 0%, #4ade80 45%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.io-hero__sub {
  margin: 20px 0 0;
  max-width: 580px;
  color: #c4cbd4;
  font-size: 16px;
  line-height: 1.6;
}

.io-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.io-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 500;
  color: #e5e7eb;
}

.io-hero__pill svg {
  color: #4ade80;
  flex-shrink: 0;
}

.io-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.io-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.io-hero__cta--primary {
  color: #05140a;
  background: linear-gradient(90deg, #22c55e 0%, #4ade80 100%);
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.35);
}

.io-hero__cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(34, 197, 94, 0.45);
  background: linear-gradient(90deg, #34d399 0%, #22c55e 100%);
}

.io-hero__cta--ghost {
  color: #f3f4f6;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(13, 18, 25, 0.5);
  backdrop-filter: blur(8px);
}

.io-hero__cta--ghost:hover {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  color: #4ade80;
}

/* Barra de métricas de confianza en Hero */
.io-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 480px;
}

.io-stat__num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 24px;
  font-weight: 700;
  color: #4ade80;
  line-height: 1.1;
}

.io-stat__label {
  margin-top: 4px;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.35;
}

/* ==========================================================================
   2. MOCKUP DE LA CÁMARA CON GHOSTING EN VIVO (HERO VISUAL)
   ========================================================================== */
.io-phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.io-phone-stage::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.2) 0%, transparent 68%);
  filter: blur(35px);
  z-index: 0;
  pointer-events: none;
}

.io-phone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  border-radius: 42px;
  background: #0f141c;
  padding: 10px;
  box-shadow:
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 45px rgba(34, 197, 94, 0.18);
  box-sizing: border-box;
}

.io-phone__frame {
  position: relative;
  border-radius: 32px;
  background: #000;
  overflow: hidden;
  border: 2px solid #1f2937;
  display: flex;
  flex-direction: column;
}

/* Isla Dinámica */
.io-phone__island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 95px;
  height: 20px;
  background: #000;
  border-radius: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-sizing: border-box;
  box-shadow: 0 0 4px rgba(0,0,0,0.6);
}

.io-phone__camera-lens {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #111827;
  border: 1px solid #1f2937;
}

.io-phone__sensor {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #064e3b;
  opacity: 0.6;
}

/* Barra superior de la App */
.io-phone__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 14px 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
}

.io-phone__room-meta {
  display: flex;
  flex-direction: column;
}

.io-phone__room-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.io-phone__room-step {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  color: #4ade80;
  text-transform: uppercase;
}

.io-phone__badge-mode {
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  font-size: 9px;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 0.05em;
}

/* Viewfinder (Visor de Cámara) */
.io-phone__viewfinder {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 15.5;
  background: #090d12;
  overflow: hidden;
}

.io-phone__feed-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Capa de Ghosting (Transparente con leve desfase de alineación 92% para evidenciar el calce) */
.io-phone__ghost {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform: translate(16px, -12px) scale(1.035) rotate(-0.6deg);
  transform-origin: center center;
  filter: contrast(1.18) brightness(1.02) saturate(1.2);
  transition: opacity 0.15s ease-out;
  pointer-events: none;
}

/* Retícula de Guía Milimétrica */
.io-phone__reticle {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.io-phone__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid #4ade80;
  opacity: 0.85;
}

.io-phone__corner--tl { top: 64px; left: 20px; border-right: none; border-bottom: none; }
.io-phone__corner--tr { top: 64px; right: 20px; border-left: none; border-bottom: none; }
.io-phone__corner--bl { bottom: 120px; left: 20px; border-right: none; border-top: none; }
.io-phone__corner--br { bottom: 120px; right: 20px; border-left: none; border-top: none; }

.io-phone__crosshair {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
}

.io-phone__crosshair::before,
.io-phone__crosshair::after {
  content: "";
  position: absolute;
  background: rgba(74, 222, 128, 0.7);
}

.io-phone__crosshair::before {
  top: 13px; left: 0; width: 28px; height: 1.5px;
}

.io-phone__crosshair::after {
  top: 0; left: 13px; width: 1.5px; height: 28px;
}

/* Pill de alineación con IA en tiempo real */
.io-phone__alignment-pill {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(9, 20, 14, 0.9);
  border: 1px solid rgba(34, 197, 94, 0.6);
  backdrop-filter: blur(6px);
  z-index: 6;
  white-space: nowrap;
}

.io-phone__align-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: ioPulse 1.2s infinite;
}

.io-phone__align-text {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  color: #4ade80;
  letter-spacing: 0.04em;
}

/* Indicador de hallazgo detectado en cámara */
.io-phone__detection-box {
  position: absolute;
  top: 42%;
  right: 14%;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(185, 28, 28, 0.88);
  border: 1px solid #ef4444;
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  animation: ioNotice 3s infinite;
}

@keyframes ioNotice {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* Control interactivo de opacidad Ghost en la maqueta */
.io-phone__ghost-controls {
  position: absolute;
  bottom: 86px;
  left: 12px;
  right: 12px;
  background: rgba(10, 14, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 10px;
  backdrop-filter: blur(8px);
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.io-phone__ghost-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #d1d5db;
}

.io-phone__ghost-val {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: #4ade80;
  font-weight: 700;
}

.io-phone__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: #1f2937;
  outline: none;
}

.io-phone__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}

.io-phone__presets {
  display: flex;
  gap: 5px;
}

.io-phone__preset-btn {
  flex: 1;
  padding: 4px 0;
  font-size: 9px;
  font-weight: 600;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.io-phone__preset-btn:hover,
.io-phone__preset-btn.is-active {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.4);
}

/* Barra inferior de disparo */
.io-phone__shutterbar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.95);
  z-index: 5;
}

.io-phone__thumb {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.io-phone__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.io-phone__thumb-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  font-size: 8px;
  text-align: center;
  color: #fff;
  font-weight: 700;
}

.io-phone__shutter-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #000;
  box-shadow: 0 0 0 2px #22c55e, 0 0 16px rgba(34, 197, 94, 0.6);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.15s ease;
}

.io-phone__shutter-btn:hover {
  transform: scale(1.05);
}

.io-phone__shutter-inner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #22c55e;
}

.io-phone__tool-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* ==========================================================================
   3. SECCIÓN COMPARADOR VISUAL INTERACTIVO (ANTES vs DESPUÉS)
   ========================================================================== */
.io-compare-section {
  position: relative;
  padding: 80px 0 100px;
  background:
    linear-gradient(180deg, #080c12 0%, #0d1219 50%, #090d14 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.io-compare-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #22c55e, transparent);
  box-shadow: 0 0 20px #22c55e;
}

.io-compare-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.io-compare-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

.io-compare-header .io-hero__eyebrow {
  margin-bottom: 12px;
}

.io-compare-title {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  color: #f9fafb;
}

.io-compare-lead {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: #9ca3af;
}

/* Tabs de selección de recinto */
.io-compare-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.io-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(18, 24, 34, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c4cbd4;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.io-tab-btn:hover {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
  color: #fff;
}

.io-tab-btn.is-active {
  background: rgba(34, 197, 94, 0.18);
  border-color: #22c55e;
  color: #4ade80;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.io-tab-tag {
  font-size: 11px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.io-tab-btn.is-active .io-tab-tag {
  background: rgba(34, 197, 94, 0.3);
  color: #fff;
}

/* Layout del Comparador + Panel de Dictamen */
.io-comparator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: start;
}

/* Contenedor del Split Slider */
.io-split-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}

/* Imagen base OUT (Fondo completo) */
.io-split-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.io-split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Imagen superior IN (Cortada dinámicamente con clip-path) */
.io-split-layer--in {
  z-index: 2;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  transition: none;
}

/* Etiquetas flotantes IN y OUT */
.io-slider-tag {
  position: absolute;
  top: 16px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.io-slider-tag--in {
  left: 16px;
  background: rgba(16, 185, 129, 0.9);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.io-slider-tag--out {
  right: 16px;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Línea y Manilla divisoria */
.io-split-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.8);
  z-index: 10;
  transform: translateX(-50%);
  pointer-events: none;
}

.io-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0f172a;
  border: 2px solid #22c55e;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.6), 0 4px 12px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  gap: 3px;
  pointer-events: auto;
  cursor: grab;
}

.io-handle-knob:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.1);
  background: #111e13;
}

/* Hotspots / Pines de hallazgo pericial */
.io-hotspot {
  position: absolute;
  transform: translate(-50%, -100%);
  z-index: 8;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.65));
}

.io-hotspot:hover {
  transform: translate(-50%, -100%) scale(1.12);
}

.io-hotspot__pulse {
  position: absolute;
  width: 26px;
  height: 26px;
  left: 50%;
  top: 13px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  animation: ioPulsePing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.io-hotspot--defect .io-hotspot__pulse {
  background: rgba(239, 68, 68, 0.45);
}

.io-hotspot--wear .io-hotspot__pulse {
  background: rgba(59, 130, 246, 0.45);
}

@keyframes ioPulsePing {
  75%, 100% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
}

.io-hotspot__pin {
  display: block;
  line-height: 0;
}

.io-hotspot__pin svg {
  display: block;
}

.io-hotspot--defect .io-pin-body {
  fill: #ef4444;
}

.io-hotspot--wear .io-pin-body {
  fill: #3b82f6;
}

/* Card Tooltip del Hotspot */
.io-hotspot__card {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 12;
}

.io-hotspot:hover .io-hotspot__card,
.io-hotspot.is-open .io-hotspot__card {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px);
}

.io-hotspot__type {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.io-hotspot--defect .io-hotspot__type { color: #f87171; }
.io-hotspot--wear .io-hotspot__type { color: #60a5fa; }

.io-hotspot__title {
  font-size: 12px;
  font-weight: 600;
  color: #f3f4f6;
  line-height: 1.3;
}

.io-hotspot__desc {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 5px;
  line-height: 1.4;
}

.io-hotspot__status {
  margin-top: 7px;
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10px;
  font-weight: 600;
  color: #4ade80;
}

/* ==========================================================================
   4. PANEL DE DICTAMEN PERICIAL (AUDITORÍA ACOMPAÑANTE)
   ========================================================================== */
.io-audit-panel {
  background: rgba(15, 22, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.io-audit-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.io-audit-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.io-audit-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.io-audit-status-text {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  color: #4ade80;
  text-transform: uppercase;
}

.io-audit-id {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  color: #9ca3af;
}

.io-audit-summary-box {
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.io-audit-summary-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

.io-audit-findings-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.io-finding-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.4;
}

.io-finding-tag {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  text-transform: uppercase;
}

.io-finding-tag--defect {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.io-finding-tag--wear {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.io-finding-tag--ok {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.io-finding-detail {
  color: #e5e7eb;
}

.io-finding-sub {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
}

/* Sugerencia de Garantía */
.io-audit-resolution {
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.io-audit-res-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}

.io-audit-res-amount {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.io-audit-res-desc {
  font-size: 11px;
  color: #cbd5e1;
  line-height: 1.4;
  margin-top: 4px;
}

.io-audit-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.io-audit-btn {
  flex: 1;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.io-audit-btn--primary {
  background: #22c55e;
  color: #05140a;
}

.io-audit-btn--primary:hover {
  background: #16a34a;
}

.io-audit-btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
}

.io-audit-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ==========================================================================
   5. CÓMO FUNCIONA EL CICLO (3 PASOS CON FORMATO MODERNO)
   ========================================================================== */
.io-workflow-section {
  padding: 90px 0;
  background: #07090d;
}

.io-workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.io-step-card {
  position: relative;
  border-radius: 18px;
  background: rgba(15, 20, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.io-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.35);
}

.io-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.io-step-title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  color: #f9fafb;
}

.io-step-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #9ca3af;
  flex-grow: 1;
}

.io-step-feature {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 600;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   6. BENEFICIOS Y MATRIZ DE DIFERENCIACIÓN (DESGASTE vs DAÑO)
   ========================================================================== */
.io-matrix-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #07090d 0%, #0c1017 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.io-matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 48px;
}

.io-matrix-card {
  padding: 30px;
  border-radius: 18px;
  background: rgba(15, 22, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.io-matrix-card--fair {
  border-top: 3px solid #3b82f6;
}

.io-matrix-card--damage {
  border-top: 3px solid #ef4444;
}

.io-matrix-card__title {
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.io-matrix-card__subtitle {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 20px;
}

.io-matrix-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.io-matrix-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: #d1d5db;
  line-height: 1.45;
}

.io-matrix-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   7. RESPONSIVE DESIGN (MÓVILES Y TABLETS)
   ========================================================================== */
@media (max-width: 900px) {
  .io-hero__wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .io-hero__content {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
  }

  .io-hero__eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .io-hero__sub {
    margin-left: auto;
    margin-right: auto;
  }

  .io-hero__pills,
  .io-hero__ctas {
    justify-content: center;
  }

  .io-hero__stats {
    margin-left: auto;
    margin-right: auto;
  }

  .io-comparator-grid {
    grid-template-columns: 1fr;
  }

  .io-workflow-grid {
    grid-template-columns: 1fr;
  }

  .io-matrix-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .io-hero {
    padding: 24px 0 48px;
  }

  .io-hero__wrap {
    width: calc(100% - 32px);
  }

  .io-phone {
    max-width: 320px;
    border-radius: 36px;
    padding: 8px;
  }

  .io-phone__frame {
    border-radius: 28px;
  }

  .io-hero__stats {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }

  .io-compare-tabs {
    flex-direction: column;
  }

  .io-tab-btn {
    width: 100%;
    justify-content: center;
  }

  .io-slider-tag {
    font-size: 10px;
    padding: 4px 8px;
  }
}

/* ==========================================================================
   PRECIOS Y PLANES (IDÉNTICO A INSPECCIÓN SCORE)
   ========================================================================== */
.io-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.io-price-card {
  border: 1px solid #1E2A52;
  border-radius: 16px;
  padding: 24px;
  background: #0A1022;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.io-price-card:hover {
  transform: translateY(-2px);
  border-color: #2b3b70;
}

.io-price-card--featured {
  border-color: rgba(124, 58, 237, 0.6);
  box-shadow: 0 0 32px rgba(124, 58, 237, 0.18);
}

.io-price-card--featured:hover {
  border-color: rgba(124, 58, 237, 0.85);
}

.io-price-card__plan {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.io-price-card__price {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.io-price-card__muted {
  color: #9AA7CF;
  font-size: 13px;
  margin: 6px 0 24px;
  line-height: 1.4;
}

.io-price-card__btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  background: transparent;
  color: #ECF2FF;
  border: 1px solid #2B375F;
  transition: all 0.2s ease;
}

.io-price-card__btn:hover {
  border-color: #43558c;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.io-price-card__btn--featured {
  background: linear-gradient(135deg, #7C3AED 0%, #22D3EE 100%);
  color: #0A1022;
  border: none;
}

.io-price-card__btn--featured:hover {
  opacity: 0.95;
  filter: brightness(1.06);
  color: #0A1022;
  background: linear-gradient(135deg, #7C3AED 0%, #22D3EE 100%);
}

@media (max-width: 860px) {
  .io-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .io-price-grid {
    grid-template-columns: 1fr;
  }
}

