/* =============================================================
   coastcars.es — hoja de estilos  ·  identidad "Instrumento"
   El dominio presentado como un instrumento de precisión y como
   la ficha técnica de un vehículo. Coche + costa se cruzan en el
   "horizonte artificial": la línea-instrumento del héroe con su
   corchete central, sus marcas de grado y su lectura de
   coordenadas. Tipografía de rejilla: Bricolage Grotesque
   (voz) + Archivo (texto) + Spline Sans Mono (lecturas/etiquetas).
   Todo autoalojado, sin CDN.
   ============================================================= */

/* ---------- Fuentes autoalojadas (variables) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Spline Sans Mono";
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/spline-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Spline Sans Mono";
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/spline-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0a1c24; /* petróleo casi negro — base oscura */
  --ink-2: #0d2630;
  --petrol: #103642; /* paneles / parte baja del héroe */
  --haze: #e6ebe9; /* la ÚNICA sección clara — gris vidrio-marino, no crema */
  --haze-2: #eef2f0;
  --paper-ink: #0e2129; /* texto sobre claro */
  --paper-mut: #46585e; /* texto secundario sobre claro */
  --fog: rgba(230, 235, 233, 0.66); /* texto secundario sobre oscuro */
  --line-d: rgba(230, 235, 233, 0.14); /* filete sobre oscuro */
  --line-l: rgba(14, 33, 41, 0.14); /* filete sobre claro */
  --amber: #e2a13c; /* ámbar de testigo — acento y CTA sobre oscuro */
  --amber-hi: #f0bd68;
  --amber-ink: #8a5a16; /* ocre oscuro — mismo papel del ámbar sobre fondo claro (AA) */
  --aqua: #6fc3bd; /* tinte HUD — solo filetes y marcas */
  --sold: #fb3b30; /* rojo vivo — sello "SE VENDE" */

  --display: "Bricolage Grotesque", "Archivo", system-ui, sans-serif;
  --text: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, "Cascadia Code", Consolas,
    "Liberation Mono", monospace;

  --wrap: 73rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --fs-label: 0.72rem;
  --fs-h1: clamp(2.9rem, 6.4vw + 1rem, 6rem);
  --fs-h2: clamp(2rem, 3vw + 1rem, 3.15rem);
  --fs-lead: clamp(1.1rem, 0.6vw + 1rem, 1.32rem);
  --fs-body: 1.0625rem;
}

/* ---------- Reset ligero ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper-ink);
  font-family: var(--text);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}
a {
  color: inherit;
}
svg {
  display: block;
}
::selection {
  background: var(--amber);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--amber-hi);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- Utilidades ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: currentColor;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--amber);
  color: var(--ink);
  padding: 0.6rem 1rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 1rem;
}

/* ---------- Botón ---------- */
.btn {
  --bg: var(--amber);
  --fg: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 100%;
  padding: 0.9rem 1.5rem;
  border-radius: 2px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}
.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}
.btn > span {
  overflow-wrap: anywhere;
}
.btn .btn__arrow {
  transition: transform 0.22s var(--ease);
}
.btn:hover {
  background: var(--amber-hi);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(226, 161, 60, 0.8);
}
.btn:hover .btn__arrow {
  transform: translateX(3px);
}
.btn:active {
  transform: translateY(0);
}

/* Enlace de correo en formato "lectura" */
.readout {
  font-family: var(--mono);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--fog);
}
.readout a {
  color: var(--amber-hi);
  text-decoration: none;
  border-bottom: 1px solid var(--line-d);
  padding-bottom: 2px;
}
.readout a:hover {
  border-bottom-color: var(--amber-hi);
}

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 28, 36, 0.82);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom-color: var(--line-d);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--text);
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--haze);
  text-decoration: none;
}
.brand__mark {
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
}
.site-header .nav-link {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--haze);
  text-decoration: none;
  padding: 0.6rem 0;
  position: relative;
}
.site-header .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.35rem;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s var(--ease);
}
.site-header .nav-link:hover::after,
.site-header .nav-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Héroe ---------- */
.hero {
  position: relative;
  overflow: clip;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7.5rem 0 4rem;
  color: var(--haze);
  background: linear-gradient(
    179deg,
    var(--ink) 0%,
    var(--ink) 38%,
    var(--ink-2) 62%,
    var(--petrol) 100%
  );
  isolation: isolate;
}
/* luz fría del alba en el nordeste + banda de bruma en el horizonte */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    38rem 26rem at 88% 12%,
    rgba(240, 189, 104, 0.14),
    rgba(240, 189, 104, 0) 60%
  );
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    transparent 44%,
    rgba(226, 161, 60, 0.05) 49.6%,
    rgba(111, 195, 189, 0.05) 50.4%,
    transparent 57%
  );
}
.hero__inner {
  position: relative;
  width: 100%;
}
/* "DOMINIO EN VENTA" — el mensaje que se lee a primera vista */
.hero__kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35em;
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.55rem, 4vw + 0.4rem, 3rem);
  line-height: 1.04;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--haze);
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.05s forwards;
}
.hero__kicker::before {
  content: "";
  width: 0.42em;
  height: 0.42em;
  background: var(--amber);
  box-shadow: 0 0 14px rgba(226, 161, 60, 0.6);
}
.hero__kicker span {
  color: var(--amber);
}
.hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.14s forwards;
}
.hero__title .dot {
  color: var(--amber);
}
.hero__title .tld {
  color: var(--fog);
}

/* --- El horizonte artificial (firma) --- */
.horizon {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 2.4rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  transform: rotate(-1.4deg);
  animation: level 1s var(--ease) 0.5s forwards;
}
.horizon__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0,
    rgba(230, 235, 233, 0.28) 5%,
    rgba(230, 235, 233, 0.28) 44%,
    transparent 46%,
    transparent 54%,
    rgba(230, 235, 233, 0.28) 56%,
    rgba(230, 235, 233, 0.28) 95%,
    transparent 100%
  );
}
.horizon__bracket {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3rem;
  height: 0.95rem;
  transform: translate(-50%, -50%);
  border-left: 1.5px solid var(--amber);
  border-right: 1.5px solid var(--amber);
}
.hero__lede {
  max-width: 46rem;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--haze);
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.5s forwards;
}
.hero__lede span {
  color: var(--fog);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
  margin-top: 2.4rem;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.62s forwards;
}
.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 1.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fog);
  text-decoration: none;
  opacity: 0;
  animation: fade 0.8s var(--ease) 1s forwards;
}
.scroll-cue svg {
  width: 0.9rem;
  height: 0.9rem;
  animation: nudge 2.6s var(--ease) infinite;
}
.scroll-cue:hover {
  color: var(--amber-hi);
}

/* Sello "SE VENDE" — timbre en rojo vivo.
   En pantallas anchas se centra en el hueco entre "DOMINIO EN VENTA"
   y el borde derecho; en pantallas estrechas, esquina superior derecha. */
.hero__stamp {
  --rot: -7deg;
  --tx: 0px;
  position: absolute;
  top: -2rem;
  right: -0.5rem;
  width: clamp(6rem, 28vw, 7.5rem);
  height: auto;
  color: var(--sold);
  opacity: 0.95;
  transform: translateX(var(--tx)) rotate(var(--rot));
  pointer-events: none;
  animation: stamp-in 0.5s var(--ease) 0.75s backwards;
}
@media (min-width: 34rem) {
  .hero__stamp {
    top: -1.4rem;
    right: 0;
    width: clamp(8rem, 20vw, 10rem);
  }
}
@media (min-width: 56rem) {
  .hero__stamp {
    --rot: -8deg;
    --tx: -50%;
    top: 1.4rem;
    left: 82%;
    right: auto;
    width: clamp(11rem, 20vw, 14.5rem);
  }
}
.hero__stamp text {
  fill: currentColor;
  text-anchor: middle;
}
.hero__stamp-sm {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 3px;
}
.hero__stamp-lg {
  font-family: var(--display);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: 1.5px;
}
.hero__stamp-xs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
}

/* ---------- Sección clara: ficha técnica ---------- */
.section {
  padding-block: clamp(4.5rem, 10vw, 8rem);
}
.section--haze {
  background: var(--haze);
  color: var(--paper-ink);
}
/* El ámbar como TEXTO no llega a contraste AA sobre fondo claro:
   sobre claro, las etiquetas usan ocre oscuro. */
.section--haze .eyebrow,
.section--haze .ficha__key {
  color: var(--amber-ink);
}
.section__head {
  max-width: 46rem;
}
.section__title {
  font-family: var(--display);
  font-weight: 640;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.4rem;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--paper-mut);
}
.lead strong {
  color: var(--paper-ink);
  font-weight: 600;
}

.ficha {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line-l);
}
.ficha__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-l);
}
.ficha__key {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--amber);
}
.ficha__ico {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--paper-ink);
  opacity: 0.55;
  flex: none;
}
.ficha__term {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.16rem;
  line-height: 1.2;
  color: var(--paper-ink);
}
.ficha__desc {
  color: var(--paper-mut);
  font-size: 0.97rem;
  line-height: 1.55;
}
@media (min-width: 52rem) {
  .ficha__row {
    grid-template-columns: 8.5rem 15rem 1fr;
    gap: 1.75rem;
    align-items: baseline;
  }
  .ficha__key {
    align-self: baseline;
  }
}

/* Cierre de la sección clara */
.summary {
  margin-top: clamp(3rem, 6vw, 5rem);
  max-width: 30ch;
}
.summary__tag {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-mut);
}
.summary p {
  margin-top: 0.9rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2vw + 1rem, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--paper-ink);
}

/* ---------- Contacto + pie (banda oscura, cierre en espejo) ---------- */
.closer {
  background: var(--ink);
  color: var(--haze);
}
.contact {
  padding-block: clamp(4.5rem, 10vw, 8rem);
  border-top: 1px solid var(--line-d);
}
.contact__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 1.3rem;
}
.contact__text {
  color: var(--fog);
  font-size: var(--fs-lead);
  line-height: 1.55;
  max-width: 42rem;
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
  margin-top: 2.4rem;
}
.contact__note {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: var(--fog);
}
.contact__addr {
  margin-top: 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--line-d);
  padding-block: 2.5rem 3rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
}
.site-footer .brand {
  color: var(--haze);
}
.site-footer__meta {
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--fog);
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.9rem;
}
.site-footer__links a {
  color: var(--haze);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease);
}
.site-footer__links a:hover {
  border-bottom-color: var(--amber);
}

/* ---------- Páginas legales ---------- */
.legal-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(10, 28, 36, 0.94);
  border-bottom: 1px solid var(--line-d);
}
.legal {
  padding: 9rem 0 5rem;
  background: var(--haze);
  color: var(--paper-ink);
}
.legal__inner {
  max-width: 44rem;
}
.legal h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 3vw + 1rem, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}
.legal__updated {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--paper-mut);
  margin-bottom: 2.5rem;
}
.legal h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin: 2.6rem 0 0.8rem;
}
.legal p,
.legal li {
  color: var(--paper-mut);
  line-height: 1.7;
}
.legal p + p {
  margin-top: 1rem;
}
.legal strong {
  color: var(--paper-ink);
  font-weight: 600;
}
.legal ul {
  margin: 1rem 0;
  padding-left: 1.1rem;
}
.legal li + li {
  margin-top: 0.5rem;
}
.legal a {
  color: var(--paper-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--amber);
}
.legal a:hover {
  text-decoration-color: currentColor;
}
.legal__data {
  margin: 1.4rem 0;
  border-top: 1px solid var(--line-l);
}
.legal__data div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-l);
}
.legal__data dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-ink);
}
.legal__data dd {
  margin: 0;
  color: var(--paper-mut);
}
@media (min-width: 40rem) {
  .legal__data div {
    grid-template-columns: 12rem 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 3rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-ink);
  text-decoration: none;
}
.back-home svg {
  width: 0.95rem;
  height: 0.95rem;
}
.back-home:hover {
  color: var(--paper-mut);
}

/* ---------- Revelado al hacer scroll ---------- */
@media (scripting: enabled) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Animaciones ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fade {
  to {
    opacity: 1;
  }
}
@keyframes level {
  to {
    transform: rotate(0deg);
  }
}
@keyframes nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}
@keyframes stamp-in {
  from {
    opacity: 0;
    transform: translateX(var(--tx)) rotate(var(--rot)) scale(1.16);
  }
  to {
    opacity: 0.95;
    transform: translateX(var(--tx)) rotate(var(--rot)) scale(1);
  }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero__kicker,
  .hero__title,
  .hero__lede,
  .hero__actions,
  .scroll-cue {
    opacity: 1;
  }
  .horizon {
    transform: none;
  }
  .hero__stamp {
    animation: none;
    opacity: 0.95;
    transform: translateX(var(--tx)) rotate(var(--rot));
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
