/* ============================================================
   Pablo Etcheverri — hoja de estilos
   Paleta extraída del dossier oficial 2026.
   ============================================================

   CÓMO ESTÁ ORGANIZADO (buscá el título para saltar)

     1. TOKENS ................ colores, tipografías, medidas
     2. BASE .................. reset, body, enlaces, foco
     3. TIPOGRAFÍA ............ h1/h2/h3, .lead, .eyebrow
     4. BOTONES ............... .btn y variantes
     5. HEADER ................ barra fija y menú de celular
     6. HERO .................. portada
     7. SECCIONES ............. contenedores y grillas genéricas
     8. DISCOGRAFÍA
     9. AGENDA
    10. POR EL MUNDO
    11. SOBRE MÍ / FORMATO BANDA
    12. CONTACTO / PIE / WHATSAPP
    13. VISOR DE FOTOS (lightbox)
    14. AJUSTES FINALES PARA CELULAR   ← ojo, ver abajo

   DOS REGLAS PARA NO ROMPER NADA

   · Cambiar un COLOR o una MEDIDA GENERAL: tocá solo el bloque
     1 (TOKENS). Todo lo demás lo lee de ahí.

   · La sección 14 está al final A PROPÓSITO: son los ajustes de
     celular y, por estar últimos, le ganan a todo lo anterior.
     Si cambiás algo en una sección de más arriba y en el
     celular no se ve el cambio, es porque la 14 lo está
     pisando. Buscá ahí el mismo selector.

   Verificado con el analizador (scripts del proyecto): no hay
   declaraciones duplicadas que se pisen entre sí.
   ============================================================ */

/* ============================================================
   1. TOKENS
   ============================================================ */

:root {
  --bg:      #F6F5F3;   /* fondo general (del dossier) */
  --cream:   #FAF9ED;   /* fondo alterno cálido */
  --ink:     #14130F;   /* texto principal / secciones oscuras */
  --taupe:   #807666;   /* acento (del dossier) */
  --sand:    #BDB3A4;   /* acento claro */
  --muted:   #6B6558;   /* texto secundario */
  --line:    rgba(20, 19, 15, 0.12);
  --line-lt: rgba(250, 250, 248, 0.20);

  --serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --sans:  'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1180px;
  --pad-x: clamp(20px, 4vw, 40px);
  --pad-y: clamp(56px, 7vw, 96px);
  /* Altura del header. Este valor es el del header móvil (14px de padding
     + 44px del botón de menú + 14px). base.js lo remide y lo corrige al
     cargar, pero arrancar con el número correcto evita que el contenido
     salte en el celular durante la primera pintada. */
  --header-h: 72px;
}

/* ============================================================
   2. BASE
   ============================================================ */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;   /* iOS no agranda el texto al rotar */
  scrollbar-gutter: stable;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(128, 118, 102, .18);
}

/* Bloqueo de scroll del fondo (menú móvil y galería).
   position:fixed es el único método que funciona en iOS Safari;
   base.js guarda y restaura la posición. */
body.sin-scroll {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--taupe); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--ink); }
::selection { background: var(--taupe); color: var(--bg); }

:focus-visible { outline: 2px solid var(--taupe); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; color: var(--bg); }

.wrap { max-width: var(--wrap); margin: 0 auto; }

/* ============================================================
   3. TIPOGRAFÍA
   ============================================================ */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(46px, 7.5vw, 82px); line-height: 1.0; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4.5vw, 46px); line-height: 1.1; }
h3 { font-size: 22px; }
p  { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.lead { font-size: clamp(17px, 2vw, 19px); line-height: 1.7; color: #33302A; }

.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--taupe);
}
.eyebrow .rule { width: 36px; height: 1px; background: var(--taupe); flex: none; }

.label {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe);
}
.label-light { color: rgba(250, 250, 248, .55); letter-spacing: .16em; font-size: 13px; }

/* ============================================================
   4. BOTONES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; letter-spacing: 0.06em; line-height: 1;
  padding: 14px 26px; border: 1px solid transparent; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-pill { border-radius: 999px; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--taupe); color: var(--bg); }
.btn-ghost { border-color: rgba(20, 19, 15, .28); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   5. HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 245, 243, .92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--pad-x); max-width: 1400px; margin: 0 auto;
}
.brand { font-family: var(--serif); font-size: 17px; letter-spacing: .02em; color: var(--ink); }
.brand:hover { color: var(--taupe); }

.nav { display: flex; align-items: center; gap: 26px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.nav > a { color: var(--muted); }
.nav > a:hover { color: var(--ink); }
.nav > a.btn { color: var(--bg); text-transform: none; letter-spacing: .08em; padding: 9px 18px; }

/* En escritorio no existe: solo acompaña al menú desplegable */
.nav-velo { display: none; }

.nav-toggle {
  display: none; width: 46px; height: 44px; padding: 12px 8px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 1.5px; width: 100%; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 900px) {
  /* Header fijo (no sticky): así el bloqueo de scroll del menú no lo
     saca de pantalla. El padding-top del body compensa su altura. */
  .site-header { position: fixed; top: 0; left: 0; right: 0; }
  body { padding-top: var(--header-h); }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 58;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--pad-x) 22px;
    box-shadow: 0 18px 30px -24px rgba(20, 19, 15, .55);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.abierto { transform: none; opacity: 1; pointer-events: auto; }
  .nav > a {
    display: flex; align-items: center; min-height: 52px;   /* zona táctil cómoda */
    padding: 4px 2px; border-bottom: 1px solid var(--line); font-size: 16px;
  }
  .nav > a.btn { margin-top: 18px; align-self: flex-start; border-bottom: 0; padding: 0 22px; }

  /* Velo que oscurece la página detrás del menú abierto */
  .nav-velo {
    display: block;
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
    background: rgba(20, 19, 15, .38);
    opacity: 0; pointer-events: none; transition: opacity .22s ease;
  }
  .nav-velo.visible { opacity: 1; pointer-events: auto; }

  /* Botones con altura mínima táctil */
  .btn { min-height: 46px; }
}

/* ============================================================
   6. HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  border-bottom: 1px solid var(--line);
}
.hero-text {
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  min-width: 0; padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px);
}
.hero-text .lead { max-width: 44ch; color: #3D3931; }
.hero-media { position: relative; min-width: 0; min-height: min(620px, 78vw); border-left: 1px solid var(--line); background: var(--ink); }
.hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center; }
@media (max-width: 860px) {
  .hero-text { padding: 40px clamp(20px, 5vw, 64px) 44px; gap: 22px; }
  .hero-media { min-height: 54vh; border-left: 0; border-top: 1px solid var(--line); }
}
/* En celular la foto compite con los botones: la achicamos un poco más
   para que "Escuchar en Spotify" entre sin scrollear. */
@media (max-width: 620px) {
  .hero-text { padding: 34px 20px 38px; gap: 20px; }
  .hero-text h1 { font-size: 44px; }
  .hero-text .lead { font-size: 17px; line-height: 1.6; }
  .hero-media { min-height: 48vh; }
  .eyebrow { font-size: 11px; letter-spacing: .18em; }
  .eyebrow .rule { width: 24px; }
  .btn-row { gap: 10px; }
  .btn-row .btn { padding: 13px 20px; font-size: 13.5px; }
}

/* ============================================================
   7. SECCIONES — contenedores y grillas
   ============================================================ */
.section { padding: var(--pad-y) var(--pad-x); border-bottom: 1px solid var(--line); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--ink); color: var(--bg); border-bottom-color: transparent; }
.section-dark h2 { color: var(--bg); }
.section-contacto { border-bottom: 0; padding-bottom: clamp(56px, 6vw, 80px); }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px 32px; flex-wrap: wrap; margin-bottom: 40px;
}
.section-note { margin: 0; max-width: 46ch; font-size: 16px; line-height: 1.6; color: var(--muted); }
.section-dark .section-note { color: rgba(250, 250, 248, .6); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: clamp(24px, 3vw, 36px); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 45%), 1fr)); gap: clamp(18px, 2.5vw, 28px); }

/* ── Embeds ──────────────────────────────────────────────── */
.embed-block { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.embed { position: relative; border-radius: 14px; overflow: hidden; background: #EDEBE6; }
.embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.embed-spotify { height: 420px; }
.embed-video { aspect-ratio: 16 / 9; background: var(--ink); }
@media (max-width: 620px) { .embed-spotify { height: 352px; } }

/* ============================================================
   8. DISCOGRAFÍA
   ============================================================ */
.disco { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.disco-art {
  display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px;
  background: var(--sand); box-shadow: 0 1px 2px rgba(20,19,15,.08), 0 12px 28px -18px rgba(20,19,15,.5);
}
.disco-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.disco-art:hover img { transform: scale(1.035); }
.disco h3 { font-size: 24px; margin-top: 2px; }
.disco-meta { font-size: 13px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }

/* En celular, tres tapas cuadradas apiladas son ~1000px de scroll.
   Se pasan a lista compacta, estilo app de música: tapa chica + texto. */
@media (max-width: 620px) {
  .discos { gap: 20px; }
  .disco {
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 16px; row-gap: 3px;
  }
  .disco-art { grid-row: 1 / span 2; width: 100px; }
  .disco h3 { align-self: end; font-size: 20px; margin: 0; }
  .disco-meta { align-self: start; font-size: 12px; }
}

/* ============================================================
   9. AGENDA
   ============================================================ */
.agenda { display: flex; flex-direction: column; border-top: 1px solid var(--line-lt); }
.agenda-cargando, .agenda-vacia { padding: 28px 4px; color: rgba(250,250,248,.6); }

.fecha {
  display: grid;
  grid-template-columns: 130px 1.2fr 1fr auto;
  align-items: center; gap: 14px 28px;
  padding: 24px 4px; border-bottom: 1px solid var(--line-lt);
}
.fecha-dia { font-family: var(--serif); font-size: 23px; line-height: 1.2; white-space: nowrap; }
.fecha-dia .anio { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; color: rgba(250,250,248,.5); }
.fecha-ciudad { font-size: 19px; }
.fecha-ciudad .pais { color: rgba(250,250,248,.55); }
.fecha-lugar { font-size: 15px; color: rgba(250,250,248,.6); }
.fecha-lugar .hora { color: rgba(250,250,248,.85); font-weight: 500; }
.fecha .btn {
  border-color: rgba(250,250,248,.4); color: var(--bg);
  border-radius: 999px; padding: 11px 22px; font-size: 13px; white-space: nowrap;
}
.fecha .btn:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

@media (max-width: 820px) {
  .fecha { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 22px 2px; }
  .fecha-dia { grid-column: 1; grid-row: 1; font-size: 20px; }
  .fecha-ciudad { grid-column: 1; grid-row: 2; font-size: 18px; }
  .fecha-lugar { grid-column: 1; grid-row: 3; }
  .fecha .btn { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}

.agenda-pie { margin-top: 32px; font-size: 15px; color: rgba(250,250,248,.6); }
.agenda-pie a { color: var(--bg); border-bottom: 1px solid rgba(250,250,248,.5); }
.agenda-pie a:hover { color: var(--sand); border-color: var(--sand); }

/* ============================================================
  10. POR EL MUNDO
   ============================================================ */
.lugar { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lugar-media {
  position: relative; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden;
  background: var(--sand); border: 0; padding: 0; margin: 0; width: 100%; display: block;
}
.lugar-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
button.lugar-media { cursor: pointer; }
button.lugar-media:hover img { transform: scale(1.04); }
.lugar-media .ver-galeria {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(20,19,15,.78); color: #FAFAF8;
  font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(4px);
}

/* Marcador para países que todavía no tienen fotos */
.lugar-media.sin-foto {
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(128,118,102,.10) 0 12px, transparent 12px 24px),
    var(--cream);
  border: 1px solid var(--line);
}
.lugar-media.sin-foto span {
  font-family: var(--serif); font-size: 15px; color: var(--taupe);
  letter-spacing: .04em; text-align: center; padding: 0 16px;
}

.lugar-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.lugar-head h3 { font-size: 26px; }
.lugar-tag { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); white-space: nowrap; }
.lugar p { font-size: 15px; line-height: 1.7; color: #3D3931; }

@media (max-width: 620px) {
  .lugares { gap: 30px; }
  /* Seis países con foto 4:3 son muchísimo scroll en un teléfono.
     La foto real se achata un poco y el cartel "Fotos próximamente"
     pasa a ser una franja fina, para que no ocupe media pantalla. */
  .lugar-media { aspect-ratio: 16 / 10; }
  .lugar-media.sin-foto { aspect-ratio: 5 / 1; }
  .lugar-media.sin-foto span { font-size: 13px; }
  .lugar-head h3 { font-size: 23px; }
  .lugar-media .ver-galeria { left: 10px; bottom: 10px; padding: 9px 14px; }
}

/* ============================================================
  11. SOBRE MÍ / FORMATO BANDA
   ============================================================ */
.grid-sobre {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
.sobre-media img { border-radius: 4px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sobre-texto { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.sobre-texto p { margin: 0; font-size: 16.5px; line-height: 1.75; color: #3D3931; }
.sobre-texto .lead { font-size: 19px; color: #26241F; }

.datos {
  list-style: none; margin: 14px 0 0; padding: 20px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  border-top: 1px solid var(--line);
}
.datos li { display: flex; flex-direction: column; gap: 4px; }
.dato-n { font-family: var(--serif); font-size: 34px; line-height: 1; }
.dato-t { font-size: 13px; line-height: 1.4; color: var(--muted); }

/* ── Formato banda ───────────────────────────────────────── */
.musico { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.musico img { border-radius: 4px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.musico figcaption { display: flex; flex-direction: column; gap: 2px; }
.musico strong { font-weight: 500; font-size: 16px; }
.musico span { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ============================================================
  12. CONTACTO / PIE / WHATSAPP
   ============================================================ */
.grid-contacto {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: end;
}
.grid-contacto h2 { font-size: clamp(38px, 5.5vw, 58px); line-height: 1.05; letter-spacing: -.02em; }
.grid-contacto .lead { max-width: 38ch; margin-top: 20px; }
.contacto-links { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.contacto-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 26px; border: 1px solid rgba(20,19,15,.24); border-radius: 6px;
  color: var(--ink); font-size: 17px; word-break: break-word;
}
.contacto-link:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.contacto-link .arrow { opacity: .5; font-size: 15px; }
.contacto-wa { background: var(--taupe); color: #FAFAF8; border-color: var(--taupe); }
.contacto-wa:hover { background: var(--ink); border-color: var(--ink); }
.contacto-wa b { font-weight: 500; }

/* ============================================================
   FOOTER + WhatsApp flotante
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); padding: 26px var(--pad-x); font-size: 13px; color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.wa-float {
  position: fixed; z-index: 56;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 6px 22px -6px rgba(20,19,15,.5);
  transition: transform .2s ease, opacity .25s ease;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float:active { transform: scale(.94); }

/* Se aparta cuando el visitante ya llegó al bloque de contacto:
   ahí los botones grandes hacen el trabajo y el flotante estorba. */
.wa-float.oculto { opacity: 0; pointer-events: none; transform: scale(.8); }

@media (max-width: 620px) {
  .wa-float {
    right: calc(14px + env(safe-area-inset-right, 0px));
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: 52px; height: 52px;
  }
}

/* ============================================================
  13. VISOR DE FOTOS (lightbox)
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(12, 11, 9, .94);
  display: grid; place-items: center; padding: 56px 16px;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; display: flex; flex-direction: column; gap: 14px; align-items: center; max-width: min(1100px, 100%); }
.lb-figure img { max-height: 78vh; width: auto; border-radius: 3px; }
.lb-figure figcaption { color: rgba(250,250,248,.7); font-size: 14px; text-align: center; }

.lightbox button {
  position: absolute; background: none; border: 0; color: rgba(250,250,248,.75);
  cursor: pointer; font-family: var(--sans); line-height: 1;
  transition: color .2s ease;
}
.lightbox button:hover { color: #fff; }
.lb-close { top: 14px; right: 18px; font-size: 40px; padding: 6px 12px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 48px; padding: 12px 18px; }
.lb-prev { left: 6px; }
.lb-next { right: 6px; }

.lb-ayuda { display: none; }

@media (max-width: 620px) {
  .lightbox { padding: 62px 12px calc(72px + env(safe-area-inset-bottom, 0px)); }
  .lb-figure img { max-height: 66vh; }

  /* Zonas táctiles grandes, abajo, al alcance del pulgar */
  .lb-prev, .lb-next {
    top: auto; transform: none; font-size: 34px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: 58px; height: 52px; padding: 0;
    display: grid; place-items: center;
    border: 1px solid rgba(250, 250, 248, .3); border-radius: 999px;
  }
  .lb-prev { left: 16px; }
  .lb-next { right: 16px; }
  .lb-close {
    top: calc(10px + env(safe-area-inset-top, 0px)); right: 12px;
    width: 46px; height: 46px; padding: 0; font-size: 34px;
    display: grid; place-items: center;
  }
  /* Pista de que se puede deslizar (la maneja galeria.js) */
  .lb-ayuda {
    display: block; color: rgba(250, 250, 248, .45); font-size: 12px;
    letter-spacing: .1em; text-transform: uppercase; text-align: center;
  }
}

/* ============================================================
  14. AJUSTES FINALES PARA CELULAR
   El público principal de Pablo entra desde el teléfono, así que
   estos bloques mandan sobre lo de arriba.
   ============================================================ */
@media (max-width: 620px) {

  :root { --pad-y: 52px; --pad-x: 20px; }

  body { font-size: 16.5px; }

  .section-head { margin-bottom: 30px; gap: 14px; }
  .section-note { font-size: 15px; }

  /* Agenda: la fila ya se apila; le damos aire y un CTA cómodo */
  .fecha { padding: 20px 0; gap: 4px 14px; }
  .fecha-dia { font-size: 19px; }
  .fecha-ciudad { font-size: 17px; }
  .fecha-lugar { font-size: 14px; }
  .fecha .btn { padding: 0 18px; min-height: 46px; font-size: 13px; }
  .agenda-pie { margin-top: 26px; font-size: 14.5px; }

  /* Sobre mí */
  .sobre-texto .lead { font-size: 17.5px; }
  .sobre-texto p { font-size: 16px; }
  .sobre-media img { aspect-ratio: 4 / 3; }

  /* Contacto: los tres accesos son lo más importante del sitio */
  .grid-contacto { gap: 30px; }
  .grid-contacto .lead { margin-top: 16px; }
  .contacto-link { padding: 18px 20px; font-size: 16px; min-height: 62px; }
  .contacto-wa { font-size: 16.5px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 12.5px; }
  .site-footer { padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }

  /* Formato banda: dos columnas parejas */
  .banda { gap: 16px; }
  .musico strong { font-size: 15px; }
  .musico span { font-size: 12.5px; }
}

/* Teléfonos angostos (iPhone SE y similares) */
@media (max-width: 400px) {
  .hero-text h1 { font-size: 40px; }
  .datos { gap: 12px; }
  .dato-n { font-size: 27px; }
  .dato-t { font-size: 11.5px; }
  .disco { grid-template-columns: 86px 1fr; column-gap: 13px; }
  .disco-art { width: 86px; }
  .disco h3 { font-size: 18px; }
  .brand { font-size: 15.5px; }
}

/* ============================================================
   15. SIN JAVASCRIPT
   ============================================================
   <html> arranca con la clase "sin-js" y un script en el <head>
   se la saca al instante. Si el JS no corre (bloqueado, error
   de red, un navegador viejo), la clase queda y estas reglas
   evitan que el visitante vea un "Cargando…" eterno o secciones
   vacías: le mostramos un mensaje con el WhatsApp.
   ============================================================ */
.solo-sin-js { display: none; }
.sin-js .solo-sin-js { display: block; }
.sin-js .agenda-cargando { display: none; }
