/* Beerfolio · web. Paleta y tipografía salen de la app: café, crema y oro; Fredoka para títulos, Inter para texto. */

@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --noche: #140d09;
  --cafe: #2a1a12;
  --cafe-2: #5c3a29;
  --cafe-3: #8a5a3f;
  --crema: #f8f1e5;
  --crema-2: #f0e3cc;
  --papel: #fbf3e1;
  --oro: #e3a12f;
  --oro-claro: #f4c872;
  --oro-oscuro: #b87a16;
  --espuma: #fffbf0;
  --gris: #a8998b;
  --ok: #7fa03a;
  --radio: 28px;
  --ancho: 1180px;
  --titulo: "Fredoka", system-ui, sans-serif;
  --texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--noche);
  color: var(--crema);
  font-family: var(--texto);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--titulo); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--oro-claro); outline-offset: 3px; border-radius: 8px; }
.solo-lector { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.salto { position: absolute; left: 12px; top: -60px; background: var(--oro); color: var(--noche); padding: 10px 16px; border-radius: 12px; z-index: 100; font-weight: 600; text-decoration: none; }
.salto:focus { top: 12px; }

/* ---------- Lienzo 3D fijo, detrás de todo ---------- */
#chapa { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
main, footer { position: relative; z-index: 2; }

/* ---------- Cabecera ---------- */
.cab {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 44px);
  transition: background .35s, backdrop-filter .35s, transform .35s;
}
.cab.opaca { background: rgba(20, 13, 9, .72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.cab.oculta { transform: translateY(-100%); }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--titulo); font-weight: 600; font-size: 22px; letter-spacing: .01em; }
.marca img { width: 34px; height: 34px; border-radius: 10px; }
.cab nav { display: flex; align-items: center; gap: 6px; }
.cab nav a.enlace { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; color: var(--crema-2); opacity: .86; transition: opacity .2s, background .2s; }
.cab nav a.enlace:hover { opacity: 1; background: rgba(255, 247, 230, .09); }
.idioma { margin-left: 6px; display: inline-flex; border: 1px solid rgba(255, 247, 230, .22); border-radius: 999px; padding: 3px; }
.idioma button { background: none; border: 0; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .06em; cursor: pointer; opacity: .65; }
.idioma button[aria-pressed="true"] { background: var(--oro); color: var(--noche); opacity: 1; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-family: var(--titulo); font-weight: 600; font-size: 18px; padding: 16px 30px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .2s cubic-bezier(.2, .9, .3, 1.4), box-shadow .25s, background .25s; will-change: transform; }
.btn.oro { background: linear-gradient(180deg, var(--oro-claro), var(--oro)); color: var(--noche); box-shadow: 0 10px 34px rgba(227, 161, 47, .38), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn.oro:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 44px rgba(227, 161, 47, .5), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn.vidrio { background: rgba(255, 247, 230, .08); color: var(--crema); border: 1px solid rgba(255, 247, 230, .26); backdrop-filter: blur(6px); }
.btn.vidrio:hover { background: rgba(255, 247, 230, .16); transform: translateY(-3px); }
.btn svg { width: 20px; height: 20px; }

/* ---------- Estructura de secciones ---------- */
.sec { position: relative; padding: clamp(90px, 14vw, 180px) clamp(20px, 5vw, 56px); }
.cont { max-width: var(--ancho); margin: 0 auto; }
.etiqueta { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--oro); margin-bottom: 18px; }
.sec h2 { font-size: clamp(38px, 6.4vw, 84px); }
.sec h2 em { font-style: normal; background: linear-gradient(100deg, var(--oro-claro), var(--oro) 55%, #ffd98f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--crema-2); opacity: .86; max-width: 34em; margin-top: 22px; }
.claro { background: var(--crema); color: var(--cafe); }
.claro .lead { color: var(--cafe-2); opacity: 1; }
.claro .etiqueta { color: var(--oro-oscuro); }

/* ---------- HERO ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 120px; padding-bottom: 90px; background:
  radial-gradient(1100px 700px at 78% 40%, rgba(227, 161, 47, .22), transparent 62%),
  radial-gradient(900px 600px at 10% 100%, rgba(92, 58, 41, .55), transparent 65%),
  linear-gradient(180deg, #1c120c, var(--noche)); overflow: hidden; }
.hero .cont { width: 100%; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 20px; align-items: center; }
.hero h1 { font-size: clamp(44px, min(6.6vw, 12.5vh), 100px); }
.hero h1 .linea { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .linea > span { display: inline-block; will-change: transform; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--oro-claro), var(--oro) 50%, #ffd98f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 28px; }
.acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero .nota { margin-top: 26px; font-size: 14px; color: var(--gris); display: flex; align-items: center; gap: 10px; }
.hero .nota i { width: 8px; height: 8px; border-radius: 50%; background: var(--oro); box-shadow: 0 0 0 0 rgba(227, 161, 47, .6); animation: pulso 2.2s infinite; }
@keyframes pulso { 70% { box-shadow: 0 0 0 12px rgba(227, 161, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 161, 47, 0); } }
.baja { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); text-decoration: none; }
.baja span { width: 22px; height: 36px; border: 2px solid var(--gris); border-radius: 12px; position: relative; }
.baja span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--oro); animation: rueda 1.8s infinite; }
@keyframes rueda { 0% { opacity: 1; transform: translateY(0); } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }
#burbujas { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
#burbujas i { position: absolute; bottom: -40px; border-radius: 50%; border: 1px solid rgba(244, 200, 114, .35); background: radial-gradient(circle at 30% 30%, rgba(255, 251, 240, .35), rgba(244, 200, 114, .05) 60%, transparent); animation: sube linear infinite; }
@keyframes sube { to { transform: translateY(-115vh) translateX(var(--dx, 0)); opacity: 0; } }

.hero-chapa { min-height: min(70vh, 640px); }
.sin-webgl .hero-chapa { background: url("../img/icono-app.png") center / contain no-repeat; border-radius: 50%; max-width: 420px; margin: 0 auto; width: 100%; aspect-ratio: 1; min-height: 0; }
@media (max-width: 980px) { .hero-chapa { min-height: 0; height: 0; } }

/* ---------- Cifras ---------- */
.cifras { background: var(--noche); padding: 0 clamp(20px, 5vw, 56px) clamp(60px, 9vw, 110px); }
.cifras .cont { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255, 247, 230, .12); border-radius: var(--radio); overflow: hidden; border: 1px solid rgba(255, 247, 230, .12); }
.cifra { background: linear-gradient(180deg, #1e140e, #170f0a); padding: 34px 22px; text-align: center; }
.cifra b { display: block; font-family: var(--titulo); font-size: clamp(38px, 5.4vw, 66px); font-weight: 600; color: var(--oro-claro); line-height: 1; font-variant-numeric: tabular-nums; }
.cifra span { display: block; margin-top: 10px; font-size: 14px; color: var(--gris); letter-spacing: .04em; }

/* ---------- ESCANEA (sección fijada) ---------- */
.escanea { background: linear-gradient(180deg, var(--noche), #1b110b 40%, #1b110b 60%, var(--noche)); padding: 0; }
.escanea .fija { min-height: 100svh; display: flex; align-items: center; padding: 90px clamp(20px, 5vw, 56px) 50px; }
.escanea .cont { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 90px); align-items: center; }
.pasos { position: relative; min-height: 300px; }
.paso { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(26px); }
.paso:first-child { position: relative; }
.paso .num { font-family: var(--titulo); font-size: 15px; font-weight: 600; color: var(--noche); background: var(--oro); width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.paso h3 { font-size: clamp(34px, 5vw, 60px); }
.paso p { margin-top: 16px; font-size: 19px; color: var(--crema-2); opacity: .85; max-width: 26em; }
.puntos { display: flex; gap: 8px; margin-top: 34px; }
.puntos i { width: 34px; height: 6px; border-radius: 3px; background: rgba(255, 247, 230, .18); transition: background .3s, width .3s; }
.puntos i.on { background: var(--oro); width: 56px; }

/* Móvil dibujado en CSS */
.movil { position: relative; width: min(340px, 78vw, calc((100svh - 170px) * .489)); aspect-ratio: 9 / 18.4; margin: 0 auto; border-radius: 46px; padding: 11px; background: linear-gradient(160deg, #3a2a20, #120b07); box-shadow: 0 50px 100px rgba(0, 0, 0, .6), 0 0 0 1.5px rgba(255, 247, 230, .16) inset, 0 0 120px rgba(227, 161, 47, .14); }
.movil::before { content: ""; position: absolute; left: 50%; top: 20px; translate: -50% 0; width: 94px; height: 26px; background: #0a0604; border-radius: 14px; z-index: 5; }
.pantalla { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #0e0805; isolation: isolate; }
.vista-camara { position: absolute; inset: 0; background:
  radial-gradient(circle at 50% 42%, rgba(244, 200, 114, .16), transparent 55%),
  linear-gradient(180deg, #1a100a, #0b0604); }
.vista-camara .lata { position: absolute; left: 50%; top: 46%; translate: -50% -50%; width: 46%; }
.visor { position: absolute; left: 12%; right: 12%; top: 30%; height: 28%; }
.visor i { position: absolute; width: 26px; height: 26px; border: 4px solid var(--oro-claro); }
.visor i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.visor i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 12px 0 0; }
.visor i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 12px; }
.visor i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 12px 0; }
.laser { position: absolute; left: 14%; right: 14%; top: 0; height: 3px; background: linear-gradient(90deg, transparent, #ff6a3d 20%, #ff6a3d 80%, transparent); box-shadow: 0 0 18px 4px rgba(255, 106, 61, .65); border-radius: 2px; }
.codigo { position: absolute; left: 20%; right: 20%; top: 58%; }
.codigo svg { width: 100%; height: auto; }
.rotulo { position: absolute; left: 0; right: 0; bottom: 8%; text-align: center; font-size: 13px; color: var(--gris); }
.destello { position: absolute; inset: 0; background: radial-gradient(circle at 50% 46%, #fffbf0, rgba(244, 200, 114, .6) 40%, transparent 70%); opacity: 0; z-index: 3; }
.tarjeta-nueva { position: absolute; left: 6%; right: 6%; top: 50%; translate: 0 -50%; z-index: 4; background: var(--papel); color: var(--cafe); border-radius: 30px; padding: 26px 18px 22px; text-align: center; box-shadow: 0 30px 60px rgba(0, 0, 0, .55); opacity: 0; transform: scale(.7); }
.tarjeta-nueva .medalla { margin: -64px auto 12px; }
.tarjeta-nueva .nueva { display: inline-block; background: var(--oro); color: var(--noche); font-family: var(--titulo); font-weight: 700; letter-spacing: .12em; font-size: 12px; padding: 5px 12px; border-radius: 999px; }
.tarjeta-nueva h4 { font-size: 22px; margin-top: 10px; }
.tarjeta-nueva p { font-size: 13px; color: var(--cafe-3); margin-top: 4px; }

.minis { position: absolute; left: 0; right: 0; bottom: 6%; display: flex; justify-content: center; gap: 12px; z-index: 4; }
.minis .medalla { width: 56px; height: 56px; }

/* Medallas (sin logos de marcas: el icono hace de adorno) */
.medalla { position: relative; width: 112px; height: 112px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 32% 28%, #ffe3a1, var(--oro) 55%, var(--oro-oscuro)); box-shadow: 0 10px 26px rgba(120, 70, 8, .4), inset 0 0 0 5px rgba(255, 251, 240, .55), inset 0 -8px 14px rgba(120, 70, 8, .25); }
.medalla svg { width: 56%; height: 56%; color: var(--cafe-2); }
.medalla.gris { background: radial-gradient(circle at 32% 28%, #f0e6d6, #d9ccb8 60%, #c8baa4); box-shadow: inset 0 0 0 5px rgba(255, 251, 240, .6); }
.medalla.gris b { font-family: var(--titulo); font-size: 40px; color: #b9a891; font-weight: 600; }
.tono-a { background: radial-gradient(circle at 32% 28%, #ffd2c2, #e2735a 60%, #b3452e); }
.tono-b { background: radial-gradient(circle at 32% 28%, #d5ecb5, #8fb04a 60%, #5d7b27); }
.tono-c { background: radial-gradient(circle at 32% 28%, #c8e0f4, #5b97c9 60%, #355f8a); }
.tono-d { background: radial-gradient(circle at 32% 28%, #e6d0f2, #a272c4 60%, #6b3f8c); }
.tono-e { background: radial-gradient(circle at 32% 28%, #ffe3a1, #e3a12f 55%, #b87a16); }
.tono-f { background: radial-gradient(circle at 32% 28%, #f5cfd5, #cc6a7c 60%, #8f3a4b); }
.medalla[class*="tono-"] svg { color: var(--espuma); }

/* ---------- ÁLBUM (scroll horizontal) ---------- */
.album { background: linear-gradient(180deg, var(--noche), #22170f 25%, #22170f 75%, var(--noche)); padding: 0; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.album .cabeza { padding: clamp(80px, 9vw, 110px) clamp(20px, 5vw, 56px) 10px; }
.album .cabeza h2 { font-size: clamp(34px, 5vw, 64px); }
.album .pista { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding: 20px clamp(20px, 8vw, 120px) clamp(70px, 10vw, 130px); width: max-content; will-change: transform; }
.hoja { flex: none; width: clamp(280px, min(38vw, 50vh), 470px); background: var(--papel); color: var(--cafe); border-radius: 30px; border: 1.5px solid #e8d8b6; padding: 26px 26px 26px 46px; position: relative; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); transform-style: preserve-3d; transition: box-shadow .3s; }
.hoja::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 24px; background: #f1e4c8; border-radius: 30px 0 0 30px; }
.hoja::after { content: ""; position: absolute; left: 8px; top: 18%; width: 8px; height: 8px; border-radius: 50%; background: #e8d8b6; box-shadow: 0 calc(clamp(290px, 38vw, 470px) * .55) 0 #e8d8b6, 0 calc(clamp(290px, 38vw, 470px) * 1.1) 0 #e8d8b6; }
.hoja header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hoja h3 { font-size: clamp(22px, 2.6vw, 30px); }
.hoja .cuenta { background: var(--cafe-2); color: var(--crema); font-family: var(--titulo); font-weight: 600; font-size: 15px; padding: 6px 14px; border-radius: 999px; }
.rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.rejilla .medalla { width: 100%; height: auto; aspect-ratio: 1; max-width: 104px; margin: 0 auto; }
.hoja.resumen { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.anillo { position: relative; width: 190px; height: 190px; margin: 6px auto 12px; }
.anillo svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anillo circle { fill: none; stroke-width: 17; stroke-linecap: round; }
.anillo .fondo { stroke: #eadfc9; }
.anillo .valor { stroke: var(--oro); stroke-dasharray: 0 999; }
.anillo .centro { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.anillo .centro b { font-family: var(--titulo); font-size: 52px; line-height: 1; }
.anillo .centro span { font-size: 14px; color: var(--cafe-3); }
.desliza { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 14px; color: var(--gris); }
.desliza .barra { flex: 1; max-width: 240px; height: 4px; background: rgba(255, 247, 230, .14); border-radius: 2px; overflow: hidden; }
.desliza .barra i { display: block; height: 100%; width: 0; background: var(--oro); }

/* ---------- MUNDO ---------- */
.mundo { background: radial-gradient(1200px 700px at 50% 55%, #2c1b11, var(--noche) 70%); text-align: center; overflow: hidden; }
.mundo .lead { margin-left: auto; margin-right: auto; }
.mapa { margin: clamp(30px, 5vw, 70px) auto 0; max-width: 1240px; position: relative; }
.mapa svg { width: 100%; height: auto; overflow: visible; }
.mapa .tierra { fill: #3a281d; stroke: #5a4030; stroke-width: .5; }
.mapa .punto { fill: var(--oro-claro); }
.mapa .halo { fill: rgba(244, 200, 114, .28); }
.mapa-cifra { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 34px; font-family: var(--titulo); }
.mapa-cifra b { font-size: clamp(54px, 8vw, 96px); color: var(--oro-claro); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.mapa-cifra span { font-size: 18px; color: var(--crema-2); opacity: .8; }

/* ---------- CLUBES ---------- */
.clubes { background: var(--crema); color: var(--cafe); overflow: hidden; }
.clubes .cont { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.clubes .lead { color: var(--cafe-2); opacity: 1; }
.lista-clubes { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 18px; }
.lista-clubes li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.lista-clubes .ico { width: 52px; height: 52px; border-radius: 18px; background: var(--cafe-2); color: var(--oro-claro); display: flex; align-items: center; justify-content: center; }
.lista-clubes .ico svg { width: 26px; height: 26px; }
.lista-clubes b { font-family: var(--titulo); font-size: 21px; font-weight: 600; display: block; }
.lista-clubes span { font-size: 16px; color: var(--cafe-3); }
.escena-club { position: relative; min-height: 480px; }
.tarj { position: absolute; background: #fff; border-radius: 24px; padding: 16px 18px; box-shadow: 0 24px 60px rgba(92, 58, 41, .22), 0 0 0 1px rgba(92, 58, 41, .06); display: flex; align-items: center; gap: 14px; will-change: transform; }
.tarj .ava { width: 46px; height: 46px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--titulo); font-weight: 600; font-size: 18px; }
.tarj b { font-family: var(--titulo); font-weight: 600; font-size: 17px; display: block; line-height: 1.2; }
.tarj span { font-size: 14px; color: var(--cafe-3); }
.tarj.club { left: 0; top: 4%; width: 78%; background: var(--cafe-2); color: var(--crema); box-shadow: 0 30px 70px rgba(92, 58, 41, .4); }
.tarj.club span { color: var(--oro-claro); }
.tarj.club .ava { background: var(--oro); color: var(--noche); border-radius: 18px; width: 54px; height: 54px; }
.tarj.enlace { right: 0; top: 30%; width: 82%; }
.tarj.enlace code { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 14px; color: var(--cafe-2); background: var(--crema-2); padding: 6px 12px; border-radius: 10px; display: inline-block; margin-top: 4px; }
.tarj.apunte1 { left: 6%; top: 56%; width: 70%; }
.tarj.apunte2 { right: 2%; top: 76%; width: 74%; }
.estrellas { color: var(--oro); letter-spacing: 2px; font-size: 15px; }

/* ---------- NIVELES ---------- */
.niveles { background: linear-gradient(180deg, var(--noche), #1d130d); text-align: center; }
.niveles .lead { margin-left: auto; margin-right: auto; }
.camino { position: relative; max-width: 980px; margin: clamp(60px, 9vw, 110px) auto 0; padding: 0 20px; }
.camino .pista-n { position: relative; height: 16px; border-radius: 8px; background: rgba(255, 247, 230, .12); }
.camino .llena { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--oro-oscuro), var(--oro-claro)); box-shadow: 0 0 24px rgba(244, 200, 114, .5); }
.camino .marcador { position: absolute; top: 50%; left: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #ffe3a1, var(--oro) 55%, var(--oro-oscuro)); box-shadow: 0 0 0 5px rgba(20, 13, 9, .9), 0 8px 24px rgba(0, 0, 0, .5); display: flex; align-items: center; justify-content: center; }
.camino .marcador svg { width: 22px; height: 22px; color: var(--cafe-2); }
.hitos { position: relative; height: 130px; }
.hito { position: absolute; top: 0; translate: -50% 0; text-align: center; width: 160px; opacity: .35; transition: opacity .4s; }
.hito.on { opacity: 1; }
.hito i { display: block; width: 2px; height: 22px; margin: 6px auto 12px; background: rgba(255, 247, 230, .3); }
.hito b { font-family: var(--titulo); font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; display: block; }
.hito span { font-size: 14px; color: var(--gris); }
.hito.on b { color: var(--oro-claro); }
.hito:first-child { translate: 0 0; text-align: left; }
.hito:last-child { translate: -100% 0; text-align: right; }

/* ---------- DIARIO ---------- */
.diario { background: var(--crema); color: var(--cafe); overflow: hidden; }
.diario .cabeza { max-width: 760px; }
.diario .lead { color: var(--cafe-2); opacity: 1; }
.galeria { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 2vw, 26px); margin-top: clamp(40px, 6vw, 80px); }
.foto { margin: 0; position: relative; border-radius: 28px; overflow: hidden; background: var(--cafe-2); box-shadow: 0 26px 60px rgba(92, 58, 41, .25); }
.foto img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.foto figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(20, 13, 9, .66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--crema); border-radius: 18px; padding: 10px 14px; font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.foto figcaption b { font-family: var(--titulo); font-weight: 600; font-size: 16px; }
.foto .estrellas { font-size: 13px; letter-spacing: 1px; }
.f1 { grid-column: 1 / span 7; aspect-ratio: 16 / 11; }
.f2 { grid-column: 8 / span 5; aspect-ratio: 4 / 5; margin-top: 60px; }
.f3 { grid-column: 1 / span 4; aspect-ratio: 4 / 5; }
.f4 { grid-column: 5 / span 8; aspect-ratio: 16 / 10; margin-top: 70px; }
.nota-diario { margin-top: 34px; font-size: 15px; color: var(--cafe-3); max-width: 44em; }

/* ---------- VALORES ---------- */
.valores { background: radial-gradient(900px 600px at 85% 10%, rgba(227, 161, 47, .14), transparent 60%), var(--noche); }
.valores .rejilla-v { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 6vw, 80px); }
.valor { background: linear-gradient(180deg, rgba(255, 247, 230, .08), rgba(255, 247, 230, .03)); border: 1px solid rgba(255, 247, 230, .12); border-radius: 26px; padding: 28px 24px 30px; transition: transform .35s cubic-bezier(.2, .9, .3, 1.3), border-color .3s, background .3s; }
.valor:hover { transform: translateY(-8px); border-color: rgba(244, 200, 114, .5); background: linear-gradient(180deg, rgba(244, 200, 114, .12), rgba(255, 247, 230, .03)); }
.valor .ico { width: 54px; height: 54px; border-radius: 18px; background: rgba(244, 200, 114, .14); color: var(--oro-claro); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.valor .ico svg { width: 28px; height: 28px; }
.valor h3 { font-size: 23px; }
.valor p { margin-top: 10px; font-size: 16px; color: var(--crema-2); opacity: .8; }

/* ---------- PREGUNTAS ---------- */
.preguntas { background: var(--crema); color: var(--cafe); }
.preguntas .cont { max-width: 860px; }
.preguntas h2 { text-align: center; }
.lista-p { margin-top: clamp(34px, 5vw, 60px); border-top: 1px solid rgba(92, 58, 41, .18); }
.lista-p details { border-bottom: 1px solid rgba(92, 58, 41, .18); }
.lista-p summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--titulo); font-weight: 600; font-size: clamp(19px, 2.4vw, 25px); }
.lista-p summary::-webkit-details-marker { display: none; }
.lista-p summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cafe-2); position: relative; transition: transform .35s, background .3s; }
.lista-p summary i::before, .lista-p summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--crema); translate: -50% -50%; border-radius: 1px; }
.lista-p summary i::after { rotate: 90deg; transition: rotate .3s; }
.lista-p details[open] summary i { background: var(--oro); transform: rotate(180deg); }
.lista-p details[open] summary i::after { rotate: 0deg; }
.lista-p details p { padding: 0 52px 26px 0; color: var(--cafe-2); font-size: 17px; }
.lista-p details p a { color: var(--oro-oscuro); font-weight: 600; }

/* ---------- CIERRE ---------- */
.cierre { min-height: 100svh; display: flex; align-items: center; text-align: center; background:
  radial-gradient(900px 600px at 50% 70%, rgba(227, 161, 47, .22), transparent 65%), linear-gradient(180deg, var(--noche), #1c120c); overflow: hidden; }
.cierre .cont { position: relative; z-index: 2; }
.cierre h2 { font-size: clamp(44px, 8vw, 110px); }
.cierre .lead { margin: 26px auto 0; }
.cierre .acciones { justify-content: center; }
.cierre .hueco-chapa { height: clamp(180px, 30vh, 320px); }

/* ---------- Pie ---------- */
footer { background: #0d0805; color: var(--gris); padding: 64px clamp(20px, 5vw, 56px) 40px; font-size: 14px; }
footer .cont { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 36px 24px; }
footer .marca { color: var(--crema); margin-bottom: 14px; }
footer h4 { font-family: var(--texto); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--crema-2); margin-bottom: 14px; font-weight: 700; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a { text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--oro-claro); }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 247, 230, .1); padding-top: 26px; display: grid; gap: 10px; font-size: 13px; line-height: 1.6; }
footer .legal strong { color: var(--crema-2); }

/* ---------- Páginas de texto (legales, soporte) ---------- */
.pagina { background: var(--crema); color: var(--cafe); min-height: 100svh; }
.pagina .cab { background: rgba(20, 13, 9, .94); color: var(--crema); }
.pagina main { padding: 130px clamp(20px, 5vw, 56px) 90px; }
.texto { max-width: 800px; margin: 0 auto; }
.texto h1 { font-size: clamp(38px, 6vw, 64px); margin-bottom: 10px; }
.texto .version { color: var(--cafe-3); font-size: 15px; margin-bottom: 40px; }
.texto h2 { font-size: clamp(22px, 3vw, 30px); margin: 44px 0 12px; }
.texto p { margin-bottom: 14px; color: var(--cafe); font-size: 17px; line-height: 1.75; }
.texto ul { padding-left: 22px; margin: 0 0 14px; }
.texto li { margin-bottom: 8px; line-height: 1.7; }
.texto a { color: var(--oro-oscuro); font-weight: 600; }
.texto .aviso { background: #fff; border: 1px solid rgba(92, 58, 41, .16); border-left: 5px solid var(--oro); border-radius: 16px; padding: 18px 20px; margin: 26px 0; }
.pagina footer { background: #0d0805; }

/* ---------- Adaptación ---------- */
@media (max-width: 980px) {
  .hero .cont { grid-template-columns: 1fr; }
  .hero { align-items: flex-start; padding-top: 38vh; }
  .hero h1 { font-size: clamp(42px, 11.5vw, 78px); }
  .escanea .cont, .clubes .cont { grid-template-columns: 1fr; }
  .pasos { min-height: 230px; }
  .cifras .cont { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .valores .rejilla-v { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer .cont { grid-template-columns: 1fr 1fr; }
  footer .cont > div:first-child { grid-column: 1 / -1; }
  .escena-club { min-height: 440px; margin-top: 20px; }
}
@media (max-width: 980px) {
  .movil { width: min(300px, 70vw, calc((100svh - 330px) * .489)); min-width: 150px; }
  .escanea .fija { align-items: flex-start; padding-top: 74px; }
  .escanea .cont { gap: 18px; }
  .pasos { min-height: 200px; }
  .paso h3 { font-size: clamp(30px, 8vw, 44px); }
  .paso p { font-size: 17px; }
  .puntos { margin-top: 18px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cab nav a.enlace { display: none; }
  .btn { font-size: 17px; padding: 15px 24px; }
  .galeria { grid-template-columns: 1fr 1fr; }
  .f1 { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
  .f2 { grid-column: 1 / span 1; margin-top: 0; aspect-ratio: 3 / 4; }
  .f3 { grid-column: 2 / span 1; margin-top: 40px; aspect-ratio: 3 / 4; }
  .f4 { grid-column: 1 / -1; margin-top: 0; aspect-ratio: 16 / 10; }
  .foto figcaption { font-size: 12px; padding: 8px 10px; left: 8px; right: 8px; bottom: 8px; }
  .foto .estrellas { display: none; }
  .valores .rejilla-v { grid-template-columns: 1fr; }
  .tarj { padding: 13px 15px; }
  .tarj.club { width: 92%; }
  .tarj.enlace { width: 94%; }
  .hito { width: 80px; }
  .hito b { font-size: 14px; }
  .hito span { font-size: 11px; }
  .camino { padding: 0 8px; }
  .lista-p details p { padding-right: 0; }
  footer .cont { grid-template-columns: 1fr; }
}

@media (max-height: 760px) {
  .album .cabeza { padding-top: 78px; padding-bottom: 0; }
  .album .cabeza .lead { display: none; }
  .album .cabeza h2 { font-size: clamp(28px, 4.4vw, 48px); }
  .album .pista { padding-top: 6px; padding-bottom: 48px; }
  .escanea .fija { padding-top: 76px; padding-bottom: 24px; }
}

/* ---------- Sin movimiento ---------- */
.sin-mov .paso { position: relative; opacity: 1; transform: none; margin-bottom: 30px; }
.sin-mov .pasos { min-height: 0; }
.sin-mov .escanea .fija { min-height: 0; }
.sin-mov .album .pista { width: auto; flex-wrap: wrap; justify-content: center; }
.sin-mov .hero h1 .linea > span { transform: none !important; }
.sin-mov #burbujas { display: none; }
.sin-mov .tarjeta-nueva { opacity: 1; transform: none; }
.sin-mov .tarj { position: relative; inset: auto !important; width: 100% !important; margin-bottom: 14px; }
.sin-mov .escena-club { min-height: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
