/* ==========================================================================
   WEBACANA V2 — Laboratorio Digital Premium
   Black luxury tech / Gold holographic HUD / Stark interface
   ========================================================================== */

:root {
  --bg-0: #050505;
  --bg-1: #080706;
  --bg-2: #0b0907;
  --gold: #D7A539;
  --gold-bright: #EFC354;
  --gold-dark: #B67E1B;
  --gold-metal: #8C6117;
  --text: #F1E6C8;
  --text-dim: #BDAF8A;
  --line: rgba(215, 165, 57, 0.20);
  --line-soft: rgba(215, 165, 57, 0.11);
  --panel: rgba(13, 9, 4, 0.72);
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --glow-sm: 0 0 12px rgba(239, 195, 84, 0.26);
  --glow-md: 0 0 34px rgba(215, 165, 57, 0.16);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217, 169, 58, 0.05), transparent 42%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 38%, #020202 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(217, 169, 58, 0.24); color: var(--text); }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em, i, u { font-style: normal; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Fondo global: partículas + doble grilla en perspectiva + viñeta + haces
   ========================================================================== */

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  inset: -20% -12%;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(217, 169, 58, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 169, 58, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(900px) rotateX(40deg) scale(1.5);
  transform-origin: 50% 0%;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 26%, #000 0%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 26%, #000 0%, transparent 76%);
}

.bg-grid-flip {
  transform: perspective(900px) rotateX(-40deg) scale(1.5);
  transform-origin: 50% 100%;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 82%, #000 0%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 82%, #000 0%, transparent 74%);
  opacity: 0.5;
}

.bg-dots {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(217, 169, 58, 0.12) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 62% 48% at 50% 38%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 62% 48% at 50% 38%, #000 0%, transparent 80%);
  opacity: 0.55;
}

.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 38% at 50% 40%, rgba(217, 169, 58, 0.08), transparent 68%),
    radial-gradient(ellipse 70% 22% at 50% 0%, rgba(217, 169, 58, 0.05), transparent 70%),
    radial-gradient(ellipse 120% 100% at 50% 50%, transparent 52%, rgba(0, 0, 0, 0.8) 100%);
}

.bg-beam {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  width: 46vw;
  height: 120vh;
  top: -18vh;
  filter: blur(30px);
  opacity: 0.5;
  background: linear-gradient(180deg, transparent, rgba(217, 169, 58, 0.04) 30%, rgba(217, 169, 58, 0.08) 55%, transparent);
  animation: beam-drift 14s ease-in-out infinite;
}
.beam-a { left: 6vw; transform: rotate(16deg); }
.beam-b { right: 4vw; transform: rotate(-18deg); animation-delay: -7s; }
@keyframes beam-drift {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.65; }
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ==========================================================================
   Botones
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  padding: 14px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

/* brillo que recorre los botones dorados */
.btn-gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 4.5s ease-in-out infinite;
}
@keyframes btn-shine {
  0%, 55% { left: -80%; }
  85%, 100% { left: 130%; }
}

.btn-gold {
  background: linear-gradient(160deg, #f2de9a 0%, var(--gold-bright) 24%, var(--gold) 54%, var(--gold-dark) 100%);
  color: #150f03;
  box-shadow: 0 0 26px rgba(243, 199, 92, 0.32), 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 40px rgba(243, 199, 92, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.btn-ghost {
  background: rgba(12, 9, 3, 0.55);
  color: var(--text);
  border-color: var(--line);
  box-shadow: inset 0 0 18px rgba(217, 169, 58, 0.05);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--glow-sm), inset 0 0 18px rgba(217, 169, 58, 0.08);
}

.btn-whatsapp {
  background: rgba(12, 9, 3, 0.6);
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 0.72rem;
}
.btn-whatsapp:hover {
  border-color: var(--gold);
  box-shadow: var(--glow-sm);
  transform: translateY(-1px);
}

.btn-block { width: 100%; }
.btn-lg { padding: 17px 36px; font-size: 0.95rem; }

.btn-cta-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #0d0902;
  filter: drop-shadow(0 0 8px rgba(255, 214, 120, 0.16));
  transition: transform 0.28s ease, filter 0.28s ease, color 0.28s ease;
}
.btn-gold:hover .btn-cta-icon {
  color: #050403;
  transform: translate(5px, -1px) scale(1.08);
  filter: drop-shadow(0 0 14px rgba(255, 214, 120, 0.34));
}
.btn-ghost .btn-cta-icon { color: var(--gold-bright); }
.cta-panel .btn-gold > svg[aria-hidden="true"] {
  color: #0d0902;
  filter: drop-shadow(0 0 8px rgba(255, 214, 120, 0.16));
  transition: transform 0.28s ease, filter 0.28s ease, color 0.28s ease;
}
.cta-panel .btn-gold:hover > svg[aria-hidden="true"] {
  color: #050403;
  transform: translate(5px, -1px) scale(1.08);
  filter: drop-shadow(0 0 14px rgba(255, 214, 120, 0.34));
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(2, 2, 1, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(217, 169, 58, 0.5) 50%, transparent 95%);
}
.site-header.is-scrolled {
  background: rgba(2, 2, 1, 0.92);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

.header-inner {
  max-width: 1460px;
  margin: 0 auto;
  padding: 11px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  display: block;
  width: clamp(164px, 17vw, 254px);
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(217, 169, 58, 0.18));
}
.brand-tag {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  white-space: nowrap;
}

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 9px 13px;
  border-radius: 8px;
  position: relative;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--gold-bright); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 104px 24px 30px;
  max-width: 1600px;
  margin: 0 auto;
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr) 282px;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

/* Colocación exacta de paneles (como la referencia):
   izquierda: diagnóstico + proyectos / derecha: rendimiento + conversión + conexión */
.hud-left-top  { grid-column: 1; grid-row: 1; }
.hud-left-mid  { grid-column: 1; grid-row: 2; }
.hud-right-top { grid-column: 3; grid-row: 1; }
.hud-right-mid { grid-column: 3; grid-row: 2; }
.hud-right-bot { grid-column: 3; grid-row: 3; }

/* Decoración holográfica */
.hero-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.halo {
  position: absolute;
  left: 50%;
  top: 60%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.halo-1 {
  width: 720px; height: 720px;
  border: 1px dashed rgba(217, 169, 58, 0.24);
  animation: spin 70s linear infinite;
}
.halo-2 {
  width: 1020px; height: 1020px;
  border: 1px dotted rgba(217, 169, 58, 0.18);
  animation: spin-rev 110s linear infinite;
}
.halo-3 {
  width: 480px; height: 480px;
  border: 1px solid rgba(217, 169, 58, 0.15);
  box-shadow: 0 0 60px rgba(217, 169, 58, 0.08) inset;
  animation: spin 45s linear infinite;
}
.halo-1::before, .halo-2::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px rgba(243, 199, 92, 0.9);
}

.plus {
  position: absolute;
  color: rgba(217, 169, 58, 0.4);
  font: 300 17px/1 var(--font-display);
  animation: deco-pulse 4.5s ease-in-out infinite;
}
.node {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 9px rgba(217, 169, 58, 0.8);
  animation: deco-pulse 3.8s ease-in-out infinite;
}
@keyframes deco-pulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.9; } }

.tag {
  position: absolute;
  font-family: var(--font-display);
  font-size: 0.46rem;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 3px 8px;
  background: rgba(10, 7, 3, 0.65);
  box-shadow: 0 0 12px rgba(217, 169, 58, 0.12);
  animation: deco-pulse 5s ease-in-out infinite;
}

.hero-center {
  grid-column: 2;
  grid-row: 1 / span 3;
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-kicker {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.28em;
  color: var(--gold-bright);
  margin-bottom: 12px;
  text-shadow: 0 0 16px rgba(217, 169, 58, 0.28);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.3vw, 3.55rem);
  line-height: 1.07;
  letter-spacing: 0.02em;
  background: linear-gradient(175deg, #f7eec3 0%, #e0c16e 22%, var(--gold-bright) 42%, var(--gold) 64%, #9d6a18 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(217, 169, 58, 0.35));
  margin-bottom: 16px;
}

/* ---- Aparición del título vía reveal/is-visible (HERO-023) ---- */
.hero-title-line {
  display: block;
}

/* Neutraliza el reveal global (opacity/transform/translateY) en el contenedor.
   Especificidad reforzada y ubicado después de las reglas globales .reveal. */
.hero-title.hero-title-epic.reveal {
  opacity: 1;
  transform: none;
}

.hero-title.hero-title-epic.reveal .hero-title-line {
  opacity: 0;
  filter: blur(12px);
  text-shadow:
    0 0 18px rgba(212, 175, 55, 0.32),
    0 0 36px rgba(212, 175, 55, 0.16);
  transition:
    opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    text-shadow 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-title.hero-title-epic.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero-title.hero-title-epic.reveal.is-visible .hero-title-line {
  opacity: 1;
  filter: blur(0);
  text-shadow: 0 0 0 rgba(212, 175, 55, 0);
}

.hero-title.hero-title-epic.reveal .hero-title-line--second {
  transition-delay: 0.08s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-title.hero-title-epic.reveal,
  .hero-title.hero-title-epic.reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-title.hero-title-epic.reveal .hero-title-line,
  .hero-title.hero-title-epic.reveal.is-visible .hero-title-line {
    opacity: 1;
    filter: none;
    text-shadow: none;
    transition: none;
    transform: none;
  }
}

.hero-sub {
  max-width: 610px;
  color: var(--text-dim);
  font-size: 1.02rem;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
}

.hero-actions-secondary,
.cta-secondary-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-actions-secondary {
  margin-top: 12px;
}

.cta-secondary-actions {
  margin-top: 16px;
}

.footer-actions {
  width: 100%;
  margin-top: 10px;
}

.btn-small {
  padding: 11px 18px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}

/* --------------------------------------------------------------------------
   Dispositivos + plataforma holográfica
   -------------------------------------------------------------------------- */

.device-showcase {
  position: relative;
  width: min(960px, 100%);
  margin-top: 10px;
  padding-bottom: 180px;
  perspective: 1700px;
  isolation: isolate;
}

.devices-inner {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.35s ease-out;
}

/* ---- Plataforma de anillos ---- */
.platform {
  position: absolute;
  left: 50%;
  bottom: -52px;
  width: 1120px;
  height: 520px;
  transform: translateX(-50%);
  pointer-events: none;
}

.p-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 860px;
  height: 280px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(243, 199, 92, 0.6), rgba(217, 169, 58, 0.22) 48%, transparent 74%);
  filter: blur(14px);
  animation: glow-pulse 4.5s ease-in-out infinite;
}

/* núcleo de energía bajo la laptop */
.p-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 380px;
  height: 130px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 239, 188, 0.82), rgba(243, 199, 92, 0.28) 55%, transparent 76%);
  filter: blur(15px);
  animation: glow-pulse 3.4s ease-in-out infinite;
  animation-delay: -1.5s;
}

/* toro luminoso principal (banda gruesa de luz como en la referencia) */
.p-band {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(76deg);
  background: radial-gradient(closest-side,
    transparent 45%,
    rgba(243, 199, 92, 0.1) 54%,
    rgba(243, 199, 92, 0.55) 62%,
    rgba(255, 233, 172, 0.88) 66%,
    rgba(243, 199, 92, 0.38) 72%,
    transparent 81%);
  filter: blur(1.2px);
  animation: band-pulse 4.2s ease-in-out infinite;
  mix-blend-mode: screen;
}
.p-band.b2 {
  width: 370px;
  height: 370px;
  background: radial-gradient(closest-side,
    transparent 48%,
    rgba(243, 199, 92, 0.44) 61%,
    rgba(255, 226, 150, 0.82) 68%,
    rgba(243, 199, 92, 0.26) 75%,
    transparent 85%);
  animation-delay: -2.1s;
}
@keyframes band-pulse { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; } }

.p-disc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(76deg);
  background:
    conic-gradient(from 0deg,
      transparent 0deg 12deg,
      rgba(243, 199, 92, 0.16) 12deg 16deg,
      transparent 16deg 38deg,
      rgba(217, 169, 58, 0.1) 38deg 43deg,
      transparent 43deg 90deg,
      rgba(243, 199, 92, 0.12) 90deg 96deg,
      transparent 96deg 144deg,
      rgba(217, 169, 58, 0.12) 144deg 150deg,
      transparent 150deg 204deg,
      rgba(243, 199, 92, 0.08) 204deg 210deg,
      transparent 210deg 360deg),
    radial-gradient(closest-side, rgba(217, 169, 58, 0.18), rgba(217, 169, 58, 0.06) 58%, transparent 72%);
  animation: ring-spin 30s linear infinite;
}

.p-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 2px solid rgba(217, 169, 58, 0.52);
  transform: translate(-50%, -50%) rotateX(76deg);
  box-shadow: 0 0 24px rgba(217, 169, 58, 0.32), inset 0 0 24px rgba(217, 169, 58, 0.18);
}

.p-ring.r0 {
  width: 190px; height: 190px;
  border-width: 3px;
  border-color: rgba(255, 226, 150, 0.95);
  box-shadow: 0 0 32px rgba(217, 169, 58, 0.7), inset 0 0 32px rgba(217, 169, 58, 0.5);
  animation: ring-spin 8s linear infinite;
}
.p-ring.r1 { width: 250px; height: 250px; border-width: 2.5px; border-color: rgba(243, 199, 92, 0.76); animation: ring-spin 12s linear infinite; }
.p-ring.r2 { width: 350px; height: 350px; border-style: dashed; border-color: rgba(243, 199, 92, 0.54); animation: ring-spin-rev 18s linear infinite; }
.p-ring.r4 { width: 560px; height: 560px; border-style: dashed; border-color: rgba(217, 169, 58, 0.5); animation: ring-spin 34s linear infinite; }
.p-ring.r6 { width: 760px; height: 760px; border-color: rgba(217, 169, 58, 0.34); animation: ring-spin-rev 46s linear infinite; }
.p-ring.r8 { width: 940px; height: 940px; border-color: rgba(168, 110, 18, 0.34); border-style: dotted; animation: ring-spin 60s linear infinite; box-shadow: none; }
.p-ring.r9 {
  width: 1080px; height: 1080px;
  border-width: 1.5px;
  border-style: dashed;
  border-color: rgba(243, 199, 92, 0.18);
  animation: ring-spin-rev 78s linear infinite;
  box-shadow: none;
  opacity: 0.72;
}

/* anillos segmentados tipo HUD */
.p-ring.seg, .p-ring.seg2, .p-ring.ticks { border: none; box-shadow: none; }
.p-ring.seg {
  width: 450px; height: 450px;
  background: repeating-conic-gradient(rgba(243, 199, 92, 0.72) 0deg 18deg, transparent 18deg 34deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
  mask: radial-gradient(closest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
  animation: ring-spin-rev 24s linear infinite;
  filter: drop-shadow(0 0 8px rgba(217, 169, 58, 0.32));
}
.p-ring.seg2 {
  width: 850px; height: 850px;
  background: repeating-conic-gradient(rgba(217, 169, 58, 0.42) 0deg 8deg, transparent 8deg 24deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  mask: radial-gradient(closest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  animation: ring-spin 52s linear infinite;
}
.p-ring.ticks {
  width: 660px; height: 660px;
  background: repeating-conic-gradient(rgba(243, 199, 92, 0.76) 0deg 1.4deg, transparent 1.4deg 7deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 12px), #000 calc(100% - 11px));
  mask: radial-gradient(closest-side, transparent calc(100% - 12px), #000 calc(100% - 11px));
  animation: ring-spin-rev 38s linear infinite;
}

/* arcos orbitales (segmentos de luz que giran) */
.p-arc {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 2px solid transparent;
}
.p-arc.a1 {
  width: 305px; height: 305px;
  border-top-color: rgba(243, 199, 92, 0.84);
  border-right-color: rgba(243, 199, 92, 0.2);
  animation: ring-spin 6.5s linear infinite;
  filter: drop-shadow(0 0 7px rgba(217, 169, 58, 0.52));
}
.p-arc.a2 {
  width: 610px; height: 610px;
  border-top-color: rgba(217, 169, 58, 0.58);
  animation: ring-spin-rev 11s linear infinite;
  filter: drop-shadow(0 0 5px rgba(217, 169, 58, 0.32));
}
.p-arc.a3 {
  width: 790px; height: 790px;
  border-top-color: rgba(243, 199, 92, 0.48);
  border-left-color: rgba(217, 169, 58, 0.18);
  animation: ring-spin 15s linear infinite reverse;
  filter: drop-shadow(0 0 5px rgba(217, 169, 58, 0.3));
}

/* puntos orbitando la plataforma */
.p-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 12px rgba(243, 199, 92, 0.9), 0 0 30px rgba(217, 169, 58, 0.5);
}
.p-orb.o1 { --r: 175px; animation: orbit 10s linear infinite; }
.p-orb.o2 { --r: 280px; width: 5px; height: 5px; animation: orbit 17s linear infinite reverse; }
.p-orb.o3 { --r: 375px; width: 6px; height: 6px; animation: orbit 26s linear infinite; animation-delay: -8s; }
.p-orb.o4 { --r: 470px; width: 4px; height: 4px; animation: orbit 21s linear infinite reverse; animation-delay: -5s; }

@keyframes orbit {
  from { transform: translate(-50%, -50%) rotateX(76deg) rotateZ(0deg) translateX(var(--r)); }
  to   { transform: translate(-50%, -50%) rotateX(76deg) rotateZ(360deg) translateX(var(--r)); }
}
@keyframes ring-spin     { from { transform: translate(-50%, -50%) rotateX(76deg) rotateZ(0deg); }   to { transform: translate(-50%, -50%) rotateX(76deg) rotateZ(360deg); } }
@keyframes ring-spin-rev { from { transform: translate(-50%, -50%) rotateX(76deg) rotateZ(360deg); } to { transform: translate(-50%, -50%) rotateX(76deg) rotateZ(0deg); } }
@keyframes glow-pulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

/* ---- Laptop ---- */
.laptop {
  position: relative;
  z-index: 2;
  width: min(560px, 92%);
  margin: 0 auto;
}

.float-slow { animation: float 7s ease-in-out infinite; }
.float-slow.d2 { animation-delay: -3.2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

.laptop-lid {
  position: relative;
  padding: 3px;
  border-radius: 18px 18px 6px 6px;
  background: linear-gradient(180deg, #c9a44e 0%, #7d5615 22%, #45300b 55%, #1b1204 100%);
  box-shadow:
    0 0 46px rgba(217, 169, 58, 0.28),
    0 34px 70px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(247, 226, 160, 0.7);
}

.laptop-screen {
  position: relative;
  border-radius: 15px 15px 4px 4px;
  background: #040302;
  padding: 12px 12px 10px;
  overflow: hidden;
}

.laptop-cam {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1c1608;
  box-shadow: inset 0 0 2px rgba(217, 169, 58, 0.6);
  z-index: 3;
}

.screen-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(247, 226, 160, 0.08) 45%, transparent 60%);
  background-size: 250% 100%;
  animation: sheen 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes sheen {
  0%, 60% { background-position: 120% 0; }
  100% { background-position: -80% 0; }
}

.laptop-base {
  position: relative;
  height: 17px;
  margin: 0 -46px;
  background: linear-gradient(180deg, #d0af58 0%, #855e17 20%, #35240a 60%, #100a02 100%);
  border-radius: 3px 3px 16px 16px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.8), 0 3px 16px rgba(217, 169, 58, 0.35);
}
.laptop-edge {
  position: absolute;
  top: 0;
  left: 4%;
  right: 4%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(248, 232, 180, 0.95), transparent);
}
.laptop-notch {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 96px;
  height: 6px;
  background: #171004;
  border-radius: 0 0 9px 9px;
}
.laptop-underglow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -30px;
  height: 46px;
  background: radial-gradient(ellipse 50% 50% at 50% 40%, rgba(243, 199, 92, 0.4), transparent 70%);
  filter: blur(9px);
  pointer-events: none;
}

/* ---- Mini sitio dentro de la laptop ---- */
.mini-site {
  position: relative;
  height: clamp(206px, 21vw, 272px);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0805 0%, #070503 100%);
}

.mini-visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 60%;
  height: 84%;
  opacity: 0.92;
}

.mini-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 5, 3, 0.96) 26%, rgba(7, 5, 3, 0.55) 48%, transparent 75%),
    linear-gradient(180deg, rgba(7, 5, 3, 0.9) 0%, transparent 30%);
}

.mini-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 10px;
  border-bottom: 1px solid rgba(217, 169, 58, 0.16);
}
.mini-logo {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--text);
}
.mini-logo em { color: var(--gold); }
.mini-links { display: flex; gap: 10px; overflow: hidden; }
.mini-links u {
  font-family: var(--font-display);
  font-size: 0.4rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}
.mini-links u:first-child { color: var(--gold); }

.mini-copy {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-42%);
  z-index: 2;
  text-align: left;
  max-width: 46%;
}
.mini-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.9vw, 1.42rem);
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}
.mini-copy p {
  font-size: 0.6rem;
  line-height: 1.55;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #191204;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold));
  padding: 6px 13px;
  border-radius: 5px;
  box-shadow: 0 0 14px rgba(217, 169, 58, 0.5);
}

/* ---- Celular ---- */
.phone {
  position: absolute;
  z-index: 3;
  right: 5%;
  bottom: 72px;
  width: 120px;
  padding: 3px;
  border-radius: 26px;
  background: linear-gradient(180deg, #c6a24a 0%, #745211 30%, #3a2708 70%, #171004 100%);
  box-shadow:
    0 0 34px rgba(217, 169, 58, 0.3),
    0 28px 56px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(247, 226, 160, 0.65);
}

.phone-btn {
  position: absolute;
  right: -2px;
  width: 2.5px;
  border-radius: 2px;
  background: #a87f2e;
}
.phone-btn.pb1 { top: 64px; height: 26px; }
.phone-btn.pb2 { top: 98px; height: 40px; }

.phone-screen {
  position: relative;
  background:
    radial-gradient(ellipse 100% 55% at 50% 100%, rgba(168, 110, 18, 0.35), transparent 65%),
    linear-gradient(180deg, #0a0805, #050408);
  border-radius: 23px;
  min-height: 196px;
  padding: 18px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 5px;
  border-radius: 3px;
  background: #171004;
  box-shadow: inset 0 0 3px rgba(217, 169, 58, 0.35);
}
.phone-logo {
  font-family: var(--font-display);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--text);
}
.phone-logo em { color: var(--gold); }
.phone-copy {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  flex: 1;
}
.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.46rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(217, 169, 58, 0.08);
  box-shadow: 0 0 10px rgba(217, 169, 58, 0.15);
}
/* mini fachada iluminada en el celular */
.phone-visual {
  width: 100%;
  height: 30px;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(5, 4, 2, 0.9) 0%, transparent 45%),
    repeating-linear-gradient(90deg, rgba(246, 190, 92, 0.5) 0 3px, rgba(9, 6, 3, 0.95) 3px 8px),
    repeating-linear-gradient(0deg, rgba(9, 6, 3, 0.9) 0 3px, transparent 3px 7px),
    #0a0704;
  box-shadow: 0 -6px 14px rgba(217, 169, 58, 0.12), inset 0 0 10px rgba(0, 0, 0, 0.8);
  opacity: 0.9;
}

.phone-bar {
  align-self: center;
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: rgba(217, 169, 58, 0.5);
}
.phone-underglow {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -24px;
  height: 34px;
  background: radial-gradient(ellipse 50% 50% at 50% 40%, rgba(243, 199, 92, 0.4), transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}

/* ---- Reemplazo por assets reales (SVG sin fondo) ---- */
.device-img { display: none; pointer-events: none; user-select: none; object-fit: contain; }
.device-showcase.asset-laptop .laptop { display: none; }
.device-showcase.asset-laptop .laptop-img {
  display: block;
  width: min(660px, 100%);
  margin: 6px auto 0;
  position: relative;
  z-index: 2;
  max-width: none;
  filter: drop-shadow(0 40px 68px rgba(0, 0, 0, 0.88)) drop-shadow(0 0 28px rgba(243, 199, 92, 0.22));
  animation: float 7s ease-in-out infinite;
}
.device-showcase.asset-phone .phone { display: none; }
.device-showcase.asset-phone .phone-img {
  display: block;
  position: absolute;
  right: 0.8%;
  bottom: 90px;
  width: 148px;
  z-index: 3;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.86)) drop-shadow(0 0 22px rgba(243, 199, 92, 0.24));
  animation: float 7s ease-in-out infinite;
  animation-delay: -3.2s;
}

/* --------------------------------------------------------------------------
   Paneles HUD
   -------------------------------------------------------------------------- */

.hud {
  position: relative;
  z-index: 1;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.01) 0 1px, transparent 1px 5px),
    linear-gradient(160deg, rgba(217, 169, 58, 0.03), transparent 42%),
    rgba(9, 7, 3, 0.62);
  border: 1px solid rgba(217, 169, 58, 0.14);
  border-radius: var(--radius);
  padding: 15px;
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.36), inset 0 0 24px rgba(217, 169, 58, 0.03);
  overflow: hidden;
  animation: none;
  will-change: opacity, transform;
}
.hud::before {
  content: "";
  position: absolute;
  inset: -26%;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 45%, rgba(243, 199, 92, 0.12), transparent 58%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hud::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  animation: border-run 5.5s linear infinite;
}
@keyframes border-run {
  0% { left: -60%; }
  60%, 100% { left: 115%; }
}
.hud.reveal.is-visible {
  animation: hud-teleport 0.96s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hud.reveal.is-visible::before {
  animation: hud-ring 0.92s ease;
}
@keyframes hud-teleport {
  0% { opacity: 0; transform: translateY(24px) scale(0.94) rotateX(12deg); filter: blur(1px); }
  48% { opacity: 1; transform: translateY(-2px) scale(1.02); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hud-ring {
  0% { opacity: 0; transform: scale(0.72); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.18); }
}

.hud-left-top.reveal,
.hud-right-top.reveal,
.hud-left-mid.reveal,
.hud-right-mid.reveal,
.hud-right-bot.reveal {
  transition-delay: 0s;
}
.hud-left-top.reveal.is-visible { transition-delay: 0.06s; animation-delay: 0.06s; }
.hud-right-top.reveal.is-visible { transition-delay: 0.28s; animation-delay: 0.28s; }
.hud-left-mid.reveal.is-visible { transition-delay: 0.5s; animation-delay: 0.5s; }
.hud-right-mid.reveal.is-visible { transition-delay: 0.72s; animation-delay: 0.72s; }
.hud-right-bot.reveal.is-visible { transition-delay: 0.94s; animation-delay: 0.94s; }

/* esquinas técnicas */
.hud-corners {
  position: absolute;
  inset: 5px;
  pointer-events: none;
  background:
    linear-gradient(var(--gold), var(--gold)) top left / 13px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top left / 1.5px 13px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top right / 13px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top right / 1.5px 13px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / 13px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / 1.5px 13px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 13px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 1.5px 13px no-repeat;
  opacity: 0.8;
}

/* línea de escaneo */
.hud-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 34px;
  background: linear-gradient(180deg, transparent, rgba(243, 199, 92, 0.06) 45%, rgba(243, 199, 92, 0.12) 50%, rgba(243, 199, 92, 0.06) 55%, transparent);
  animation: scan 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scan {
  0%, 15% { top: -20%; opacity: 0; }
  20% { opacity: 1; }
  70% { top: 105%; opacity: 1; }
  75%, 100% { top: 105%; opacity: 0; }
}

.hud-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(217, 169, 58, 0.14);
}
.hud-title {
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--gold-bright);
}
.hud-left-top .hud-head {
  flex-wrap: wrap;
  gap: 6px 10px;
}
.hud-left-top .hud-title {
  flex: 1 1 100%;
  line-height: 1.2;
  letter-spacing: 0.18em;
}
.hud-left-top .hud-id {
  margin-left: auto;
}
.hud-id {
  font-family: var(--font-display);
  font-size: 0.48rem;
  letter-spacing: 0.16em;
  color: rgba(189, 175, 141, 0.6);
}

.hud-subtitle {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 13px 0 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.hud-ruler {
  margin-top: 12px;
  height: 6px;
  background:
    repeating-linear-gradient(90deg, rgba(217, 169, 58, 0.45) 0 1px, transparent 1px 9px) bottom / 100% 4px no-repeat,
    repeating-linear-gradient(90deg, rgba(217, 169, 58, 0.6) 0 1px, transparent 1px 45px) bottom / 100% 6px no-repeat;
}

.hud-micro-row {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}
.hud-micro-row span {
  font-family: var(--font-display);
  font-size: 0.46rem;
  letter-spacing: 0.12em;
  color: rgba(189, 175, 141, 0.75);
}

/* Globo */
.hud-globe-wrap { display: flex; gap: 10px; align-items: center; }
.hud-globe-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; flex: 0 0 72px; }
.hud-chip {
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(217, 169, 58, 0.55), rgba(217, 169, 58, 0.12));
  animation: chip-pulse 3.6s ease-in-out infinite;
}
.hud-chip.w70 { width: 100%; } .hud-chip.w60 { width: 88%; animation-delay: -0.6s; }
.hud-chip.w55 { width: 78%; animation-delay: -1.2s; } .hud-chip.w48 { width: 66%; animation-delay: -1.8s; }
.hud-chip.w45 { width: 62%; animation-delay: -2.4s; } .hud-chip.w35 { width: 50%; animation-delay: -3s; }
.hud-chip.w40 { width: 56%; animation-delay: -1.5s; } .hud-chip.w62 { width: 90%; animation-delay: -2.1s; }
@keyframes chip-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hud-globe { width: 128px; height: 128px; margin-left: auto; filter: drop-shadow(0 0 12px rgba(217, 169, 58, 0.25)); }
.hud-globe .globe-sweep { transform-origin: 65px 65px; animation: spin 6s linear infinite; }
.globe-ping { animation: ping 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.globe-ping.d2 { animation-delay: -1.2s; }
.globe-ping.d3 { animation-delay: -0.6s; }
@keyframes ping {
  0% { opacity: 1; transform: scale(0.6); }
  70%, 100% { opacity: 0; transform: scale(2.4); }
}

.hud-coords {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-family: var(--font-display);
}

/* Estado de proyectos */
.hud-projects { display: flex; gap: 14px; align-items: stretch; }
.hud-proj-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 46%;
  justify-content: space-between;
}
.hud-stat { display: flex; flex-direction: column; }
.hud-stat-label {
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  font-family: var(--font-display);
}
.hud-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-shadow: 0 0 18px rgba(217, 169, 58, 0.45);
  line-height: 1.15;
}

.hud-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 108px;
  padding: 6px 2px 0;
  border-bottom: 1px solid var(--line-soft);
}
.hud-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--gold-bright), rgba(168, 110, 18, 0.5));
  box-shadow: 0 0 9px rgba(217, 169, 58, 0.35);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.is-visible .hud-bars span { transform: scaleY(1); }
.hud-bars span:nth-child(2)  { transition-delay: 0.06s; }
.hud-bars span:nth-child(3)  { transition-delay: 0.12s; }
.hud-bars span:nth-child(4)  { transition-delay: 0.18s; }
.hud-bars span:nth-child(5)  { transition-delay: 0.24s; }
.hud-bars span:nth-child(6)  { transition-delay: 0.3s; }
.hud-bars span:nth-child(7)  { transition-delay: 0.36s; }
.hud-bars span:nth-child(8)  { transition-delay: 0.42s; }
.hud-bars span:nth-child(9)  { transition-delay: 0.48s; }
.hud-bars span:nth-child(10) { transition-delay: 0.54s; }

.hud-footnote {
  font-family: var(--font-display);
  font-size: 0.52rem;
  letter-spacing: 0.24em;
  color: var(--text-dim);
}
.dots i { animation: dot-blink 1.4s infinite; }
.dots i:nth-child(2) { animation-delay: 0.25s; }
.dots i:nth-child(3) { animation-delay: 0.5s; }
@keyframes dot-blink { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }

/* Rendimiento */
.hud-perf { display: flex; gap: 14px; align-items: center; }
.hud-gauge { position: relative; flex: 0 0 104px; }
.hud-gauge svg { width: 104px; height: 104px; display: block; }
.gauge-ticks { transform-origin: 50px 50px; animation: spin 24s linear infinite; }
.gauge-inner { transform-origin: 50px 50px; animation: spin-rev 16s linear infinite; }
.gauge-arc {
  filter: drop-shadow(0 0 7px rgba(217, 169, 58, 0.65));
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
.is-visible .gauge-arc { stroke-dashoffset: 0; }
.hud-gauge-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}
.hud-gauge-text strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--gold-bright);
  text-shadow: 0 0 16px rgba(217, 169, 58, 0.55);
}
.hud-gauge-text small {
  font-size: 0.4rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

.hud-meter-list { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.hud-meter-list li { display: flex; flex-direction: column; gap: 3px; }
.hud-meter-list span {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-family: var(--font-display);
}
.hud-meter-list span b {
  font-weight: 600;
  font-size: 0.54rem;
  color: var(--gold-bright);
}
.hud-meter-list i {
  height: 4px;
  border-radius: 2px;
  background: rgba(217, 169, 58, 0.13);
  position: relative;
  overflow: hidden;
}
.hud-meter-list i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright));
  box-shadow: 0 0 9px rgba(217, 169, 58, 0.5);
  transform: translateX(-101%);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.is-visible .hud-meter-list i::after { transform: translateX(0); }
.hud-meter-list li:nth-child(2) i::after { transition-delay: 0.12s; }
.hud-meter-list li:nth-child(3) i::after { transition-delay: 0.24s; }
.hud-meter-list li:nth-child(4) i::after { transition-delay: 0.36s; }
.hud-meter-list li:nth-child(5) i::after { transition-delay: 0.48s; }

/* Conversión */
.hud-conv { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.hud-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 0.48rem;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
}
.hud-live b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px rgba(243, 199, 92, 0.9);
  animation: dot-blink 1.6s infinite;
}
.hud-spark { width: 100%; height: 64px; display: block; }
.spark-line {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  filter: drop-shadow(0 0 6px rgba(243, 199, 92, 0.65));
  transition: stroke-dashoffset 1.8s ease-out 0.25s;
}
.is-visible .spark-line { stroke-dashoffset: 0; }
.spark-area { opacity: 0; transition: opacity 1s ease 1s; }
.is-visible .spark-area { opacity: 1; }
.spark-dot { animation: ping 2s ease-out infinite; transform-origin: center; transform-box: fill-box; }

/* Conexión */
.hud-net { display: flex; align-items: center; gap: 10px; }
.hud-net-col { display: flex; flex-direction: column; }
.hud-net-col.right { text-align: right; }
.hud-net-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--gold-bright);
  text-shadow: 0 0 12px rgba(217, 169, 58, 0.4);
}
.hud-ecg { flex: 1; height: 30px; }
.ecg-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: ecg 3.4s linear infinite;
  filter: drop-shadow(0 0 4px rgba(217, 169, 58, 0.6));
}
@keyframes ecg {
  0% { stroke-dashoffset: 200; opacity: 1; }
  70% { stroke-dashoffset: 0; opacity: 1; }
  85% { opacity: 0.25; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.hud-analysis {
  display: grid;
  grid-template-columns: 1fr 46px;
  grid-template-rows: auto auto;
  gap: 8px 10px;
  align-items: center;
}
.hud-mini-bars { width: 100%; height: 38px; }
.hud-donut svg { width: 46px; height: 46px; animation: spin 20s linear infinite; }
.hud-legend {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.hud-legend li {
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-family: var(--font-display);
  position: relative;
  padding-left: 10px;
}
.hud-legend li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 5px rgba(217, 169, 58, 0.7);
}

/* --------------------------------------------------------------------------
   Banda de métricas
   -------------------------------------------------------------------------- */

.metrics-band {
  margin-top: 22px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), var(--glow-md);
}
.metrics-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 199, 92, 0.7), transparent);
}

.metric {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  border-right: 1px solid var(--line-soft);
  transition: background 0.3s ease;
}
.metric:last-child { border-right: none; }
.metric:hover { background: rgba(217, 169, 58, 0.05); }

.metric-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  flex-shrink: 0;
  filter: drop-shadow(0 0 9px rgba(217, 169, 58, 0.4));
}
.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.metric span {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  font-family: var(--font-display);
}

/* ==========================================================================
   Secciones generales
   ========================================================================== */

.section {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 52px 24px 16px;
}
.section::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 169, 58, 0.3), transparent);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-align: center;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(217, 169, 58, 0.35);
  margin-bottom: 28px;
}
.section-title::before,
.section-title::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: clamp(30px, 8vw, 120px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line));
  margin: 0 18px 3px;
}
.section-title::after { background: linear-gradient(90deg, var(--line), transparent); }

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

.card {
  position: relative;
  background:
    linear-gradient(160deg, rgba(217, 169, 58, 0.05), transparent 40%),
    var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  animation: border-run 7s linear infinite;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), var(--glow-md);
}
.card .hud-corners { opacity: 0.4; }

/* Servicios */
.service-card { text-align: center; padding: 32px 26px; }
.card-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(217, 169, 58, 0.06);
  box-shadow: inset 0 0 16px rgba(217, 169, 58, 0.08), var(--glow-sm);
}
.card-icon svg { width: 30px; height: 30px; color: var(--gold); }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold-bright);
  margin-bottom: 9px;
}
.service-card p { color: var(--text-dim); font-size: 0.88rem; max-width: 280px; margin: 0 auto; }

/* Proceso */
.process-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 22px;
  text-align: center;
  justify-content: center;
  flex-direction: column;
}
.process-num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gold-bright);
  box-shadow: var(--glow-sm), inset 0 0 12px rgba(217, 169, 58, 0.14);
}
.process-body { flex: 1; text-align: center; }
.process-body h3 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  margin-bottom: 4px;
}
.process-body p { color: var(--text-dim); font-size: 0.82rem; line-height: 1.55; }
.process-icon { width: 34px; height: 34px; color: var(--gold); opacity: 0.9; flex-shrink: 0; margin-top: auto; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* Paquetes */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card { display: flex; flex-direction: column; padding: 28px 26px 24px; }
.pricing-card.is-popular {
  border-color: var(--line);
  box-shadow: 0 0 46px rgba(217, 169, 58, 0.16);
  background:
    linear-gradient(180deg, rgba(217, 169, 58, 0.08), transparent 45%),
    var(--panel);
}

.popular-flag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #191204;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold));
  padding: 6px 24px;
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
  box-shadow: 0 4px 18px rgba(217, 169, 58, 0.45);
}

.pricing-head {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.pricing-head > div {
  flex: 1;
  text-align: center;
}
.pricing-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  flex-shrink: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(217, 169, 58, 0.06);
  box-shadow: inset 0 0 12px rgba(217, 169, 58, 0.07);
}
.pricing-head h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--text);
  margin-bottom: 8px;
  text-align: center;
}
.package-chip,
.package-chip--popular,
.package-chip--pro {
  display: inline-flex;
  justify-content: center;
  margin: 0 auto 8px;
}
.price .amount {
  font-family: var(--font-display);
  font-size: 2.22rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-shadow: 0 0 22px rgba(217, 169, 58, 0.4);
}
.price .currency { font-size: 0.8rem; color: var(--text-dim); letter-spacing: 0.1em; }
.pay-once {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  font-family: var(--font-display);
  margin-top: 2px;
}

.feature-list { flex: 1; display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.feature-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  text-shadow: 0 0 9px rgba(217, 169, 58, 0.55);
}

.metric strong.js-count {
  display: inline-flex;
  min-width: 3ch;
  justify-content: center;
}

/* CTA final */
.cta-final { padding-bottom: 70px; }
.cta-panel {
  position: relative;
  text-align: center;
  padding: 54px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(217, 169, 58, 0.12), transparent 70%),
    var(--panel);
  overflow: hidden;
  box-shadow: var(--glow-md);
}
.cta-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  animation: border-run 6s linear infinite;
}
.cta-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: 0.08em;
  background: linear-gradient(175deg, #eed896, var(--gold) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 13px;
}
.cta-panel p { color: var(--text-dim); max-width: 560px; margin: 0 auto 26px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: rgba(2, 2, 2, 0.88);
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
}
.footer-brand em { color: var(--gold); }
.footer-brand small {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  font-size: 0.72rem;
}
.footer-nav { display: flex; gap: 20px; margin-left: auto; }
.footer-nav a {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  transition: color 0.25s ease;
}
.footer-nav a:hover { color: var(--gold-bright); }
.footer-copy { font-size: 0.7rem; color: var(--text-dim); width: 100%; text-align: center; margin-top: 6px; opacity: 0.7; }

/* ==========================================================================
   Reveal por scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.card-grid .reveal:nth-child(2), .pricing-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.card-grid .reveal:nth-child(3), .pricing-grid .reveal:nth-child(3) { transition-delay: 0.24s; }
.process-grid .reveal:nth-child(1) { transition-delay: 0.04s; }
.process-grid .reveal:nth-child(2) { transition-delay: 0.10s; }
.process-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.process-grid .reveal:nth-child(4) { transition-delay: 0.22s; }
.process-grid .reveal:nth-child(5) { transition-delay: 0.28s; }
.process-grid .reveal:nth-child(6) { transition-delay: 0.34s; }
.process-grid .reveal:nth-child(7) { transition-delay: 0.40s; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1320px) {
  .hero-stage { grid-template-columns: 226px minmax(0, 1fr) 246px; gap: 16px; }
  .hud { padding: 12px; }
  .hud-globe { width: 104px; height: 104px; }
  .platform { width: 980px; }
  .device-showcase.asset-laptop .laptop-img { width: min(640px, 100%); }
  .device-showcase.asset-phone .phone-img { right: 0.7%; bottom: 84px; width: 138px; }
  .halo-2 { display: none; }
}

@media (max-width: 1080px) {
  html, body { overflow-x: hidden; }
  .hero-stage { display: flex; flex-direction: column; }
  .hero-center { order: 1; width: 100%; }
  .hud { width: 100%; animation: none; }
  .hud-left-top  { order: 3; }
  .hud-right-top { order: 4; }
  .hud-left-mid  { order: 5; }
  .hud-right-mid { order: 6; }
  .hud-right-bot { order: 7; }
  .hero-stage > aside { max-width: 560px; margin: 0 auto; }
  .halo-1, .halo-3 { display: none; }

  .metrics-band { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--line-soft); }

  .card-grid, .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin: 0 auto; }
  .pricing-card.is-popular { order: -1; }
  .package-flow {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .choice-grid--type,
  .choice-grid--need {
    grid-template-columns: 1fr;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(3, 2, 1, 0.97);
    border-bottom: 1px solid var(--line-soft);
    padding: 18px 24px 24px;
    gap: 4px;
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .main-nav.is-open { transform: translateY(0); }
  .nav-link { padding: 13px 10px; border-bottom: 1px solid rgba(217, 169, 58, 0.08); }
  .nav-toggle { display: flex; }
  .btn-whatsapp { margin-left: auto; }

  .platform { width: 820px; max-width: 100vw; overflow: hidden; bottom: -34px; }
  .bg-beam { display: none; }
  .device-showcase.asset-laptop .laptop-img { width: min(600px, 100%); }
  .device-showcase.asset-phone .phone-img { right: 0.7%; bottom: 80px; width: 130px; }
  .p-ring.r8, .p-ring.r9, .p-ring.seg2, .p-arc.a3, .p-orb.o4 { display: none; }
}

@media (max-width: 767px) {
  .hero-deco,
  .hero-stage > aside {
    display: none;
  }

  .brand-logo {
    width: clamp(126px, 33vw, 168px);
    max-height: 42px;
  }

  .brand-tag {
    font-size: 0.46rem;
    letter-spacing: 0.18em;
  }

  .process-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .choice-grid--type {
    grid-template-columns: 1fr;
  }

  .choice-card--request {
    padding: 14px 14px;
    align-items: flex-start;
  }

  .choice-card--request .choice-card__copy {
    display: none;
  }

  .choice-card__title {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    line-height: 1.35;
  }

  .choice-card__icon {
    width: 38px;
    height: 38px;
  }

  .choice-card__icon svg {
    width: 20px;
    height: 20px;
  }

  .choice-pill {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .form-choice-row {
    gap: 10px;
  }

  .form-field span,
  .form-field legend {
    font-size: 0.72rem;
  }

  .form-field legend {
    margin-bottom: 20px;
  }

  .consent-kicker {
    font-size: 0.64rem;
    margin-bottom: 8px;
  }

  .consent-field .consent-box {
    padding: 14px 14px;
    gap: 10px;
  }

  .consent-field input[type="checkbox"] {
    width: 22px;
    height: 22px;
  }

  .demo-modal__dialog {
    max-height: 88vh;
  }

  .demo-modal__intro h2,
  .demo-modal__intro p,
  .section-title,
  .section-subtitle,
  .cta-panel h2,
  .cta-panel p,
  .differentiator-card h3,
  .differentiator-card p {
    text-align: center;
  }
}

@media (max-height: 900px) and (min-width: 1081px) {
  .hero { padding-top: 78px; padding-bottom: 22px; }
  .hero-title { margin-bottom: 12px; }
  .hero-sub { margin-bottom: 20px; }
  .hero-actions { margin-bottom: 4px; }
  .device-showcase { margin-top: 6px; padding-bottom: 168px; }
}

@media (max-width: 680px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .hero { padding: 92px 14px 24px; }
  .hero-kicker { font-size: 0.74rem; letter-spacing: 0.24em; color: var(--gold-bright); }
  .hero-sub { font-size: 0.94rem; }
  .btn-whatsapp { display: none; }
  .header-inner {
    position: relative;
    padding: 10px 60px 10px 16px;
  }
  .nav-toggle {
    display: flex;
    position: fixed;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: linear-gradient(160deg, #f2d88b 0%, var(--gold-bright) 34%, var(--gold) 64%, var(--gold-dark) 100%);
    border-color: rgba(255, 240, 180, 0.58);
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(243, 199, 92, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.34);
    z-index: 60;
  }
  .nav-toggle span {
    width: 16px;
    background: #130d02;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.35);
  }

  .hero-stage,
  .device-showcase {
    overflow-x: hidden;
  }
  .device-showcase { padding-bottom: 118px; }
  .platform {
    width: min(100vw, 430px);
    max-width: 100%;
    height: 430px;
    transform: translateX(-50%);
    transform-origin: 50% 78%;
    bottom: -26px;
    overflow: hidden;
  }
  .p-ring.r8, .p-ring.seg2 { display: block; }
  .p-ring.r9, .p-arc.a3, .p-orb.o4 { display: none; }

  .phone { width: 100px; right: 10px; bottom: 44px; padding: 2.5px; }
  .phone-screen { min-height: 178px; padding: 16px 9px 9px; gap: 7px; }
  .phone-copy { font-size: 0.62rem; }
  .device-showcase.asset-phone .phone-img { width: clamp(90px, 24vw, 112px); bottom: 40px; right: 10px; }
  .device-showcase.asset-laptop .laptop-img { width: min(100%, 520px); }

  .mini-copy { max-width: 62%; }
  .mini-links { display: none; }
  .laptop-base { margin: 0 -22px; }

  .metrics-band { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .metric:last-child { border-bottom: none; }

  .section { padding: 44px 16px 14px; }
  .section-title { letter-spacing: 0.22em; font-size: 0.88rem; }
  .section-title::before, .section-title::after { margin: 0 10px 3px; }

  .process-card { flex-wrap: wrap; }
  .hero-actions .btn { width: 100%; }
  .hero-actions-secondary .btn,
  .cta-secondary-actions .btn,
  .footer-actions .btn {
    width: 100%;
  }
  .footer-nav { margin-left: 0; }
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
  }
  .bg-beam { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 88px 10px 22px; }
  .hero-title { font-size: 2.15rem; }
  .device-showcase { padding-bottom: 110px; }
  .platform { width: 100%; max-width: 430px; height: 430px; bottom: -24px; }
  .device-showcase.asset-laptop .laptop-img { width: min(100%, 470px); }
  .device-showcase.asset-phone .phone-img { width: 92px; right: 8px; bottom: 34px; }
  .choice-card__copy {
    font-size: 0.76rem;
  }
}

@media (max-width: 400px) {
  .hero { padding-left: 8px; padding-right: 8px; }
  .device-showcase { padding-bottom: 104px; }
  .platform { max-width: 380px; height: 380px; bottom: -20px; }
  .device-showcase.asset-phone .phone-img { width: 88px; right: 6px; bottom: 30px; }
  .hero-actions .btn { font-size: 0.78rem; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hud-bars span { transform: scaleY(1); }
  .gauge-arc { stroke-dashoffset: 0 !important; }
  .spark-line { stroke-dashoffset: 0; }
  .spark-area { opacity: 1; }
  .hud-meter-list i::after { transform: translateX(0); }
  .hud-scan, .bg-beam { display: none; }
}

/* ==========================================================================
   WEBACANA MK6.2 — Pulido comercial + formulario demo
   ========================================================================== */

body.modal-open {
  overflow: hidden;
}

.hero {
  overflow-x: clip;
}

.device-showcase {
  width: min(1040px, 100%);
  overflow-x: clip;
}

.section-subtitle {
  max-width: 780px;
  margin: -8px auto 28px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.98rem;
}

.package-hook {
  color: var(--text);
  font-size: 0.92rem;
  margin-top: 6px;
  text-align: center;
  line-height: 1.55;
}

.package-copy {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.package-ideal {
  margin-top: auto;
  margin-bottom: 18px;
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.6;
}

.package-ideal strong {
  color: var(--gold-bright);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.manifest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.manifest-panel,
.manifest-side {
  padding: 30px 28px;
}

.manifest-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.manifest-panel p {
  color: var(--text-dim);
  line-height: 1.75;
  font-size: 0.94rem;
}

.manifest-panel .btn {
  align-self: flex-start;
  margin-top: 6px;
}

.mini-flow {
  display: grid;
  gap: 14px;
  margin: 6px 0 14px;
}

.mini-flow li {
  position: relative;
  padding-left: 22px;
}

.mini-flow li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 12px rgba(243, 199, 92, 0.65);
}

.mini-flow strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
}

.mini-flow span,
.manifest-note {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.6;
}

.manifest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.manifest-tags span {
  padding: 7px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(217, 169, 58, 0.06);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.manifest-line {
  height: 1px;
  margin: 12px 0 14px;
  background: linear-gradient(90deg, transparent, rgba(243, 199, 92, 0.56), transparent);
}

.choice-grid {
  display: grid;
  gap: 12px;
}

.choice-grid--type {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-grid--need {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 17px;
  border: 1px solid rgba(217, 169, 58, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(217, 169, 58, 0.08), transparent 42%),
    rgba(8, 8, 10, 0.96);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.choice-card--request {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.choice-card--request .choice-card__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.choice-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(243, 199, 92, 0.28);
  border-radius: 12px;
  background: rgba(217, 169, 58, 0.06);
  box-shadow: inset 0 0 16px rgba(217, 169, 58, 0.08), 0 0 18px rgba(217, 169, 58, 0.08);
}
.choice-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold-bright);
}

.choice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 199, 92, 0.38);
  box-shadow: 0 0 0 1px rgba(243, 199, 92, 0.18), 0 12px 30px rgba(0, 0, 0, 0.36);
}

.choice-card:focus-within,
.choice-pill:focus-within {
  outline: 2px solid rgba(243, 199, 92, 0.5);
  outline-offset: 2px;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card.is-selected {
  border-color: rgba(243, 199, 92, 0.75);
  box-shadow: 0 0 0 1px rgba(243, 199, 92, 0.26), 0 0 24px rgba(243, 199, 92, 0.12);
}
.choice-card.is-selected::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(243, 199, 92, 0.36);
  box-shadow: 0 0 22px rgba(243, 199, 92, 0.18);
  pointer-events: none;
  animation: choice-glow 1.2s ease;
}
.choice-card.is-selected .choice-card__icon {
  border-color: rgba(243, 199, 92, 0.6);
  box-shadow: inset 0 0 18px rgba(243, 199, 92, 0.14), 0 0 22px rgba(243, 199, 92, 0.18);
}

.choice-card.is-activated,
.choice-pill.is-activated {
  animation: choice-burst 0.72s ease;
}

@keyframes choice-burst {
  0% {
    transform: scale(0.98);
    box-shadow: 0 0 0 0 rgba(243, 199, 92, 0.36), 0 0 0 1px rgba(243, 199, 92, 0.18);
  }
  45% {
    transform: scale(1.015);
    box-shadow: 0 0 0 12px rgba(243, 199, 92, 0), 0 0 28px rgba(243, 199, 92, 0.28), 0 0 0 1px rgba(243, 199, 92, 0.34);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 1px rgba(243, 199, 92, 0.26), 0 0 24px rgba(243, 199, 92, 0.12);
  }
}

@keyframes choice-glow {
  0% { opacity: 0; transform: scale(0.98); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.02); }
}

.choice-card__title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.94rem;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
}

.choice-card__copy {
  display: block;
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.58;
}

.choice-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid rgba(217, 169, 58, 0.16);
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.96);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.choice-pill.is-selected {
  border-color: rgba(243, 199, 92, 0.72);
  box-shadow: 0 0 16px rgba(243, 199, 92, 0.12);
}

.choice-pill input {
  accent-color: var(--gold-bright);
}

.consent-field .consent-box {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(217, 169, 58, 0.06), transparent 46%), rgba(8, 8, 10, 0.9);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
}

.consent-field input[type="checkbox"] {
  width: 24px;
  height: 24px;
  margin-top: 0;
  accent-color: var(--gold-bright);
  transform: scale(1.35);
  transform-origin: center;
  flex-shrink: 0;
}

.differentiator-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.differentiator-card {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  text-align: center;
  align-items: center;
}

.differentiator-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(243, 199, 92, 0.12), 0 0 22px rgba(217, 169, 58, 0.1);
}

.differentiator-icon {
  width: 34px;
  height: 34px;
  color: var(--gold-bright);
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(217, 169, 58, 0.06);
  box-shadow: inset 0 0 14px rgba(217, 169, 58, 0.08);
}

.differentiator-card h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
}

.differentiator-card p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.68;
  text-align: center;
}

.manifest-strip-section {
  padding-top: 28px;
}

.manifest-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(217, 169, 58, 0.05), transparent 42%), var(--panel);
  box-shadow: 0 0 26px rgba(0, 0, 0, 0.42);
}

.manifest-strip span {
  display: block;
  text-align: center;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 940px;
  margin: 0 auto;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 54px 22px 22px;
  position: relative;
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: 0.08em;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-bright);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 22px 22px;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item summary,
.faq-item p {
  text-align: center;
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 2, 1, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.demo-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.demo-modal__dialog {
  width: min(900px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 60% 120% at 50% 0%, rgba(217, 169, 58, 0.12), transparent 68%),
    linear-gradient(160deg, rgba(217, 169, 58, 0.06), transparent 34%),
    var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.75), 0 0 40px rgba(217, 169, 58, 0.18);
  scrollbar-color: rgba(243, 199, 92, 0.55) rgba(255, 255, 255, 0.04);
}

.demo-modal__dialog::-webkit-scrollbar {
  width: 10px;
}

.demo-modal__dialog::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.demo-modal__dialog::-webkit-scrollbar-thumb {
  background: rgba(243, 199, 92, 0.42);
  border-radius: 999px;
}

.demo-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(217, 169, 58, 0.08);
  color: var(--gold-bright);
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.demo-modal__close:hover {
  transform: translateY(-2px);
  background: rgba(217, 169, 58, 0.16);
}

.demo-modal__eyebrow {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.demo-modal__intro h2 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  letter-spacing: 0.06em;
  background: linear-gradient(175deg, #f7eec3 0%, #e0c16e 22%, var(--gold-bright) 42%, var(--gold) 64%, #9d6a18 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.demo-modal__intro p {
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.04rem;
  line-height: 1.7;
  text-align: center;
}
.demo-modal__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.demo-form {
  margin-top: 24px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: center;
}

.form-field fieldset,
fieldset.form-field {
  border: 0;
  margin: 0;
  padding: 0;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field span,
.form-field legend {
  font-family: var(--font-display);
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
}
.form-field legend {
  margin-bottom: 16px;
}

.form-field--conditional {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  margin-top: 0 !important;
  padding-top: 0;
  transition: opacity 0.32s ease, transform 0.32s ease, max-height 0.34s ease, margin-top 0.34s ease;
}

.form-field--conditional.is-visible {
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(217, 169, 58, 0.22);
  border-radius: 12px;
  background: rgba(8, 8, 8, 0.88);
  color: var(--text);
  padding: 14px 15px;
  font: inherit;
  text-align: left;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(243, 199, 92, 0.72);
  box-shadow: 0 0 0 3px rgba(243, 199, 92, 0.12);
}

.form-field small,
.form-help {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.55;
}

.form-help {
  text-align: center;
}

.form-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
  justify-content: center;
}

.form-choice-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.form-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.form-message {
  min-height: 24px;
  margin-top: 14px;
  font-size: 1rem;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(217, 169, 58, 0.16);
  background: rgba(8, 8, 10, 0.72);
  text-align: center;
}

.form-message strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  letter-spacing: 0.22em;
  color: var(--gold-bright);
}

.form-message p {
  margin: 0 0 10px;
  color: var(--text-dim);
  line-height: 1.6;
}

.form-message p:last-child {
  margin-bottom: 0;
}

.form-message-sub {
  font-size: 0.92rem;
}

.form-message-sub {
  font-size: 0.92rem;
}

.form-close-btn {
  margin-top: 10px;
}

.form-message.is-loading {
  color: var(--text-dim);
}

.form-message.is-success {
  color: #d6f2b2;
}

.form-message.is-error {
  color: #f5a89a;
}

.demo-form.is-submitting button[type="submit"] {
  opacity: 0.72;
  pointer-events: none;
}

.phone {
  right: -2%;
  bottom: 18px;
  width: 326px;
  padding: 7px;
}

.phone-btn {
  right: -4px;
  width: 4px;
}

.phone-btn.pb1 {
  top: 168px;
  height: 58px;
}

.package-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 920px;
  margin: 0 auto 24px;
}

.package-flow span {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(217, 169, 58, 0.08), transparent 50%), rgba(8, 8, 10, 0.82);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-align: center;
}

.package-flow strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-bright);
  font-size: 0.88rem;
}

.package-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 auto 8px;
  padding: 6px 10px;
  border: 1px solid rgba(243, 199, 92, 0.28);
  border-radius: 999px;
  background: rgba(217, 169, 58, 0.08);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
}

.package-chip--popular,
.package-chip--pro {
  background: rgba(217, 169, 58, 0.13);
  box-shadow: 0 0 16px rgba(217, 169, 58, 0.14);
}

.pricing-card--starter,
.pricing-card--pro {
  position: relative;
}

.package-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.package-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(217, 169, 58, 0.16);
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.86);
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.package-step {
  margin-top: -4px;
  margin-bottom: 18px;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(243, 199, 92, 0.16), 0 0 30px rgba(217, 169, 58, 0.12);
}

.pricing-card.is-popular {
  border-color: rgba(243, 199, 92, 0.38);
  box-shadow: 0 0 0 1px rgba(243, 199, 92, 0.16), 0 0 34px rgba(217, 169, 58, 0.14);
}

.pricing-card.is-popular:hover {
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(243, 199, 92, 0.2), 0 0 34px rgba(217, 169, 58, 0.2);
}

.phone-btn.pb2 {
  top: 236px;
  height: 86px;
}

.phone-screen {
  min-height: 528px;
  border-radius: 52px;
  padding: 44px 22px 20px;
  gap: 18px;
}

.phone-notch {
  top: 12px;
  width: 104px;
  height: 12px;
}

.phone-logo {
  font-size: 1rem;
}

.phone-copy {
  font-size: 1.54rem;
}

.phone-cta {
  gap: 8px;
  font-size: 0.84rem;
  padding: 10px 16px;
}

.phone-visual {
  height: 84px;
  border-radius: 14px;
}

.phone-bar {
  width: 112px;
  height: 6px;
}

.phone-underglow {
  bottom: -34px;
  height: 66px;
}

.device-showcase.asset-phone .phone-img {
  right: -2%;
  bottom: 10px;
  width: 402px;
}

@media (max-width: 1320px) {
  .differentiator-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .device-showcase.asset-phone .phone-img {
    width: 330px;
    right: -1%;
    bottom: 18px;
  }

  .phone {
    width: 280px;
    right: 0;
    bottom: 24px;
  }

  .phone-screen {
    min-height: 456px;
    padding-top: 36px;
  }

  .phone-copy {
    font-size: 1.32rem;
  }
}

@media (max-width: 1080px) {
  .manifest-grid,
  .differentiator-grid {
    grid-template-columns: 1fr;
  }

  .manifest-strip {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .device-showcase.asset-phone .phone-img {
    width: 278px;
    right: 2%;
    bottom: 28px;
  }

  .phone {
    width: 232px;
    right: 2%;
    bottom: 32px;
  }

  .phone-screen {
    min-height: 382px;
    padding-top: 30px;
  }

  .phone-copy {
    font-size: 1.08rem;
  }

  .phone-cta {
    font-size: 0.7rem;
  }
}

@media (max-width: 680px) {
  .demo-modal {
    padding: 14px;
  }

  .demo-modal__dialog {
    padding: 26px 18px;
    border-radius: 18px;
  }

  .demo-modal__intro h2 {
    font-size: clamp(1.55rem, 7.2vw, 2.05rem);
  }

  .demo-modal__intro p {
    font-size: 0.96rem;
  }

  .form-field span,
  .form-field legend {
    font-size: 0.74rem;
  }

  .choice-card__title {
    font-size: 0.84rem;
  }

  .choice-card__copy {
    font-size: 0.88rem;
  }

  .consent-field .consent-box {
    padding: 14px 14px;
    gap: 8px;
  }

  .package-flow {
    margin-bottom: 18px;
  }

  .package-badges {
    justify-content: center;
  }

  .package-step {
    text-align: center;
  }

  .manifest-panel .btn {
    width: 100%;
  }

  .device-showcase {
    padding-bottom: 154px;
  }

  .device-showcase.asset-phone .phone-img {
    width: clamp(128px, 34vw, 158px);
    right: 1%;
    bottom: 42px;
  }

  .phone {
    width: clamp(128px, 34vw, 158px);
    right: 1%;
    bottom: 44px;
    padding: 3px;
  }

  .phone-screen {
    min-height: 248px;
    border-radius: 28px;
    padding: 22px 11px 10px;
    gap: 9px;
  }

  .phone-notch {
    top: 7px;
    width: 48px;
    height: 6px;
  }

  .phone-logo {
    font-size: 0.56rem;
  }

  .phone-copy {
    font-size: 0.78rem;
  }

  .phone-cta {
    font-size: 0.5rem;
    padding: 6px 10px;
  }

  .phone-visual {
    height: 36px;
    border-radius: 8px;
  }

  .phone-bar {
    width: 54px;
    height: 4px;
  }

  .phone-btn {
    width: 2px;
    right: -2px;
  }

  .phone-btn.pb1 {
    top: 74px;
    height: 28px;
  }

  .phone-btn.pb2 {
    top: 108px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .section-subtitle {
    font-size: 0.92rem;
    margin-bottom: 22px;
  }

  .cta-panel h2 {
    font-size: 1.56rem;
  }

  .device-showcase.asset-phone .phone-img {
    width: 132px;
    right: 0;
    bottom: 38px;
  }
}
