/* Sitio web de Trocha — estilos (versión 2, 13/10/2026).
   Lenguaje visual tomado del spot "Trocha_Spot_30s": noche profunda, amanecer ámbar en el horizonte
   con palmas de moriche, rejilla en perspectiva y una ruta de luz que sube hacia el sol.
   Titulares en serif con segunda línea en cursiva ámbar. Un solo mundo visual oscuro, por decisión:
   todo color sale de los tokens de :root. */

@font-face { font-family: "Source Serif"; src: url("../fonts/serif-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("../fonts/serif-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("../fonts/serif-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Noche */
  --noche: #02060E;
  --noche-1: #050C18;
  --noche-2: #0A1528;
  --noche-3: #101E36;
  /* Luz */
  --texto: #F2ECE2;
  --texto-suave: #AAB3C4;
  --texto-tenue: #7E889B;
  --ambar: #EBB05A;
  --sol: #F6C06A;
  --naranja: #DA8421;
  --rio: #5B8FDF;
  --sabana: #8DB43A;
  --linea: rgba(170, 188, 220, .13);
  --linea-fuerte: rgba(170, 188, 220, .28);
  --vidrio: rgba(14, 26, 46, .62);
  --campo: rgba(4, 10, 20, .7);
  --ok: #A9CB5C;
  --error: #FF9A8F;
  --foco: #EBB05A;
  --blanco: #FFFFFF;

  --serif: "Source Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --cuerpo: "DM Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --app-display: "Bricolage", "Trebuchet MS", sans-serif;
  --ancho: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --suave: cubic-bezier(.22, .8, .2, 1);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--noche); }
body {
  margin: 0; background: var(--noche); color: var(--texto);
  font: 400 1.0625rem/1.65 var(--cuerpo);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--ambar); text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--foco); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: rgba(235, 176, 90, .35); color: var(--blanco); }
[hidden] { display: none !important; }
.oculto-svg { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--noche-3); color: var(--texto); padding: .6rem 1rem; border-radius: 10px; }
.saltar:focus { top: calc(1rem + env(safe-area-inset-top, 0px)); }

.contenedor { max-width: var(--ancho); margin-inline: auto; padding-inline: var(--gutter); }
.seccion { position: relative; padding-block: clamp(5rem, 11vw, 9rem); scroll-margin-top: 4rem; }

/* Titular del spot: primera línea en serif clara, segunda en cursiva ámbar. */
.titular { font: 400 clamp(2.1rem, 4.6vw, 3.6rem)/1.08 var(--serif); letter-spacing: -.012em; margin: 0 0 1.5rem; color: var(--texto); }
.titular span, .titular em { display: block; }
.titular em { font-style: italic; color: var(--ambar); }
.rotulo { margin: 0 0 1.25rem; font: 500 .74rem/1 var(--cuerpo); letter-spacing: .32em; text-transform: uppercase; color: var(--ambar); }
.subtitulo { font: 600 1.15rem/1.3 var(--serif); margin: 2.25rem 0 .9rem; }
.nota { color: var(--texto-suave); font-size: .98rem; }
.punto { display: inline-block; flex: none; width: .5em; height: .5em; border-radius: 50%; background: var(--sabana); box-shadow: 0 0 0 .22em rgba(141, 180, 58, .22), 0 0 12px rgba(141, 180, 58, .7); }

/* ---------- Cabecera ---------- */
.cabecera {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px); color: var(--texto);
  transition: background-color .4s ease, box-shadow .4s ease;
}
.cabecera__fila { max-width: var(--ancho); margin-inline: auto; padding: .9rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.marca { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.marca__simbolo { width: 50px; height: auto; }
.marca__palabra { width: 86px; height: auto; }
.marca__palabra--color { display: none; }
.menu { display: flex; gap: 2rem; }
.menu a { color: var(--texto); text-decoration: none; font-weight: 500; font-size: .93rem; letter-spacing: .01em; opacity: .78; transition: opacity .2s ease; }
.menu a:hover { opacity: 1; }
.menu-boton { display: none; }
.cabecera--solida {
  background: rgba(2, 6, 14, .72);
  -webkit-backdrop-filter: saturate(1.3) blur(18px); backdrop-filter: saturate(1.3) blur(18px);
  box-shadow: 0 1px 0 var(--linea);
}
@media (max-width: 820px) {
  .menu-boton {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem;
    font: 500 .92rem var(--cuerpo); color: var(--texto); background: rgba(255, 255, 255, .04);
    border: 1px solid var(--linea-fuerte); border-radius: 999px; cursor: pointer;
  }
  .menu {
    position: absolute; top: 100%; left: var(--gutter); right: var(--gutter);
    flex-direction: column; gap: 0; padding: .5rem; display: none;
    background: rgba(8, 16, 30, .96); border: 1px solid var(--linea); border-radius: 18px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  }
  .menu--abierto { display: flex; }
  .menu a { padding: .9rem 1rem; font-size: 1.05rem; opacity: 1; }
}

/* ---------- Portada: el amanecer ---------- */
.hero {
  --suelo: clamp(200px, 30vh, 300px);
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100svh, 980px);
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(env(safe-area-inset-top, 0px) + clamp(6rem, 13vh, 9rem));
  padding-bottom: calc(var(--suelo) + clamp(2rem, 5vh, 3.5rem));
  background: var(--noche);
}
.escena { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.escena__cielo {
  position: absolute; inset: 0 0 var(--suelo) 0;
  background:
    radial-gradient(60% 55% at 50% 100%, rgba(222, 128, 52, .55) 0%, rgba(150, 70, 50, .22) 38%, rgba(30, 20, 40, 0) 70%),
    linear-gradient(180deg, #02060E 0%, #070D1C 45%, #1A1424 82%, #3A2228 100%);
  animation: aparecer 2.2s var(--suave) both;
}
.escena__estrellas {
  position: absolute; inset: 0 0 calc(var(--suelo) + 8%) 0; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 27% 42%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 41% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 58% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 73% 15%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 86% 38%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 8%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 6% 55%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 70%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 66% 62%, #fff 50%, transparent 51%);
  background-size: 520px 420px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  animation: aparecer 3s ease .4s both;
}
.escena__sol {
  position: absolute; left: 50%; bottom: var(--suelo); width: min(900px, 120vw); aspect-ratio: 2 / 1;
  transform: translate(-50%, 50%);
  background: radial-gradient(closest-side, rgba(255, 214, 140, .95) 0%, rgba(246, 170, 80, .55) 12%, rgba(218, 132, 33, .18) 38%, rgba(218, 132, 33, 0) 70%);
  animation: amanecer 2.6s var(--suave) .3s both;
}
.escena__palmas { position: absolute; left: 0; right: 0; bottom: var(--suelo); width: 100%; height: clamp(70px, 9vw, 140px); animation: aparecer 2s ease .9s both; }
.escena__horizonte {
  position: absolute; left: 0; right: 0; bottom: calc(var(--suelo) - 1px); height: 2px; transform-origin: center;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 220, 160, .15) 15%, rgba(255, 236, 200, .95) 50%, rgba(255, 220, 160, .15) 85%, transparent 100%);
  box-shadow: 0 0 18px 2px rgba(246, 192, 106, .45);
  animation: abrir-horizonte 1.6s var(--suave) .2s both;
}
.escena__suelo { position: absolute; left: 0; right: 0; height: var(--suelo); bottom: 0; overflow: hidden; perspective: 320px; perspective-origin: 50% 0; background: linear-gradient(180deg, #03070F 0%, #02060E 100%); }
.escena__rejilla {
  position: absolute; left: -60%; right: -60%; top: 0; height: 260%;
  transform: rotateX(78deg); transform-origin: 50% 0;
  background-image:
    linear-gradient(rgba(110, 150, 220, .26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 150, 220, .2) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
  animation: aparecer 2s ease 1s both, avanzar 3.2s linear infinite;
}
.escena__ruta { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: var(--suelo); overflow: visible; }
.escena__ruta path { stroke-linecap: round; }
.escena__ruta-halo, .escena__ruta-linea, .escena__ruta-pulso { fill: none; }
.escena__ruta-halo { stroke: rgba(246, 170, 80, .35); stroke-width: 14; filter: blur(6px); animation: aparecer 1s ease 2.6s both; }
.escena__ruta-linea { stroke: #F4B25E; stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(246, 176, 90, .9)); animation: trazar 1.8s var(--suave) 1.6s both; }
.escena__ruta-pulso { stroke: #FFF2D6; stroke-width: 3.5; stroke-dasharray: .06 .94; stroke-dashoffset: 1; opacity: 0; filter: drop-shadow(0 0 8px #FFE3B0); animation: pulso 3.4s linear 3.4s infinite; }

.hero__contenido { position: relative; max-width: 54rem; margin-inline: auto; padding-inline: var(--gutter); text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__rotulo { animation: subir 1.1s var(--suave) .5s both; }
.hero__titulo { font-size: clamp(2.9rem, 7.6vw, 6.4rem); line-height: 1; letter-spacing: -.02em; margin-bottom: 1.6rem; }
.hero__titulo span { animation: subir 1.2s var(--suave) .65s both; }
.hero__titulo em { animation: subir 1.2s var(--suave) .85s both; text-shadow: 0 0 40px rgba(235, 176, 90, .35); }
.hero__bajada { max-width: 40ch; margin: 0 0 2.2rem; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--texto-suave); animation: subir 1.2s var(--suave) 1.05s both; }
.tiendas { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; animation: subir 1.2s var(--suave) 1.2s both; }
.tienda {
  display: inline-flex; align-items: center; gap: .75rem; min-height: 60px;
  padding: .6rem 1.35rem .6rem 1.05rem; border-radius: 999px;
  background: rgba(255, 255, 255, .045); border: 1px solid var(--linea-fuerte);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--texto); text-decoration: none;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.tienda svg { width: 1.5rem; height: 1.5rem; flex: none; color: var(--ambar); }
.tienda span { display: flex; flex-direction: column; text-align: left; font: 600 1.04rem/1.15 var(--cuerpo); }
.tienda small { font-size: .7rem; font-weight: 500; letter-spacing: .04em; color: var(--texto-suave); }
.tienda[aria-disabled="true"] { cursor: default; }
.tienda:not([aria-disabled="true"]):hover { background: rgba(235, 176, 90, .12); border-color: rgba(235, 176, 90, .6); box-shadow: 0 0 30px -8px rgba(235, 176, 90, .6); }
.hero__estado { display: inline-flex; align-items: center; gap: .7rem; margin: 2rem 0 0; font-size: .88rem; color: var(--texto-tenue); animation: aparecer 1.2s ease 1.6s both; }

@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes subir { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes abrir-horizonte { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes amanecer { from { opacity: 0; transform: translate(-50%, 62%) scale(.7); } to { opacity: 1; transform: translate(-50%, 50%) scale(1); } }
@keyframes avanzar { from { background-position: 0 0; } to { background-position: 0 46px; } }
@keyframes trazar { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pulso { 0% { stroke-dashoffset: 1; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

@media (max-width: 720px) {
  .hero { --suelo: 190px; min-height: min(100svh, 880px); }
  .escena__palmas { height: 60px; }
}

/* ---------- Elige. Pide. Llega. ---------- */
.pasos { background: radial-gradient(70% 50% at 50% 0%, rgba(91, 143, 223, .12), transparent 70%), var(--noche-1); text-align: center; overflow: hidden; }
.pasos__titulo { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1; margin-bottom: 1rem; }
.pasos__titulo span, .pasos__titulo em { display: inline-block; }
.pasos__rotulo { color: var(--texto-tenue); }
.pasos__fila {
  list-style: none; margin: clamp(2.5rem, 6vw, 4.5rem) auto 0; padding: 0 var(--gutter);
  max-width: var(--ancho); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem);
}
.paso { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; min-width: 0; }
.paso .telefono { --w: clamp(200px, 21vw, 262px); }
.paso:nth-child(2) .telefono { transform: translateY(-1.5rem); }
.paso__texto { margin: 0; max-width: 28ch; color: var(--texto-suave); font-size: 1rem; }
.paso__texto b { display: block; font: italic 400 1.6rem/1.1 var(--serif); color: var(--ambar); margin-bottom: .35rem; }
@media (max-width: 860px) {
  .pasos__fila {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78vw, 300px);
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.5rem; justify-content: start;
    scrollbar-width: none;
  }
  .pasos__fila::-webkit-scrollbar { display: none; }
  .paso { scroll-snap-align: center; }
  .paso .telefono { --w: 220px; }
  .paso:nth-child(2) .telefono { transform: none; }
}

/* ---------- Celular (marco realista hecho en CSS) ---------- */
.telefono { --w: 280px; width: var(--w); aspect-ratio: 9 / 19.5; max-width: 100%; }
.telefono__marco {
  position: relative; height: 100%;
  padding: calc(var(--w) * .034);
  border-radius: calc(var(--w) * .165);
  background: linear-gradient(150deg, #4B5568 0%, #1B2332 22%, #0E141F 50%, #222B3B 78%, #5E697D 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .22),
    inset 0 0 0 calc(var(--w) * .014) #06090F,
    0 calc(var(--w) * .18) calc(var(--w) * .28) calc(var(--w) * -.1) rgba(2, 8, 20, .65),
    0 calc(var(--w) * .06) calc(var(--w) * .1) calc(var(--w) * -.04) rgba(2, 8, 20, .45);
}
.telefono__marco::before, .telefono__marco::after {
  content: ""; position: absolute; width: calc(var(--w) * .014); border-radius: 2px;
  background: linear-gradient(90deg, #2A3344, #6B768A);
}
.telefono__marco::before { right: calc(var(--w) * -.012); top: 26%; height: 11%; }
.telefono__marco::after { left: calc(var(--w) * -.012); top: 20%; height: 16%; box-shadow: 0 calc(var(--w) * .12) 0 #3A4456; }
.telefono__pantalla {
  position: relative; height: 100%; overflow: hidden;
  border-radius: calc(var(--w) * .135);
  background: #F6F7F2; color: #12284A;
  font-family: var(--cuerpo); font-size: calc(var(--w) / 21); line-height: 1.3;
}
.telefono__pantalla::before {
  content: ""; position: absolute; z-index: 5; top: 1.6%; left: 50%; transform: translateX(-50%);
  width: 30%; height: 3.6%; border-radius: 999px; background: #05070B;
}
.telefono__pantalla::after {
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .05) 100%);
}

/* ---------- Pantallas de la app (dentro del celular; colores propios de la app) ---------- */
.app { position: absolute; inset: 0; display: flex; flex-direction: column; transition: opacity .45s ease; }
.app-mapa { position: absolute; inset: 0; width: 100%; height: 100%; }
.app-estado {
  position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center;
  padding: .75em 1.5em .2em; font-weight: 700; font-size: .72em; color: #12284A;
}
.app-estado__iconos {
  width: 2.4em; height: .9em; border-radius: .2em;
  background: linear-gradient(90deg, #12284A 0 70%, transparent 70%) left center / 100% 100% no-repeat;
  box-shadow: inset 0 0 0 .12em #12284A;
}
.app-chip {
  position: absolute; z-index: 2; top: 2.8em; left: .8em;
  display: flex; align-items: center; gap: .3em; padding: .4em .65em;
  background: #fff; border-radius: 1em; box-shadow: 0 .3em .9em rgba(18, 40, 74, .15);
}
.app-chip img { height: 1em; width: auto; }
.app-chip img + img { height: .85em; }
.app-hoja {
  position: relative; z-index: 2; margin-top: auto;
  background: #fff; border-radius: 1.4em 1.4em 0 0; padding: 1em 1em 1.5em;
  box-shadow: 0 -.4em 1.4em rgba(18, 40, 74, .1);
}
.app-favs { position: absolute; left: .8em; right: .8em; top: -2.5em; display: flex; gap: .35em; }
.app-favs span {
  background: #F7F8F3; border: 1px solid #E1E6D6; border-radius: 99px;
  padding: .35em .7em; font-weight: 700; font-size: .72em; box-shadow: 0 .2em .6em rgba(18, 40, 74, .08);
}
.app-titulo { font: 800 1em/1.1 var(--app-display); color: #12284A; margin: 0 0 .5em; }
.app-titulo--grande { font-size: 1.4em; letter-spacing: -.02em; }
.app-buscar {
  display: flex; align-items: center; gap: .5em;
  background: #EEF1E4; border-radius: 99px; padding: .35em .35em .35em .8em;
  color: #4A5872; font-weight: 500; font-size: .85em;
}
.app-buscar > svg { width: 1em; height: 1em; color: #12284A; }
.app-buscar i { margin-left: auto; display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: #DA8421; color: #fff; }
.app-buscar i svg { width: 1.1em; height: 1.1em; }
.app-nota { margin: .8em 0 0; text-align: center; font-size: .66em; color: #5B6880; }
.app-opcion {
  display: flex; justify-content: space-between; align-items: center;
  border: 2px solid #E1E6EE; border-radius: .8em; padding: .5em .7em; margin-top: .4em; font-size: .85em;
}
.app-opcion span { display: flex; flex-direction: column; }
.app-opcion small { font-size: .78em; color: #5B6880; }
.app-opcion--activa { border-color: #DA8421; background: #FFF6EC; }
.app-oferta { display: flex; justify-content: space-between; align-items: center; margin-top: .7em; font-size: .8em; font-weight: 600; }
.app-oferta__control { display: flex; align-items: center; gap: .55em; }
.app-oferta__control i { display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; border: 2px solid #12284A; font-style: normal; font-weight: 800; }
.app-oferta__control b { font-size: 1.15em; }
.app-boton {
  display: block; text-align: center; margin-top: .75em; padding: .65em; border-radius: 99px;
  background: #DA8421; color: #fff; font-weight: 700; font-size: .85em;
}
.app-boton--verde { background: #4F6B14; }
.app-boton--rojo { background: #A32020; }

.app--conductor, .app--voz { background: #F6F7F2; }
.app-cabeza { display: flex; justify-content: space-between; align-items: center; padding: .7em 1em .3em; font: 800 1.05em var(--app-display); }
.app-pastilla { font: 700 .62em var(--cuerpo); background: #DCE5F2; color: #16448A; padding: .35em .75em; border-radius: 99px; }
.app-mapa--tarjeta { position: relative; inset: auto; height: 28%; width: calc(100% - 2em); margin: .3em 1em .7em; border-radius: 1em; flex: none; }
.app--conductor .app-titulo { margin: 0 1em .5em; font-size: 1.15em; }
.app-persona {
  margin: 0 1em; display: grid; grid-template-columns: auto 1fr; gap: .15em .6em; align-items: center;
  background: #fff; border: 2px solid #D3D9E2; border-radius: 1em; padding: .65em .7em;
}
.app-avatar { grid-row: span 2; display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: #16448A; color: #fff; font-weight: 800; }
.app-persona__datos { display: flex; flex-direction: column; font-size: .85em; }
.app-persona__datos small { display: flex; align-items: center; gap: .3em; font-size: .8em; color: #5B6880; }
.app-persona__datos small svg { width: 1.1em; height: 1.1em; color: #4F6B14; }
.app-placa { grid-column: 2; justify-self: start; background: #F6D44C; border: 2px solid #1B1B1B; border-radius: .3em; font: 800 .8em var(--cuerpo); padding: .1em .45em; letter-spacing: .04em; color: #111; }
.app-codigo {
  display: flex; justify-content: space-between; align-items: center; margin: .6em 1em 0;
  background: #12284A; color: #fff; border-radius: .9em; padding: .55em .8em;
}
.app-codigo span { font-size: .72em; opacity: .85; }
.app-codigo b { font: 800 1.3em var(--app-display); letter-spacing: .12em; }
.app--conductor .app-boton { margin: .6em 1em 0; }

.app-compartiendo {
  position: absolute; z-index: 2; top: 2.8em; left: 50%; transform: translateX(-50%); white-space: nowrap;
  display: flex; align-items: center; gap: .45em; background: #fff; border-radius: 99px; padding: .4em .8em;
  font-size: .68em; font-weight: 700; box-shadow: 0 .3em .9em rgba(18, 40, 74, .15);
}
.app-compartiendo .punto { background: #4F6B14; box-shadow: 0 0 0 .25em rgba(79, 107, 20, .2); }
.app-alerta {
  position: relative; z-index: 2; margin: auto .8em 1.2em; background: #fff; border-radius: 1.2em; padding: 1em;
  display: flex; flex-direction: column; gap: .3em; box-shadow: 0 .6em 2em rgba(18, 40, 74, .25);
}
.app-alerta b { font: 800 1.15em/1.15 var(--app-display); }
.app-alerta small { font-size: .75em; color: #5B6880; }
.app-alerta__botones { display: grid; grid-template-columns: 1fr 1fr; gap: .4em; }
.app-alerta__botones .app-boton { font-size: .7em; margin-top: .4em; }
.app-sos {
  position: absolute; z-index: 3; right: .8em; bottom: 10.2em;
  display: grid; place-items: center; width: 3.1em; height: 3.1em; border-radius: 50%;
  background: #A32020; color: #fff; font-weight: 800; font-size: .85em;
  box-shadow: 0 0 0 .2em #fff, 0 0 0 .38em #111;
}

.app--voz { align-items: center; text-align: center; padding: 0 1em; }
.app--voz .app-estado { align-self: stretch; padding-inline: .5em; }
.app--voz .app-titulo { margin: 1.4em 0 1.1em; }
.app-mic {
  display: grid; place-items: center; width: 4.4em; height: 4.4em; border-radius: 50%;
  background: #DA8421; color: #fff;
  box-shadow: 0 0 0 .7em rgba(218, 132, 33, .2), 0 0 0 1.5em rgba(218, 132, 33, .08);
}
.app-mic svg { width: 1.8em; height: 1.8em; }
.app-dictado { margin: 1.6em 0 .8em; font: 600 1em var(--app-display); color: #16448A; }
.app-lista { align-self: stretch; display: flex; flex-direction: column; gap: .35em; text-align: left; }
.app-lista span { background: #fff; border: 1px solid #E1E6EE; border-radius: .8em; padding: .5em .7em; display: flex; flex-direction: column; font-size: .8em; }
.app-lista small { color: #5B6880; font-size: .82em; }
.app-leyendo { margin-top: auto; margin-bottom: 1.4em; align-self: stretch; background: #12284A; color: #fff; border-radius: .9em; padding: .6em .8em; font-size: .68em; text-align: left; }


/* ---------- Qué es ---------- */
.que-es { background: var(--noche); }
.que-es__fila { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: end; }
.que-es__frase { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.15; }
.que-es__aclaracion { color: var(--texto-tenue); max-width: 48ch; margin: 0; font-size: .98rem; }
.diferencias { margin: 0; }
.diferencia { border-top: 1px solid var(--linea); padding: 1.5rem 0; }
.diferencia:last-child { border-bottom: 1px solid var(--linea); }
.diferencia dt { font: 600 1.2rem/1.25 var(--serif); margin: 0 0 .45rem; color: var(--texto); }
.diferencia dd { margin: 0; color: var(--texto-suave); max-width: 46ch; }

/* ---------- Funciones ---------- */
.funciones { background: radial-gradient(50% 40% at 20% 30%, rgba(218, 132, 33, .08), transparent 70%), var(--noche-1); }
.funciones__fila { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); margin-top: 1.5rem; }
.funciones__escenario { position: sticky; top: 13vh; align-self: start; display: flex; justify-content: center; padding-block: 1rem; }
.funciones__escenario::before {
  content: ""; position: absolute; inset: 10% -10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(235, 176, 90, .16), transparent 70%);
}
.telefono--escena { --w: clamp(240px, 22vw, 296px); }
.telefono--escena .app { opacity: 0; }
.telefono--escena .app.app--visible { opacity: 1; }
.funcion { min-height: 66vh; display: flex; flex-direction: column; justify-content: center; padding-block: 2rem; transition: opacity .5s ease; }
.funciones--activo .funcion { opacity: .42; }
.funciones--activo .funcion.funcion--activa { opacity: 1; }
.funcion h3 { margin: 0 0 1rem; font: 500 .74rem/1 var(--cuerpo); letter-spacing: .32em; text-transform: uppercase; color: var(--ambar); }
.funcion__titular { font: 400 clamp(1.7rem, 2.8vw, 2.4rem)/1.12 var(--serif); margin: 0 0 1.4rem; max-width: 22ch; color: var(--texto); }
.funcion ul, .requisitos { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.funcion li, .requisitos li { position: relative; padding-left: 1.8rem; color: var(--texto-suave); max-width: 52ch; }
.funcion li::before, .requisitos li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 1rem; height: 2px; border-radius: 2px;
  background: var(--ambar); box-shadow: 0 0 8px rgba(235, 176, 90, .8);
}
.funcion__mini { display: none; }
@media (max-width: 900px) {
  .funciones__fila { grid-template-columns: 1fr; }
  .funciones__escenario { display: none; }
  .funcion { min-height: 0; padding-block: 2.25rem; border-top: 1px solid var(--linea); }
  .funciones--activo .funcion { opacity: 1; }
  .funcion__mini { display: flex; justify-content: center; margin-bottom: 1.75rem; }
  .funcion__mini .telefono { --w: 210px; }
}

/* ---------- Conductores ---------- */
.conductores { background: var(--noche); }
.conductores__fila { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.conductores__texto > p { max-width: 50ch; color: var(--texto-suave); }

/* ---------- Formularios: paneles de vidrio ---------- */
.formulario {
  display: grid; gap: 1.15rem; min-width: 0;
  background: var(--vidrio); border: 1px solid var(--linea); border-radius: 24px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding: clamp(1.4rem, 3vw, 2.25rem);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.formulario h3 { font: 400 1.65rem/1.15 var(--serif); margin: 0; }
.formulario__ayuda { margin: -.5rem 0 0; color: var(--texto-suave); font-size: .97rem; }
.campo { display: grid; gap: .45rem; min-width: 0; }
.campo label, .campo legend { font-weight: 500; font-size: .92rem; color: var(--texto); }
.opcional { font-weight: 400; color: var(--texto-tenue); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  font: 400 1rem/1.4 var(--cuerpo); color: var(--texto);
  background: var(--campo); border: 1px solid var(--linea-fuerte); border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.campo input::placeholder, .campo textarea::placeholder { color: var(--texto-tenue); }
.campo select option { background: #0A1528; color: var(--texto); }
.campo textarea { resize: vertical; min-height: 7rem; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--ambar); box-shadow: 0 0 0 4px rgba(235, 176, 90, .18); }
.campo--error input, .campo--error select, .campo--error textarea { border-color: var(--error); }
.campo__error { color: var(--error); font-size: .88rem; }
.campos-dobles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.campo--opciones { border: 0; padding: 0; margin: 0; }
.campo--opciones legend { margin-bottom: .5rem; }
.campo--opciones label { display: flex; align-items: center; gap: .7rem; font-weight: 400; min-height: 40px; color: var(--texto-suave); }
.campo--opciones input { width: 1.15rem; height: 1.15rem; min-height: 0; accent-color: var(--naranja); }
.campo--trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contador { justify-self: end; font-size: .8rem; color: var(--texto-tenue); font-variant-numeric: tabular-nums; }
.autorizo { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; color: var(--texto-suave); }
.autorizo input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; flex: none; accent-color: var(--naranja); }
.autorizo.campo--error { color: var(--error); }
.boton {
  justify-self: start; min-height: 54px; padding: .85rem 1.8rem; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #F6C06A 0%, #E39A3C 100%); color: #1D1105;
  font: 700 1rem var(--cuerpo); letter-spacing: .01em;
  box-shadow: 0 10px 30px -10px rgba(235, 160, 70, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: box-shadow .3s ease, transform .2s ease;
}
.boton:hover { box-shadow: 0 14px 40px -8px rgba(235, 160, 70, .9), inset 0 1px 0 rgba(255, 255, 255, .45); transform: translateY(-1px); }
.boton[disabled] { opacity: .6; cursor: progress; transform: none; }
.boton--secundario { background: transparent; color: var(--texto); border: 1px solid var(--linea-fuerte); box-shadow: none; }
.boton--secundario:hover { border-color: var(--ambar); box-shadow: 0 0 24px -8px rgba(235, 176, 90, .7); }
.formulario__estado { margin: 0; font-size: .95rem; }
.formulario__estado:empty { display: none; }
.formulario__estado--ok { color: var(--ok); font-weight: 600; }
.formulario__estado--error { color: var(--error); }
.formulario__estado--pendiente { color: var(--texto-suave); background: rgba(255, 255, 255, .04); border: 1px solid var(--linea); border-radius: 14px; padding: .8rem 1rem; }
@media (max-width: 560px) { .campos-dobles { grid-template-columns: 1fr; } }

/* ---------- Municipios: la ruta de luz ---------- */
.municipios { background: radial-gradient(60% 60% at 50% 100%, rgba(218, 132, 33, .14), transparent 70%), var(--noche-1); }
.municipios__rotulo { margin-top: -.5rem; color: var(--texto-tenue); }
.municipios__intro { color: var(--texto-suave); max-width: 52ch; margin: 0 0 3.5rem; }
.ruta { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.ruta::before {
  content: ""; position: absolute; left: .5rem; right: 0; top: .55rem; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, #F4B25E 0%, #F4B25E 55%, rgba(244, 178, 94, 0) 100%);
  box-shadow: 0 0 14px rgba(246, 176, 90, .7);
}
.ruta__parada { position: relative; padding-top: 2.6rem; display: flex; flex-direction: column; gap: .3rem; }
.ruta__parada::before {
  content: ""; position: absolute; left: 0; top: 0; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--noche); border: 2px solid #F4B25E; box-shadow: 0 0 12px rgba(246, 176, 90, .6);
}
.ruta__parada--activa::before { background: #FFE7BE; box-shadow: 0 0 0 5px rgba(246, 176, 90, .25), 0 0 22px rgba(255, 210, 140, .95); }
.ruta__parada--futura::before { border-style: dashed; border-color: var(--texto-tenue); box-shadow: none; }
.ruta__parada b { font: 400 clamp(1.4rem, 2.6vw, 2rem)/1.1 var(--serif); }
.ruta__parada span { color: var(--texto-tenue); font-size: .95rem; }
@media (max-width: 640px) {
  .ruta { grid-template-columns: 1fr; gap: 2.2rem; padding-left: 2.4rem; }
  .ruta::before { left: .5rem; right: auto; top: .6rem; bottom: 0; width: 3px; height: auto; background: linear-gradient(180deg, #F4B25E 0%, #F4B25E 60%, rgba(244, 178, 94, 0) 100%); }
  .ruta__parada { padding-top: 0; }
  .ruta__parada::before { left: -2.4rem; }
}

/* ---------- Legal ---------- */
.documentos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3.5rem); }
.documentos a { display: flex; flex-direction: column; gap: .4rem; padding: 1.5rem 0; border-top: 1px solid var(--linea-fuerte); text-decoration: none; color: var(--texto); transition: border-color .3s ease; }
.documentos a:hover { border-color: var(--ambar); }
.documentos a:hover b { color: var(--ambar); }
.documentos b { font: 400 1.3rem/1.25 var(--serif); transition: color .3s ease; }
.documentos span { color: var(--texto-tenue); font-size: .96rem; }
@media (max-width: 720px) { .documentos { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .que-es__fila, .conductores__fila { grid-template-columns: 1fr; }
}

/* ---------- Pie: el amanecer final ---------- */
.pie {
  background: radial-gradient(50% 80% at 18% 0%, rgba(218, 132, 33, .16), transparent 70%), var(--noche);
  border-top: 1px solid var(--linea); color: var(--texto-suave);
  padding-block: 4.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
}
.pie__fila { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.pie__marca { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.amanecer { width: 170px; height: auto; filter: drop-shadow(0 0 18px rgba(246, 176, 90, .35)); }
.pie__marca img { width: 120px; height: auto; margin-top: -.4rem; }
.pie__lema { font: italic 400 1.2rem var(--serif); color: var(--ambar); margin: .2rem 0 0; }
.pie__columna { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; min-width: 0; }
.pie__columna h2 { font: 500 .72rem/1 var(--cuerpo); letter-spacing: .3em; text-transform: uppercase; color: var(--ambar); margin: .4rem 0 .6rem; }
.pie__columna a, .pie__enlace-boton { color: var(--texto-suave); text-decoration: none; font: 400 .97rem var(--cuerpo); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; transition: color .2s ease; }
.pie__columna a:hover, .pie__enlace-boton:hover { color: var(--texto); }
.pie__columna p { margin: 0; font-size: .95rem; overflow-wrap: anywhere; }
.redes { display: flex; gap: 1rem; flex-wrap: wrap; }
.pie__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--linea); font-size: .85rem; color: var(--texto-tenue); }
.pie__legal p { margin: 0; }
.pie__legal a { color: inherit; }
@media (max-width: 820px) { .pie__fila { grid-template-columns: 1fr 1fr; } .pie__marca { grid-column: 1 / -1; } }

/* ---------- Flotantes ---------- */
.whatsapp {
  position: fixed; z-index: 40; right: 1.1rem; bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #1F9D55; color: #fff; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7);
}
.whatsapp svg { width: 28px; height: 28px; }
.cookies {
  position: fixed; z-index: 60; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  max-width: 440px; padding: 1.2rem 1.3rem; border-radius: 20px;
  background: rgba(10, 21, 40, .95); color: var(--texto); border: 1px solid var(--linea-fuerte);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.cookies p { margin: 0 0 1rem; font-size: .94rem; }
.cookies__botones { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookies .boton { min-height: 44px; padding: .55rem 1.2rem; }
.cinta-prueba {
  position: fixed; z-index: 45; left: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); max-width: calc(100% - 6rem);
  background: rgba(10, 21, 40, .92); color: var(--ambar); border: 1px solid rgba(235, 176, 90, .45);
  font-weight: 500; font-size: .76rem; letter-spacing: .02em;
  padding: .45rem .9rem; border-radius: 999px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

/* ---------- Páginas de documentos (legal, eliminar cuenta) ---------- */
.doc-cabecera {
  position: relative; overflow: hidden;
  background: radial-gradient(60% 120% at 50% 130%, rgba(222, 128, 52, .45), transparent 70%), linear-gradient(180deg, #02060E, #0B1020);
  border-bottom: 1px solid rgba(255, 226, 180, .35);
  color: var(--texto); padding: calc(env(safe-area-inset-top, 0px) + 1rem) 0 3.5rem;
}
.doc-cabecera .marca { margin-bottom: 3rem; }
.doc-cabecera h1 { font: 400 clamp(2.1rem, 5vw, 3.4rem)/1.08 var(--serif); letter-spacing: -.012em; margin: 0 0 .9rem; max-width: 22ch; }
.doc-cabecera p { margin: 0; color: var(--texto-suave); }
.doc { max-width: 760px; margin-inline: auto; padding: 3.5rem var(--gutter) 5rem; color: var(--texto-suave); }
.doc h2 { font: 400 1.7rem/1.2 var(--serif); color: var(--texto); margin: 2.75rem 0 .8rem; scroll-margin-top: 1rem; }
.doc h3 { font: 600 1.15rem var(--serif); color: var(--texto); margin: 1.75rem 0 .5rem; }
.doc strong, .doc b { color: var(--texto); }
.doc p, .doc li { max-width: 68ch; }
.doc ul, .doc ol { padding-left: 1.3rem; }
.doc li { margin-bottom: .45rem; }
.doc .tabla { overflow-x: auto; margin: 1.4rem 0; border: 1px solid var(--linea); border-radius: 16px; }
.doc table { border-collapse: collapse; width: 100%; font-size: .94rem; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: .75rem .9rem; border-bottom: 1px solid var(--linea); }
.doc th { background: rgba(255, 255, 255, .04); color: var(--texto); font-weight: 600; }
.doc tr:last-child td { border-bottom: 0; }
.tabla--simple table { min-width: 0; }
.doc-indice { background: var(--vidrio); border: 1px solid var(--linea); border-radius: 18px; padding: 1.1rem 1.35rem; margin-bottom: 1rem; }
.doc-indice h2 { font: 500 .72rem/1 var(--cuerpo); letter-spacing: .3em; text-transform: uppercase; color: var(--ambar); margin: .3rem 0 .9rem; }
.doc-indice ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 2rem; font-size: .95rem; }
.doc-indice li { break-inside: avoid; }
@media (max-width: 560px) { .doc-indice ul { columns: 1; } }
.doc-volver { display: inline-block; margin-top: 3rem; font-weight: 500; }
.aviso { border: 1px solid rgba(235, 176, 90, .35); background: rgba(235, 176, 90, .06); padding: 1rem 1.2rem; border-radius: 14px; margin: 1.5rem 0; color: var(--texto); }
.doc .pasos { counter-reset: paso; list-style: none; padding: 0; background: none; text-align: left; overflow: visible; }
.doc .pasos li { counter-increment: paso; position: relative; padding-left: 2.8rem; margin-bottom: 1.1rem; }
.doc .pasos li::before { content: counter(paso); position: absolute; left: 0; top: -.1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ambar); color: var(--ambar); font: italic 400 1rem var(--serif); }

/* ---------- Al bajar: cada sección entra como una escena ---------- */
.hero__contenido { translate: 0 calc(var(--p, 0) * -90px); opacity: calc(1 - var(--p, 0) * 1.3); }
.escena__sol { translate: 0 calc(var(--p, 0) * 140px); }
.escena__palmas { translate: 0 calc(var(--p, 0) * 30px); }

.seccion::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(80%, 960px); height: 1px; translate: -50% 0;
  background: linear-gradient(90deg, transparent, rgba(255, 226, 180, .7), transparent);
  box-shadow: 0 0 14px rgba(246, 176, 90, .5);
}
.js-revelar .seccion::before { scale: 0 1; opacity: 0; transition: scale 1.6s var(--suave), opacity 1.6s ease; }
.js-revelar .seccion.visto::before { scale: 1 1; opacity: 1; }

.js-revelar [data-revelar] {
  opacity: 0; translate: 0 48px; filter: blur(10px);
  transition: opacity 1.1s var(--suave), translate 1.2s var(--suave), filter 1.1s var(--suave);
  transition-delay: var(--retraso, 0s);
}
.js-revelar [data-revelar].visto { opacity: 1; translate: 0 0; filter: blur(0); }
.js-revelar .titular[data-revelar] { opacity: 1; translate: 0 0; filter: none; }
.js-revelar .titular[data-revelar] > * {
  clip-path: inset(0 0 100% 0); translate: 0 .5em;
  transition: clip-path 1.2s var(--suave), translate 1.2s var(--suave);
}
.js-revelar .titular[data-revelar] > :nth-child(2) { transition-delay: .18s; }
.js-revelar .titular[data-revelar] > :nth-child(3) { transition-delay: .36s; }
.js-revelar .titular[data-revelar].visto > * { clip-path: inset(-10% -5% -20% -5%); translate: 0 0; }
.js-revelar .paso[data-revelar] { filter: none; }
.js-revelar .paso[data-revelar] .telefono { transform: perspective(1200px) rotateX(28deg) scale(.9); transition: transform 1.4s var(--suave); transition-delay: var(--retraso, 0s); }
.js-revelar .paso[data-revelar].visto .telefono { transform: none; }
.js-revelar .paso:nth-child(2)[data-revelar].visto .telefono { transform: translateY(-1.5rem); }
@media (max-width: 860px) { .js-revelar .paso:nth-child(2)[data-revelar].visto .telefono { transform: none; } }
.js-revelar .ruta::before { scale: 0 1; transform-origin: left; transition: scale 2s var(--suave) .2s; }
.js-revelar .ruta.visto::before { scale: 1 1; }
@media (max-width: 640px) {
  .js-revelar .ruta::before { scale: 1 0; transform-origin: top; }
  .js-revelar .ruta.visto::before { scale: 1 1; }
}

/* ---------- Botones: respuesta al toque ---------- */
.boton, .tienda, .pie__boton { position: relative; overflow: hidden; isolation: isolate; }
.boton:active, .tienda:not([aria-disabled="true"]):active, .pie__boton:active { scale: .97; }
.boton::after, .tienda::after, .pie__boton::after {
  content: ""; position: absolute; z-index: -1; left: var(--x, 50%); top: var(--y, 50%);
  width: 260%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; scale: 0;
  background: radial-gradient(closest-side, rgba(255, 240, 210, .55), rgba(255, 240, 210, 0));
  pointer-events: none; opacity: 0;
}
.pulsado::after { animation: onda .7s var(--suave); }
@keyframes onda { from { scale: 0; opacity: 1; } to { scale: 1; opacity: 0; } }
.pie__acciones { display: flex; flex-wrap: wrap; gap: .6rem; }
.pie__columna .pie__boton {
  display: inline-flex; align-items: center; min-height: 40px; padding: .35rem 1.05rem;
  border: 1px solid var(--linea-fuerte); border-radius: 999px;
  color: var(--texto-suave); font-size: .92rem;
  transition: border-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.pie__columna .pie__boton:hover { border-color: var(--ambar); color: var(--texto); box-shadow: 0 0 22px -8px rgba(235, 176, 90, .8); text-decoration: none; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .escena__ruta-pulso, .carro { display: none; }
  .hero__contenido, .escena__sol, .escena__palmas { translate: none; opacity: 1; }
}
