/* ==========================================================================
   Landing de BClandinglab
   Colores: la paleta de la marca, sin cambios (fondo #0A0A0F, violeta #8B5CF6,
   acentos #A78BFA #F0A7C8 #8AB4FF #FBE38A #C084FC, verde de WhatsApp #22C55E y
   los degradés de texto, de botón y «pro»).
   Estructura y tipografías: skill ui-ux-pro-max («Feature-Rich Showcase» + demo
   del producto, bloques grandes, Rubik + Nunito Sans).
   Movimiento: entrada de la portada, apariciones al bajar, portada en 3D que
   sigue al mouse, luz que sigue al mouse en las tarjetas y tres animaciones en
   bucle (cinta, borde del plan recomendado, luces del cierre) que se pausan con
   el botón de la cinta, fuera de pantalla y con «reducir movimiento».
   Sin Tailwind ni librerías: CSS propio, íconos SVG dentro de la página.
   ========================================================================== */

@property --angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  /* Paleta de la marca */
  --bg: #0A0A0F;
  --card: #121219;
  --secondary: #1A1A24;
  --muted: #1F1F2A;
  --fg: #FAFAFA;
  --fg-2: #9A9AAE;
  --line: #23232E;
  --line-strong: rgba(250, 250, 250, .4);

  --primary: #8B5CF6;
  --violet: #A78BFA;
  --purple: #C084FC;
  --pink: #F0A7C8;
  --blue: #8AB4FF;
  --yellow: #FBE38A;
  --whatsapp: #22C55E;

  --grad-text: linear-gradient(120deg, hsl(265 90% 70%) 0%, hsl(330 85% 75%) 55%, hsl(220 90% 70%) 100%);
  --grad-cta: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
  --grad-pro: linear-gradient(140deg, hsl(263 70% 22%) 0%, hsl(240 30% 10%) 50%, hsl(220 60% 18%) 100%);
  --grad-card: linear-gradient(160deg, #14141C 0%, #0E0E15 100%);
  --grad-border: linear-gradient(135deg, hsl(265 90% 70% / .7), hsl(330 85% 75% / .5), hsl(220 90% 70% / .6));

  --shadow-glow: 0 20px 80px -20px hsl(265 90% 60% / .45);
  --shadow-violet: 0 0 60px -10px hsl(265 90% 60% / .35);
  --shadow-card: 0 4px 30px -10px hsl(240 50% 2% / .6);

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;

  --font-title: 'Rubik', system-ui, sans-serif;
  --font-text: 'Nunito Sans', system-ui, sans-serif;

  --gutter: 16px;
  --max: 1200px;
  --nav-h: 68px;

  /* Movimiento: la curva de siempre de la marca, una suave para ida y vuelta y un rebote corto */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* La luz violeta de fondo de siempre, fija y sin repintar al bajar. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, hsl(263 80% 30% / .25), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, hsl(280 70% 30% / .12), transparent);
}

main { overflow-x: clip; }

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

figure { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: hsl(265 90% 60% / .3); }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--fg);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.i {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Texto con el degradé de la marca */
.grad {
  background-image: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* En la portada el degradé mide el doble y entra con un barrido; en reposo se ve igual que .grad. */
.grad-sweep {
  background-image: linear-gradient(120deg, hsl(265 90% 70%) 0%, hsl(330 85% 75%) 27.5%, hsl(220 90% 70%) 50%, hsl(265 90% 70%) 75%, hsl(330 85% 75%) 100%);
  background-size: 200% 100%;
  background-position: 0% 0;
}

/* Colores de acento por elemento */
.acc-violet { --acc: var(--violet); }
.acc-pink { --acc: var(--pink); }
.acc-blue { --acc: var(--blue); }
.acc-yellow { --acc: var(--yellow); }
.acc-purple { --acc: var(--purple); }
.acc-green { --acc: var(--whatsapp); }

/* --- Botones ----------------------------------------------------------- */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .25s var(--ease-out), border-color .25s var(--ease-out);
}
.btn .i { transition: transform .25s var(--ease-out); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { min-height: 56px; padding: 0 1.8rem; }
@media (max-width: 399px) {
  /* En los celulares más angostos un botón largo pasa a dos renglones en vez de cortarse. */
  .btn-lg { padding: 10px 1.1rem; white-space: normal; text-align: center; line-height: 1.25; }
}
.btn-sm { min-height: 44px; padding: 0 1.1rem; font-size: .9375rem; }
.btn-block { width: 100%; }

/* Primario: el degradé de la marca. La letra blanca sobre este violeta da 4,2:1, por eso va en
   19 px y negrita: para WCAG es texto grande y alcanza con 3:1. */
.btn-primary {
  background: var(--grad-cta);
  color: #fff;
  font-size: 1.1875rem;
  font-weight: 700;
  box-shadow: var(--shadow-violet);
}
.btn-primary::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .32), transparent);
  transform: skewX(-20deg);
  transition: transform .8s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px -12px hsl(265 90% 60% / .7), 0 0 40px -6px hsl(280 85% 65% / .45);
}
.btn-primary:hover::before { transform: skewX(-20deg) translateX(480%); }
.btn-primary:hover .i { transform: translateX(3px); }

.btn-ghost {
  background: hsl(240 18% 9% / .6);
  border-color: var(--line-strong);
  color: var(--fg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: hsl(265 90% 70% / .8);
  background: linear-gradient(160deg, hsl(265 75% 30% / .5) 0%, hsl(280 70% 22% / .4) 50%, hsl(240 18% 12% / .6) 100%);
  box-shadow: 0 20px 50px -14px hsl(265 90% 60% / .5);
}
.btn-ghost .i-wa { color: var(--whatsapp); }

/* --- Progreso de lectura ----------------------------------------------- */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 2px;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--grad-text);
  transform-origin: left;
  transform: scaleX(0);
}

/* --- Barra de arriba --------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: transform .4s var(--ease-out);
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: hsl(240 18% 8% / .8);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid hsl(0 0% 100% / .08);
  opacity: 0;
  transition: opacity .3s var(--ease-out);
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--nav-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.125rem;
  white-space: nowrap;
}
/* El logo: la Órbita, un anillo abierto como una «C» y el punto que aterriza en la abertura (el
   cliente que llega; la tienda abierta todo el tiempo). Al cargar, el anillo se dibuja y el punto
   aterriza; al pasar el mouse (o con el teclado), el punto da una vuelta. Archivos: Marca/Logo Orbita. */
.logo-orbita {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  overflow: visible;
  filter: drop-shadow(0 0 10px hsl(265 90% 60% / .45));
}
.orbita-anillo {
  fill: none;
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 169;
  stroke-dashoffset: 169;
  animation: orbita-dibujar .8s var(--ease-out) .15s forwards;
}
.orbita-punto {
  fill: var(--yellow);
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: orbita-aterrizar .55s var(--ease-spring) .75s forwards;
}
/* La vuelta es del grupo, alrededor del centro del anillo (60,60 en su dibujo). */
.orbita-giro { transform-origin: 60px 60px; }
.logo:hover .orbita-giro,
.logo:focus-visible .orbita-giro { animation: orbita-girar .9s cubic-bezier(.45, .05, .55, .95); }
@keyframes orbita-dibujar { to { stroke-dashoffset: 0; } }
@keyframes orbita-aterrizar {
  from { opacity: 0; transform: translate(12px, -18px) scale(.3); }
  to { opacity: 1; transform: none; }
}
@keyframes orbita-girar { to { transform: rotate(360deg); } }

.nav-links {
  display: none;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--fg-2);
  font-weight: 600;
  font-size: .9688rem;
  text-decoration: none;
  transition: color .25s var(--ease-out), background-color .25s var(--ease-out);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav-links a:hover { color: var(--fg); background: hsl(240 18% 12% / .6); }
.nav-links a[aria-current] { color: var(--fg); }
.nav-links a[aria-current]::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-login { display: none; }

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: hsl(240 18% 9% / .6);
  color: var(--fg);
  cursor: pointer;
  transition: border-color .25s var(--ease-out), background-color .25s var(--ease-out);
}
.js .menu-btn { display: inline-flex; }
.menu-btn:hover { border-color: var(--violet); background: var(--secondary); }

@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .nav-login { display: inline-flex; }
  .js .menu-btn { display: none; }
}

@media (max-width: 479px) {
  .nav-inner { gap: 8px; }
  .nav-start { padding: 0 1rem; }
  .nav-start .i { display: none; }
}
@media (max-width: 419px) {
  .nav .logo-text { display: none; }
}

/* Menú del celular */
.menu {
  width: min(420px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  padding: 20px var(--gutter) 28px;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
}
.menu::backdrop { background: hsl(240 20% 3% / .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.menu[open] { animation: menu-in .45s var(--ease-out); }
.menu[open]::backdrop { animation: fade-in .3s var(--ease-out); }
.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.menu-list { display: grid; gap: 8px; }
.menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--grad-card);
  border: 1px solid var(--line);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  transition: border-color .25s var(--ease-out);
}
.menu-list a:hover { border-color: hsl(265 90% 70% / .6); }
.menu-list .i { color: var(--violet); }
.menu[open] .menu-list li { animation: rv-up .55s var(--ease-out) calc(120ms + var(--i, 0) * 50ms) both; }
.menu-actions { display: grid; gap: 10px; margin-top: 24px; }

@keyframes menu-in { from { translate: 100% 0; } to { translate: 0 0; } }

/* --- Cosas comunes de sección ------------------------------------------ */

.section { position: relative; padding: 96px 0; }
.section-tight { padding-top: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.eyebrow::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--grad-cta);
  box-shadow: 0 0 12px hsl(265 90% 60% / .8);
}

.section-head { max-width: 760px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 2.2vw + 1.3rem, 3.25rem);
  font-weight: 700;
}
.section-head p {
  margin-top: 16px;
  color: var(--fg-2);
  font-size: 1.125rem;
}

/* Palabras que suben desde abajo (títulos). El relleno deja lugar a tildes y descendentes. */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: .1em .05em .18em;
  margin: -.1em -.05em -.18em;
}
.w > span { display: inline-block; }

/* Bloques grandes */
.block {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
}
@media (min-width: 640px) { .block { padding: 48px 44px; } }
.block-pro { background: var(--grad-pro); box-shadow: var(--shadow-glow); }
.block-card { background: var(--grad-card); border: 1px solid var(--line); box-shadow: var(--shadow-card); }

/* Borde con el degradé de la marca */
.gborder::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

/* Luz que sigue al mouse en las tarjetas (solo con mouse) */
.spot { position: relative; isolation: isolate; }
.spot::before,
.spot::after {
  content: '';
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease-out);
}
.spot::before {
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), hsl(265 90% 70% / .13), transparent 45%);
}
.spot::after {
  inset: -1px;
  z-index: 1;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), hsl(265 90% 78% / .85), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@media (hover: hover) and (pointer: fine) {
  .spot:hover::before,
  .spot:hover::after { opacity: 1; }
}

/* --- Portada ------------------------------------------------------------ */

.hero { position: relative; padding: 48px 0 112px; }

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-lines {
  position: absolute;
  inset: -12% 0 0;
  background-image:
    linear-gradient(hsl(0 0% 100% / .045) 1px, transparent 1px),
    linear-gradient(90deg, hsl(0 0% 100% / .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000, transparent);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000, transparent);
  transform: translate3d(0, calc(var(--sy, 0) * .2px), 0);
}
.glow {
  position: absolute;
  border-radius: 50%;
}
.glow-a {
  width: 680px;
  height: 680px;
  left: 50%;
  top: -300px;
  margin-left: -340px;
  background: radial-gradient(closest-side, hsl(265 90% 60% / .32), transparent);
  transform: translate3d(0, calc(var(--sy, 0) * .35px), 0);
}
.glow-b {
  width: 520px;
  height: 520px;
  right: -180px;
  top: 140px;
  background: radial-gradient(closest-side, hsl(220 90% 70% / .2), transparent);
  transform: translate3d(0, calc(var(--sy, 0) * -.15px), 0);
}
.glow-c {
  width: 560px;
  height: 560px;
  left: -220px;
  bottom: -260px;
  background: radial-gradient(closest-side, hsl(330 85% 75% / .16), transparent);
  transform: translate3d(0, calc(var(--sy, 0) * .1px), 0);
}
.hero-spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--px, 50%) var(--py, 30%), hsl(265 90% 70% / .1), transparent 45%);
  opacity: 0;
  transition: opacity .6s var(--ease-out);
}
.hero.is-pointer .hero-spot { opacity: 1; }

.hero .wrap { position: relative; }
.hero-grid {
  display: grid;
  gap: 64px;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: hsl(240 18% 9% / .6);
  border: 1px solid hsl(0 0% 100% / .08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--fg-2);
  font-weight: 600;
  font-size: .9375rem;
}
.chip .i { color: var(--violet); }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.5rem, 4.4vw + 1rem, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.hero-lead {
  margin-top: 22px;
  max-width: 34em;
  color: var(--fg-2);
  font-size: 1.1875rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--fg-2);
  font-weight: 600;
  font-size: .9688rem;
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .i { color: var(--violet); stroke-width: 3; width: 1.05em; height: 1.05em; }

@media (max-width: 559px) {
  .hero-actions .btn { width: 100%; }
}

/* Pantallas del producto, en 3D: .device-enter hace la entrada y .device-tilt sigue al mouse. */
.hero-visual {
  position: relative;
  margin-right: 4%;
  perspective: 1600px;
}
.device-enter,
.device-tilt {
  position: relative;
  transform-style: preserve-3d;
}
.device-tilt {
  --rx0: 0deg;
  --ry0: 0deg;
  transform: rotateX(calc(var(--rx0) + var(--tx, 0deg))) rotateY(calc(var(--ry0) + var(--ty, 0deg)));
}

.device-glow {
  position: absolute;
  inset: 4% -6% -10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, hsl(265 90% 60% / .5), transparent);
  pointer-events: none;
}

.shape {
  position: absolute;
  pointer-events: none;
}
.shape-square {
  width: 42%;
  aspect-ratio: 1;
  top: -12%;
  left: -7%;
  border-radius: 36px;
  border: 1px solid hsl(265 90% 70% / .25);
  background: linear-gradient(135deg, hsl(265 90% 60% / .28), hsl(265 90% 60% / .04));
  transform: translate3d(0, calc(var(--sy, 0) * -.18px), 0) rotate(-8deg);
}
.shape-circle {
  width: 28%;
  aspect-ratio: 1;
  right: -9%;
  top: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, hsl(330 85% 75% / .45), hsl(330 85% 75% / .06) 70%);
  transform: translate3d(0, calc(var(--sy, 0) * .14px), 0);
}
.shape-dots {
  width: 40%;
  height: 42%;
  left: 6%;
  bottom: -16%;
  background-image: radial-gradient(hsl(220 90% 70% / .55) 1.6px, transparent 2px);
  background-size: 18px 18px;
  transform: translate3d(0, calc(var(--sy, 0) * -.08px), 0);
}

.browser {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0E0E15;
  border: 1px solid hsl(0 0% 100% / .08);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 14px;
  background: #14141C;
  border-bottom: 1px solid hsl(0 0% 100% / .06);
}
.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2A2A38;
}
.browser img { width: 100%; aspect-ratio: 1440 / 900; }

.phone {
  position: absolute;
  right: -4%;
  bottom: -18%;
  width: 31%;
  max-width: 216px;
  padding: 6px;
  border-radius: 30px;
  background: #0E0E15;
  border: 1px solid hsl(0 0% 100% / .12);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85), var(--shadow-violet);
}
.phone img { width: 100%; aspect-ratio: 390 / 844; border-radius: 24px; }

.tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid hsl(0 0% 100% / .1);
  box-shadow: var(--shadow-card), 0 10px 30px -12px hsl(265 90% 60% / .45);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1.2;
}
.tag .i { color: var(--acc); }
.tag-pos { left: 0; bottom: 10%; }
.tag-qr { right: 26%; bottom: -21%; }

@media (max-width: 559px) {
  .tag { font-size: .8125rem; padding: 8px 10px; }
  .tag-pos { left: 0; bottom: auto; top: -22px; }
  .tag-qr { right: auto; left: 0; bottom: -22%; }
  .phone { right: 0; width: 34%; }
}

@media (min-width: 960px) {
  .hero { padding: 64px 0 128px; }
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; }
  .hero-visual { margin-right: 0; }
  /* En la compu las pantallas quedan inclinadas y con profundidad: el celular y las etiquetas
     están más cerca, así se mueven distinto cuando el mouse inclina la escena. */
  .device-tilt { --rx0: 6deg; --ry0: -10deg; }
  .device-glow { transform: translateZ(-90px); }
  .shape-square { transform: translate3d(0, calc(var(--sy, 0) * -.18px), -60px) rotate(-8deg); }
  .shape-circle { transform: translate3d(0, calc(var(--sy, 0) * .14px), -40px); }
  .shape-dots { transform: translate3d(0, calc(var(--sy, 0) * -.08px), -30px); }
  .phone { transform: translateZ(70px); }
  .tag-pos { left: -4%; transform: translateZ(110px); }
  .tag-qr { transform: translateZ(140px); }
}

/* --- Cinta de funciones ------------------------------------------------- */

.ticker {
  position: relative;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: hsl(240 18% 6% / .6);
}
.ticker-mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 84%, transparent 94%);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 84%, transparent 94%);
}
.ticker-track {
  display: flex;
  justify-content: center;
}
.ticker-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.ticker-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .9375rem;
  white-space: nowrap;
}
.ticker-list .i { color: var(--acc); }
.ticker-pause {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  translate: 0 -50%;
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--secondary);
  color: var(--fg);
  cursor: pointer;
  transition: border-color .25s var(--ease-out);
}
.ticker-pause:hover { border-color: var(--violet); }
.ticker-pause .ic-play,
.anim-off .ticker-pause .ic-pause { display: none; }
.anim-off .ticker-pause .ic-play { display: block; }

/* Con JS se duplica la lista y corre en bucle; la cinta deja lugar al botón de pausa. */
.ticker.is-ready .ticker-pause { display: grid; }
.ticker.is-ready .ticker-mask {
  margin-right: calc(var(--gutter) + 52px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 90%, transparent);
}
.ticker.is-ready .ticker-track {
  justify-content: flex-start;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker.is-ready .ticker-list {
  flex-wrap: nowrap;
  padding-right: 12px;
}

@keyframes ticker { to { transform: translateX(-50%); } }

/* --- Beneficios --------------------------------------------------------- */

.duo {
  display: grid;
  gap: 20px;
  margin-top: 52px;
}
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }

.block-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--grad-cta);
  box-shadow: var(--shadow-violet);
  color: #fff;
}
.block-icon .i { width: 28px; height: 28px; }
.block-kicker {
  margin-top: 22px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acc);
}
.block h3 { margin-top: 6px; font-size: clamp(1.625rem, 1vw + 1.25rem, 2rem); font-weight: 700; }
.block > p { margin-top: 14px; color: var(--fg-2); }
.block > .block-kicker { margin-top: 22px; color: var(--acc); }
.ticks { display: grid; gap: 10px; margin-top: 22px; font-weight: 600; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks .i { margin-top: .2em; width: 1.1em; height: 1.1em; stroke-width: 3; color: var(--violet); }

.subhead {
  margin-top: 80px;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.375rem;
}

.features {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.feature,
.value {
  border-radius: var(--radius);
  padding: 26px 24px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.feature:hover,
.value:hover {
  transform: translateY(-4px);
  border-color: hsl(265 90% 70% / .45);
  box-shadow: 0 24px 60px -28px hsl(265 90% 60% / .6);
}
.feature-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--acc) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent);
  color: var(--acc);
  transition: scale .35s var(--ease-spring), box-shadow .35s var(--ease-out);
}
.feature:hover .feature-icon {
  scale: 1.12;
  box-shadow: 0 0 30px -6px color-mix(in srgb, var(--acc) 70%, transparent);
}
.feature h3 { margin-top: 18px; font-size: 1.25rem; font-weight: 600; }
.feature p { margin-top: 6px; color: var(--fg-2); }

/* --- Pasos -------------------------------------------------------------- */

.steps {
  display: grid;
  gap: 28px;
  margin-top: 48px;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--acc);
  color: var(--bg);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 0 28px -4px color-mix(in srgb, var(--acc) 65%, transparent);
}
.step h3 { margin-top: 8px; font-size: 1.3125rem; font-weight: 600; }
.step p { margin-top: 6px; color: var(--fg-2); }
/* Conector entre pasos: vertical en el celular, horizontal en la compu. */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 21px;
  top: 52px;
  bottom: -20px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--acc), color-mix(in srgb, var(--acc) 10%, transparent));
  transform-origin: top;
}
/* En fila: 3 pasos desde 860 px, 4 pasos desde 1000 px. */
@media (min-width: 860px) {
  .steps-3 { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps-3 .step { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
  .steps-3 .step:not(:last-child)::after {
    left: calc(50% + 34px);
    top: 21px;
    bottom: auto;
    width: calc(100% + 32px - 68px);
    height: 2px;
    background: linear-gradient(90deg, var(--acc), color-mix(in srgb, var(--acc) 10%, transparent));
    transform-origin: left;
  }
}
@media (min-width: 1000px) {
  .steps-4 { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps-4 .step { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
  .steps-4 .step:not(:last-child)::after {
    left: calc(50% + 34px);
    top: 21px;
    bottom: auto;
    width: calc(100% + 28px - 68px);
    height: 2px;
    background: linear-gradient(90deg, var(--acc), color-mix(in srgb, var(--acc) 10%, transparent));
    transform-origin: left;
  }
}
.steps-cta { margin-top: 44px; text-align: center; }

/* --- Quiénes somos ------------------------------------------------------ */

.about-grid {
  display: grid;
  gap: 20px;
  margin-top: 52px;
}
@media (min-width: 960px) { .about-grid { grid-template-columns: 7fr 5fr; align-items: stretch; } }

.values {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) { .values { grid-template-columns: 1fr 1fr; } }
.value { padding: 24px; }
.value h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1875rem; font-weight: 600; }
.value h3 .i { color: var(--acc); }
.value p { margin-top: 8px; color: var(--fg-2); font-size: 1rem; }

.mission { display: flex; flex-direction: column; }
.mission blockquote {
  margin: 16px 0 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(1.375rem, .8vw + 1.1rem, 1.75rem);
  line-height: 1.3;
}
.mission h3 { margin-top: 28px; font-size: 1rem; font-weight: 700; }
.mission .ticks { margin-top: 12px; }

/* --- Planes ------------------------------------------------------------- */

.plans-glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 30%;
  width: 760px;
  height: 760px;
  margin-left: -380px;
  border-radius: 50%;
  background: radial-gradient(closest-side, hsl(265 90% 60% / .18), transparent);
  pointer-events: none;
}

.plans {
  position: relative;
  display: grid;
  gap: 16px;
  margin-top: 52px;
  align-items: stretch;
}
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1240px) { .plans { grid-template-columns: repeat(5, 1fr); gap: 14px; } }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  padding: 26px 22px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.plan:hover {
  transform: translateY(-4px);
  border-color: hsl(265 90% 70% / .45);
}
.plan-featured {
  background: var(--grad-pro);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}
@media (min-width: 1240px) {
  .plan-featured { transform: scale(1.03); }
  .plan-featured:hover { transform: scale(1.03) translateY(-4px); }
}
.plan-enterprise {
  background: hsl(240 18% 9% / .6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
/* Borde de luz que gira alrededor del plan recomendado */
.plan-ring {
  position: absolute;
  inset: -1px;
  z-index: 1;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--angle), #8B5CF6, #F0A7C8, #8AB4FF, #C084FC, #8B5CF6);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  animation: spin 6s linear infinite;
}
@keyframes spin { to { --angle: 360deg; } }

.plan-badge {
  position: absolute;
  top: -14px;
  left: 22px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--bg);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .04em;
  box-shadow: 0 6px 20px -6px hsl(45 95% 70% / .6);
}
.plan h3 { font-size: 1.375rem; font-weight: 700; }
.plan-for { margin-top: 6px; color: var(--fg-2); font-size: .9375rem; min-height: 3em; }
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin-top: 18px;
  font-family: var(--font-title);
}
.price strong { font-size: 2.125rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.price-from { color: var(--fg-2); font-weight: 500; }
.price-unit { margin-top: 4px; color: var(--fg-2); font-size: .875rem; }
.price-note { margin-top: 4px; color: var(--violet); font-weight: 700; font-size: .9375rem; }
.plan hr { width: 100%; margin: 20px 0; border: 0; border-top: 1px solid var(--line); }
.plan-featured hr { border-top-color: hsl(0 0% 100% / .14); }
.plan .ticks { margin-top: 0; flex: 1; align-content: start; gap: 9px; font-weight: 600; font-size: .9375rem; }
.plan-featured .ticks .i { color: #fff; }
.plan .ticks .soft { color: var(--fg-2); font-weight: 500; }
.plan .ticks .soft .i { color: var(--fg-2); stroke-width: 2; }
.plan .btn { margin-top: 24px; }

.plans-note {
  position: relative;
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  color: var(--fg-2);
  font-size: .9375rem;
}

/* --- Preguntas ---------------------------------------------------------- */

.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; } }
.faq-aside p { margin-top: 16px; color: var(--fg-2); }
.faq-aside .btn { margin-top: 24px; }
@media (min-width: 960px) { .faq-aside { position: sticky; top: calc(var(--nav-h) + 32px); } }

.faq-list { display: grid; gap: 12px; }
.faq-list details {
  border-radius: var(--radius);
  background: var(--grad-card);
  border: 1px solid var(--line);
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.faq-list details[open] { border-color: hsl(265 90% 70% / .5); box-shadow: var(--shadow-violet); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.35;
  transition: color .25s var(--ease-out);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--violet); }
.faq-list summary .i { color: var(--violet); transition: transform .35s var(--ease-out); }
.faq-list details[open] summary .i { transform: rotate(180deg); }
.faq-list details p { padding: 0 20px 20px; color: var(--fg-2); }
.faq-list details[open] p { animation: rv-up .45s var(--ease-out) both; }

/* --- Otros servicios ---------------------------------------------------- */

.other {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 960px) { .other { grid-template-columns: 1fr auto; gap: 48px; } }
.other > :not(.other-glow) { position: relative; z-index: 1; }
.other h2 { margin-top: 12px; font-size: clamp(1.75rem, 1.6vw + 1.2rem, 2.5rem); font-weight: 700; }
.other p { margin-top: 14px; max-width: 40em; color: var(--fg-2); }
.other p strong { color: var(--fg); }
.other .price { margin-top: 18px; }
.other .price strong { font-size: 2rem; }
.other .price span { color: var(--fg-2); }
.other-glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}
.other-glow-a { width: 360px; height: 360px; left: -80px; top: -120px; background: radial-gradient(closest-side, hsl(220 90% 70% / .3), transparent); }
.other-glow-b { width: 320px; height: 320px; right: 18%; bottom: -160px; background: radial-gradient(closest-side, hsl(330 85% 75% / .22), transparent); }

/* --- Cierre ------------------------------------------------------------- */

.final {
  text-align: center;
  padding: 80px 24px;
}
@media (min-width: 640px) { .final { padding: 112px 48px; } }
.final > :not(.blob) { position: relative; z-index: 1; }
.final h2 {
  font-size: clamp(2.25rem, 3.6vw + 1rem, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.final p { max-width: 34em; margin: 20px auto 0; color: rgba(250, 250, 250, .9); font-size: 1.1875rem; }
.final .hero-actions { justify-content: center; }

/* Luces que se desplazan despacio en el cierre */
.blob {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  animation: drift 18s var(--ease-in-out) infinite alternate;
}
.blob-1 { width: 520px; height: 520px; left: -170px; top: -230px; background: radial-gradient(closest-side, hsl(265 90% 60% / .55), transparent); }
.blob-2 { width: 460px; height: 460px; right: -150px; bottom: -230px; background: radial-gradient(closest-side, hsl(330 85% 75% / .35), transparent); animation-duration: 22s; animation-delay: -7s; }
.blob-3 { width: 320px; height: 320px; right: 24%; top: -150px; background: radial-gradient(closest-side, hsl(220 90% 70% / .32), transparent); animation-duration: 26s; animation-delay: -13s; }

@keyframes drift {
  0% { translate: 0 0; }
  50% { translate: 70px 40px; }
  100% { translate: -50px 80px; }
}

/* --- Pie ---------------------------------------------------------------- */

.footer {
  padding: 72px 0 40px;
  border-top: 1px solid var(--line);
  background: #0D0D13;
}
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { margin-top: 14px; max-width: 26em; color: var(--fg-2); }
.footer-brand .btn { margin-top: 22px; }
.footer h3 {
  font-family: var(--font-title);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.footer ul { display: grid; gap: 4px; margin-top: 14px; }
.footer ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(250, 250, 250, .85);
  text-decoration: none;
  transition: color .25s var(--ease-out);
}
.footer ul a:hover { color: var(--fg); text-decoration: underline; text-decoration-color: var(--violet); text-underline-offset: 4px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--fg-2);
  font-size: .9375rem;
}
.footer-bottom .i { width: 1em; height: 1em; color: var(--primary); vertical-align: -.12em; }

/* --- WhatsApp flotante -------------------------------------------------- */

.wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 56px;
  height: 56px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--grad-cta);
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1875rem;
  text-decoration: none;
  box-shadow: var(--shadow-glow);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
/* Dos ondas al rato de entrar, para que se note (menos de 5 s en total). */
.wa::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--grad-cta);
  opacity: 0;
  animation: ping 1.6s var(--ease-out) 2.4s 2;
}
.wa:hover { transform: translateY(-3px); box-shadow: 0 20px 80px -10px hsl(265 90% 60% / .7), 0 0 50px -5px hsl(280 85% 65% / .5); }
.wa .i { width: 24px; height: 24px; }
.wa-text { display: none; }
@media (min-width: 640px) {
  .wa { right: 24px; bottom: 24px; padding: 0 22px; }
  .wa-text { display: inline; }
}

@keyframes ping {
  from { opacity: .5; scale: 1; }
  to { opacity: 0; scale: 1.6; }
}

/* ==========================================================================
   Página de landing pages y portfolios (otros-servicios.html)
   ========================================================================== */

.acc-fuchsia { --acc: #D946EF; }

/* Cuatro beneficios: 2 por fila y 4 en pantallas anchas */
@media (min-width: 1000px) { .features-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .features-4 { grid-template-columns: repeat(4, 1fr); } }

/* Portada: dos trabajos reales, uno detrás del otro */
/* El escalón va como relleno del contenedor: con margen, el margen de la de adelante se
   escapaba hacia arriba (colapso de márgenes) y bajaba también la de atrás. */
.stack { position: relative; padding-top: 19%; }
.stack .browser img { aspect-ratio: auto; }
.browser-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 72%;
}
.browser-front {
  position: relative;
  width: 80%;
  margin-left: auto;
}
.stack .tag-wa { left: 0; bottom: 6%; }
.stack .tag-cel { right: 4%; top: 4%; }
@media (max-width: 559px) {
  .stack .tag-wa { bottom: -18px; }
  .stack .tag-cel { top: -18px; right: 0; }
}
@media (min-width: 960px) {
  .browser-back { transform: translateZ(-40px); }
  .stack .tag-wa { left: -6%; transform: translateZ(120px); }
  .stack .tag-cel { right: -2%; transform: translateZ(90px); }
}

.hero-proof {
  margin-top: 26px;
  color: var(--fg-2);
  font-size: .9688rem;
}
.hero-proof a {
  color: var(--fg);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: hsl(265 90% 70% / .6);
  text-underline-offset: 4px;
  transition: text-decoration-color .25s var(--ease-out);
}
.hero-proof a:hover { text-decoration-color: var(--violet); }

/* Trabajos */
.works {
  display: grid;
  gap: 20px;
  margin-top: 52px;
}
@media (min-width: 760px) {
  .works { grid-template-columns: repeat(2, 1fr); }
  /* con un número impar de trabajos, el último va centrado y del mismo ancho (no colgado a la izquierda) */
  .work:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - 20px) / 2); }
}
.work {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grad-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.work:hover {
  transform: translateY(-4px);
  border-color: hsl(265 90% 70% / .45);
  box-shadow: 0 24px 60px -28px hsl(265 90% 60% / .6);
}
.work .browser-bar { border-radius: 0; }
.work-shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0E0E15;
}
.work-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: scale .9s var(--ease-out);
}
.work:hover .work-shot img { scale: 1.05; }
.work-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 18px 20px;
}
.work-info h3 { font-size: 1.1875rem; font-weight: 600; overflow-wrap: anywhere; }
.work-info p { color: var(--fg-2); font-size: .9375rem; }
.work-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--violet);
  font-family: var(--font-title);
  font-weight: 600;
  white-space: nowrap;
}
.work-go .i { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease-out); }
.work:hover .work-go .i { transform: translate(2px, -2px); }
.work-soon {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  min-height: 260px;
  padding: 32px 24px;
  text-align: center;
  border-style: dashed;
  border-color: hsl(0 0% 100% / .14);
  box-shadow: none;
}
.work-soon:hover { transform: none; border-color: hsl(0 0% 100% / .14); box-shadow: none; }
.work-soon .i { width: 40px; height: 40px; color: var(--fg-2); }
.work-soon h3 { font-size: 1.1875rem; font-weight: 600; }
.work-soon p { color: var(--fg-2); }

/* Planes del servicio */
.offers {
  display: grid;
  gap: 20px;
  margin-top: 52px;
}
@media (min-width: 960px) { .offers { grid-template-columns: 1fr 1fr; } }
.offer {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  background: var(--grad-card);
  box-shadow: var(--shadow-card);
}
@media (min-width: 640px) { .offer { padding: 40px 36px; } }
.offer > * { position: relative; z-index: 1; }
.offer-head { display: flex; align-items: center; gap: 14px; }
.offer h3 { font-size: clamp(1.625rem, 1vw + 1.25rem, 2rem); font-weight: 700; }
.offer-for { margin-top: 14px; color: var(--fg-2); }
.offer .price { margin-top: 22px; }
.offer .price strong { font-size: 2.75rem; }
.offer .price span { color: var(--fg-2); font-weight: 600; }
.offer-terms { margin-top: 4px; color: var(--violet); font-weight: 700; }
.offer-note { margin-top: 6px; color: var(--fg-2); font-size: .9375rem; }
.offer-label {
  margin-top: 26px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acc);
}
.offer .ticks { margin-top: 12px; flex: 1; align-content: start; font-size: 1rem; }
.offer-meta {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.offer-meta dt {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.offer-meta dd { margin: 4px 0 0; }
.offer .btn { margin-top: 28px; }

.assure {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 860px) { .assure { grid-template-columns: repeat(2, 1fr); } }
.assure-lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.1875rem;
}
.assure-lead .i { color: var(--violet); }
@media (min-width: 860px) { .assure-lead, .assure-cta { grid-column: 1 / -1; } }
.assure-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-radius: var(--radius);
  padding: 22px;
  background: var(--grad-card);
  border: 1px solid var(--line);
}
.assure-item h3 { font-size: 1.125rem; font-weight: 600; }
.assure-item p { margin-top: 4px; color: var(--fg-2); }
.assure-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 8px;
  text-align: center;
  color: var(--fg-2);
}

/* Mantenimiento */
.maint {
  display: grid;
  gap: 40px;
}
@media (min-width: 960px) { .maint { grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; } }
.maint h2 { margin-top: 14px; font-size: clamp(1.875rem, 1.8vw + 1.2rem, 2.75rem); font-weight: 700; }
.maint-copy > p { margin-top: 14px; color: var(--fg-2); }
.maint-copy .price { margin-top: 22px; }
.maint-copy .price strong { font-size: 2.25rem; }
.maint-copy .price span { color: var(--fg-2); font-weight: 600; }
.maint-note {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid hsl(0 0% 100% / .1);
  background: hsl(240 18% 6% / .5);
}
.maint-note h3 { font-size: 1rem; font-weight: 700; }
.maint-note p { margin-top: 6px; color: var(--fg-2); font-size: .9688rem; }
.maint-copy .btn { margin-top: 24px; }
.maint-list { display: grid; gap: 14px; }
@media (min-width: 560px) { .maint-list { grid-template-columns: 1fr 1fr; } }
.maint-list li {
  border-radius: var(--radius);
  padding: 22px;
  background: hsl(240 18% 6% / .55);
  border: 1px solid hsl(0 0% 100% / .08);
}
.maint-list h3 { margin-top: 14px; font-size: 1.125rem; font-weight: 600; }
.maint-list p { margin-top: 6px; color: var(--fg-2); font-size: .9688rem; }

/* Redes */
.socials {
  display: grid;
  gap: 16px;
  margin-top: 44px;
}
@media (min-width: 640px) { .socials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .socials { grid-template-columns: repeat(4, 1fr); } }
.social {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  padding: 26px 24px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
a.social:hover {
  transform: translateY(-4px);
  border-color: hsl(265 90% 70% / .45);
  box-shadow: 0 24px 60px -28px hsl(265 90% 60% / .6);
}
.social h3 { margin-top: 18px; font-size: 1.25rem; font-weight: 600; }
.social p { margin-top: 6px; flex: 1; color: var(--fg-2); }
.social-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--violet);
  font-family: var(--font-title);
  font-weight: 600;
}
.social-soon { color: var(--fg-2); }
.social-soon .social-go { color: var(--fg-2); }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  color: var(--acc, var(--fg));
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.footer-social a:hover { border-color: var(--violet); transform: translateY(-2px); }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .i { width: 1.1em; height: 1.1em; color: #D946EF; }
.footer-hours { color: var(--fg-2); font-size: .9375rem; padding-top: 8px; }

/* ==========================================================================
   Movimiento
   ========================================================================== */

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rv-up { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes rv-left { from { opacity: 0; translate: -48px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes rv-right { from { opacity: 0; translate: 48px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes rv-scale { from { opacity: 0; scale: .94; } to { opacity: 1; scale: 1; } }
@keyframes word-up { from { translate: 0 112%; } to { translate: 0 0; } }
@keyframes pop-in { from { opacity: 0; scale: .5; } to { opacity: 1; scale: 1; } }
@keyframes grad-sweep { from { background-position: 100% 0; } to { background-position: 0% 0; } }
@keyframes device-in {
  from { opacity: 0; transform: rotateX(26deg) rotateY(-14deg) translate3d(0, 90px, -120px); }
  to { opacity: 1; transform: rotateX(0) rotateY(0) translate3d(0, 0, 0); }
}
@keyframes phone-in {
  from { opacity: 0; translate: 0 100px; rotate: 8deg; }
  to { opacity: 1; translate: 0 0; rotate: 0deg; }
}

/* --- Entrada de la portada ----------------------------------------------
   Solo CSS: la dispara .hero-go, que pone el script del <head> cuando cargan
   las tipografías (o a los 800 ms). Se animan `translate`, `scale` y `opacity`
   para no pisar el `transform` del 3D ni el de la luz. */
.js .hero [data-hero],
.js .hero .shape,
.js .hero .device-glow,
.js .hero .device-enter,
.js .hero .phone,
.js .hero .tag { opacity: 0; }
.js .hero h1 .w > span { translate: 0 112%; }

.hero-go .hero [data-hero] { animation: rv-up .9s var(--ease-out) var(--d, 0ms) both; }
.hero-go .hero h1 .w > span { animation: word-up 1s var(--ease-out) calc(120ms + var(--i, 0) * 70ms) both; }
.hero-go .hero .grad-sweep { animation: grad-sweep 2.2s var(--ease-in-out) .8s both; }
.hero-go .hero .device-enter { animation: device-in 1.4s var(--ease-out) .25s both; }
.hero-go .hero .device-glow { animation: fade-in 1.6s var(--ease-out) .5s both; }
.hero-go .hero .shape { animation: fade-in 1.4s var(--ease-out) .6s both; }
.hero-go .hero .phone { animation: phone-in 1.1s var(--ease-out) .8s both; }
.hero-go .hero .tag { animation: pop-in .7s var(--ease-spring) var(--d, 1.2s) both; }

/* --- Apariciones al bajar ------------------------------------------------
   Solo con JS. Lo oculto espera a .is-in (lo pone landing.js al entrar en
   pantalla); si landing.js no corre, a los 3 s .no-app muestra todo. */
.js [data-reveal],
.js [data-stagger] > :not([data-split]) { opacity: 0; }

.js [data-reveal].is-in,
.js [data-stagger] > :not([data-split]).is-in { animation: rv-up .8s var(--ease-out) var(--d, 0ms) both; }
.js [data-reveal="left"].is-in { animation-name: rv-left; animation-duration: .9s; }
.js [data-reveal="right"].is-in { animation-name: rv-right; animation-duration: .9s; }
.js [data-reveal="scale"].is-in { animation-name: rv-scale; animation-duration: 1s; }

.js [data-split] .w > span { translate: 0 112%; }
.js [data-split].is-in .w > span { animation: word-up .9s var(--ease-out) calc(var(--d, 0ms) + var(--i, 0) * 45ms) both; }

/* Pasos: el número rebota y después se dibuja el conector hacia el siguiente. */
.js .step .step-num { opacity: 0; }
.js .step.is-in .step-num { animation: pop-in .6s var(--ease-spring) calc(var(--d, 0ms) + 150ms) both; }
.js .step:not(:last-child)::after {
  transform: scaleY(0);
  transition: transform .8s var(--ease-in-out) calc(var(--d, 0ms) + 500ms);
}
@media (min-width: 860px) {
  .js .steps-3 .step:not(:last-child)::after { transform: scaleX(0); }
}
@media (min-width: 1000px) {
  .js .steps-4 .step:not(:last-child)::after { transform: scaleX(0); }
}
.js .steps .step.is-in:not(:last-child)::after { transform: none; }

/* --- Bucles: corren solo a la vista y se pausan con el botón de la cinta --- */
.ticker.is-ready .ticker-track,
.plan-ring,
.blob { animation-play-state: paused; }
.loop.is-visible .ticker-track,
.loop.is-visible .plan-ring,
.loop.is-visible .blob { animation-play-state: running; }
.ticker-mask:hover .ticker-track,
.anim-off .ticker-track,
.anim-off .plan-ring,
.anim-off .blob,
.anim-off .wa::before { animation-play-state: paused !important; }

/* --- Todo quieto: sin landing.js (.no-app), con la pausa (.anim-off) ------ */
.no-app [data-reveal],
.no-app [data-stagger] > *,
.no-app [data-split] .w > span,
.no-app .step .step-num,
.anim-off [data-reveal],
.anim-off [data-stagger] > *,
.anim-off [data-split] .w > span,
.anim-off .step .step-num,
.anim-off .hero [data-hero],
.anim-off .hero h1 .w > span,
.anim-off .hero .grad-sweep,
.anim-off .hero .shape,
.anim-off .hero .device-glow,
.anim-off .hero .device-enter,
.anim-off .hero .phone,
.anim-off .hero .tag {
  opacity: 1 !important;
  translate: none !important;
  scale: none !important;
  animation: none !important;
}
.no-app .step::after,
.anim-off .step::after { transform: none !important; transition: none !important; }

/* --- Reducir movimiento: todo en su lugar, sin bucles ni efectos ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  [data-reveal],
  [data-stagger] > *,
  [data-split] .w > span,
  .step .step-num,
  .hero [data-hero],
  .hero h1 .w > span,
  .hero .grad-sweep,
  .hero .shape,
  .hero .device-glow,
  .hero .device-enter,
  .hero .phone,
  .hero .tag,
  .menu[open],
  .menu[open]::backdrop,
  .menu[open] .menu-list li,
  .faq-list details[open] p {
    opacity: 1 !important;
    translate: none !important;
    scale: none !important;
    animation: none !important;
  }
  .step::after { transform: none !important; transition: none !important; }

  .ticker-track,
  .plan-ring,
  .blob,
  .wa::before { animation: none !important; }
  .ticker.is-ready .ticker-track { width: auto; justify-content: center; }
  .ticker.is-ready .ticker-list { flex-wrap: wrap; padding-right: 0; }
  .ticker-list[aria-hidden] { display: none; }
  .ticker-mask { -webkit-mask-image: none; mask-image: none; }
  .ticker.is-ready .ticker-pause { display: none; }

  /* La Órbita, quieta en su forma final. */
  .orbita-anillo { animation: none; stroke-dashoffset: 0; }
  .orbita-punto { animation: none; opacity: 1; }
  .logo:hover .orbita-giro,
  .logo:focus-visible .orbita-giro { animation: none; }

  .btn-primary::before { display: none; }
  .btn,
  .feature,
  .value,
  .plan,
  .nav,
  .feature-icon { transition-duration: .01ms !important; }
}
