/* Prototipo I · referencias del usuario: UI de café azul con formas fluidas + tarjetas espresso de vidrio.
   Design system (ui-ux-pro-max): Liquid Glass, aproximación web con backdrop-filter (no es el material oficial de Apple).
   Tema oscuro fijo; un solo acento (tan). Formas: superficies 24px, imágenes 16px, interactivos en píldora o círculo. */
:root {
  --bg: #0b1822; --bg-2: #0e1f2c; --flow: #12384a; --flow-2: #0f2c3b;
  --text: #edf1f2; --muted: #a2b3bc; --line: rgb(255 255 255 / .1);
  --accent: #d4a373; --accent-hover: #e3ba8f; --on-accent: #1b130b; --spark: #6cc9cf;
  --glass: rgb(255 255 255 / .055); --glass-line: rgb(255 255 255 / .13);
  --r: 24px; --r-img: 16px; --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Outfit", system-ui, sans-serif; --body: "DM Sans", system-ui, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 30; background: var(--accent); color: var(--on-accent); padding: 8px 12px; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; }
h1 em, h2 em { font-style: normal; font-weight: 500; color: var(--accent); }
.sub { color: var(--muted); max-width: 52ch; margin: 14px 0 0; }
.eyebrow { font: 700 12px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }

/* Vidrio (aproximación web): relleno translúcido, borde interior y brillo superior */
.glass { background: linear-gradient(160deg, rgb(255 255 255 / .09), rgb(255 255 255 / .02)), var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 30px 60px -30px rgb(0 8 14 / .7); }
@media (prefers-reduced-transparency: reduce) { .glass { background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 28px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 700 15px var(--body); text-decoration: none; white-space: nowrap; transition: background .25s, transform .25s var(--ease); }
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.98); }
.btn.outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px rgb(212 163 115 / .6); }
.btn.outline:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.btn.sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.ring { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgb(212 163 115 / .55); color: var(--accent); font-size: 26px; transition: background .25s, box-shadow .25s, transform .25s var(--ease); }
.ring.sm { width: 44px; height: 44px; font-size: 20px; }
.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgb(11 24 34 / .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 400 20px var(--display); letter-spacing: .2em; text-transform: uppercase; }
.brand img { width: 44px; }
.links { display: none; gap: 30px; font-size: 15px; }
.links a { text-decoration: none; color: var(--muted); } .links a:hover { color: var(--text); }
.nav .btn { display: none; }

/* Formas fluidas (CSS, sin ilustraciones dibujadas a mano) */
.flow { position: absolute; pointer-events: none; z-index: 0; border-radius: 58% 42% 55% 45% / 46% 58% 42% 54%; background: radial-gradient(120% 90% at 30% 20%, var(--flow), var(--flow-2) 70%); }
.flow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .55;
  background-image: radial-gradient(circle, var(--spark) 1.2px, transparent 1.8px), radial-gradient(circle, rgb(108 201 207 / .5) 1px, transparent 1.6px);
  background-size: 110px 90px, 70px 130px; background-position: 20px 30px, 50px 80px; mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent); }

/* Hero */
.hero { position: relative; overflow-x: clip; padding: 32px 0 72px; }
.f1 { width: 900px; height: 760px; right: -260px; top: -180px; mask-image: linear-gradient(180deg, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); }
.f2 { width: 560px; height: 460px; left: -240px; bottom: -150px; opacity: .7; mask-image: linear-gradient(180deg, #000 45%, transparent 92%); -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 92%); }
.beans { position: absolute; width: 320px; left: -170px; bottom: -90px; z-index: 1; mask-image: linear-gradient(180deg, #000 55%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); filter: drop-shadow(0 20px 30px rgb(0 0 0 / .5)); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 1.02; margin-bottom: 20px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 38ch; margin: 0 0 28px; }
.pick-label { font-weight: 700; font-size: 14px; margin: 0 0 12px; }
.picks { display: flex; gap: 20px; margin-bottom: 32px; }
.pick { display: grid; justify-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); min-width: 64px; }
.pick:hover .ring, .pick[aria-pressed="true"] .ring { background: rgb(212 163 115 / .12); box-shadow: inset 0 0 0 1.5px var(--accent); transform: translateY(-2px); }
.pick[aria-pressed="true"] { color: var(--text); }
.pick-next { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: -12px 0 28px; padding: 10px 12px 10px 10px; max-width: 520px; border-radius: 999px; background: rgb(212 163 115 / .1); box-shadow: inset 0 0 0 1px rgb(212 163 115 / .35); }
.pick-next[hidden] { display: none; }
.pick-next img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-view-box: inset(24%); flex: none; }
.pick-next p { margin: 0; flex: 1 1 180px; font-size: 14px; line-height: 1.4; }
.pick-next.pop { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.cup { margin: 0; justify-self: center; width: min(520px, 88vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .8); }
.cup img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.42); transition: opacity .22s ease, transform .6s var(--ease); }
.cup img { transition: opacity .26s ease, transform .7s var(--ease), filter .26s; }
.cup img.swap { opacity: 0; transform: scale(1.25) rotate(-24deg); filter: blur(6px); }

/* Métodos: fila deslizable de tarjetas de vidrio */
.methods { position: relative; z-index: 2; padding: 72px 0 40px; }
.m-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.m-nav { display: none; gap: 12px; }
.m-nav .ring:hover { background: rgb(212 163 115 / .12); }
.m-track { list-style: none; margin: 0; padding: 8px max(16px, calc((100vw - 1240px) / 2)) 24px; display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 300px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, calc((100vw - 1240px) / 2)); scrollbar-width: none; }
.m-track::-webkit-scrollbar { display: none; }
.m-track li { scroll-snap-align: start; }
.m-item { display: grid; gap: 8px; width: 100%; height: 100%; padding: 12px 12px 22px; align-content: start; transition: transform .35s var(--ease), border-color .35s; }
.m-item:hover { transform: translateY(-4px); border-color: rgb(212 163 115 / .4); }
.m-img { display: block; border-radius: var(--r-img); overflow: hidden; margin-bottom: 8px; }
.m-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.m-top { display: flex; align-items: center; justify-content: space-between; padding-inline: 8px; }
.m-num { font: 300 30px var(--display); color: var(--accent); }
.m-item h3 { font-size: 24px; font-weight: 400; padding-inline: 8px; }
.m-item p { margin: 0; padding-inline: 8px; font-size: 15px; color: var(--muted); }
.m-go { display: inline-flex; align-items: center; gap: 6px; padding-inline: 8px; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--accent); }

/* Origen: tarjetas superpuestas en diagonal */
.origin { display: grid; gap: 48px; align-items: center; padding: 88px 0; }
.stack { position: relative; min-height: 360px; }
.card-back { position: absolute; width: 56%; aspect-ratio: 1; left: 0; top: 0; transform: rotate(-7deg); overflow: hidden; background-color: rgb(58 40 28 / .55); }
.card-back img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: lighten; opacity: .9; }
.card-front { position: relative; width: 66%; margin: 190px 0 0 auto; padding: 12px; transform: rotate(4deg); }
.card-front img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r-img); }
.origin-copy h2 { margin-bottom: 16px; }
.origin-copy p { color: var(--muted); max-width: 52ch; margin: 0 0 14px; }

/* Variedades */
.varieties { padding: 72px 0; background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.v-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.seg button { min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); }
.seg [aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
.filter-note { margin: -16px 0 20px; color: var(--muted); } .filter-note strong { color: var(--text); }
.v-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.o-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: linear-gradient(180deg, #070d12 0, #070d12 42%, #102332 100%); box-shadow: inset 0 0 0 1px var(--glass-line), 0 30px 50px -34px rgb(0 0 0 / .9); isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s; animation: rise .55s var(--ease) both; animation-delay: var(--d); }
.o-card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(80% 50% at 50% 0%, rgb(212 163 115 / .16), transparent 70%); opacity: 0; transition: opacity .45s; }
.o-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgb(212 163 115 / .55), 0 40px 60px -30px rgb(0 0 0 / .95); }
.o-card:hover::after { opacity: 1; }
.o-img { position: relative; display: block; overflow: hidden; }
.o-img img { width: 100%; aspect-ratio: 1; object-fit: cover; transform: scale(1.12); transition: transform .8s var(--ease); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
.o-card:hover .o-img img { transform: scale(1.2); }
.o-body { position: relative; display: grid; gap: 6px; padding: 0 16px 18px; margin-top: -28px; }
.o-kind { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.o-kind i { font-size: 18px; color: var(--accent); }
.o-card strong { font: 400 clamp(19px, 2vw, 23px)/1.15 var(--display); letter-spacing: -.01em; }
.o-card em { font-style: normal; font-weight: 500; font-size: 14px; color: var(--accent); }
.o-desc { display: none; color: var(--muted); font-size: 15px; line-height: 1.5; }
.o-notes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.o-notes span { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; color: var(--text); background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.o-stats { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.o-stats span { display: inline-flex; align-items: center; gap: 6px; }
.o-stats i { font-size: 17px; color: var(--accent); }
.o-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--accent); opacity: .75; transition: opacity .3s, gap .3s var(--ease); }
.o-card:hover .o-go { opacity: 1; gap: 10px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* Test */
.quiz { position: relative; overflow-x: clip; padding: 96px 0; }
.f3 { width: 820px; height: 640px; left: -300px; top: 40px; opacity: .8; mask-image: linear-gradient(180deg, transparent, #000 22%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 70%, transparent); }
.q-wrap { position: relative; z-index: 1; display: grid; gap: 32px; }
.q-head h2 { font-size: clamp(38px, 5vw, 64px); }
/* Perfil que se arma a la izquierda */
.q-profile { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 8px; max-width: 420px; }
.q-profile button { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; width: 100%; padding: 8px 14px 8px 8px; border-radius: 999px; transition: background .25s, box-shadow .25s; }
.q-profile button:not([disabled]):hover { background: rgb(255 255 255 / .05); }
.q-profile button[disabled] { cursor: default; }
.qp-thumb { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; box-shadow: inset 0 0 0 1px var(--glass-line); font: 300 16px var(--display); color: var(--muted); }
.qp-thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.qp-thumb i { font-size: 22px; color: var(--accent); }
.qp-txt { display: grid; line-height: 1.25; }
.qp-txt small { font-size: 12px; color: var(--muted); }
.qp-txt strong { font: 400 17px var(--display); color: var(--muted); }
.qp-edit { color: var(--muted); font-size: 16px; opacity: 0; transition: opacity .25s; }
.q-profile button:hover .qp-edit { opacity: 1; }
.q-profile .done .qp-txt strong { color: var(--text); }
.q-profile .done .qp-thumb { box-shadow: inset 0 0 0 1.5px var(--accent); }
.q-profile .now button { background: rgb(212 163 115 / .1); box-shadow: inset 0 0 0 1px rgb(212 163 115 / .4); }
.q-profile .now .qp-thumb { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.q-profile .now .qp-txt strong { color: var(--accent); }

.q-card { padding: 24px 18px; }
.q-card.enter > * { animation: qin .45s var(--ease) both; }
@keyframes qin { from { opacity: 0; transform: translateX(14px); } }
.q-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.q-step { color: var(--muted); font-weight: 500; font-size: 14px; margin: 0; }
.q-bar { height: 3px; border-radius: 3px; background: rgb(255 255 255 / .08); overflow: hidden; margin: 6px 0 22px; }
.q-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width .5s var(--ease); }
.q-card h3 { font-size: clamp(26px, 3.2vw, 38px); margin: 0 0 22px; }

/* Mosaicos de respuesta */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile { display: grid; align-content: start; gap: 4px; padding: 8px 8px 14px; border-radius: 20px; text-align: left; background: rgb(255 255 255 / .03); box-shadow: inset 0 0 0 1px var(--glass-line); transition: transform .3s var(--ease), box-shadow .3s, background .3s; animation: rise .45s var(--ease) both; animation-delay: var(--d); }
.tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px rgb(212 163 115 / .7); background: rgb(212 163 115 / .06); }
.tile:active { transform: scale(.98); }
.tile.sel { box-shadow: inset 0 0 0 2px var(--accent); background: rgb(212 163 115 / .12); }
.t-media { display: grid; place-items: center; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: #070d12; margin-bottom: 8px; }
.t-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .t-media img { transform: scale(1.06); }
.t-media:has(> i) { background: radial-gradient(80% 90% at 50% 20%, rgb(212 163 115 / .22), rgb(212 163 115 / .04) 70%), #0c1822; }
.t-media i { font-size: 52px; color: var(--accent); transition: transform .5s var(--ease); }
.tile:hover .t-media i { transform: scale(1.1) rotate(-6deg); }
.tile strong { padding-inline: 6px; font: 400 18px/1.2 var(--display); }
.tile small { padding-inline: 6px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.tiles.n5 .tile:last-child { grid-column: span 2; }
.tiles.n5 .tile:last-child .t-media { aspect-ratio: 8/3; }

/* Resultado */
.recs { display: grid; gap: 12px; margin-bottom: 24px; }
.rec { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 16px; padding: 8px 18px 8px 8px; border-radius: 20px; text-align: left; box-shadow: inset 0 0 0 1px var(--glass-line); background: rgb(255 255 255 / .03); animation: rise .5s var(--ease) both; animation-delay: var(--d); transition: box-shadow .3s, transform .3s var(--ease); }
.rec:hover { box-shadow: inset 0 0 0 1.5px var(--accent); transform: translateY(-2px); }
.rec-img { display: block; width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: #070d12; }
.rec-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.rec-body { display: grid; gap: 2px; }
.rec-body b { font-size: 13px; font-weight: 700; color: var(--accent); }
.rec-body strong { font: 400 20px/1.2 var(--display); }
.rec-body small { color: var(--muted); font-size: 14px; }

/* Formularios: etiqueta arriba, error abajo */
.wl { display: grid; gap: 8px; max-width: 520px; }
.wl label { font-weight: 700; font-size: 14px; }
.wl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.wl input { flex: 1 1 220px; min-width: 0; min-height: 50px; padding: 0 20px; border-radius: 999px; border: 1.5px solid rgb(255 255 255 / .28); background: rgb(5 12 18 / .5); color: var(--text); font: inherit; }
.wl input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(212 163 115 / .25); }
.wl-ok { margin: 0; padding: 14px 18px; border-radius: var(--r-img); background: rgb(212 163 115 / .12); }
.wl-err { color: #ffb4a8 !important; }

/* Lecturas: destacada + lista */
.reads { padding: 88px 0; }
.reads h2 { margin-bottom: 32px; }
.r-grid { display: grid; gap: 28px; }
.r-lead { text-decoration: none; display: grid; gap: 8px; }
.r-lead img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r); margin-bottom: 8px; }
.r-lead h3 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; font-weight: 400; }
.r-lead p { color: var(--muted); margin: 0; max-width: 55ch; }
.r-lead:hover h3, .r-item:hover strong { color: var(--accent); }
.r-list { display: grid; gap: 20px; align-content: start; }
.r-item { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; text-decoration: none; }
.r-item img { width: 112px; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.r-item strong { display: block; font: 400 18px/1.25 var(--display); margin-top: 4px; }
.r-cat { font-size: 13px; font-weight: 700; color: var(--muted); }

/* Lista de espera */
.wait { position: relative; padding: 72px 0 96px; overflow-x: clip; }
.wait .leaf { position: absolute; width: 220px; right: 6%; top: 10px; transform: rotate(24deg); z-index: 0; pointer-events: none; filter: drop-shadow(0 18px 24px rgb(0 0 0 / .5)); }
.wait .bean { position: absolute; width: 140px; left: 8%; bottom: 30px; transform: rotate(-30deg); z-index: 0; pointer-events: none; filter: drop-shadow(0 18px 24px rgb(0 0 0 / .5)); }
.wait-in { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; padding: 48px 20px; max-width: 760px; }
.emblem { width: 120px; height: auto; margin-bottom: 20px; }
.wait h2 { font-size: clamp(32px, 4.4vw, 52px); }
.wait p { color: var(--muted); margin: 12px 0 28px; }
.wait .wl { width: min(520px, 100%); text-align: left; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px 0 40px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

/* Modal */
.modal { padding: 0; width: min(900px, 100% - 24px); max-height: 92vh; overflow: auto; color: var(--text); background-color: rgb(14 31 44 / .92); }
.modal.wide { width: min(780px, 100% - 24px); }
.modal::backdrop { background: rgb(3 8 12 / .6); backdrop-filter: blur(4px); }
.modal[open] { animation: rise .3s var(--ease); }
.x { position: sticky; top: 10px; float: right; margin: 10px 10px 0 0; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--glass-line); display: grid; place-items: center; font-size: 20px; z-index: 2; }
.pd { display: grid; clear: both; margin-top: -54px; }
.pd-img { background: #070d12; } .pd-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pd-body { padding: 28px 24px 32px; }
.pd-body h2 { font-size: clamp(30px, 4vw, 42px); margin: 6px 0 12px; }
.pd-body > p { color: var(--muted); }
.pd-meta { font-size: 14px; font-weight: 700; color: var(--accent); margin: 0; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 24px; }
.specs div { padding: 12px 14px; border-radius: 12px; background: rgb(255 255 255 / .05); }
.specs dt { font-size: 12px; font-weight: 700; color: var(--muted); } .specs dd { margin: 2px 0 0; font-weight: 500; font-size: 15px; }
.read { clear: both; margin-top: -54px; }
.read > img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.read-body { padding: 28px 24px 40px; max-width: 660px; margin: 0 auto; font-size: 18px; line-height: 1.75; }
.read-body h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.08; margin: 10px 0 14px; }
.read-body .lead { max-width: none; }
.read-body h2 { font-size: 26px; margin: 36px 0 8px; font-weight: 400; }
.read-body a { color: var(--accent); }
.read-body blockquote { margin: 32px 0; padding-left: 20px; border-left: 2px solid var(--accent); font: 300 26px/1.3 var(--display); }
.callout { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 18px 22px; border-radius: var(--r-img); box-shadow: inset 0 0 0 1px rgb(212 163 115 / .5); }
.callout i { font-size: 26px; color: var(--accent); } .callout p { margin: 0; flex: 1; }

/* Aparición de secciones */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

@media (min-width: 768px) {
  .nav .btn { display: inline-flex; }
  .m-nav { display: flex; }
  .v-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .q-card { padding: 32px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tiles.n2, .tiles.n4 { grid-template-columns: repeat(2, 1fr); }
  .tiles.n5 { grid-template-columns: repeat(6, 1fr); }
  .tiles.n5 .tile { grid-column: span 2; }
  .tiles.n5 .tile:nth-child(n+4) { grid-column: span 3; }
  .tiles.n5 .tile:nth-child(n+4) .t-media { aspect-ratio: 16/7; }
  .tiles.n5 .tile:last-child .t-media { aspect-ratio: 16/7; }
  .recs { grid-template-columns: repeat(3, 1fr); }
  .rec { grid-template-columns: 1fr; padding: 8px 8px 16px; }
  .rec-img { width: 100%; height: auto; aspect-ratio: 1; }
  .rec-body { padding-inline: 8px; }
  .r-grid { grid-template-columns: 1.4fr 1fr; gap: 48px; }
  .pd { grid-template-columns: 1fr 1fr; } .pd-img img { height: 100%; }
  .pd-body { padding: 56px 36px 36px; }
  .stack { min-height: 520px; }
}
@media (min-width: 1024px) {
  .links { display: flex; }
  .hero { padding: 48px 0 104px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; min-height: calc(100dvh - 72px - 150px); }
  .cup { width: min(560px, 42vw); justify-self: end; }
  .origin { grid-template-columns: 1.1fr 1fr; gap: 72px; }
  .v-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .o-card.wide { grid-column: span 2; flex-direction: row; }
  .o-card.wide .o-img { flex: 0 0 50%; }
  .o-card.wide .o-img img { height: 100%; mask-image: linear-gradient(90deg, #000 60%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent 100%); }
  .o-card.wide .o-body { align-content: center; margin: 0 0 0 -40px; padding: 24px 24px 24px 0; }
  .o-card.wide strong { font-size: 30px; }
  .o-card.wide .o-desc { display: block; }
  .o-card.wide { background: linear-gradient(90deg, #070d12 0, #070d12 45%, #102332 100%); }
  .q-wrap { grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
  .q-head { position: sticky; top: 110px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.f4 { width: 760px; height: 520px; right: -240px; top: 20px; opacity: .75; mask-image: linear-gradient(180deg, transparent, #000 22%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 70%, transparent); }

/* Móvil: aviso con esquinas de superficie y tarjetas horizontales en una columna */
@media (max-width: 767px) {
  .pick-next { border-radius: var(--r); }
  .v-grid { grid-template-columns: 1fr; gap: 12px; }
  .o-card { flex-direction: row; background: linear-gradient(90deg, #070d12 0, #070d12 36%, #102332 100%); }
  .o-img { flex: 0 0 38%; }
  .o-img img { height: 100%; aspect-ratio: auto; mask-image: linear-gradient(90deg, #000 60%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); }
  .o-body { margin: 0 0 0 -18px; padding: 16px 16px 16px 0; gap: 4px; }
  .o-notes span { font-size: 12px; padding: 3px 9px; }
  .o-stats { gap: 4px 12px; font-size: 12.5px; }
  .o-go { display: none; }
}
.tiles.n5 .tile:nth-child(n+4) .t-media img { object-position: 50% 62%; }
@media (max-width: 1023px) {
  .q-profile { grid-template-columns: repeat(5, 1fr); gap: 6px; max-width: none; margin-top: 24px; }
  .q-profile button { grid-template-columns: 1fr; justify-items: center; gap: 6px; padding: 8px 2px; border-radius: 16px; text-align: center; }
  .qp-txt small { display: none; }
  .qp-txt strong { font-size: 12.5px; line-height: 1.2; }
  .qp-edit { display: none; }
}
@media (max-width: 1023px) {
  .q-profile li:not(.done) .qp-txt { display: none; }
}
@media (max-width: 767px) {
  .tiles.n3 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tiles.n3 .tile { padding: 6px 6px 12px; }
  .tiles.n3 .tile strong { font-size: 15px; padding-inline: 4px; }
  .tiles.n3 .tile small { display: none; }
  .tiles.n3 .t-media { aspect-ratio: 1; }
}
