/* ==========================================================================
   ATÓNITO — El scroll termina aquí.
   ========================================================================== */

:root {
  --bg: #030303;
  --ink: #fff;
  --ink-2: rgba(255, 255, 255, .74);
  --ink-3: rgba(255, 255, 255, .5);
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .24);

  --fire: #fc8323;
  --flame: #f34603;
  --ember: #a00e01;
  --teal: #1e7a8c;
  --steel: #5393ad;
  --navy: #041e43;

  --grad: linear-gradient(100deg, var(--flame) 0%, var(--fire) 35%, var(--steel) 72%, var(--teal) 100%);
  --grad-text: linear-gradient(100deg, #ff6a1a 0%, #ffb067 40%, #8cc4da 75%, #4fb3c4 100%);
  --conic: conic-gradient(from var(--a, 0deg), var(--flame), var(--fire), #ffd7a8, var(--steel), var(--teal), var(--flame));

  --display: "Archivo", "Arial Black", "Helvetica Neue", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --radius: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

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

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

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--fire); color: #000; }

:focus-visible {
  outline: 2px solid var(--fire);
  outline-offset: 3px;
  border-radius: 8px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: #fff; color: #000; font-weight: 600; text-decoration: none;
  transition: top .3s var(--ease);
}
.skip:focus { top: 16px; }

/* ---------- Fondo ---------- */

.bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  pointer-events: none;
}

.bg-fallback {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  display: none;
  background:
    radial-gradient(70% 55% at 0% 0%, rgba(243, 70, 3, .55), transparent 70%),
    radial-gradient(45% 40% at 100% 0%, rgba(30, 122, 140, .35), transparent 70%),
    radial-gradient(60% 45% at 15% 100%, rgba(252, 131, 35, .28), transparent 70%),
    radial-gradient(55% 45% at 100% 85%, rgba(83, 147, 173, .25), transparent 70%),
    var(--bg);
}
.no-webgl .bg { display: none; }
.no-webgl .bg-fallback { display: block; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .footer { position: relative; z-index: 2; }

/* ---------- Tipografía ---------- */

.display, .h2 {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -.012em;
}

.h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5.6vw, 5.4rem);
  line-height: .94;
  max-width: 20ch;
}

.label {
  display: flex;
  align-items: center;
  gap: .9em;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.label span { color: var(--fire); letter-spacing: .12em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
}

.dot {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fire);
  box-shadow: 0 0 12px var(--fire);
  flex: none;
}
.dot--live::after {
  content: "";
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--fire);
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping {
  0% { transform: scale(.4); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(96px, 13vw, 200px) 0; }

.section-head { display: grid; gap: 22px; }
.section-head__sub {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-2);
}

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

.btn {
  --h: 54px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  height: var(--h);
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 15px/1 var(--body);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .5s var(--ease), background-color .3s, border-color .3s, color .3s, box-shadow .4s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

.btn--light { background: #fff; color: #050505; }
.btn--light:hover { background: #ffe9d6; }

.btn--dark {
  background: #070707;
  color: #fff;
  border-color: rgba(255, 255, 255, .07);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8);
}
.btn--dark:hover { background: #000; box-shadow: 0 14px 40px -12px rgba(252, 131, 35, .45); }

.btn--ghost {
  background: rgba(255, 255, 255, .06);
  border-color: var(--line-2);
  color: #fff;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }

/* Botón con aro de luz giratorio */
.btn--glow { color: #050505; background: transparent; }
.btn--glow::before,
.btn--glow::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}
.btn--glow::before {
  inset: -2px;
  z-index: -2;
  background: var(--conic);
  animation: spin 4s linear infinite;
  box-shadow: 0 0 34px -4px rgba(252, 131, 35, .55), 0 0 60px -10px rgba(83, 147, 173, .45);
}
.btn--glow::after {
  inset: 0;
  z-index: -1;
  background: #fff;
  transition: background-color .3s;
}
.btn--glow:hover::after { background: #fff3e8; }
@keyframes spin { to { --a: 360deg; } }

/* ---------- Navegación ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px var(--gutter) 0;
  transition: transform .6s var(--ease);
}
.nav.is-hidden { transform: translateY(-120%); }

.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 8px 8px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color .5s, border-color .5s, -webkit-backdrop-filter .5s, backdrop-filter .5s;
}
.nav.is-scrolled .nav__bar {
  background: rgba(12, 12, 12, .5);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.nav__mark { width: 30px; height: auto; fill: currentColor; will-change: transform; }
.nav__word { width: 98px; height: auto; fill: currentColor; }

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .3s, background-color .3s;
}
.nav__links a:hover,
.nav__links a.is-active { color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 130px var(--gutter) 140px;
  text-align: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform, opacity;
}

.hero__lockup {
  --w: min(44vw, 600px);
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  column-gap: calc(var(--w) * .1);
  margin: clamp(28px, 4vh, 44px) 0 0;
  font: inherit;
}

.hero__mark svg {
  width: calc(var(--w) * .3);
  height: auto;
  fill: #fff;
  filter: drop-shadow(0 0 34px rgba(255, 255, 255, .22));
  will-change: transform;
}

.hero__divider {
  width: 2px;
  height: calc(var(--w) * .19);
  border-radius: 2px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .85) 20%, rgba(255, 255, 255, .85) 80%, transparent);
  transform-origin: center;
}

.hero__word {
  width: var(--w);
  height: auto;
  fill: #fff;
  overflow: hidden;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, .16));
}

.hero__tagline {
  grid-column: 2 / 4;
  justify-self: start;
  margin-top: calc(var(--w) * .045);
  padding-left: calc(var(--w) * .02);
  font-size: calc(var(--w) * .066);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.2;
  white-space: nowrap;
  color: rgba(255, 255, 255, .94);
}

.hero__sub {
  max-width: 40ch;
  margin: clamp(34px, 5vh, 52px) 0 0;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  translate: -50% 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-3);
  transition: color .3s;
}
.hero__scroll:hover { color: #fff; }
.hero__scroll i {
  position: relative;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: rgba(255, 255, 255, .18);
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 1px; height: 40%;
  background: linear-gradient(to bottom, transparent, #fff);
  animation: drip 2.2s var(--ease-io) infinite;
}
@keyframes drip { to { top: 110%; } }

/* Entrada del hero */
.js [data-intro] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
  transition: opacity 1s var(--ease), transform 1.3s var(--ease), filter 1s var(--ease);
  transition-delay: var(--intro, 0s);
}
.js .hero__mark[data-intro] { transform: rotate(-140deg) scale(.55); }
.js .hero__divider[data-intro] { transform: scaleY(0); filter: none; }
.js .hero__scroll[data-intro] { transform: translateY(0); }

.js.is-loaded [data-intro] { opacity: 1; transform: none; filter: none; }

[data-intro="0"] { --intro: .05s; }
[data-intro="1"] { --intro: .15s; }
[data-intro="2"] { --intro: .45s; }
[data-intro="4"] { --intro: .95s; }
[data-intro="5"] { --intro: 1.1s; }
[data-intro="6"] { --intro: 1.22s; }
[data-intro="7"] { --intro: 1.6s; }

.js .hero__word use {
  transform: translateY(90px);
  transition: transform 1.25s var(--ease);
  transition-delay: calc(.42s + var(--i) * .065s);
}
.is-loaded .hero__word use { transform: none; }

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  padding: clamp(40px, 7vw, 90px) 0;
  overflow: hidden;
}

.marquee__row {
  display: flex;
  width: 112%;
  margin-left: -6%;
  transform: rotate(-2.4deg);
}

.marquee__track {
  display: flex;
  flex: none;
  will-change: transform;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
  gap: .5em;
  padding-right: .5em;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7.4vw, 7rem);
  line-height: 1.08;
  white-space: nowrap;
}

.marquee__group .is-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .9);
}

.marquee__mark {
  width: .78em;
  height: auto;
  flex: none;
  fill: currentColor;
}

.marquee__row--tape {
  position: relative;
  z-index: 1;
  margin-top: clamp(-14px, -1vw, -6px);
  padding: .5em 0;
  transform: rotate(1.8deg);
  color: #070707;
  background: var(--grad);
  box-shadow: 0 30px 80px -20px rgba(243, 70, 3, .45), 0 20px 60px -20px rgba(83, 147, 173, .35);
}
.marquee__row--tape .marquee__group { font-size: clamp(1.2rem, 2.8vw, 2.4rem); gap: .8em; padding-right: .8em; }

/* ---------- Manifiesto ---------- */

.manifesto__text {
  margin: 30px 0 0;
  max-width: 21ch;
  font-size: clamp(2rem, 5.2vw, 5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.manifesto__text em { font-style: normal; }

.word { opacity: .13; transition: opacity .5s var(--ease); }
.word.is-lit { opacity: 1; }
.word.is-em {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Servicios ---------- */

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(48px, 6vw, 80px);
}

.scard {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: clamp(26px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  transition: transform .7s var(--ease), border-color .4s, translate 1.2s var(--ease), opacity 1s var(--ease);
}

.scard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(520px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 28%, transparent), transparent 62%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}
.scard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 255, 255, .7), transparent 60%);
  -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, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}
.scard:hover::before,
.scard:hover::after { opacity: 1; }
.scard > * { position: relative; z-index: 1; }

.scard__ghost {
  position: absolute !important;
  right: -60px;
  top: -50px;
  width: 300px;
  height: auto;
  fill: #fff;
  opacity: .04;
  transform: rotate(-12deg);
  transition: transform 1.2s var(--ease), opacity .6s;
}
.scard:hover .scard__ghost { transform: rotate(34deg) scale(1.06); opacity: .07; }

.scard__top { display: flex; align-items: center; justify-content: space-between; }
.scard__num {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--ink-3);
}
.scard__icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  transition: background-color .4s, color .4s, border-color .4s;
}
.scard__icon svg { width: 26px; height: 26px; }
.scard:hover .scard__icon { background: var(--c); border-color: var(--c); color: #050505; }

.scard__title {
  margin: auto 0 14px;
  padding-top: 64px;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  line-height: 1;
  letter-spacing: -.01em;
}
.scard__text { margin: 0 0 22px; max-width: 46ch; color: var(--ink-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.chips li {
  padding: 6px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
}

.scard__cta {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  align-self: flex-start;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  background: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: border-color .3s, color .3s;
}
.scard__cta svg { width: 17px; height: 17px; transition: transform .45s var(--ease); }
.scard__cta:hover { border-color: var(--c); }
.scard__cta:hover svg { transform: translateX(4px); }

/* ---------- 3 segundos ---------- */

.count { position: relative; height: 420vh; }

.count__sticky {
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.count__bars {
  position: absolute;
  top: clamp(96px, 14vh, 130px);
  left: 50%;
  display: flex;
  gap: 6px;
  width: min(420px, 72vw);
  translate: -50% 0;
}
.count__bars i {
  position: relative;
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, .18);
}
.count__bars i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

.count__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.count__num,
.count__mark {
  grid-area: 1 / 1;
  opacity: 0;
  transform: scale(.82);
  filter: blur(14px);
  transition: opacity .7s var(--ease), transform 1s var(--ease), filter .7s var(--ease);
}
.count__num {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: min(64vh, 56vw);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .22);
}
.count__mark svg {
  width: min(62vh, 70vw);
  height: auto;
  fill: rgba(255, 255, 255, .06);
  animation: rot 30s linear infinite;
}
@keyframes rot { to { transform: rotate(360deg); } }
.count__num.is-on,
.count__mark.is-on { opacity: 1; transform: none; filter: none; }

.count__lines {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 0 var(--gutter);
  text-align: center;
}
.count__line {
  grid-area: 1 / 1;
  max-width: 15ch;
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 4.8vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.01em;
  opacity: 0;
  transform: translateY(46px);
  filter: blur(10px);
  transition: opacity .6s var(--ease), transform .9s var(--ease), filter .6s var(--ease);
}
.count__line.is-on { opacity: 1; transform: none; filter: none; }
.count__line.is-past { transform: translateY(-46px); }
.count__line b {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.count__line--final { font-size: clamp(2rem, 6.2vw, 6rem); max-width: 13ch; }

/* ---------- Formatos ---------- */

.formats { position: relative; }
.formats__pin { padding: clamp(96px, 12vw, 170px) 0; }

.formats__viewport { margin-top: clamp(40px, 5vw, 64px); }

.formats__rail {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  width: max-content;
  padding: 0 var(--gutter);
  padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  will-change: transform;
}

.formats.is-pinned .formats__pin {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  padding: 80px 0 30px;
  overflow: hidden;
}
.formats.is-pinned .section-head { gap: 14px; }
.formats.is-pinned .fcard { --h: clamp(280px, 46vh, 500px); }

.fcard {
  --h: clamp(300px, 50vh, 540px);
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.fcard__screen {
  position: relative;
  isolation: isolate;
  height: var(--h);
  aspect-ratio: var(--ar, 1);
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background: #0a0a0a;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
}
.fcard--reel { --ar: 9 / 16; }
.fcard--photo { --ar: 4 / 5; }
.fcard--event { --ar: 16 / 9; }
.fcard--ai { --ar: 1 / 1; }

.fcard__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 0 6px;
  font-size: 13px;
  color: var(--ink-3);
}
.fcard__meta b {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}

.scr-bg {
  position: absolute;
  inset: -25%;
  z-index: -1;
  background:
    radial-gradient(38% 38% at 30% 30%, var(--c1), transparent 70%),
    radial-gradient(42% 42% at 72% 58%, var(--c2), transparent 70%),
    radial-gradient(50% 45% at 38% 92%, var(--c3), transparent 70%),
    #060606;
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(14deg) scale(1.12) translate(3%, -2%); }
  100% { transform: rotate(-10deg) scale(1.05) translate(-3%, 3%); }
}

/* Reel */
.fcard--reel .scr-bg { --c1: rgba(243, 70, 3, .95); --c2: rgba(83, 147, 173, .85); --c3: rgba(252, 131, 35, .9); }
.reel__bars { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; gap: 4px; }
.reel__bars i { position: relative; flex: 1; height: 2.5px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.reel__bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; animation: 9s linear infinite; }
.reel__bars i:nth-child(1)::after { animation-name: b0; }
.reel__bars i:nth-child(2)::after { animation-name: b1; }
.reel__bars i:nth-child(3)::after { animation-name: b2; }
@keyframes b0 { 0% { transform: scaleX(0); } 33.3%, 100% { transform: scaleX(1); } }
@keyframes b1 { 0%, 33.3% { transform: scaleX(0); } 66.6%, 100% { transform: scaleX(1); } }
@keyframes b2 { 0%, 66.6% { transform: scaleX(0); } 100% { transform: scaleX(1); } }

.reel__caption {
  position: absolute;
  left: 50%; top: 42%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  translate: -50% -50%;
  animation: pop 9s var(--ease) infinite;
}
.reel__caption span {
  padding: 3px 10px;
  border-radius: 7px;
  background: #fff;
  color: #000;
  font-weight: 800;
  font-size: clamp(13px, calc(var(--h) * .036), 18px);
  line-height: 1.3;
  white-space: nowrap;
}
@keyframes pop {
  0%, 4% { transform: scale(.6); opacity: 0; }
  9%, 92% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

.reel__side {
  position: absolute;
  right: 10px; bottom: 74px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reel__side svg { width: 24px; height: 24px; color: #fff; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.reel__like svg { animation: like 3s var(--ease) infinite; }
@keyframes like {
  0%, 60% { color: #fff; transform: scale(1); }
  66% { color: #ff3b5c; transform: scale(1.35); }
  76%, 100% { color: #ff3b5c; transform: scale(1); }
}

.reel__foot {
  position: absolute;
  left: 12px; right: 48px; bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  line-height: 1.3;
}
.reel__foot b, .reel__foot small { display: block; }
.reel__foot small { color: rgba(255, 255, 255, .78); font-size: 11px; }
.reel__avatar { width: 30px; height: 30px; flex: none; border: 1.5px solid #fff; border-radius: 50%; background: var(--grad); }

/* Foto de producto */
.fcard--photo .scr-bg { --c1: rgba(160, 14, 1, .7); --c2: rgba(4, 30, 67, .9); --c3: rgba(30, 122, 140, .45); }
.photo__orb {
  position: absolute;
  left: 50%; top: 45%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  translate: -50% -50%;
  background: radial-gradient(circle at 34% 30%, #fff 0 2%, #ffd9b3 7%, var(--fire) 28%, var(--flame) 52%, #3d0b00 82%);
  box-shadow: 0 0 70px rgba(252, 131, 35, .45), inset -18px -26px 50px rgba(0, 0, 0, .55);
  animation: float 6s ease-in-out infinite;
}
.photo__shadow {
  position: absolute;
  left: 50%; top: 77%;
  width: 40%; height: 5%;
  border-radius: 50%;
  translate: -50% 0;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .85), transparent);
  animation: shadow 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7%); } }
@keyframes shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.8); opacity: .6; } }

.vf i { position: absolute; width: 20px; height: 20px; border: 2px solid rgba(255, 255, 255, .85); }
.vf i:nth-child(1) { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.vf i:nth-child(2) { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.vf i:nth-child(3) { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.vf i:nth-child(4) { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

.photo__focus {
  position: absolute;
  left: 50%; top: 45%;
  width: 26%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 1.5px solid #fff;
  border-radius: 4px;
  animation: focus 4.5s var(--ease) infinite;
}
@keyframes focus {
  0% { transform: scale(1.5); opacity: 0; border-color: #fff; }
  14% { transform: scale(1); opacity: 1; border-color: #fff; }
  24%, 46% { transform: scale(1); opacity: 1; border-color: #6dff8f; }
  56%, 100% { transform: scale(1); opacity: 0; border-color: #6dff8f; }
}
.photo__hud {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .9);
}
.photo__hud span:first-child { padding: 0 5px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 3px; }
.photo__flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: flash 4.5s linear infinite; pointer-events: none; }
@keyframes flash { 0%, 30% { opacity: 0; } 31% { opacity: .85; } 36%, 100% { opacity: 0; } }

/* Evento */
.fcard--event .scr-bg { --c1: rgba(4, 30, 67, .95); --c2: rgba(243, 70, 3, .55); --c3: rgba(30, 122, 140, .6); }
.event__beams i {
  position: absolute;
  bottom: 18%;
  left: var(--x);
  width: 34%;
  height: 130%;
  translate: -50% 0;
  transform-origin: 50% 100%;
  background: linear-gradient(to top, var(--bc), transparent 85%);
  clip-path: polygon(46% 100%, 54% 100%, 100% 0, 0 0);
  mix-blend-mode: screen;
  animation: sweep 5s ease-in-out infinite alternate;
}
.event__beams i:nth-child(1) { --x: 22%; --bc: rgba(252, 131, 35, .75); }
.event__beams i:nth-child(2) { --x: 50%; --bc: rgba(83, 147, 173, .7); animation-delay: -2s; animation-duration: 6s; }
.event__beams i:nth-child(3) { --x: 78%; --bc: rgba(243, 70, 3, .7); animation-delay: -3.5s; }
@keyframes sweep { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }

.event__bokeh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 30%, rgba(255, 200, 150, .5) 0 1.2%, transparent 1.6%),
    radial-gradient(circle at 33% 18%, rgba(140, 196, 218, .5) 0 .9%, transparent 1.3%),
    radial-gradient(circle at 64% 26%, rgba(255, 170, 100, .5) 0 1.4%, transparent 1.8%),
    radial-gradient(circle at 86% 14%, rgba(255, 255, 255, .45) 0 .8%, transparent 1.2%),
    radial-gradient(circle at 76% 40%, rgba(140, 196, 218, .4) 0 1.1%, transparent 1.5%);
  animation: twinkle 3s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .4; } to { opacity: 1; } }

.event__crowd {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 34%;
  background:
    radial-gradient(circle at 50% 100%, #000 0 56%, transparent 59%) 0 100% / 34px 30px repeat-x,
    radial-gradient(circle at 50% 100%, #050505 0 56%, transparent 59%) 17px 72% / 40px 36px repeat-x,
    linear-gradient(to top, #000 32%, transparent);
}

.event__rec {
  position: absolute;
  top: 14px; left: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}
.event__rec i { width: 9px; height: 9px; border-radius: 50%; background: #ff2d2d; box-shadow: 0 0 10px #ff2d2d; animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.event__tc {
  position: absolute;
  top: 12px; right: 16px;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(0, 0, 0, .45);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}
.event__meter {
  position: absolute;
  right: 16px; bottom: 14px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 26px;
}
.event__meter i {
  width: 4px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(to top, #6dff8f 0 55%, #ffd34d 55% 80%, #ff5a3c 80%);
  transform-origin: bottom;
  animation: meter .9s ease-in-out infinite alternate;
}
.event__meter i:nth-child(2) { animation-duration: .7s; animation-delay: -.2s; }
.event__meter i:nth-child(3) { animation-duration: 1.1s; animation-delay: -.5s; }
.event__meter i:nth-child(4) { animation-duration: .6s; animation-delay: -.1s; }
.event__meter i:nth-child(5) { animation-duration: .8s; animation-delay: -.4s; }
.event__meter i:nth-child(6) { animation-duration: 1s; animation-delay: -.7s; }
@keyframes meter { from { transform: scaleY(.15); } to { transform: scaleY(1); } }

/* Contenido IA */
.ai__latent {
  position: absolute;
  inset: -50%;
  z-index: 1;
  opacity: calc(1 - var(--p, 0) / 100);
  background:
    radial-gradient(30% 30% at 40% 40%, rgba(83, 147, 173, .35), transparent 70%),
    radial-gradient(30% 30% at 60% 60%, rgba(243, 70, 3, .3), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.08' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E"),
    #0a0a0a;
  animation: latent 6s linear infinite;
}
@keyframes latent { to { transform: rotate(360deg); } }

.ai__art {
  position: absolute;
  inset: 0;
  filter: blur(calc((100 - var(--p, 0)) * .2px)) saturate(calc(.35 + var(--p, 0) * .0065));
  transform: scale(calc(1.1 - var(--p, 0) * .001));
}
.ai__art[data-v="0"] {
  background:
    repeating-linear-gradient(to bottom, rgba(255, 190, 120, .55) 0 2px, transparent 2px 9px) 50% 100% / 26% 40% no-repeat,
    radial-gradient(circle at 50% 58%, #fff4d8 0 5%, #ffbb6b 10%, rgba(252, 131, 35, 0) 26%),
    linear-gradient(to bottom, #071a33 0%, #4b1f45 28%, #e2400a 52%, #fc8323 58.5%, #0d2c38 59%, #04121a 100%);
}
.ai__art[data-v="1"] {
  background:
    radial-gradient(circle at 70% 30%, #fff3d6 0 6%, rgba(255, 243, 214, 0) 7%),
    radial-gradient(120% 55% at 15% 100%, #b5380a 0 46%, transparent 47%),
    radial-gradient(130% 50% at 90% 100%, #e8560f 0 48%, transparent 49%),
    radial-gradient(150% 45% at 50% 112%, #7c2306 0 52%, transparent 53%),
    linear-gradient(to bottom, #12667a, #5393ad 45%, #f8cfa3 72%);
}
.ai__art[data-v="2"] {
  background:
    linear-gradient(#000, #000) 0 100% / 100% 12% no-repeat,
    repeating-linear-gradient(90deg, #020202 0 16px, transparent 16px 24px) 0 100% / 100% 26% no-repeat,
    repeating-linear-gradient(90deg, #060606 0 9px, transparent 9px 30px) 6px 100% / 100% 36% no-repeat,
    radial-gradient(circle at 50% 44%, #000 0 21%, #ffd2a1 21.6%, var(--fire) 23%, rgba(243, 70, 3, .55) 27%, rgba(160, 14, 1, .2) 36%, transparent 52%),
    linear-gradient(to bottom, #050b1a, #041e43 60%, #1e7a8c);
}
.ai__scan {
  position: absolute;
  z-index: 2;
  left: 0; right: 0;
  top: calc(var(--p, 0) * 1%);
  height: 2px;
  background: #fff;
  box-shadow: 0 0 18px 4px rgba(140, 196, 218, .8);
  opacity: var(--scan, 0);
}
.ai__status {
  position: absolute;
  z-index: 3;
  top: 14px; left: 14px; right: 14px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .9);
}
.ai__prompt {
  position: absolute;
  z-index: 3;
  left: 12px; right: 12px; bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 16px;
  background: rgba(10, 10, 10, .55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 12.5px;
  line-height: 1.35;
}
.ai__prompt svg { width: 16px; height: 16px; flex: none; color: var(--fire); }
.ai__caret { width: 1.5px; height: 14px; flex: none; margin-left: -6px; background: #fff; animation: blink 1s steps(1) infinite; }

/* Tarjeta final del carril */
.fcard--cta { align-self: stretch; justify-content: flex-end; padding-bottom: 33px; }
.fcard__cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 22px;
  width: calc(var(--h) * .72);
  height: var(--h);
  padding: 32px;
  overflow: hidden;
  border: 1px dashed var(--line-2);
  border-radius: 26px;
  background: rgba(255, 255, 255, .03);
  transition: background-color .4s, border-color .4s;
}
.fcard--cta:hover .fcard__cta-inner { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .5); }
.fcard__cta-mark { width: 64px; height: auto; margin-bottom: auto; fill: #fff; transition: transform 1s var(--ease); }
.fcard--cta:hover .fcard__cta-mark { transform: rotate(120deg); }
.fcard__cta-title {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1;
}
.fcard__cta-title em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Proceso ---------- */

.steps {
  --p: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: clamp(48px, 6vw, 84px) 0 0;
  padding: 0;
  list-style: none;
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--line-2);
}
.steps::after {
  height: 2px;
  top: -.5px;
  background: var(--grad);
  box-shadow: 0 0 18px rgba(252, 131, 35, .6);
  transform: scaleX(var(--p));
  transform-origin: left;
}

.step { position: relative; padding-top: 38px; }
.step::before {
  content: "";
  position: absolute;
  top: -6px; left: 0;
  z-index: 1;
  width: 12px; height: 12px;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg);
  transition: background-color .5s, border-color .5s, box-shadow .5s;
}
.step.is-lit::before { background: var(--fire); border-color: var(--fire); box-shadow: 0 0 18px var(--fire); }

.step__num {
  display: block;
  margin-bottom: 20px;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, .32);
  transition: -webkit-text-stroke-color .5s;
}
.step.is-lit .step__num {
  -webkit-text-stroke-color: transparent;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
}
.step h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: .01em;
}
.step p { margin: 0; max-width: 30ch; font-size: 16px; color: var(--ink-2); }

/* ---------- Contacto ---------- */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: center;
}

.contact__title {
  margin: 24px 0 26px;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(2.7rem, 6.6vw, 6.6rem);
  line-height: .9;
  letter-spacing: -.02em;
}
.contact__text { margin: 0; max-width: 34ch; font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-2); }

.contact__direct { margin: 38px 0 0; }
.contact__direct-label {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.contact__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__email { margin: 18px 0 0; font-size: 15px; color: var(--ink-3); }
.contact__email a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  transition: border-color .3s;
}
.contact__email a:hover { border-color: var(--fire); }

/* Botones con ícono a la izquierda (WhatsApp, correo) */
.btn--icon svg { width: 20px; height: 20px; }
.btn--icon:hover svg { transform: scale(1.12); }
.btn--wa {
  background: #25d366;
  color: #04210f;
  box-shadow: 0 16px 40px -16px rgba(37, 211, 102, .7);
}
.btn--wa:hover { background: #3ae57d; box-shadow: 0 18px 46px -14px rgba(37, 211, 102, .85); }

.formcard {
  position: relative;
  padding: clamp(26px, 3.6vw, 46px);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  backdrop-filter: blur(30px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 60px 120px -50px rgba(0, 0, 0, .95);
}

.formcard__title {
  margin: 12px 0 30px;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -.005em;
}

.field { display: block; margin-bottom: 18px; }
.field__label { display: block; margin-bottom: 8px; font-size: 15px; color: rgba(255, 255, 255, .92); }
.field__error { display: none; margin: 7px 0 0 6px; font-size: 13px; color: #ff9b80; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .input { border-color: #ff7a59; }

.input {
  width: 100%;
  height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, .04);
  color: #fff;
  font: 400 15px var(--body);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.input::placeholder { color: rgba(255, 255, 255, .58); }
.input:hover { border-color: rgba(255, 255, 255, .45); }
.input:focus,
.input:focus-visible {
  border-color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 4px rgba(252, 131, 35, .16);
  outline: none;
}
textarea.input {
  height: auto;
  min-height: 116px;
  padding: 14px 20px;
  border-radius: 22px;
  line-height: 1.5;
  resize: vertical;
}

.select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}
.select__trigger svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
.select.is-open .select__trigger svg { transform: rotate(180deg); }
.select__value.is-placeholder { color: rgba(255, 255, 255, .58); }

.select__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease), margin-top .5s var(--ease);
}
.select.is-open .select__panel { grid-template-rows: 1fr; margin-top: 8px; }
.select__clip { min-height: 0; overflow: hidden; }
.select__list {
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 22px;
  outline: none;
  background: rgba(255, 255, 255, .05);
  list-style: none;
}
.select__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-radius: 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, .88);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.select__option svg { width: 16px; height: 16px; opacity: 0; color: var(--fire); transition: opacity .2s; }
.select__option:hover,
.select__option.is-active { background: rgba(255, 255, 255, .1); color: #fff; }
.select__option[aria-selected="true"] { color: #fff; }
.select__option[aria-selected="true"] svg { opacity: 1; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form .btn--block { margin-top: 10px; }
.form .btn.is-loading { pointer-events: none; }
.form .btn.is-loading svg { animation: nudge .8s var(--ease-io) infinite alternate; }
@keyframes nudge { to { transform: translateX(8px); } }

.form__note { min-height: 1.2em; margin: 14px 0 0; font-size: 14px; text-align: center; color: #ff9b80; }
.form__note:empty { display: none; }

.formcard__done { padding: 18px 0 8px; text-align: center; }
.formcard__done p { max-width: 32ch; margin: -10px auto 26px; color: var(--ink-2); }
.formcard__done p a { color: #fff; }
.done__mark { width: 90px; height: auto; margin: 0 auto 20px; fill: #fff; animation: rot 6s linear infinite; filter: drop-shadow(0 0 30px rgba(252, 131, 35, .6)); }

/* ---------- Footer ---------- */

.footer {
  padding: clamp(64px, 8vw, 110px) 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(3, 3, 3, 0), rgba(3, 3, 3, .65) 40%);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
}
.footer__claim {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.5vw, 2.1rem);
  line-height: 1.04;
}
.footer__claim span { color: var(--ink-3); }
.footer__word { width: 100%; height: auto; margin: clamp(48px, 7vw, 96px) 0 30px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  font-size: 14px;
  color: var(--ink-3);
}
.footer__bottom a { color: var(--ink-2); text-decoration: none; transition: color .3s; }
.footer__bottom a:hover { color: #fff; }
.footer__social { display: flex; gap: 22px; }

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

.mcta {
  position: fixed;
  left: 16px; right: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  transform: translateY(160%);
  transition: transform .6s var(--ease);
}
.mcta.is-on { transform: none; }

.wa-float {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 41;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 40px -10px rgba(37, 211, 102, .6);
  transition: transform .5s var(--ease), translate .6s var(--ease);
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: wa-pulse 2.8s var(--ease) infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float__label {
  position: absolute;
  right: calc(100% + 12px);
  padding: 9px 15px;
  border-radius: 999px;
  background: #fff;
  color: #050505;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .3s, transform .4s var(--ease);
  pointer-events: none;
}
.wa-float:hover .wa-float__label { opacity: 1; transform: none; }

/* ---------- Revelado al hacer scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  translate: 0 44px;
  transition: opacity 1s var(--ease), translate 1.2s var(--ease), transform .7s var(--ease), border-color .4s;
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; translate: none; }

.sw {
  display: inline-block;
  overflow: hidden;
  padding: .14em .02em .06em;
  margin: -.14em -.02em -.06em;
  vertical-align: top;
}
.sw__in {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1.15s var(--ease);
  transition-delay: calc(var(--wi) * 70ms);
}
.is-in .sw__in { transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 54px; }
  .steps::before, .steps::after { display: none; }
  .step { padding-top: 0; }
  .step::before { display: none; }
}

@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}

@media (max-width: 899px) {
  .formats__viewport {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .formats__viewport::-webkit-scrollbar { display: none; }
  .formats__rail { align-items: center; padding-bottom: 10px; }
  .fcard { scroll-snap-align: center; }
  .fcard--reel { --h: min(118vw, 560px); }
  .fcard--photo { --h: min(100vw, 480px); }
  .fcard--event { --h: min(48vw, 300px); }
  .fcard--ai { --h: min(82vw, 420px); }
  .fcard--cta { --h: min(100vw, 460px); padding-bottom: 33px; }
  .fcard--event .fcard__screen { width: min(86vw, 540px); height: auto; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .services__grid { grid-template-columns: 1fr; }
  .scard { min-height: 0; }
  .scard__title { padding-top: 48px; }
  .steps { grid-template-columns: 1fr; row-gap: 40px; }
  .mcta { display: inline-flex; }
  .nav__word { width: 86px; }
  .nav .btn--sm { --h: 40px; padding: 0 16px; font-size: 13px; }
  .wa-float { bottom: calc(16px + env(safe-area-inset-bottom)); right: 16px; width: 54px; height: 54px; }
  .wa-float__label { display: none; }
  /* cuando aparece la barra "Agendar una cita" abajo, el botón de WhatsApp sube y se pone encima */
  .mcta-on .wa-float { translate: 0 -70px; }
  .count { height: 340vh; }
}

@media (max-width: 640px) {
  .hero { padding-top: 120px; padding-bottom: 130px; }
  .hero__lockup {
    --w: min(84vw, 380px);
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: calc(var(--w) * .1);
  }
  .hero__mark svg { width: calc(var(--w) * .36); }
  .hero__divider { display: none; }
  .hero__tagline {
    grid-column: 1;
    justify-self: center;
    margin-top: 0;
    padding: 0;
    font-size: calc(var(--w) * .085);
  }
  .hero__eyebrow { font-size: 11px; letter-spacing: .26em; }
  .hero__scroll { display: none; }
  .marquee__row { width: 130%; margin-left: -15%; }
  .contact__buttons .btn { flex: 1 1 100%; }
  .footer__bottom { flex-direction: column; }
}

@media (hover: none) {
  .scard::before, .scard::after { display: none; }
}

/* ---------- Movimiento reducido ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-intro], .js [data-reveal], .sw__in, .js .hero__word use {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
    filter: none !important;
  }
  .word { opacity: 1; }
  .count { height: auto; }
  .count__sticky { position: relative; height: auto; padding: 120px 0; }
  .count__stage, .count__bars { display: none; }
  .count__lines { display: flex; flex-direction: column; gap: 22px; }
  .count__line { opacity: 1; transform: none; filter: none; }
}
