/* RIVA Studio — landing.
   Paleta de marca: bordó #2D0000 (protagonista), crema #EEEAD7 (texto y detalles),
   gris oliva #757D6F (palabras destacadas y detalles), rojo bordó #6D0808 (solo luces de fondo).
   Tipografías: Archivo expandida (títulos), Inter Tight (lectura), Archivo expandida regular/liviana para los textos en verde (contraste de peso, sin cursiva). */
:root {
  --bg: #1c0003;
  --bg-2: #2d0000;
  --surface: rgba(238, 234, 215, .035);
  --surface-2: rgba(238, 234, 215, .06);
  --line: rgba(238, 234, 215, .12);
  --line-strong: rgba(238, 234, 215, .28);
  --cream: #eeead7;
  --cream-soft: rgba(238, 234, 215, .74);
  --cream-faint: rgba(238, 234, 215, .5);
  --olive: #757d6f;
  --olive-lit: #a3aa98;
  --gold: #c8a46a;      /* dorado viejo: destaca Estrategia 360 sin chocar con el bordó */
  --gold-lit: #e6cd96;
  --gold-soft: rgba(200, 164, 106, .3);
  --accent: #6d0808;
  --accent-lit: #8a0c0c;
  --glow: rgba(109, 8, 8, .75);
  --display: 'Archivo', 'Arial Black', sans-serif;
  --sans: 'Inter Tight', system-ui, sans-serif;
  --accent-font: 'Archivo', 'Arial', sans-serif; /* textos en verde: misma familia del logo, peso regular */
  --radius: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 400 17px/1.6 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-stretch: 125%; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
/* Destacados: misma letra, mismo tamaño; solo cambia el color */
em { font-family: var(--accent-font); font-style: normal; font-weight: 400; font-stretch: 125%; color: var(--olive); }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--cream); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }

/* Fondo tecnológico: grilla + luces que se mueven lento */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.backdrop::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .38; }
/* Grano muy sutil sobre el bordó: acabado de estudio, no de pantalla plana */
.backdrop::after { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 220px 220px; opacity: .07; mix-blend-mode: soft-light; }
.orb-a { width: 560px; height: 560px; background: var(--accent); top: -180px; left: 50%; translate: -50% 0; animation: drift 22s ease-in-out infinite alternate; }
.orb-b { width: 420px; height: 420px; background: var(--bg-2); bottom: -120px; right: -120px; opacity: .9; animation: drift 28s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(80px, 60px) scale(1.12); } }

/* Encabezado: logo original en texto */
.site-header { display: flex; justify-content: center; padding: 28px 16px 0; }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; font-family: var(--display); font-stretch: 125%; line-height: 1; }
.wordmark span { font-weight: 600; font-size: 32px; letter-spacing: .03em; }
.wordmark small { font-weight: 500; font-size: 9px; letter-spacing: .4em; padding-left: .4em; }
.wordmark-sm span { font-size: 19px; }
.wordmark-sm small { font-size: 6px; }
section[id] { scroll-margin-top: 96px; }

/* Barra superior: aparece al pasar la presentación y muestra el avance de lectura */
.topbar {
  position: fixed; top: 12px; left: 50%; z-index: 25; width: min(1120px, 100% - 24px);
  display: flex; align-items: center; gap: 28px; padding: 10px 10px 10px 22px; border-radius: 16px;
  background: rgba(28, 0, 3, .74); border: 1px solid var(--line); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .8);
  translate: -50% calc(-100% - 24px); opacity: 0;
  transition: translate .8s var(--ease), opacity .5s;
}
.topbar.is-shown { translate: -50% 0; opacity: 1; }
.topbar-nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; }
.topbar-nav a { color: var(--cream-soft); text-decoration: none; transition: color .3s; }
.topbar-nav a:hover { color: var(--cream); }
.topbar-progress { position: absolute; left: 18px; right: 18px; bottom: -1px; height: 1px; overflow: hidden; }
.topbar-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--olive), var(--cream)); transform-origin: left; transform: scaleX(var(--page, 0)); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 32px; border-radius: 12px; border: 1px solid transparent;
  font: 600 17px/1.2 var(--display); font-stretch: 125%; text-decoration: none; cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn span { transition: transform .5s var(--ease); }
.btn:hover span { transform: translateX(5px); }
.btn-primary { background: var(--cream); color: var(--bg-2); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 44px -8px var(--glow), 0 0 0 4px rgba(117, 125, 111, .35); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--cream); background: var(--surface-2); transform: translateY(-3px); }
.btn-sm { padding: 11px 18px; font-size: 14px; }

/* Rótulo chico sobre los títulos */
.eyebrow { font: 600 12px/1 var(--display); font-stretch: 125%; letter-spacing: .22em; text-transform: uppercase; color: var(--olive); }

/* Presentación */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; padding: 56px 0 88px; }
.hero-title { font-weight: 700; font-size: clamp(30px, 5vw, 74px); line-height: 1.04; letter-spacing: -.035em; max-width: 1150px; }
.hero-title .line { display: block; }
/* Título corto de alto impacto: más grande, en dos golpes */
.hero-title-short { font-size: clamp(34px, 4.9vw, 72px); line-height: 1.02; letter-spacing: -.035em; }
.hero-sub { max-width: 620px; margin-top: -6px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; color: var(--cream-soft); text-wrap: balance; }
.hero-cta { display: grid; justify-items: center; gap: 14px; }
.hero-note { font-size: 14px; color: var(--cream-faint); }
.hero-note a { color: var(--cream-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(238, 234, 215, .35); cursor: pointer; }
.hero-note a:hover { color: var(--cream); }
.accent-line {
  font-family: var(--accent-font); font-weight: 400; font-stretch: 125%; letter-spacing: -.035em;
  color: var(--olive);
}
/* Entrada palabra por palabra: cada una sube desde abajo de su propia máscara */
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .word > span { display: inline-block; animation: word-up 1.15s var(--ease) both; animation-delay: calc(var(--i) * 55ms + 120ms); }
@keyframes word-up { from { transform: translateY(108%); } }
.video-cue { margin-top: 24px; font-weight: 600; color: var(--cream-soft); }

/* Marco del video con borde de luz que gira */
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.video-frame {
  position: relative; width: 100%; max-width: 1040px; aspect-ratio: 16 / 9; padding: 2px; border-radius: 20px;
  background: conic-gradient(from var(--angle), var(--line) 0deg, var(--accent-lit) 60deg, var(--cream) 90deg, var(--olive) 120deg, var(--line) 180deg, var(--line) 360deg);
  animation: spin 6s linear infinite;
  box-shadow: 0 30px 90px -20px var(--glow);
}
@keyframes spin { to { --angle: 360deg; } }
.video-inner {
  position: relative; height: 100%; border-radius: 18px; overflow: hidden;
  background: radial-gradient(ellipse at 70% 100%, var(--accent) 0%, var(--bg-2) 45%, var(--bg) 100%);
}
.video-inner iframe, .video-inner video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.is-ambient video { object-fit: cover; background: #0d0a09; }
/* Botón de sonido del video de marca */
.video-sound {
  position: absolute; right: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px 9px 12px; border-radius: 999px; cursor: pointer;
  font: 600 12.5px/1 var(--sans); letter-spacing: .02em; color: var(--cream);
  border: 1px solid rgba(238, 234, 215, .28); background: rgba(13, 10, 9, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .3s, border-color .3s, transform .5s var(--ease);
}
.video-sound:hover { background: rgba(45, 0, 0, .75); border-color: var(--cream); transform: translateY(-2px); }
.video-sound:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.video-sound svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.video-sound[aria-pressed='false'] .icon-on, .video-sound[aria-pressed='true'] .icon-off { display: none; }
.video-poster { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 74%; height: auto; opacity: .1; animation: poster 9s ease-in-out infinite; }
@keyframes poster { 50% { opacity: .18; scale: 1.03; } }
.play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--cream);
  border: 1px solid var(--line-strong); background: rgba(28, 0, 3, .45); backdrop-filter: blur(8px);
  transition: transform .5s var(--ease), background .3s;
}
.play svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.play:hover { transform: scale(1.08); background: rgba(109, 8, 8, .7); }
.play::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--line-strong); animation: ring 2.6s ease-out infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.video-note { position: absolute; left: 24px; bottom: 20px; font-size: 13px; letter-spacing: .04em; color: var(--cream-soft); }
.has-video .video-note, .play[hidden] { display: none; }
.no-video .video-note { left: 0; right: 0; bottom: 22px; text-align: center; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-faint); }

/* Secciones */
.section { padding: 88px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.h2 { font-weight: 600; font-size: clamp(30px, 4vw, 52px); line-height: 1.08; max-width: 900px; }
.h2-big { font-weight: 700; font-size: clamp(32px, 5vw, 68px); }
.lead { max-width: 640px; font-size: 18px; color: var(--cream-soft); }
.lead em { font-weight: 500; }

/* Línea divisoria entre secciones: se dibuja desde el centro al aparecer */
.divider { position: relative; height: 1px; display: flex; align-items: center; justify-content: center; }
.divider::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong) 22%, rgba(117, 125, 111, .7) 50%, var(--line-strong) 78%, transparent);
  transition: transform 1.6s var(--ease) .1s;
}
.divider span {
  position: relative; width: 7px; height: 7px; rotate: 45deg;
  border: 1px solid var(--olive-lit); background: var(--bg);
  box-shadow: 0 0 0 6px var(--bg), 0 0 16px rgba(117, 125, 111, .6);
  transition: opacity .8s ease .7s, scale .8s var(--ease) .7s;
}
.js .divider.reveal { translate: 0 0; scale: 1; }
.js .divider:not(.is-visible)::before { transform: scaleX(0); }
.js .divider:not(.is-visible) span { opacity: 0; scale: .4; }

/* Cuadros: luz que sigue al cursor, elevación e inclinación suave */
.card {
  --lift: 0px; --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; isolation: isolate;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  backdrop-filter: blur(6px);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transition: transform .7s var(--ease), border-color .5s, background .5s, box-shadow .7s var(--ease);
}
.card::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(238, 234, 215, .1), transparent 55%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.card:hover { --lift: -6px; border-color: var(--line-strong); background: var(--surface-2); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8); }
.card:hover::after { opacity: 1; }

/* ¿Te pasa esto? */
.pain-grid { list-style: none; padding: 0; margin: 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; text-align: left; }
.pain { padding: 26px 24px 26px 52px; font-size: 18px; font-weight: 600; line-height: 1.4; }
.pain::before { content: ''; position: absolute; left: 24px; top: 33px; width: 10px; height: 10px; border-radius: 3px; background: var(--olive); box-shadow: 0 0 14px rgba(117, 125, 111, .6); }

/* Manifiesto: cada palabra se enciende a medida que se desplaza */
.manifesto { padding: 24px 0 104px; display: grid; gap: 28px; }
.light-text { display: grid; gap: .8em; max-width: 1080px; font: 600 clamp(26px, 3.5vw, 50px)/1.18 var(--display); font-stretch: 125%; letter-spacing: -.028em; }
.light-text em { font-weight: 400; }
.light-text .w { transition: opacity .45s ease; }
.js .light-text .w { opacity: .14; }
.js .light-text .w.on { opacity: 1; }

/* Cinta con las 8 etapas: liviana, numerada, se desvanece en los costados */
.ticker {
  position: relative; overflow: hidden; padding: 30px 0; border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.ticker-track { display: flex; align-items: center; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  display: inline-flex; align-items: baseline; gap: 14px; white-space: nowrap;
  font: 500 clamp(13px, 1.2vw, 15px)/1 var(--display); font-stretch: 125%; text-transform: uppercase; letter-spacing: .26em; color: var(--cream-soft);
}
.ticker-track span::after { content: ''; display: inline-block; width: clamp(40px, 6vw, 88px); height: 1px; margin-inline: clamp(22px, 3vw, 40px); background: linear-gradient(90deg, transparent, var(--olive), transparent); vertical-align: middle; align-self: center; }
.ticker-track b { font: 300 clamp(15px, 1.4vw, 18px)/1 var(--accent-font); font-stretch: 125%; letter-spacing: .04em; color: var(--olive-lit); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Método ACME */
.acme { position: relative; width: 100%; margin-top: 24px; --progress: 0; }
.acme-line { position: absolute; left: 12.5%; right: 12.5%; top: 64px; height: 2px; background: var(--line); }
.acme-line span { display: block; height: 100%; width: calc(var(--progress) * 100%); background: linear-gradient(90deg, var(--olive), var(--cream)); box-shadow: 0 0 16px rgba(117, 125, 111, .7); transition: width .25s linear; }
.acme-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { padding: 30px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.letter {
  display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 6px; border-radius: 20px;
  font: 700 46px/1 var(--display); font-stretch: 125%;
  background: var(--bg-2); border: 1px solid var(--line-strong); box-shadow: 0 0 0 6px var(--bg), 0 0 30px -4px var(--glow);
  transition: color .8s var(--ease), border-color .8s var(--ease), box-shadow .8s var(--ease), transform .8s var(--ease);
}
.js .step:not(.is-active) .letter { color: var(--cream-faint); border-color: var(--line); box-shadow: 0 0 0 6px var(--bg); transform: scale(.94); }
.step.is-active .letter { border-color: var(--olive); box-shadow: 0 0 0 6px var(--bg), 0 0 42px -2px var(--glow); }
.step h3 { font-size: 24px; font-weight: 600; }
.tagline { font: 500 15.5px/1.4 var(--accent-font); font-stretch: 125%; letter-spacing: -.01em; color: var(--olive-lit); }
.step p:not(.tagline):not(.chips) { font-size: 15.5px; color: var(--cream-soft); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: auto; padding-top: 8px; }
.chips span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); }
.step-peak { background: var(--cream); color: var(--bg-2); border-color: var(--cream); }
.step-peak:hover { background: var(--cream); border-color: var(--cream); }
.step-peak .letter, .js .step-peak:not(.is-active) .letter { background: var(--bg-2); color: var(--cream); }
.step-peak .tagline { color: var(--accent); }
.step-peak p:not(.tagline):not(.chips) { color: rgba(45, 0, 0, .8); }
.step-peak .chips span { border-color: rgba(45, 0, 0, .3); }

/* Servicios */
/* Lo que hacemos: resultados + caminos (editorial, sin cajas de planes) */
.services .lead { max-width: 720px; }
.eyebrow-soft { margin-top: 28px; color: var(--cream-faint); }
.outcomes { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); text-align: left; border-top: 1px solid var(--line); counter-reset: resultado; }
.outcome { position: relative; padding: 30px 32px 6px 0; counter-increment: resultado; }
.outcome + .outcome { padding-left: 32px; border-left: 1px solid var(--line); }
.outcome::before { content: counter(resultado, decimal-leading-zero); font: 300 15px/1 var(--accent-font); font-stretch: 125%; letter-spacing: .08em; color: var(--olive-lit); }
.outcome::after { content: ''; position: absolute; top: -1px; left: 0; height: 1px; width: 70%; background: linear-gradient(90deg, var(--olive-lit), transparent); transition: width 1.4s var(--ease) calc(var(--d, 0s) + .3s); }
.outcome + .outcome::after { left: 32px; }
.js .outcome:not(.is-visible)::after { width: 0; }
.outcome h3 { margin: 16px 0 10px; font-size: clamp(19px, 1.8vw, 23px); font-weight: 600; line-height: 1.2; }
.outcome p { font-size: 16px; color: var(--cream-soft); }
.paths-intro { margin-top: 36px; font-size: 18px; color: var(--cream-soft); }
/* Cuadros de servicios */
.service-grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; text-align: left; }
.service { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 16px; }
/* Etiqueta del sistema: número + qué tipo de sistema es */
.system-kicker { display: flex; align-items: center; gap: 12px; margin-top: 6px; font: 500 12px/1 var(--display); font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-faint); }
.system-kicker b { font-weight: 700; color: var(--olive-lit); }
.system-kicker b::after { content: ''; display: inline-block; width: 22px; height: 1px; margin-left: 12px; vertical-align: middle; background: currentColor; opacity: .6; }
.service-featured .system-kicker b { color: var(--gold); }
/* Nombre del servicio: protagonista del cuadro, con una línea que se dibuja al aparecer */
.service-name { position: relative; margin-top: 6px; padding-bottom: 18px; font-size: clamp(30px, 7vw, 54px); font-weight: 700; line-height: .98; letter-spacing: -.035em; color: var(--cream); }
.service-name::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 72px; background: linear-gradient(90deg, var(--olive-lit), transparent); transition: width 1.2s var(--ease) .35s; }
.js .service:not(.is-visible) .service-name::after { width: 0; }
.service-tagline { font: 400 clamp(18px, 1.9vw, 22px)/1.25 var(--accent-font); font-stretch: 125%; letter-spacing: -.01em; color: var(--olive-lit); }
.service > p:not(.service-tagline):not(.fine):not(.system-kicker) { color: var(--cream-soft); }
.service .btn { margin-top: auto; align-self: stretch; }
/* Estrategia 360 destacado en dorado: borde con brillo que recorre, luz cálida y detalles dorados */
@property --gold-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.service-featured {
  border-color: transparent;
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(200, 164, 106, .18), transparent 55%),
    linear-gradient(160deg, rgba(109, 8, 8, .5), rgba(45, 0, 0, .35) 65%);
  box-shadow: 0 30px 90px -34px rgba(200, 164, 106, .45);
}
.service-featured::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--gold-angle), var(--gold-soft) 0deg, var(--gold-lit) 50deg, var(--gold) 90deg, var(--gold-soft) 160deg, var(--gold-soft) 360deg);
  -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;
  animation: gold-spin 7s linear infinite;
}
@keyframes gold-spin { to { --gold-angle: 360deg; } }
.service-featured:hover { border-color: transparent; background: radial-gradient(120% 70% at 0% 0%, rgba(200, 164, 106, .24), transparent 55%), linear-gradient(160deg, rgba(109, 8, 8, .6), rgba(45, 0, 0, .4) 65%); box-shadow: 0 34px 100px -30px rgba(200, 164, 106, .55); }
.service-featured::after { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(230, 205, 150, .13), transparent 55%); }
.service-featured .badge { background: linear-gradient(135deg, var(--gold-lit), var(--gold)); color: var(--bg-2); }
/* «Estrategia 360» en dorado con un brillo lento que lo recorre */
.service-featured .service-name {
  background: linear-gradient(110deg, var(--gold) 0%, var(--gold-lit) 35%, #fff4d8 50%, var(--gold-lit) 65%, var(--gold) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gold-shine 6s ease-in-out infinite;
}
.service-featured .service-name::after { background: linear-gradient(90deg, var(--gold-lit), transparent); }
@keyframes gold-shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.service-featured .service-tagline { color: var(--gold-lit); }
.service-featured .term { color: var(--gold); }
.service-featured .checks li::before { border-color: var(--gold); background: radial-gradient(circle, var(--gold-lit) 0 3px, transparent 4px); }
.service-featured .btn-primary { background: linear-gradient(135deg, var(--gold-lit), var(--gold)); color: var(--bg-2); }
.service-featured .btn-primary:hover { box-shadow: 0 16px 44px -8px rgba(200, 164, 106, .55), 0 0 0 4px rgba(200, 164, 106, .22); }
.badge { align-self: flex-start; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; padding: 8px 14px; border-radius: 999px; background: var(--cream); color: var(--bg-2); }
.badge-outline { background: transparent; color: var(--olive-lit); border: 1px solid rgba(117, 125, 111, .55); }
.term { margin-left: 8px; font-size: 12px; letter-spacing: .06em; color: var(--olive-lit); white-space: nowrap; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--olive); background: radial-gradient(circle, var(--olive-lit) 0 3px, transparent 4px); }
.fine { font-size: 14px; color: var(--cream-faint) !important; }

/* Por qué RIVA y no una agencia */
.compare { width: 100%; max-width: 980px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; align-items: stretch; text-align: left; }
.compare-col { padding: clamp(26px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.compare-col h3 { font-size: 15px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.compare-col li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); }
.compare-col li:last-child { border-bottom: 0; }
.compare-col li::before { position: absolute; left: 0; top: 14px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; line-height: 1; }
.compare-agency { background: transparent; border-style: dashed; }
.compare-agency h3 { color: var(--cream-faint); }
.compare-agency li { color: var(--cream-faint); }
.compare-agency li::before { content: '✕'; border: 1px solid var(--line-strong); color: var(--cream-faint); }
.compare-riva { background: linear-gradient(160deg, rgba(109, 8, 8, .5), rgba(45, 0, 0, .25) 70%); border-color: rgba(238, 234, 215, .26); box-shadow: 0 30px 80px -30px var(--glow); }
.compare-riva h3 { color: var(--cream); }
.compare-riva li { font-weight: 600; }
.compare-riva li::before { content: '✓'; background: var(--olive); color: var(--cream); font-size: 12px; }
.compare-note { max-width: 640px; color: var(--cream-soft); }

/* Cómo empezamos */
.start-grid { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; counter-reset: paso; }
.start-step { padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; counter-increment: paso; }
.start-step::before { content: counter(paso, decimal-leading-zero); font: 300 40px/1 var(--accent-font); font-stretch: 125%; letter-spacing: -.03em; color: var(--olive); margin-bottom: 8px; }
.start-step h3 { font-size: 19px; font-weight: 600; line-height: 1.2; }
.start-step p { font-size: 15.5px; color: var(--cream-soft); }

/* Preguntas */
.faq-list { width: 100%; max-width: 860px; display: grid; gap: 10px; text-align: left; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; transition: border-color .4s, background .4s; }
.faq-list details[open] { border-color: var(--line-strong); background: var(--surface-2); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--olive); color: var(--olive-lit); font-size: 20px; transition: transform .6s var(--ease), background .4s; }
.faq-list details[open] summary::after { transform: rotate(135deg); background: rgba(117, 125, 111, .2); }
.faq-body { padding: 0 24px 22px; display: grid; gap: 14px; justify-items: start; }
.faq-body p { color: var(--cream-soft); }
.faq-cta { font-weight: 600; color: var(--olive-lit); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .3s; }
.faq-cta:hover { color: var(--cream); }
/* Ver más preguntas: se muestran 5 y el resto al tocar */
.js .faq-list:not(.is-expanded) .faq-extra { display: none; }
.faq-list.is-expanded .faq-extra { animation: faq-in .6s var(--ease) both; }
.faq-list.is-expanded .faq-extra:nth-of-type(7) { animation-delay: .08s; }
.faq-list.is-expanded .faq-extra:nth-of-type(8) { animation-delay: .16s; }
@keyframes faq-in { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.faq-toggle { display: inline-flex; align-items: center; gap: 10px; margin-top: -6px; padding: 10px 4px; background: none; border: 0; font: 600 15px/1 var(--sans); color: var(--olive-lit); cursor: pointer; transition: color .3s; }
.faq-toggle:hover { color: var(--cream); }
.faq-toggle span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--olive); font-size: 16px; transition: transform .5s var(--ease); }
.faq-toggle[aria-expanded='true'] span { transform: rotate(45deg); }
.faq-toggle[hidden] { display: none; }
.faq-more { display: grid; justify-items: center; gap: 18px; margin-top: 8px; }
.faq-more p { color: var(--cream-soft); }
.faq-more-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Agenda y formulario */
.personal { display: inline-flex; align-items: center; gap: 14px; padding: 8px 20px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); }
.personal img { width: 44px; height: 44px; border-radius: 50%; }
.personal p { font-size: 15px; font-weight: 500; color: var(--cream-soft); }
.personal strong { font-weight: 600; color: var(--cream); }
.form {
  width: 100%; max-width: 860px; padding: clamp(22px, 4vw, 44px); text-align: left;
  border-color: rgba(238, 234, 215, .22); box-shadow: 0 30px 90px -30px var(--glow);
}
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-fields[hidden], .form-success[hidden], .hp { display: none; }
/* Formulario en 2 pasos */
.form-step { grid-column: 1 / -1; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.js .form-step:not(.is-current) { display: none; }
.js .form-step.is-current { animation: step-in .55s var(--ease) both; }
.js .form-step.is-back { animation-name: step-back; }
@keyframes step-in { from { opacity: 0; translate: 24px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes step-back { from { opacity: 0; translate: -24px 0; } to { opacity: 1; translate: 0 0; } }
.form-progress { display: none; }
.js .form-progress { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .04em; color: var(--cream-faint); }
.form-progress b { color: var(--cream); font-weight: 600; }
.form-progress i { flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.form-progress i b { display: block; height: 100%; width: 50%; background: linear-gradient(90deg, var(--olive), var(--cream)); transition: width .6s var(--ease); }
.form[data-current='2'] .form-progress i b { width: 100%; }
.form-nav { display: flex; gap: 12px; }
.form-nav .btn-primary { flex: 1; }
.form .form-nav .btn { width: auto; margin-top: 4px; }
.form-back { flex: none; }

.form.is-sending .btn-primary { opacity: .6; pointer-events: none; }
/* Confirmación: reemplaza al formulario cuando la consulta llegó */
.form-success { display: grid; justify-items: center; gap: 14px; text-align: center; padding: clamp(12px, 3vw, 28px) 0; outline: none; animation: success-in .7s var(--ease) both; }
.form-success h3 { font-family: var(--display); font-stretch: 125%; font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--cream); }
.form-success p { max-width: 46ch; color: var(--cream-soft); }
.form-success .btn { width: auto; margin-top: 6px; }
.form-success-mark { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--olive-lit); display: grid; place-items: center; box-shadow: 0 0 40px -6px rgba(163, 170, 152, .45); }
.form-success-mark::after { content: ''; width: 22px; height: 12px; border-left: 2px solid var(--olive-lit); border-bottom: 2px solid var(--olive-lit); transform: translateY(-3px) rotate(-45deg); }
@keyframes success-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.form:hover { --lift: 0px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--cream-soft); min-width: 0; border: 0; margin: 0; padding: 0; }
.field-wide { grid-column: 1 / -1; }
.field legend { padding: 0; margin-bottom: 8px; }
input, select, textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--cream); padding: 14px 16px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: rgba(28, 0, 3, .6);
  transition: border-color .3s, box-shadow .4s var(--ease);
}
select option { background: var(--bg-2); }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--cream-faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--olive-lit); box-shadow: 0 0 0 4px rgba(117, 125, 111, .3); }
input[aria-invalid='true'], textarea[aria-invalid='true'] { border-color: #e7a19f; }
[data-group][aria-invalid='true'] .options span { border-color: #e7a19f; }
[data-group][aria-invalid='true'] legend { color: #e7a19f; }
/* Consentimiento para novedades y remarketing (opcional, sin marcar) */
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--cream-soft); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; padding: 0; accent-color: var(--olive); cursor: pointer; }
.options { display: flex; flex-wrap: wrap; gap: 10px; }
.options label { position: relative; }
.options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.options span { display: inline-block; padding: 12px 18px; border-radius: 10px; border: 1px solid var(--line-strong); font-size: 15px; color: var(--cream); cursor: pointer; transition: background .35s, color .35s, border-color .35s, transform .5s var(--ease); }
.options span:hover { transform: translateY(-2px); border-color: var(--olive-lit); }
.options input:checked + span { background: var(--cream); color: var(--bg-2); border-color: var(--cream); }
.options input:focus-visible + span { outline: 2px solid var(--cream); outline-offset: 3px; }
.form .btn { width: 100%; margin-top: 4px; }
.form-help { font-size: 13px; color: var(--cream-faint); text-align: center; }
.form-status { font-size: 15px; text-align: center; color: var(--cream); }
.form-status:empty { display: none; }
.form-fallback { text-align: center; font-weight: 600; }

/* Pie */
.footer { border-top: 1px solid var(--line); background: rgba(45, 0, 0, .55); margin-top: 40px; }
.footer-logo img { width: 120px; height: auto; }
.footer-inner { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding: 56px 0 40px; font-size: 14px; text-align: left; }
.footer-brand { display: grid; gap: 18px; justify-items: start; align-content: start; }
.footer-brand p { max-width: 34ch; color: var(--cream-soft); }
.footer-title { margin-bottom: 14px; font: 600 11.5px/1 var(--display); font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; color: var(--olive-lit); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .link-btn, .to-top { color: var(--cream-soft); text-decoration: none; transition: color .3s; }
.footer-col a:hover, .link-btn:hover, .to-top:hover { color: var(--cream); }
/* Datos a completar antes de publicar: se ven como borrador a propósito */
.pendiente { color: var(--olive-lit); font-style: italic; border-bottom: 1px dashed rgba(163, 170, 152, .5); }
.qr-slot { display: grid; place-items: center; width: 92px; height: 92px; margin-top: 4px; text-align: center; font-size: 11px; line-height: 1.3; border: 1px dashed rgba(163, 170, 152, .5); border-radius: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 84px 40px 0; border-top: 1px solid var(--line); font-size: 13px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.copy { color: var(--cream-faint); }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 20; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle, #fffef9 0%, #f6f4ed 65%, var(--cream) 100%); color: var(--gold);
  border: 1px solid rgba(238, 234, 215, .75);
  box-shadow: 0 0 18px rgba(0, 0, 0, .3), 0 0 32px rgba(200, 164, 106, .28);
  transition: transform .5s var(--ease), box-shadow .3s var(--ease);
}
.wa-float:hover { transform: scale(1.04); box-shadow: 0 0 20px rgba(0, 0, 0, .3), 0 0 38px rgba(200, 164, 106, .4); }
.wa-float:focus-visible { outline: 2px solid var(--gold-lit); outline-offset: 5px; }
.wa-float svg { width: 32px; height: 32px; fill: currentColor; stroke: none; }

/* Barra fija de celular (solo ≤600 px) */
.mobile-bar { display: none; }
/* Puntos de los carruseles de celular */
.carousel-dots { display: none; }

/* Aviso de cookies */
.cookie-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 30; width: min(440px, calc(100% - 32px));
  display: grid; gap: 14px; padding: 20px; border-radius: 16px; font-size: 14px; color: var(--cream-soft);
  background: rgba(45, 0, 0, .92); border: 1px solid var(--line-strong); backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.cookie-banner[hidden] { display: none; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Aparición al recorrer (solo si hay JavaScript).
   Usa translate/scale para no chocar con la inclinación de los cuadros (transform). */
.js .reveal {
  opacity: 0; translate: 0 40px; scale: .97;
  transition: opacity 1.1s var(--ease) var(--d, 0s), translate 1.1s var(--ease) var(--d, 0s), scale 1.1s var(--ease) var(--d, 0s);
}
.js .card.reveal {
  transition: opacity 1.1s var(--ease) var(--d, 0s), translate 1.1s var(--ease) var(--d, 0s), scale 1.1s var(--ease) var(--d, 0s),
    transform .7s var(--ease), border-color .5s, background .5s, box-shadow .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; translate: 0 0; scale: 1; }
/* La presentación entra al cargar, sin depender de JavaScript */
.intro { animation: rise 1.2s var(--ease) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; translate: 0 30px; } }

/* Página de privacidad */
.legal { max-width: 760px; padding: 64px 0 120px; display: grid; gap: 18px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); }
.legal h2 { font-size: 20px; margin-top: 18px; }
.legal p, .legal li { color: var(--cream-soft); }

/* Celular y tablet */
@media (max-width: 900px) {
  .topbar-nav { gap: 16px; font-size: 13px; }
  .topbar-nav a:nth-child(3) { display: none; }
  .acme-grid, .start-grid { grid-template-columns: repeat(2, 1fr); }
  .acme-line { display: none; }
  .compare { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 60px; gap: 22px; }
  .section { padding: 64px 0; }
  .topbar { gap: 12px; padding: 8px 8px 8px 16px; }
  .topbar-nav { display: none; }
  .topbar .btn { width: auto; margin-left: auto; padding: 10px 14px; font-size: 13px; }
  .manifesto { padding: 8px 0 72px; }
  .video-poster { width: 76%; top: 44%; }
  .play { width: 64px; height: 64px; }
  .video-note { left: 0; right: 0; bottom: 10px; text-align: center; font-size: 12px; }
  .start-grid { grid-template-columns: 1fr; }
  /* Cómo empezamos: recorrido en zigzag; cada paso entra desde su lado (izquierda, derecha, izquierda, derecha) */
  .start { overflow-x: clip; }
  .start-grid { position: relative; gap: 22px; }
  .start-grid::before {
    content: ''; position: absolute; left: 50%; top: 24px; bottom: 24px; width: 1px; z-index: -1;
    background: linear-gradient(var(--olive), rgba(117, 125, 111, .15));
  }
  .start-step { width: 86%; background: rgba(28, 0, 3, .82); }
  .start-step:nth-child(odd) { justify-self: start; }
  .start-step:nth-child(even) { justify-self: end; text-align: right; align-items: flex-end; }
  /* En celular cada paso aparece al llegar a él, sin la demora escalonada de la compu */
  .js .start-step.reveal { transition: opacity .9s var(--ease), translate .9s var(--ease), scale .9s var(--ease), transform .7s var(--ease), border-color .5s, background .5s, box-shadow .7s var(--ease); }
  .js .start-step.reveal:nth-child(odd) { translate: -70px 0; }
  .js .start-step.reveal:nth-child(even) { translate: 70px 0; }
  .js .start-step.reveal.is-visible { translate: 0 0; }
  .form-fields, .form-step { grid-template-columns: minmax(0, 1fr); }
  .outcomes { grid-template-columns: 1fr; }
  .outcome, .outcome + .outcome { padding: 24px 0 18px; border-left: 0; }
  .outcome + .outcome { border-top: 1px solid var(--line); }
  .outcome + .outcome::after { left: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .orb-a { width: 380px; height: 380px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 44px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .btn { width: auto; }
  .btn { width: 100%; padding: 16px 20px; font-size: 16px; }
  .cookie-actions .btn { width: auto; flex: 1; }

  /* Escala de celular: letras más chicas y más aire para que nada se vea apretado */
  .wrap { width: calc(100% - 40px); }
  body { font-size: 15.5px; line-height: 1.6; }
  .section { padding: 72px 0; gap: 22px; }
  .hero-title { font-size: 26px; line-height: 1.1; letter-spacing: -.03em; }
  .h2 { font-size: 24px; line-height: 1.15; letter-spacing: -.015em; }
  .h2-big { font-size: 26px; }
  .lead { font-size: 16px; line-height: 1.6; }
  .eyebrow { font-size: 11px; letter-spacing: .2em; }
  /* Dolores y método: se deslizan de costado, con puntos de avance (menos largo en celular) */
  .pain-grid, .acme-grid {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none;
    width: auto; align-self: stretch; margin-inline: -20px; padding: 8px 20px 14px;
  }
  .pain-grid::-webkit-scrollbar, .acme-grid::-webkit-scrollbar { display: none; }
  .pain-grid > li, .acme-grid > li { flex: 0 0 82%; scroll-snap-align: start; }
  .pain { min-height: 104px; }
  .js .pain-grid > .reveal, .js .acme-grid > .reveal { translate: 0 0; transition-delay: 0s; }
  .carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: -6px; }
  .carousel-dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--line-strong); transition: width .5s var(--ease), background .4s; }
  .carousel-dots span.is-on { width: 22px; background: var(--olive-lit); }
  .pain { padding: 18px 18px 18px 42px; font-size: 15.5px; line-height: 1.45; }
  .pain::before { left: 19px; top: 26px; width: 8px; height: 8px; }
  .light-text { font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
  .ticker-track b { font-size: 13px; }
  .step { padding: 26px 20px; }
  .step h3 { font-size: 20px; }
  .step p:not(.tagline):not(.chips) { font-size: 15px; }
  .tagline { font-size: 14.5px; }
  .outcome h3 { margin: 12px 0 8px; font-size: 18px; }
  .outcome p { font-size: 15px; }
  .paths-intro { margin-top: 20px; font-size: 16px; }
  .service { padding: 26px 22px; gap: 14px; }
  .service-name { font-size: 28px; padding-bottom: 14px; }
  .service-tagline { font-size: 17px; }
  .service > p:not(.service-tagline):not(.fine):not(.system-kicker), .checks li { font-size: 15px; }
  .badge { font-size: 11.5px; padding: 7px 12px; }
  .compare-col { padding: 24px 20px; }
  .compare-col li { padding: 12px 0 12px 32px; font-size: 15px; }
  .start-step { padding: 22px 20px; }
  .start-step::before { font-size: 32px; margin-bottom: 4px; }
  .start-step h3 { font-size: 17px; }
  .start-step p { font-size: 14.5px; }
  .faq-list summary { padding: 17px 18px; font-size: 16px; line-height: 1.35; }
  .faq-list summary::after { width: 26px; height: 26px; font-size: 18px; }
  .faq-body { padding: 0 18px 20px; }
  .faq-body p { font-size: 15px; }
  .form-success h3 { font-size: 22px; }
  .no-video .video-note { bottom: 12px; font-size: 10px; letter-spacing: .18em; }
  .form .form-nav { gap: 8px; flex-direction: column; }
  .form .form-nav .btn { width: 100%; min-width: 0; }
  .form .form-nav .form-back { order: 1; }
  .form .form-nav .form-back { padding: 16px 14px; font-size: 15px; }
  .form .form-nav .btn-primary { padding: 16px 12px; font-size: 15px; white-space: normal; }

  /* Barra fija abajo: reemplaza a la barra de arriba y al botón flotante en celular */
  .topbar, .wa-float { display: none; }
  .mobile-bar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 24;
    display: flex; align-items: center; gap: 10px; padding: 8px;
    border-radius: 18px; border: 1px solid var(--line-strong);
    background: rgba(28, 0, 3, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .7);
    translate: 0 calc(100% + 30px); opacity: 0;
    transition: translate .6s var(--ease), opacity .4s ease;
  }
  .mobile-bar.is-shown { translate: 0 0; opacity: 1; }
  .mobile-bar .btn { flex: 1; width: auto; padding: 14px 16px; font-size: 15px; }
  .mobile-bar-wa {
    flex: none; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px;
    color: var(--cream); border: 1px solid var(--line-strong); background: rgba(238, 234, 215, .06);
  }
  .mobile-bar-wa svg { width: 24px; height: 24px; fill: currentColor; }
  .mobile-bar-progress { position: absolute; left: 18px; right: 18px; top: -1px; height: 1px; overflow: hidden; border-radius: 1px; }
  .mobile-bar-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--olive), var(--cream)); transform-origin: left; transform: scaleX(var(--page, 0)); }
  .footer-inner { padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; padding: 22px 0 104px; }
}

/* Respeto a quienes prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; translate: 0 0; scale: 1; }
  .card { transform: none !important; }
}
.nowrap { white-space: nowrap; }
.system-kicker + .service-name { margin-top: -4px; }
@media (max-width: 600px) {
  .system-kicker { flex-wrap: wrap; gap: 6px 10px; font-size: 11px; line-height: 1.3; letter-spacing: .12em; }
  .system-kicker b { flex-basis: 100%; }
  .system-kicker b::after { display: none; }
}
.service-grid > *, .service > * { min-width: 0; }
@media (max-width: 600px) {
  /* Áreas de toque cómodas (mínimo ~40 px de alto) */
  .faq-cta { display: inline-block; padding: 10px 0 4px; }
  .to-top, .footer-col a, .footer-col .link-btn { display: inline-block; padding: 10px 0; }
  .footer-col ul { gap: 2px; }
}
@media (max-width: 600px) {
  /* Aviso de cookies compacto en celular */
  .cookie-banner { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); width: auto; padding: 14px 16px; gap: 10px; font-size: 13px; line-height: 1.45; }
  .cookie-actions .btn { padding: 11px 14px; font-size: 14px; }
}
.footer-col li { color: var(--cream-soft); }
@media (max-width: 600px) {
  .hero-title.hero-title-short { font-size: clamp(28px, 9.4vw, 40px); line-height: 1.06; }
  .hero-sub { font-size: 15.5px; }
  .hero-note { font-size: 13px; }
}
/* «No es para vos si…»: filtro honesto al cierre de Sistemas */
.not-for { max-width: 620px; margin-top: 8px; font-size: 15px; color: var(--cream-faint); }
.not-for strong { color: var(--cream-soft); font-weight: 600; }
@media (max-width: 600px) {
  /* Botones largos («Quiero mi diagnóstico sin cargo») en una sola línea */
  .btn { padding-inline: 14px; font-size: 15px; letter-spacing: -.01em; }
}
@media (max-width: 380px) {
  .btn { font-size: 14px; padding-inline: 12px; }
}
.scarcity { margin-top: -10px; font-size: 14px; letter-spacing: .01em; color: var(--olive-lit); }
/* Pie: íconos de WhatsApp e Instagram */
.social-link { display: inline-flex; align-items: center; gap: 10px; }
.social-icon { flex: none; width: 20px; height: 20px; color: var(--olive-lit); transition: color .3s, transform .4s var(--ease); }
.social-link:hover .social-icon { color: var(--cream); transform: translateY(-1px); }
.footer-col a.social-link { display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 600px) {
  .footer-col a.social-link { align-items: flex-start; }
  .footer-col a.social-link .social-icon { margin-top: 1px; }
}
.hero-title em { letter-spacing: -.035em; }
