/* Duditopia · sistema de diseño «Pixel suave 2» (2026-11-07). Hoja común para TODA la web.
   Letra limpia (Bricolage Grotesque en títulos, DM Sans en texto; OFL, servidas desde /fonts) + pixel art muy detallado
   solo en dibujos, iconos y motivos (lo pinta /cq.js). Tarjetas redondeadas con borde de tinta y sombra «de bloque».
   Mantiene TODAS las clases del estilo anterior («A · Pixel suave», v1) para que las páginas sin rediseñar sigan bien:
   .cq-top .cq-nav .cq-menu .cq-btn(-primary/-dark/-ghost/-coral/-mint/-yellow/-sm) .cq-chip(s) .cq-tag .cq-age-*
   .cq-card .cq-grid-2/3/4/6 .cq-zone (.cq-ico/.cq-go) .cq-tile (.cq-art) .cq-new .cq-trust .cq-foot .cq-h2 .cq-sec(-h)
   .cq-field .cq-input .cq-note .cq-px .cq-bg-* .cq-c-* .cq-muted .cq-sr .cq-pixel
   Nuevas: .cq-pat/.cq-pat-ck (tramas pixel), .cq-band(-yellow/-mint/-sky/-ink) + .cq-band-tooth (bordes pixel),
   .cq-zone-art/.cq-zone-body, .cq-hero* (cielo + escena + césped), .cq-live, .cq-pcard, .cq-fill-* (fondos saturados).
   Variables antiguas conservadas (--cq-pixel ahora apunta a la letra de títulos; --cq-round a la de texto). */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("/fonts/BricolageGrotesque-latin.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/fonts/DMSans-latin.woff2") format("woff2"); }

:root {
  --cq-bg: #fbf8f2; --cq-card: #ffffff; --cq-line: #f0e6d6; --cq-line2: #e3dccd;
  --cq-ink: #1f2240; --cq-ink2: #464a68; --cq-muted: #5f6380;
  --cq-blue: #2f6bf2; --cq-blue-d: #1c45b5; --cq-blue-l: #e4ecff;
  --cq-coral: #ff8a6b; --cq-coral-d: #b83d22; --cq-coral-l: #ffe7df;
  --cq-mint: #2fae82; --cq-mint-d: #17694b; --cq-mint-l: #dcf6ea;
  --cq-yellow: #ffcf4a; --cq-yellow-d: #7a5200; --cq-yellow-l: #fff3cf;
  --cq-lila: #8b5cf6; --cq-lila-d: #5b34c2; --cq-lila-l: #f1e8ff;
  --cq-sky: #e9f2ff; --cq-cyan: #7ad7f0; --cq-cyan-l: #e3f6fc; --cq-red: #e5484d;
  --cq-grass: #62b04a; --cq-grass-d: #358337;
  --cq-head: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --cq-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cq-round: var(--cq-body);
  --cq-pixel: var(--cq-head);
  --cq-r: 14px; --cq-r-lg: 20px; --cq-wrap: 1260px;
  --cq-sh: 4px 4px 0 var(--cq-ink); --cq-sh-lg: 6px 6px 0 var(--cq-ink);
  --u: 3px; /* tamaño de un «pixel» de las escenas grandes (.cq-hero) */
  --onda: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 4' shape-rendering='crispEdges'%3E%3Cpath d='M0 2h2V1h4V0h4v1h4v1h2v2H0z'/%3E%3C/svg%3E");
  --dientes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 4' shape-rendering='crispEdges'%3E%3Cpath d='M0 4V2h1V1h2V0h2v1h2v1h1v2z'/%3E%3C/svg%3E");
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--cq-bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cq-bg); color: var(--cq-ink); font: 400 17px/1.55 var(--cq-body); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--cq-blue-d); }
a:hover { color: #12318a; }
:focus-visible { outline: 3px solid var(--cq-blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-family: var(--cq-head); }
.cq-wrap { max-width: var(--cq-wrap); margin: 0 auto; padding: 0 24px; }
.cq-pixel { font-family: var(--cq-head); font-weight: 800; letter-spacing: -.2px; }
.cq-muted { color: var(--cq-muted); }
.cq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- iconos pixel (los pinta /cq.js en <span class="cq-px" data-px="nombre">) ---------- */
.cq-px { display: inline-block; line-height: 0; }
.cq-px svg { shape-rendering: crispEdges; display: block; }

/* ---------- cabecera ---------- */
.cq-top { position: sticky; top: 0; z-index: 30; background: rgba(251, 248, 242, .95); backdrop-filter: blur(6px);
          border-bottom: 3px solid var(--cq-ink); }
.cq-top .cq-wrap { height: 70px; display: flex; align-items: center; gap: 28px; }
.cq-brand { display: flex; align-items: center; gap: 10px; color: var(--cq-ink); text-decoration: none; flex: none; }
.cq-brand svg { width: 38px; height: 38px; shape-rendering: crispEdges; }
.cq-brand b { font: 800 23px/1 var(--cq-head); letter-spacing: -.4px; }
.cq-brand b i { font-style: normal; color: var(--cq-blue); }
.cq-brand small { display: block; font-size: 12px; color: var(--cq-muted); font-weight: 700; margin-top: 2px; }
.cq-nav { display: flex; gap: 4px; }
.cq-nav a { color: var(--cq-ink); text-decoration: none; font-weight: 700; font-size: 16px; padding: 8px 13px; border-radius: 10px; }
.cq-nav a:hover { background: #f1ebe0; }
.cq-nav a[aria-current="page"] { background: var(--cq-ink); color: #fff; }
.cq-top-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.cq-menu { display: none; width: 44px; height: 44px; border-radius: 12px; border: 3px solid var(--cq-ink); background: #fff;
           align-items: center; justify-content: center; cursor: pointer; box-shadow: 2px 2px 0 var(--cq-ink); }
.cq-menu svg { width: 20px; height: 20px; }

/* ---------- botones, chips, etiquetas ---------- */
.cq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 12px 22px;
          border-radius: 14px; border: 3px solid var(--cq-ink); font: 700 17px/1.1 var(--cq-body); text-decoration: none;
          cursor: pointer; box-shadow: var(--cq-sh); transition: transform .12s, box-shadow .12s, background .15s;
          background: #fff; color: var(--cq-ink); }
.cq-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--cq-ink); color: var(--cq-ink); }
.cq-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--cq-ink); }
.cq-btn .cq-px { margin: -4px 0; }
.cq-btn-primary, .cq-btn-primary:hover { background: var(--cq-blue); color: #fff; }
.cq-btn-dark, .cq-btn-dark:hover { background: var(--cq-ink); color: #fff; }
.cq-btn-ghost, .cq-btn-ghost:hover { background: #fff; color: var(--cq-ink); }
.cq-btn-yellow, .cq-btn-yellow:hover { background: var(--cq-yellow); color: var(--cq-ink); }
.cq-btn-coral, .cq-btn-coral:hover { background: var(--cq-coral); color: #3a1206; }
.cq-btn-mint, .cq-btn-mint:hover { background: var(--cq-mint-d); color: #fff; }
.cq-btn-dark:hover, .cq-btn-primary:hover, .cq-btn-mint:hover { color: #fff; }
.cq-btn-sm { min-height: 42px; padding: 8px 15px; font-size: 15px; border-radius: 11px; box-shadow: 3px 3px 0 var(--cq-ink); }
.cq-btn-dark.cq-btn-sm { box-shadow: 3px 3px 0 var(--cq-coral); }
.cq-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.cq-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cq-chip { font: 700 15.5px/1 var(--cq-body); padding: 9px 13px; min-height: 44px; border-radius: 999px; cursor: pointer;
           border: 3px solid var(--cq-ink); background: #fff; color: var(--cq-ink); display: inline-flex; align-items: center; gap: 8px; }
.cq-chip i { width: 12px; height: 12px; border-radius: 3px; border: 2px solid var(--cq-ink); flex: none; }
.cq-chip:hover { background: var(--cq-yellow-l); }
.cq-chip[aria-pressed="true"], .cq-chip.on { background: var(--cq-ink); color: #fff; box-shadow: 3px 3px 0 var(--cq-coral); }
.cq-chip[aria-pressed="true"] i, .cq-chip.on i { border-color: #fff; }
.cq-dot-peques { background: var(--cq-coral); } .cq-dot-mayores { background: var(--cq-yellow); }
.cq-dot-adultos { background: var(--cq-blue); }
.cq-dot-todos { background: linear-gradient(90deg, var(--cq-coral) 33%, var(--cq-yellow) 33% 66%, var(--cq-blue) 66%); }
.cq-tag { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1.2 var(--cq-body); padding: 6px 13px;
          border-radius: 999px; background: #fff; color: var(--cq-ink); border: 3px solid var(--cq-ink); }
.cq-tag:has(.cq-px) { padding-left: 8px; }
.cq-age { display: inline-block; align-self: flex-start; font: 700 13px/1.2 var(--cq-body); padding: 4px 9px; border-radius: 999px;
          border: 2px solid currentColor; }
.cq-age-peques { color: var(--cq-coral-d); background: var(--cq-coral-l); }
.cq-age-mayores { color: var(--cq-yellow-d); background: var(--cq-yellow-l); }
.cq-age-adultos { color: var(--cq-blue-d); background: var(--cq-blue-l); }
.cq-age-todos { color: var(--cq-mint-d); background: var(--cq-mint-l); }

/* ---------- secciones, tarjetas, rejillas ---------- */
.cq-sec { padding-top: 48px; padding-bottom: 48px; }
.cq-sec-h { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.cq-h2 { font: 800 clamp(28px, 3.4vw, 42px)/1.08 var(--cq-head); letter-spacing: -1px; }
.cq-sec-h .cq-muted { font-weight: 600; }
.cq-sec-h .cq-sub { flex-basis: 100%; margin: -6px 0 0; color: var(--cq-ink2); font-size: 18px; }
.cq-sec-h a { margin-left: auto; font-weight: 800; }
.cq-card { background: var(--cq-card); border: 3px solid var(--cq-ink); border-radius: var(--cq-r-lg); padding: 22px; box-shadow: var(--cq-sh); }
.cq-grid { display: grid; gap: 22px; }
.cq-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cq-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cq-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cq-grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* fondos: .cq-bg-* = color saturado (para dibujos); .cq-tint-* = tinte claro (para texto) */
.cq-bg-coral { background-color: var(--cq-coral); } .cq-bg-blue { background-color: var(--cq-blue); }
.cq-bg-mint { background-color: var(--cq-mint); } .cq-bg-yellow { background-color: var(--cq-yellow); }
.cq-bg-lila { background-color: var(--cq-lila); } .cq-bg-ink { background-color: var(--cq-ink); }
.cq-bg-sky { background-color: var(--cq-cyan); }
.cq-tint-coral { background-color: var(--cq-coral-l); } .cq-tint-blue { background-color: var(--cq-blue-l); }
.cq-tint-mint { background-color: var(--cq-mint-l); } .cq-tint-yellow { background-color: var(--cq-yellow-l); }
.cq-tint-lila { background-color: var(--cq-lila-l); } .cq-tint-sky { background-color: var(--cq-cyan-l); }
.cq-c-coral { color: var(--cq-coral-d); } .cq-c-blue { color: var(--cq-blue-d); } .cq-c-mint { color: var(--cq-mint-d); }
.cq-c-yellow { color: var(--cq-yellow-d); } .cq-c-lila { color: var(--cq-lila-d); }
/* tramas pixel sobre fondos saturados */
.cq-pat, .cq-art, .cq-zone-art, .cq-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath fill='%23fff' fill-opacity='.22' d='M1 1h1v1H1zM5 5h1v1H5z'/%3E%3C/svg%3E");
       background-size: 24px 24px; }
.cq-pat-ck { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath fill='%23fff' fill-opacity='.16' d='M0 0h4v4H0zM4 4h4v4H4z'/%3E%3C/svg%3E");
             background-size: 32px 32px; }

/* zonas: cartel ilustrado (.cq-zone-art + .cq-zone-body) o formato antiguo (.cq-ico + b + p + .cq-go) */
.cq-zone { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--cq-ink); background: #fff;
           border: 3px solid var(--cq-ink); border-radius: var(--cq-r-lg); padding: 22px; overflow: hidden; box-shadow: var(--cq-sh-lg);
           transition: transform .14s, box-shadow .14s; }
.cq-zone:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--cq-ink); color: var(--cq-ink); }
.cq-zone-art { position: relative; height: 190px; display: grid; place-items: center; border-bottom: 3px solid var(--cq-ink);
               margin: -22px -22px 12px; }
.cq-zone-art .cq-px { position: relative; z-index: 1; transition: transform .2s; }
.cq-zone:hover .cq-zone-art > .cq-px:first-child { transform: translateY(-4px) rotate(-3deg); }
.cq-zone-art .cq-mini { position: absolute; z-index: 1; }
.cq-zone-art .cq-m1 { left: 18px; top: 18px; } .cq-zone-art .cq-m2 { right: 18px; bottom: 16px; }
.cq-zone-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cq-zone b { font: 800 26px/1.1 var(--cq-head); letter-spacing: -.5px; }
.cq-zone p { margin: 0; color: var(--cq-ink2); line-height: 1.5; }
.cq-zone .cq-go, .cq-go { margin-top: auto; padding-top: 6px; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.cq-arr { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 2px solid currentColor; transition: transform .14s; }
.cq-zone:hover .cq-arr { transform: translateX(4px); }
.cq-ico { width: 64px; height: 64px; border-radius: 14px; border: 3px solid var(--cq-ink); display: grid; place-items: center; flex: none; }

/* fichas de juego: .cq-tile > .cq-art (dibujo) + b + .cq-age/small (o .cq-tile-body con ellos dentro) */
.cq-tile { position: relative; display: flex; flex-direction: column; gap: 7px; padding-bottom: 13px; text-decoration: none; color: var(--cq-ink);
           background: #fff; border: 3px solid var(--cq-ink); border-radius: var(--cq-r); box-shadow: var(--cq-sh);
           transition: transform .14s, box-shadow .14s; }
.cq-tile:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 7px 7px 0 var(--cq-ink); color: var(--cq-ink); }
.cq-tile > :not(.cq-art):not(.cq-badge) { margin-left: 12px; margin-right: 12px; }
.cq-art { position: relative; aspect-ratio: 1 / .86; display: grid; place-items: center; border-bottom: 3px solid var(--cq-ink);
          border-radius: 11px 11px 0 0; margin-bottom: 3px; }
.cq-art .cq-px { transition: transform .2s; filter: drop-shadow(0 4px 0 rgba(31, 34, 64, .22)); }
.cq-art .cq-px[data-size="100%"] { width: 62%; max-width: 96px; }
.cq-tile:hover .cq-art .cq-px { transform: scale(1.08) translateY(-2px); }
.cq-tile-body { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.cq-tile b { font: 800 18px/1.15 var(--cq-head); letter-spacing: -.2px; }
.cq-tile small { font-size: 14px; color: var(--cq-ink2); line-height: 1.35; }
.cq-new::after, .cq-badge { content: "NUEVO"; position: absolute; top: -12px; right: -10px; z-index: 2; font: 800 13px/1 var(--cq-head);
  letter-spacing: .5px; color: var(--cq-ink); background: var(--cq-yellow); border: 3px solid var(--cq-ink); padding: 6px 9px;
  border-radius: 9px; transform: rotate(6deg); box-shadow: 2px 2px 0 var(--cq-ink); }

/* tarjeta con icono (madres y padres, ventajas) */
.cq-pcard { background: #fff; border: 3px solid var(--cq-ink); border-radius: var(--cq-r-lg); padding: 22px; display: flex; flex-direction: column;
            gap: 8px; box-shadow: var(--cq-sh); }
.cq-pcard .cq-ico { width: 84px; height: 84px; border-radius: 16px; margin-bottom: 6px; }
.cq-pcard b { font: 800 22px/1.15 var(--cq-head); }
.cq-pcard p { margin: 0; color: var(--cq-ink2); }
.cq-pcard a { font-weight: 800; margin-top: auto; padding-top: 6px; }

/* ---------- bandas de color con borde pixel (alternar con el crema) ---------- */
.cq-band { position: relative; }
.cq-band::before, .cq-band::after { content: ""; position: absolute; left: 0; right: 0; height: 16px; background: inherit; background-image: none; pointer-events: none; }
.cq-band::before { top: -15px; -webkit-mask: var(--onda) repeat-x left bottom / 64px 16px; mask: var(--onda) repeat-x left bottom / 64px 16px; }
.cq-band::after { bottom: -15px; transform: scaleY(-1); -webkit-mask: var(--onda) repeat-x left bottom / 64px 16px; mask: var(--onda) repeat-x left bottom / 64px 16px; }
.cq-band-tooth::before { -webkit-mask: var(--dientes) repeat-x left bottom / 32px 16px; mask: var(--dientes) repeat-x left bottom / 32px 16px; }
.cq-band-end::after { display: none; }
.cq-band-yellow { background-color: #ffe7a1; } .cq-band-mint { background-color: #c9f0dc; } .cq-band-sky { background-color: #d3ecff; }
.cq-band-coral { background-color: #ffd9cc; }
.cq-band-ink { background-color: var(--cq-ink); color: #fff; }
.cq-band-ink a { color: #fff; }

/* ---------- cabecera ilustrada: cielo + escena pixel + colinas + césped ---------- */
.cq-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #9fd3ff 0%, #c6e6ff 48%, #e8f4fb 78%, #fdf0d8 100%); }
.cq-hero-sky { position: absolute; inset: 0; pointer-events: none; }
.cq-hero-sky .cq-px { position: absolute; }
.cq-hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) calc(210 * var(--u)); gap: 24px; align-items: end; padding-top: 44px; }
.cq-hero-txt { padding-bottom: calc(30 * var(--u)); }
.cq-hero h1 { font-size: clamp(36px, 4vw, 58px); font-weight: 800; letter-spacing: -1.6px; margin: 18px 0 16px; }
.cq-hero p { font-size: 19.5px; color: var(--cq-ink2); margin: 0 0 22px; max-width: 31em; }
.cq-mk { position: relative; white-space: nowrap; z-index: 0; }
.cq-mk::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: 4px; height: .34em; z-index: -1; background: var(--cq-yellow); border-radius: 4px; }
.cq-mk-coral::after { background: #ffb59f; } .cq-mk-mint::after { background: #9be8c8; } .cq-mk-sky::after { background: #a9e3f5; }
.cq-scene { position: relative; width: calc(210 * var(--u)); height: calc(120 * var(--u)); justify-self: end; z-index: 2; }
.cq-scene > .cq-px:first-child { width: 100%; }
.cq-hero-hills, .cq-scene::before { position: absolute; left: 0; right: 0; bottom: calc(19 * var(--u)); height: calc(26 * var(--u)); z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 26' shape-rendering='crispEdges'%3E%3Cpath fill='%23a8d98c' d='M0 14h4v-2h4v-2h6V9h8v1h6v2h4v2h4v2h6v-2h4v-2h4v-1h6V8h6v1h4v2h4v3h2v12H0z'/%3E%3Cpath fill='%2393cc78' d='M0 20h80v6H0z'/%3E%3Cpath fill='%23c9e6ad' d='M14 10h4v1h-4zM56 9h4v1h-4z'/%3E%3Cpath fill='%2386c06f' d='M30 17h2v1h-2zM66 15h2v1h-2zM8 18h2v1H8z'/%3E%3C/svg%3E") repeat-x left bottom / calc(80 * var(--u)) calc(26 * var(--u)); }
.cq-hero-ground, .cq-scene::after { position: absolute; left: 0; right: 0; bottom: 0; height: calc(21 * var(--u)); z-index: 1; background-color: var(--cq-grass);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 6' shape-rendering='crispEdges'%3E%3Cpath fill='%23358337' d='M0 2h24v1H0z'/%3E%3Cpath fill='%2392c36f' d='M0 3h24v1H0z'/%3E%3Cpath fill='%23b3dd86' d='M2 1h1v1H2zM3 0h1v2H3zM4 1h1v1H4zM13 1h1v1h-1zM14 0h1v2h-1zM18 1h1v1h-1z'/%3E%3Cpath fill='%23358337' d='M2 2h3v1H2zM13 2h2v1h-2zM18 2h1v1h-1z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 14' shape-rendering='crispEdges'%3E%3Cpath fill='%234f9f40' d='M3 4h2v1H3zM21 9h2v1h-2zM33 3h2v1h-2zM12 12h2v1h-2z'/%3E%3Cpath fill='%2392c36f' d='M28 7h1v1h-1zM8 9h1v1H8zM4 3h1v1H4z'/%3E%3Cpath fill='%23ffe27a' d='M17 5h1v1h-1z'/%3E%3Cpath fill='%23ffffff' d='M37 11h1v1h-1z'/%3E%3C/svg%3E");
  background-repeat: repeat-x, repeat; background-position: left top, left calc(6 * var(--u));
  background-size: calc(24 * var(--u)) calc(6 * var(--u)), calc(40 * var(--u)) calc(14 * var(--u)); }
.cq-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 16px; z-index: 3; background: var(--cq-bg);
  -webkit-mask: var(--onda) repeat-x left bottom / 64px 16px; mask: var(--onda) repeat-x left bottom / 64px 16px; }
.cq-chis { width: 7px; height: 7px; background: #fff; box-shadow: 7px 0 #fff, -7px 0 #fff, 0 7px #fff, 0 -7px #fff;
           position: absolute; animation: cq-chis 2.4s steps(2) infinite; opacity: .9; }
.cq-nube { animation: cq-nube 90s linear infinite; left: -12%; }
.cq-flota { animation: cq-flota 6s ease-in-out infinite; }
.cq-bob { animation: cq-bob 1.6s steps(2) infinite; }
.cq-globo { position: absolute; background: #fff; border: 3px solid var(--cq-ink); border-radius: 12px; padding: 6px 11px;
            font: 800 15px/1.1 var(--cq-head); box-shadow: 3px 3px 0 var(--cq-ink); white-space: nowrap; }
.cq-globo::before { content: ""; position: absolute; left: -9px; bottom: 6px; width: 12px; height: 12px; background: #fff;
                    border-left: 3px solid var(--cq-ink); border-bottom: 3px solid var(--cq-ink); transform: skewY(30deg); }

/* ---------- franja del directo ---------- */
.cq-live { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; background: var(--cq-ink); color: #fff;
           border: 3px solid var(--cq-ink); border-radius: var(--cq-r-lg); padding: 18px 26px 18px 18px; box-shadow: 6px 6px 0 var(--cq-coral); }
.cq-live-tv { background: #2b2f57; border-radius: 14px; padding: 8px; }
.cq-live h2 { font-size: 26px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.cq-live .cq-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--cq-red); box-shadow: 0 0 0 4px rgba(229, 72, 77, .35); animation: cq-lat 1.4s infinite; }
.cq-live p { margin: 4px 0 0; color: #d4d6ea; }
.cq-live p b { color: #fff; }
.cq-live-r { display: flex; align-items: center; gap: 14px; }

/* ---------- banda de confianza y pie (sobre tinta) ---------- */
.cq-trust { background: var(--cq-ink); color: #fff; border-radius: var(--cq-r-lg); padding: 24px 28px; box-shadow: 6px 6px 0 var(--cq-coral);
            display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.cq-band-ink .cq-trust { background: none; padding: 0; box-shadow: none; border-radius: 0; }
.cq-trust > div:has(> .cq-px) { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; }
.cq-trust .cq-px { grid-row: span 2; background: #2b2f57; border-radius: 12px; padding: 8px; }
.cq-trust b { display: block; font: 800 19px/1.2 var(--cq-head); margin-bottom: 4px; }
.cq-trust span { color: #c9cbe0; font-size: 15.5px; }
.cq-trust a { color: #fff; }
.cq-foot { position: relative; background: var(--cq-ink); color: #c9cbe0; font-size: 15px; font-weight: 600; padding: 30px 0 40px; margin-top: 40px; }
.cq-foot::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 16px; background: var(--cq-ink);
  -webkit-mask: var(--dientes) repeat-x left bottom / 32px 16px; mask: var(--dientes) repeat-x left bottom / 32px 16px; }
.cq-band-ink .cq-foot { margin-top: 0; background: none; }
.cq-band-ink .cq-foot::before { display: none; }
.cq-band-ink .cq-foot .cq-wrap { border-top: 2px dashed #3b3f6b; padding-top: 24px; }
.cq-foot .cq-wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.cq-foot a { color: #e3e5f5; }
.cq-foot a:hover { color: #fff; }
.cq-foot .cq-fbrand { font: 800 18px/1 var(--cq-head); color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.cq-foot .cq-mail { margin-left: auto; }

/* ---------- formularios y avisos ---------- */
.cq-field { display: grid; gap: 6px; font-weight: 700; }
.cq-input { font: 500 16px/1.3 var(--cq-body); padding: 11px 13px; border-radius: 12px; border: 3px solid var(--cq-ink);
            background: #fff; color: var(--cq-ink); width: 100%; }
.cq-input:focus { outline: none; border-color: var(--cq-blue); box-shadow: 3px 3px 0 var(--cq-blue); }
.cq-note { background: var(--cq-yellow-l); border: 3px solid var(--cq-ink); border-radius: 14px; padding: 12px 16px; color: #4a3600; box-shadow: 3px 3px 0 var(--cq-yellow); }

/* ---------- animaciones ---------- */
@keyframes cq-nube { from { transform: translateX(0); } to { transform: translateX(130vw); } }
@keyframes cq-bob { 0% { transform: translateY(0); } 100% { transform: translateY(calc(-3 * var(--u))); } }
@keyframes cq-chis { 0% { opacity: .95; } 100% { opacity: .15; } }
@keyframes cq-girar { to { transform: rotate(360deg); } }
@keyframes cq-cometa { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(6deg) translateY(4px); } }
@keyframes cq-flota { 50% { transform: translate(12px, -14px); } }
@keyframes cq-lat { 50% { box-shadow: 0 0 0 7px rgba(229, 72, 77, .15); } }

/* ---------- responsive ---------- */
@media (min-width: 1400px) {
  :root { --u: 4px; }
  .cq-hero-in { max-width: none; padding-left: max(24px, calc((100vw - var(--cq-wrap)) / 2 + 24px)); padding-right: 24px; }
  .cq-hero h1 { font-size: 48px; }
}
@media (max-width: 1180px) { :root { --u: 2.5px; } .cq-grid-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  :root { --u: 2px; }
  .cq-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cq-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cq-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cq-zone-art { height: 160px; }
}
@media (max-width: 760px) {
  :root { --u: calc((100vw - 32px) / 210); }
  body { font-size: 16px; }
  .cq-wrap { padding: 0 16px; }
  .cq-top .cq-wrap { height: 62px; gap: 10px; }
  .cq-brand b { font-size: 20px; } .cq-brand svg { width: 32px; height: 32px; }
  .cq-menu { display: inline-flex; }
  .cq-nav { display: none; position: absolute; left: 0; right: 0; top: 62px; background: var(--cq-bg); flex-direction: column;
            padding: 8px 16px 16px; border-bottom: 3px solid var(--cq-ink); }
  .cq-top.open .cq-nav { display: flex; }
  .cq-nav a { padding: 12px; font-size: 17px; }
  .cq-top-r .cq-btn { display: none; }
  .cq-sec { padding-top: 38px; padding-bottom: 38px; }
  .cq-grid-2, .cq-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .cq-grid-6, .cq-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cq-grid { gap: 18px 14px; }
  .cq-zone-art { height: 150px; }
  .cq-tile b { font-size: 16.5px; }
  .cq-tile > :not(.cq-art):not(.cq-badge) { margin-left: 10px; margin-right: 10px; }
  .cq-new::after, .cq-badge { right: -6px; }
  .cq-trust { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 18px; }
  .cq-trust span { font-size: 14.5px; }
  .cq-foot .cq-mail { margin-left: 0; }
  .cq-live { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 14px; }
  .cq-live-r { grid-column: 1 / -1; justify-content: space-between; }
  .cq-live h2 { font-size: 21px; }
  /* cabecera ilustrada en móvil: primero la escena (con su propio césped) y debajo el texto sobre crema */
  .cq-hero-hills, .cq-hero-ground, .cq-hero::after { display: none; }
  .cq-hero-in { display: flex; flex-direction: column; padding: 46px 16px 0; gap: 0; }
  .cq-scene { order: -1; justify-self: auto; align-self: center; }
  .cq-scene::before, .cq-scene::after { content: ""; left: -16px; right: -16px; z-index: -1; }
  .cq-hero-txt { position: relative; background: var(--cq-bg); margin: 0 -16px; padding: 22px 16px 34px; }
  .cq-hero-txt::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 16px; background: var(--cq-bg);
    -webkit-mask: var(--onda) repeat-x left bottom / 64px 16px; mask: var(--onda) repeat-x left bottom / 64px 16px; }
  .cq-hero h1 { font-size: 34px; letter-spacing: -1px; margin: 14px 0 12px; }
  .cq-mk { white-space: normal; }
  .cq-hero p { font-size: 17px; margin-bottom: 18px; }
  .cq-chip { font-size: 14.5px; padding: 8px 12px; min-height: 42px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .cq-top, .cq-foot, .cq-trust, .cq-hero-sky { display: none !important; } body { background: #fff; } }
