/* ═══════════════════════════════════════════════════════════
   TOP DOG LABS — Primal Rage
   Sistema de diseño: negro carbón + rojo sangre + acento cítrico
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Color — muestreado del logotipo y del empaque */
  --negro:      #0A0A0B;
  --carbon:     #131316;
  --carbon-alto:#1B1B20;
  --linea:      #26262C;
  --rojo:       #D8232F;
  --rojo-vivo:  #FF2A32;
  --hueso:      #E9E1D1;
  --acero:      #8C8C93;
  --citrico:    #C9DB3E;

  /* Semántico */
  --bg:          var(--negro);
  --superficie:  var(--carbon);
  --texto:       var(--hueso);
  --texto-tenue: var(--acero);
  --acento:      var(--rojo);
  --dato:        var(--citrico);

  /* Tipografía */
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --cuerpo:  "Barlow", system-ui, -apple-system, sans-serif;
  --mono:    "Space Mono", ui-monospace, "Courier New", monospace;

  /* Ritmo espacial 4/8 */
  --e1: 0.5rem;  --e2: 1rem;   --e3: 1.5rem;
  --e4: 2rem;    --e5: 3rem;   --e6: 4rem;
  --e7: 6rem;    --e8: 8rem;

  --ancho: 1200px;
  --radio: 2px;

  --t-rapido: 160ms;
  --t-medio:  260ms;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);

  --z-nav: 100;
  --z-anuncio: 90;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--texto);
  font-family: var(--cuerpo);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 0.92; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Accesibilidad ── */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--acento); color: #fff;
  padding: var(--e2) var(--e3); font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--dato);
  outline-offset: 3px;
}

/* ── Utilidades ── */
.wrap {
  width: 100%;
  max-width: var(--ancho);
  margin-inline: auto;
  padding-inline: var(--e3);
}
@media (min-width: 768px) { .wrap { padding-inline: var(--e4); } }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dato);
  margin-bottom: var(--e2);
}

.section { padding-block: var(--e7); }
@media (min-width: 900px) { .section { padding-block: var(--e8); } }

.section__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section__lede {
  max-width: 52ch;
  margin-top: var(--e3);
  color: var(--texto-tenue);
  font-size: 1.0625rem;
}
.section__head { margin-bottom: var(--e6); }
.section__head--center {
  text-align: center;
  margin-inline: auto;
  max-width: 42rem;
}
.section__head--center .section__lede { margin-inline: auto; }

/* ── Botones ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--e4);
  border: 1px solid transparent;
  border-radius: var(--radio);
  font-family: var(--cuerpo);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t-rapido) var(--ease),
              color var(--t-rapido) var(--ease),
              border-color var(--t-rapido) var(--ease);
}
.btn--primary {
  background: var(--acento);
  color: #fff;
}
.btn--primary:hover { background: var(--rojo-vivo); }
.btn--ghost {
  background: transparent;
  color: var(--texto);
  border-color: #ffffff40;
}
.btn--ghost:hover { border-color: var(--texto); background: #ffffff0f; }
.btn--sm { min-height: 42px; padding-inline: var(--e3); font-size: 0.8125rem; }
.btn--block { display: flex; width: 100%; }
.btn.is-disabled {
  background: var(--carbon-alto);
  color: var(--texto-tenue);
  pointer-events: none;
}

/* ── Logotipo (recorta el margen transparente del PNG) ── */
.logomark {
  position: relative;
  display: block;
  aspect-ratio: 1.1 / 1;
  overflow: hidden;
  flex: none;
}
.logomark img {
  position: absolute;
  top: 50%; left: 50%;
  /* 9334 / 4006 = 2.33 — recorta el margen transparente del PNG.
     El contenido está centrado exactamente en el lienzo. */
  width: 233%;
  max-width: none;
  transform: translate(-50%, -50%);
}
.logomark--sm { width: 46px; }
.logomark--lg { width: 168px; }

/* ═══ BARRA DE ANUNCIO ═══ */
.announce {
  position: relative;
  z-index: var(--z-anuncio);
  background: var(--acento);
  color: #fff;
  text-align: center;
}
.announce__track {
  position: relative;
  height: 38px;
  display: grid;
  place-items: center;
}
.announce__item {
  grid-area: 1 / 1;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t-medio) var(--ease), transform var(--t-medio) var(--ease);
  padding-inline: var(--e2);
}
.announce__item.is-active { opacity: 1; transform: none; }

/* ═══ NAVEGACIÓN ═══ */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: #0a0a0bcc;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-medio) var(--ease),
              border-color var(--t-medio) var(--ease);
}
.nav.is-stuck {
  background: #0a0a0bf2;
  border-bottom-color: var(--linea);
}
.nav__inner {
  max-width: var(--ancho);
  margin-inline: auto;
  padding: var(--e2) var(--e3);
  display: flex;
  align-items: center;
  gap: var(--e3);
}
@media (min-width: 768px) { .nav__inner { padding-inline: var(--e4); } }

.nav__brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: var(--e2);
  text-decoration: none;
  margin-right: auto;
}
.nav__wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav__word {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--texto);
}
.nav__sub {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--texto-tenue);
}

.nav__links {
  display: none;
  gap: var(--e4);
}
.nav__links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--texto-tenue);
  transition: color var(--t-rapido) var(--ease);
}
.nav__links a:hover { color: var(--texto); }

.nav__actions { display: flex; align-items: center; gap: var(--e2); }
.nav__actions .btn--sm { display: none; }

.nav__toggle {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  color: var(--texto);
  cursor: pointer;
}
.nav__toggle svg { width: 22px; height: 22px; }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__actions .btn--sm { display: inline-flex; }
  .nav__toggle { display: none; }
  /* En escritorio el botón rojo ya es "Compra aquí": ocultamos el enlace
     de texto para no duplicarlo. En móvil sigue visible en el menú.
     Selector con la misma altura de especificidad que `.nav__links a`. */
  .nav__links a.nav__buy-inline { display: none; }
}

/* Menú móvil desplegado */
@media (max-width: 899px) {
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--carbon);
    border-bottom: 1px solid var(--linea);
    padding: var(--e2) var(--e3) var(--e3);
  }
  .nav__links.is-open a {
    min-height: 52px;
    font-size: 1.0625rem;
    color: var(--texto);
    border-bottom: 1px solid var(--linea);
  }
  .nav__links.is-open a:last-child { border-bottom: 0; }
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: min(88svh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--negro) 4%, #0a0a0b00 55%),
    linear-gradient(to right, #0a0a0be6 0%, #0a0a0b99 42%, #0a0a0b00 72%);
}
.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--ancho);
  margin-inline: auto;
  padding: var(--e6) var(--e3) var(--e6);
}
@media (min-width: 768px) {
  .hero__content { padding: var(--e8) var(--e4) var(--e7); }
}

.hero__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 11vw, 7rem);
  letter-spacing: -0.015em;
  text-transform: uppercase;
  max-width: 14ch;
}
.hero__title em {
  font-style: normal;
  color: var(--acento);
}
.hero__lede {
  max-width: 46ch;
  margin-top: var(--e3);
  font-size: 1.0625rem;
  color: #d7d2c6;
}
@media (min-width: 768px) { .hero__lede { font-size: 1.1875rem; } }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--e2);
  margin-top: var(--e4);
}
.hero__cta .btn { flex: 1 1 auto; min-width: 168px; }
@media (min-width: 480px) { .hero__cta .btn { flex: 0 0 auto; } }

.hero__specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--e4);
  margin: var(--e5) 0 0;
  padding-top: var(--e3);
  border-top: 1px solid #ffffff26;
  max-width: 34rem;
}
.hero__specs div { display: flex; flex-direction: column; gap: 2px; }
.hero__specs dt {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--texto-tenue);
}
.hero__specs dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
}

/* ═══ MARQUESINA ═══ */
.marquee {
  border-block: 1px solid var(--linea);
  background: var(--carbon);
  overflow: hidden;
  padding-block: var(--e2);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: desliza 38s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: var(--e4);
  padding-right: var(--e4);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--texto-tenue);
  white-space: nowrap;
}
.marquee__group i { color: var(--dato); font-style: normal; font-size: 0.5rem; }
@keyframes desliza {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ═══ FÓRMULA — la ficha técnica ═══ */
.section--formula { background: var(--bg); }

.formula {
  display: grid;
  gap: var(--e5);
}
@media (min-width: 1000px) {
  .formula {
    grid-template-columns: 1.35fr 1fr;
    gap: var(--e6);
    align-items: start;
  }
}

.formula__sheet {
  border: 1px solid var(--linea);
  background: linear-gradient(180deg, var(--carbon), #101013);
}
.sheet__head {
  display: flex;
  justify-content: space-between;
  padding: var(--e2) var(--e3);
  border-bottom: 1px solid var(--linea);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--texto-tenue);
}

.ing {
  padding: var(--e3);
  border-bottom: 1px solid var(--linea);
}
.ing:last-child { border-bottom: 0; }
.ing__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--e2);
}
.ing__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.375rem, 3.4vw, 1.875rem);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.ing__amt {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--dato);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ing--hot .ing__amt { color: var(--rojo-vivo); }
.ing__note {
  margin-top: 2px;
  font-size: 0.875rem;
  color: var(--texto-tenue);
  max-width: 48ch;
}
.ing__bar {
  margin-top: var(--e2);
  height: 3px;
  background: #ffffff14;
  overflow: hidden;
}
.ing__bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--dato);
  transition: width 900ms var(--ease);
}
.ing--hot .ing__bar > span { background: var(--rojo-vivo); }

.sheet__head--sub { border-top: 1px solid var(--linea); }

/* Electrolitos y micronutrientes: lista compacta, sin barras */
.micro {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .micro { grid-template-columns: 1fr 1fr; }
}
.micro li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--e2);
  padding: var(--e2) var(--e3);
  border-bottom: 1px solid var(--linea);
}
@media (min-width: 560px) {
  .micro li:nth-child(odd) { border-right: 1px solid var(--linea); }
  .micro li:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 559px) {
  .micro li:last-child { border-bottom: 0; }
}
.micro__n { font-size: 0.875rem; }
.micro__v {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--dato);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sheet__foot {
  padding: var(--e3);
  border-top: 1px solid var(--linea);
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.7;
  color: var(--texto-tenue);
}

/* Tabla nutrimental (macros) */
.formula__aside { display: grid; gap: var(--e4); align-content: start; }

.macros {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--linea);
  background: var(--carbon);
  text-align: left;
}
.macros caption {
  padding: var(--e2) var(--e3);
  border-bottom: 1px solid var(--linea);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--texto-tenue);
  text-align: left;
}
.macros th, .macros td {
  padding: var(--e2) var(--e3);
  border-bottom: 1px solid var(--linea);
  font-size: 0.875rem;
}
.macros tr:last-child th, .macros tr:last-child td { border-bottom: 0; }
.macros th { font-weight: 500; color: var(--texto); }
.macros td {
  font-family: var(--mono);
  font-size: 0.8125rem;
  text-align: right;
  color: var(--dato);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.macros td span { color: var(--texto-tenue); }

.formula__figure { margin: 0; }
.formula__figure img { width: 100%; border: 1px solid var(--linea); }
.formula__figure figcaption {
  margin-top: var(--e3);
  font-size: 0.9375rem;
  color: var(--texto-tenue);
}
.tag {
  display: inline-block;
  margin-right: var(--e1);
  padding: 3px var(--e1);
  background: var(--dato);
  color: #14150a;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ═══ CÓMO SE TOMA ═══ */
.section--uso { background: var(--carbon); }

.uso { display: grid; gap: var(--e5); }
@media (min-width: 1000px) {
  .uso {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--e6);
    align-items: center;
  }
}
.uso__figure { margin: 0; }
.uso__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--linea);
}
@media (max-width: 999px) {
  .uso__figure img { aspect-ratio: 16 / 10; }
}

.steps { margin-top: var(--e4); display: grid; gap: var(--e3); }
.step { display: flex; gap: var(--e3); align-items: flex-start; }
.step__n {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  /* --rojo-vivo, no --rojo: a 12px hace falta 4.5:1 contra el carbón */
  color: var(--rojo-vivo);
  padding-top: 6px;
  min-width: 2ch;
}
.step h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.625rem;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.step p { font-size: 0.9375rem; color: var(--texto-tenue); max-width: 46ch; }

.warn {
  display: flex;
  gap: var(--e2);
  margin-top: var(--e4);
  padding: var(--e3);
  background: #d8232f14;
  border-left: 2px solid var(--acento);
}
.warn svg { width: 22px; height: 22px; flex: none; color: var(--rojo-vivo); margin-top: 2px; }
.warn p { font-size: 0.875rem; color: #cdc8bd; }
.warn strong { color: var(--texto); }

/* ═══ RESEÑAS ═══ */
.resenas {
  display: grid;
  gap: var(--e3);
}
@media (min-width: 800px) {
  .resenas { grid-template-columns: repeat(3, 1fr); gap: var(--e4); }
}
.resena {
  margin: 0;
  padding: var(--e4) var(--e3);
  border: 1px solid var(--linea);
  background: var(--carbon);
  display: flex;
  flex-direction: column;
  gap: var(--e2);
}
.resena__stars { color: var(--dato); font-size: 1rem; letter-spacing: 0.14em; }
.resena__stars .is-off { color: #ffffff2b; }
.resena blockquote { margin: 0; }
.resena blockquote p { font-size: 1.0625rem; line-height: 1.55; }
.resena figcaption {
  margin-top: auto;
  padding-top: var(--e2);
  border-top: 1px solid var(--linea);
  display: flex;
  flex-direction: column;
}
.resena figcaption strong { font-size: 0.9375rem; }
.resena figcaption span {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texto-tenue);
}

.atleta {
  position: relative;
  margin: var(--e6) 0 0;
  border: 1px solid var(--linea);
  overflow: hidden;
}
.atleta img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
@media (max-width: 700px) { .atleta img { aspect-ratio: 4 / 5; } }
.atleta figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--e5) var(--e3) var(--e3);
  background: linear-gradient(to top, #0a0a0bf2 25%, #0a0a0b00);
}
@media (min-width: 768px) { .atleta figcaption { padding: var(--e6) var(--e4) var(--e4); } }
.atleta__quote {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.75rem, 5vw, 3rem);
  text-transform: uppercase;
  line-height: 0.95;
}
.atleta__by {
  margin-top: var(--e1);
  font-size: 0.9375rem;
  color: var(--texto-tenue);
  max-width: 44ch;
}

/* ═══ COMPRA AQUÍ ═══ */
.section--comprar { background: var(--carbon); padding-bottom: 0; }

.tiendas { display: grid; gap: var(--e3); }
@media (min-width: 800px) { .tiendas { grid-template-columns: repeat(3, 1fr); } }

.tienda {
  padding: var(--e4) var(--e3);
  border: 1px solid var(--linea);
  background: var(--negro);
  display: flex;
  flex-direction: column;
  gap: var(--e2);
  transition: border-color var(--t-rapido) var(--ease);
}
.tienda:hover { border-color: #45454f; }
.tienda__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.75rem;
  text-transform: uppercase;
}
.tienda__note {
  font-size: 0.9375rem;
  color: var(--texto-tenue);
  margin-bottom: var(--e2);
  flex: 1;
}

.franja {
  position: relative;
  margin-top: var(--e7);
  border-top: 1px solid var(--linea);
}
.franja img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
@media (max-width: 700px) { .franja img { aspect-ratio: 4 / 3; } }
.franja__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: var(--e3);
  max-width: var(--ancho);
  margin-inline: auto;
}
@media (min-width: 768px) { .franja__text { padding-inline: var(--e4); } }
.franja__kicker {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dato);
  margin-bottom: var(--e1);
}
.franja__line {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.75rem, 5.5vw, 4rem);
  text-transform: uppercase;
  line-height: 0.95;
  max-width: 12ch;
}

/* ═══ PIE ═══ */
.footer {
  background: var(--negro);
  border-top: 1px solid var(--linea);
  padding-top: var(--e6);
}
.footer__inner {
  display: grid;
  gap: var(--e5);
  padding-bottom: var(--e6);
}
@media (min-width: 800px) {
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--e4); }
}
.footer__tag {
  margin-top: var(--e2);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--texto-tenue);
}
.footer__h {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--texto-tenue);
  margin: 0 0 var(--e2);
}
.footer__nav, .footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.footer__nav a, .footer__col a {
  display: flex;
  align-items: center;
  min-height: 44px;          /* objetivo táctil mínimo */
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--texto);
  transition: color var(--t-rapido) var(--ease);
}
.footer__nav a:hover, .footer__col a:hover { color: var(--rojo-vivo); }
.footer__muted { margin-top: var(--e1); font-size: 0.875rem; color: var(--texto-tenue); }

.footer__legal {
  border-top: 1px solid var(--linea);
  padding-block: var(--e4);
  display: grid;
  gap: var(--e2);
}
.footer__legal p {
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--texto-tenue);
  max-width: 78ch;
}
.footer__copy { font-family: var(--mono); letter-spacing: 0.06em; }

/* ═══ REVELADO AL HACER SCROLL ═══
   El contenido sólo se oculta si JavaScript está disponible: sin JS
   (o si el script falla) la página se ve completa. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}
