/* ==========================================================
   LOLO DIAZ — Presskit Oficial 2026
   ========================================================== */
:root {
  --black: #0d0d0d;
  --red: #c8102e;
  --red-dark: #8f0b21;
  --white: #fff;
  --gray: #cccccc;
  --nav-h: 76px;
  --tab-w: 58px;
  --gutter: clamp(16px, 5vw, 72px);
  --f-title: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --f-text: "Montserrat", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  background: var(--black);
  color: var(--gray);
  font-family: var(--f-text);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
strong { color: var(--white); font-weight: 700; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Duotono rojo/negro ---------- */
.duo { position: relative; overflow: hidden; background: #222; isolation: isolate; }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.95); }
.duo::after {
  content: ""; position: absolute; inset: 0;
  background: var(--red);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ---------- Cuadraditos decorativos ---------- */
.squares { position: absolute; top: calc(var(--nav-h) + 24px); right: var(--gutter); display: flex; flex-direction: column; gap: 14px; z-index: 3; }
.bio .squares, .musica .squares { top: 48px; }
.squares i, .sq { display: block; width: 26px; height: 26px; background: var(--red); }
.squares i.o { background: transparent; border: 2px solid var(--red-dark); }
.sq { display: inline-block; flex: none; }

/* ---------- Títulos ---------- */
.h-xl {
  font-family: var(--f-title); font-weight: 400;
  font-size: clamp(56px, 9vw, 132px); line-height: .88;
  color: var(--white); letter-spacing: .01em;
  margin-bottom: 28px;
}
.h-lg {
  font-family: var(--f-title); font-weight: 400;
  font-size: clamp(36px, 5vw, 64px); line-height: .95;
  color: var(--white); margin: 72px 0 24px;
}
.lead { font-size: clamp(15px, 1.4vw, 18px); max-width: 640px; color: var(--gray); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px;
  font-family: var(--f-title); font-size: 24px; letter-spacing: .06em; line-height: 1;
  color: var(--white); background: var(--red); text-decoration: none;
  border: 2px solid var(--red);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background .25s, color .25s, transform .25s;
}
.btn:hover, .btn:focus-visible { background: var(--white); color: var(--red); border-color: var(--white); }
.btn--ghost { background: transparent; border-color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.btn--dark { background: var(--black); border-color: var(--black); }
.btn--dark:hover { background: var(--white); color: var(--black); }
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn--xl { font-size: clamp(24px, 4vw, 48px); padding: 26px 56px; clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%); }
.btn--xl svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: square; }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 48px;
  padding: 0 var(--gutter) 0 0;
  background: rgba(13, 13, 13, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav__logo {
  height: 100%; width: calc(var(--nav-h) + 20px); flex: none;
  display: grid; place-items: center;
  background: var(--red);
  margin-left: clamp(0px, 4vw, 56px);
}
.nav__logo img { width: 60px; height: 60px; object-fit: contain; }
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.nav__links a {
  font-family: var(--f-text); font-size: 13px; font-weight: 500; letter-spacing: .08em;
  text-decoration: none; color: var(--gray); position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--red); transition: width .25s; }
.nav__links a:hover, .nav__links a.active { color: var(--white); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__burger { display: none; }

/* ==========================================================
   SECCIONES — base y etiqueta lateral vertical
   ========================================================== */
.section { position: relative; padding: 110px var(--gutter) 110px calc(var(--tab-w) + var(--gutter) + 24px); overflow: hidden; }
.wrap { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; }

.tab {
  position: absolute; z-index: 4; top: 0; left: clamp(0px, 4vw, 56px);
  width: var(--tab-w); padding: 26px 0 30px;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  background: var(--red); color: var(--white);
}
.tab--dark { background: var(--black); }
.tab__burger { display: flex; flex-direction: column; gap: 5px; }
.tab__burger i { display: block; width: 22px; height: 2px; background: currentColor; }
.tab__label {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--f-text); font-weight: 700; font-size: 14px; letter-spacing: .14em;
}

/* ==========================================================
   1. HERO
   ========================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 60px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; isolation: isolate;
}
.hero__diag {
  position: absolute; inset: 0; z-index: 0;
  background: var(--red);
  clip-path: polygon(40% 0, 79% 0, 54% 100%, 25% 100%);
}
.hero__photo {
  position: absolute; top: 0; bottom: 0; left: 36%; right: 0; z-index: 1; overflow: hidden;
  /* fundido de los bordes para que la foto no se vea recortada */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(0deg, transparent 0, #000 12%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(0deg, transparent 0, #000 12%);
  mask-composite: intersect;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* fuera de la diagonal: la foto original, oscurecida para fundirse con el negro */
.hero__photo > img { filter: brightness(.42) saturate(1.35) contrast(1.15); }
.hero__photo::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent 55%, rgba(13,13,13,.75) 100%), linear-gradient(0deg, rgba(13,13,13,.6), transparent 30%);
}
/* dentro de la diagonal: duotono rojo/negro */
.hero__photo-duo {
  position: absolute; inset: 0; z-index: 1; background: transparent;
  /* misma diagonal que .hero__diag, expresada en coordenadas de la foto (left 36% → width 64%) */
  clip-path: polygon(6.25% 0, 67.2% 0, 28.1% 100%, 0 100%, 0 27%);
}
.hero__photo-duo img { filter: grayscale(1) contrast(1.35) brightness(1.05); }
.hero__photo-duo::after { background: #ff2a40; }
.hero__line { position: absolute; z-index: 2; width: 2px; background: var(--red); transform-origin: top; transform: rotate(22deg); }
.hero__line--1 { left: 30%; top: 10%; height: 34%; }
.hero__line--2 { left: 27%; top: 30%; height: 18%; opacity: .7; }
.hero__content { position: relative; z-index: 3; padding-left: clamp(0px, 5vw, 60px); }
.hero__kit {
  display: inline-block; margin-bottom: 18px; padding: 6px 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .3em; color: var(--white);
  border-left: 4px solid var(--red); background: rgba(13,13,13,.6);
}
.hero__title {
  font-family: var(--f-title); font-weight: 400;
  font-size: clamp(88px, 15vw, 230px); line-height: .82; letter-spacing: .01em;
  color: var(--white); text-shadow: 0 6px 40px rgba(0,0,0,.35);
}
.hero__sub {
  margin-top: 14px; padding-left: clamp(6px, 4.2vw, 80px);
  font-size: clamp(14px, 1.6vw, 22px); font-weight: 500; letter-spacing: .16em; color: var(--gray);
}
.hero__loc {
  position: absolute; z-index: 3; left: calc(var(--gutter) + clamp(0px, 5vw, 60px)); bottom: 48px;
  display: flex; align-items: center; gap: 22px;
  font-size: 14px; font-weight: 500; letter-spacing: .12em; color: var(--white);
}

/* ==========================================================
   2. BIO
   ========================================================== */
.bio { padding-top: 0; padding-bottom: 0; min-height: 100vh; display: flex; align-items: center; }
/* el borde superior (25%–54%) continúa exactamente el borde inferior de .hero__diag */
.bio__diag { position: absolute; inset: 0; background: var(--red); clip-path: polygon(25% 0, 54% 0, 76% 100%, 37% 100%); z-index: 0; }
.bio__grid {
  position: relative; z-index: 2; width: 100%; max-width: 1360px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr); gap: clamp(20px, 3vw, 48px);
  align-items: stretch; padding: 100px 0;
  padding-right: 60px; /* columna libre para los cuadraditos de arriba a la derecha */
}
.bio__photo { aspect-ratio: 9 / 16; width: min(100%, calc(78vh * 9 / 16)); align-self: center; justify-self: center; }
.bio__photo::after { background: #ff3b4f; opacity: .9; }
.duo video { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.95); }
.bio__vertical { display: flex; gap: 14px; align-items: center; justify-content: center; }
.bio__vertical > span { writing-mode: vertical-rl; transform: rotate(180deg); }
.bio__name { font-family: var(--f-title); font-size: clamp(96px, 11vw, 168px); line-height: .8; color: var(--white); white-space: nowrap; }
.bio__genres { font-size: 11px; font-weight: 600; letter-spacing: .14em; line-height: 1.6; color: var(--white); opacity: .85; }
.bio__text { align-self: center; display: flex; flex-direction: column; gap: 16px; text-align: right; color: #f1d6da; font-size: 15px; }
.timeline { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.timeline li { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.timeline__txt { font-size: 14px; color: var(--white); }
.timeline__txt u { text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: 700; }
.timeline__year { font-family: var(--f-title); font-size: clamp(48px, 5vw, 72px); line-height: .9; color: var(--white); min-width: 2.1em; text-align: right; }

/* ==========================================================
   3. CABINAS
   ========================================================== */
.cabinas { padding-bottom: 0; }
.cabinas__bg { position: absolute; inset: 0; z-index: 0; opacity: .22; clip-path: polygon(55% 0, 100% 0, 100% 100%, 35% 100%); }
.venues { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px; margin-top: 48px; }
.venues li {
  position: relative; padding: 26px 24px 24px; min-height: 140px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  background: rgba(255,255,255,.035); border-left: 3px solid transparent;
  transition: background .3s, border-color .3s, transform .3s;
}
.venues li::before { content: ""; position: absolute; top: 18px; right: 18px; width: 10px; height: 10px; background: var(--red); }
.venues li:hover { background: rgba(200,16,46,.14); border-left-color: var(--red); }
.venue__name { font-family: var(--f-title); font-size: clamp(32px, 3vw, 42px); line-height: .95; color: var(--white); }
.venue__place { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--red); text-transform: uppercase; filter: brightness(1.35); }

/* Carrusel de fotos en cabina */
.gallery { max-width: 1000px; margin: 80px auto 0; outline: none; }
.gallery:focus-visible .gallery__frame { box-shadow: 0 0 0 3px var(--white); }
.gallery__frame { position: relative; isolation: isolate; aspect-ratio: 3 / 2; border: 1px solid var(--white); background: var(--black); }
/* bloque rojo desplazado detrás: sombra diagonal */
.gallery__frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red); transform: translate(18px, 18px);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}
.gallery__slides { position: absolute; inset: 0; overflow: hidden; background: var(--black); cursor: zoom-in; touch-action: pan-y; }
.gallery__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.gallery__slide.is-active { opacity: 1; }
.gallery__caption, .gallery__counter, .lightbox__caption {
  position: absolute; z-index: 2; margin: 0; pointer-events: none;
  font-family: var(--f-title); font-size: clamp(20px, 2.4vw, 30px); line-height: 1; letter-spacing: 2px; text-transform: uppercase;
  color: var(--white);
}
.gallery__caption { left: 0; bottom: 0; padding: 12px 18px 10px; background: var(--red); }
.gallery__counter { top: 14px; right: 16px; padding: 6px 10px 4px; background: rgba(13,13,13,.75); }

.gallery__arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 0; background: var(--red); color: var(--white); cursor: pointer;
  transition: background .2s, color .2s;
}
.gallery__arrow svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: square; }
.gallery__arrow:hover, .gallery__arrow:focus-visible { background: var(--white); color: var(--red); outline: none; }
.gallery__frame .gallery__arrow--prev { left: -72px; }
.gallery__frame .gallery__arrow--next { right: -72px; }

.gallery__thumbs {
  display: flex; gap: 8px; margin-top: 34px; padding: 4px 2px 10px;
  overflow-x: auto; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--red) transparent;
}
.gallery__thumbs::-webkit-scrollbar { height: 6px; }
.gallery__thumbs::-webkit-scrollbar-thumb { background: var(--red); }
.gallery__thumb { flex: none; width: 96px; height: 64px; padding: 0; border: 2px solid transparent; background: #222; cursor: pointer; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .5; transition: filter .25s, opacity .25s; }
.gallery__thumb:hover img, .gallery__thumb:focus-visible img, .gallery__thumb.is-active img { filter: none; opacity: 1; }
.gallery__thumb:hover, .gallery__thumb.is-active { border-color: var(--red); }
.gallery__thumb:focus-visible { outline: 2px solid var(--white); outline-offset: 1px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 72px 96px; background: rgba(0,0,0,.94); touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border: 1px solid var(--white); }
.lightbox__caption { left: 50%; bottom: 22px; transform: translateX(-50%); white-space: nowrap; }
.lightbox .gallery__arrow--prev { left: 24px; }
.lightbox .gallery__arrow--next { right: 24px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border: 0; background: var(--red); color: var(--white); font-size: 34px; line-height: 1; cursor: pointer; }
.lightbox__close:hover { background: var(--white); color: var(--red); }

.shared {
  position: relative; z-index: 2; margin: 96px calc(-1 * var(--gutter)) 0 calc(-1 * (var(--tab-w) + var(--gutter) + 24px));
  padding: 90px var(--gutter) 100px calc(var(--tab-w) + var(--gutter) + 24px);
  background: var(--red);
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
  text-align: center;
}
.shared__kicker { font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--white); }
.shared__names { margin: 14px 0 22px; font-family: var(--f-title); font-size: clamp(48px, 8vw, 120px); line-height: .9; color: var(--white); }
.shared__names span { white-space: nowrap; }
.shared__names i { font-style: normal; color: var(--black); }
.shared__txt { max-width: 720px; margin: 0 auto; color: #fde3e7; font-size: 15px; }

/* ==========================================================
   4. MÚSICA
   ========================================================== */
/* silueta centrada, delante de la banda roja (multiply: la silueta oscurece la banda) y con bordes difuminados */
.musica__bg {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  height: min(100%, 1200px); background: transparent; pointer-events: none;
  mix-blend-mode: multiply; opacity: .85;
  -webkit-mask-image: radial-gradient(ellipse 38% 50% at 55% 42%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 38% 50% at 55% 42%, #000 35%, transparent 100%);
}
.musica__bg img { object-position: 50% 30%; filter: grayscale(1) contrast(1.2) blur(1.5px); }
.musica__bg::after { display: none; }
.musica .wrap { z-index: 3; }
.musica__diag { position: absolute; inset: 0; z-index: 1; background: var(--red); clip-path: polygon(48% 0, 74% 0, 64% 100%, 34% 100%); }
.musica__intro { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.musica__text { display: flex; flex-direction: column; gap: 16px; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Producciones — círculos en zigzag */
.prods {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(16px, 4vw, 64px); row-gap: 24px;
  padding-bottom: 80px;
  padding-right: clamp(0px, 7vw, 140px); /* acerca la columna derecha al centro */
}
.prod { display: flex; align-items: center; gap: 20px; }
.prod:nth-child(3n+2) { transform: translateY(80px); }
.prod:nth-child(odd) .prod__circle { width: clamp(130px, 14vw, 190px); }
.prod:nth-child(3n) { flex-direction: row-reverse; text-align: right; }
.prod__circle {
  position: relative; display: block; flex: none; width: clamp(110px, 12vw, 160px); aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; padding: 0; cursor: pointer;
  border: 4px solid var(--white); background: #333;
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
  transition: transform .35s, box-shadow .35s;
}
.prod__circle img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transform: scale(1.35); }
.prod__circle::before { content: ""; position: absolute; inset: 0; background: rgba(13,13,13,.25); transition: background .3s; }
.prod__circle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  border-style: solid; border-width: 20px 0 20px 34px; border-color: transparent transparent transparent var(--white);
  transform: translate(-36%, -50%); filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
}
.prod__circle:hover, .prod__circle:focus-visible { transform: scale(1.06); box-shadow: 0 0 0 6px var(--red), 0 20px 50px rgba(0,0,0,.6); outline: none; }
.prod__circle:hover::before { background: rgba(200,16,46,.45); }
.prod__title { font-family: var(--f-text); font-weight: 800; font-size: clamp(13px, 1.2vw, 16px); line-height: 1.25; letter-spacing: .04em; text-transform: uppercase; color: var(--white); }
.prod__count { display: inline-block; margin-top: 8px; padding: 6px 10px 5px; background: var(--black); font-family: var(--f-title); font-size: clamp(26px, 2.4vw, 34px); line-height: 1; color: #ff2a46; }
.prod__count small { display: block; margin-top: 2px; font-family: var(--f-text); font-size: 10px; letter-spacing: .06em; color: var(--gray); text-transform: uppercase; }

.musica__bottom { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; margin-top: 40px; }
.spotify iframe { display: block; width: 100%; height: 352px; border: 0; border-radius: 12px; }
.musica__btns { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.musica__btns .btn { min-width: 240px; font-size: 32px; padding: 20px 36px; }

/* ==========================================================
   5. RIDER
   ========================================================== */
.rider { background: #111; }
.rider__diag { position: absolute; inset: 0; z-index: 0; background: var(--red); clip-path: polygon(82% 0, 100% 0, 100% 100%, 64% 100%); }
.rider__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 40px; }
.rider__item { padding: 40px 32px; background: var(--black); border-top: 4px solid var(--red); }
.rider__item svg { width: 54px; height: 54px; fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: square; stroke-linejoin: miter; filter: brightness(1.3); }
.rider__item h3 { margin: 22px 0 10px; font-family: var(--f-title); font-weight: 400; font-size: 44px; line-height: 1; color: var(--white); }
.rider__item p { font-size: 15px; }

/* ==========================================================
   6. CONTACTO
   ========================================================== */
.contacto { background: var(--red); color: var(--white); }
.contacto::before { content: ""; position: absolute; inset: 0; background: var(--black); clip-path: polygon(78% 0, 100% 0, 100% 100%, 92% 100%); opacity: .9; }
.contact { display: flex; flex-direction: column; }
.contact li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.3); }
.contact li:last-child { border-bottom: 1px solid rgba(255,255,255,.3); }
.contact__k { flex: 0 0 170px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #ffd0d7; }
.contact__v { font-family: var(--f-title); font-size: clamp(30px, 5vw, 64px); line-height: 1; text-decoration: none; color: var(--white); overflow-wrap: anywhere; transition: color .2s; }
.contact__v:hover { color: var(--black); }
.contact__wa { align-self: center; margin-left: auto; }

/* ==========================================================
   7. PRENSA
   ========================================================== */
.prensa { text-align: center; }
.prensa::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 80px, rgba(200,16,46,.07) 80px 82px); }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { padding: 56px var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 22px; border-top: 4px solid var(--red); text-align: center; font-size: 13px; }
.footer__logo { width: 90px; }
.social { display: flex; gap: 14px; }
.social a { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid rgba(255,255,255,.25); transition: background .2s, border-color .2s; }
.social a:hover { background: var(--red); border-color: var(--red); }
.social svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social svg .fill { fill: var(--white); stroke: none; }

/* ==========================================================
   MODAL
   ========================================================== */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.88); }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: min(1100px, 100%); }
.modal__close { position: absolute; right: 0; top: -54px; width: 46px; height: 46px; border: 0; background: var(--red); color: var(--white); font-size: 32px; line-height: 1; cursor: pointer; }

/* ==========================================================
   ANIMACIONES
   ========================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.prod.reveal.in:nth-child(3n+2) { transform: translateY(80px); }
.prod.reveal:nth-child(3n+2) { transform: translateY(114px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .prod.reveal:nth-child(3n+2) { opacity: 1; transition: none; }
  .reveal { transform: none; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1320px) {
  /* sin lugar a los costados: las flechas pasan sobre la foto */
  .gallery__frame .gallery__arrow--prev { left: 12px; }
  .gallery__frame .gallery__arrow--next { right: 12px; }
}

@media (max-width: 1100px) {
  .bio__grid { grid-template-columns: minmax(0, 1fr) auto; }
  .bio__text { grid-column: 1 / -1; text-align: left; }
  .timeline li { justify-content: flex-start; flex-direction: row-reverse; }
  .timeline__year { text-align: left; }
  .musica__intro, .musica__bottom { grid-template-columns: 1fr; }
  .musica__btns { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; --tab-w: 44px; }
  .nav { justify-content: space-between; gap: 0; padding-right: 0; }
  .nav__logo { margin-left: 0; width: 84px; }
  .nav__logo img { width: 48px; height: 48px; }
  .nav__burger {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    width: var(--nav-h); height: var(--nav-h); border: 0; background: var(--red); cursor: pointer;
  }
  .nav__burger span { display: block; width: 26px; height: 2px; background: var(--white); transition: transform .3s, opacity .3s; }
  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h));
    flex-direction: column; justify-content: center; align-items: center; gap: 10px;
    background: var(--black);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path .45s cubic-bezier(.7,0,.2,1);
  }
  .nav__links::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); clip-path: polygon(55% 0, 100% 0, 100% 100%, 25% 100%); }
  .nav__links.open { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .nav__links a { font-family: var(--f-title); font-size: 46px; font-weight: 400; letter-spacing: .04em; color: var(--white); }

  .section { padding: 84px var(--gutter) 84px calc(var(--tab-w) + 20px); }
  .tab { left: 0; padding: 18px 0 22px; gap: 16px; }
  .tab__label { font-size: 12px; }
  .squares { gap: 10px; }
  .squares i, .sq { width: 18px; height: 18px; }

  /* Hero mobile: foto a pantalla completa, bloque diagonal arriba */
  .hero { justify-content: flex-end; padding-bottom: 110px; }
  .hero__diag { clip-path: polygon(52% 0, 100% 0, 100% 22%, 18% 100%, 0 100%, 0 78%); }
  /* la foto sube: el bloque arranca por encima del hero y el borde inferior se funde con el gradiente oscuro */
  .hero__photo { left: 0; top: -12%; bottom: 12%; -webkit-mask-image: none; mask-image: none; }
  .hero__photo img { object-position: 45% 20%; }
  .hero__photo-duo { clip-path: polygon(52% 0, 100% 0, 100% 22%, 18% 100%, 0 100%, 0 78%); }
  .hero__photo::before { background: linear-gradient(0deg, rgba(13,13,13,.95) 0%, rgba(13,13,13,.4) 40%, transparent 70%); }
  .hero__line { display: none; }
  .hero__content { padding-left: 0; }
  .hero__title { font-size: clamp(84px, 27vw, 140px); }
  .hero__sub { padding-left: 4px; font-size: 13px; letter-spacing: .12em; }
  .hero__loc { left: var(--gutter); bottom: 44px; font-size: 12px; gap: 14px; }

  .bio__diag { clip-path: polygon(0 18%, 100% 8%, 100% 46%, 0 58%); }
  .bio__grid { padding: 84px 0; gap: 18px; }
  .bio__name { font-size: clamp(76px, 22vw, 110px); }
  .bio__genres { display: none; }
  .bio__text { color: var(--gray); }

  .cabinas__bg { clip-path: none; }
  .venues { grid-template-columns: 1fr 1fr; margin-top: 32px; }
  .venues li { min-height: 116px; padding: 20px 14px 16px; }
  .venue__name { font-size: 28px; }
  .venue__place { font-size: 11px; }
  .gallery { margin-top: 56px; }
  .gallery__frame::before { transform: translate(8px, 8px); }
  .gallery__frame .gallery__arrow--prev { left: 6px; }
  .gallery__frame .gallery__arrow--next { right: 6px; }
  .gallery__arrow { width: 44px; height: 44px; }
  .gallery__arrow svg { width: 22px; height: 22px; }
  .gallery__caption { padding: 8px 12px 6px; font-size: 18px; }
  .gallery__counter { top: 8px; right: 8px; font-size: 16px; }
  .gallery__thumbs { margin-top: 22px; gap: 6px; }
  .gallery__thumb { width: 72px; height: 48px; }
  .lightbox { padding: 64px 12px; }
  .lightbox .gallery__arrow--prev { left: 8px; }
  .lightbox .gallery__arrow--next { right: 8px; }

  .shared { margin-top: 64px; margin-left: calc(-1 * (var(--tab-w) + 20px)); padding: 80px var(--gutter) 72px; clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%); }

  .musica__diag { clip-path: polygon(62% 0, 100% 0, 100% 14%, 0 44%, 0 32%); }
  .musica__bg { height: 900px; opacity: .6; }
  .prods { grid-template-columns: minmax(0, 1fr); row-gap: 22px; padding-bottom: 0; padding-right: 0; }
  .prod:nth-child(3n+2), .prod.reveal.in:nth-child(3n+2) { transform: none; }
  .prod.reveal:nth-child(3n+2) { transform: translateY(34px); }
  .prod:nth-child(3n) { flex-direction: row; text-align: left; }
  .prod:nth-child(even) { flex-direction: row-reverse; text-align: right; }
  .prod { gap: 14px; }
  .prod > div { min-width: 0; }
  .prod__title { overflow-wrap: anywhere; }
  .prod__circle, .prod:nth-child(odd) .prod__circle { width: clamp(92px, 32vw, 120px); }
  .prod:nth-child(4n+1) .prod__circle { width: clamp(100px, 36vw, 138px); }
  .prod__count { max-width: 100%; font-size: clamp(22px, 7vw, 30px); }
  .prod__count small { font-size: 11px; }
  .musica__btns .btn { min-width: 0; flex: 1; font-size: 26px; padding: 16px 20px; }

  .rider__diag { clip-path: polygon(70% 0, 100% 0, 100% 100%, 92% 100%); }
  .rider__grid { grid-template-columns: 1fr; }
  .rider__item { padding: 30px 22px; }

  .contacto::before { clip-path: polygon(88% 0, 100% 0, 100% 100%, 96% 100%); }
  .contact__k { flex-basis: 100%; }
  .contact__v { font-size: clamp(28px, 8.4vw, 44px); padding: 8px 0; }
  .contact__wa { margin-left: 0; }

  .btn--xl { padding: 22px 26px; font-size: 26px; width: 100%; }
}
