/* ══════════════════════════════════════════════════════════════════════════
   AUTONODALIA · SISTEMA VISUAL CORPORATIVO Y CRISTAL ÓPTICO
   Tipografía: Boska 400/300 Cursiva + Satoshi 400/500/700
   Paleta Ejecutiva: Negro Obsidiana y Azul Celeste Láser (Atmósfera Celeste)
   Optimizada para máxima legibilidad, contraste ultra-nítido y confort visual
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg-canvas: #020712;
  --bg-titanium: #040e22;
  --bg-ice: #081a38;
  --bg-arctic-tint: #06142c;

  /* Colores de texto de alto contraste */
  --text-dark: #ffffff;
  --text-muted: #f3f4f6; /* Blanco platino ultra-legible para texto corrido */
  --text-dim: #cbd5e1;   /* Plata claro brillante (83% luminancia, WCAG AAA) */
  --text-dimmer: #94a3b8; /* Gris plata suave para metadatos secundarios */

  /* Paneles de cristal obsidiana y azul celeste */
  --glass-card: rgba(4, 13, 26, 0.94);
  --glass-card-hover: rgba(8, 22, 42, 0.98);
  --glass-border: rgba(56, 189, 248, 0.28);
  --glass-border-light: rgba(255, 255, 255, 0.32);
  --glass-shadow: 0 24px 50px -15px rgba(0, 0, 0, 0.95);
  --glass-inner-glow: inset 0 1px 0 rgba(125, 211, 252, 0.25);

  --accent-obsidian: #0ea5e9;
  --accent-obsidian-hover: #0284c7;
  --accent-cobalt: #0ea5e9;
  --accent-azure: #38bdf8;
  --accent-cyan: #7dd3fc;
  --accent-celeste: #38bdf8;
  --accent-celeste-hover: #0284c7;
  --accent-celeste-glow: rgba(56, 189, 248, 0.55);
  --accent-red: #38bdf8;
  --accent-red-hover: #0284c7;
  --accent-red-glow: rgba(56, 189, 248, 0.55);
  --accent-green: #10b981;
  --accent-rose: #38bdf8;

  --font-serif: 'Boska', Georgia, serif;
  --font-sans: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Safe Area Insets para iOS notch, Dynamic Island y barra de inicio */
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
}

/* 1. RESET UNIVERSAL */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background: radial-gradient(circle at 58% 36%, rgba(14, 165, 233, 0.35) 0%, rgba(2, 132, 199, 0.18) 35%, rgba(4, 15, 28, 0.9) 70%, #020712 100%), #020712;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 2. CAPAS FIJAS (FONDO 3D + GRANO CONTINUO) */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 1;
  pointer-events: none;
}

.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
}

/* 3. BARRA DE NAVEGACIÓN FLOTANTE DE CRISTAL */
.glass-navbar {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: calc(100% - 32px);
  max-width: 1240px;
  z-index: 100;
  background: rgba(4, 13, 26, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 9999px;
  box-shadow: 0 14px 36px -10px rgba(0, 0, 0, 0.9), 0 0 24px -6px rgba(56, 189, 248, 0.25), var(--glass-inner-glow);
  padding: 12px 28px;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
}

.brand-symbol {
  font-size: 16px;
  color: #38bdf8;
}

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

.nav-link {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-nav-primary {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 10px 22px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 18px -2px rgba(14, 165, 233, 0.5);
  transition: all 0.25s ease;
}

.btn-nav-primary:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0369a1 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -3px rgba(56, 189, 248, 0.7);
}

.nav-link-cta {
  display: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 12px;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  transition: all 0.25s ease;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus-visible {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  outline: none;
}

.mobile-menu-btn .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

.mobile-menu-btn.is-active {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.mobile-menu-btn.is-active .bar:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.mobile-menu-btn.is-active .bar:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* 4. CONTENIDO PRINCIPAL Y SECCIONES */
.story-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.viewport-section {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

/* ── HERO («AUTONODALIA») ─────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 56px);
  padding-top: 116px;
  overflow: hidden;
}

.hero-top-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(24px, 4vw, 60px);
}

.hero-title-box {
  flex: 0 1 auto;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(56px, 8.5vw, 136px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: #ffffff;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.95);
  margin: 0;
  user-select: none;
}

.title-italic {
  font-style: italic;
  font-weight: 300;
  display: inline-block;
}

@media (min-width: 768px) {
  .section-title {
    font-size: clamp(70px, 9vw, 120px);
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: clamp(86px, 8.5vw, 150px);
  }
}

.hero-aside-box {
  flex: 0 1 470px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 22px;
}

.section-copy {
  font-size: clamp(16.5px, 1.25vw, 18.5px);
  font-weight: 400;
  line-height: 1.65;
  color: #f1f5f9;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
  max-width: 450px;
  word-break: normal;
  overflow-wrap: break-word;
}

.btn-action {
  display: inline-block;
  text-decoration: none;
  appearance: none;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 16px 36px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px -6px rgba(14, 165, 233, 0.55);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-action:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -6px rgba(56, 189, 248, 0.7);
}

/* 5. PANELES DE CRISTAL ÓPTICO PROFESIONAL */
.glass-panel {
  background: var(--glass-card);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-top: 1px solid var(--glass-border-light);
  border-left: 1px solid var(--glass-border-light);
  border-radius: 26px;
  box-shadow: var(--glass-shadow), var(--glass-inner-glow);
  transition: all 0.35s ease;
}

.content-section {
  padding: clamp(75px, 8vh, 125px) clamp(20px, 4vw, 56px);
  max-width: 1320px;
  margin: 0 auto;
}

.editorial-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.editorial-col-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.editorial-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(4, 16, 32, 0.90);
  border: 1px solid rgba(56, 189, 248, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px 16px;
  border-radius: 9999px;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), 0 0 12px rgba(56, 189, 248, 0.25);
}

.editorial-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 10px #38bdf8;
  margin-right: 10px;
}

.editorial-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.4vw, 78px);
  line-height: 0.90;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.95);
}

.editorial-lead {
  font-size: clamp(17px, 1.3vw, 19.5px);
  line-height: 1.7;
  color: #f8fafc;
  max-width: 560px;
}

.section-center-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ── MÓDULO 01: SISTEMAS & CIRCUITOS SELECTOR ───────────────────────── */
.circuits-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.circuit-tab {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: rgba(4, 14, 28, 0.82);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 18px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
}

.circuit-tab:hover {
  background: rgba(6, 20, 40, 0.92);
  transform: translateX(4px);
  border-color: rgba(56, 189, 248, 0.45);
}

.circuit-tab.active {
  background: rgba(8, 28, 54, 0.98);
  border-color: #38bdf8;
  box-shadow: 0 10px 28px -6px rgba(56, 189, 248, 0.5);
}

.circuit-tab .c-num {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dim);
}

.circuit-tab.active .c-num {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.35);
  border: 1px solid rgba(56, 189, 248, 0.7);
  padding: 2px 8px;
  border-radius: 6px;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

.circuit-tab .c-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.circuit-tab .c-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
}

.circuit-tab .c-sub {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.45;
}

/* Panel de visualización de circuito */
.circuit-display-panel {
  padding: clamp(28px, 4vw, 40px);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.panel-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #ffffff;
  font-weight: 600;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 14px #38bdf8;
}

.panel-badge {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.6);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.panel-heading {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.panel-text {
  font-size: 16px;
  line-height: 1.65;
  color: #f1f5f9;
  margin-bottom: 24px;
}

.circuit-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.c-metric-card {
  background: rgba(6, 18, 36, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.c-metric-card .m-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-dim);
}

.c-metric-card .m-value {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
}

.c-metric-card .m-value.highlight {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
}

.code-glass-box {
  background: #020712;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 14px;
  overflow: hidden;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #041022;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.code-file {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
}

.code-copy-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: #f8fafc;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}

.code-copy-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.code-view {
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: #f8fafc;
  overflow-x: auto;
  white-space: pre;
}

/* ── MÓDULO 02: SIMULADOR DE ROI ─────────────────────────────────────── */
.simulator-glass-card {
  padding: clamp(28px, 4vw, 48px);
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.sim-controls-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.slider-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.slider-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.slider-output {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background: #04142a;
  border: 1px solid #38bdf8;
  padding: 4px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.35);
}

.glass-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  outline: none;
  cursor: pointer;
  touch-action: pan-y;
  padding: 6px 0;
}

.glass-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  background: #38bdf8;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.95), 0 2px 8px rgba(0, 0, 0, 0.7);
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.glass-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 24px #38bdf8, 0 0 8px #ffffff;
}

.glass-range::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.22);
  box-shadow: 0 0 30px #38bdf8, 0 0 12px #ffffff;
}

.glass-range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  background: #38bdf8;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.95);
  cursor: grab;
  transition: transform 0.15s ease;
}

.slider-hint {
  font-size: 13.5px;
  color: var(--text-dim);
}

.sim-results-col {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.results-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.kpi-card {
  background: rgba(4, 14, 28, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kpi-card.highlight-card {
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.28), rgba(6, 20, 40, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.6);
  box-shadow: 0 16px 40px -10px rgba(14, 165, 233, 0.45);
}

.kpi-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.kpi-tag::before {
  content: '◈';
  color: #38bdf8;
  font-size: 13px;
}

.kpi-number {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  color: #ffffff;
}

.kpi-sub {
  font-size: 14px;
  color: #f1f5f9;
  line-height: 1.45;
}

.chart-wrapper {
  background: rgba(4, 13, 26, 0.94);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 18px;
  padding: 18px 22px 14px 22px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.chart-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
}

.chart-legend {
  font-size: 13px;
  color: var(--text-dim);
}

.dynamic-curve-svg {
  width: 100%;
  height: 105px;
  display: block;
}

/* ── MÓDULO 03: TARIFAS & METODOLOGÍA ────────────────────────────────── */
.pricing-glass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 30px);
  margin-bottom: 32px;
}

.pricing-card {
  background: rgba(4, 13, 26, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 26px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(8, 28, 54, 0.95) 0%, rgba(4, 13, 26, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.55);
  box-shadow: 0 25px 60px -15px rgba(14, 165, 233, 0.35);
  transform: translateY(-4px);
}

.featured-ribbon {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: #0ea5e9;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 12px rgba(14, 165, 233, 0.5);
}

.p-tier-badge {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.p-price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.p-num {
  font-family: var(--font-serif);
  font-size: 52px;
  line-height: 1;
  color: #ffffff;
}

.p-num-custom {
  font-family: var(--font-serif);
  font-size: 40px;
  line-height: 1.1;
  color: #ffffff;
}

.p-currency {
  font-size: 24px;
  color: var(--text-dim);
}

.p-term {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 5px;
  margin-bottom: 18px;
  display: block;
}

.p-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #f1f5f9;
  margin-bottom: 24px;
}

.p-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #f1f5f9;
  margin-bottom: 28px;
}

.btn-tier {
  display: block;
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.25s ease;
}

.btn-tier:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn-tier.primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px -4px rgba(14, 165, 233, 0.55);
}

.btn-tier.primary:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0369a1 100%);
  box-shadow: 0 12px 28px -4px rgba(56, 189, 248, 0.7);
}

/* Calculadora de Addons Strip */
.addons-strip-panel {
  background: rgba(4, 13, 26, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 20px;
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
}

.addons-strip-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.addons-strip-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.addons-strip-budget {
  font-size: 15.5px;
  color: #f1f5f9;
}

.addons-strip-budget strong {
  font-family: var(--font-serif);
  font-size: 24px;
  color: #ffffff;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.8);
  margin-left: 6px;
}

.addons-checkboxes {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.addon-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #f1f5f9;
  cursor: pointer;
}

.addon-toggle input {
  accent-color: #38bdf8;
  cursor: pointer;
  width: 16px;
  height: 16px;
}

/* Timeline 4 Fases */
.timeline-panel {
  background: rgba(4, 13, 26, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 24px;
  padding: 34px 30px;
}

.timeline-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  background: rgba(6, 18, 36, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(56, 189, 248, 0.35);
  border: 1px solid rgba(56, 189, 248, 0.6);
  padding: 3px 12px;
  border-radius: 9999px;
  width: fit-content;
  text-transform: uppercase;
}

.step-name {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
}

.step-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
}

/* ── MÓDULO 04: FAQ ACORDEÓN ─────────────────────────────────────────── */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: rgba(4, 13, 26, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(56, 189, 248, 0.45);
}

.faq-question {
  padding: 22px 28px;
  font-size: 17.5px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

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

.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(56, 189, 248, 0.35);
  border: 1px solid rgba(56, 189, 248, 0.6);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.25s ease;
}

details[open] .faq-question::after {
  content: '−';
  background: rgba(56, 189, 248, 0.7);
}

.faq-answer {
  padding: 0 28px 24px 28px;
  font-size: 16px;
  line-height: 1.7;
  color: #f1f5f9;
}

/* ── MÓDULO 05: FORMULARIO DE AUDITORÍA 15 MIN ──────────────────────── */
.audit-layout {
  align-items: flex-start;
}

.audit-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: #f1f5f9;
}

.perk-icon {
  width: 26px;
  height: 26px;
  background: #0ea5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #ffffff;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.6);
}

.audit-form-card {
  background: rgba(4, 13, 26, 0.94);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: clamp(26px, 4vw, 40px);
}

.glass-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
}

.glass-input, .glass-select, .glass-textarea {
  width: 100%;
  padding: 14px 18px;
  background: #020712;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: #ffffff;
  outline: none;
  transition: all 0.2s ease;
}

.glass-input, .glass-select {
  min-height: 48px;
}

.glass-input:focus, .glass-select:focus, .glass-textarea:focus {
  background: #041024;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35);
}

.field-error {
  display: none;
  font-size: 13px;
  color: #ffffff;
  background: rgba(220, 38, 38, 0.9);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  width: fit-content;
  margin-top: 4px;
}

.form-group.has-error .field-error,
.form-consent.has-error .field-error {
  display: block;
}

.form-group.has-error .glass-input,
.form-group.has-error .glass-select {
  border-color: #ef4444;
}

.form-consent {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
  cursor: pointer;
}

.consent-label input {
  margin-top: 4px;
  accent-color: #38bdf8;
  width: 16px;
  height: 16px;
}

.link-legal {
  background: transparent;
  border: none;
  padding: 0;
  font-size: inherit;
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: #38bdf8;
  text-underline-offset: 3px;
  font-weight: 600;
  cursor: pointer;
}

.link-legal:hover {
  color: #7dd3fc;
}

.btn-submit-audit {
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 16px 36px;
  border-radius: 9999px;
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px -4px rgba(14, 165, 233, 0.55);
  transition: all 0.25s ease;
  margin-top: 8px;
}

.btn-submit-audit:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -6px rgba(56, 189, 248, 0.75);
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: autonodaliaSpin 0.7s linear infinite;
}

.btn-submit-audit.loading .btn-spinner {
  display: inline-block;
}

.btn-submit-audit.loading {
  pointer-events: none;
  opacity: 0.85;
}

@keyframes autonodaliaSpin {
  to { transform: rotate(360deg); }
}

.form-feedback-card {
  margin-top: 18px;
  padding: 18px 22px;
  background: #041a1c;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 14px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.2);
}

.feedback-icon {
  width: 26px;
  height: 26px;
  background: var(--accent-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.feedback-content h4 {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 4px;
}

.feedback-content p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #f1f5f9;
}

/* 6. PIE DE PÁGINA CORPORATIVO */
.glass-footer {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 65px clamp(20px, 4vw, 56px) 35px clamp(20px, 4vw, 56px);
  background: rgba(2, 6, 14, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(56, 189, 248, 0.25);
  margin-top: 60px;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 380px;
  margin-bottom: 12px;
}

.footer-location {
  font-size: 13.5px;
  color: #94a3b8;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a, .footer-legal-btn {
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 14.5px;
  color: #cbd5e1;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.footer-nav-list a:hover, .footer-legal-btn:hover {
  color: #ffffff;
}

.rgpd-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(56, 189, 248, 0.3);
  border: 1px solid rgba(56, 189, 248, 0.55);
  padding: 3px 10px;
  border-radius: 6px;
  margin-top: 6px;
}

.footer-bottom-bar {
  max-width: 1240px;
  margin: 24px auto 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: #cbd5e1;
}

/* 7. BANNER DE COOKIES & MODALES NATIVOS */
.glass-cookie-banner {
  position: fixed;
  bottom: max(16px, calc(var(--sab) + 12px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - max(24px, calc(var(--sal) + var(--sar) + 16px)));
  max-width: 860px;
  z-index: 999;
  background: rgba(4, 13, 26, 0.98);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 20px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9);
  padding: 20px clamp(16px, 3vw, 26px);
}

.cookie-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-msg {
  font-size: 14.5px;
  line-height: 1.6;
  color: #f1f5f9;
  flex: 1 1 380px;
}

.cookie-btn-group {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-cookie-accept {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px -2px rgba(14, 165, 233, 0.55);
  transition: all 0.2s;
}

.btn-cookie-accept:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0369a1 100%);
}

.btn-cookie-reject, .btn-cookie-info {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 9px 16px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie-reject:hover, .btn-cookie-info:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.glass-dialog {
  margin: auto;
  border: none;
  background: transparent;
  padding: 20px;
  max-width: 680px;
  width: 90%;
  color: var(--text-dark);
  outline: none;
}

.glass-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
}

.dialog-content-card {
  background: rgba(4, 13, 26, 0.98);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95);
}

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

.dialog-header h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: #ffffff;
}

.dialog-close-btn {
  background: transparent;
  border: none;
  font-size: 26px;
  color: var(--text-dim);
  cursor: pointer;
  line-height: 1;
}

.dialog-close-btn:hover {
  color: #ffffff;
}

.dialog-body {
  font-size: 15.5px;
  line-height: 1.7;
  color: #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 60vh;
  overflow-y: auto;
}

.dialog-body h4 {
  font-size: 17px;
  color: #ffffff;
  margin-top: 6px;
}

/* 8. ARQUITECTURA RESPONSIVA DE ALTA PRECISIÓN (TABLET & MÓVIL) */

@keyframes autonodaliaDrawerIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── TABLETS & PANTALLAS MEDIANAS (1023px Y MENORES) ─────────────────── */
@media (max-width: 1023px) {
  .glass-navbar {
    border-radius: 24px;
    padding: 10px 20px;
    top: max(12px, var(--sat));
    width: calc(100% - 24px);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(3, 10, 24, 0.98);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 22px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 16px;
    gap: 8px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.95), 0 0 30px -4px rgba(56, 189, 248, 0.25);
    transform-origin: top center;
    animation: autonodaliaDrawerIn 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #f1f5f9;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(56, 189, 248, 0.12);
    transition: all 0.2s ease;
  }

  .nav-link:hover,
  .nav-link:active {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.4);
    color: #ffffff;
    transform: translateX(4px);
  }

  .nav-link-cta {
    display: flex !important;
    justify-content: center;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 22px -4px rgba(14, 165, 233, 0.55);
    margin-top: 6px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .btn-nav-primary {
    font-size: 13px;
    padding: 8px 16px;
  }

  .hero-section {
    padding: clamp(24px, 4vw, 48px);
    padding-top: max(112px, calc(var(--sat) + 90px));
    padding-left: max(clamp(24px, 4vw, 48px), var(--sal));
    padding-right: max(clamp(24px, 4vw, 48px), var(--sar));
  }

  .hero-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .hero-title-box {
    width: 100%;
  }

  .section-title {
    font-size: clamp(54px, 8vw, 92px);
  }

  .hero-aside-box {
    align-items: flex-start;
    text-align: left;
    max-width: 620px;
  }

  .editorial-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .circuit-display-panel {
    padding: clamp(24px, 3.5vw, 36px);
  }

  .simulator-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pricing-glass-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto 32px auto;
    gap: 24px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .addons-strip-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .addons-checkboxes {
    width: 100%;
    gap: 14px;
  }

  .timeline-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .glass-footer {
    padding-left: max(clamp(20px, 4vw, 56px), var(--sal));
    padding-right: max(clamp(20px, 4vw, 56px), var(--sar));
    padding-bottom: max(35px, calc(var(--sab) + 20px));
  }
}

/* ── SMARTPHONES & PANTALLAS MÓVILES (767px Y MENORES) ───────────────── */
@media (max-width: 767px) {
  .glass-navbar {
    border-radius: 18px;
    padding: 8px 14px;
    top: max(10px, var(--sat));
    width: calc(100% - 20px);
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  .btn-nav-primary {
    display: none;
  }

  .nav-brand {
    gap: 8px;
  }

  .brand-name {
    font-size: 14px;
    letter-spacing: 0.12em;
  }

  .hero-section {
    padding: 20px 16px;
    padding-top: max(100px, calc(var(--sat) + 82px));
    padding-left: max(16px, var(--sal));
    padding-right: max(16px, var(--sar));
    min-height: 100svh;
    min-height: 100dvh;
    justify-content: space-between;
  }

  .hero-top-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 11.5px;
    letter-spacing: 0.1em;
  }

  .meta-tag, .meta-location {
    width: fit-content;
  }

  .section-title {
    font-size: clamp(40px, 11.5vw, 68px);
    line-height: 0.92;
  }

  .hero-aside-box {
    gap: 18px;
    max-width: 100%;
  }

  .section-copy {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .btn-action {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    font-size: 16px;
    justify-content: center;
    display: flex;
    align-items: center;
  }

  .content-section {
    padding: 60px 16px;
    padding-left: max(16px, var(--sal));
    padding-right: max(16px, var(--sar));
  }

  .editorial-eyebrow {
    font-size: 11.5px;
    padding: 5px 12px;
  }

  .editorial-title {
    font-size: clamp(32px, 8.5vw, 44px);
    line-height: 1.05;
  }

  .editorial-lead {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .circuit-tab {
    padding: 14px 16px;
  }

  .circuit-tab .c-title {
    font-size: 15.5px;
  }

  .circuit-tab .c-sub {
    font-size: 13.5px;
  }

  .circuit-display-panel {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .panel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .panel-heading {
    font-size: 20px;
  }

  .panel-text {
    font-size: 15px;
    line-height: 1.6;
  }

  .circuit-metrics-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .c-metric-card {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .c-metric-card .m-value {
    font-size: 18px;
  }

  .code-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .code-view {
    font-size: 12px;
    padding: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .simulator-glass-card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .slider-info {
    flex-wrap: wrap;
    gap: 8px;
  }

  .slider-title {
    font-size: 15px;
  }

  .slider-output {
    font-size: 15px;
    padding: 3px 12px;
  }

  .results-kpi-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .kpi-card {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .kpi-number {
    font-size: clamp(32px, 9vw, 40px);
  }

  .chart-wrapper {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .pricing-card {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .p-num {
    font-size: 44px;
  }

  .p-num-custom {
    font-size: 34px;
  }

  .p-desc {
    font-size: 15px;
  }

  .p-checklist {
    font-size: 14.5px;
    gap: 10px;
  }

  .btn-tier {
    padding: 15px 20px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .addons-strip-panel {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .addons-strip-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .addons-checkboxes {
    flex-direction: column;
    gap: 10px;
  }

  .addon-toggle {
    width: 100%;
    padding: 12px 14px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 12px;
    font-size: 14.5px;
  }

  .addon-toggle input {
    width: 18px;
    height: 18px;
  }

  .timeline-panel {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-card {
    padding: 16px;
    border-radius: 14px;
  }

  .audit-form-card {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .btn-submit-audit {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    min-height: 52px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 16px;
  }

  .faq-question::after {
    width: 26px;
    height: 26px;
    font-size: 18px;
  }

  .faq-answer {
    padding: 0 18px 18px 18px;
    font-size: 15px;
  }

  .glass-footer {
    padding: 44px 16px max(30px, calc(var(--sab) + 16px)) 16px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ── MÓVILES MUY COMPACTOS (420px Y MENORES) ─────────────────────────── */
@media (max-width: 420px) {
  .glass-navbar {
    padding: 8px 14px;
  }

  .nav-container {
    gap: 10px;
  }

  .brand-name {
    font-size: 13px;
    letter-spacing: 0.1em;
  }

  .section-title {
    font-size: clamp(36px, 10.5vw, 48px);
  }

  .meta-tag, .meta-location {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .circuit-tab .c-num {
    font-size: 13px;
  }

  .circuit-tab .c-title {
    font-size: 14.5px;
  }

  .circuit-tab .c-sub {
    font-size: 12.5px;
  }

  .slider-output {
    font-size: 14px;
  }

  .p-num {
    font-size: 38px;
  }

  .p-num-custom {
    font-size: 30px;
  }
}

