/* Eventos Ballesteros · web de Wanda e Invictus · v1 (03/12/2026) */
@font-face { font-family: "Big Shoulders"; src: url("fuentes/big-shoulders.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fuentes/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --noche: #17122b;
  --noche-2: #221a3d;
  --texto: #f3efff;
  --texto-suave: #cbc3e3;
  --w-fondo: #2a1650;
  --w: #7a3fc0;
  --w-luz: #c9a6ff;
  --i-fondo: #0d3540;
  --i-oro: #dfcd92;
  --verde-wa: #1f8f4e;
  --titular: "Big Shoulders", "Arial Narrow", sans-serif;
  --cuerpo: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --margen: clamp(1.25rem, 5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--noche); color: var(--texto); font-family: var(--cuerpo); font-size: 1.0625rem; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2 { font-family: var(--titular); font-weight: 900; line-height: .95; margin: 0; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--w-luz); outline-offset: 3px; }

.saltar { position: absolute; left: -999px; top: 0; z-index: 50; background: var(--texto); color: var(--noche); padding: .6rem 1rem; }
.saltar:focus { left: 1rem; top: 1rem; }

/* Botones */
.boton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.4rem;
  border-radius: 4px; font-weight: 600; text-decoration: none; font-size: 1.05rem; line-height: 1.2;
  background: var(--texto); color: var(--noche); transition: transform .15s ease;
}
.boton:hover { transform: translateY(-2px); }
.boton-claro { background: var(--texto); color: var(--noche); }

/* Portada */
.portada { min-height: 100svh; display: grid; grid-template-rows: auto auto 1fr; }
.barra { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem var(--margen); }
.marca { padding: .2rem 0; font-family: var(--titular); font-weight: 800; font-size: 1.5rem; text-decoration: none; line-height: 1; letter-spacing: .01em; }
.marca span { display: block; font-family: var(--cuerpo); font-weight: 400; font-size: .85rem; color: var(--texto-suave); letter-spacing: 0; margin-top: .2rem; }
.portada h1 { font-size: clamp(2.6rem, 5.8vw, 5.6rem); padding: .4rem var(--margen) 1.4rem; max-width: 20ch; }
.duo { display: grid; grid-template-columns: 1fr; }
.lado { position: relative; display: block; min-height: 54svh; overflow: hidden; text-decoration: none; isolation: isolate; }
.lado > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.lado::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.lado-wanda::after { background: linear-gradient(to bottom, rgba(42, 22, 80, 0) 35%, rgba(42, 22, 80, .92) 88%); }
.lado-invictus::after { background: linear-gradient(to bottom, rgba(13, 53, 64, 0) 35%, rgba(13, 53, 64, .94) 88%); }
.lado-wanda > img { object-position: 50% 88%; }
.lado-invictus > img { object-position: 50% 25%; }
.lado:hover > img { transform: scale(1.03); }
.lado-pie { position: absolute; left: var(--margen); right: var(--margen); bottom: clamp(1.5rem, 4vw, 3rem); }
.lado-logo { width: min(100%, 420px); }
.lado-texto { display: block; margin-top: .9rem; font-size: 1.1rem; font-weight: 600; }
.lado-invictus .lado-texto { color: var(--i-oro); }

/* Orquestas */
.orquesta { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem); }
.orquesta-wanda { background: var(--w-fondo); }
.orquesta-invictus { background: var(--i-fondo); }
.orquesta-cabeza { display: grid; gap: 2.5rem; padding: 0 var(--margen); align-items: center; }
.orquesta-texto { max-width: 34rem; }
.orquesta h2 img { width: min(100%, 440px); }
.lema { font-family: var(--titular); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.05; margin: 1.4rem 0 1rem; }
.orquesta-wanda .lema { color: var(--w-luz); }
.orquesta-invictus .lema { color: var(--i-oro); }
.datos { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin: 1.4rem 0 1.8rem; color: var(--texto-suave); }
.datos strong { color: var(--texto); }
.orquesta-wanda .boton { background: var(--texto); color: var(--w-fondo); }
.orquesta-invictus .boton { background: var(--i-oro); color: var(--i-fondo); }
.redes { padding: 0 var(--margen); margin: 1.6rem 0 0; color: var(--texto-suave); }
.redes a { display: inline-block; padding: .75rem 0; color: var(--texto); font-weight: 600; text-underline-offset: 3px; }

/* Vídeo: solo se carga YouTube al tocar */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-portada { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: var(--texto); text-align: left; font: inherit; }
.video-portada img { width: 100%; height: 100%; object-fit: cover; }
.video-portada::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 8, 20, .8), rgba(10, 8, 20, .1) 60%); }
.video-icono { position: absolute; z-index: 1; left: 50%; top: 45%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 2px solid var(--texto); background: rgba(10, 8, 20, .35); transition: transform .2s ease; }
.video-icono::before { content: ""; position: absolute; left: 30px; top: 22px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent var(--texto); }
.video-portada:hover .video-icono { transform: scale(1.08); }
.video-texto { position: absolute; z-index: 1; left: 1.2rem; bottom: 1rem; right: 1.2rem; font-weight: 600; font-size: 1.1rem; }
.video-texto small { display: block; font-weight: 400; font-size: .9rem; color: var(--texto-suave); }

/* Galería: tira deslizable en móvil, mosaico en escritorio */
.galeria { display: grid; grid-auto-flow: column; grid-auto-columns: auto; gap: .6rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2.5rem var(--margen) .5rem; scrollbar-width: thin; }
.galeria li { scroll-snap-align: start; }
.galeria button { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; }
.galeria img { height: 340px; width: auto; max-width: none; object-fit: cover; }

/* Técnica */
.tecnica { display: grid; gap: 2.5rem; padding: clamp(3.5rem, 9vw, 7rem) var(--margen); background: var(--noche); }
.tecnica h2, .contratar h2 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); margin-bottom: 1.2rem; }
.tecnica-grande { margin: 0; }
.tecnica-grande img { width: 100%; max-height: 80svh; object-fit: cover; }
.tecnica-texto { max-width: 40rem; }
.tecnica-texto p { color: var(--texto-suave); font-size: 1.15rem; }
.tecnica-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 2rem; }
.tecnica-fotos img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }

/* Contratar */
.contratar { padding: clamp(3.5rem, 9vw, 7rem) var(--margen); background: var(--noche-2); }
.pasos { counter-reset: paso; display: grid; gap: 1.6rem; margin: 2rem 0 2.6rem; max-width: 60rem; }
.pasos li { counter-increment: paso; display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; align-items: baseline; color: var(--texto-suave); font-size: 1.15rem; }
.pasos li::before { content: counter(paso); font-family: var(--titular); font-weight: 900; font-size: 3rem; line-height: 1; color: var(--w-luz); }
.pasos strong { color: var(--texto); }
.boton-grande { background: var(--verde-wa); color: #fff; font-size: 1.2rem; min-height: 56px; padding: .9rem 2rem; }

/* Pie */
.pie { padding: 3.5rem var(--margen) 6rem; background: #0f0b1e; color: var(--texto-suave); font-size: 1rem; }
.pie-columnas { display: grid; gap: 2rem; }
.pie h2 { font-size: 1.5rem; color: var(--texto); margin-bottom: .6rem; }
.pie li { margin: .35rem 0; }
.pie a { text-underline-offset: 3px; }
.pie ul a { display: inline-block; padding: .7rem 0; color: var(--texto); }
.pie li { margin: 0; }
.pie-marca { font-family: var(--titular); font-weight: 900; font-size: 2rem; color: var(--texto); line-height: 1; margin-bottom: .6rem; }
.pie-legal { margin: 3rem 0 0; font-size: .92rem; }
.pie-legal a { display: inline-block; padding: .75rem 0; }

/* Botón flotante de WhatsApp (aparece al pasar la portada) */
.flotante {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 20; min-height: 52px; padding: .85rem 1.4rem;
  display: inline-flex; align-items: center; border-radius: 4px; background: var(--verde-wa); color: #fff; font-weight: 600;
  text-decoration: none; border: 1px solid rgba(255, 255, 255, .25);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.flotante.visible { opacity: 1; transform: none; pointer-events: auto; }

/* Visor de fotos */
.visor { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--noche); color: var(--texto); }
.visor[open] { display: flex; align-items: center; justify-content: center; }
.visor::backdrop { background: var(--noche); }
.visor img { max-width: 100%; max-height: 100svh; object-fit: contain; }
.visor-cerrar { position: absolute; top: calc(.8rem + env(safe-area-inset-top)); right: .8rem; z-index: 1; min-height: 48px; padding: .6rem 1.2rem; border: 1px solid var(--texto-suave); border-radius: 4px; background: var(--noche); color: var(--texto); font: 600 1rem var(--cuerpo); cursor: pointer; }

/* Escritorio */
@media (min-width: 760px) {
  .duo { grid-template-columns: 1fr 1fr; }
  .lado { min-height: 0; height: 100%; min-height: 66svh; }
  .pie-columnas { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .orquesta-cabeza { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .orquesta-invictus .orquesta-cabeza { grid-template-columns: 7fr 5fr; }
  .orquesta-invictus .orquesta-texto { order: 2; }
  .galeria { display: block; columns: 3 260px; column-gap: .8rem; overflow: visible; padding-top: 3.5rem; }
  .galeria li { break-inside: avoid; margin-bottom: .8rem; }
  .galeria img { height: auto; width: 100%; }
  .tecnica { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .tecnica-grande { position: sticky; top: 2rem; }
  .pasos { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .pasos li { grid-template-columns: 1fr; gap: .6rem; }
  .flotante { right: 1.5rem; bottom: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Aviso legal */
.legal { max-width: 44rem; padding: 1.5rem var(--margen) 4rem; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin: 1rem 0 .6rem; }
.legal h2 { font-size: 1.8rem; margin: 2.4rem 0 .8rem; }
.legal p { color: var(--texto-suave); }
.legal strong { color: var(--texto); }
.legal a { color: var(--texto); text-underline-offset: 3px; }
.legal-fecha { font-size: .95rem; }
.pie-corto { padding-bottom: 3rem; }
.pie-corto .pie-legal { margin: 0; }
