/* Capa web sobre deck.css: las páginas aprobadas, escaladas en pantallas anchas y en una columna en el móvil. */
body { font-family: 'Helvetica Neue', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
html { scroll-snap-type: y proximity; }
.deck { padding: 1px 0 72px; }
.p { scroll-snap-align: center; }
a { color: inherit; }

/* Vídeo: bloque sin número, después de «Quiénes somos» */
.vid .video { position: absolute; left: 107px; top: 80px; width: 1066px; height: 600px; background: #000; display: block; }

/* Barra de acciones */
.web-barra { position: fixed; right: 18px; bottom: 18px; z-index: 10; display: flex; align-items: stretch; gap: 6px; font-size: 13px; line-height: 1; }
.web-cont { display: flex; align-items: center; padding: 0 12px; background: rgba(250, 250, 247, .94); color: var(--gris); box-shadow: 0 0 0 1px #DAD8D2; font-variant-numeric: tabular-nums; }
.web-cont:empty { display: none; }
.web-btn { display: flex; align-items: center; padding: 12px 16px; background: var(--tinta); color: var(--papel); text-decoration: none; }
.web-btn.naranja { background: var(--naranja); color: var(--tinta); }
.web-btn:hover { opacity: .88; }
.web-btn:focus-visible, .p a:focus-visible, .video:focus-visible { outline: 2px solid var(--naranja); outline-offset: 2px; }

@media (min-width: 760px) {
  .p { zoom: var(--escala, 1); }
}

/* Móvil: cada página se recoloca en una columna, con el mismo contenido y el mismo orden */
@media (max-width: 759px) {
  html, body { background: var(--papel); }
  html { scroll-snap-type: none; }
  .deck { padding-bottom: 46px; }
  .p { width: auto; height: auto; overflow: visible; margin: 0; padding: 62px 22px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; border-bottom: 1px solid #DAD8D2; }
  .p.osc { border-bottom-color: #2E2B36; }
  .p > * { position: static !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; width: auto !important; height: auto !important; grid-column: 1 / -1; min-width: 0; }
  .p > .miga { position: absolute !important; left: 22px !important; top: 24px !important; }

  /* Tipo */
  .p > h2 { font-size: min(10.5vw, 46px) !important; line-height: 1.04 !important; letter-spacing: -0.03em !important; }
  .p > p { font-size: 18px !important; line-height: 1.35 !important; }
  .p > .ante { font-size: 19px !important; line-height: 1.3 !important; }
  .p > .nota { font-size: 11px !important; line-height: 1.45 !important; text-align: left !important; margin-top: 6px; }
  .p > .gig { font-size: min(29vw, 150px) !important; line-height: .9 !important; white-space: normal; margin: 4px 0 8px; }
  .portadilla > .gig { font-size: min(20vw, 104px) !important; }
  .portadilla { min-height: 78vh; align-content: end; }

  /* Imágenes */
  .p > .ph { grid-column: auto; width: 100% !important; aspect-ratio: 4 / 3; }
  .p > .pant, .vid .video { width: 100% !important; height: auto !important; aspect-ratio: auto; }
  .vid .video { aspect-ratio: 16 / 9; }
  .p > img:not(.ph):not(.pant) { height: 20px !important; justify-self: start; }

  /* Portada */
  .portada { min-height: 78vh; align-content: space-between; }
  .portada > .marca { height: 22px !important; }
  .portada > .pie { flex-wrap: wrap; font-size: 12px; }

  /* Tarjetas, columnas, barras y notas */
  .p > .tarjeta { padding: 22px 20px; }
  .p .cifra-t { font-size: 48px !important; }
  .p .cifra-t small { font-size: 26px; }
  .p .cifra-t[style*="margin-top"] { margin-top: 26px !important; }
  .p > .cols { grid-template-columns: 1fr 1fr !important; gap: 20px 16px !important; }
  .areas-g p { font-size: 14px; }
  .p > .capa { grid-template-columns: 1fr !important; gap: 12px; }
  .capa h3 { font-size: 26px; }
  .p > .barras { margin-top: 2px; }
  .barra { height: auto; padding: 12px 14px; flex-wrap: wrap; gap: 6px 12px; font-size: 15px; line-height: 1.35; }
  .barra > span { flex: 1 1 0; min-width: 0; }
  .barra b + span { flex: 1 1 100%; }
  .p > .notas { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .notas p { margin-bottom: 12px; font-size: 13px; }
  .p > div[style*="display:flex"] { flex-wrap: wrap; gap: 16px 28px !important; }
  .p > div[style*="display:flex"] p { width: 100% !important; }
  .p > div[style*="grid-template-columns"] { grid-template-columns: 1fr 1fr !important; }
  .p p.lt { font-size: 19px !important; }

  /* Barra de acciones a lo ancho */
  .web-barra { left: 0; right: 0; bottom: 0; gap: 0; }
  .web-cont { display: none; }
  .web-btn { flex: 1; justify-content: center; padding: 15px 10px; font-size: 14px; }
}
