/* Kleverplay 2027 — hoja de estilos. Tokens y reglas en DESIGN.md */
:root {
  --tinta: #1a0f2b;
  --tinta-2: #2a1a42;
  --magenta: #d9125a;
  --magenta-osc: #b30d49;
  --magenta-viva: #f0246e;
  --sol: #ffc93c;
  --crema: #fbf6ee;
  --crema-2: #f3ebdd;
  --blanco: #fff;
  --texto: #1d1330;
  --texto-2: #5b506d;
  --texto-inv-2: #d8cfe6;
  --linea: rgba(29, 19, 48, .13);
  --linea-inv: rgba(255, 255, 255, .18);
  --titular: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --cuerpo: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mano: "Kalam", "Segoe Print", cursive;
  --radio: 22px;
  --margen: clamp(1.1rem, 4vw, 2.5rem);
  --seccion: clamp(4.5rem, 9vw, 8rem);
  --curva: cubic-bezier(.16, 1, .3, 1);
  --rebote: cubic-bezier(.34, 1.56, .64, 1);
  --sombra: 0 22px 44px -20px rgba(29, 19, 48, .4), 0 3px 8px rgba(29, 19, 48, .08);
  --sombra-foto: 0 30px 60px -24px rgba(10, 4, 20, .7), 0 4px 10px rgba(10, 4, 20, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--crema); color: var(--texto); font: 400 1.0625rem/1.6 var(--cuerpo); -webkit-font-smoothing: antialiased; accent-color: var(--magenta); overflow-x: clip; }
::selection { background: var(--magenta); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--titular); font-weight: 800; letter-spacing: -.025em; line-height: 1.02; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5.4vw, 4.1rem); }
h3 { font-size: 1.3rem; line-height: 1.15; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.ancho { width: min(1240px, 100% - 2 * var(--margen)); margin-inline: auto; }
.seccion { padding-block: var(--seccion); }
.blanca { background: var(--blanco); }
.oscura { background: var(--tinta); color: #fff; }
.entrada { max-width: 50rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.entrada.centro { margin-inline: auto; text-align: center; }
.entrada p { margin-top: 1.1rem; font-size: 1.2rem; color: var(--texto-2); max-width: 40rem; }
.entrada.centro p { margin-inline: auto; }
.oscura .entrada p, .eventos-banda .entrada p { color: var(--texto-inv-2); }
.marca { background: linear-gradient(transparent 62%, var(--sol) 62% 92%, transparent 92%); padding-inline: .08em; }
.oscura .marca, .eventos-banda .marca { background: none; color: var(--sol); padding: 0; }
.saltar { position: absolute; left: -999px; top: 0; background: var(--sol); color: var(--tinta); padding: .7rem 1rem; z-index: 100; font-weight: 600; }
.saltar:focus { left: 0; }

/* Botones */
.boton { display: inline-flex; align-items: center; gap: .6rem; padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid transparent; font: 600 1.02rem/1 var(--cuerpo); text-decoration: none; cursor: pointer; transition: transform .4s var(--rebote), background-color .2s, border-color .2s, color .2s, box-shadow .3s; }
.boton svg { width: 1.05em; height: 1.05em; transition: transform .4s var(--curva); }
.boton:hover { transform: translateY(-3px); }
.boton:hover svg { transform: translateX(5px); }
.boton:active { transform: scale(.96); }
.principal { background: var(--magenta); color: #fff; box-shadow: 0 12px 24px -10px rgba(217, 18, 90, .7); }
.principal:hover { background: var(--magenta-viva); box-shadow: 0 18px 30px -10px rgba(217, 18, 90, .8); }
.amarillo { background: var(--sol); color: var(--tinta); box-shadow: 0 12px 24px -12px rgba(255, 201, 60, .8); }
.contorno { border-color: rgba(29, 19, 48, .3); color: var(--texto); }
.contorno:hover { border-color: var(--texto); }
.oscura .contorno, .eventos-banda .contorno, .soluciones .contorno, .barra-movil .contorno { border-color: rgba(255, 255, 255, .45); color: #fff; }
.oscura .contorno:hover, .eventos-banda .contorno:hover, .soluciones .contorno:hover { border-color: #fff; }

/* Cabecera */
.cabecera { position: sticky; top: 0; z-index: 50; background: rgba(26, 15, 43, .92); backdrop-filter: blur(14px); color: #fff; }
.cabecera .ancho { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.logo img { width: 172px; height: auto; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: .15rem; }
.nav a, .nav .sub-boton { display: block; padding: .65rem .8rem; border-radius: 10px; font: 500 .97rem/1.2 var(--cuerpo); color: #fff; text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav > ul > li > a:hover, .nav .sub-boton:hover { background: rgba(255, 255, 255, .1); }
.con-sub { position: relative; }
.sub-boton::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .5em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.2em) rotate(45deg); }
.sub { position: absolute; top: 100%; left: 0; min-width: 19rem; padding: .6rem; background: var(--blanco); color: var(--texto); border-radius: 18px; box-shadow: var(--sombra); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .35s var(--curva), visibility .2s; }
.con-sub:hover .sub, .con-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub.doble { columns: 2; min-width: 33rem; }
.sub a { color: var(--texto); padding: .55rem .75rem; break-inside: avoid; }
.sub a:hover { background: var(--crema); color: var(--magenta-osc); }
.sub .todo { font-weight: 600; }
.cabecera .boton { padding: .78rem 1.2rem; font-size: .95rem; }
.idioma { font-weight: 600; }
.menu-boton { display: none; margin-left: auto; width: 2.9rem; height: 2.9rem; border-radius: 12px; border: 1px solid var(--linea-inv); background: none; color: #fff; cursor: pointer; }
.menu-boton span { display: block; width: 1.2rem; height: 2px; background: currentColor; margin: 5px auto; transition: transform .3s var(--curva), opacity .2s; }
.menu-boton[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-boton[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-boton[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; isolation: isolate; margin-top: -4.5rem; padding-block: calc(4.5rem + clamp(2.5rem, 6vw, 5rem)) clamp(4rem, 8vw, 6.5rem); color: #fff; background: var(--tinta); overflow: clip; }
.hero-fondo { position: absolute; inset: 0; z-index: -2; }
.hero-fondo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2) brightness(1.15); opacity: .9; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(26, 15, 43, .97) 0%, rgba(78, 14, 84, .86) 45%, rgba(217, 18, 90, .6) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60rem 30rem at 85% 110%, rgba(255, 201, 60, .22), transparent 60%), linear-gradient(to top, rgba(26, 15, 43, .85), transparent 40%); }
.hero .ancho { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6.3rem); line-height: .93; letter-spacing: -.04em; }
.hero h1 .fija { display: block; }
.rota { display: grid; color: var(--sol); min-height: 1.02em; white-space: nowrap; font-size: .82em; margin-top: .12em; }
.rota > span { grid-area: 1 / 1; }
.hero .bajada { margin-top: 1.6rem; font-size: clamp(1.12rem, 1.6vw, 1.32rem); color: #efe8f7; max-width: 34rem; }
.hero .acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.1rem; }
.telefono { color: #fff; font-weight: 600; text-decoration-color: var(--sol); }
.firma { display: flex; align-items: center; gap: 1rem; margin-top: 2.6rem; max-width: 35rem; }
.firma img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; border: 3px solid var(--sol); }
.firma blockquote { margin: 0; font-size: 1.04rem; line-height: 1.45; }
.firma cite { display: block; margin-top: .15rem; font: 700 1.35rem/1.2 var(--mano); color: var(--sol); }
.firma cite small { font: 400 .9rem/1.2 var(--cuerpo); color: var(--texto-inv-2); margin-left: .4rem; }

/* Mazo de polaroids */
.mazo { position: relative; width: min(100%, 27rem); aspect-ratio: 1 / 1.12; margin-inline: auto; touch-action: pan-y; }
.polaroid { position: absolute; inset: 6% 8% auto; padding: .8rem .8rem 0; background: #fff; color: var(--tinta); border-radius: 6px; box-shadow: var(--sombra-foto); rotate: var(--giro, 0deg); translate: var(--dx, 0) var(--dy, 0); transition: rotate .7s var(--rebote), translate .7s var(--rebote), scale .4s var(--curva); cursor: grab; user-select: none; -webkit-user-drag: none; will-change: translate, rotate; }
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; pointer-events: none; }
.polaroid figcaption { padding: .55rem 0 .75rem; text-align: center; font: 700 1.35rem/1.2 var(--mano); }
.polaroid::before { content: ""; position: absolute; top: -.7rem; left: 50%; width: 5.2rem; height: 1.6rem; translate: -50% 0; rotate: -3deg; background: rgba(255, 201, 60, .85); box-shadow: 0 2px 4px rgba(0, 0, 0, .15); }
.polaroid:nth-child(1) { --giro: -9deg; --dx: -11%; --dy: 7%; }
.polaroid:nth-child(2) { --giro: 7deg; --dx: 12%; --dy: 2%; }
.polaroid:nth-child(3) { --giro: -3deg; --dx: -4%; --dy: 14%; }
.polaroid:nth-child(4) { --giro: 4deg; --dx: 5%; --dy: 5%; }
.polaroid.arrastra { transition: none; cursor: grabbing; scale: 1.04; }
.polaroid.vuela { transition: translate .45s var(--curva), rotate .45s var(--curva), opacity .3s; }
.mazo-pista { position: absolute; left: 50%; bottom: -1.2rem; translate: -50% 0; font: 700 1.15rem/1 var(--mano); color: var(--sol); white-space: nowrap; rotate: -2deg; }
.mazo-pista svg { width: 1.6rem; height: 1.6rem; vertical-align: -.45rem; margin-right: .3rem; }

/* Pruebas: cifras, logos, premios */
.pruebas { background: var(--blanco); padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem); }
.cifras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.cifras dt { font: 800 clamp(2.6rem, 6vw, 4.6rem)/1 var(--titular); letter-spacing: -.04em; color: var(--magenta); font-variant-numeric: tabular-nums; }
.cifras dd { margin: .5rem auto 0; max-width: 13rem; color: var(--texto-2); line-height: 1.35; }
.cifras > div + div { border-left: 1px solid var(--linea); }
.confian { margin-top: clamp(2.5rem, 5vw, 4rem); text-align: center; color: var(--texto-2); font-weight: 500; }
.cinta { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.cinta-pista { display: flex; width: max-content; animation: cinta var(--dur, 48s) linear infinite; }
.cinta:hover .cinta-pista { animation-play-state: paused; }
.cinta.inversa .cinta-pista { animation-direction: reverse; }
@keyframes cinta { to { transform: translateX(-50%); } }
.logos { margin-top: 1.4rem; }
.logos li { flex: none; padding-inline: clamp(1.2rem, 2.6vw, 2.4rem); }
.logos ul { display: flex; align-items: center; }
.logos img { height: 44px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s, transform .4s var(--rebote); }
.logos li:hover img { filter: none; opacity: 1; transform: scale(1.12); }
.premios { margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(1.6rem, 3.5vw, 2.6rem); border-radius: 30px; background: var(--crema); display: grid; grid-template-columns: minmax(0, 17rem) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.premios h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.premios > div p { margin-top: .8rem; color: var(--texto-2); }
.premios ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.premios li { text-align: center; font-size: .9rem; line-height: 1.25; color: var(--texto-2); transition: transform .5s var(--rebote); }
.premios li:hover { transform: translateY(-6px) rotate(-2deg); }
.premios li img { width: 84px; height: 84px; object-fit: contain; margin: 0 auto .7rem; border-radius: 50%; background: #fff; padding: 8px; box-shadow: 0 10px 20px -12px rgba(29, 19, 48, .5); mix-blend-mode: multiply; }
.premios li b { display: block; color: var(--texto); font-weight: 600; }

/* Banda de palabras */
.palabras-zona { overflow: clip; padding-block: 1.5rem; margin-block: -1.5rem; position: relative; z-index: 2; }
.palabras { background: var(--magenta); color: #fff; padding-block: 1.1rem; rotate: -1.6deg; margin: clamp(1.5rem, 3vw, 2.5rem) -2rem; box-shadow: 0 20px 40px -24px rgba(217, 18, 90, .9); position: relative; z-index: 2; }
.palabras .cinta { -webkit-mask-image: none; mask-image: none; }
.palabras .cinta-pista { --dur: 36s; }
.palabras span { flex: none; font: 800 clamp(1.8rem, 4.2vw, 3.4rem)/1 var(--titular); letter-spacing: -.03em; padding-inline: 1.1rem; white-space: nowrap; }
.palabras span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.palabras i { flex: none; align-self: center; width: .9rem; height: .9rem; border-radius: 50%; background: var(--sol); }

/* Actividades */
.filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.filtros button { padding: .7rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--linea); background: var(--blanco); color: var(--texto); font: 600 .97rem/1 var(--cuerpo); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .35s var(--rebote); }
.filtros button:hover { border-color: var(--texto); transform: translateY(-2px); }
.filtros button[aria-pressed="true"] { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.baraja { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: clamp(.8rem, 1.6vw, 1.3rem); }
.act { position: relative; display: flex; flex-direction: column; border-radius: var(--radio); overflow: hidden; background: var(--blanco); color: var(--texto); text-decoration: none; box-shadow: 0 2px 0 var(--linea), var(--sombra); transition: transform .55s var(--rebote), box-shadow .5s var(--curva); }
.act-foto { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.act img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--curva); }
.act .lugar { position: absolute; z-index: 1; top: .8rem; left: .8rem; padding: .34rem .75rem; border-radius: 999px; background: var(--sol); color: var(--tinta); font: 600 .8rem/1.2 var(--cuerpo); }
.act-texto { display: flex; flex-direction: column; gap: .4rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.act-texto b { font: 800 1.3rem/1.1 var(--titular); letter-spacing: -.02em; }
.act-texto span { color: var(--texto-2); font-size: .96rem; line-height: 1.4; }
.act-texto em { margin-top: auto; padding-top: .6rem; font-style: normal; font-weight: 600; color: var(--magenta-osc); display: inline-flex; align-items: center; gap: .4rem; }
.act-texto em svg { width: 1rem; height: 1rem; transition: transform .4s var(--curva); }
.act:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: 0 2px 0 var(--linea), 0 36px 60px -26px rgba(29, 19, 48, .6); }
.act:hover img { transform: scale(1.08); }
.act:hover em svg { transform: translateX(5px); }
.act[hidden] { display: none; }
.act.grande { grid-column: span 2; grid-row: span 2; }
.act.grande .act-foto { aspect-ratio: auto; flex: 1; min-height: 16rem; }
.act.grande .act-texto { flex: none; padding: 1.5rem 1.6rem 1.6rem; }
.act.grande .act-texto b { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.act.grande .act-texto span { font-size: 1.08rem; }
.act.todas { grid-column: span 2; justify-content: center; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--tinta); color: #fff; }
.act.todas b { font: 800 clamp(1.6rem, 2.8vw, 2.3rem)/1.05 var(--titular); letter-spacing: -.025em; }
.act.todas span { margin-top: .7rem; color: var(--texto-inv-2); }
.act.todas em { margin-top: 1.2rem; font-style: normal; font-weight: 600; color: var(--sol); display: inline-flex; align-items: center; gap: .4rem; }
.act.todas em svg { width: 1.1rem; height: 1.1rem; }
.sin-resultado { grid-column: 1 / -1; color: var(--texto-2); text-align: center; }

/* Galería */
.galeria { padding-block: clamp(3rem, 6vw, 5rem) var(--seccion); overflow: hidden; }
.galeria .cinta { -webkit-mask-image: none; mask-image: none; padding-block: 1.2rem; }
.galeria .cinta-pista { --dur: 80s; gap: 1.4rem; padding-right: 1.4rem; }
.galeria .cinta + .cinta { margin-top: .2rem; }
.galeria .cinta + .cinta .cinta-pista { --dur: 95s; }
.galeria figure { flex: none; width: clamp(15rem, 24vw, 21rem); padding: .6rem .6rem 0; background: #fff; border-radius: 6px; box-shadow: var(--sombra); rotate: var(--g, -2deg); transition: rotate .5s var(--rebote), scale .5s var(--rebote); }
.galeria figure:nth-child(2n) { --g: 2.2deg; }
.galeria figure:nth-child(3n) { --g: -1deg; }
.galeria figure:hover { rotate: 0deg; scale: 1.06; z-index: 2; position: relative; }
.galeria img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.galeria figcaption { padding: .45rem 0 .6rem; text-align: center; font: 700 1.15rem/1.2 var(--mano); color: var(--tinta); }

/* Eventos */
.eventos-banda { position: relative; color: #fff; background: linear-gradient(135deg, var(--magenta) 0%, #8f0f55 55%, var(--tinta-2) 100%); padding-block: var(--seccion); }
.eventos-banda::before, .eventos-banda::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: radial-gradient(circle at 12px 0, var(--sol) 6px, transparent 6.5px) 0 0 / 24px 14px repeat-x; }
.eventos-banda::before { top: 0; }
.eventos-banda::after { bottom: 0; transform: scaleY(-1); }
.eventos-rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 1.6vw, 1.3rem); }
.evento { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radio); overflow: hidden; color: #fff; text-decoration: none; border: 2px solid rgba(255, 255, 255, .3); transition: transform .55s var(--rebote), border-color .3s; }
.evento img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--curva); }
.evento::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 15, 43, .95) 0%, rgba(26, 15, 43, .5) 38%, rgba(26, 15, 43, 0) 65%); }
.evento div { position: absolute; z-index: 1; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; }
.evento b { display: flex; align-items: center; gap: .5rem; font: 800 clamp(1.25rem, 2vw, 1.6rem)/1.1 var(--titular); letter-spacing: -.02em; }
.evento b svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--sol); transition: transform .4s var(--curva); }
.evento span { display: block; margin-top: .3rem; font-size: .95rem; color: #efe8f7; }
.evento:hover { transform: translateY(-8px) scale(1.02); border-color: var(--sol); }
.evento:hover img { transform: scale(1.08); }
.evento:hover b svg { transform: translateX(6px); }
.eventos-pie { margin-top: 2.4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.6rem; }

/* Aneta */
.aneta { display: grid; grid-template-columns: minmax(0, 25rem) 1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.aneta-foto { position: relative; isolation: isolate; }
.aneta-foto img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% 28px 50%; box-shadow: var(--sombra); }
.aneta-foto::before { content: ""; position: absolute; inset: -1.2rem 1.6rem 1.6rem -1.2rem; border-radius: 50%; background: var(--sol); z-index: -1; }
.aneta-foto::after { content: ""; position: absolute; right: -1rem; bottom: -1rem; width: 7rem; height: 7rem; border-radius: 28px; background: var(--magenta); z-index: -1; rotate: 12deg; }
.aneta .cita { font: 800 clamp(1.7rem, 3.6vw, 2.9rem)/1.1 var(--titular); letter-spacing: -.03em; text-wrap: balance; }
.aneta .bio { margin-top: 1.5rem; color: var(--texto-2); max-width: 37rem; font-size: 1.1rem; }
.aneta .nombre { margin-top: 1.4rem; font: 700 2rem/1.1 var(--mano); color: var(--magenta-osc); }
.aneta .nombre span { display: block; margin-top: .2rem; font: 500 1rem/1.3 var(--cuerpo); color: var(--texto-2); }
.aneta .boton { margin-top: 1.6rem; }

/* Casos: tarjetas que se apilan */
.casos { display: grid; gap: 1.5rem; }
.caso { position: sticky; top: calc(5.5rem + var(--n) * 1.1rem); display: grid; grid-template-columns: .85fr 1.15fr; border-radius: 30px; overflow: hidden; background: var(--tinta-2); border: 1px solid var(--linea-inv); box-shadow: 0 -20px 40px -24px rgba(0, 0, 0, .8); }
.caso:nth-child(2) { background: #3a1a52; }
.caso:nth-child(3) { background: #561547; }
.caso img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; }
.caso > div { padding: clamp(1.6rem, 4vw, 3.2rem); align-self: center; }
.caso .cifra { font: 800 clamp(4rem, 10vw, 8rem)/.85 var(--titular); letter-spacing: -.05em; color: var(--sol); font-variant-numeric: tabular-nums; }
.caso .cifra small { display: block; margin-top: .7rem; font: 700 1.5rem/1.1 var(--mano); letter-spacing: 0; color: #fff; }
.caso h3 { margin-top: 1.4rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.caso p:last-child { margin-top: .7rem; color: var(--texto-inv-2); max-width: 34rem; }
.despues { margin-top: 2.5rem; text-align: center; }

/* Pasos */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 2rem); counter-reset: paso; }
.pasos li { counter-increment: paso; position: relative; padding: 2.6rem 1.8rem 1.9rem; border-radius: var(--radio); background: var(--crema); transition: transform .5s var(--rebote); }
.pasos li:nth-child(1) { rotate: -1.2deg; }
.pasos li:nth-child(3) { rotate: 1.2deg; }
.pasos li:hover { transform: translateY(-8px); }
.pasos li::before { content: counter(paso); position: absolute; top: -1.4rem; left: 1.6rem; display: grid; place-content: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--magenta); color: #fff; font: 800 1.6rem/1 var(--titular); box-shadow: 0 10px 20px -8px rgba(217, 18, 90, .7); }
.pasos p { margin-top: .6rem; color: var(--texto-2); }

/* Ciudades */
.ciudades { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ciudades-lista { display: flex; flex-wrap: wrap; gap: .7rem; }
.ciudades-lista a { display: block; padding: .9rem 1.4rem; border-radius: 999px; background: var(--blanco); border: 1.5px solid var(--linea); text-decoration: none; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s, transform .4s var(--rebote); }
.ciudades-lista li:nth-child(odd) a { rotate: -1.5deg; }
.ciudades-lista li:nth-child(even) a { rotate: 1.5deg; }
.ciudades-lista a:hover { background: var(--tinta); border-color: var(--tinta); color: #fff; transform: translateY(-4px) scale(1.05); }
.ciudades-lista .base { background: var(--magenta); border-color: var(--magenta); color: #fff; font-size: 1.2rem; padding: 1.1rem 1.7rem; }
.ciudades .texto p { color: var(--texto-2); font-size: 1.12rem; margin-top: 1.1rem; }

/* Opiniones */
.opiniones { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.4vw, 2rem); }
.opiniones figure { position: relative; padding: clamp(1.8rem, 3.4vw, 2.8rem); border-radius: var(--radio); background: var(--crema); }
.opiniones figure:nth-child(2) { background: var(--tinta); color: #fff; }
.estrellas { display: flex; gap: .2rem; margin-bottom: 1rem; color: var(--sol); }
.estrellas svg { width: 1.3rem; height: 1.3rem; }
.opiniones figure:first-child .estrellas { color: #f2a900; }
.opiniones blockquote { margin: 0; font: 800 clamp(1.3rem, 2.3vw, 1.8rem)/1.2 var(--titular); letter-spacing: -.02em; }
.opiniones figcaption { margin-top: 1.3rem; display: flex; align-items: center; gap: .9rem; color: var(--texto-2); }
.opiniones figure:nth-child(2) figcaption { color: var(--texto-inv-2); }
.opiniones figcaption img { height: 34px; width: auto; border-radius: 6px; background: #fff; padding: 3px 6px; }
.opiniones figcaption b { color: inherit; }

/* Soluciones */
.soluciones { position: relative; border-radius: 34px; padding: clamp(2rem, 5vw, 4rem); background: var(--tinta); color: #fff; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.soluciones::before { content: ""; position: absolute; right: -8rem; top: -8rem; width: 28rem; height: 28rem; border-radius: 50%; background: linear-gradient(135deg, #21d4fd, #b721ff); opacity: .35; filter: blur(60px); }
.soluciones > * { position: relative; }
.soluciones h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.soluciones p { margin-top: 1rem; color: var(--texto-inv-2); }
.soluciones .boton { margin-top: 1.6rem; }
.soluciones ul { display: grid; gap: .6rem; }
.soluciones li a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 1.3rem; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid var(--linea-inv); text-decoration: none; font-weight: 600; transition: background-color .2s, transform .4s var(--curva); }
.soluciones li a:hover { background: rgba(255, 255, 255, .16); transform: translateX(6px); }
.soluciones li svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--sol); }

/* Preguntas */
.preguntas { max-width: 54rem; margin-inline: auto; }
.preguntas details { border-radius: 18px; background: var(--crema); margin-bottom: .7rem; transition: background-color .2s; }
.preguntas details[open] { background: var(--crema-2); }
.preguntas summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.3rem 1.5rem; cursor: pointer; list-style: none; font: 700 clamp(1.1rem, 1.8vw, 1.3rem)/1.25 var(--titular); letter-spacing: -.01em; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; flex: none; display: grid; place-content: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--magenta); color: #fff; font: 600 1.5rem/1 var(--cuerpo); transition: rotate .4s var(--rebote); }
.preguntas details[open] summary::after { rotate: 45deg; }
.preguntas details p { padding: 0 1.5rem 1.5rem; color: var(--texto-2); max-width: 46rem; }

/* Presupuesto */
.final { position: relative; isolation: isolate; overflow: clip; }
.final::before { content: ""; position: absolute; z-index: -1; left: -10rem; bottom: -14rem; width: 36rem; height: 36rem; border-radius: 50%; background: var(--magenta); opacity: .5; filter: blur(90px); }
.presupuesto { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.presupuesto h2 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.presupuesto .texto p { margin-top: 1.2rem; color: var(--texto-inv-2); font-size: 1.15rem; max-width: 30rem; }
.contacto { margin-top: 2rem; display: grid; gap: .9rem; }
.contacto a { color: #fff; font-weight: 600; text-decoration-color: var(--sol); }
.contacto span { display: block; font-size: .9rem; color: var(--texto-inv-2); }
.formulario { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 30px; background: var(--blanco); color: var(--texto); box-shadow: var(--sombra-foto); rotate: .6deg; }
.campo { display: grid; gap: .4rem; }
.campo.todo { grid-column: 1 / -1; }
.campo label { font-weight: 600; font-size: .95rem; }
.campo input, .campo select, .campo textarea { width: 100%; padding: .9rem 1rem; border-radius: 12px; border: 1.5px solid rgba(29, 19, 48, .22); background: var(--blanco); color: var(--texto); font: 400 1rem/1.3 var(--cuerpo); }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 3px solid rgba(217, 18, 90, .25); border-color: var(--magenta); }
.campo textarea { min-height: 6.5rem; resize: vertical; }
.acepto { grid-column: 1 / -1; display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; color: var(--texto-2); }
.acepto input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: none; }
.formulario .boton { grid-column: 1 / -1; justify-content: center; padding-block: 1.15rem; font-size: 1.08rem; }
.nota-form { grid-column: 1 / -1; font-size: .9rem; color: var(--texto-2); text-align: center; }

/* Pie */
.pie { background: #110920; color: var(--texto-inv-2); padding-block: clamp(3rem, 6vw, 4.5rem) 6rem; font-size: .97rem; }
.pie-cols { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 2rem; }
.pie h2 { font: 700 1rem/1.3 var(--titular); letter-spacing: 0; color: #fff; margin-bottom: .9rem; }
.pie li + li { margin-top: .5rem; }
.pie a { text-decoration: none; }
.pie a:hover { color: #fff; text-decoration: underline; }
.pie .logo img { margin-bottom: 1rem; }
.legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--linea-inv); display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between; font-size: .9rem; }
.legal ul { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.legal li + li { margin-top: 0; }
.barra-movil { display: none; }

/* Movimiento: solo si el visitante no ha pedido reducirlo */
@media (prefers-reduced-motion: no-preference) {
  .rota > span { opacity: 0; animation: rota 10s var(--curva) infinite; animation-delay: calc(var(--i) * 2.5s); }
  @keyframes rota {
    0% { opacity: 0; translate: 0 .5em; }
    4%, 22% { opacity: 1; translate: 0 0; }
    26%, 100% { opacity: 0; translate: 0 -.5em; }
  }
  .mazo-pista { animation: late 2.4s ease-in-out infinite; }
  @keyframes late { 50% { translate: -50% -6px; } }

  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .sube { animation: sube auto linear both; animation-timeline: view(); animation-range: entry 5% entry 70%; }
    @keyframes sube { from { opacity: 0; translate: 0 3rem; scale: .96; } }
    .hero-fondo img { animation: aleja auto linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes aleja { to { scale: 1.18; translate: 0 6%; } }
    .palabras { animation: endereza auto linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    @keyframes endereza { from { rotate: -5deg; } }
    .aneta-foto::before { animation: orbita auto linear both; animation-timeline: view(); }
    @keyframes orbita { from { translate: -2rem 2rem; } to { translate: 1.5rem -1.5rem; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rota > span:not(:first-child) { display: none; }
  .cinta-pista { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .cinta-pista [aria-hidden="true"] { display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media (max-width: 1060px) {
  .menu-boton { display: block; }
  .nav { position: fixed; inset: 4.5rem 0 0; margin: 0; padding: 1rem var(--margen) 7rem; background: var(--tinta); overflow-y: auto; display: none; }
  .nav.abierta { display: block; }
  .nav > ul { display: block; }
  .nav > ul > li { border-bottom: 1px solid var(--linea-inv); }
  .nav a, .nav .sub-boton { padding: 1rem .25rem; font-size: 1.1rem; width: 100%; text-align: left; }
  .sub, .sub.doble { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0 0 .8rem .8rem; min-width: 0; columns: 1; display: none; }
  .con-sub.abierta .sub { display: block; }
  .sub a { color: var(--texto-inv-2); padding: .6rem .25rem; font-size: 1rem; }
  .sub a:hover { background: none; color: #fff; }
  .cabecera .ancho > .boton { display: none; }
  .baraja { grid-template-columns: repeat(3, 1fr); }
  .premios { grid-template-columns: 1fr; }
  .pie-cols { grid-template-columns: 1fr 1fr 1fr; }
  .pie-cols > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .hero .ancho, .aneta, .ciudades, .soluciones, .presupuesto, .caso { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 3.8rem); }
  .mazo { width: min(100%, 20rem); margin-top: 1rem; }
  .cifras { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
  .cifras > div:nth-child(3) { border-left: 0; }
  .premios ul { grid-template-columns: repeat(3, 1fr); gap: 1.4rem 1rem; }
  .baraja { grid-template-columns: repeat(2, 1fr); }
  .act-texto { padding: .85rem .9rem 1rem; }
  .act-texto b { font-size: 1.08rem; }
  .act-texto span { font-size: .88rem; }
  .act.grande .act-foto { min-height: 13rem; }
  .eventos-rejilla { grid-template-columns: repeat(2, 1fr); }
  .evento { aspect-ratio: 1; }
  .evento span { display: none; }
  .evento div { left: .8rem; right: .8rem; bottom: .8rem; }
  .aneta-foto { max-width: 17rem; margin-inline: auto; }
  .caso img { min-height: 12rem; max-height: 14rem; }
  .pasos { grid-template-columns: 1fr; gap: 2.4rem; }
  .pasos li { rotate: 0deg !important; }
  .opiniones, .formulario { grid-template-columns: 1fr; }
  .formulario { rotate: 0deg; }
  .pie-cols { grid-template-columns: 1fr 1fr; }
  .barra-movil { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: auto 1fr; gap: .6rem; padding: .7rem var(--margen) calc(.7rem + env(safe-area-inset-bottom)); background: var(--tinta); border-top: 1px solid var(--linea-inv); }
  .barra-movil .boton { justify-content: center; padding: .9rem 1.1rem; box-shadow: none; }
}

/* ---------- Cabecera mejorada (hero) ---------- */
.hero { min-height: min(100svh, 58rem); display: flex; align-items: center; }
.hero-fondo img { filter: grayscale(1) contrast(1.15) brightness(1.1); opacity: 1; object-position: 60% 30%; }
.hero::before { background: linear-gradient(100deg, rgba(26, 15, 43, .97) 0%, rgba(86, 12, 84, .9) 40%, rgba(217, 18, 90, .62) 72%, rgba(217, 18, 90, .45) 100%); }
.hero h1 { text-shadow: 0 4px 34px rgba(10, 4, 20, .45); }
.rota { font-size: .86em; }
.hero-sellos { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.hero-sellos li { padding: .5rem .9rem; border-radius: 999px; background: rgba(26, 15, 43, .55); border: 1px solid rgba(255, 255, 255, .28); font-size: .95rem; color: #efe8f7; backdrop-filter: blur(6px); }
.hero-sellos b { color: var(--sol); font-family: var(--titular); font-weight: 800; }
.firma { margin-top: 1.6rem; }
.mazo { width: min(100%, 28rem); }
.polaroid:nth-child(5) { --giro: -2.5deg; --dx: 1%; --dy: 8%; }
.polaroid video { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 2px; background: #000; pointer-events: none; display: block; }
.polaroid.video figcaption { color: var(--magenta-osc); }
@media (max-width: 760px) {
  .hero { min-height: 0; display: block; }
  .hero-sellos li { font-size: .88rem; padding: .42rem .75rem; }
  .mazo { width: min(100%, 21rem); }
}

/* ---------- Medallas de premios dibujadas (sin imágenes) y línea que rota fuera del H1 ---------- */
.medalla { position: relative; display: grid; place-content: center; width: 78px; height: 78px; margin: 0 auto 1.4rem; border-radius: 50%; background: var(--tinta); color: var(--sol); font: 800 1.15rem/1 var(--titular); letter-spacing: -.02em; box-shadow: 0 0 0 4px var(--crema), 0 0 0 6px var(--sol), 0 12px 20px -10px rgba(29, 19, 48, .6); }
.medalla::before, .medalla::after { content: ""; position: absolute; z-index: -1; top: 78%; width: 18px; height: 30px; background: var(--magenta); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%); }
.medalla::before { left: 16px; rotate: 14deg; }
.medalla::after { right: 16px; rotate: -14deg; }
.premios li { isolation: isolate; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6.3rem); }
p.rota { margin: .08em 0 0; font: 800 clamp(2.5rem, 6.2vw, 5.3rem)/.98 var(--titular); letter-spacing: -.04em; }

/* Trofeo en la esquina del bloque de premios */
.premios { position: relative; }
.trofeo { position: absolute; top: -1.6rem; right: -1.2rem; width: 5rem; height: 5rem; display: grid; place-content: center; border-radius: 50%; background: var(--sol); color: var(--tinta); rotate: 10deg; box-shadow: 0 0 0 5px var(--blanco), 0 14px 24px -10px rgba(29, 19, 48, .55); }
.trofeo svg { width: 2.7rem; height: 2.7rem; }
@media (max-width: 760px) { .trofeo { width: 3.8rem; height: 3.8rem; top: -1.3rem; right: -.4rem; } .trofeo svg { width: 2.1rem; height: 2.1rem; } }

/* ---------- Notas de prensa ---------- */
.prensa { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: clamp(.9rem, 1.8vw, 1.4rem); max-width: 58rem; margin-inline: auto; }
.prensa a { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radio); background: var(--crema); color: var(--texto); text-decoration: none; border: 1.5px solid var(--linea); transition: transform .45s var(--rebote), box-shadow .4s var(--curva), border-color .2s; }
.prensa a:hover { transform: translateY(-6px); border-color: var(--magenta); box-shadow: var(--sombra); }
.prensa .medio { font: 800 clamp(1.5rem, 2.6vw, 2rem)/1 var(--titular); letter-spacing: -.03em; }
.prensa .tipo { font-size: .88rem; color: var(--texto-2); }
.prensa b { margin-top: .5rem; font: 700 1.15rem/1.3 var(--titular); letter-spacing: -.01em; }
.prensa em { margin-top: auto; padding-top: .8rem; font-style: normal; font-weight: 600; color: var(--magenta-osc); display: inline-flex; align-items: center; gap: .4rem; }
.prensa em svg { width: 1rem; height: 1rem; transition: transform .4s var(--curva); }
.prensa a:hover em svg { transform: translateX(5px); }

/* Sellos de premios como imagen: el año, quién lo concede y por qué van dentro de la imagen */
.premios ul { gap: .4rem; align-items: start; }
.premios li img.sello { width: 100%; max-width: 11rem; height: auto; margin: 0 auto; padding: 0; border-radius: 0; background: none; box-shadow: none; mix-blend-mode: normal; object-fit: contain; }
@media (max-width: 760px) { .premios ul { grid-template-columns: repeat(2, 1fr); gap: 1rem .4rem; } }

/* Bloque de premios: titular arriba y los seis sellos a todo el ancho, para que su texto se lea */
.premios { grid-template-columns: 1fr; text-align: center; gap: clamp(1.4rem, 3vw, 2.2rem); }
.premios > div p { margin-inline: auto; }
.premios li img.sello { max-width: 12.5rem; }

/* ---------- Orden alterno: menos texto seguido antes de las fotos ---------- */
.pruebas { padding-bottom: clamp(1.2rem, 2.5vw, 2rem); }
#actividades { padding-top: clamp(2.2rem, 4.5vw, 3.6rem); }
#premios { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 2vw, 1.5rem); }
#premios .premios { margin-top: 0; }
.galeria { padding-top: clamp(2.5rem, 5vw, 4rem); }
#como .pasos li { background: var(--blanco); }

/* El mazo arranca a la altura del titular en lugar de centrarse con toda la columna de texto */
@media (min-width: 761px) {
  .mazo { align-self: start; margin-top: clamp(0rem, 2vh, 1.5rem); }
}

/* Prensa: con cinco entradas, la primera (televisión) ocupa todo el ancho y las otras cuatro van de dos en dos */
@media (min-width: 761px) { .prensa li:first-child { grid-column: 1 / -1; } }

/* ---------- Prensa compacta: una fila por medio en lugar de tarjetas ---------- */
#prensa { padding-block: 0 clamp(2.5rem, 5vw, 4rem); }
#prensa .entrada { margin-bottom: 1.2rem; }
#prensa h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.prensa { display: block; max-width: 60rem; }
.prensa li { border-top: 1px solid var(--linea); }
.prensa li:last-child { border-bottom: 1px solid var(--linea); }
.prensa a { display: grid; grid-template-columns: 11.5rem 1fr auto; grid-template-rows: auto auto; column-gap: 1.4rem; row-gap: .1rem; align-items: center; height: auto; padding: .7rem .5rem; border: 0; border-radius: 10px; background: none; }
.prensa a:hover { transform: none; box-shadow: none; background: var(--crema); }
.prensa .medio { grid-area: 1 / 1; font-size: 1.1rem; letter-spacing: -.02em; }
.prensa .tipo { grid-area: 2 / 1; font-size: .78rem; line-height: 1.25; }
.prensa b { grid-area: 1 / 2 / 3 / 3; margin: 0; font: 500 .98rem/1.35 var(--cuerpo); letter-spacing: 0; }
.prensa em { grid-area: 1 / 3 / 3 / 4; margin: 0; padding: 0; font-size: 0; }
.prensa em svg { width: 1.15rem; height: 1.15rem; }
@media (max-width: 760px) {
  .prensa a { grid-template-columns: 1fr auto; padding: .75rem .2rem; }
  .prensa .medio { grid-area: 1 / 1; }
  .prensa .tipo { grid-area: 2 / 1; }
  .prensa b { grid-area: 3 / 1; margin-top: .25rem; font-size: .95rem; }
  .prensa em { grid-area: 1 / 2 / 4 / 3; }
}

/* ==================== Ronda 1 de páginas interiores (25-11-2026) ==================== */

/* ---------- Menú con grupos (Actividades y Online) ---------- */
.cabecera .ancho { position: relative; }
.con-sub.ancha { position: static; }
.sub.mega { left: 0; right: 0; min-width: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem 1.4rem; padding: 1.2rem 1.3rem 1.3rem; }
.sub.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -1.4rem; height: 1.4rem; }
.nav .grupo-t { display: block; margin: 0 0 .35rem; padding: .3rem .75rem .55rem; border-radius: 0; border-bottom: 2px solid var(--sol); font: 700 1.02rem/1.2 var(--titular); letter-spacing: -.01em; color: var(--texto); }
.nav a.grupo-t:hover { color: var(--magenta-osc); background: none; }
.grupo ul a { padding-block: .42rem; font-size: .93rem; }
.grupo.doble ul { columns: 2; column-gap: .6rem; }
.grupo.doble { grid-column: span 1; }
.sub.mega:has(.grupo.doble) { grid-template-columns: 1fr 1.05fr 1.9fr; }
.grupo .todo { display: inline-flex; align-items: center; gap: .45rem; margin-top: .7rem; padding: .7rem 1rem; border-radius: 999px; background: var(--tinta); color: #fff; font-size: .93rem; }
.grupo .todo:hover { background: var(--magenta); color: #fff; }
.grupo .todo svg { width: 1rem; height: 1rem; }

/* ---------- Cabecera de página interior ---------- */
.hero.interior { min-height: 0; display: block; padding-block: calc(4.5rem + clamp(2rem, 4.5vw, 3.6rem)) clamp(4.5rem, 8vw, 6.5rem); }
.hero.interior .ancho { grid-template-columns: 1.15fr .85fr; align-items: center; }
.hero.interior.solo .ancho { grid-template-columns: minmax(0, 54rem); }
.hero.interior h1 { font-size: clamp(2.3rem, 4.9vw, 4rem); line-height: 1; letter-spacing: -.035em; }
.hero.interior .bajada { margin-top: 1.3rem; max-width: 46rem; }
.hero.interior .bajada strong { color: #fff; }
.miga { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.2rem; font-size: .93rem; color: var(--texto-inv-2); }
.miga a { text-decoration: none; color: var(--texto-inv-2); }
.miga a:hover { color: #fff; text-decoration: underline; }
.miga [aria-current] { color: var(--sol); font-weight: 600; }
.foto-hero { justify-self: center; width: min(100%, 30rem); padding: .8rem .8rem 0; background: #fff; border-radius: 6px; box-shadow: var(--sombra-foto); rotate: 2.5deg; position: relative; }
.foto-hero::before { content: ""; position: absolute; top: -.7rem; left: 50%; width: 5.6rem; height: 1.6rem; translate: -50% 0; rotate: -3deg; background: rgba(255, 201, 60, .88); box-shadow: 0 2px 4px rgba(0, 0, 0, .15); }
.foto-hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.foto-hero figcaption { padding: .55rem 0 .75rem; text-align: center; font: 700 1.5rem/1.2 var(--mano); color: var(--tinta); }

/* ---------- Marcador de datos de la actividad ---------- */
.marcador-zona { position: relative; z-index: 3; margin-top: clamp(-3.4rem, -5vw, -2.4rem); }
.marcador { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); margin: 0; border-radius: var(--radio); background: var(--blanco); box-shadow: var(--sombra); overflow: hidden; }
.marcador > div { padding: 1.15rem 1.3rem 1.25rem; border-left: 1px solid var(--linea); }
.marcador > div:first-child { border-left: 0; }
.marcador dt { font-size: .84rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--magenta-osc); }
.marcador dd { margin: .3rem 0 0; font: 700 1.14rem/1.25 var(--titular); letter-spacing: -.015em; }

/* ---------- Texto de la ficha ---------- */
.ficha { padding-top: clamp(2.6rem, 5vw, 4rem); }
.ficha-cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) 19.5rem; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.prosa { max-width: 46rem; font-size: 1.1rem; }
.prosa.ancha { max-width: 54rem; margin-inline: auto; }
.prosa > :first-child { margin-top: 0; }
.prosa p { margin-top: 1.05rem; }
.prosa h2 { margin-top: 2.8rem; font-size: clamp(1.6rem, 2.9vw, 2.15rem); line-height: 1.08; }
.prosa h2 + p { margin-top: .9rem; }
.prosa a { color: var(--magenta-osc); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(217, 18, 90, .45); }
.prosa a:hover { text-decoration-color: currentColor; }
.prosa strong { font-weight: 600; }
.prosa .puntos { margin-top: 1rem; display: grid; gap: .55rem; }
.prosa .puntos li { position: relative; padding-left: 1.7rem; }
.prosa .puntos li::before { content: ""; position: absolute; left: .15rem; top: .55em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--sol); box-shadow: 0 0 0 2px var(--tinta); }
.pasos-lista { margin-top: 1.4rem; display: grid; gap: .9rem; counter-reset: paso; }
.pasos-lista > li { counter-increment: paso; position: relative; padding: 1.1rem 1.3rem 1.2rem 4.3rem; border-radius: 18px; background: var(--blanco); box-shadow: 0 2px 0 var(--linea); }
.blanca .pasos-lista > li { background: var(--crema); }
.pasos-lista > li::before { content: counter(paso); position: absolute; left: 1.1rem; top: 1.05rem; display: grid; place-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--magenta); color: #fff; font: 800 1.15rem/1 var(--titular); }
.pasos-lista p { margin: 0; }
.prosa .foto, .fotos-par, .prosa .video { margin-top: 1.8rem; }
.prosa .foto img, .fotos-par img { width: 100%; border-radius: 16px; box-shadow: var(--sombra); }
.fotos-par { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fotos-par img { aspect-ratio: 3 / 2; object-fit: cover; }
.fotos-par img:first-child { rotate: -1.2deg; }
.fotos-par img:last-child { rotate: 1.2deg; }
.prosa .video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; box-shadow: var(--sombra); }
.prosa .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cta-medio { margin-top: 1.8rem; }
.prosa .cta-medio a, .prosa a.boton { color: #fff; text-decoration: none; }
.encaja { margin-top: 1.3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.encaja > div { padding: 1.3rem 1.4rem 1.4rem; border-radius: 18px; background: var(--blanco); border-top: 5px solid var(--sol); box-shadow: 0 2px 0 var(--linea); }
.encaja .no { border-top-color: var(--texto-2); background: var(--crema-2); }
.encaja strong { font: 700 1.15rem/1.2 var(--titular); }

/* Tarjeta lateral que acompaña la lectura */
.lateral { position: sticky; top: 6rem; padding: 1.6rem 1.5rem 1.5rem; border-radius: var(--radio); background: var(--tinta); color: #fff; box-shadow: var(--sombra); rotate: .8deg; }
.lateral-t { font: 800 1.45rem/1.1 var(--titular); letter-spacing: -.02em; }
.lateral ul { margin-top: 1.1rem; display: grid; gap: .7rem; }
.lateral li { font-weight: 600; line-height: 1.3; }
.lateral li span { display: block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--sol); }
.lateral .boton { margin-top: 1.4rem; width: 100%; justify-content: center; }
.lateral-tel { margin-top: .9rem; text-align: center; font-size: .95rem; color: var(--texto-inv-2); }
.lateral-tel a { color: #fff; font-weight: 600; text-decoration-color: var(--sol); }

/* ---------- Tabla comparativa ---------- */
.tabla-caja { margin-top: 1.4rem; overflow-x: auto; border-radius: 18px; box-shadow: 0 0 0 1px var(--linea); background: var(--blanco); }
.tabla { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: .98rem; line-height: 1.35; }
.tabla th { padding: .9rem 1rem; background: var(--tinta); color: #fff; text-align: left; font: 700 .95rem/1.2 var(--titular); }
.tabla td { padding: .8rem 1rem; border-top: 1px solid var(--linea); vertical-align: top; }
.tabla tbody tr:nth-child(even) td { background: var(--crema); }
.tabla-sub { font-size: .85rem; color: var(--texto-2); }

/* ---------- Fotos de la actividad ---------- */
.collage-zona { padding-block: 0 var(--seccion); }
.collage { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 1.8vw, 1.4rem); }
.collage figure { padding: .5rem; background: #fff; border-radius: 6px; box-shadow: var(--sombra); rotate: -1.6deg; transition: rotate .5s var(--rebote), scale .5s var(--rebote); }
.collage figure:nth-child(even) { rotate: 1.6deg; translate: 0 .8rem; }
.collage figure:hover { rotate: 0deg; scale: 1.05; z-index: 2; position: relative; }
.collage img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }

/* ---------- Varios ---------- */
.h2-menor { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.baraja.tres { grid-template-columns: repeat(3, 1fr); }
.act-texto small { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--magenta-osc); }
.act-texto .dato { margin-top: .2rem; font-weight: 600; font-size: .9rem; color: var(--texto); }
.entrada > p:first-child { margin-top: 0; }

@media (max-width: 1060px) {
  .con-sub.ancha { position: relative; }
  .sub.mega, .sub.mega:has(.grupo.doble) { display: none; grid-template-columns: 1fr; gap: 0; padding: 0 0 .8rem .8rem; }
  .con-sub.abierta .sub.mega { display: block; }
  .sub.mega::before { display: none; }
  .grupo { margin-top: .9rem; }
  .nav .grupo-t { color: var(--sol); border-bottom-color: var(--linea-inv); padding-inline: .25rem; font-size: 1rem; width: auto; }
  .nav a.grupo-t { color: var(--sol); }
  .grupo.doble ul { columns: 1; }
  .grupo .todo { background: var(--magenta); width: auto; display: inline-flex; padding: .8rem 1.1rem; }
  .ficha-cuerpo { grid-template-columns: minmax(0, 1fr); }
  .lateral { display: none; }
  .prosa { max-width: none; }
}
@media (max-width: 760px) {
  .hero.interior { padding-block: calc(4.5rem + 1.6rem) 4.2rem; }
  .hero.interior .ancho { grid-template-columns: 1fr; }
  .hero.interior h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .foto-hero { width: min(100%, 22rem); margin-top: 1.4rem; }
  .marcador { grid-template-columns: 1fr 1fr; }
  .marcador > div { border-left: 0; border-top: 1px solid var(--linea); padding: .9rem 1rem; }
  .marcador > div:nth-child(even) { border-left: 1px solid var(--linea); }
  .marcador > div:nth-child(-n+2) { border-top: 0; }
  .prosa { font-size: 1.03rem; }
  .fotos-par, .encaja { grid-template-columns: 1fr; }
  .collage { grid-template-columns: 1fr 1fr; }
  .baraja.tres { grid-template-columns: 1fr; }
  .pasos-lista > li { padding: 1rem 1rem 1.1rem 3.6rem; }
  .pasos-lista > li::before { left: .8rem; width: 2.1rem; height: 2.1rem; }
}

/* El desenfoque de la cabecera convierte la cabecera en caja de referencia del menú fijo y lo deja sin altura.
   En móvil y tableta la cabecera va opaca para que el menú abierto ocupe toda la pantalla. */
@media (max-width: 1060px) {
  .cabecera { backdrop-filter: none; background: var(--tinta); }
}

/* Formulario: cebo contra robots, errores por campo y aviso de envío */
.cebo { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.campo .error { font-size: .88rem; font-weight: 600; color: #b3261e; }
.campo [aria-invalid="true"] { border-color: #b3261e; }
.aviso-form { grid-column: 1 / -1; padding: .9rem 1rem; border-radius: 12px; background: #fdecea; color: #7a1a14; font-size: .95rem; }
.aviso-form a { font-weight: 600; }
.formulario .boton[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Página actual marcada en el menú; imágenes con medidas que no se deforman */
.sub a[aria-current="page"] { color: var(--magenta-osc); font-weight: 600; }
.nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--sol); border-radius: 0; }
img[width][height] { height: auto; }
.logos img[width][height] { height: 44px; }
@media (max-width: 1060px) { .sub a[aria-current="page"] { color: var(--sol); } }

/* Autoría al final del texto de la ficha */
.prosa .autoria { display: flex; align-items: center; gap: .9rem; margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--linea); font-size: 1rem; color: var(--texto-2); }
.autoria img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--sol); }
.autoria strong { color: var(--texto); }

/* ---------- Páginas de evento ---------- */
.prosa h3 { margin-top: 1.9rem; font-size: 1.3rem; }
.prosa h3 + p { margin-top: .6rem; }
.resumen { margin-top: 1.6rem; padding: 1.3rem 1.5rem 1.5rem; border-radius: var(--radio); background: var(--blanco); border-left: 6px solid var(--sol); box-shadow: 0 2px 0 var(--linea); }
.resumen-t { margin: 0; font: 700 1.25rem/1.2 var(--mano); color: var(--magenta-osc); }
.prosa .resumen .puntos { margin-top: .7rem; }
.prosa .foto figcaption { margin-top: .6rem; font-size: .93rem; color: var(--texto-2); text-align: center; }
.guias-zona { padding-block: 0 var(--seccion); background: var(--blanco); }
.guias { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: .8rem; }
.guias a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; padding: 1.1rem 1.3rem; border-radius: 18px; background: var(--crema); border: 1.5px solid var(--linea); text-decoration: none; font-weight: 600; line-height: 1.3; transition: border-color .2s, transform .4s var(--rebote); }
.guias a:hover { border-color: var(--magenta); transform: translateY(-3px); }
.guias svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--magenta); }
.eventos-banda .h2-menor { color: #fff; }

/* Galería de espacios: una foto por sitio, con su nombre */
.galeria-espacios { margin-top: 1.8rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.galeria-espacios figure { background: var(--blanco); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 0 var(--linea), var(--sombra); }
.galeria-espacios img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.galeria-espacios figcaption { padding: .7rem .9rem .8rem; font: 700 1.02rem/1.2 var(--titular); letter-spacing: -.01em; }
@media (max-width: 760px) { .galeria-espacios { grid-template-columns: 1fr 1fr; gap: .7rem; } .galeria-espacios figcaption { font-size: .92rem; padding: .55rem .7rem .65rem; } }

/* Bloque destacado de karaoke en la ficha de Furor */
.karaoke { position: relative; margin: 2.6rem 0 2.2rem; padding: 2rem 2rem 2.1rem; border-radius: 22px; background: var(--tinta); color: var(--blanco); overflow: hidden; box-shadow: 8px 8px 0 var(--sol); }
.karaoke::before { content: "♪"; position: absolute; right: 1.2rem; top: -1.6rem; font: 700 11rem/1 var(--titular); color: var(--magenta); opacity: .55; transform: rotate(12deg); pointer-events: none; }
.karaoke .karaoke-sobre { position: relative; margin: 0; display: inline-block; padding: .25rem .8rem; border-radius: 999px; background: var(--sol); color: var(--tinta); font: 700 .82rem/1.4 var(--titular); letter-spacing: .04em; text-transform: uppercase; }
.prosa .karaoke h2, .karaoke h2 { position: relative; margin: .9rem 0 0; color: var(--blanco); max-width: 18ch; }
.karaoke .karaoke-lema { position: relative; margin: .8rem 0 0; font: 700 1.5rem/1.25 var(--mano); color: var(--sol); max-width: 30ch; }
.karaoke .karaoke-lista { position: relative; list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.karaoke .karaoke-lista li { margin: 0; padding: .9rem 1rem 1rem; border-radius: 14px; background: var(--tinta-2); border: 1px solid var(--linea-inv); }
.karaoke .karaoke-lista li::before { content: none; }
.karaoke .karaoke-lista b { display: block; font: 700 1.05rem/1.2 var(--titular); color: var(--blanco); }
.karaoke .karaoke-lista span { display: block; margin-top: .3rem; font-size: .95rem; line-height: 1.45; color: var(--texto-inv-2); }
@media (max-width: 620px) { .karaoke { padding: 1.5rem 1.2rem 1.6rem; box-shadow: 5px 5px 0 var(--sol); } .karaoke .karaoke-lista { grid-template-columns: 1fr; } .karaoke .karaoke-lema { font-size: 1.3rem; } .karaoke::before { font-size: 8rem; } }

/* Variante con foto del bloque destacado (ruta de tapas en la ficha de gymkana) */
.karaoke.tapas::before { content: none; }
.karaoke.tapas > img { display: block; width: calc(100% + 4rem); max-width: none; margin: -2rem -2rem 1.6rem; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 0; }
.prosa .karaoke.tapas h2, .karaoke.tapas h2 { max-width: 22ch; }
@media (max-width: 620px) { .karaoke.tapas > img { width: calc(100% + 2.4rem); margin: -1.5rem -1.2rem 1.3rem; aspect-ratio: 3 / 2; } }

/* Catálogo: tres fotos apiladas a la derecha de la cabecera */
.pila-fotos { position: relative; justify-self: center; width: min(100%, 30rem); aspect-ratio: 1 / 1.02; }
.pila-fotos .foto-hero { position: absolute; width: 60%; padding: .55rem .55rem 0; }
.pila-fotos .foto-hero::before { width: 4rem; height: 1.2rem; top: -.5rem; }
.pila-fotos .foto-hero figcaption { font-size: 1.2rem; padding: .35rem 0 .5rem; }
.pila-fotos .foto-hero:nth-child(1) { left: 0; top: 0; rotate: -5deg; }
.pila-fotos .foto-hero:nth-child(2) { right: 0; top: 21%; rotate: 4deg; z-index: 1; }
.pila-fotos .foto-hero:nth-child(3) { left: 12%; bottom: 0; rotate: -1.5deg; z-index: 2; }
@media (max-width: 900px) { .pila-fotos { width: min(100%, 21rem); margin-top: 2rem; } .pila-fotos .foto-hero figcaption { font-size: 1.05rem; } }

/* Cartas del catálogo: todas las fotos a la misma altura (la caja es un span y necesita ser bloque) */
.act-foto { display: block; }
.act-foto img { display: block; }
.act-foto img[width][height] { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Catálogo: más aire antes de cada título del texto */
.prosa.ancha h2 { margin-top: 4.6rem; }
.prosa.ancha h2:first-child { margin-top: 0; }

.karaoke .karaoke-mas { position: relative; margin: 1.3rem 0 0; }
.karaoke .karaoke-mas a { color: var(--sol); font-weight: 600; }

/* Idiomas con banderas en la caja lateral de las fichas */
.lateral li.idiomas b { display: inline-flex; gap: .35rem; margin-right: .55rem; vertical-align: -.18em; }
.bandera { width: 1.5rem; height: 1rem; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }

/* Recomendador de actividades */
.rec { display: grid; gap: 1.6rem; max-width: 62rem; }
.rec-grupo { border: 0; margin: 0; padding: 0; min-width: 0; }
.rec-grupo legend { padding: 0; margin-bottom: .8rem; font: 800 1.35rem/1.15 var(--titular); letter-spacing: -.02em; }
.rec-ops { display: flex; flex-wrap: wrap; gap: .6rem; }
.rec-op { position: relative; cursor: pointer; }
.rec-op input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rec-op span { display: block; padding: .7rem 1.15rem; border-radius: 999px; background: var(--blanco); box-shadow: 0 0 0 1.5px var(--linea), 0 2px 0 var(--linea); font-weight: 600; line-height: 1.2; transition: background .2s, color .2s, box-shadow .2s, transform .2s; }
.rec-op:hover span { box-shadow: 0 0 0 1.5px var(--magenta), 0 2px 0 var(--linea); }
.rec-op input:checked + span { background: var(--magenta); color: #fff; box-shadow: 0 0 0 1.5px var(--magenta-osc), 0 3px 0 var(--magenta-osc); }
.rec-op input:focus-visible + span { outline: 3px solid var(--sol); outline-offset: 2px; }
.rec-resultado { margin-top: 3rem; padding-top: 2.6rem; border-top: 2px dashed var(--linea); scroll-margin-top: 6rem; }
.rec-nota { margin: .7rem 0 1.6rem; color: var(--texto-2); font-size: 1.08rem; }
.rec-baraja { grid-template-columns: repeat(3, 1fr); }
#rec-todas { grid-template-columns: repeat(4, 1fr); }
.rec-sub { margin: 2.4rem 0 1.1rem; font: 800 1.4rem/1.15 var(--titular); letter-spacing: -.02em; }
#rec-mas .act-foto { aspect-ratio: 16 / 9; }
.rec-acciones { margin-top: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.rec-acciones .telefono { color: var(--texto); }
@media (max-width: 900px) { .rec-baraja, #rec-todas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { #rec-top { grid-template-columns: 1fr; } .rec-op span { padding: .65rem 1rem; font-size: .95rem; } .rec-grupo legend { font-size: 1.2rem; } }

/* Cabeceras de Online: capturas e ilustraciones enmarcadas sin recortar */
.foto-hero.captura img { object-fit: contain; background: #f4f1fa; }

/* Recomendador, versión con deslizadores y emojis */
.rec { gap: 1.4rem; max-width: 58rem; }
.rec-grupo { padding: 1.5rem 1.6rem 1.7rem; border-radius: 22px; background: var(--blanco); box-shadow: 0 2px 0 var(--linea), var(--sombra); }
.rec-grupo legend { float: left; width: 100%; display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.rec-grupo legend + * { clear: both; }
.rec-n { flex: none; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--sol); color: var(--tinta); font: 800 1.05rem/1 var(--titular); rotate: -6deg; }
.rec-pantalla { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; min-height: 4.2rem; }
.rec-emoji { font-size: 3.2rem; line-height: 1; display: inline-block; }
.rec-emoji.salta { animation: rec-salta .45s var(--rebote, cubic-bezier(.34, 1.56, .64, 1)); }
@keyframes rec-salta { 0% { transform: scale(.4) rotate(-20deg); } 100% { transform: none; } }
.rec-cifra { font: 800 clamp(1.5rem, 3.4vw, 2.1rem)/1.1 var(--titular); letter-spacing: -.025em; }
.rec-apodo { padding: .3rem .8rem; border-radius: 999px; background: var(--crema-2); font: 700 1.15rem/1.2 var(--mano); color: var(--magenta-osc); rotate: -1.5deg; }
.rec-rango { --p: 33%; appearance: none; -webkit-appearance: none; width: 100%; height: 2.4rem; margin: .9rem 0 0; background: none; cursor: pointer; }
.rec-rango::-webkit-slider-runnable-track { height: .9rem; border-radius: 999px; background: linear-gradient(90deg, var(--magenta) var(--p), var(--crema-2) var(--p)); box-shadow: inset 0 0 0 1.5px var(--linea); }
.rec-rango::-moz-range-track { height: .9rem; border-radius: 999px; background: linear-gradient(90deg, var(--magenta) var(--p), var(--crema-2) var(--p)); box-shadow: inset 0 0 0 1.5px var(--linea); }
.rec-rango::-webkit-slider-thumb { -webkit-appearance: none; width: 2.3rem; height: 2.3rem; margin-top: -.7rem; border-radius: 50%; background: var(--sol); border: 4px solid var(--tinta); box-shadow: 0 3px 0 var(--tinta); transition: transform .15s; }
.rec-rango::-moz-range-thumb { width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--sol); border: 4px solid var(--tinta); box-shadow: 0 3px 0 var(--tinta); }
.rec-rango:active::-webkit-slider-thumb { transform: scale(1.15); }
.rec-rango:focus-visible { outline: 3px solid var(--magenta); outline-offset: 4px; border-radius: 999px; }
.rec-extremos { display: flex; justify-content: space-between; margin-top: .2rem; font-size: .92rem; font-weight: 600; color: var(--texto-2); }
.rec-fichas { display: grid; gap: .7rem; }
.rec-fichas-8 { grid-template-columns: repeat(4, 1fr); }
.rec-fichas-3 { grid-template-columns: repeat(3, 1fr); }
.rec-ficha { position: relative; cursor: pointer; }
.rec-ficha input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rec-ficha span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; height: 100%; min-height: 6.6rem; padding: .9rem .6rem; border-radius: 16px; background: var(--crema); box-shadow: 0 0 0 1.5px var(--linea), 0 3px 0 var(--linea); text-align: center; font-weight: 600; line-height: 1.2; transition: transform .25s var(--rebote, ease), background .2s, box-shadow .2s, color .2s; }
.rec-ficha i { font-style: normal; font-size: 2.2rem; line-height: 1; transition: transform .3s var(--rebote, ease); }
.rec-ficha:hover span { transform: translateY(-3px); box-shadow: 0 0 0 1.5px var(--magenta), 0 6px 0 var(--linea); }
.rec-ficha:hover i { transform: scale(1.18) rotate(-6deg); }
.rec-ficha input:checked + span { background: var(--tinta); color: #fff; box-shadow: 0 0 0 1.5px var(--tinta), 0 5px 0 var(--sol); transform: translateY(-3px) rotate(-1.2deg); }
.rec-ficha input:checked + span i { transform: scale(1.25); }
.rec-ficha input:focus-visible + span { outline: 3px solid var(--sol); outline-offset: 3px; }
.rec-pista { margin-top: 1.6rem; font: 700 1.25rem/1.3 var(--mano); color: var(--magenta-osc); }
.rec-podio .act { position: relative; overflow: visible; }
.rec-podio .act .act-foto { border-radius: var(--radio) var(--radio) 0 0; }
.rec-medalla { position: absolute; z-index: 2; top: -1.1rem; left: -.6rem; font-size: 2.8rem; line-height: 1; rotate: -12deg; filter: drop-shadow(0 3px 0 rgba(26, 15, 43, .25)); }
.rec-podio .act:first-child { box-shadow: 0 0 0 3px var(--sol), var(--sombra); }
@media (max-width: 760px) { .rec-fichas-8 { grid-template-columns: repeat(2, 1fr); } .rec-grupo { padding: 1.2rem 1.1rem 1.4rem; } .rec-ficha span { min-height: 5.6rem; } .rec-emoji { font-size: 2.6rem; } }
@media (max-width: 420px) { .rec-fichas-3 { grid-template-columns: 1fr; } .rec-fichas-3 .rec-ficha span { flex-direction: row; min-height: 0; padding: .8rem 1rem; } }
@media (prefers-reduced-motion: reduce) { .rec-emoji.salta { animation: none; } .rec-ficha span, .rec-ficha i { transition: none; } }

/* Cabecera con dos fotos: más baja que la de tres */
.pila-fotos.dos { aspect-ratio: 1 / .62; width: min(100%, 31rem); }
.pila-fotos.dos .foto-hero { width: 56%; }
.pila-fotos.dos .foto-hero:nth-child(1) { left: 0; top: 0; rotate: -4deg; }
.pila-fotos.dos .foto-hero:nth-child(2) { right: 0; left: auto; top: auto; bottom: 0; rotate: 3.5deg; z-index: 1; }
.rec { margin-inline: auto; }

/* Recomendador: el selector sube y pisa un poco la cabecera */
#recomendador { padding-top: 0; }
#recomendador .rec { position: relative; z-index: 1; margin-top: -3.2rem; }
@media (max-width: 760px) { #recomendador .rec { margin-top: -2rem; } }

/* Recomendador, versión 2: paso a paso dentro de la cabecera */
.hero.interior.rec2-hero { padding-block: calc(4.5rem + 1.6rem) 2.6rem; }
.hero.interior.rec2-hero .ancho { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 3.5vw, 3.2rem); align-items: center; }
.hero.interior.rec2-hero h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.rec2 { color: var(--texto); background: var(--blanco); border-radius: 24px; padding: 1.3rem 1.5rem 1.4rem; box-shadow: 8px 8px 0 var(--sol), var(--sombra); display: flex; flex-direction: column; min-height: 24.5rem; }
.rec2-progreso { display: flex; gap: .4rem; margin-bottom: 1rem; }
.rec2-progreso i { flex: 1; height: .42rem; border-radius: 999px; background: var(--crema-2); transition: background .3s; }
.rec2-progreso i.hecho { background: var(--magenta); }
.rec2-progreso i.ahora { background: var(--sol); }
.rec2-paso { border: 0; margin: 0; padding: 0; min-width: 0; flex: 1; animation: rec2-entra .35s var(--curva, ease); }
.rec2-paso[hidden] { display: none; }
@keyframes rec2-entra { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.rec2-paso legend { float: left; width: 100%; display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; padding: 0; font: 800 1.4rem/1.15 var(--titular); letter-spacing: -.02em; }
.rec2-paso legend + * { clear: both; }
.rec2 .rec-ficha span { min-height: 5.2rem; padding: .6rem .4rem; font-size: .93rem; gap: .3rem; }
.rec2 .rec-ficha i { font-size: 1.9rem; }
.rec2 .rec-fichas-3 .rec-ficha span { min-height: 7.5rem; font-size: 1.05rem; }
.rec2 .rec-fichas-3 .rec-ficha i { font-size: 2.6rem; }
.rec2 .rec-pantalla { min-height: 5.5rem; }
.rec2-botones { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; }
.rec2-botones .boton { margin-left: auto; }
.rec2-botones .boton[disabled] { opacity: .45; cursor: not-allowed; }
.rec2-atras { border: 0; background: none; padding: .5rem .2rem; font: 600 1rem/1 var(--cuerpo); color: var(--texto-2); cursor: pointer; }
.rec2-atras:hover { color: var(--magenta-osc); }
.rec2-final-t { margin: 0 0 .7rem; font: 800 1.4rem/1.15 var(--titular); letter-spacing: -.02em; }
.rec2-podio { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.rec2-podio a { display: grid; grid-template-columns: auto 5.2rem 1fr auto; align-items: center; gap: .8rem; padding: .45rem .8rem .45rem .5rem; border-radius: 14px; background: var(--crema); color: var(--texto); text-decoration: none; box-shadow: 0 0 0 1.5px var(--linea), 0 2px 0 var(--linea); transition: transform .25s var(--rebote, ease), box-shadow .2s; }
.rec2-podio a:hover { transform: translateX(4px); box-shadow: 0 0 0 1.5px var(--magenta), 0 2px 0 var(--linea); }
.rec2-podio li:first-child a { background: #fff7dd; box-shadow: 0 0 0 2px var(--sol), 0 2px 0 var(--linea); }
.rec2-podio img { width: 5.2rem; height: 3.6rem; object-fit: cover; border-radius: 9px; }
.rec2-med { font-size: 1.9rem; line-height: 1; }
.rec2-txt { min-width: 0; display: grid; }
.rec2-txt small { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--magenta-osc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec2-txt b { font: 800 1.1rem/1.15 var(--titular); letter-spacing: -.015em; }
.rec2-txt em { font-style: normal; font-size: .85rem; color: var(--texto-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec2-ir { font-weight: 700; color: var(--magenta-osc); }
@media (max-width: 1060px) { .hero.interior.rec2-hero .ancho { grid-template-columns: 1fr; } .rec2 { min-height: 0; } }
@media (max-width: 560px) { .rec2 { padding: 1.1rem 1rem 1.2rem; box-shadow: 5px 5px 0 var(--sol); } .rec2 .rec-fichas-8 { grid-template-columns: repeat(2, 1fr); } .rec2-podio a { grid-template-columns: auto 4rem 1fr; } .rec2-podio img { width: 4rem; height: 3rem; } .rec2-ir { display: none; } }
@media (prefers-reduced-motion: reduce) { .rec2-paso { animation: none; } }
.rec2-botones [hidden] { display: none; }
.rec2-botones .boton[hidden] { display: none; }

/* Recomendador (versión 1): las cuatro preguntas en cuatro bloques, dos arriba y dos abajo, para verlas de un vistazo */
@media (min-width: 901px) {
  #rec.rec { grid-template-columns: 1fr 1fr; gap: 1rem; max-width: none; align-items: stretch; }
  #rec .rec-grupo { padding: 1.05rem 1.3rem 1.15rem; }
  #rec .rec-grupo legend { margin-bottom: .7rem; font-size: 1.2rem; }
  #rec .rec-n { width: 1.8rem; height: 1.8rem; font-size: .95rem; }
  #rec .rec-pantalla { min-height: 3.3rem; }
  #rec .rec-emoji { font-size: 2.5rem; }
  #rec .rec-cifra { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
  #rec .rec-apodo { font-size: 1.02rem; }
  #rec .rec-rango { margin-top: .5rem; height: 2.1rem; }
  #rec .rec-fichas { gap: .5rem; }
  #rec .rec-ficha span { min-height: 4.3rem; padding: .45rem .3rem; gap: .2rem; font-size: .88rem; border-radius: 13px; }
  #rec .rec-ficha i { font-size: 1.6rem; }
  #rec .rec-fichas-3 .rec-ficha span { min-height: 6.2rem; font-size: 1rem; gap: .4rem; }
  #rec .rec-fichas-3 .rec-ficha i { font-size: 2.3rem; }
  .rec-resultado { margin-top: 2rem; padding-top: 1.8rem; }
  .rec-pista { margin-top: 1.1rem; }
}

/* Recomendador: menos hueco entre el selector y el bloque siguiente */
#recomendador { padding-bottom: 2rem; }
#recomendador + .seccion { padding-top: clamp(2.2rem, 4vw, 3.2rem); }

/* ---------- Página Nosotros ---------- */
.nos-cifras { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radio); background: var(--blanco); box-shadow: var(--sombra); overflow: hidden; }
.nos-cifras li { padding: 1.3rem 1.4rem 1.4rem; border-left: 1px solid var(--linea); }
.nos-cifras li:first-child { border-left: 0; }
.nos-cifras b { display: block; font: 800 clamp(2.2rem, 4.6vw, 3.4rem)/1 var(--titular); letter-spacing: -.04em; color: var(--magenta); }
.nos-cifras span { display: block; margin-top: .35rem; font-weight: 600; line-height: 1.25; }
.nos-sobre { display: inline-block; margin: 0 0 1rem; padding: .25rem .9rem; border-radius: 999px; background: var(--sol); color: var(--tinta); font: 700 1.15rem/1.3 var(--mano); rotate: -2deg; }
.nos-reglas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.nos-reglas li { position: relative; padding: 1.6rem 1.3rem 1.5rem; border-radius: 20px; background: var(--crema); box-shadow: 0 2px 0 var(--linea), var(--sombra); transition: transform .5s var(--rebote), rotate .5s var(--rebote); }
.nos-reglas li:nth-child(odd) { rotate: -1.4deg; }
.nos-reglas li:nth-child(even) { rotate: 1.2deg; translate: 0 .8rem; }
.nos-reglas li:hover { rotate: 0deg; transform: translateY(-8px); }
.nos-regla-n { position: absolute; top: -.9rem; left: -.6rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--magenta); color: #fff; font: 800 1.15rem/1 var(--titular); box-shadow: 0 3px 0 var(--magenta-osc); }
.nos-reglas i { font-style: normal; font-size: 2.6rem; line-height: 1; display: block; }
.nos-reglas h3 { margin-top: .8rem; font: 800 1.35rem/1.12 var(--titular); letter-spacing: -.02em; }
.nos-reglas p { margin-top: .5rem; color: var(--texto-2); font-size: .98rem; line-height: 1.45; }
.nos-cartas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; perspective: 1200px; }
.nos-carta { position: relative; display: block; height: 15.5rem; cursor: pointer; transform-style: preserve-3d; transition: transform .7s var(--rebote); }
.nos-carta input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.nos-carta:has(input:checked) { transform: rotateY(180deg); }
.nos-carta:has(input:focus-visible) { outline: 3px solid var(--magenta); outline-offset: 5px; border-radius: 22px; }
.nos-cara { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: .7rem; padding: 1.3rem 1.2rem; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; font: 700 1.18rem/1.25 var(--titular); letter-spacing: -.015em; text-align: center; }
.nos-cara i { font-style: normal; font-size: 2.4rem; line-height: 1; }
.nos-frente { background: var(--tinta); color: #fff; box-shadow: 0 0 0 4px var(--tinta), 0 0 0 6px var(--sol), var(--sombra); }
.nos-frente em { font: 700 1.05rem/1.2 var(--mano); color: var(--sol); font-style: normal; }
.nos-dorso { transform: rotateY(180deg); background: var(--blanco); color: var(--texto); font-weight: 600; font-size: 1.02rem; line-height: 1.4; box-shadow: var(--sombra); }
.nos-dorso.si { box-shadow: 0 0 0 4px #2e9b62, var(--sombra); }
.nos-dorso.no { box-shadow: 0 0 0 4px var(--magenta), var(--sombra); }
.nos-hitos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; }
.nos-hitos::before { content: ""; position: absolute; left: 0; right: 0; top: 1.55rem; height: 3px; background: repeating-linear-gradient(90deg, var(--sol) 0 12px, transparent 12px 22px); opacity: .7; }
.nos-hitos li { position: relative; padding-top: 4.2rem; }
.nos-hitos b { position: absolute; top: 0; left: 0; padding: .5rem .9rem; border-radius: 999px; background: var(--sol); color: var(--tinta); font: 800 1.2rem/1 var(--titular); rotate: -4deg; box-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.nos-hitos h3 { font: 800 1.25rem/1.15 var(--titular); letter-spacing: -.02em; color: #fff; }
.nos-hitos p { margin-top: .45rem; color: var(--texto-inv-2); font-size: .97rem; line-height: 1.45; }
.nos-trofeos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.nos-trofeos li { text-align: center; font-size: .92rem; color: var(--texto-2); transition: transform .5s var(--rebote); }
.nos-trofeos li:hover { transform: translateY(-8px) rotate(-3deg) scale(1.05); }
.nos-trofeos img { width: 104px; height: 104px; object-fit: contain; margin: 0 auto .8rem; border-radius: 50%; background: #fff; padding: 9px; box-shadow: 0 0 0 3px var(--sol), 0 14px 24px -12px rgba(26, 15, 43, .45); }
.nos-trofeos b { display: block; color: var(--texto); font-weight: 700; line-height: 1.2; }
.nos-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 1.4rem 1.2rem; align-items: center; justify-items: center; }
.nos-logos img { height: 40px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s, transform .4s var(--rebote); }
.nos-logos li:hover img { filter: none; opacity: 1; transform: scale(1.12) rotate(-2deg); }
.nos-prensa { list-style: none; margin: 0 auto; padding: 0; max-width: 60rem; display: grid; gap: .7rem; }
.nos-prensa a { display: grid; grid-template-columns: 10rem 1fr auto; gap: 1.2rem; align-items: center; padding: 1rem 1.3rem; border-radius: 16px; background: var(--crema); color: var(--texto); text-decoration: none; box-shadow: 0 0 0 1.5px var(--linea); transition: transform .3s var(--rebote), box-shadow .2s; }
.nos-prensa a:hover { transform: translateX(6px); box-shadow: 0 0 0 1.5px var(--magenta); }
.nos-prensa b { font: 800 1.1rem/1.15 var(--titular); color: var(--magenta-osc); }
.nos-prensa span { font-weight: 600; line-height: 1.3; }
.nos-prensa em { font-style: normal; font-size: .88rem; color: var(--texto-2); white-space: nowrap; }

/* ---------- Página Contacto ---------- */
.con-vias { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.con-vias a { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: 1rem 1.3rem; border-radius: 18px; background: var(--blanco); color: var(--texto); text-decoration: none; box-shadow: 6px 6px 0 var(--sol); transition: transform .35s var(--rebote), box-shadow .25s; }
.con-vias li:nth-child(1) a { rotate: -1.2deg; }
.con-vias li:nth-child(2) a { rotate: .9deg; translate: 1.2rem 0; }
.con-vias li:nth-child(3) a { rotate: -.6deg; }
.con-vias a:hover { transform: translateY(-4px) scale(1.02); box-shadow: 8px 10px 0 var(--magenta); rotate: 0deg; }
.con-vias i { font-style: normal; font-size: 2.3rem; line-height: 1; }
.con-vias small { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--magenta-osc); }
.con-vias b { display: block; font: 800 1.45rem/1.15 var(--titular); letter-spacing: -.02em; word-break: break-word; }
.con-vias em { display: block; margin-top: .15rem; font-style: normal; font-size: .93rem; color: var(--texto-2); }
.con-datos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.con-datos li { padding: 1.4rem 1.2rem; border-radius: 20px; background: var(--blanco); box-shadow: 0 2px 0 var(--linea), var(--sombra); text-align: center; transition: transform .45s var(--rebote); }
.con-datos li:hover { transform: translateY(-6px) rotate(-1.5deg); }
.con-datos i { font-style: normal; font-size: 2.6rem; line-height: 1; display: block; }
.con-datos b { display: block; margin-top: .7rem; font: 800 1.3rem/1.15 var(--titular); letter-spacing: -.02em; }
.con-datos span { display: block; margin-top: .35rem; color: var(--texto-2); font-size: .97rem; line-height: 1.4; }
.con-oficina { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.con-oficina h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.con-oficina address { margin-top: 1.2rem; font: 700 1.5rem/1.3 var(--mano); font-style: normal; color: var(--magenta-osc); }
.con-oficina-nota { margin: .9rem 0 1.4rem; color: var(--texto-2); max-width: 34rem; }
.con-tarjeta { list-style: none; margin: 0; padding: 1.6rem 1.6rem 1.7rem; border-radius: 22px; background: var(--tinta); color: #fff; box-shadow: 8px 8px 0 var(--sol); rotate: 1.2deg; display: grid; gap: 1rem; }
.con-tarjeta li { font: 700 1.2rem/1.25 var(--titular); }
.con-tarjeta span { display: block; font: 600 .78rem/1.3 var(--cuerpo); text-transform: uppercase; letter-spacing: .06em; color: var(--sol); }
.con-tarjeta a { color: #fff; text-decoration-color: var(--sol); }
@media (max-width: 1060px) { .nos-reglas, .nos-cartas { grid-template-columns: repeat(2, 1fr); } .nos-reglas li:nth-child(even) { translate: 0 0; } .nos-hitos { grid-template-columns: 1fr; gap: 1.6rem; } .nos-hitos::before { left: 1.4rem; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--sol) 0 12px, transparent 12px 22px); } .nos-hitos li { padding: 0 0 0 5.6rem; min-height: 2.6rem; } .nos-trofeos { grid-template-columns: repeat(3, 1fr); } .nos-logos { grid-template-columns: repeat(4, 1fr); } .con-datos { grid-template-columns: repeat(2, 1fr); } .con-oficina { grid-template-columns: 1fr; } .con-vias li:nth-child(2) a { translate: 0 0; } }
@media (max-width: 620px) { .nos-cifras { grid-template-columns: 1fr 1fr; } .nos-cifras li:nth-child(3) { border-left: 0; } .nos-cifras li:nth-child(n+3) { border-top: 1px solid var(--linea); } .nos-reglas, .nos-cartas { grid-template-columns: 1fr; } .nos-carta { height: 12.5rem; } .nos-prensa a { grid-template-columns: 1fr; gap: .3rem; } .nos-logos { grid-template-columns: repeat(3, 1fr); } .con-vias b { font-size: 1.2rem; } }
@media (prefers-reduced-motion: reduce) { .nos-carta { transition: none; } }

/* Promesa de respuesta junto a los botones de presupuesto */
.promesa { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: .7rem; margin: 0; font-size: .95rem; line-height: 1.35; text-align: left; }
.promesa img { width: 42px; height: 42px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--sol); }
.promesa b { font-weight: 700; }
.lateral .promesa { margin-top: 1rem; justify-content: flex-start; font-size: .9rem; color: var(--texto-inv-2); }
.lateral .promesa b { color: #fff; }

/* Página de gracias */
.gr-sello { display: inline-block; margin-bottom: 1rem; padding: .35rem .9rem; border-radius: 999px; background: var(--sol); color: var(--tinta); font-weight: 700; font-size: .9rem; rotate: -2deg; }
.gr-detalle { margin-top: 1.1rem; padding: .8rem 1.1rem; border-radius: 14px; border: 2px dashed var(--sol); font-size: 1rem; max-width: 34rem; }
.gr-detalle[hidden] { display: none; }
.gr-detalle a { font-weight: 600; }
.con-hero .promesa { justify-content: flex-start; margin-top: 1.4rem; font-size: 1.05rem; }
.con-hero .promesa img { width: 56px; height: 56px; }

/* Bloque de vídeo vertical con texto a la izquierda */
.video-bloque { margin: 2.6rem 0 2.2rem; padding: 2rem; border-radius: 22px; background: var(--magenta); color: var(--blanco); box-shadow: 8px 8px 0 var(--sol); display: grid; grid-template-columns: 1fr minmax(0, 250px); gap: 2rem; align-items: center; }
.video-bloque .video-sobre { margin: 0; display: inline-block; padding: .25rem .8rem; border-radius: 999px; background: var(--sol); color: var(--tinta); font: 700 .82rem/1.4 var(--titular); letter-spacing: .04em; text-transform: uppercase; }
.video-bloque .video-titulo { margin: .9rem 0 0; font: 800 clamp(1.5rem, 2.6vw, 2rem)/1.1 var(--titular); letter-spacing: -.02em; color: #fff; }
.video-bloque .video-lista { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .7rem; }
.video-bloque .video-lista li { padding-left: 1rem; border-left: 3px solid var(--sol); }
.video-bloque .video-lista b { display: block; color: #fff; }
.video-bloque .video-lista span { color: rgba(255, 255, 255, .92); font-size: .97rem; }
.prosa .video-bloque a.boton { color: #fff; }
.video-bloque .video-movil { rotate: 2deg; padding: .5rem; border-radius: 28px; background: var(--tinta); box-shadow: 0 0 0 2px rgba(255,255,255,.25), 0 18px 40px rgba(60, 4, 28, .45); }
.video-bloque .video-movil .video { margin: 0; aspect-ratio: 9 / 16; border-radius: 22px; box-shadow: none; }
.video-bloque .video-texto { min-width: 0; }
@media (max-width: 700px) { .video-bloque { grid-template-columns: minmax(0, 1fr); padding: 1.5rem 1.2rem; } .video-bloque .video-movil { width: min(250px, 100%); margin: 0 auto; rotate: 0deg; } }

/* Nosotros: premios como en la portada y logotipos sobre blanco */
#trofeos .premios { margin-top: 0; }
.nos-clientes { padding-top: 0; }
.nos-logos { gap: 2.2rem 1.6rem; }
.nos-logos img { height: 46px; mix-blend-mode: multiply; }
#prensa .nos-prensa a { background: var(--blanco); }

/* Mosaico de seis fotos con etiqueta (animación de eventos) */
.mosaico { margin-top: 1.8rem; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(9rem, 17vw, 13.5rem); gap: .6rem; }
.mosaico figure { position: relative; margin: 0; overflow: hidden; border-radius: 14px; background: var(--tinta); }
.mosaico figure:nth-child(1), .mosaico figure:nth-child(6) { grid-column: span 2; }
.mosaico img, .mosaico img[width][height] { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--rebote); }
.mosaico figure:hover img { transform: scale(1.07); }
.mosaico figcaption { position: absolute; left: .7rem; bottom: .7rem; padding: .25rem .75rem; border-radius: 999px; background: var(--sol); color: var(--tinta); font: 700 .82rem/1.4 var(--titular); rotate: -2deg; }
.mosaico figure:nth-child(even) figcaption { background: var(--magenta); color: #fff; rotate: 2deg; }
@media (max-width: 700px) { .mosaico { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 9.5rem; } }

/* Casos reales (página propia; .casos y .caso son de la portada) */
.kcaso-filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.2rem; }
.kcaso-filtros button { padding: .55rem 1.1rem; border-radius: 999px; border: 2px solid var(--tinta); background: transparent; color: var(--tinta); font: 600 .95rem/1.2 var(--cuerpo); cursor: pointer; transition: transform .3s var(--rebote), background .2s; }
.kcaso-filtros button:hover { transform: translateY(-3px) rotate(-2deg); }
.kcaso-filtros button[aria-pressed=true] { background: var(--tinta); color: #fff; box-shadow: 4px 4px 0 var(--sol); }
.kcasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem); }
.kcaso { display: flex; flex-direction: column; border-radius: var(--radio); background: var(--blanco); overflow: hidden; box-shadow: 0 2px 0 var(--linea), var(--sombra); transition: transform .5s var(--rebote); }
.kcaso[hidden] { display: none; }
.kcaso:hover { transform: translateY(-8px) rotate(-.6deg); }
.kcaso:nth-child(even):hover { transform: translateY(-8px) rotate(.6deg); }
.kcaso-foto { position: relative; aspect-ratio: 3 / 2; background: var(--tinta); }
.kcaso-foto img, .kcaso-foto img[width][height] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kcaso-cifra { position: absolute; left: 1rem; bottom: -1.3rem; margin: 0; padding: .55rem 1rem .6rem; border-radius: 16px; background: var(--sol); color: var(--tinta); rotate: -3deg; box-shadow: 0 10px 20px -10px rgba(26, 15, 43, .6); line-height: 1.05; max-width: 80%; }
.kcaso:nth-child(3n+2) .kcaso-cifra { background: var(--magenta); color: #fff; rotate: 2.5deg; }
.kcaso:nth-child(3n) .kcaso-cifra { background: var(--tinta); color: var(--sol); rotate: -1.5deg; }
.kcaso-cifra b { display: block; font: 800 2.1rem/1 var(--titular); letter-spacing: -.03em; }
.kcaso-cifra span { display: block; font-size: .82rem; font-weight: 600; }
.kcaso-texto { padding: 2.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.kcaso-texto h3 { font-size: 1.25rem; line-height: 1.2; }
.kcaso-texto p { color: var(--texto-2); font-size: .98rem; }
.kcaso-mas { margin-top: auto; padding-top: .4rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.kcaso-mas a { font-weight: 600; color: var(--magenta-osc); text-decoration: none; }
.kcaso-mas a:hover { text-decoration: underline; }
.kcaso-mas svg { width: 1em; height: 1em; vertical-align: -.12em; }
.kcaso:target { outline: 4px solid var(--sol); outline-offset: 4px; }
@media (max-width: 1000px) { .kcasos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .kcasos { grid-template-columns: 1fr; } }

/* Agencia de eventos */
.ag-servicios { grid-template-columns: repeat(4, 1fr); }
.ag-tipo { padding-top: 1.4rem; }
.ag-mosaico { grid-auto-rows: clamp(11rem, 21vw, 19rem); gap: .8rem; }
.ag-pasos { row-gap: 3rem; }
.ag-pasos li:nth-child(4) { rotate: 1deg; } .ag-pasos li:nth-child(6) { rotate: -1deg; }
.ag-propias { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ag-propias p { margin-top: 1.1rem; color: var(--texto-inv-2); font-size: 1.12rem; }
.ag-propias .nos-sobre { color: var(--tinta); margin-top: 0; }
.ag-casos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ag-casos a { display: block; height: 100%; padding: 1.3rem 1.3rem 1.4rem; border-radius: 20px; background: rgba(255,255,255,.07); color: #fff; text-decoration: none; box-shadow: 0 0 0 1.5px rgba(255,255,255,.14); transition: transform .4s var(--rebote), background .2s; }
.ag-casos a:hover { transform: translateY(-6px) rotate(-1deg); background: rgba(255,255,255,.12); }
.ag-casos b { display: block; font: 800 2.4rem/1 var(--titular); letter-spacing: -.03em; color: var(--sol); }
.ag-casos span { display: block; margin-top: .2rem; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--texto-inv-2); }
.ag-casos em { display: block; margin-top: .7rem; font-style: normal; line-height: 1.35; }
@media (max-width: 1060px) { .ag-servicios { grid-template-columns: repeat(2, 1fr); } .ag-propias { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .ag-servicios, .ag-casos { grid-template-columns: 1fr; } }

/* Menú de actividades: distintivos y leyenda */
.sello-menu { font-size: .85em; margin-left: .15rem; }
.menu-leyenda { margin: .9rem 0 .2rem; font-size: .8rem; color: var(--texto-2); display: flex; flex-wrap: wrap; gap: .3rem .5rem; }

/* Nosotros: cartas y línea de tiempo, segunda versión */
.nos-cartas { gap: 1.4rem; padding-block: .6rem; }
.nos-carta { height: 18rem; }
.nos-cartas li:nth-child(1) { rotate: -2.2deg; } .nos-cartas li:nth-child(2) { rotate: 1.4deg; translate: 0 .7rem; } .nos-cartas li:nth-child(3) { rotate: -1.2deg; } .nos-cartas li:nth-child(4) { rotate: 2.2deg; translate: 0 .7rem; }
.nos-cartas li { transition: rotate .4s var(--rebote), translate .4s var(--rebote); } .nos-cartas li:hover { rotate: 0deg; translate: 0 -.5rem; }
.nos-cara { gap: .8rem; padding: 1.5rem 1.3rem; border-radius: 26px; font-size: 1.22rem; }
.nos-frente { box-shadow: var(--sombra); border: 3px solid rgba(255, 255, 255, .25); background-image: radial-gradient(circle at 15% 12%, rgba(255,255,255,.16) 0 22%, transparent 23%), radial-gradient(circle at 88% 90%, rgba(255,255,255,.12) 0 26%, transparent 27%); }
.nos-cartas li:nth-child(1) .nos-frente { background-color: var(--magenta); color: #fff; }
.nos-cartas li:nth-child(2) .nos-frente { background-color: var(--sol); color: var(--tinta); border-color: rgba(26, 15, 43, .15); }
.nos-cartas li:nth-child(3) .nos-frente { background-color: var(--tinta); color: #fff; border-color: var(--sol); }
.nos-cartas li:nth-child(4) .nos-frente { background-color: #5b2a86; color: #fff; }
.nos-frente small { align-self: center; padding: .2rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .22); font: 700 .72rem/1.5 var(--cuerpo); letter-spacing: .06em; text-transform: uppercase; }
.nos-cartas li:nth-child(2) .nos-frente small { background: rgba(26, 15, 43, .12); }
.nos-frente i { align-self: center; display: grid; place-content: center; width: 4.4rem; height: 4.4rem; border-radius: 50%; background: #fff; font-size: 2.3rem; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5); }
.nos-frente em { color: inherit; opacity: .92; }
.nos-cartas li:nth-child(1) .nos-frente em, .nos-cartas li:nth-child(3) .nos-frente em, .nos-cartas li:nth-child(4) .nos-frente em { color: var(--sol); opacity: 1; }
.nos-dorso { gap: .5rem; }
.nos-dorso i { font-size: 2.6rem; }
.nos-dorso strong { font: 700 1.9rem/1 var(--mano); }
.nos-dorso.si { background: #eaf7ef; box-shadow: 0 0 0 4px #2e9b62, var(--sombra); } .nos-dorso.si strong { color: #1f7a4a; }
.nos-dorso.no { background: #fdeef3; } .nos-dorso.no strong { color: var(--magenta-osc); }

.nos-hitos { grid-template-columns: repeat(6, 1fr); gap: 1rem; padding-block: 1.2rem 2.4rem; }
.nos-hitos::before { top: 2.75rem; opacity: .55; }
.nos-hitos li { padding: 4.9rem 1.1rem 1.3rem; border-radius: 22px; background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12); transition: transform .5s var(--rebote), background .2s; }
.nos-hitos li:nth-child(even) { translate: 0 2rem; }
.nos-hitos li:hover { transform: translateY(-8px) rotate(-1deg); background: rgba(255, 255, 255, .11); }
.nos-hitos b { top: 1.25rem; left: 1.1rem; }
.nos-hitos i { position: absolute; top: .8rem; right: .9rem; display: grid; place-content: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: #fff; font-style: normal; font-size: 1.7rem; line-height: 1; rotate: 6deg; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .6); }
.nos-hitos li:nth-child(even) i { rotate: -6deg; }
.nos-hitos li:last-child { background: var(--magenta); box-shadow: none; } .nos-hitos li:last-child p { color: #fff; } .nos-hitos li:last-child b { background: #fff; }
.nos-hitos h3 { font-size: 1.15rem; }
@media (max-width: 1060px) { .nos-hitos { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; } .nos-hitos::before { display: none; } .nos-hitos li, .nos-hitos li:nth-child(even) { translate: 0 0; padding: 4.9rem 1.1rem 1.3rem; } .nos-cartas li, .nos-cartas li:nth-child(n) { translate: 0 0; } }
@media (max-width: 620px) { .nos-hitos { grid-template-columns: 1fr; } .nos-carta { height: 16.5rem; } .nos-cartas li, .nos-cartas li:nth-child(n) { rotate: 0deg; } }

/* Selector de actividades en sitios estratégicos */
.sel-banda { padding-block: clamp(1.6rem, 3vw, 2.4rem); background: var(--crema); }
.sel-banda .ancho { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem, 3vw, 2.2rem); align-items: center; padding: clamp(1.3rem, 3vw, 2rem) clamp(1.3rem, 3.5vw, 2.6rem); border-radius: 26px; background: var(--tinta); color: #fff; box-shadow: 8px 8px 0 var(--sol); rotate: -.6deg; }
.sel-banda .sel-emo { margin: 0; display: grid; place-content: center; width: 4.6rem; height: 4.6rem; border-radius: 50%; background: #fff; font-size: 2.5rem; line-height: 1; rotate: 8deg; }
.sel-banda h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: #fff; }
.sel-banda p { margin-top: .35rem; color: var(--texto-inv-2); }
@media (max-width: 800px) { .sel-banda .ancho { grid-template-columns: 1fr; text-align: center; justify-items: center; rotate: 0deg; } }
.sub .todo.sel { margin-top: .9rem; background: var(--sol); color: var(--tinta); }
.sel-linea { margin-top: 1rem; padding: .8rem 1rem; border-radius: 14px; border: 1.5px dashed rgba(255, 255, 255, .35); font-size: .98rem; }
.sel-linea a { color: var(--sol); font-weight: 600; }
.lateral-sel { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid rgba(255, 255, 255, .15); text-align: center; font-size: .92rem; }
.lateral-sel a { color: var(--sol); font-weight: 600; text-decoration: none; }
.lateral-sel a:hover { text-decoration: underline; }

/* Banda del selector: amarilla, para que no se confunda con las tarjetas oscuras */
.sel-banda .ancho { background: var(--sol); color: var(--tinta); box-shadow: 8px 8px 0 var(--magenta); }
.sel-banda h2 { color: var(--tinta); }
.sel-banda p { color: var(--tinta); opacity: .82; }
.sel-banda .sel-emo { box-shadow: 0 8px 18px -8px rgba(26, 15, 43, .45); }
.sel-banda .boton.amarillo { background: var(--magenta); color: #fff; }

/* Menos hueco alrededor de la banda del selector */
.seccion:has(+ .sel-banda) { padding-bottom: clamp(1.2rem, 2.5vw, 2rem); }
.sel-banda { padding-block: 0 clamp(1.6rem, 3vw, 2.4rem); }
.sel-banda + .seccion { padding-top: clamp(2rem, 4vw, 3.2rem); }

/* Nosotros: logotipos en filas centradas (30 logos) */
.nos-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.2rem 0; }
.nos-logos li { flex: 0 0 12.5%; display: grid; place-items: center; padding-inline: .8rem; }
@media (max-width: 1000px) { .nos-logos li { flex-basis: 25%; } }
@media (max-width: 620px) { .nos-logos li { flex-basis: 33.33%; } }
#clientes.nos-clientes { padding-top: var(--seccion); }

/* Catálogo por temáticas */
.temas { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.temas button { padding: .6rem 1.05rem; border-radius: 999px; border: 2px solid var(--tinta); background: var(--blanco); color: var(--tinta); font: 600 .97rem/1.2 var(--cuerpo); cursor: pointer; transition: transform .3s var(--rebote), background-color .2s, color .2s; }
.temas button:hover { transform: translateY(-3px) rotate(-2deg); }
.temas button[aria-pressed=true] { background: var(--tinta); color: #fff; box-shadow: 4px 4px 0 var(--sol); }
.tema { scroll-margin-top: 6rem; }
.tema + .tema { margin-top: clamp(2.4rem, 5vw, 4rem); }
.tema[hidden] { display: none; }
.tema-cabeza { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1.2rem; margin-bottom: 1.2rem; padding-bottom: .8rem; border-bottom: 2px dashed var(--linea); }
.tema-cabeza h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.tema-cabeza p { color: var(--texto-2); font-size: 1.02rem; }
.tema-fin { margin-top: clamp(2rem, 4vw, 3rem); }
.tema-fin .act.todas { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .temas { flex-wrap: nowrap; overflow-x: auto; margin-inline: -1rem; padding: .3rem 1rem .7rem; scrollbar-width: none; }
  .temas::-webkit-scrollbar { display: none; }
  .temas button { flex: none; }
}

/* Collage de dos o tres fotos dentro del texto de una ficha */
.mosaico.dos { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(14rem, 26vw, 21rem); }
.mosaico.tres { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(12rem, 22vw, 18rem); }
.mosaico.dos figure:nth-child(n), .mosaico.tres figure:nth-child(n) { grid-column: auto; }
@media (max-width: 700px) { .mosaico.dos, .mosaico.tres { grid-template-columns: 1fr 1fr; grid-auto-rows: 12rem; } }

/* Catálogo: las seis más pedidas */
.baraja.top6 { grid-template-columns: repeat(3, 1fr); }
.tema.top { padding: clamp(1.2rem, 2.6vw, 2rem); border-radius: 26px; background: #fff; box-shadow: var(--sombra); }
.tema.top .tema-cabeza { border-bottom-color: var(--sol); }
.act[hidden] { display: none; }
@media (max-width: 900px) { .baraja.top6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tema.top { padding: 1rem .8rem; margin-inline: -.4rem; } }

/* Selector de workshops (talleres-para-empresas.html) */
.ws-baraja { grid-template-columns: repeat(3, 1fr); }
.act.ws { cursor: pointer; outline: 3px solid transparent; outline-offset: -3px; transition: outline-color .25s, transform .4s var(--curva), box-shadow .4s; }
.act.ws.elegido { outline-color: var(--magenta); box-shadow: 0 2px 0 var(--linea), 0 22px 40px -22px rgba(214, 31, 105, .55); }
.ws-principal { display: flex; flex-direction: column; flex: 1; cursor: pointer; }
.ws-marca { margin-top: auto; padding: .55rem .9rem; border-radius: 999px; border: 2px solid var(--linea); align-self: flex-start; background: #fff; }
.ws-marca input { width: 1.15rem; height: 1.15rem; margin: 0; }
.ws-si { display: none; }
.act.ws.elegido .ws-marca { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.act.ws.elegido .ws-si { display: inline; color: #fff; }
.act.ws.elegido .ws-no { display: none; }
.act-texto .ws-marca span { color: inherit; font-size: 1rem; }
.ws-principal:focus-within .ws-marca { outline: 3px solid var(--sol); outline-offset: 2px; }
.ws-sin-foto { display: grid; place-items: center; font-size: clamp(3.5rem, 8vw, 5.5rem); background: linear-gradient(135deg, var(--tinta), var(--tinta-2)); }
.ws-extras { display: flex; flex-direction: column; gap: .5rem; padding: .9rem 1.2rem 1.2rem; border-top: 1px dashed var(--linea); background: var(--crema); }
.ws-extras-t { font: 600 .78rem/1 var(--cuerpo); text-transform: uppercase; letter-spacing: .06em; color: var(--magenta-osc); }
.ws-extra { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; line-height: 1.35; color: var(--texto-2); cursor: pointer; }
.ws-extra input { margin-top: .2rem; width: 1.05rem; height: 1.05rem; flex: none; }
.ws-extra b { color: var(--texto); display: block; }
.ws-entrada-2 { margin-top: clamp(3rem, 6vw, 5rem); }
.ws-barra { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: .8rem 0; background: var(--tinta); color: #fff; box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, .6); }
.ws-barra[hidden] { display: none; }
.ws-barra .ancho { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ws-barra p { margin: 0; font-size: .98rem; line-height: 1.35; }
.ws-barra b { display: inline-grid; place-items: center; min-width: 1.9rem; height: 1.9rem; margin-right: .5rem; border-radius: 999px; background: var(--sol); color: var(--tinta); }
.ws-total { margin-left: .6rem; font-weight: 700; color: var(--sol); }
.ws-pasos { list-style: none; counter-reset: paso; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; padding: 0; margin: 0; }
.ws-pasos li { counter-increment: paso; padding: 1.3rem 1.4rem; border-radius: var(--radio); background: var(--crema); }
.ws-pasos li::before { content: counter(paso); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: .7rem; border-radius: 999px; background: var(--magenta); color: #fff; font: 800 1.1rem/1 var(--titular); }
.ws-pasos b { display: block; font: 800 1.2rem/1.2 var(--titular); }
.ws-nota { margin-top: 1.6rem; max-width: 46rem; color: var(--texto-2); }
.ws-resumen { grid-column: 1 / -1; margin: 0 0 .4rem; padding: .8rem 1rem; border-radius: 14px; background: var(--crema); color: var(--tinta); font-size: .95rem; }
.ws-resumen b { display: block; }
@media (max-width: 900px) { .ws-baraja { grid-template-columns: repeat(2, 1fr); } .ws-pasos { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ws-baraja { grid-template-columns: 1fr; } .ws-barra .ancho { flex-direction: column; align-items: stretch; text-align: center; } .ws-barra p { font-size: .9rem; } }

/* Cabecera de las páginas interiores, menos alta (usuario, 26-11-2026) */
@media (min-width: 901px) {
  .hero.interior { padding-block: calc(4.5rem + clamp(1.4rem, 2.6vw, 2.2rem)) clamp(3rem, 5vw, 4rem); }
  .hero.interior .ancho { grid-template-columns: 1.35fr .65fr; gap: clamp(1.5rem, 3vw, 3rem); }
  .hero.interior h1 { font-size: clamp(2.1rem, 3.9vw, 3.25rem); }
  .hero.interior .bajada { margin-top: 1rem; font-size: clamp(1.05rem, 1.35vw, 1.18rem); max-width: 50rem; }
  .hero.interior .pila-fotos { width: min(100%, 23rem); }
  .hero.interior .foto-hero { max-width: 24rem; justify-self: center; }
}
/* Catálogo: la introducción ocupa todo el ancho (usuario, 26-11-2026) */
#actividades > .ancho > .entrada { max-width: none; margin-bottom: clamp(1.4rem, 2.6vw, 2.2rem); }
#actividades > .ancho > .entrada p { max-width: none; margin-top: 0; }
/* Menú: el botón «Ver las N actividades» también se lee en la página del catálogo */
.sub a.todo[aria-current="page"], .grupo a.todo[aria-current="page"] { color: #fff; }
/* Portada: subtítulos de las dos filas de actividades y banda de talleres */
.portada-sub { margin: clamp(1.6rem, 3vw, 2.4rem) 0 1rem; font: 800 clamp(1.3rem, 2.2vw, 1.7rem)/1.15 var(--titular); letter-spacing: -.02em; }
.despues.centro { text-align: center; margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.ws-banda { padding-top: 0; }
/* Introducciones de sección a todo el ancho, en toda la web (usuario, 26-11-2026). Las centradas no cambian. */
.entrada:not(.centro) { max-width: none; }
.entrada:not(.centro) p { max-width: none; }
/* Catálogo: la guía con la tabla de actividades usa todo el ancho (usuario, 26-11-2026) */
.prosa.ancha:has(.tabla-caja) { max-width: none; }
/* Cabecera interior: fotos algo más grandes (usuario, 26-11-2026) */
@media (min-width: 901px) {
  .hero.interior .ancho { grid-template-columns: 1.2fr .8fr; }
  .hero.interior .pila-fotos { width: min(100%, 28rem); }
  .hero.interior .foto-hero { max-width: 29rem; }
}
/* Cabecera interior: fotos más grandes todavía (usuario, 26-11-2026) */
@media (min-width: 901px) {
  .hero.interior .ancho { grid-template-columns: 1.08fr .92fr; }
  .hero.interior .pila-fotos { width: min(100%, 34rem); }
  .hero.interior .foto-hero { max-width: 34rem; }
}
/* Los teléfonos no se parten nunca en dos líneas (usuario, 26-11-2026) */
a[href^="tel:"] { white-space: nowrap; }
.lateral-tel { text-wrap: balance; }
/* Menos espacio entre secciones en toda la web (usuario, 26-11-2026) */
:root { --seccion: clamp(2.6rem, 5vw, 4.4rem); }
.galeria { padding-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.entrada { margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
/* Menú: el idioma es una bolita con la bandera del Reino Unido (usuario, 26-11-2026) */
.idioma { display: inline-flex; align-items: center; }
.bola-uk { display: block; width: 1.75rem; height: 1.75rem; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .75); transition: scale .3s var(--rebote); }
.idioma:hover .bola-uk { scale: 1.12; }
/* Teléfonos: solo el número va subrayado (usuario, 26-11-2026) */
.telefono:has(.num) { text-decoration: none; }
.telefono .num { text-decoration: underline; text-decoration-color: var(--sol); text-decoration-thickness: 2px; text-underline-offset: .22em; }
/* Teléfonos de cabecera: el número, algo más grande que el texto que lo acompaña (usuario, 26-11-2026) */
.telefono .num { font-size: 1.22em; font-weight: 700; letter-spacing: -.01em; }
.telefono .num { margin-left: .35em; }
/* Revisión de móvil y tableta (26-11-2026) */
.hero .ancho > * { min-width: 0; }
.con-vias { grid-template-columns: minmax(0, 1fr); }
.con-vias > li { min-width: 0; }
.con-vias > li * { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .filtros button, .temas button, .temas a { min-height: 44px; }
}
@media (max-width: 900px) { .kcaso-filtros button { min-height: 44px; } }
/* Móvil: la barra de selección de talleres va encima de la barra inferior y sin botón repetido */
@media (max-width: 760px) {
  .ws-barra { bottom: 72px; padding: .55rem 0; }
  .ws-barra .boton { display: none; }
}

/* Dos vídeos en paralelo (página de gamificación) */
.videos-dos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.videos-dos .video { margin: 0; }
@media (max-width: 760px) { .videos-dos { grid-template-columns: 1fr; } }
/* Cabecera interior: que no ocupe toda la pantalla (usuario, 26-11-2026). Fotos en un punto intermedio y menos aire. */
@media (min-width: 901px) {
  .hero.interior { padding-block: calc(4.5rem + clamp(1.2rem, 2.2vw, 1.8rem)) clamp(2.2rem, 3.6vw, 3rem); }
  .hero.interior .ancho { grid-template-columns: 1.3fr .7fr; }
  .hero.interior .pila-fotos { width: min(100%, 24rem); }
  .hero.interior .foto-hero { max-width: 26rem; }
  .hero.interior .acciones { margin-top: 1.4rem; }
}

/* Fichas de actividad: «La innovación» e «Informe final de equipo» (26-11-2026) */
.extras-seccion { padding-block: clamp(2rem, 4vw, 3.4rem); }
.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.8rem); }
.extras.uno { grid-template-columns: minmax(0, 1fr); }
.extra { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.6rem); align-items: start; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 26px; background: #fff; box-shadow: var(--sombra); }
.extra.innovacion { background: var(--tinta); color: #fff; }
.extra-icono { width: clamp(3.2rem, 5vw, 4.2rem); height: auto; padding: .7rem; border-radius: 18px; background: var(--sol); color: var(--tinta); rotate: -4deg; }
.extra.informe .extra-icono { background: var(--magenta); color: #fff; rotate: 3deg; }
.extra-ceja { margin: 0; font: 600 .78rem/1.2 var(--cuerpo); text-transform: uppercase; letter-spacing: .07em; color: var(--magenta-osc); }
.extra.innovacion .extra-ceja { color: var(--sol); }
.extra-t { margin: .3rem 0 .6rem; font: 800 clamp(1.4rem, 2.4vw, 1.9rem)/1.1 var(--titular); letter-spacing: -.02em; }
.extra p { margin: 0; }
.extra.innovacion p:not(.extra-ceja) { color: #efe8f7; }
.extra-puntos { list-style: none; margin: .9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.extra-puntos li { padding: .32rem .8rem; border-radius: 999px; background: var(--crema); font-size: .9rem; font-weight: 600; }
.extras.uno .extra { grid-template-columns: auto minmax(0, 1fr); }
@media (max-width: 860px) { .extras { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .extra { grid-template-columns: minmax(0, 1fr); } .extra-icono { width: 3.2rem; } }
/* Menú: el primer enlace de un desplegable simple (sin botón oscuro) se ve también cuando es la página actual */
.sub li > a.todo[aria-current="page"] { color: var(--magenta-osc); }
@media (max-width: 1060px) { .sub li > a.todo[aria-current="page"] { color: var(--sol); } }

/* Catálogo: las temáticas son H3 bajo un único H2 (mismo aspecto que tenían) y enlace a la tabla comparativa */
.tema-cabeza h3 { font: 800 clamp(1.5rem, 2.8vw, 2.1rem)/1.1 var(--titular); letter-spacing: -.03em; margin: 0; }
#actividades > .ancho > .entrada h2 { margin-bottom: .8rem; }
#actividades > .ancho > .entrada p + p { margin-top: .6rem; }
.ir-a-tabla a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--magenta-osc); }
.ir-a-tabla svg { width: 1rem; height: 1rem; }
#comparar { scroll-margin-top: 6rem; }

/* Sección de eventos: línea de enlaces a las demás páginas */
.eventos-mas { margin-top: 1.4rem; color: var(--texto-inv-2); font-size: 1rem; }
.eventos-mas a { color: #fff; font-weight: 600; text-decoration-color: var(--sol); }

/* Conversión (26-11-2026): botón intermedio centrado, tira de clientes, fecha opcional y redes en el pie */
.cta-medio.centro { text-align: center; margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.tira-clientes { padding-block: clamp(1.6rem, 3vw, 2.4rem); }
.tira-t { text-align: center; margin: 0 0 1rem; font: 600 .82rem/1.2 var(--cuerpo); text-transform: uppercase; letter-spacing: .08em; color: var(--texto-2); }
.opcional { font-weight: 400; opacity: .7; }
.redes { list-style: none; display: flex; gap: .6rem; padding: 0; margin: 1rem 0 0; }
.redes a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .25s, scale .3s var(--rebote); }
.redes a:hover { background: var(--magenta); scale: 1.08; }
.redes svg { width: 1.15rem; height: 1.15rem; }

/* Enlace al perfil de LinkedIn de Aneta */
.nombre-red { margin: .5rem 0 1.1rem; }
.nombre-red a { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--magenta-osc); text-decoration: none; }
.nombre-red a:hover { text-decoration: underline; }
.nombre-red svg { width: 1.1rem; height: 1.1rem; }
.autoria a { color: inherit; text-decoration-color: var(--sol); }

/* Los dos teléfonos van siempre en la misma línea; si no caben junto al botón, bajan los dos juntos (usuario, 27-11-2026) */
.telefonos { display: inline-flex; flex-wrap: nowrap; align-items: baseline; gap: 1.1rem; white-space: nowrap; }
@media (max-width: 480px) { .telefonos { flex-wrap: wrap; gap: .5rem 1rem; } }

/* Portada: dato de idiomas con las dos banderas */
.sello-idiomas { display: inline-flex; align-items: center; gap: .4rem; }
.sello-idiomas .bandera { width: 1.35rem; height: auto; border-radius: 3px; }

/* Portada: menos alto entre la cabecera y las actividades, para que las tarjetas se vean antes (usuario, 27-11-2026) */
.pruebas { padding-top: clamp(1.6rem, 3vw, 2.4rem); padding-bottom: clamp(.8rem, 1.6vw, 1.2rem); }
.cifras dt { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.cifras dd { margin-top: .3rem; font-size: .98rem; }
.pruebas .cifras + *, .pruebas .ancho > p { margin-top: 1.4rem; }
.palabras { padding-block: .75rem; margin-block: clamp(1rem, 2vw, 1.6rem); }
.palabras span { font-size: clamp(1.5rem, 3.1vw, 2.5rem); }
#actividades.seccion { padding-top: clamp(1.8rem, 3.4vw, 2.6rem); }
#actividades .entrada.centro { max-width: none; margin-bottom: 1rem; }
#actividades .entrada.centro h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
#actividades .entrada.centro p { max-width: 62rem; margin-top: .7rem; font-size: 1.08rem; }
#actividades .portada-sub { margin-top: 1.3rem; margin-bottom: .8rem; }

/* Casos reales: foto de cierre a todo el ancho (usuario, 27-11-2026) */
.kcaso-cierre { margin: clamp(2rem, 4vw, 3.2rem) 0 0; }
.kcaso-cierre img { display: block; width: 100%; height: auto; border-radius: 22px; }
.kcaso-cierre figcaption { margin-top: .7rem; text-align: center; font-size: .98rem; color: var(--tinta-suave, #555); }
.kcaso-cierre figcaption a { color: var(--magenta-osc); font-weight: 600; }

/* Talleres a la carta: título de cada grupo de talleres (27-11-2026) */
.ws-grupo { margin: clamp(2.4rem, 5vw, 3.6rem) 0 1.2rem; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.ws-grupo:first-of-type { margin-top: 0; }

/* Talleres a la carta: fotos de la cabecera un poco más grandes (usuario, 27-11-2026) */
@media (min-width: 901px) { .hero.interior .pila-fotos.pila-mayor { width: min(100%, 33rem); } }
@media (min-width: 901px) { .hero.interior .ancho:has(.pila-mayor) { grid-template-columns: 1.2fr .8fr; } .hero.interior .pila-fotos.pila-mayor { justify-self: end; } }

/* Foto grande a todo el ancho: en Nosotros ocupa las dos columnas; en las fichas va antes del collage (usuario, 27-11-2026) */
.ancho > .kcaso-cierre { grid-column: 1 / -1; width: 100%; }
.foto-grande-zona { padding-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.foto-grande-zona .kcaso-cierre { margin-top: 0; }

/* Nosotros: la foto de Aneta sube y se alinea con el arranque del texto (usuario, 27-11-2026) */
@media (min-width: 901px) { .aneta:has(> .kcaso-cierre) .aneta-foto { align-self: start; margin-top: 1.6rem; } }
/* Nosotros: menos hueco entre el texto de Aneta y la foto grande (usuario, 27-11-2026) */
.aneta:has(> .kcaso-cierre) { row-gap: clamp(1.4rem, 2.4vw, 2rem); }
.aneta > .kcaso-cierre { margin-top: 0; }

/* Casos reales: el titular de la lista cabe en dos líneas (usuario, 27-11-2026) */
#casos > .ancho > .entrada.centro { max-width: none; }
#casos > .ancho > .entrada.centro h2 { text-wrap: balance; }

/* El bloque oscuro de presupuesto de la derecha va recto en todas las páginas (usuario, 27-11-2026) */
.lateral { rotate: none; }

/* Selector: aviso cuando pocas actividades cumplen lo pedido (27-11-2026) */
.rec-vacio { margin: 0 0 1.2rem; padding: .8rem 1.1rem; border-radius: 14px; background: #fff3d1; font-weight: 600; }

/* Versión inglesa (usuario, 28-11-2026): el menú inglés es más corto y quedaba pegado a la derecha; va centrado entre el logo y el botón. */
@media (min-width: 1061px) {
  html[lang="en"] .nav { margin-inline: auto; }
}

/* Móvil (usuario, 28-11-2026): «Pide presupuesto» lleva al teléfono, el correo y el formulario; la dirección de la oficina no se
   muestra ahí para que quepan (se sigue viendo en ordenador). js/kleverplay.js pasa el ancla #presupuesto al bloque de contacto. */
@media (max-width: 760px) {
  .presupuesto .contacto p:nth-child(n+3) { display: none; }
  .presupuesto .contacto { margin-top: 1.2rem; scroll-margin-top: .6rem; }
}

/* Portada (velocidad, 28-11-2026): la foto principal ya trae el blanco y negro aplicado (img/hero-…-gris-…webp), así que el
   navegador no tiene que calcular el filtro. La pone _herramientas/velocidad.py. */
.hero-fondo img.sin-filtro { filter: none; }
