/* Portada rediseñada (2026-11-24). Solo se carga en la página con «home: true» (después de site.css).
   Tipos: Barlow Condensed (titulares) y Barlow (texto), ya servidas desde la web. Animaciones solo de transform/opacity;
   con «reducir movimiento» todo queda quieto y visible; lo que depende de JavaScript solo se activa con la clase .hm-js
   (la pone home.js), así que sin JS la portada se ve completa. */

.home {
  --hm-ink: #17120e; --hm-ink2: #241c15; --hm-cream: #f4ede3; --hm-cream2: #e8dccb;
  --hm-cu: #9a5d2c; --hm-cu-hi: #e0955a; --hm-mute-d: #c4b8a8; --hm-mute-l: #5b5046; --hm-off: #8f857b;
  --hm-ease: cubic-bezier(.2, .7, .2, 1);
  background: var(--hm-cream); color: var(--hm-ink);
}
.home :focus-visible { outline: 3px solid var(--hm-cu); outline-offset: 3px; }
.hm-hero :focus-visible, .hm-gal :focus-visible, .hm-close :focus-visible { outline-color: var(--hm-cu-hi); }
.hm-wrap { max-width: 1240px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 48px); }

/* ───── Cabecera flotante en cápsula ───── */
.home .site-header--landing {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 70;
  background: none; border: 0; box-shadow: none; pointer-events: none;
}
.home .nav--landing {
  pointer-events: auto; max-width: 1120px; width: calc(100% - 24px); margin: 0 auto; padding: 7px 8px 7px 16px; gap: 10px;
  background: var(--hm-cream); border: 1px solid rgba(23, 18, 14, .14); border-radius: 999px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .28);
}
.home .nav-brand { color: var(--hm-ink); }
.home .nav-brand img { width: 34px; height: 34px; }
.home .nav--landing .btn { border-radius: 999px; min-height: 44px; }
.home .nav--landing .nav-quote { padding: 9px 20px; font-size: 16px; white-space: nowrap; }
.home .nav--landing .q-short { display: none; }
.home .menu-btn { border-radius: 999px; min-height: 44px; border-color: rgba(23, 18, 14, .35); background: transparent; }
.home .menu-btn:hover { background: var(--hm-ink); color: var(--hm-cream); }
.home .nav-brand { min-height: 44px; }
.home .nav--landing .nav-lang { align-items: center; }
.home .nav--landing .nav-lang strong { display: inline-flex; align-items: center; min-height: 44px; margin-block: -8px; }
.home .nav--landing .nav-lang a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; margin-block: -8px; }
.home .menu-panel { pointer-events: auto; }
.home .menu-overlay { pointer-events: auto; }
@media (max-width: 640px) {
  .home .nav--landing { padding: 6px 6px 6px 12px; gap: 8px; }
  .home .nav--landing .q-long { display: none; }
  .home .nav--landing .q-short { display: inline; }
  .home .nav--landing .nav-quote { padding: 9px 14px; font-size: 15px; }
  .home .menu-btn { padding: 0 12px; }
}
@media (max-width: 400px) { .home .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .home .menu-btn { width: 44px; padding: 0; justify-content: center; } }

/* ───── Marco de navegador (se usa en toda la portada) ───── */
.hm-win { background: #0e0b08; border-radius: 12px; overflow: hidden; border: 1px solid rgba(244, 237, 227, .18); box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .65); }
.hm-win__bar { display: flex; gap: 6px; padding: 9px 12px; background: #231a13; }
.hm-win__bar i { width: 9px; height: 9px; border-radius: 50%; background: #6b5a4a; }
.hm-win__bar i:first-child { background: var(--hm-cu-hi); }
.hm-win img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; }

/* ───── Portada: lo primero es verlo ───── */
.hm-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--hm-ink); color: var(--hm-cream); display: flex; flex-direction: column; justify-content: flex-start; }
.hm-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(224, 149, 90, .26) 1px, transparent 1.3px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(100deg, transparent 10%, #000 70%); mask-image: linear-gradient(100deg, transparent 10%, #000 70%);
}
.hm-stage { --u: min(2.45vw, 14px); position: relative; width: calc(var(--u) * 41.5); max-width: 100%; height: calc(var(--u) * 50); margin: 98px auto 0; flex: none; }
.hm-f { position: absolute; }
.hm-f--1 { --s: -.05; } .hm-f--2 { --s: .05; } .hm-f--4 { --s: -.09; } .hm-f--5 { --s: .1; }
.hm-f__in { position: relative; transform-origin: 50% 50%; }
.hm-f--1 { width: calc(var(--u) * 21); left: calc(var(--u) * 1.5); top: calc(var(--u) * 5.2); z-index: 1; }
.hm-f--2 { width: calc(var(--u) * 19.5); left: calc(var(--u) * 4); top: calc(var(--u) * 12.2); z-index: 2; }
.hm-f--4 { width: calc(var(--u) * 17.2); left: calc(var(--u) * 22.8); top: calc(var(--u) * 5.8); z-index: 4; }
.hm-f--5 { width: calc(var(--u) * 38.2); left: calc(var(--u) * 1.3); top: calc(var(--u) * 38.2); z-index: 3; }

/* Etiquetas de lo que se ve: webs, WhatsApp con IA, automatizaciones */
.hm-tag { position: absolute; left: 4px; bottom: calc(100% + 16px); z-index: 5; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: var(--hm-cream); color: var(--hm-ink); font: 600 max(calc(var(--u) * .95), 12px)/1.1 var(--font-body); white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
.hm-f--4 .hm-tag { bottom: calc(100% + 22px); }
.hm-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hm-cu); }

.hm-hero__text { position: relative; z-index: 3; padding: 10px 22px 40px; }
.hm-h1 { text-wrap: balance; margin: 0; font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; color: var(--hm-cream); font-size: clamp(40px, 11.8vw, 62px); line-height: .94; letter-spacing: .005em; }
.hm-cta { display: flex; align-items: center; gap: 10px 26px; flex-wrap: wrap; margin-top: 16px; }
.hm-btn.btn { min-height: 56px; padding: 14px 32px; font-size: 19px; border-radius: 999px; background: var(--hm-cu); border-color: var(--hm-cu); color: #fff; }
.hm-btn.btn:hover { background: #b06c36; border-color: #b06c36; color: #fff; }
.hm-wa { display: inline-flex; align-items: center; min-height: 44px; color: var(--hm-mute-d); font-size: 16px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(196, 184, 168, .5); }
.hm-wa:hover { color: var(--hm-cream); text-decoration-color: var(--hm-cu-hi); }
.hm-b--m { display: none; }
.hm-chat { border-radius: 0 0 1.9em 1.9em; }

@media (min-width: 900px) {
  .hm-hero { height: clamp(640px, 62.5vw, 1000px); justify-content: center; }
  .hm-stage { --u: min(1vw, 15px); position: absolute; inset: 0 0 0 auto; width: 62vw; height: auto; margin: 0; }
  .hm-f--1 { width: calc(var(--u) * 25); left: calc(var(--u) * 14); top: calc(var(--u) * 10); }
  .hm-f--2 { width: calc(var(--u) * 27); left: calc(var(--u) * 8); top: calc(var(--u) * 19); }
  .hm-f--4 { width: calc(var(--u) * 18); left: calc(var(--u) * 42); top: calc(var(--u) * 10.5); }
  .hm-f--5 { width: calc(var(--u) * 35); left: calc(var(--u) * 10); top: calc(var(--u) * 47.5); }
  .hm-b--m { display: block; }
    .hm-chat { border-radius: 0; }
  .hm-hero__text { padding: 90px 0 0 clamp(32px, 6vw, 110px); max-width: min(48vw, 720px); }
  .hm-h1 { font-size: clamp(52px, 5.3vw, 92px); line-height: .93; }
    .hm-cta { margin-top: 34px; }
}
@media (min-width: 900px) and (max-height: 760px) { .hm-hero__text { padding-top: 70px; } .hm-h1 { font-size: clamp(48px, 5.6vw, 90px); } }

/* Tarjeta de automatización de la primera pantalla */
.hm-flowc { position: relative; background: var(--hm-ink2); border: 1px solid rgba(244, 237, 227, .18); border-radius: 16px; padding: 14px 14px 12px; box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .7); transform: rotate(-1.5deg); }
.hm-flowc .hm-flowbox { --c: 18px; }
.hm-flowc .hm-flow svg { width: 18px; height: 18px; padding: 9px; }
.hm-flowc .hm-flow li { font-size: max(calc(var(--u) * .9), 11px); gap: 7px; text-align: center; }
@media (min-width: 900px) { .hm-flowc { padding: 18px 20px 16px; } .hm-flowc .hm-flowbox { --c: 23px; } .hm-flowc .hm-flow svg { width: 22px; height: 22px; padding: 11px; } .hm-flowc .hm-flow li { font-size: 14px; } }

/* Entrada de la portada (una sola vez) y flotado suave. Solo transform: nada queda invisible si falla algo. */
@keyframes hm-up { from { transform: translateY(26px); } to { transform: none; } }
@keyframes hm-in-f { from { transform: translateY(70px) scale(.94); } to { transform: none; } }
@keyframes hm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: no-preference) {
  .hm-h1 { animation: hm-up .8s var(--hm-ease) both; }
    .hm-hero .hm-cta { animation: hm-up .8s var(--hm-ease) .12s both; }
  .hm-f__in { animation: hm-in-f 1s var(--hm-ease) both; }
  .hm-f--2 .hm-f__in { animation-delay: .1s; } .hm-f--5 .hm-f__in { animation-delay: .2s; } .hm-f--4 .hm-f__in { animation-delay: .3s; }
  .hm-f--1 .hm-win, .hm-f--1 .hm-tag { animation: hm-float 8s ease-in-out infinite; }
  .hm-f--2 .hm-win { animation: hm-float 9s ease-in-out -2s infinite; }
}

/* Móvil de ejemplo con la conversación de WhatsApp (animación solo CSS) */
.hm-phone { background: #0b0907; border: 1px solid rgba(244, 237, 227, .22); border-radius: calc(var(--u) * 2.4); padding: calc(var(--u) * .55); box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .8); transform: rotate(3deg); }
.hm-phone > * { font-size: max(calc(var(--u) * .9), 9.5px); }
.hm-phone__top { display: flex; align-items: center; gap: .7em; padding: .8em 1em; background: var(--hm-ink2); border-radius: 1.9em 1.9em 0 0; color: var(--hm-cream); }
.hm-av { width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--hm-cu); color: #fff; font: 600 1em/2.6em var(--font-heading); text-align: center; flex: none; }
.hm-phone__name { display: flex; flex-direction: column; font-weight: 600; font-size: 1.05em; line-height: 1.15; }
.hm-phone__name small { font-weight: 400; font-size: .8em; color: var(--hm-mute-d); }
.hm-chat { background: #efe4d4; padding: 1em .8em; display: flex; flex-direction: column; gap: .6em; min-height: calc(var(--u) * 12); }
.hm-b { margin: 0; max-width: 90%; padding: .5em .7em .4em; border-radius: .9em; font-size: 1em; line-height: 1.3; color: var(--hm-ink); position: relative; }
.hm-b time { float: right; font-size: .72em; color: #55493f; margin: .75em 0 -.25em .7em; }
.hm-b::after { content: ""; display: block; clear: both; }
.hm-b--in { align-self: flex-start; background: #fff; border-top-left-radius: .25em; }
.hm-b--out { align-self: flex-end; background: #f1cfa9; border-top-right-radius: .25em; }
.hm-typing { align-self: flex-end; margin: 0; display: flex; gap: .3em; padding: .7em .9em; background: #f1cfa9; border-radius: .9em; border-top-right-radius: .25em; position: absolute; }
.hm-typing i { width: .5em; height: .5em; border-radius: 50%; background: #8a6a4c; }
.hm-chat { position: relative; }
@keyframes hm-pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hm-typ { 0%, 100% { opacity: 0; } 8%, 92% { opacity: 1; } }
@keyframes hm-dot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.25em); } }
@media (prefers-reduced-motion: no-preference) {
  .hm-phone .hm-b { animation: hm-pop .5s var(--hm-ease) var(--d, 0s) both; }
  .hm-typing { animation: hm-typ 1.4s linear var(--d, 0s) both; opacity: 0; }
  .hm-typing i { animation: hm-dot .9s ease-in-out infinite; } .hm-typing i:nth-child(2) { animation-delay: .15s; } .hm-typing i:nth-child(3) { animation-delay: .3s; }
}
@media (prefers-reduced-motion: reduce) { .hm-typing { display: none; } }

/* ───── Secciones ───── */
.hm-sec { padding: clamp(72px, 10vw, 140px) 0; }
.hm-h2 { margin: 0 0 clamp(28px, 4vw, 52px); font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; font-size: clamp(36px, 5.2vw, 72px); line-height: .98; color: var(--hm-ink); max-width: 16ch; }
.hm-h2--light { color: var(--hm-cream); margin: 0; }
.hm-big { margin: 0; font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; font-size: clamp(44px, 8vw, 128px); line-height: .94; max-width: 14ch; color: var(--hm-ink); }
.hm-big--light { color: var(--hm-cream); max-width: 16ch; }
.hm-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 17px; color: var(--hm-ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--hm-cu); }
.hm-link:hover { color: var(--hm-cu); }
.hm-link--light { color: var(--hm-cream); }
.hm-link--light:hover { color: var(--hm-cu-hi); }

/* Tarjetas de «Lo que hacemos» */
.hm-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .hm-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.hm-card { position: relative; display: flex; flex-direction: column; background: #fff9f0; border: 1px solid rgba(23, 18, 14, .14); border-radius: 22px; padding: 14px 14px 26px; transition: transform .35s var(--hm-ease), box-shadow .35s var(--hm-ease); }
.hm-card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -22px rgba(23, 18, 14, .45); }
.hm-card h3 { text-wrap: balance; margin: 22px 12px 8px; font-family: var(--font-heading); font-weight: 600; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; text-transform: uppercase; }
.hm-card p { margin: 0 12px; font-size: 18px; line-height: 1.4; color: var(--hm-mute-l); }
.hm-card__a { color: var(--hm-ink); text-decoration: none; }
.hm-card__a::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.hm-card:hover .hm-card__a { color: var(--hm-cu); }
.hm-card .hm-card__a:focus-visible { outline: 0; }
.hm-card:focus-within { outline: 3px solid var(--hm-cu); outline-offset: 3px; }
.hm-vis { position: relative; height: 230px; border-radius: 14px; overflow: hidden; background: var(--hm-ink); }
.hm-vis--web .hm-win { position: absolute; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .7); transition: transform .5s var(--hm-ease); }
.hm-vis--web .hm-win--a { width: 62%; left: 6%; top: 18px; }
.hm-vis--web .hm-win--b { width: 56%; right: 5%; bottom: 14px; }
.hm-card:hover .hm-win--a { transform: translate(-6px, -4px) rotate(-2deg); }
.hm-card:hover .hm-win--b { transform: translate(6px, 4px) rotate(2deg); }
.hm-vis--chat { display: flex; align-items: center; justify-content: center; background: var(--hm-ink2); }
.hm-mini { width: min(86%, 300px); display: flex; flex-direction: column; gap: 9px; }
.hm-mini .hm-b { font-size: 15.5px; max-width: 80%; padding: .5em .8em; }
@media (prefers-reduced-motion: no-preference) {
  .hm-js .hm-vis--chat .hm-b { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--hm-ease) calc(var(--d, 0s) + .15s), transform .45s var(--hm-ease) calc(var(--d, 0s) + .15s); }
  .hm-js .hm-vis--chat.is-in .hm-b { opacity: 1; transform: none; }
}
.hm-vis--flow { display: flex; align-items: center; justify-content: center; background: var(--hm-ink2); padding: 0 14px; }
.hm-flow li { text-align: center; }
.hm-flowbox { --c: 28px; position: relative; width: 100%; }
.hm-flow { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; width: 100%; display: flex; justify-content: space-between; }
.hm-flow::before { content: ""; position: absolute; left: 7%; right: 7%; top: calc(var(--c) - 1px); height: 2px; background: repeating-linear-gradient(90deg, rgba(224, 149, 90, .55) 0 6px, transparent 6px 12px); z-index: -1; }
.hm-flow li { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--hm-cream); font-size: 14px; font-weight: 500; }
.hm-flow svg { box-sizing: content-box; padding: 15px; border-radius: 50%; background: var(--hm-ink); border: 1.5px solid rgba(224, 149, 90, .6); color: var(--hm-cu-hi); }
.hm-track { position: absolute; left: 11%; right: 11%; top: calc(var(--c) - 6px); height: 12px; container-type: inline-size; pointer-events: none; }
.hm-dot { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--hm-cu-hi); box-shadow: 0 0 0 5px rgba(224, 149, 90, .25); }
@keyframes hm-run { 0% { transform: translateX(0); } 85%, 100% { transform: translateX(calc(100cqw - 12px)); } }
@keyframes hm-lit { 0%, 100% { transform: scale(1); } 10% { transform: scale(1.14); } 22% { transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .hm-dot { animation: hm-run 3.6s linear infinite; }
  .hm-flow li svg { animation: hm-lit 3.6s ease-out infinite; animation-delay: calc(var(--i) * 1.05s - .1s); }
  .hm-js .hm-card:not(.is-live) .hm-dot, .hm-js .hm-card:not(.is-live) .hm-flow svg { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .hm-track { display: none; } }

/* ───── Galería: el panel crece al bajar y las capturas se desplazan ───── */
.hm-gal { position: relative; isolation: isolate; color: var(--hm-cream); padding: clamp(80px, 11vw, 150px) 0 clamp(80px, 10vw, 130px); overflow: hidden; }
.hm-gal__bg { position: absolute; inset: 0; z-index: -1; background: var(--hm-ink); border-radius: 40px; transform-origin: 50% 50%; }
@media (max-width: 640px) { .hm-gal__bg { border-radius: 24px; } }
.hm-gal__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(36px, 5vw, 64px); }
.hm-gal .hm-h2--light { max-width: 18ch; font-size: clamp(38px, 5.6vw, 84px); }
.hm-rows { display: flex; flex-direction: column; gap: clamp(22px, 3vw, 40px); }
.hm-row { list-style: none; margin: 0; padding: 4px clamp(20px, 4vw, 48px) 14px; display: flex; gap: clamp(18px, 2.4vw, 34px); overflow-x: auto; scrollbar-width: none; }
.hm-row::-webkit-scrollbar { display: none; }
.hm-shot { flex: none; width: min(78vw, 440px); }
.hm-shot a { display: block; color: var(--hm-cream); text-decoration: none; }
.hm-shot .hm-win { transform: rotate(var(--r, -2deg)); transition: transform .45s var(--hm-ease), box-shadow .45s var(--hm-ease); }
.hm-row[data-row="2"] .hm-shot { --r: 2deg; }
.hm-shot a:hover .hm-win, .hm-shot a:focus-visible .hm-win { transform: rotate(0) translateY(-6px) scale(1.015); }
.hm-shot a:focus-visible { outline-offset: 8px; }
.hm-shot__cap { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; font-size: 15.5px; color: var(--hm-mute-d); }
.hm-shot__cap b { color: var(--hm-cream); font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; font-size: 21px; letter-spacing: .02em; }
.hm-js .hm-row { overflow: visible; }
.hm-js .hm-rows { overflow: hidden; }

/* ───── Cómo trabajamos ───── */
.hm-proc { background: var(--hm-cream); }
.hm-proc .hm-big { max-width: 16ch; font-size: clamp(42px, 7.2vw, 116px); }
.hm-js [data-words] .w { color: var(--hm-off); transition: color .35s ease; }
.hm-js [data-words] .w.on { color: var(--hm-ink); }
.hm-steps { list-style: none; display: grid; gap: 18px; margin: clamp(44px, 6vw, 80px) 0 28px; padding: 0; }
@media (min-width: 800px) { .hm-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.hm-steps li { display: flex; align-items: center; gap: 18px; padding-top: 22px; border-top: 2px solid var(--hm-ink); }
.hm-n { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--hm-cu); color: #fff; font: 600 24px/46px var(--font-heading); text-align: center; }
.hm-steps p { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 500; }

/* ───── Cierre ───── */
.hm-close { position: relative; background: var(--hm-ink); color: var(--hm-cream); padding: clamp(84px, 11vw, 160px) 0; overflow: hidden; }
.hm-close .hm-cta { margin-top: clamp(30px, 4vw, 48px); }
.hm-rate { margin: clamp(36px, 5vw, 64px) 0 0; color: var(--hm-mute-d); font-size: 16px; }
.hm-rate strong { color: var(--hm-cream); }
.hm-rate span { color: var(--hm-cu-hi); letter-spacing: .1em; }
.hm-rate a { color: var(--hm-cream); text-underline-offset: 4px; display: inline-block; padding: 12px 0; margin: -12px 0; }

/* ───── Sin JavaScript o con «reducir movimiento»: todo quieto y visible ───── */
@media (prefers-reduced-motion: reduce) {
  .hm-f, .hm-js .hm-row, .hm-gal__bg { translate: none !important; transform: none !important; animation: none !important; }
  .hm-js .hm-row { overflow-x: auto; }
  .hm-js .hm-rows { overflow: visible; }
  .hm-card, .hm-shot .hm-win, .hm-vis--web .hm-win { transition: none; }
}

/* ───── Movimiento ligado al scroll ─────
   Con líneas de tiempo de scroll de CSS (clase .hm-sd, la pone home.js si el navegador las entiende) el movimiento lo hace el compositor, sin JavaScript
   en cada fotograma. Si no están disponibles, home.js escribe los mismos valores (enteros) con un único requestAnimationFrame. */
@keyframes hm-par { to { translate: 0 calc(var(--s, 0) * 100vh); } }
@keyframes hm-grow { from { transform: scaleX(.9); } to { transform: scaleX(1); } }
@keyframes hm-row1 { from { translate: 0 0; } to { translate: calc(var(--travel, 0px) * -1) 0; } }
@keyframes hm-row2 { from { translate: calc(var(--travel, 0px) * -1) 0; } to { translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  .hm-sd .hm-f { animation: hm-par linear both; animation-timeline: scroll(root); animation-range: 0px 100vh; }
  .hm-sd .hm-gal { view-timeline: --gal block; }
  .hm-sd .hm-gal__bg { animation: hm-grow linear both; animation-timeline: --gal; animation-range: entry 0% entry 70%; }
  .hm-sd .hm-row[data-row="1"] { animation: hm-row1 linear both; animation-timeline: --gal; animation-range: entry 0% exit 100%; }
  .hm-sd .hm-row[data-row="2"] { animation: hm-row2 linear both; animation-timeline: --gal; animation-range: entry 0% exit 100%; }
  .hm-hero.is-off .hm-win, .hm-hero.is-off .hm-tag, .hm-hero.is-off .hm-dot, .hm-hero.is-off .hm-flow svg { animation-play-state: paused; }
}


/* ───── Datos propios (2026-11-24) ───── */
.hm-data { background: var(--hm-cream2); border-block: 1px solid rgba(23, 18, 14, .12); }
.hm-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: clamp(26px, 4vw, 40px); }
@media (min-width: 860px) { .hm-stats { grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); } }
.hm-stats li { border-top: 2px solid var(--hm-ink); padding-top: 18px; }
.hm-num { display: block; font-family: var(--font-heading); font-weight: 600; font-size: clamp(84px, 11vw, 168px); line-height: .9; color: var(--hm-cu); font-variant-numeric: tabular-nums; }
.hm-stats p { margin: 14px 0 0; font-size: 19px; line-height: 1.4; color: var(--hm-ink); max-width: 30ch; }
.hm-src { margin: clamp(30px, 4vw, 48px) 0 22px; max-width: 70ch; font-size: 15px; line-height: 1.5; color: var(--hm-mute-l); }
