/* Pocket Dungeons of Madness — microsite
   Mismo sistema visual que el juego de rol (PocketRPG/index.html):
   paleta de fosa y hueso, Grenze Gotisch + Alegreya, viñetas con tinta y sombra dura. */

:root {
  --fosa: #0e1416;
  --fosa-2: #141d20;
  --fosa-3: #1b272b;
  --tinta: #000;
  --hueso: #e9dfc9;
  --hueso-2: #b9ae98;
  --papel: #fff6e3;
  --espectro: #4cc2b2;
  --carmesi: #d23c5a;
  --brasa: #f2a444;
  --vacio: #a77be0;
  --linea: rgba(233, 223, 201, 0.14);
  --gutter: clamp(16px, 5vw, 72px);
  --bar: 64px;
  --display: 'Grenze Gotisch', 'Alegreya', serif;
  --texto: 'Alegreya', Georgia, serif;
  --sc: 'Alegreya SC', 'Alegreya', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--fosa);
  color: var(--hueso);
  font-family: var(--texto);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--espectro); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--brasa); outline-offset: 3px;
}
strong { font-weight: 700; color: var(--papel); }
p { margin: 0 0 0.9em; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block; padding: 12px 22px; font-family: var(--sc); font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; color: var(--fosa); background: var(--brasa); cursor: pointer;
  border: 3px solid #000; box-shadow: 5px 5px 0 #000;
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #000; }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #000; }
.btn.ghost { background: var(--hueso); }
.btn.small { padding: 6px 14px; font-size: 0.98rem; box-shadow: 3px 3px 0 #000; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Barra superior con antorcha ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--bar);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  background: rgba(14, 20, 22, 0.94); border-bottom: 3px solid #000;
  box-shadow: 0 1px 0 var(--linea);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--hueso); text-decoration: none; margin-right: auto; }
.brand img { width: 34px; height: 34px; border: 2px solid #000; border-radius: 7px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a:not(.btn) {
  padding: 6px 10px; font-family: var(--sc); font-weight: 700; font-size: 1rem;
  color: var(--hueso-2); text-decoration: none;
}
.menu a:not(.btn):hover, .menu a.is-here { color: var(--papel); box-shadow: inset 0 -2px 0 var(--brasa); }
.menu .btn { margin-left: 10px; }
.menu-btn {
  display: none; font-family: var(--sc); font-weight: 700; font-size: 1rem; padding: 6px 14px;
  background: var(--hueso); color: #000; border: 2px solid #000; box-shadow: 3px 3px 0 #000; cursor: pointer;
}
/* La antorcha: se consume a medida que bajas por la página */
.torch { position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; }
.torch i {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: linear-gradient(90deg, #7a2b12, var(--brasa) 80%, #ffe0a0);
  box-shadow: 0 0 10px var(--brasa);
}
.torch i::after {
  content: ''; position: absolute; right: -6px; top: -7px; width: 12px; height: 16px;
  background: radial-gradient(ellipse at 50% 70%, #fff3cf 0 22%, var(--brasa) 45%, rgba(210,60,90,0) 72%);
  border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%;
  animation: llama 1.8s ease-in-out infinite alternate;
}
@keyframes llama { from { transform: scale(1, 1); } to { transform: scale(0.85, 1.15) translateX(-1px); } }

/* ---------- Portada ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end;
  background: #000; overflow: hidden; border-bottom: 3px solid #000;
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,20,22,0.35) 0, rgba(14,20,22,0) 22%, rgba(14,20,22,0) 38%, rgba(14,20,22,0.78) 70%, var(--fosa) 98%);
}
.hero-text { position: relative; z-index: 1; padding: calc(var(--bar) + 40px) var(--gutter) clamp(40px, 8vh, 90px); max-width: 1100px; margin-inline: auto; }
.hero h1 {
  font-family: var(--display); font-weight: 900; margin: 0;
  font-size: clamp(3.4rem, 10vw, 9rem); line-height: 0.82; letter-spacing: -0.01em;
  color: var(--hueso);
  text-shadow: 0 0 36px rgba(76,194,178,0.45), 0 4px 0 #000;
  animation: encender 2.6s ease-out 0.2s both;
}
.hero h1 span { display: block; font-size: 0.5em; line-height: 1; color: var(--espectro); text-shadow: 0 3px 0 #000; }
@keyframes encender {
  0% { opacity: 0; text-shadow: none; }
  18% { opacity: 0.55; }
  24% { opacity: 0.2; }
  40% { opacity: 0.9; }
  47% { opacity: 0.6; }
  100% { opacity: 1; text-shadow: 0 0 36px rgba(76,194,178,0.45), 0 4px 0 #000; }
}
.hero-lede { font-size: clamp(1.2rem, 2vw, 1.55rem); max-width: 30ch; margin: 22px 0 18px; font-style: italic; color: var(--papel); text-shadow: 0 2px 0 #000; }
.hero-cap { max-width: 44ch; margin-bottom: 30px; }

/* ---------- Cartucho de narración ---------- */
.caption {
  margin: 0; padding: 14px 18px 12px; background: var(--hueso); color: #17130e;
  border: 2px solid #000; box-shadow: 6px 6px 0 #000; transform: rotate(-0.9deg);
  font-style: italic; font-size: 1.02rem; line-height: 1.45;
}
.caption em { font-style: normal; }

/* ---------- Secciones ---------- */
.chapter { position: relative; padding: 88px var(--gutter); border-bottom: 1px solid var(--linea); }
.ch-head { max-width: 1280px; margin: 0 auto 34px; }
.ch-head h2 {
  font-family: var(--display); font-weight: 900; margin: 0 0 14px;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 0.95; color: var(--papel);
  text-shadow: 0 3px 0 #000; text-wrap: balance;
}
.ch-head.flat { margin-bottom: 0; }
.lede { font-size: 1.25rem; line-height: 1.5; color: #f3ead6; max-width: 60ch; }
.note { font-size: 0.98rem; color: var(--hueso-2); }

/* ---------- El juego: móvil + viñetas ---------- */
.showcase { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 620px); gap: clamp(32px, 6vw, 90px); align-items: center; justify-content: center; max-width: 1280px; margin-inline: auto; }
.phone {
  position: relative; aspect-ratio: 555 / 1200; padding: 10px; background: #000;
  border-radius: 46px; box-shadow: 0 0 0 2px #2b3a3e, 12px 12px 0 #000, 0 0 70px rgba(76,194,178,0.18);
}
.phone::before {
  content: ''; position: absolute; top: 20px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%);
  background: #000; border-radius: 12px; z-index: 1;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; transition: opacity 0.18s; }
.phone img.fading { opacity: 0; }
.screens { display: flex; flex-direction: column; gap: 18px; }
.shot {
  display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 12px 18px 12px; font: inherit; font-size: 1rem; line-height: 1.45; color: var(--hueso-2);
  background: var(--fosa-2); border: 2px solid #000; box-shadow: 4px 4px 0 #000;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
}
.shot strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.05; color: var(--hueso); margin-bottom: 2px; }
.shot:hover { color: var(--hueso); }
.shot.is-on {
  background: var(--hueso); color: #2a2419; font-style: italic;
  box-shadow: 7px 7px 0 #000; transform: rotate(-0.9deg) translateX(-6px);
}
.shot.is-on strong { color: #17130e; font-style: normal; }
.shot.is-on:nth-child(even) { transform: rotate(0.7deg) translateX(-6px); }
.shot-img, .swipe-hint { display: none; }

/* ---------- Héroes ---------- */
.picker { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; max-width: 1280px; margin-inline: auto; }
.picker button {
  display: flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--hueso-2);
  background: var(--fosa-2); border: 2px solid #000; border-radius: 40px; box-shadow: 4px 4px 0 #000;
}
.picker img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #000; object-fit: cover; filter: grayscale(0.7) brightness(0.8); }
.picker button:hover { color: var(--hueso); }
.picker button[aria-selected="true"] { color: var(--papel); background: var(--fosa-3); box-shadow: 4px 4px 0 #000, inset 0 0 0 2px var(--brasa); }
.picker button[aria-selected="true"] img { filter: none; box-shadow: 0 0 0 2px var(--brasa); }

.hero-card { border: 3px solid #000; box-shadow: 8px 8px 0 #000; background: var(--fosa-2); max-width: 1280px; margin-inline: auto; }
.hero-banner { position: relative; height: clamp(220px, 32vw, 420px); overflow: hidden; background: #000; border-bottom: 3px solid #000; }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: opacity 0.18s; }
.hero-banner img.fading { opacity: 0.2; }
.hero-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,20,22,0.92) 0%, rgba(14,20,22,0.2) 55%, rgba(14,20,22,0) 100%); }
.who { position: absolute; left: clamp(18px, 4vw, 44px); bottom: 22px; z-index: 1; }
.who .class { font-family: var(--sc); font-weight: 700; color: var(--brasa); font-size: 1.1rem; margin: 0; text-shadow: 0 2px 0 #000; }
.who h3 { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 0.9; margin: 0; color: var(--papel); text-shadow: 0 3px 0 #000; }
.hero-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); gap: 24px clamp(24px, 4vw, 56px); padding: 26px clamp(18px, 4vw, 44px) 30px; align-items: start; }
.hero-body .caption { margin-top: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chip { padding: 3px 10px 2px; border: 2px solid #000; background: var(--fosa-3); font-family: var(--sc); font-weight: 700; font-size: 0.98rem; }
.chip.vida { background: #3a1019; color: #ffd7df; }
.chip.energia { background: #0f3431; color: #d2fff8; }
.chip.cordura { background: #2a1b40; color: #ecdcff; }

/* ---------- Reglas destacadas ---------- */
.rule { margin: 0 0 16px; padding: 14px 20px 6px; background: var(--fosa); border: 1px solid var(--linea); border-left: 5px solid var(--espectro); }
.rule > h4 { margin: 0 0 6px; font-family: var(--sc); font-weight: 700; font-size: 1.12rem; color: var(--papel); }
.rule.blood { border-left-color: var(--carmesi); }
.rule.void { border-left-color: var(--vacio); }
.rule.ember { border-left-color: var(--brasa); }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 1280px; margin-inline: auto; }
.rules .rule { margin: 0; background: var(--fosa-2); }
.formula {
  display: block; margin: 6px 0 14px; padding: 12px 16px; text-align: center;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.1; color: var(--brasa);
  background: #0a0f10; border: 2px solid #000; box-shadow: inset 0 0 0 1px var(--linea);
}
.rule.void .formula { color: var(--vacio); }
.rule:not(.ember):not(.void):not(.blood) .formula { color: var(--espectro); }

/* ---------- Biomas ---------- */
.biomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1280px; margin-inline: auto; }
.mode {
  position: relative; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; border: 3px solid #000; box-shadow: 8px 8px 0 #000; overflow: hidden; background: #000;
}
.mode > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mode::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,20,22,0) 15%, rgba(14,20,22,0.88) 52%, rgba(14,20,22,0.98)); }
.mode.frost::before { background: linear-gradient(180deg, rgba(6,15,24,0.1) 10%, rgba(6,15,24,0.9) 48%, rgba(6,15,24,0.98)); }
.mode > * { position: relative; }
.mode h3 { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 0.95; margin: 0 0 10px; color: var(--papel); text-shadow: 0 3px 0 #000; }
.mode p, .mode dd { color: #f3ead6; text-shadow: 0 1px 2px #000; }
.mode dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 4px 0 0; font-size: 1rem; line-height: 1.4; }
.mode dt { font-family: var(--sc); font-weight: 700; color: var(--carmesi); }
.mode.frost dt { color: var(--espectro); }
.mode dd { margin: 0; }

/* ---------- Juego de rol ---------- */
.rpg-sec { padding-top: 0; }
.opener {
  position: relative; margin: 0 calc(-1 * var(--gutter)); height: clamp(260px, 40vw, 520px); background: #000; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 83% 93%, 61% 88%, 38% 97%, 17% 90%, 0 96%);
}
.opener img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.opener::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,20,22,0) 45%, rgba(14,20,22,0.85)); }
.ch-head.over { position: relative; z-index: 2; margin-top: -64px; }
.kicker { font-family: var(--sc); font-weight: 700; font-size: 1.1rem; color: var(--vacio); margin: 0 0 4px; text-shadow: 0 2px 0 #000; }
.rpg-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1280px; margin-inline: auto; }
.mode.small { min-height: 380px; }
.mode a { align-self: flex-start; font-family: var(--sc); font-weight: 700; color: var(--brasa); text-shadow: 0 1px 2px #000; }
.rpg-sub { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; margin: 56px auto 18px; max-width: 1280px; color: var(--papel); }
.chapters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; max-width: 1280px; margin-inline: auto; }
.card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--hueso-2);
  background: #000; border: 3px solid #000; box-shadow: 6px 6px 0 #000; transition: transform 0.12s, box-shadow 0.12s;
}
.card:nth-child(odd) { transform: rotate(-0.8deg); }
.card:nth-child(even) { transform: rotate(0.8deg) translateY(10px); }
.card:hover { transform: translate(-2px, -3px); box-shadow: 8px 9px 0 #000; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card span { flex: 1; padding: 10px 14px 12px; background: var(--fosa-2); border-top: 3px solid #000; font-size: 0.98rem; line-height: 1.4; }
.card strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.05; color: var(--papel); margin-bottom: 3px; }
.card:hover strong { color: var(--brasa); }
.rpg-actions { margin-top: 48px; max-width: 1280px; margin-inline: auto; }
.rpg-note { margin-top: 16px; max-width: 1280px; margin-inline: auto; }

/* ---------- Preguntas ---------- */
.faq { max-width: 68ch; margin-inline: auto; border-top: 1px solid var(--linea); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 0;
  font-weight: 700; font-size: 1.2rem; color: var(--papel); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 14px; height: 14px; transform: rotate(45deg);
  border: 2px solid var(--espectro); background: transparent; transition: background 0.15s;
}
.faq details[open] summary::after { background: var(--espectro); }
.faq details p { color: var(--hueso-2); padding-right: 32px; }

/* ---------- Lanzamiento: próximamente en App Store ---------- */
.launch { position: relative; padding: 110px var(--gutter); display: grid; place-items: center; overflow: hidden; background: #000; border-bottom: 3px solid #000; }
.launch-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.launch::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(14,20,22,0.2), rgba(14,20,22,0.85) 75%); z-index: 1; }
.sheet {
  position: relative; z-index: 2; width: 100%; max-width: 620px; padding: clamp(24px, 4vw, 40px);
  background: var(--hueso); color: #17130e; border: 3px solid #000; box-shadow: 10px 10px 0 #000;
  transform: rotate(-0.6deg);
}
.sheet h2 { font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 0.95; margin: 0 0 12px; color: #17130e; }
.sheet strong { color: #17130e; }
.sheet .kicker { color: #5a1f2b; text-shadow: none; }
.sheet .note { color: #5b5242; margin: 0; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; margin: 10px 0 18px; padding: 10px 22px 10px 18px;
  background: #000; color: #fff; border-radius: 12px; box-shadow: 5px 5px 0 #5a1f2b; cursor: default;
}
.store-badge svg { width: 30px; height: 36px; flex: none; }
.store-badge span { display: flex; flex-direction: column; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; font-weight: 600; font-size: 1.6rem; line-height: 1; letter-spacing: -0.01em; }
.store-badge small { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.01em; margin-bottom: 3px; }

/* ---------- Pie ---------- */
.colophon { padding: 60px var(--gutter) 80px; display: grid; grid-template-columns: 180px minmax(0, 60ch); gap: 30px; align-items: center; color: var(--hueso-2); max-width: 1280px; margin-inline: auto; }
.colophon p { margin-bottom: 0.5em; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .menu {
    position: absolute; top: calc(var(--bar) + 3px); right: 0; width: min(86vw, 320px);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px;
    background: var(--fosa); border: 3px solid #000; border-top: 0; box-shadow: -10px 16px 40px rgba(0,0,0,0.6);
    visibility: hidden; transform: translateY(-8px); opacity: 0; transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  }
  .menu.open { visibility: visible; transform: none; opacity: 1; }
  .menu a:not(.btn) { padding: 10px 0; border-bottom: 1px solid var(--linea); font-size: 1.1rem; }
  .menu .btn { margin: 16px 0 0; text-align: center; }
  .chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .showcase { grid-template-columns: minmax(0, 1fr); }
  /* En móvil: carrusel horizontal, cada captura con su texto */
  .showcase .phone { display: none; }
  .screens {
    flex-direction: row; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 22px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .screens::-webkit-scrollbar { display: none; }
  .swipe-hint { display: block; margin: -14px 0 0; font-family: var(--sc); font-size: 0.95rem; color: var(--hueso-2); }
  .showcase { gap: 12px; }
  .shot, .shot.is-on, .shot.is-on:nth-child(even) {
    flex: 0 0 min(62%, 240px); scroll-snap-align: start; transform: none; cursor: default;
    background: var(--fosa-2); color: var(--hueso-2); font-style: normal; box-shadow: 4px 4px 0 #000; padding: 10px 10px 14px;
  }
  .shot.is-on strong { color: var(--hueso); }
  .shot-img { display: block; width: 100%; height: auto; aspect-ratio: 555 / 1200; object-fit: cover; border-radius: 22px; border: 6px solid #000; margin-bottom: 12px; }
  .shot strong { font-size: 1.25rem; }
  .shot { font-size: 0.95rem; }
  .desktop-only { display: none; }
  .hero-body, .biomes, .rules, .rpg-modes { grid-template-columns: minmax(0, 1fr); }
  .mode { min-height: 480px; }
}
@media (max-width: 600px) {
  :root { --bar: 56px; }
  body { font-size: 1.06rem; }
  .brand span { font-size: 1.35rem; }
  .brand img { width: 30px; height: 30px; }
  .chapter { padding: 64px var(--gutter); }
  .picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .picker button { flex-direction: column; gap: 6px; padding: 8px 4px 10px; border-radius: 12px; font-size: 1.15rem; }
  .picker img { width: 48px; height: 48px; }
  .mode::before, .mode.frost::before { background: linear-gradient(180deg, rgba(8,14,18,0.2) 0, rgba(8,14,18,0.9) 32%, rgba(8,14,18,0.97)); }
  .ch-head.over { margin-top: -40px; }
  .card:nth-child(n) { transform: none; }
  .sheet { transform: none; box-shadow: 6px 6px 0 #000; }
  .colophon { grid-template-columns: minmax(0, 1fr); }
  .colophon img { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1, .torch i::after { animation: none; }
  .btn, .shot, .phone img, .hero-banner img, .menu, .card { transition: none; }
}

/* ---------- Paginas legales (Privacidad / Soporte) ---------- */
.legal-wrap { max-width: 74ch; margin: 0 auto; padding: calc(var(--bar) + 48px) var(--gutter) 90px; }
.legal-wrap .back { display: inline-block; margin-bottom: 28px; font-family: var(--sc); font-weight: 700; font-size: 0.95rem; color: var(--hueso-2); text-decoration: none; }
.legal-wrap .back:hover { color: var(--papel); }
.legal-wrap h1 { font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 0.95; color: var(--papel); margin: 0 0 8px; }
.legal-wrap .updated { color: var(--hueso-2); font-family: var(--sc); font-size: 0.95rem; margin-bottom: 36px; }
.legal-wrap h2 { font-family: var(--display); font-weight: 700; font-size: 1.7rem; color: var(--papel); margin: 42px 0 14px; padding-left: 14px; border-left: 4px solid var(--brasa); }
.legal-wrap h3 { font-family: var(--sc); font-weight: 700; font-size: 1.1rem; color: var(--brasa); margin: 26px 0 8px; }
.legal-wrap ul { padding-left: 22px; margin: 0 0 1em; }
.legal-wrap li { margin-bottom: 6px; }
.legal-wrap .callout { background: var(--fosa-3); border: 2px solid #000; box-shadow: 4px 4px 0 #000; padding: 16px 20px; margin: 20px 0; }
.legal-wrap .callout p:last-child { margin-bottom: 0; }

/* Barra de navegacion simple para paginas legales (sin menu movil ni JS) */
.legal-nav { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.legal-nav a:not(.btn) { padding: 6px 10px; font-family: var(--sc); font-weight: 700; font-size: 0.95rem; color: var(--hueso-2); text-decoration: none; }
.legal-nav a:not(.btn):hover { color: var(--papel); }
@media (max-width: 480px) { .legal-nav a:not(.btn) { display: none; } }
