/* ==========================================================
   CONJUNTO INFINITO
   Paleta tomada del logo (oro metálico) y de las chaquetas
   (cuero negro, flecos blancos y rojos).
   ========================================================== */
:root {
  --cuero: #120e0b;
  --cuero-2: #1b1511;
  --cuero-3: #261d17;
  --oro-claro: #f2d79b;
  --oro: #d3a65a;
  --oro-oscuro: #8c6227;
  --hueso: #efe8dc;
  --humo: #a89e91;
  --rojo: #c01e28;
  --linea: rgba(239, 232, 220, 0.13);
  --oro-grad: linear-gradient(180deg, #f6dfa4 0%, #d6a85c 48%, #8c6227 62%, #deb66e 82%, #b0813e 100%);

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --texto: "Archivo", "Segoe UI", system-ui, sans-serif;

  --ancho: 1200px;
  --margen: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
.sin-movimiento { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--cuero);
  color: var(--hueso);
  font-family: var(--texto);
  font-size: 1.0625rem;
  line-height: 1.62;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  color: var(--hueso);
}
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--oro-claro); outline-offset: 3px; }

.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--oro); color: var(--cuero); padding: 10px 14px; font-family: var(--display); font-weight: 700;
}
.saltar:focus { top: 12px; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 28px;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em;
  text-decoration: none; border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, filter .2s;
}
.boton--oro { background: var(--oro-grad); color: #1a120a; border-color: #b0813e; }
.boton--oro:hover { filter: brightness(1.08); }
.boton--linea { background: transparent; color: var(--hueso); border-color: rgba(239, 232, 220, 0.45); }
.boton--linea:hover { border-color: var(--oro-claro); color: var(--oro-claro); }
.boton--chico { min-height: 40px; padding: 0 16px; font-size: 1rem; }
.boton--ancho { width: 100%; }
.boton:disabled { opacity: .6; cursor: wait; }

/* ---------- Barra superior ---------- */
.barra {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--margen);
  transition: background-color .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.barra--solida {
  background: rgba(18, 14, 11, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--linea);
  padding-top: 10px; padding-bottom: 10px;
}
.barra__marca img { height: 44px; width: auto; opacity: 0; transition: opacity .3s; }
.barra--solida .barra__marca img, .menu-abierto .barra__marca img { opacity: 1; }
.menu { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 34px); }
.menu a {
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em;
  text-decoration: none; color: var(--hueso); padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.menu a:hover { border-bottom-color: var(--oro); }
.menu .menu__contratar {
  border: 1px solid var(--oro); color: var(--oro-claro); padding: 8px 18px; border-radius: 2px;
}
.menu .menu__contratar:hover { background: var(--oro); color: var(--cuero); }
.barra__menu {
  display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px; padding: 0 4px;
}
.barra__menu-linea { display: block; height: 2px; width: 28px; background: var(--hueso); transition: transform .25s; }
.barra__menu-linea + .barra__menu-linea { width: 18px; }
.menu-abierto .barra__menu-linea { width: 26px; }
.menu-abierto .barra__menu-linea:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-abierto .barra__menu-linea + .barra__menu-linea { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Portada ---------- */
.portada {
  position: relative; z-index: 2;
  min-height: 100svh; min-height: 100vh;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--oro-oscuro);
}
@supports (min-height: 100svh) { .portada { min-height: 100svh; } }
.portada__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 35%; }
.portada__velo {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 46%, rgba(18, 14, 11, 0.72), rgba(18, 14, 11, 0.25) 70%),
    linear-gradient(180deg, rgba(18, 14, 11, 0.6) 0%, rgba(18, 14, 11, 0.1) 30%, rgba(18, 14, 11, 0.35) 70%, var(--cuero) 100%);
}
.portada__contenido {
  position: relative; text-align: center; padding: 120px var(--margen) 110px;
  display: flex; flex-direction: column; align-items: center;
}
.portada__logo img {
  width: min(660px, 84vw); height: auto;
  filter: drop-shadow(0 6px 28px rgba(0, 0, 0, 0.65));
  animation: entrada 1.4s cubic-bezier(.2, .7, .2, 1) both;
}
.portada__lema {
  max-width: 34ch; margin: 28px 0 32px;
  font-size: clamp(1.08rem, 1.9vw, 1.3rem); font-weight: 400; line-height: 1.5; letter-spacing: .005em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
  animation: aparecer 1s .5s both;
}
.portada__acciones { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; animation: aparecer 1s .7s both; }
.portada__acciones .boton--linea { background: rgba(18, 14, 11, 0.35); }

/* Flecos que cuelgan de la portada, como en las chaquetas */
.flecos {
  position: absolute; left: 0; right: 0; top: 100%; height: 130px; overflow: hidden;
  pointer-events: none; transform-origin: top center;
  animation: vaiven 2.6s .4s ease-out both;
}
.flecos svg { display: block; overflow: visible; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .55)); }
.flecos svg .o { stroke-opacity: .7; }

@keyframes entrada { from { opacity: 0; transform: scale(1.06); filter: blur(6px) drop-shadow(0 6px 28px rgba(0,0,0,.65)); } to { opacity: 1; transform: none; } }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes vaiven {
  0% { transform: skewX(9deg); opacity: 0; }
  25% { transform: skewX(-6deg); opacity: 1; }
  50% { transform: skewX(3deg); }
  75% { transform: skewX(-1.2deg); }
  100% { transform: none; }
}

/* ---------- Secciones ---------- */
.seccion { max-width: var(--ancho); margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--margen); }

/* Música */
.musica { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding-top: clamp(150px, 16vw, 200px); }
.musica__texto p { max-width: 38ch; color: #d9d1c4; margin-top: 22px; }
.redes-linea { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px !important; }
.red { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--oro-claro); font-size: 1rem; }
.red svg { width: 20px; height: 20px; flex: none; }
.red:hover span { text-decoration: underline; text-underline-offset: 3px; }

.reproductor {
  background: linear-gradient(180deg, var(--cuero-3), var(--cuero-2));
  border: 1px solid rgba(211, 166, 90, 0.28);
  border-radius: 6px; padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 3px; background: #000; }
.video__pie { margin: 16px 0 0; }
.video__pie a { color: var(--oro-claro); text-underline-offset: 4px; }
.video:not([hidden]) + .mp3:not([hidden]) { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--linea); }
.reproductor__ahora { display: flex; align-items: center; gap: 20px; }
.reproductor__play {
  width: 68px; height: 68px; flex: none; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--oro-grad); color: #1a120a; display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(211, 166, 90, 0.12);
}
.reproductor__play svg { width: 28px; height: 28px; fill: currentColor; }
.reproductor__play .i-pausa, .sonando .reproductor__play .i-play { display: none; }
.sonando .reproductor__play .i-pausa { display: block; }
.reproductor__info { min-width: 0; }
.reproductor__titulo { font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; margin: 0 0 4px; }
.reproductor__estado { margin: 0; color: var(--humo); font-size: 1rem; }
.reproductor__barra { display: flex; align-items: center; gap: 12px; margin: 22px 0 18px; font-size: .9rem; color: var(--humo); font-variant-numeric: tabular-nums; }
.reproductor__barra input { flex: 1; accent-color: var(--oro); height: 4px; cursor: pointer; }
.reproductor__lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linea); }
.pista { display: flex; align-items: center; border-bottom: 1px solid var(--linea); }
.pista__boton {
  flex: 1; display: flex; align-items: baseline; gap: 16px; text-align: left;
  background: none; border: 0; color: var(--hueso); cursor: pointer;
  padding: 14px 4px; font: inherit; font-size: 1.05rem;
}
.pista__num { font-family: var(--display); font-weight: 700; color: var(--humo); width: 1.2em; }
.pista__boton:hover .pista__titulo { color: var(--oro-claro); }
.pista--activa .pista__num, .pista--activa .pista__titulo { color: var(--oro-claro); }
.pista__enlace { font-size: .95rem; color: var(--oro); padding: 8px; }

/* Fechas */
.fechas__cabeza { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: 44px; }
.fechas__cabeza p { color: #d9d1c4; max-width: 34ch; margin: 0; }
.fechas__lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--oro-oscuro); }
.fecha {
  display: grid; grid-template-columns: 96px 1fr auto auto; align-items: center; gap: 12px 28px;
  padding: 24px 0; border-bottom: 1px solid var(--linea);
}
.fecha__dia { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.fecha__num { font-family: var(--display); font-weight: 900; font-size: 3.6rem; background: var(--oro-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fecha__mes { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--hueso); margin-top: 4px; }
.fecha__lugar { font-family: var(--display); font-weight: 700; font-size: 1.65rem; line-height: 1.1; margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.fecha__detalle { margin: 0; color: var(--humo); font-size: 1.02rem; }
.fecha__tipo { margin: 0; font-weight: 500; color: #d9d1c4; }
.etiqueta {
  font-family: var(--texto); font-weight: 500; font-size: .8rem; letter-spacing: .02em;
  border: 1px solid var(--rojo); color: #ff8a8f; padding: 1px 8px; border-radius: 20px;
}
.fechas__vacio { color: var(--humo); padding: 28px 0; }

/* Fotos */
.fotos h2 { margin-bottom: 40px; }
.galeria { columns: 3 280px; column-gap: 12px; }
.galeria__item {
  display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: var(--cuero-2);
  cursor: zoom-in; break-inside: avoid; overflow: hidden; border-radius: 2px;
}
.galeria__item img { width: 100%; height: auto; transition: transform .5s ease, filter .3s; filter: saturate(.92); }
.galeria__item:hover img { transform: scale(1.03); filter: saturate(1.05); }

/* Integrantes */
.integrantes { position: relative; min-height: 100vh; display: flex; align-items: flex-end; }
.integrantes__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.integrantes::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, var(--cuero) 0%, rgba(18,14,11,.05) 16%, rgba(18,14,11,.15) 48%, rgba(18,14,11,.9) 74%, var(--cuero) 100%);
}
.integrantes__panel { position: relative; z-index: 2; width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--margen) clamp(56px, 8vw, 96px); }
.integrantes__panel h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; color: var(--oro-claro); margin-bottom: 18px; }
.integrantes__nombres {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, max-content); gap: .05em .7em;
  font-family: var(--display); font-weight: 900; line-height: 1;
  font-size: clamp(2.4rem, 7.5vw, 6rem); letter-spacing: -.005em;
}
.integrantes__nombres li { display: inline-flex; align-items: baseline; gap: .22em; }
.integrantes__nombres li::before {
  content: "∞"; font-family: var(--texto); font-weight: 400; font-size: .4em; color: var(--oro);
  transform: translateY(-.4em);
}
@media (max-width: 560px) { .integrantes__nombres { grid-template-columns: repeat(2, max-content); } }

/* Contratar */
.contratar { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contratar__lado { position: sticky; top: 110px; }
.contratar__lado p { color: #d9d1c4; max-width: 40ch; margin-top: 22px; }
.contratar__foto { margin-top: 36px; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; filter: saturate(.9); }
.contacto-directo:empty { display: none; }
.contacto-directo { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.contacto-directo a { color: var(--oro-claro); font-size: 1.15rem; text-underline-offset: 4px; }
.formulario {
  background: var(--cuero-2); border: 1px solid var(--linea); border-top: 3px solid var(--oro);
  border-radius: 4px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px;
}
.campo-doble { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.campo { display: grid; gap: 6px; }
.campo label { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .03em; color: var(--oro-claro); }
.campo input, .campo select, .campo textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--hueso);
  background: rgba(0, 0, 0, .25); border: 1px solid rgba(239, 232, 220, .18); border-radius: 3px;
  padding: 12px 14px; min-height: 48px;
}
.campo textarea { resize: vertical; }
.campo select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--oro) 50%), linear-gradient(135deg, var(--oro) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.campo input::placeholder, .campo textarea::placeholder { color: #776e63; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--oro); box-shadow: 0 0 0 3px rgba(211, 166, 90, .2); }
.campo [aria-invalid="true"] { border-color: var(--rojo); }
.formulario__aviso { margin: 0; min-height: 1.4em; font-size: 1rem; }
.formulario__aviso--error { color: #ff8a8f; }
.formulario__aviso--ok { color: var(--oro-claro); }

/* Pie */
.pie { border-top: 1px solid var(--linea); text-align: center; padding: 64px var(--margen) 40px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pie__logo { width: 200px; height: auto; }
.pie__redes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin: 0; }
.pie__legal { color: var(--humo); font-size: .95rem; margin: 0; }

/* Visor de fotos */
.visor { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.visor::backdrop { background: rgba(8, 6, 5, .94); }
.visor[open] { display: grid; place-items: center; }
.visor img { max-width: min(92vw, 1600px); max-height: 86vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.visor button {
  position: fixed; background: rgba(18, 14, 11, .7); color: var(--hueso); border: 1px solid var(--linea);
  width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.visor button:hover { border-color: var(--oro); color: var(--oro-claro); }
.visor__cerrar { top: 16px; right: 16px; }
.visor__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.visor__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
.visor__cuenta { position: fixed; bottom: 14px; left: 0; right: 0; text-align: center; color: var(--humo); font-size: .95rem; margin: 0; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .musica, .contratar { grid-template-columns: 1fr; }
  .contratar__lado { position: static; }
  .fecha { grid-template-columns: 76px 1fr; }
  .fecha__num { font-size: 3rem; }
  .fecha__tipo, .fecha .boton { grid-column: 2; justify-self: start; }
  .fecha__tipo { margin-top: -4px; }
}
@media (max-width: 760px) {
  .barra__menu { display: flex; }
  .barra__marca img { height: 36px; }
  .menu {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px;
    padding: 90px var(--margen) 40px;
    background: var(--cuero);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .menu a { font-size: 2.6rem; font-weight: 800; }
  .menu .menu__contratar { margin-top: 18px; font-size: 1.6rem; padding: 10px 24px; }
  .menu-abierto { overflow: hidden; }
  .menu-abierto .menu { opacity: 1; visibility: visible; }
  .menu-abierto .barra { background: var(--cuero); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .galeria { columns: 2; column-gap: 8px; }
  .galeria__item { margin-bottom: 8px; }
  .integrantes { min-height: 92vh; }
  .portada__acciones .boton { flex: 1 1 200px; }
}
@media (max-width: 520px) {
  .campo-doble { grid-template-columns: 1fr; }
  .visor__nav { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
