/* =====================================================================
   RC Xtreme Solutions — styles.css
   Concepto: "The Mirror Standard". Un garage negro donde el cromo del logo
   y los reflejos de la pintura son el protagonista; el rojo (tarjeta de
   servicios) solo aparece como acento. Mobile-first.
   ===================================================================== */

/* ---------- 0. Tokens ---------- */
:root {
  --bg: #050506;
  --bg-2: #0b0c10;
  --bg-3: #12141a;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .2);
  --ink: #f4f6fa;
  --ink-2: #aab0bd;
  --ink-3: #747b89;

  --red: #e11d2a;
  --red-2: #ff3b47;
  --red-d: #9c0f19;

  --studio: #eceef2;
  --studio-ink: #0b0c0f;
  --studio-ink-2: #4a505c;
  --studio-line: #d5d9e0;

  --font-display: 'Saira', 'Arial Narrow', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --header-h: 64px;
  --gutter: clamp(18px, 5vw, 56px);

  /* Patrón hexagonal (referencia al recubrimiento cerámico) */
  --hex: url("data:image/svg+xml,%3Csvg width='56' height='100' viewBox='0 0 56 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23fff' stroke-opacity='.09'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%23fff' stroke-opacity='.09'/%3E%3C/svg%3E");
}

/* ---------- 1. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  overflow-x: hidden;
}
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 2000;
  padding: 10px 16px; background: #fff; color: #000; font-weight: 700; border-radius: 8px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(76px, 11vw, 150px); }

.icon {
  width: 1.2em; height: 1.2em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* Titulares: cursiva deportiva, como el logo */
h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: 1.02;
  font-size: clamp(1.8rem, 7vw, 3.7rem);
  text-wrap: balance;
}
h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--red-2);
}
.kicker::before {
  content: ""; width: 34px; height: 2px; flex: none;
  background: linear-gradient(90deg, var(--red), transparent);
  transform: skewX(-30deg);
}
.lead { color: var(--ink-2); font-size: clamp(1rem, 2.6vw, 1.2rem); max-width: 56ch; }
.sec-head { max-width: 780px; }
.sec-head h2, .results__copy h2, .how__copy h2, .faq__head h2, .contact__copy h2 { margin: 16px 0 18px; }

/* Texto cromado con brillo que viaja (animación constante) */
.chrome {
  background-image: linear-gradient(100deg, #8a91a0 0%, #ffffff 20%, #aeb4c1 40%, #ffffff 60%, #8a91a0 80%, #8a91a0 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: chromeShift 7s linear infinite;
}
@keyframes chromeShift { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }

/* Recorte del logo (quita el margen negro del JPG) */
.logo-crop { position: relative; display: block; aspect-ratio: 1328 / 534; overflow: hidden; }
.logo-crop img {
  position: absolute; left: -4.52%; top: -56.18%;
  width: 109.04%; max-width: none; height: auto;
  mix-blend-mode: screen;
}

/* ---------- 2. Botones (paralelogramo, como la itálica del logo) ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 52px; padding: .95em 2.1em;
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; text-align: center;
  border: 0; cursor: pointer; color: #fff;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: transform .35s var(--ease), filter .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-bg, #222); }
.btn .icon { width: 1.25em; height: 1.25em; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { clip-path: none; border-radius: 6px; outline: 2px solid #fff; outline-offset: 3px; }
.btn--red { --btn-bg: linear-gradient(135deg, #ff3b47 0%, #e11d2a 45%, #a30f1a 100%); }
.btn--chrome { --btn-bg: linear-gradient(135deg, #ffffff 0%, #d9dde5 50%, #a9afbb 100%); color: #0a0b0d; }
.btn--ghost { --btn-bg: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .06)); }
.btn--dark { --btn-bg: linear-gradient(135deg, #1b1e25, #07080a); }
.btn--sm { min-height: 42px; padding: .7em 1.5em; font-size: .8rem; }
.btn--lg { min-height: 58px; font-size: 1rem; padding-inline: 2.4em; }
/* Destello periódico (constante) en los botones principales */
.btn--red::after, .btn--chrome::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: btnShine 4.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShine { 0%, 58% { left: -60%; } 90%, 100% { left: 140%; } }

/* ---------- 3. Barra de progreso y cargador ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 900;
  background: linear-gradient(90deg, var(--red), #fff);
  transform: scaleX(0); transform-origin: 0 50%;
}

.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 46px),
    radial-gradient(60% 50% at 50% 50%, #14161c, #050506 75%);
  /* Respaldo 100% CSS: el portón se levanta solo, aunque falle el JavaScript (visible máx. 2.45 s) */
  animation: loaderOut .8s var(--ease-io) 1.65s forwards;
}
@keyframes loaderOut {
  0% { transform: translateY(0); visibility: visible; }
  100% { transform: translateY(-101%); visibility: hidden; }
}
.loader__inner { display: grid; justify-items: center; gap: 22px; width: min(78vw, 340px); }
.loader__logo { width: 100%; animation: loaderLogo 1.4s var(--ease) both; }
@keyframes loaderLogo { from { opacity: 0; transform: scale(.9); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.loader__meter { width: 100%; height: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; transform: skewX(-30deg); }
.loader__meter span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--red), #fff);
  transform: scaleX(0); transform-origin: 0 50%;
  animation: loaderFill 1.5s var(--ease-io) forwards;
}
@keyframes loaderFill { to { transform: scaleX(1); } }
.loader__label {
  font-family: var(--font-display); font-weight: 600; font-style: italic;
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
}
.loader__label b { color: #fff; font-weight: 800; display: inline-block; min-width: 2.4ch; text-align: right; }

/* ---------- 4. Encabezado y menú ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 500; height: var(--header-h);
  display: flex; align-items: center;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(5, 5, 6, .72);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .4s;
}
.header.is-stuck::before, .menu-open .header::before { opacity: 1; }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { position: relative; z-index: 2; display: block; width: 104px; flex: none; }
.header__actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; }
.header__cta { display: none; }

.lang {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .05);
  font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .12em; cursor: pointer;
  color: var(--ink-2); transition: border-color .3s, background .3s;
}
.lang:hover { border-color: #fff; }
.lang__sep { opacity: .4; }
.lang__en { color: #fff; }
html[data-lang="es"] .lang__en { color: var(--ink-3); }
html[data-lang="es"] .lang__es { color: #fff; }

.burger {
  width: 44px; height: 44px; display: grid; place-content: center; gap: 6px;
  border: 0; background: transparent; cursor: pointer;
}
.burger span { display: block; width: 26px; height: 2px; background: #fff; transition: transform .4s var(--ease), opacity .3s; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-open body { overflow: hidden; }

/* Menú móvil: pantalla completa que se abre en círculo */
.nav {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  background: radial-gradient(80% 50% at 90% 0%, rgba(225, 29, 42, .22), transparent 70%), rgba(5, 5, 6, .97);
  clip-path: circle(0 at calc(100% - 38px) 32px);
  visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s .7s;
}
.menu-open .nav { clip-path: circle(150% at calc(100% - 38px) 32px); visibility: visible; transition: clip-path .7s var(--ease-io), visibility 0s; }
.nav a:not(.btn) {
  font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.8rem, 8vw, 2.6rem); line-height: 1.2; padding: .22em 0;
  border-bottom: 1px solid var(--line);
  transition: color .3s, padding-left .3s var(--ease);
}
.nav a:not(.btn):hover { color: var(--red-2); padding-left: 10px; }
.nav__cta { margin-top: 26px; align-self: flex-start; }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 30px) 0 84px;
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 80% 0%, #15171d 0%, #050506 62%); }
.hero__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__glow--a {
  width: 80vmax; height: 80vmax; right: -38vmax; top: -34vmax;
  background: radial-gradient(circle, rgba(225, 29, 42, .38), transparent 62%);
  animation: glowDrift 14s ease-in-out infinite alternate;
}
.hero__glow--b {
  width: 70vmax; height: 70vmax; left: -36vmax; bottom: -36vmax;
  background: radial-gradient(circle, rgba(170, 180, 200, .2), transparent 62%);
  animation: glowDrift 18s ease-in-out infinite alternate-reverse;
}
@keyframes glowDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-6vmax, 5vmax, 0) scale(1.12); } }
.hero__hex {
  position: absolute; inset: -10%;
  background-image: var(--hex); background-size: 56px 100px;
  -webkit-mask-image: radial-gradient(70% 60% at 72% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 60% at 72% 40%, #000 0%, transparent 78%);
  animation: hexDrift 50s linear infinite;
}
@keyframes hexDrift { to { background-position: 112px 200px; } }

/* Haces de luz inclinados (como el reflejo de las luces de inspección sobre la pintura) */
.hero__beams i {
  position: absolute; top: -10%; left: 0; height: 120%; width: clamp(60px, 14vw, 190px);
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .06) 35%, rgba(235, 240, 250, .2) 50%, rgba(255, 255, 255, .06) 65%, transparent 100%);
  transform: translateX(-40vw) skewX(-22deg);
  animation: beam var(--dur, 9s) var(--ease-io) var(--dl, 0s) infinite;
  pointer-events: none;
}
.hero__beams i:nth-child(1) { --dur: 9s;  --dl: 2s; }
.hero__beams i:nth-child(2) { --dur: 11s; --dl: 3.6s; width: clamp(30px, 6vw, 90px); }
.hero__beams i:nth-child(3) { --dur: 8s;  --dl: 5s;   width: clamp(80px, 18vw, 240px); opacity: .6; }
.hero__beams i:nth-child(4) { --dur: 13s; --dl: 7s;   width: clamp(24px, 4vw, 60px); }
.hero__beams i:nth-child(5) { --dur: 10s; --dl: 9.5s; opacity: .7; }
@keyframes beam {
  0% { transform: translateX(-40vw) skewX(-22deg); }
  55%, 100% { transform: translateX(140vw) skewX(-22deg); }
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fade { position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(to bottom, transparent, var(--bg)); }

.hero__grid { position: relative; display: grid; gap: 44px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 13px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .045);
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--ink-2);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 71, .7); } 80%, 100% { box-shadow: 0 0 0 12px rgba(255, 59, 71, 0); } }

.hero__title {
  --hs: clamp(2.2rem, 10.2vw, 4.4rem);
  margin-top: 22px;
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  text-transform: uppercase; line-height: .98; letter-spacing: -.01em;
}
.hero__kicker {
  display: block; margin-bottom: 1em;
  font-size: clamp(.72rem, 3.2vw, .98rem); font-weight: 600; font-style: normal;
  letter-spacing: .2em; line-height: 1.4; color: var(--ink-2);
}
.hero__big { display: block; font-size: var(--hs); padding-right: .1em; }
.rotator {
  display: grid; font-size: calc(var(--hs) * .56); line-height: 1.15; margin-top: .12em;
  overflow: hidden; padding-bottom: .1em;
}
.rotator__word {
  grid-area: 1 / 1; display: block;
  background: linear-gradient(90deg, #ff3b47, #ff7a45 60%, #ff3b47);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  opacity: 0; transform: translateY(60%); filter: blur(8px);
  transition: opacity .6s, transform .75s var(--ease), filter .6s;
}
.rotator__word.is-on { opacity: 1; transform: none; filter: none; }
.rotator__word.is-off { transform: translateY(-60%); }

.hero__sub { margin-top: 22px; max-width: 52ch; color: var(--ink-2); font-size: clamp(1rem, 2.5vw, 1.18rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__cta .btn { flex: 1 1 100%; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: var(--ink-3); font-size: .86rem; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts .icon { color: var(--red-2); }

/* Entrada del hero (solo CSS; arranca cuando se levanta el cargador) */
.js [data-hero] { animation: heroIn 1s var(--ease) both; animation-delay: calc(1.7s + var(--i, 0) * .09s); }
@keyframes heroIn { from { opacity: 0; transform: translate3d(0, 36px, 0); } to { opacity: 1; transform: none; } }

/* Escenario 3D */
.hero__stage { position: relative; width: min(74vw, 340px); margin-inline: auto; }
.stage__in { position: relative; perspective: 1100px; }
.orbit { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orbit svg { position: absolute; }
.orbit svg:nth-child(1) { top: -14%; left: -14%; width: 128%; height: 128%; animation: spin 38s linear infinite; }
.orbit svg:nth-child(2) { top: -4%; left: -4%; width: 108%; height: 108%; animation: spin 26s linear infinite reverse; }
.orbit svg:nth-child(3) { top: -26%; left: -26%; width: 152%; height: 152%; animation: spin 64s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage__tilt { position: relative; z-index: 1; transform-style: preserve-3d; will-change: transform; }
.poster {
  position: relative; overflow: hidden; aspect-ratio: 2 / 3; background: #000; border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .85), 0 0 90px -12px rgba(225, 29, 42, .4);
  animation: floatY 8s ease-in-out infinite;
}
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster__sheen {
  position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .26) 45%, rgba(255, 255, 255, .06) 52%, transparent 62%);
  background-size: 250% 100%;
  animation: sheen 6s ease-in-out infinite;
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes sheen { 0% { background-position: 150% 0; } 60%, 100% { background-position: -50% 0; } }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(12, 13, 16, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .72rem; font-weight: 600; letter-spacing: .03em; white-space: nowrap;
  transform: translate3d(0, 0, 70px);
  animation: chipFloat 6s ease-in-out infinite;
}
.chip .icon { color: var(--red-2); }
.chip--a { left: -12%; top: 12%; }
.chip--b { right: -10%; top: 46%; animation-delay: -2s; }
.chip--c { left: -6%; bottom: 9%; animation-delay: -4s; }
@keyframes chipFloat { 0%, 100% { transform: translate3d(0, 0, 70px); } 50% { transform: translate3d(0, -10px, 70px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line-2); border-radius: 14px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- 6. Cinta infinita ---------- */
.marquee {
  position: relative; overflow: hidden; overflow: clip;
  padding: 18px 0; display: grid; gap: 12px;
  background: linear-gradient(180deg, #07080a, #0b0c10);
  border-block: 1px solid var(--line);
}
.marquee__row { display: flex; width: max-content; }
.marquee__track { display: flex; flex: none; align-items: center; gap: 28px; padding-right: 28px; }
.marquee__track span {
  font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(1.4rem, 5vw, 2.4rem); line-height: 1.1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .5);
}
.marquee__track span:nth-of-type(3n+1) { color: #fff; -webkit-text-stroke: 0; }
.sep { width: 12px; height: 12px; flex: none; background: var(--red); transform: skewX(-20deg); }
.js-ready .marquee__row { animation: marquee 46s linear infinite; }
.js-ready .marquee__row--rev { animation-direction: reverse; animation-duration: 54s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 7. Manifiesto ---------- */
.manifesto { position: relative; padding-block: clamp(96px, 16vw, 210px); background: var(--bg); }
.manifesto__inner { display: grid; justify-items: start; }
.manifesto__text {
  margin: 26px 0 40px; max-width: 20em;
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: clamp(1.55rem, 6.2vw, 3.5rem); line-height: 1.16; letter-spacing: -.01em;
}
.js-ready .manifesto__text .w { color: rgba(255, 255, 255, .16); transition: color .5s; }
.js-ready .manifesto__text .w.is-lit { color: #fff; }

/* ---------- 8. Revelado al hacer scroll (solo con JS) ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal--zoom { transform: scale(.92) translate3d(0, 24px, 0); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Si el JavaScript no arranca, todo se muestra igualmente */
.js:not(.js-ready) .reveal { animation: revealFallback .01s 3.5s forwards; }
@keyframes revealFallback { to { opacity: 1; transform: none; } }

/* ---------- 9. Sección clara "estudio" ---------- */
.section--studio {
  --slant: clamp(20px, 5vw, 70px);
  background: var(--studio); color: var(--studio-ink);
  padding-block: calc(clamp(76px, 11vw, 150px) + var(--slant));
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}
.section--studio .kicker { color: #c4121e; } /* rojo más profundo: contraste AA sobre fondo claro */
.section--studio .lead { color: var(--studio-ink-2); }

/* Servicios */
.feat { display: grid; gap: 16px; margin-top: 44px; }
.grid { display: grid; gap: 14px; margin-top: 16px; grid-template-columns: 1fr; }
.card {
  position: relative; overflow: hidden; height: 100%;
  padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--studio-line);
  transition: transform .5s var(--ease), box-shadow .5s, border-color .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(225, 29, 42, .13), transparent 62%);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -24px rgba(10, 11, 14, .4); border-color: #bcc1cb; }
.card:hover::before { opacity: 1; }
.card__top { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.card__n { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: .95rem; letter-spacing: .1em; color: #c4121e; }
.icon-box {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #0a0b0d, #2a2e37);
  transition: background .4s, transform .5s var(--ease);
}
.icon-box .icon { width: 24px; height: 24px; }
.card:hover .icon-box { background: linear-gradient(135deg, #ff3b47, #a30f1a); transform: rotate(-8deg) scale(1.06); }
.card h3 { position: relative; font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.12rem; margin-bottom: 10px; letter-spacing: .01em; }
.card p { position: relative; color: var(--studio-ink-2); font-size: .94rem; }
.grid li { height: 100%; }
/* Foto de las tarjetas de servicio 03–10: ocupa todo el ancho de la tarjeta (compensa el padding de 24px) */
.card__img { position: relative; width: calc(100% + 48px); max-width: none; height: auto; aspect-ratio: 7 / 5; object-fit: cover; margin: -24px -24px 22px; background: #e9ebef; }

.card--feat { display: flex; align-items: flex-end; min-height: 440px; padding: 0; color: #fff; background: #0a0b0d; border-color: #0a0b0d; }
.card--feat::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .14), transparent 62%); z-index: 2; }
.card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card__bg--bottle { object-position: 62% 50%; }
.card--feat:hover .card__bg { transform: scale(1.07); }
.card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 6, .15) 0%, rgba(5, 5, 6, .55) 52%, rgba(5, 5, 6, .93) 100%); }
.card--feat .card__body { position: relative; z-index: 3; padding: 26px; width: 100%; }
.card--feat .card__top { margin-bottom: 70px; }
.card--feat .card__n { color: #fff; }
.card--feat .icon-box { background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .25); }
.card--feat h3 { font-size: clamp(1.5rem, 5vw, 2.15rem); }
.card--feat p { color: rgba(255, 255, 255, .82); max-width: 44ch; }

.grid__more { grid-column: 1 / -1; }
.card--more { display: flex; flex-direction: column; gap: 24px; justify-content: space-between; background: linear-gradient(135deg, #0a0b0d, #1a1d24); border-color: #0a0b0d; color: #fff; }
.card--more p { color: var(--ink-2); max-width: 52ch; }
.card--more .card__n { color: var(--red-2); font-size: 1.4rem; }
.card--more .btn { align-self: flex-start; }
.card--more .card__top { margin-bottom: 20px; }

/* ---------- 10. Cómo funciona + radar ---------- */
.how { background: var(--bg); }
.how__grid { display: grid; gap: 64px; align-items: center; }
.timeline { position: relative; margin: 38px 0 34px; --tp: 1; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 23px; top: 20px; bottom: 30px; width: 2px; }
.timeline::before { background: var(--line); }
.timeline::after { background: linear-gradient(var(--red-2), var(--red)); transform-origin: 0 0; transform: scaleY(var(--tp)); box-shadow: 0 0 14px rgba(255, 59, 71, .7); }
.js-ready .timeline { --tp: 0; }
.tl { position: relative; padding: 0 0 34px 76px; }
.tl:last-child { padding-bottom: 8px; }
.tl__n {
  position: absolute; left: 0; top: 0; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; background: #0d0f13; border: 1px solid var(--line-2);
  font-family: var(--font-display); font-style: italic; font-weight: 800; color: var(--red-2); z-index: 1;
}
.tl h3 { font-size: 1.3rem; margin: 8px 0 8px; font-style: italic; text-transform: uppercase; }
.tl p { color: var(--ink-2); max-width: 46ch; }

.radar {
  position: relative; width: min(84vw, 440px); aspect-ratio: 1; margin-inline: auto; overflow: hidden;
  border-radius: 50%; border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--line), var(--line)) center / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat,
    repeating-radial-gradient(circle at 50% 50%, transparent 0 calc(16.66% - 1px), rgba(255, 255, 255, .12) calc(16.66% - 1px) 16.66%),
    radial-gradient(circle, rgba(225, 29, 42, .12), transparent 62%);
  box-shadow: 0 0 80px -20px rgba(225, 29, 42, .45), inset 0 0 60px rgba(0, 0, 0, .6);
}
.radar__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(225, 29, 42, 0) 0deg, rgba(225, 29, 42, 0) 250deg, rgba(255, 59, 71, .55) 360deg);
  animation: spin 5s linear infinite;
}
.radar__blip {
  position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; margin: -5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 14px 4px rgba(255, 255, 255, .65);
  opacity: 0; animation: blip 5s ease-out var(--dl) infinite;
}
@keyframes blip { 0% { opacity: 0; transform: scale(.4); } 4% { opacity: 1; transform: scale(1.2); } 55%, 100% { opacity: 0; transform: scale(1); } }
.radar__pin { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: var(--red-2); animation: pulse 2s infinite; }
.radar__cap {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; text-align: center;
  color: var(--ink-2); font-size: .92rem;
}
.radar__cap .icon { color: var(--red-2); }

/* ---------- 11. Anatomía 3D (se queda fija mientras haces scroll) ---------- */
.anatomy { position: relative; background: linear-gradient(180deg, var(--bg), #08090c 50%, var(--bg)); --p: .3; --gap: 40px; --clean: 1; }
.anatomy__sticky { position: relative; padding-block: 90px; }
.js-ready .anatomy { height: 270vh; }
.js-ready .anatomy__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding-block: 0; display: flex; align-items: center; }
.anatomy__grid { display: grid; gap: 6px; width: 100%; }
.js-ready .anatomy__grid { height: 100%; grid-template-rows: auto minmax(0, 1fr) auto; padding-top: calc(var(--header-h) + 10px); padding-bottom: 18px; }
.anatomy__head h2 { margin-top: 12px; font-size: clamp(1.45rem, 5.6vw, 3rem); }
.anatomy__stage { display: grid; place-items: center; min-height: 230px; perspective: 1400px; }
.stack {
  position: relative; width: min(54vw, 300px); aspect-ratio: 1; transform-style: preserve-3d;
  transform: rotateX(62deg) rotateZ(calc(-38deg + var(--p) * 38deg));
}
.layer {
  position: absolute; inset: 0; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .2);
  transform: translateZ(calc((var(--i) - 2) * var(--gap)));
  transition: opacity .5s, filter .5s;
}
.js-ready .layer { opacity: .45; }
.js-ready .layer.is-active { opacity: 1; filter: drop-shadow(0 0 26px rgba(255, 59, 71, .45)); }
.layer--metal { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 4px), linear-gradient(135deg, #5a606d, #2a2d35 60%, #444956); }
.layer--primer { background: linear-gradient(135deg, #9aa0ac, #666c78); }
.layer--base { background: linear-gradient(135deg, #f0303c, #8e0d17); border-color: rgba(255, 150, 150, .5); }
.layer--clear { background: linear-gradient(135deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .07) 50%, rgba(255, 255, 255, .22)); border-color: rgba(255, 255, 255, .55); }
.layer__swirls, .layer__beads { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.layer__swirls {
  opacity: calc(.95 - var(--clean) * .95);
  background:
    repeating-radial-gradient(circle at 30% 40%, rgba(255, 255, 255, .5) 0 1px, transparent 1px 7px),
    repeating-radial-gradient(circle at 70% 65%, rgba(255, 255, 255, .4) 0 1px, transparent 1px 9px);
}
.layer--ceramic { background: linear-gradient(135deg, rgba(190, 225, 255, .34), rgba(255, 255, 255, .08)); border-color: rgba(200, 230, 255, .65); }
.layer__beads {
  background-image:
    radial-gradient(circle at 22% 30%, rgba(255, 255, 255, .95) 0 3px, transparent 4px),
    radial-gradient(circle at 68% 24%, rgba(255, 255, 255, .8) 0 4px, transparent 5px),
    radial-gradient(circle at 48% 62%, rgba(255, 255, 255, .9) 0 3px, transparent 4px),
    radial-gradient(circle at 80% 74%, rgba(255, 255, 255, .8) 0 4px, transparent 5px),
    radial-gradient(circle at 26% 80%, rgba(255, 255, 255, .85) 0 3px, transparent 4px),
    var(--hex);
  background-size: auto, auto, auto, auto, auto, 40px 72px;
}
.steps { display: grid; gap: 0; align-self: end; }
.step { position: relative; padding: 8px 0 8px 18px; border-left: 2px solid var(--line); transition: border-color .4s; }
.step.is-active { border-left-color: var(--red-2); }
.step__title { display: flex; align-items: baseline; gap: 12px; font-size: 1.05rem; font-style: italic; text-transform: uppercase; color: var(--ink-3); transition: color .4s; }
.step.is-active .step__title { color: #fff; }
.step__n { font-size: .8rem; color: var(--red-2); letter-spacing: .1em; }
.step__desc { display: grid; grid-template-rows: 1fr; }
.step__desc > div { overflow: hidden; }
.js-ready .step:not(.is-active) .step__desc { grid-template-rows: 0fr; }
.step__desc { transition: grid-template-rows .5s var(--ease); }
.step__desc p { padding-top: 6px; color: var(--ink-2); font-size: .94rem; max-width: 44ch; }
.tag { display: inline-block; margin-top: 10px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--red-2); }

/* ---------- 12. Banda de CTA ---------- */
.band {
  position: relative; overflow: hidden; overflow: clip; padding-block: clamp(80px, 12vw, 150px); text-align: center;
  background: radial-gradient(70% 90% at 50% 0%, rgba(225, 29, 42, .22), transparent 70%), var(--bg);
}
.band::before { content: ""; position: absolute; inset: 0; background-image: var(--hex); background-size: 56px 100px; opacity: .6; -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent); animation: hexDrift 60s linear infinite; }
.band__inner { position: relative; display: grid; justify-items: center; gap: 20px; }
.band__title { font-size: clamp(2.1rem, 9vw, 5rem); padding-right: .1em; }
.band__sub { color: var(--ink-2); max-width: 44ch; font-size: clamp(1rem, 2.5vw, 1.2rem); }

/* ---------- 13. Antes / después ---------- */
.results { background: var(--bg); }
.results__grid { display: grid; gap: 48px; align-items: center; }
.results__copy { display: grid; justify-items: start; }
.results__copy .lead { margin-bottom: 30px; }
.ba {
  --pos: 50%;
  position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 562.5 / 754;
  border-radius: 22px; overflow: hidden; background: #000; border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px #000, 0 0 70px -30px rgba(255, 255, 255, .25);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.ba__layer { position: absolute; inset: 0; overflow: hidden; }
.ba__layer img { position: absolute; top: -2.01%; width: 204%; max-width: none; height: auto; pointer-events: none; }
.ba__after img { left: -102%; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before img { left: -2%; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 20px rgba(255, 255, 255, .7); pointer-events: none; }
.ba__knob {
  position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  background: rgba(10, 11, 13, .78); border: 2px solid #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: knob 2.4s ease-in-out infinite;
}
.ba__knob::before, .ba__knob::after { content: ""; border: 6px solid transparent; }
.ba__knob::before { border-right-color: #fff; border-left-width: 0; }
.ba__knob::after { border-left-color: #fff; border-right-width: 0; }
@keyframes knob { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); } 60% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); } }
.ba__tag {
  position: absolute; bottom: 16px; padding: 6px 14px; border-radius: 999px; pointer-events: none;
  background: rgba(0, 0, 0, .62); border: 1px solid var(--line-2);
  font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
}
.ba__tag--l { left: 14px; }
.ba__tag--r { right: 14px; color: var(--red-2); }
.ba__hint { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: rgba(0, 0, 0, .6); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); pointer-events: none; white-space: nowrap; }
.ba__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; touch-action: pan-y; }
.ba__range::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100vh; }
.ba__range::-moz-range-track { height: 100%; background: transparent; }
.ba__range::-moz-range-thumb { width: 60px; height: 100%; border: 0; background: transparent; }
.ba:focus-within { outline: 2px solid var(--red-2); outline-offset: 4px; }

/* ---------- 14. "Mira de cerca": la imagen se abre en grande ---------- */
.expand { position: relative; --p: .6; background: var(--bg); }
.expand__sticky { position: relative; display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding-block: 60px; }
.js-ready .expand { height: 250vh; --p: 0; }
.js-ready .expand__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding-block: 0; overflow: hidden; overflow: clip; }
.expand__frame {
  position: relative; overflow: hidden; background: #000; grid-area: 1 / 1;
  width: calc(78% + 22% * var(--p));
  height: calc(56vh + 44vh * var(--p)); height: calc(56svh + 44svh * var(--p));
  border-radius: calc(28px * (1 - var(--p)));
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9);
}
.expand__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(calc(1.18 - .18 * var(--p))); will-change: transform; }
.expand__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 6, .55), rgba(5, 5, 6, .25) 40%, rgba(5, 5, 6, .8)); }
.expand__text { position: relative; z-index: 2; grid-area: 1 / 1; display: grid; justify-items: center; gap: 18px; padding-inline: calc(var(--gutter) + 6px); text-align: center; max-width: 960px; pointer-events: none; }
.expand__title { font-size: clamp(1.6rem, 6.6vw, 3.6rem); text-shadow: 0 6px 40px rgba(0, 0, 0, .7); }
.expand__cap {
  position: relative; z-index: 2; grid-area: 1 / 1; align-self: end; margin-bottom: clamp(28px, 8vh, 80px); padding-inline: calc(var(--gutter) + 6px); text-align: center; max-width: 760px;
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(1.2rem, 4.4vw, 2rem); line-height: 1.2;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .8);
}
/* Con JS el título se desvanece y el pie de foto aparece según el scroll */
.js-ready .expand__text { opacity: clamp(0, calc((.8 - var(--p)) * 5), 1); }
.js-ready .expand__cap { opacity: clamp(0, calc((var(--p) - .6) * 5), 1); transform: translateY(calc((1 - var(--p)) * 30px)); }

/* ---------- 15. Videos ---------- */
.reels { background: linear-gradient(180deg, var(--bg), var(--bg-2)); overflow: hidden; overflow: clip; }
.reels__track {
  display: flex; gap: 16px; margin-top: 44px; padding: 8px var(--gutter) 30px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.reels__track::-webkit-scrollbar { display: none; }
.reel { flex: 0 0 min(64vw, 270px); scroll-snap-align: center; }
.reel__frame {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 26px; border: 1px solid var(--line-2);
  background: linear-gradient(110deg, #0c0d10 30%, #1a1d24 50%, #0c0d10 70%) 0 0 / 200% 100%;
  animation: shimmer 2.4s linear infinite;
  box-shadow: 0 30px 60px -28px #000;
  transition: transform .6s var(--ease), border-color .4s;
}
.reel:hover .reel__frame { transform: translateY(-8px) scale(1.02); border-color: #fff; }
@keyframes shimmer { to { background-position: -200% 0; } }
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.reel__btn { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer; z-index: 2; }
.reel__btn::after {
  content: ""; position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0, 0, 0, .55) no-repeat center / 14px 14px; border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  background-image: linear-gradient(90deg, #fff 0 38%, transparent 38% 62%, #fff 62% 100%);
  background-size: 12px 14px;
  opacity: 0; transition: opacity .3s;
}
.reel__btn:hover::after, .reel__btn:focus-visible::after { opacity: 1; }
.reel.is-paused .reel__btn::after {
  opacity: 1; background-image: none;
  border-left: 0;
}
.reel.is-paused .reel__btn::before {
  content: ""; position: absolute; right: 27px; bottom: 26px; border: 8px solid transparent; border-left: 13px solid #fff; border-right: 0; z-index: 1;
}
.reel figcaption { margin-top: 12px; font-family: var(--font-display); font-style: italic; font-weight: 800; letter-spacing: .2em; color: var(--ink-3); font-size: .8rem; }
.reels__cta { display: flex; justify-content: center; margin-top: 10px; }

/* ---------- 16. FAQ ---------- */
.faq__grid { display: grid; gap: 44px; }
.faq__head { display: grid; justify-items: start; align-content: start; }
.faq__head .lead { margin-bottom: 28px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--studio-line); border-radius: 18px; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq__item[open] { border-color: #0a0b0d; box-shadow: 0 22px 40px -28px rgba(10, 11, 14, .5); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; width: 16px; height: 16px; flex: none; transition: transform .4s var(--ease), color .3s;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
}
.faq__item[open] summary::after { transform: rotate(135deg); color: var(--red); }
.faq__item p { padding: 0 22px 22px; color: var(--studio-ink-2); max-width: 62ch; }

/* ---------- 17. Contacto ---------- */
.contact {
  overflow: hidden; overflow: clip;
  background: radial-gradient(80% 60% at 15% 0%, rgba(225, 29, 42, .2), transparent 60%), radial-gradient(60% 50% at 100% 100%, rgba(170, 180, 200, .12), transparent 60%), var(--bg);
}
.logo-ghost { position: absolute; right: -30%; top: 4%; width: 120%; max-width: 1100px; opacity: .13; pointer-events: none; mix-blend-mode: screen; }
.contact__grid { position: relative; display: grid; gap: 44px; align-items: start; }
.contact__copy { display: grid; justify-items: start; }
.contact__copy .lead { margin-bottom: 30px; }
.info { display: grid; gap: 16px; width: 100%; }
.info li { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.info__ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); color: var(--red-2); }
.info small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.info strong, .info a { font-weight: 600; font-size: 1.04rem; }
.info a:hover { color: var(--red-2); }
.contact__alt { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.form {
  position: relative; padding: clamp(20px, 4vw, 38px); border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
  border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -40px #000;
}
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: .74rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .5); color: #fff; font-size: 1rem; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-2); box-shadow: 0 0 0 4px rgba(225, 29, 42, .22); }
.field select option { background: #0b0c0f; color: #fff; }
.field.is-bad input { border-color: var(--red-2); box-shadow: 0 0 0 4px rgba(225, 29, 42, .22); }
.form__submit { width: 100%; margin-top: 8px; }
.form__note { margin-top: 14px; font-size: .84rem; color: var(--ink-3); text-align: center; }
.form__status { margin-top: 12px; min-height: 1.4em; text-align: center; font-size: .92rem; color: var(--ink-2); }
.form__status a { color: #fff; text-decoration: underline; }
.form__status.is-error { color: var(--red-2); }
.wa-fallback { display: none; margin-top: 14px; text-align: center; color: var(--ink-2); }
.no-wa .wa-fallback { display: block; }
.no-wa [data-wa-only], .no-wa .wa-float { display: none; }

/* ---------- 18. Pie ---------- */
.footer { background: #000; border-top: 1px solid var(--line); padding: 60px 0 calc(34px + env(safe-area-inset-bottom)); }
.footer__grid { display: grid; gap: 36px; }
.footer__logo { width: 168px; margin-bottom: 14px; }
.footer__brand p { color: var(--ink-3); max-width: 34ch; font-size: .92rem; }
.footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__nav a, .footer__info a { color: var(--ink-2); transition: color .3s; }
.footer__nav a:hover, .footer__info a:hover { color: #fff; }
.footer__info { display: grid; gap: 12px; align-content: start; color: var(--ink-2); }
.footer__info p { display: flex; align-items: center; gap: 10px; }
.footer__info .icon { color: var(--red-2); }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .84rem; }
.footer__lang { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; color: var(--ink-2); transition: color .3s, border-color .3s; }
.footer__lang:hover { color: #fff; border-color: #fff; }

/* ---------- 19. Botón flotante de mensaje de texto y aviso de idioma ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 400;
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 17px;
  border-radius: 999px; color: #fff; font-weight: 700; font-size: .92rem;
  background: linear-gradient(135deg, #25d366, #0f8f48);
  box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .6), inset 0 0 0 1px rgba(255, 255, 255, .25);
  transition: transform .6s var(--ease), opacity .4s, filter .3s;
}
.wa-float .icon { width: 28px; height: 28px; stroke-width: 1.8; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; animation: waRing 2.4s ease-out infinite; }
@keyframes waRing { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); } 80%, 100% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } }
.wa-float:hover { filter: brightness(1.1); transform: translateY(-3px); }
.wa-float__label { display: none; }
.js-ready .wa-float:not(.is-show) { transform: translateY(150%); opacity: 0; pointer-events: none; }

.toast {
  position: fixed; left: 16px; right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 450;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px 12px 18px; max-width: 460px; border-radius: 16px;
  background: rgba(14, 15, 19, .94); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -20px #000; font-size: .92rem;
}
.toast[hidden] { display: none; }
.toast button { padding: 8px 14px; border-radius: 999px; border: 0; cursor: pointer; background: #fff; color: #000; font-weight: 700; }
.toast .toast__x { background: transparent; color: var(--ink-2); font-size: 1.3rem; line-height: 1; padding: 4px 8px; margin-left: auto; }

/* ---------- 20. Tablet ≥ 640px ---------- */
@media (min-width: 640px) {
  .hero__cta .btn { flex: 0 1 auto; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .feat { grid-template-columns: repeat(2, 1fr); }
  .card--more { flex-direction: row; align-items: center; }
  .card--more .more__copy { max-width: 620px; }
  .wa-float__label { display: inline; }
  .reel { flex-basis: 250px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- 21. Escritorio ≥ 960px ---------- */
@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .brand { width: 128px; }
  .header__cta { display: inline-flex; }
  .burger, .nav__cta { display: none; }
  .nav {
    position: static; flex-direction: row; align-items: center; gap: 30px; padding: 0; background: none;
    clip-path: none; visibility: visible; transition: none;
  }
  .nav a:not(.btn) { font-family: var(--font-body); font-style: normal; font-weight: 500; text-transform: none; font-size: .92rem; border: 0; padding: 6px 0; color: var(--ink-2); position: relative; }
  .nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red-2); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
  .nav a:not(.btn):hover { color: #fff; padding-left: 0; }
  .nav a:not(.btn):hover::after { transform: scaleX(1); }
  .header__bar { gap: 24px; }
  .header__bar .nav { margin-inline: auto; }

  .hero { padding-bottom: 96px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .hero__title { --hs: clamp(3rem, 5.2vw, 4.6rem); }
  .hero__stage { width: min(100%, 380px); margin-inline: auto 0; }
  .scroll-cue { display: block; }

  .grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .feat { gap: 16px; }
  .card--feat { min-height: 520px; }

  .how__grid { grid-template-columns: 1.05fr .95fr; gap: 80px; }

  .anatomy__sticky { padding-block: 120px; }
  .js-ready .anatomy__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; column-gap: 60px; align-content: center; padding-top: calc(var(--header-h) + 16px); }
  .anatomy__head { grid-column: 1; grid-row: 1; }
  .anatomy__stage { grid-column: 2; grid-row: 1 / span 2; min-height: 0; }
  .steps { grid-column: 1; grid-row: 2; align-self: start; margin-top: 18px; }
  .anatomy__grid { grid-template-columns: 1fr 1fr; column-gap: 60px; align-items: center; }
  .stack { width: min(34vw, 440px); }
  .anatomy__head h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
  .step__title { font-size: 1.2rem; }

  .results__grid { grid-template-columns: 1fr 1fr; gap: 90px; }
  .expand__img { object-position: 50% 64%; }

  .reels__track { overflow: visible; justify-content: center; gap: 22px; padding-bottom: 40px; max-width: 1280px; margin-inline: auto; }
  .reel { flex: 1 1 0; max-width: 290px; }
  .reel:nth-child(even) { margin-top: 46px; }

  .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 24px); }

  .contact__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .logo-ghost { right: -10%; width: 70%; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .toast { left: 24px; right: auto; bottom: 24px; }
}

@media (min-width: 1280px) {
  .manifesto__text { max-width: 22em; }
}

/* ---------- 22. 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; }
  .loader { animation-delay: .2s !important; }
  .js [data-hero] { animation: none !important; opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__row, .hero__beams i, .chrome, .btn--red::after, .btn--chrome::after { animation: none !important; }
  .hero__beams { display: none; }
  .rotator__word { transition: none; }
  .reel__frame { animation: none; }
}
