/* =============================================================================
   QR3D Print — hoja de estilos única
   1 Tokens · 2 Reset · 3 Utilidades · 4 Tipografía · 5 Componentes
   6 Herramienta · 7 Secciones · 8 Anuncios · 9 Responsive · 10 Movimiento
   ============================================================================= */

/* ================================ 1 Tokens ================================ */
:root {
  --bg: #0F1115;
  --bg-2: #151821;
  --surface: #1B1F2A;
  --surface-2: #232838;
  --line: #2C3243;
  --line-soft: #232838;
  --txt: #EDEFF5;
  --txt-dim: #A2A9BC;
  --txt-mute: #767E93;
  --accent: #6EE7B7;
  --accent-2: #38BDF8;
  --accent-ink: #06251A;
  --warn: #FBBF24;
  --danger: #F87171;
  --radius: 16px;
  --radius-sm: 10px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --maxw: 1220px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Inter var", Inter, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Roboto, "Noto Sans", sans-serif;
}

/* ================================ 2 Reset ================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--txt);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  background-image:
    radial-gradient(1100px 520px at 78% -8%, rgba(56,189,248,.10), transparent 60%),
    radial-gradient(900px 460px at 10% 4%, rgba(110,231,183,.09), transparent 62%);
  background-repeat: no-repeat;
}
img, svg, canvas, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
input, select { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ============================== 3 Utilidades ============================== */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 999;
  padding: .6rem 1rem; background: var(--accent); color: var(--accent-ink);
  border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ============================== 4 Tipografía ============================== */
h1 { font-size: clamp(1.75rem, 5vw, 3.05rem); }
.hero-sub {
  color: var(--txt-dim); font-size: clamp(.95rem, 2vw, 1.12rem);
  max-width: 62ch; margin-top: .7rem;
}
.hero-sub strong { color: var(--txt); }
.section-title { font-size: clamp(1.5rem, 3.4vw, 2.15rem); }
.section-sub { color: var(--txt-dim); margin-top: .5rem; }

/* ============================= 5 Componentes ============================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,17,21,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 62px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; letter-spacing: -.02em; color: var(--accent); }
.logo span { color: var(--txt); font-size: 1.06rem; }
.logo strong { color: var(--accent); }
.header-nav { display: flex; gap: 1.4rem; font-size: .92rem; color: var(--txt-dim); font-weight: 500; }
.header-nav a { transition: color .2s var(--ease-out); }
.header-nav a:hover { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.15rem; border-radius: var(--radius-sm);
  font-weight: 700; letter-spacing: -.01em;
  transition: transform .18s var(--ease-out), background .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  width: 100%; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink); padding: 1rem 1.2rem; font-size: 1.02rem;
  box-shadow: 0 8px 24px -10px rgba(110,231,183,.6);
}
.btn-primary span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.btn-primary small { font-weight: 600; opacity: .72; font-size: .78rem; }
.btn-primary:hover { box-shadow: 0 12px 30px -10px rgba(110,231,183,.7); }
.btn-sec {
  background: var(--surface-2); color: var(--txt);
  border: 1px solid var(--line); font-size: .93rem; flex: 1;
}
.btn-sec:hover { background: var(--line); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .5rem .7rem; border-radius: 8px; font-size: .85rem; font-weight: 600;
  color: var(--txt-dim); border: 1px solid var(--line);
  transition: color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.btn-ghost:hover { color: var(--txt); border-color: var(--txt-mute); }
.btn-file {
  display: inline-flex; align-items: center; gap: .4rem; cursor: pointer;
  padding: .5rem .8rem; border-radius: 8px; font-size: .85rem; font-weight: 600;
  color: var(--txt-dim); border: 1px dashed var(--line);
  transition: color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.btn-file:hover { color: var(--accent); border-color: var(--accent); }

.lbl { display: block; font-size: .86rem; font-weight: 700; color: var(--txt-dim); margin-bottom: .4rem; }
.lbl small { font-weight: 500; color: var(--txt-mute); }
.inp {
  width: 100%; padding: .72rem .85rem; margin-bottom: .6rem;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.inp:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(110,231,183,.14); }
.inp::placeholder { color: var(--txt-mute); }
select.inp { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--txt-mute) 50%), linear-gradient(135deg, var(--txt-mute) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.sep { border: 0; border-top: 1px solid var(--line-soft); margin: .4rem 0 .2rem; }
.hint { font-size: .81rem; color: var(--txt-mute); line-height: 1.5; }
.hint-stl { margin-top: .55rem; }
.hint-inline { font-weight: 500; color: var(--txt-mute); font-size: .8rem; letter-spacing: 0; }
.warn {
  font-size: .82rem; line-height: 1.45; margin-top: .5rem;
  padding: .5rem .65rem; border-radius: 8px;
  background: rgba(251,191,36,.10); color: var(--warn); border: 1px solid rgba(251,191,36,.28);
}
.warn.is-danger { background: rgba(248,113,113,.10); color: var(--danger); border-color: rgba(248,113,113,.3); }
.noscript-msg {
  margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm);
  background: rgba(251,191,36,.10); border: 1px solid rgba(251,191,36,.3); color: var(--warn);
}

/* ============================= 6 Herramienta ============================== */
.hero { padding: clamp(1.1rem, 4vw, 2.6rem) 0 1.4rem; }
.tool-card {
  margin-top: 1.5rem; padding: clamp(1rem, 2.4vw, 1.6rem);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.9);
}
/* Orden en móvil: escribes el enlace → lo ves → lo personalizas */
.tool-grid {
  display: grid; gap: clamp(1.1rem, 2.6vw, 1.9rem);
  grid-template-areas: "entrada" "vista" "resto";
}
.tool-input   { grid-area: entrada; min-width: 0; }
.tool-preview { grid-area: vista;   min-width: 0; }
.tool-rest    { grid-area: resto;   min-width: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.field-group { min-width: 0; }

.tabs { display: flex; gap: .35rem; margin-bottom: .8rem; padding: .25rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 11px; }
.tab { flex: 1; padding: .5rem .7rem; border-radius: 8px; font-size: .88rem; font-weight: 700; color: var(--txt-mute); transition: background .2s var(--ease-out), color .2s var(--ease-out); }
.tab.is-active { background: var(--surface-2); color: var(--txt); }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .15rem; }
.chip {
  padding: .35rem .65rem; border-radius: 99px; font-size: .78rem; font-weight: 600;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--txt-dim);
  transition: color .18s var(--ease-out), border-color .18s var(--ease-out);
}
.chip:hover { color: var(--accent); border-color: var(--accent); }

.opt-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.opt-row--formats { grid-template-columns: repeat(3, 1fr); }
.opt {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  padding: .65rem .3rem; border-radius: 12px; text-align: center;
  background: var(--bg-2); border: 1px solid var(--line);
  font-size: .74rem; font-weight: 700; color: var(--txt-mute); line-height: 1.2;
  transition: border-color .18s var(--ease-out), color .18s var(--ease-out), background .18s var(--ease-out);
}
.opt svg { width: 22px; height: 22px; fill: currentColor; }
.opt-row--formats .opt svg { fill: none; }
.opt:hover { color: var(--txt-dim); border-color: var(--txt-mute); }
.opt.is-active { color: var(--accent); border-color: var(--accent); background: rgba(110,231,183,.07); }

.color-row { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.color-pick {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  padding: .4rem .7rem .4rem .4rem; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; color: var(--txt-dim);
}
.color-pick input[type="color"] {
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 7px;
  background: none; cursor: pointer;
}
.color-pick input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.color-pick input[type="color"]::-webkit-color-swatch { border: 1px solid var(--line); border-radius: 7px; }
.color-pick input[type="color"]::-moz-color-swatch { border: 1px solid var(--line); border-radius: 7px; }

.combis { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.combi {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .6rem .3rem .35rem; border-radius: 99px;
  background: var(--bg-2); border: 1px solid var(--line);
  font-size: .75rem; font-weight: 600; color: var(--txt-mute);
  transition: color .18s var(--ease-out), border-color .18s var(--ease-out);
}
.combi:hover { color: var(--txt); border-color: var(--txt-mute); }
.combi i { width: 26px; height: 14px; border-radius: 4px; display: block; }

.emoji-row { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .55rem; }
.emoji-btn {
  width: 38px; height: 38px; border-radius: 10px; font-size: 1.15rem; line-height: 1;
  display: grid; place-items: center;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: border-color .18s var(--ease-out), transform .18s var(--ease-out);
}
.emoji-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.emoji-btn.is-active { border-color: var(--accent); background: rgba(110,231,183,.1); }
.center-actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

.range-row { margin-top: .7rem; }
input[type="range"] {
  width: 100%; height: 6px; border-radius: 99px; appearance: none;
  background: var(--surface-2); border: 1px solid var(--line); cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg); cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--bg);
  background: var(--accent); cursor: pointer;
}
#out-tam { color: var(--accent); font-variant-numeric: tabular-nums; }

.downloads { display: flex; flex-direction: column; gap: .55rem; margin-top: .3rem; }
.btn-row { display: flex; gap: .5rem; }

.tool-preview { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.preview-block { min-width: 0; }
.preview-title { font-size: .86rem; font-weight: 700; color: var(--txt-dim); margin-bottom: .55rem; letter-spacing: 0; }
.qr-frame {
  display: grid; place-items: center; padding: clamp(.7rem, 2vw, 1.1rem);
  background: #E7E9EF; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
#qr-canvas { width: 100%; max-width: 420px; height: auto; border-radius: 8px; box-shadow: 0 6px 22px -12px rgba(0,0,0,.55); }
.qr-meta { margin-top: .5rem; font-size: .79rem; color: var(--txt-mute); line-height: 1.5; }

.viewer {
  position: relative; width: 100%; max-width: 100%;
  aspect-ratio: 4 / 3; min-height: 240px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 50% 8%, rgba(56,189,248,.14), transparent 62%),
    linear-gradient(180deg, #1D2230, #12151D);
}
#gl-canvas { width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
#gl-canvas:active { cursor: grabbing; }
.viewer-msg {
  position: absolute; inset: 0; display: grid; place-items: center;
  padding: 1.5rem; text-align: center; font-size: .87rem; color: var(--txt-mute);
  background: rgba(18,21,29,.9);
}
.viewer-msg[hidden] { display: none; }
.viewer-reset {
  position: absolute; right: .5rem; top: .5rem;
  padding: .3rem .6rem; border-radius: 8px; font-size: .72rem; font-weight: 700;
  background: rgba(15,17,21,.72); border: 1px solid var(--line); color: var(--txt-dim);
  backdrop-filter: blur(6px);
}
.viewer-reset:hover { color: var(--txt); }

.privacy {
  display: flex; align-items: flex-start; gap: .5rem;
  margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line-soft);
  font-size: .84rem; color: var(--txt-dim); line-height: 1.55;
}
.privacy svg { flex: 0 0 auto; margin-top: .18rem; color: var(--accent); }
.privacy strong { color: var(--txt); }

/* ============================== 7 Secciones ============================== */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-prose { padding-top: clamp(1.5rem, 4vw, 2.5rem); }

.steps { list-style: none; display: grid; gap: 1rem; margin-top: 1.6rem; grid-template-columns: repeat(3, 1fr); }
.step {
  padding: 1.3rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.step-n {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(110,231,183,.12); color: var(--accent);
  font-weight: 800; font-size: .95rem; margin-bottom: .8rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.step p { font-size: .89rem; color: var(--txt-dim); }

.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin: 2.2rem 0 .7rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--txt-dim); margin-bottom: .9rem; }
.prose strong { color: var(--txt); }
.prose em { color: var(--txt); font-style: italic; }

.cards { display: grid; gap: 1rem; margin-top: 1.6rem; grid-template-columns: repeat(3, 1fr); }
.card {
  padding: 1.3rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .22s var(--ease-out), transform .22s var(--ease-out);
}
.card:hover { border-color: var(--txt-mute); transform: translateY(-2px); }
.card h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.card p { font-size: .88rem; color: var(--txt-dim); }

.faq { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .55rem; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); overflow: hidden;
}
.faq summary {
  padding: 1rem 1.15rem; cursor: pointer; font-weight: 700; font-size: .96rem;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.35rem; font-weight: 400; color: var(--accent);
  line-height: 1; transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.15rem 1.1rem; color: var(--txt-dim); font-size: .9rem; }

.site-footer { border-top: 1px solid var(--line-soft); padding: 2.5rem 0; background: var(--bg-2); }
.footer-inner { display: flex; flex-direction: column; gap: .7rem; align-items: center; text-align: center; }
.footer-brand { font-weight: 700; }
.footer-brand strong { color: var(--accent); }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; font-size: .88rem; color: var(--txt-dim); }
.footer-links a:hover { color: var(--accent); }
.footer-note { font-size: .8rem; color: var(--txt-mute); max-width: 55ch; }

/* =============================== 8 Anuncios ============================== */
.ad-slot {
  display: grid; place-items: center; width: 100%;
  border: 1px dashed var(--line); border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.014) 0 12px, transparent 12px 24px);
  color: var(--txt-mute);
  font-size: .72rem; font-weight: 800; letter-spacing: .22em;
}
.ad-leaderboard { min-height: 96px; margin: 1rem 0 .5rem; }
.ad-incontent { min-height: 260px; margin: 1.5rem 0; }
.ad-popup { min-height: 250px; margin: .9rem 0; }
.ad-corner { min-height: 96px; border-radius: 10px; }

.ad-modal {
  border: 0; padding: 0; background: transparent;
  max-width: min(92vw, 380px); border-radius: 18px;
}
.ad-modal::backdrop { background: rgba(8,10,14,.72); backdrop-filter: blur(3px); }
.ad-modal-inner {
  position: relative; padding: 1.4rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.9);
}
.ad-modal-close {
  position: absolute; top: .6rem; right: .6rem;
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  color: var(--txt-mute); border: 1px solid var(--line);
}
.ad-modal-close:hover { color: var(--txt); }
.ad-modal-kicker { font-weight: 700; font-size: .95rem; padding-right: 2.4rem; }
.ad-modal-continue { width: 100%; }

.ad-toast {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  width: min(310px, calc(100vw - 2rem)); padding: .75rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 50px -22px rgba(0,0,0,.9);
  animation: toast-in .45s var(--ease-out) both;
}
.ad-toast[hidden] { display: none; }
.ad-toast-close {
  position: absolute; top: -9px; right: -9px;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--txt-dim);
}
.ad-toast-close:hover { color: var(--txt); }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Con anuncios reales activos, el rótulo de relleno sobra */
.ads-on .ad-slot::before,
.ads-on .ad-label { display: none; }
.ads-on .ad-slot { border: 0; background: none; }

/* ----- Aviso de cookies ----- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -18px 50px -25px rgba(0,0,0,.95);
  animation: cookie-in .4s var(--ease-out) both;
}
.cookie-inner {
  max-width: var(--maxw); margin-inline: auto; padding: 1rem var(--gutter);
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
}
.cookie-text { flex: 1 1 320px; min-width: 0; }
.cookie-text p { font-size: .86rem; color: var(--txt-dim); line-height: 1.55; }
.cookie-text strong { color: var(--txt); }
.cookie-note { font-size: .79rem !important; color: var(--txt-mute) !important; margin-top: .25rem; }
.cookie-note a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: .5rem; flex: 0 0 auto; }
.cookie-actions .btn { padding: .65rem 1.3rem; }
.cookie-accept { width: auto !important; }
.footer-cookie-btn {
  font: inherit; font-size: .88rem; color: var(--txt-dim);
  padding: 0; text-decoration: none;
}
.footer-cookie-btn:hover { color: var(--accent); }
@keyframes cookie-in { from { transform: translateY(100%); } to { transform: none; } }

/* ============================== 9 Responsive ============================= */
@media (min-width: 540px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-note { order: 3; flex-basis: 100%; text-align: center; margin-top: .5rem; }
}
@media (max-width: 719px) {
  .header-nav { display: none; }
  .hero { padding-top: .85rem; }
  h1 { font-size: clamp(1.65rem, 7.5vw, 2.2rem); }
  .tool-card { margin-top: 1.1rem; }
  .steps, .cards { grid-template-columns: 1fr; }
  .opt-row { grid-template-columns: repeat(2, 1fr); }
  .ad-toast { right: .5rem; bottom: .5rem; }
  .cookie-inner { gap: .8rem; padding-block: .85rem; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}
@media (min-width: 720px) and (max-width: 959px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .tool-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    grid-template-areas: "entrada vista" "resto vista";
    align-items: start;
  }
  .tool-preview { position: sticky; top: 76px; }
}
@media (min-width: 1280px) {
  .tool-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
  .tool-preview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem; align-items: start; }
  #qr-canvas { max-width: 100%; }
}

/* ========================= 10 Movimiento reducido ======================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ad-toast, .cookie-banner { animation: none; }
}
