/* ==========================================================================
   Palmi landing
   Direccion: album ilustrado calido, mobile-first, una sola pieza interactiva.
   Sistema de forma: interactivo = pildora (999px), contenedores = 20px.
   Lock de color: naranja de marca = unico acento interactivo.
                  teal profundo = superficie de banda, nunca acento.
   ========================================================================== */

/* ---------- fuentes autoalojadas ----------
   Se sirven desde el propio dominio, sin peticion a Google Fonts: coherente
   con la promesa de la app y una peticion externa menos en el critical path.
   Origen: @fontsource (v5), subconjunto latin. */
@font-face {
  font-family: "Londrina Solid";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/londrina-solid-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fredoka-latin-600-normal.woff2") format("woff2");
}

/* ---------- tokens ---------- */
:root {
  color-scheme: light dark;

  --bg: #fdf4e6;
  --bg-warm: #f9e7cd;
  --surface: #fffbf3;
  --text: #1a1a1a;
  --text-soft: #5b4638;
  --line: rgba(26, 26, 26, 0.14);
  --accent: #e8734a;
  --accent-press: #d4603a;
  --on-accent: #1a1a1a;
  --band: #1c4e60;
  --band-2: #16404f;
  --band-text: #fdf4e6;
  --band-soft: rgba(253, 244, 230, 0.74);
  --band-line: rgba(253, 244, 230, 0.18);
  --sun: #f7c500;
  --mint: #5fa8a0;
  --sky: #5fbbd1;

  --r: 20px;
  --r-sm: 12px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(88, 44, 20, 0.07), 0 10px 24px -16px rgba(88, 44, 20, 0.34);
  --shadow-2: 0 2px 6px rgba(88, 44, 20, 0.08), 0 28px 56px -28px rgba(88, 44, 20, 0.46);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);

  --pad: 20px;
  --maxw: 1180px;

  --font-display: "Londrina Solid", "Arial Rounded MT Bold", "SF Pro Rounded",
    ui-rounded, system-ui, sans-serif;
  --font-brand: "Fredoka", "SF Pro Rounded", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-body: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (min-width: 760px) {
  :root { --pad: 32px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #123240;
    --bg-warm: #16404f;
    --surface: #17404f;
    --text: #fdf4e6;
    --text-soft: #b7cdd5;
    --line: rgba(253, 244, 230, 0.16);
    --band: #0d252f;
    --band-2: #0a1e26;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 24px -16px rgba(0, 0, 0, 0.6);
    --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.32), 0 28px 56px -28px rgba(0, 0, 0, 0.7);
  }
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Londrina Solid es condensada y solo trae 400 y 900: nada de -0.02em de
   tracking, cuerpos algo mayores y una interlinea mas cerrada. */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

/* Los titulos dentro de cajas, preguntas y apartados legales son texto,
   no nombres de seccion: van en la tipografia de cuerpo. */
h3 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.25;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 16px;
  border-radius: var(--r-pill);
  z-index: 90;
}
.skip:focus { left: 12px; }

/* ---------- App Store badge (asset oficial de Apple, sin recolorear) ----------
   Altura minima 40px y espacio libre >= 10% de la altura, segun las
   Apple Marketing Resources guidelines. El SVG no se modifica ni se enmarca. */
.badge {
  display: inline-block;
  padding: 6px;
  margin: -6px;
  border-radius: var(--r-sm);
  transition: transform 160ms var(--ease-out), opacity 160ms var(--ease-out);
}
.badge img {
  height: 48px;
  width: auto;
}
.badge .badge--wht { display: none; }
.badge:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .badge:hover { opacity: 0.86; }
}

@media (prefers-color-scheme: dark) {
  .badge .badge--blk { display: none; }
  .badge .badge--wht { display: block; }
}

/* las bandas son superficie oscura en los dos modos: siempre variante blanca */
.band .badge--blk,
.close .badge--blk { display: none; }
.band .badge--wht,
.close .badge--wht { display: block; }

/* ---------- botones ---------- */
.btn-quiet {
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), border-color 160ms ease,
    color 160ms ease, background-color 160ms ease;
}
.btn-quiet:active { transform: scale(0.97); }
.btn-quiet[disabled] {
  opacity: 0.42;
  cursor: not-allowed;
}
@media (hover: hover) and (pointer: fine) {
  .btn-quiet:not([disabled]):hover {
    color: var(--text);
    border-color: var(--text);
  }
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  display: flex;
  align-items: center;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav[data-stuck="true"] { border-bottom-color: var(--line); }

.nav .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.brand img { width: 26px; height: auto; }

.nav__links {
  display: none;
  gap: 20px;
  font-size: 15.5px;
  font-weight: 450;
  white-space: nowrap;
}
.nav__links a {
  text-decoration: none;
  color: var(--text-soft);
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--text); border-bottom-color: var(--accent); }
}
.nav__badge { display: none; }
.nav__badge img { height: 40px; }

@media (min-width: 900px) {
  .nav__links { display: flex; }
}
@media (min-width: 1100px) {
  .nav__links { gap: 26px; font-size: 16px; }
  .nav__badge { display: inline-block; }
}

/* ---------- hero ---------- */
.hero {
  padding-top: 28px;
  padding-bottom: 12px;
  position: relative;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -64px 0 30% 0;
  background: radial-gradient(120% 80% at 70% 0%, var(--bg-warm), transparent 62%);
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2.6rem, 10.4vw, 3.5rem);
  max-width: 15ch;
}
.hero .lede {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-soft);
  max-width: 34ch;
}
.hero__cta { margin-top: 26px; }

.hero__art {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}
.intro {
  width: min(248px, 74vw);
  aspect-ratio: 1 / 1;
  border-radius: var(--r);
  overflow: hidden;
  background: #f8e0b7;
  box-shadow: var(--shadow-2);
}
.intro__media,
.intro img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 760px) {
  .hero {
    padding-top: 40px;
    padding-bottom: 24px;
  }
  .hero .wrap {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 32px;
  }
  .hero h1 { font-size: clamp(3.5rem, 6.4vw, 4.9rem); }
  .hero .lede { font-size: 19px; }
  .hero__art { margin-top: 0; }
  .intro { width: min(320px, 100%); }
}

@media (min-width: 1040px) {
  .hero { padding-top: 56px; }
  .intro { width: 372px; }
}

/* animacion de entrada: jerarquia, una sola vez, solo con JS activo */
.js .hero h1,
.js .hero .lede,
.js .hero__cta,
.js .hero__art {
  opacity: 0;
  animation: rise 620ms var(--ease-soft) forwards;
}
.js .hero h1 { animation-delay: 40ms; }
.js .hero .lede { animation-delay: 110ms; }
.js .hero__cta { animation-delay: 175ms; }
.js .hero__art { animation-delay: 120ms; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero h1,
  .js .hero .lede,
  .js .hero__cta,
  .js .hero__art {
    opacity: 1;
    animation: none;
  }
}

/* ---------- seccion interactiva ---------- */
.play {
  padding-block: 56px 20px;
}
.play__head { max-width: 30ch; }
.play h2 { font-size: clamp(2.2rem, 8vw, 3rem); }
.play__head p {
  margin-top: 12px;
  color: var(--text-soft);
  max-width: 44ch;
}

.stage {
  margin-top: 26px;
  display: grid;
  gap: 20px;
}

.canvas-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-warm);
  box-shadow: var(--shadow-2);
  isolation: isolate;
}

.scene-color,
.scene-mask,
.scene-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.scene-color { object-fit: cover; }
.scene-mask {
  touch-action: none;
  cursor: crosshair;
  transition: opacity 620ms var(--ease-soft);
}
.canvas-wrap[data-done="true"] .scene-mask { opacity: 0; }
.scene-fx { pointer-events: none; }

/* estado de carga: esqueleto con la forma final, sin spinner generico */
.canvas-wrap[data-state="loading"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--bg-warm) 30%, var(--surface) 50%, var(--bg-warm) 70%);
  background-size: 260% 100%;
  animation: sweep 1.1s linear infinite;
}
@keyframes sweep {
  to { background-position: -160% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .canvas-wrap[data-state="loading"]::after { animation: none; }
}

.canvas-error {
  position: absolute;
  inset: 0;
  display: none;
  place-content: center;
  text-align: center;
  padding: 24px;
  color: var(--text-soft);
  background: var(--bg-warm);
}
.canvas-wrap[data-state="error"] .canvas-error { display: grid; }

.cheer {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 0) scale(0.96);
  opacity: 0;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  padding: 7px 20px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-1);
  pointer-events: none;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.canvas-wrap[data-done="true"] .cheer {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.hint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(26, 26, 26, 0.78);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  pointer-events: none;
  transition: opacity 220ms var(--ease-out);
}
.canvas-wrap[data-touched="true"] .hint { opacity: 0; }

/* controles */
.worlds {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  scroll-snap-type: x proximity;
}
.worlds::-webkit-scrollbar { height: 6px; }
.worlds::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}

.world {
  flex: 0 0 auto;
  scroll-snap-align: start;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-soft);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 180ms ease,
    color 180ms ease, border-color 180ms ease;
}
.world:active { transform: scale(0.97); }
.world[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}
@media (hover: hover) and (pointer: fine) {
  .world[aria-pressed="false"]:hover {
    color: var(--text);
    border-color: var(--text);
  }
}

.stage__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  justify-content: space-between;
}
.progress {
  font-size: 15px;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}
.progress b {
  color: var(--text);
  font-weight: 600;
}
.stage__actions {
  display: flex;
  gap: 8px;
}

@media (min-width: 900px) {
  .play { padding-block: 88px 32px; }
  .stage {
    grid-template-columns: 560px 1fr;
    align-items: start;
    gap: 40px;
  }
  .stage__side {
    display: grid;
    gap: 18px;
    padding-top: 6px;
  }
  .worlds {
    flex-wrap: wrap;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .stage__bar { justify-content: flex-start; gap: 18px; }
}

/* ---------- banda oscura (bloque de color intencionado, una vez) ---------- */
.band {
  background: var(--band);
  color: var(--band-text);
  padding-block: 60px;
  margin-top: 48px;
}
.band h2 {
  font-size: clamp(2.2rem, 8vw, 3rem);
  max-width: 18ch;
}

.tiles {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.tile {
  border-radius: var(--r);
  padding: 22px;
  background: rgba(253, 244, 230, 0.07);
  border: 1px solid var(--band-line);
}
.tile h3 { font-size: 20px; }
.tile p {
  margin-top: 8px;
  font-size: 16px;
  color: var(--band-soft);
  max-width: 40ch;
}
.tile__icon {
  width: 30px;
  height: 30px;
  color: var(--accent);
  margin-bottom: 14px;
}

.js .tile {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 520ms var(--ease-soft), transform 520ms var(--ease-soft);
}
.js .tiles[data-visible="true"] .tile {
  opacity: 1;
  transform: none;
}
.js .tiles[data-visible="true"] .tile:nth-child(2) { transition-delay: 60ms; }
.js .tiles[data-visible="true"] .tile:nth-child(3) { transition-delay: 120ms; }
.js .tiles[data-visible="true"] .tile:nth-child(4) { transition-delay: 180ms; }

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

@media (min-width: 760px) {
  .band { padding-block: 96px; margin-top: 72px; }
  .tiles {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .tile { padding: 28px; }
  .tile__icon { width: 34px; height: 34px; }
  .tile h3 { font-size: 21px; }
}

/* ---------- afirmaciones ---------- */
.claims { padding-block: 60px; }
.claims h2 {
  font-size: clamp(2.2rem, 8vw, 3rem);
  max-width: 16ch;
}
/* misma caja que la banda de confianza, sobre superficie clara */
.claims .tiles { margin-top: 24px; }
.claims .tile {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-1);
}
.claims .tile p { color: var(--text-soft); }

@media (min-width: 760px) {
  .claims { padding-block: 96px; }
}
@media (min-width: 900px) {
  .tiles--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- precio ---------- */
.price { padding-bottom: 60px; }
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 24px;
  box-shadow: var(--shadow-1);
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
}
.panel h2 {
  font-size: clamp(1.9rem, 7vw, 2.4rem);
}
.panel p {
  margin-top: 14px;
  color: var(--text-soft);
  max-width: 44ch;
  margin-inline: auto;
}
.panel .badge { margin-top: 24px; }

@media (min-width: 760px) {
  .price { padding-bottom: 96px; }
  .panel { padding: 44px 40px; }
}

/* ---------- preguntas ---------- */
.faq { padding-bottom: 64px; }
.faq h2 {
  font-size: clamp(2.2rem, 8vw, 3rem);
  margin-bottom: 20px;
}
.faq__list {
  max-width: 780px;
  border-top: 1px solid var(--line);
}
.qa { border-bottom: 1px solid var(--line); }
.qa__btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: 0;
  padding: 18px 2px;
  cursor: pointer;
}
.qa__sign {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  position: relative;
  border-radius: 999px;
  background: var(--accent);
  transition: transform 240ms var(--ease-out);
}
.qa__sign::before,
.qa__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--on-accent);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: opacity 200ms var(--ease-out);
}
.qa__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa__btn[aria-expanded="true"] .qa__sign { transform: rotate(180deg); }
.qa__btn[aria-expanded="true"] .qa__sign::after { opacity: 0; }

.qa__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms var(--ease-out);
}
.qa__btn[aria-expanded="true"] + .qa__panel { grid-template-rows: 1fr; }
.qa__inner {
  overflow: hidden;
  color: var(--text-soft);
}
.qa__inner p {
  padding: 0 2px 20px;
  max-width: 58ch;
}

@media (prefers-reduced-motion: reduce) {
  .qa__panel { transition: none; }
  .qa__sign { transition: none; }
}

/* ---------- soporte ---------- */
.support {
  padding-block: 8px 56px;
}
.support h2 { font-size: clamp(2.2rem, 8vw, 3rem); }
.support__grid p {
  margin-top: 10px;
  color: var(--text-soft);
  max-width: 40ch;
}
.support__contact { margin-top: 22px; }

.mailto {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 4.6vw, 1.3rem);
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
  transition: transform 160ms var(--ease-out), color 160ms ease;
  word-break: break-word;
}
.mailto:active { transform: scale(0.98); }
.mailto__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--accent);
}
@media (hover: hover) and (pointer: fine) {
  .mailto:hover { color: var(--accent); }
}
.support__note {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-soft);
}

@media (min-width: 760px) {
  .support { padding-block: 16px 88px; }
  .support__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .support__contact { margin-top: 0; }
}

/* ---------- politica de privacidad (modo lectura) ---------- */
.privacy {
  padding-block: 44px 64px;
  border-top: 1px solid var(--line);
}
.privacy h2 { font-size: clamp(1.9rem, 7vw, 2.4rem); }
.privacy__date {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}
.privacy__body {
  margin-top: 24px;
  max-width: 68ch;
}
.privacy__body p {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
}
.privacy__intro {
  font-size: 17px;
  margin-top: 0;
}
.privacy__body h3 {
  margin-top: 30px;
  font-size: 19px;
  color: var(--text);
}
.privacy__body a {
  color: var(--text);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.note {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: var(--r);
  background: var(--bg-warm);
}
.note h3 { margin-top: 0; }
.note p { color: var(--text); }

.marks {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.marks li {
  position: relative;
  padding-left: 26px;
  color: var(--text-soft);
  font-size: 16px;
}
.marks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

@media (min-width: 900px) {
  .privacy { padding-block: 64px 96px; }
  .privacy__grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
  }
  .privacy__head {
    position: sticky;
    top: 88px;
  }
  .privacy__body { margin-top: 0; }
  .marks { grid-template-columns: 1fr 1fr; gap: 10px 28px; }
}

/* ---------- cierre y pie ---------- */
.close {
  background: var(--band);
  color: var(--band-text);
  padding-block: 60px 32px;
  text-align: center;
}
.close h2 {
  font-size: clamp(2.3rem, 8.4vw, 3.2rem);
  max-width: 16ch;
  margin-inline: auto;
}
.close p {
  margin-top: 12px;
  color: var(--band-soft);
}
.close .badge { margin-top: 26px; }

.foot {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--band-line);
  display: grid;
  gap: 14px;
  text-align: left;
  font-size: 14px;
  color: var(--band-soft);
}
.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.foot a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .foot a:hover { color: var(--band-text); border-bottom-color: var(--band-line); }
}
.foot__legal { font-size: 12.5px; max-width: 70ch; opacity: 0.82; }

@media (min-width: 760px) {
  .close { padding-block: 96px 36px; }
  .foot {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .foot__legal { grid-column: 1 / -1; }
}

/* ---------- barra fija movil ---------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  transition: transform 280ms var(--ease-out);
}
.dock[data-show="true"] { transform: translateY(0); }
.dock .badge img { height: 44px; }

@media (min-width: 900px) {
  .dock { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dock { transition: opacity 200ms ease; transform: none; opacity: 0; visibility: hidden; }
  .dock[data-show="true"] { opacity: 1; visibility: visible; }
}
