/* ============================================================================
 * HUKPAY · SITIO PÚBLICO (landing + subpáginas)
 *
 * Paleta de marca: fucsia #D600FF, morado oscuro #3A006B, lavanda #F6F2FF,
 * negro #0B0B0F. Tipografía Plus Jakarta Sans. Tema claro por defecto (como el
 * concepto de marca) y tema oscuro con reveal líquido desde el interruptor.
 * Formas: píldoras, esquinas de 20-28px, halos fucsia, seda morada.
 * ========================================================================= */

:root {
  color-scheme: light;
  --fuchsia: #d600ff;
  --fuchsia-2: #ff3df0;
  --fuchsia-deep: #9b00c8;
  --purple: #3a006b;
  --purple-2: #5b0aa3;
  --lavender: #f6f2ff;
  --lavender-2: #ede4fb;
  --black: #0b0b0f;

  --bg: #ffffff;
  --bg-2: var(--lavender);
  --bg-3: var(--lavender-2);
  --surface: #ffffff;
  --surface-2: #faf7ff;
  --ink: #1a0b2e;
  --ink-2: #5c4a74;
  --ink-3: #9a8bb0;
  --head: var(--purple);
  --line: rgba(58, 0, 107, 0.1);
  --line-2: rgba(58, 0, 107, 0.2);
  --accent: var(--fuchsia);
  --accent-ink: #b000d4;
  --accent-soft: rgba(214, 0, 255, 0.1);
  --grad: linear-gradient(135deg, #ff3df0 0%, #d600ff 45%, #7a00c8 100%);
  --grad-dark: linear-gradient(160deg, #3a006b 0%, #1a0533 55%, #0b0b0f 100%);
  --glow: 0 18px 44px -14px rgba(214, 0, 255, 0.55);
  --shadow: 0 24px 60px -30px rgba(58, 0, 107, 0.35);
  --shadow-sm: 0 10px 30px -18px rgba(58, 0, 107, 0.3);
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0.28, 1);
  --wrap: 1180px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0b0f;
  --bg-2: #14071f;
  --bg-3: #1d0a30;
  --surface: rgba(30, 10, 52, 0.7);
  --surface-2: rgba(44, 14, 74, 0.6);
  --ink: #f6f2ff;
  --ink-2: #c2addb;
  --ink-3: #8a72a8;
  --head: #ffffff;
  --line: rgba(214, 0, 255, 0.16);
  --line-2: rgba(214, 0, 255, 0.34);
  --accent-ink: #f04bff;
  --accent-soft: rgba(214, 0, 255, 0.16);
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
  --shadow-sm: 0 10px 30px -18px rgba(0, 0, 0, 0.7);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: transparent;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------------------------------------------------------------- aurora
 * Colores en movimiento detrás de TODAS las páginas: cuatro manchas de luz
 * fucsia/morado que derivan lentamente. Solo transform + opacity, sin repintar. */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
  animation: aurora 26s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) {
  width: 52vw;
  height: 52vw;
  left: -18vw;
  top: -22vw;
  background: radial-gradient(circle, rgba(214, 0, 255, 0.55), transparent 65%);
}
.aurora i:nth-child(2) {
  width: 46vw;
  height: 46vw;
  right: -16vw;
  top: 10vh;
  background: radial-gradient(circle, rgba(122, 0, 200, 0.6), transparent 65%);
  animation-duration: 32s;
  animation-delay: -8s;
}
.aurora i:nth-child(3) {
  width: 44vw;
  height: 44vw;
  left: 20vw;
  bottom: -26vw;
  background: radial-gradient(circle, rgba(255, 61, 240, 0.45), transparent 65%);
  animation-duration: 38s;
  animation-delay: -15s;
}
.aurora i:nth-child(4) {
  width: 30vw;
  height: 30vw;
  right: 10vw;
  bottom: -10vw;
  background: radial-gradient(circle, rgba(58, 0, 107, 0.7), transparent 65%);
  animation-duration: 22s;
  animation-delay: -4s;
}
:root[data-theme="dark"] .aurora i {
  opacity: 0.7;
}
@keyframes aurora {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(9vw, -6vh, 0) scale(1.15);
  }
  66% {
    transform: translate3d(-6vw, 8vh, 0) scale(0.92);
  }
  100% {
    transform: translate3d(4vw, 3vh, 0) scale(1.08);
  }
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}
::selection {
  background: var(--fuchsia);
  color: #fff;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--purple);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 100;
}
.skip:focus {
  left: 12px;
}

.wrap {
  width: min(var(--wrap), 100% - 32px);
  margin-inline: auto;
}

/* ---------------------------------------------------------------- tipografía */
h1,
h2,
h3,
h4 {
  color: var(--head);
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-weight: 800;
}
.display {
  font-size: clamp(38px, 5.4vw, 66px);
  letter-spacing: -0.03em;
}
.h2 {
  font-size: clamp(30px, 3.6vw, 44px);
}
.h3 {
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.01em;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 16px;
}
.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-2);
  max-width: 56ch;
}
.muted {
  color: var(--ink-2);
}
.accent {
  color: var(--accent-ink);
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------- botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease),
    background 0.2s var(--ease);
}
.btn--sm {
  padding: 11px 20px;
  font-size: 14px;
}
.btn--lg {
  padding: 18px 34px;
  font-size: 16px;
}
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.btn--white {
  background: #fff;
  color: var(--purple);
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.5);
}
.btn--white:hover {
  transform: translateY(-2px);
}
.btn--ghost {
  border: 1.5px solid var(--line-2);
  color: var(--head);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
}
.btn--outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}
.link {
  font-weight: 700;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s;
}
.link:hover {
  border-color: currentColor;
}
.link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ---------------------------------------------------------------- logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--head);
}
.logo__mark {
  width: 30px;
  height: 34px;
  fill: var(--fuchsia);
}
.logo__word {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 1;
  transform: translateY(-1px);
}
.logo--light {
  color: #fff;
}

/* ---------------------------------------------------------------- próximamente */
.soon {
  position: relative;
  z-index: 51;
  overflow: hidden;
  background: var(--grad);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  padding: 10px 16px;
}
.soon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  background-size: 250% 100%;
  animation: shine 5s ease-in-out infinite;
  pointer-events: none;
}
.soon b {
  display: inline-block;
  padding: 3px 10px;
  margin-right: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.soon a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
}
.nav__row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}
.nav__links {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}
.nav__link {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--head);
  background: var(--accent-soft);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__login {
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  color: var(--head);
}
.theme {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--head);
}
.theme svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.theme__moon {
  display: none;
}
:root[data-theme="dark"] .theme__moon {
  display: block;
}
:root[data-theme="dark"] .theme__sun {
  display: none;
}
.burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.burger span {
  width: 18px;
  height: 2px;
  background: var(--head);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

/* ---------------------------------------------------------------- secciones */
.section {
  padding: clamp(64px, 9vw, 120px) 0;
}
.section--tight {
  padding: clamp(40px, 6vw, 72px) 0;
}
.section--lavender {
  background: color-mix(in srgb, var(--bg-2) 72%, transparent);
}
.section__head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__head .lede {
  margin-top: 16px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split--rev > :first-child {
  order: 2;
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  animation: drift 40s ease-in-out infinite alternate;
  will-change: transform;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 55%);
  opacity: 0.85;
}
:root[data-theme="dark"] .hero__bg img {
  opacity: 0.6;
}
:root[data-theme="dark"] .hero__bg::after {
  opacity: 0.7;
}
@keyframes drift {
  0% {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.18) translate3d(-3%, 2%, 0);
  }
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(214, 0, 255, 0.22), transparent 62%);
  filter: blur(40px);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
}
.hero__title {
  margin-bottom: 22px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: 30px;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 36px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}
.hero__proof span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fuchsia);
  margin-right: 8px;
}

/* La composición "pago exitoso + tarjeta" del concepto de marca, en CSS. */
.art {
  position: relative;
  aspect-ratio: 1 / 0.92;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}
.art__blob {
  position: absolute;
  inset: 8% 6%;
  border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%;
  background: var(--grad);
  filter: blur(2px);
  opacity: 0.95;
  animation: blob 14s ease-in-out infinite alternate;
}
.art__blob--2 {
  inset: 22% 18% 4% 30%;
  background: linear-gradient(200deg, #7a00c8, #3a006b);
  opacity: 0.85;
  animation-duration: 18s;
  animation-direction: alternate-reverse;
}
@keyframes blob {
  to {
    border-radius: 54% 46% 44% 56% / 46% 56% 44% 54%;
    transform: rotate(6deg) scale(1.03);
  }
}
.art__card {
  position: absolute;
  left: 2%;
  top: 10%;
  width: 56%;
  background: var(--surface);
  border-radius: 24px;
  padding: 26px 26px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  animation: float 7s ease-in-out infinite;
}
.art__check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #22c55e;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.art__check svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.art__card b {
  display: block;
  color: var(--head);
  font-size: 14px;
  font-weight: 700;
}
.art__amount {
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 800;
  color: var(--head);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 6px 0 4px;
  font-variant-numeric: tabular-nums;
}
.art__card small {
  color: var(--ink-3);
  font-size: 12.5px;
  display: block;
}
.art__card .btn {
  margin-top: 16px;
  width: 100%;
}
.art__plastic {
  position: absolute;
  right: 0;
  bottom: 4%;
  width: 50%;
  aspect-ratio: 1.58;
  border-radius: 20px;
  background: var(--grad-dark);
  color: #fff;
  padding: 20px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55);
  transform: rotate(-8deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: float 9s ease-in-out infinite reverse;
}
.art__plastic .logo__mark {
  width: 26px;
  height: 30px;
}
.art__plastic__num {
  font-size: 15px;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.art__wave {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.art__pill {
  position: absolute;
  left: 4%;
  bottom: 14%;
  background: var(--surface);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--head);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 8s ease-in-out infinite 1s;
}
.art__pill i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  font-style: normal;
  font-size: 12px;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.art__plastic {
  animation-name: floatr;
}
@keyframes floatr {
  0%,
  100% {
    transform: rotate(-8deg) translateY(0);
  }
  50% {
    transform: rotate(-8deg) translateY(-10px);
  }
}

/* ---------------------------------------------------------------- tarjeta 3D
 * La tarjeta real (PNG sin fondo) gira sobre su eje, flota y se inclina hacia
 * el ratón. El giro vive en el hijo (animación) y la inclinación en el padre
 * (variables), para que no se pisen. */
.art {
  perspective: 1400px;
}
.art:has(.card3d) .art__plastic {
  display: none;
}
.card3d {
  position: absolute;
  right: -4%;
  bottom: 2%;
  width: 58%;
  aspect-ratio: 1.675; /* proporción real del PNG generado */
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.35s var(--ease);
  animation: float 8s ease-in-out infinite;
  z-index: 2;
}
.card3d__inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: spin3d 14s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}
.art:hover .card3d__inner {
  animation-play-state: paused;
}
.card3d__face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* El halo va en cada cara: un filter en el padre aplana el 3D y esconde el reverso. */
  filter: drop-shadow(0 30px 40px rgba(20, 0, 40, 0.6))
    drop-shadow(0 0 40px rgba(214, 0, 255, 0.45));
}
.card3d__front {
  z-index: 1;
}
.card3d__back {
  transform: rotateY(180deg);
}
/* Sin reverso propio: una cara oscura con el glifo, dibujada en CSS. */
.card3d__back--css {
  border-radius: 7% / 11%;
  background: linear-gradient(90deg, transparent 0 8%, rgba(0, 0, 0, 0.55) 8% 92%, transparent 92%)
    0 18% / 100% 16% no-repeat, var(--grad-dark);
  box-shadow: inset 0 0 0 1px rgba(214, 0, 255, 0.35);
}
@keyframes spin3d {
  0% {
    transform: rotateY(0deg) rotateX(0deg);
  }
  35% {
    transform: rotateY(180deg) rotateX(6deg);
  }
  50% {
    transform: rotateY(180deg) rotateX(0deg);
  }
  85% {
    transform: rotateY(360deg) rotateX(-6deg);
  }
  100% {
    transform: rotateY(360deg) rotateX(0deg);
  }
}

/* ---------------------------------------------------------------- features */
.feature {
  padding: 28px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.feature p {
  color: var(--ink-2);
  font-size: 15px;
}
.feature--plain {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 8px 0;
}
.feature--plain:hover {
  transform: none;
  box-shadow: none;
}

/* La fila de cuatro pilares del concepto: Rápido, Seguro, Global, Simple. */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillar {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pillar svg {
  width: 26px;
  height: 26px;
  flex: none;
  stroke: var(--fuchsia);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar b {
  display: block;
  color: var(--head);
  font-size: 15px;
}
.pillar span {
  color: var(--ink-2);
  font-size: 13.5px;
}

/* ---------------------------------------------------------------- banda oscura con imagen */
.band {
  border-radius: var(--r-xl);
  background: var(--grad-dark);
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  box-shadow: var(--shadow);
}
.band h2,
.band h3 {
  color: #fff;
}
.band__text {
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.band__text p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 48ch;
}
.band__media {
  position: relative;
  min-height: 300px;
}
.band--fuchsia {
  background: var(--grad);
}
.band--fuchsia .band__text p {
  color: rgba(255, 255, 255, 0.9);
}

/* Imagen con reserva: si el archivo no existe aún, queda la seda morada y el glifo. */
.ph {
  position: relative;
  overflow: hidden;
  background: radial-gradient(60% 70% at 30% 30%, rgba(255, 61, 240, 0.7), transparent 70%),
    radial-gradient(50% 60% at 75% 70%, rgba(122, 0, 200, 0.9), transparent 70%),
    linear-gradient(160deg, #5b0aa3, #1a0533);
}
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(80% 50% at 50% 110%, rgba(255, 255, 255, 0.12), transparent 60%),
    repeating-linear-gradient(115deg, transparent 0 34px, rgba(255, 255, 255, 0.035) 34px 36px);
  pointer-events: none;
}
.ph > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  animation: kenburns 22s ease-in-out infinite alternate;
  transition: filter 0.6s var(--ease);
  will-change: transform;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.16) 45%,
    rgba(255, 61, 240, 0.18) 50%,
    transparent 65%
  );
  background-size: 250% 100%;
  animation: shine 9s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}
.ph {
  box-shadow: 0 0 0 1px rgba(214, 0, 255, 0.18), var(--shadow);
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.ph:hover {
  box-shadow: 0 0 0 1px rgba(214, 0, 255, 0.5), 0 0 60px -10px rgba(214, 0, 255, 0.65),
    var(--shadow);
  transform: translateY(-4px);
}
.ph:hover > img {
  filter: saturate(1.2) brightness(1.06);
}
@keyframes kenburns {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.12) translate3d(-2.5%, 1.5%, 0);
  }
}
@keyframes shine {
  0%,
  60% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}
.ph > .ph__mark {
  position: absolute;
  right: 6%;
  bottom: 6%;
  width: 14%;
  min-width: 44px;
  fill: rgba(255, 255, 255, 0.35);
  z-index: 0;
}
.ph--round {
  border-radius: var(--r-xl);
}
.ph--card {
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
}
.ph--tall {
  aspect-ratio: 3 / 4;
}
.ph--wide {
  aspect-ratio: 16 / 9;
}
.ph--square {
  aspect-ratio: 1;
}
.ph__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  color: #fff;
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

/* ---------------------------------------------------------------- medios de pago */
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 44px;
  padding: 26px 0 8px;
}
.logos__item {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logos__item i {
  display: inline-block;
  width: 26px;
  height: 18px;
  border-radius: 4px;
  background: var(--grad);
  opacity: 0.85;
}
.logos__note {
  text-align: center;
  color: var(--ink-3);
  font-size: 13.5px;
  margin-top: 8px;
}

/* ---------------------------------------------------------------- tarjetas y bento */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card--lavender {
  background: var(--bg-2);
  border-color: transparent;
}
.card--dark {
  background: var(--grad-dark);
  color: #fff;
  border-color: transparent;
}
.card--dark h3,
.card--dark h2 {
  color: #fff;
}
.card--dark p {
  color: rgba(255, 255, 255, 0.78);
}
.card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.card p {
  color: var(--ink-2);
  font-size: 15px;
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.bento > * {
  grid-column: span 2;
}
.bento > .span-3 {
  grid-column: span 3;
}
.bento > .span-4 {
  grid-column: span 4;
}
.bento > .span-6 {
  grid-column: span 6;
}

/* ---------------------------------------------------------------- cifras */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  padding: 26px 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.stat b {
  display: block;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--head);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block;
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 14px;
}

/* ---------------------------------------------------------------- pasos */
.steps {
  counter-reset: paso;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  padding: 30px 26px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: paso;
  content: "0" counter(paso);
  display: inline-block;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--grad);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.step p {
  color: var(--ink-2);
  font-size: 15px;
}

/* ---------------------------------------------------------------- lista con check */
.checks {
  list-style: none;
  display: grid;
  gap: 12px;
}
.checks li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-2);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft) center / 12px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b000d4' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}
.checks li b {
  color: var(--head);
}
.band .checks li,
.card--dark .checks li,
.cta .checks li {
  color: rgba(255, 255, 255, 0.85);
}
.band .checks li b,
.card--dark .checks li b,
.cta .checks li b {
  color: #fff;
}

/* ---------------------------------------------------------------- precios */
.price {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.price--hot {
  border-color: transparent;
  background: var(--grad-dark);
  color: #fff;
  box-shadow: var(--shadow);
}
.price--hot h3,
.price--hot .price__num {
  color: #fff;
}
.price--hot .checks li {
  color: rgba(255, 255, 255, 0.85);
}
.price--hot .checks li b {
  color: #fff;
}
.price__badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
}
.price__num {
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--head);
  line-height: 1;
}
.price__num small {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-2);
}
.price--hot .price__num small {
  color: rgba(255, 255, 255, 0.7);
}
.price .btn {
  margin-top: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.table th,
.table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.table th {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.table td b {
  color: var(--head);
}
.table td:last-child,
.table th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

/* ---------------------------------------------------------------- código */
.code {
  background: #14071f;
  color: #e9dcff;
  border-radius: var(--r-lg);
  padding: 22px 24px;
  font-family: "Cascadia Code", ui-monospace, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre-wrap;
  border: 1px solid rgba(214, 0, 255, 0.25);
  box-shadow: var(--shadow);
}
.code .code__bar + * {
  display: block;
}
code {
  font-family: "Cascadia Code", ui-monospace, Consolas, monospace;
  font-size: 0.92em;
  background: var(--accent-soft);
  color: var(--accent-ink);
  padding: 1px 6px;
  border-radius: 6px;
}
.code code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
.code .k {
  color: #ff7af5;
}
.code .s {
  color: #c4b5fd;
}
.code .c {
  color: #8a72a8;
}
.code .n {
  color: #ffd166;
}
.code__bar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.code__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.code__bar i:first-child {
  background: var(--fuchsia);
}

/* ---------------------------------------------------------------- FAQ */
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  color: var(--head);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent-ink);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 0 18px;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- testimonios */
.quote {
  padding: 30px 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote p {
  font-size: 17px;
  color: var(--head);
  font-weight: 600;
  line-height: 1.5;
}
.quote footer {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--ink-2);
  font-size: 14px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  flex: none;
}
.quote footer b {
  color: var(--head);
  display: block;
}

/* ---------------------------------------------------------------- página interior */
.page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(60% 80% at 100% 0%, rgba(214, 0, 255, 0.16), transparent 60%),
    color-mix(in srgb, var(--bg-2) 70%, transparent);
  padding: clamp(48px, 7vw, 96px) 0;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -6%;
  z-index: -1;
  background: url("/site/img/seda-morada.jpg") center / cover no-repeat;
  opacity: 0.16;
  animation: drift 46s ease-in-out infinite alternate;
  will-change: transform;
}
:root[data-theme="dark"] .page-hero::before {
  opacity: 0.5;
}
.page-hero > .wrap {
  position: relative;
}
.page-hero .lede {
  margin-top: 18px;
}
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.page-hero .hero__actions {
  margin-top: 26px;
}

/* Texto largo (legales, recursos). */
.prose {
  max-width: 760px;
}
.prose h2 {
  font-size: 26px;
  margin: 40px 0 12px;
}
.prose h3 {
  font-size: 19px;
  margin: 26px 0 8px;
}
.prose p,
.prose li {
  color: var(--ink-2);
  margin-bottom: 12px;
}
.prose ul,
.prose ol {
  padding-left: 22px;
  margin-bottom: 14px;
}
.prose strong {
  color: var(--head);
}
.prose .meta {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.toc {
  position: sticky;
  top: 96px;
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--bg-2);
  font-size: 14px;
}
.toc b {
  display: block;
  color: var(--head);
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.toc a {
  display: block;
  padding: 6px 0;
  color: var(--ink-2);
  font-weight: 600;
}
.toc a:hover {
  color: var(--accent-ink);
}
.layout-aside {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

/* ---------------------------------------------------------------- formulario */
.form {
  display: grid;
  gap: 16px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--head);
}
.field input,
.field select,
.field textarea {
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line-2);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--fuchsia);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.form__ok {
  display: none;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  font-weight: 600;
}
.form__ok.is-on {
  display: block;
}
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.contact-card svg {
  width: 24px;
  height: 24px;
  flex: none;
  stroke: var(--accent-ink);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-card b {
  display: block;
  color: var(--head);
}
.contact-card span {
  color: var(--ink-2);
  font-size: 14.5px;
}

/* ---------------------------------------------------------------- CTA final */
.cta {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--grad-dark);
  color: #fff;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: aurora 18s ease-in-out infinite alternate;
}
.cta::after {
  animation-duration: 24s;
  animation-direction: alternate-reverse;
}
.cta::before {
  width: 40vw;
  height: 40vw;
  left: -12%;
  top: -40%;
  background: rgba(214, 0, 255, 0.55);
}
.cta::after {
  width: 34vw;
  height: 34vw;
  right: -10%;
  bottom: -50%;
  background: rgba(255, 61, 240, 0.4);
}
.cta > * {
  position: relative;
}
.cta h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 50px);
  max-width: 18ch;
  margin-inline: auto;
}
.cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 52ch;
  margin: 16px auto 28px;
}
.cta .hero__actions {
  justify-content: center;
  margin-top: 0;
}

/* ---------------------------------------------------------------- footer */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 28px;
  margin-top: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -60%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(214, 0, 255, 0.35), transparent 62%);
  filter: blur(50px);
  pointer-events: none;
}
.footer > .wrap {
  position: relative;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__claim {
  color: #fff;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 22px 0 12px;
}
.footer__note {
  font-size: 14px;
  max-width: 36ch;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
}
.footer ul a:hover {
  color: #fff;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 13px;
}
.footer__tags {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 700;
}
.footer__tags i {
  color: var(--fuchsia);
  font-style: normal;
  margin: 0 8px;
}

/* ---------------------------------------------------------------- reveal al hacer scroll */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.rv.is-in {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------- transición líquida de tema */
::view-transition-old(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-new(root) {
  animation: themeReveal 0.85s var(--ease) forwards;
  clip-path: circle(0px at var(--reveal-x, 90%) var(--reveal-y, 5%));
  mix-blend-mode: normal;
}
@keyframes themeReveal {
  to {
    clip-path: circle(160% at var(--reveal-x, 90%) var(--reveal-y, 5%));
  }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .grid-4,
  .stats,
  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento > *,
  .bento > .span-3,
  .bento > .span-4 {
    grid-column: span 3;
  }
  .layout-aside {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
  }
}
@media (max-width: 860px) {
  .nav__links {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 84px;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 10px;
    box-shadow: var(--shadow);
  }
  .nav__links.is-open {
    display: flex;
  }
  .nav__login {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero__grid,
  .split,
  .page-hero__grid,
  .band,
  .footer__top {
    grid-template-columns: 1fr;
  }
  .split--rev > :first-child {
    order: 0;
  }
  .grid-3,
  .steps,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .bento > *,
  .bento > .span-3,
  .bento > .span-4 {
    grid-column: span 6;
  }
  .band__media {
    min-height: 260px;
    order: -1;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .grid-4,
  .stats,
  .footer__cols,
  .pillars {
    grid-template-columns: 1fr;
  }
  .art__card {
    padding: 18px;
  }
  .btn {
    padding: 14px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
}
