/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #F5EFE0;
  --bg-alt:   #EDE7D3;
  --black:    #0a0a0a;
  --gold:     #C4A020;
  --gold-light: #D4B535;
  --white:    #FDFAF3;
  --grain:    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Courier New', Courier, monospace;
  background-color: var(--bg);
  color: var(--black);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
.section-title {
  font-family: Impact, 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--black);
}

.section-sub {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: #555;
  margin-top: 0.5rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: Impact, Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  background: rgba(245, 239, 224, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
}

.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.12); }

.nav-logo { height: 36px; width: auto; filter: brightness(0); }

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-family: Impact, Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--black);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.3) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(245,239,224,0.15) 0%,
    rgba(245,239,224,0.45) 50%,
    rgba(245,239,224,0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  padding-top: 80px;
}

.hero-logo {
  width: clamp(280px, 50vw, 600px);
  margin: 0 auto 24px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.15));
}

.hero-tags {
  font-family: Impact, Arial, sans-serif;
  font-size: clamp(0.85rem, 2.5vw, 1.3rem);
  letter-spacing: 0.15em;
  color: var(--black);
  margin-bottom: 8px;
}

.hero-duration {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: #555;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%       { transform: translateY(-12px) rotate(-3deg); }
}

/* ── TICKER ── */
.ticker {
  overflow: hidden;
  background: var(--black);
  padding: 14px 0;
  white-space: nowrap;
  user-select: none;
}

.ticker-dark {
  background: var(--gold);
}

.ticker-track {
  display: inline-flex;
  animation: tickerMove 28s linear infinite;
}

.ticker-track span {
  font-family: Impact, Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  padding-right: 0;
}

.ticker-dark .ticker-track span {
  color: var(--black);
}

.ticker-track-reverse {
  animation: tickerMoveReverse 22s linear infinite;
}

@keyframes tickerMove        { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tickerMoveReverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ── SECTIONS ── */
.section {
  padding: 100px 40px;
  position: relative;
}

.section:nth-child(even) { background: var(--bg-alt); }

/* grain overlay on alternating sections */
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  pointer-events: none;
  opacity: 0.5;
}

/* ── BANDA ── */
.banda { text-align: center; }
.banda .section-title { margin-bottom: 6px; }
.banda .section-sub   { margin-bottom: 48px; }

.members-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto 48px;
}

.member-card {
  flex: 1 1 160px;
  max-width: 200px;
  text-align: center;
}

.member-img-wrap {
  overflow: hidden;
  border: 3px solid transparent;
  transition: border-color 0.25s, transform 0.25s;
}

.member-card:hover .member-img-wrap {
  border-color: var(--gold);
  transform: translateY(-6px);
}

.member-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.3s;
}

.member-card:hover .member-img-wrap img { filter: brightness(1.05); }

.member-role {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
  margin-top: 8px;
}

.banda-info {
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #444;
  border-top: 1px solid rgba(0,0,0,0.12);
  padding-top: 32px;
}

/* ── MÚSICA ── */
.musica { background: var(--bg); }

.music-layout {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 900px;
  margin: 48px auto 0;
  flex-wrap: wrap;
  justify-content: center;
}

.single-cover-wrap {
  flex: 0 0 280px;
  box-shadow: 12px 12px 0 var(--gold);
  transition: box-shadow 0.3s, transform 0.3s;
}
.single-cover-wrap:hover {
  box-shadow: 16px 16px 0 var(--gold);
  transform: translate(-4px, -4px);
}

.single-cover-wrap img { width: 100%; display: block; }

.single-info { flex: 1 1 280px; }

.single-label {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 12px;
}

.single-name {
  font-family: Impact, Arial, sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.single-artist {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 28px;
}

.single-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: var(--black);
  color: var(--white);
  width: fit-content;
}

.stat-star { width: 32px; height: 32px; }

.stat-number {
  font-family: Impact, Arial, sans-serif;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.stat-unit {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  display: block;
  color: #bbb;
}

.stream-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-stream {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--black);
  transition: all 0.2s;
  color: var(--black);
}
.btn-stream:hover { background: var(--black); color: var(--white); }
.btn-stream.spotify:hover  { background: #1DB954; border-color: #1DB954; color: #fff; }
.btn-stream.apple:hover    { background: #fc3c44; border-color: #fc3c44; color: #fff; }
.btn-stream.youtube:hover  { background: #FF0000; border-color: #FF0000; color: #fff; }

/* ── PRESENCIA ── */
.presencia-section {
  background: var(--black);
  overflow: hidden;
}
.presencia-img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
}

/* ── VIDEOS ── */
.videos { text-align: center; }

.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--black);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) brightness(0.85);
  transition: filter 0.3s, transform 0.3s;
}

.video-card:hover .video-thumb img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.04);
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(0,0,0,0.35);
  transition: background 0.3s;
}

.video-card:hover .play-btn { background: rgba(196,160,32,0.75); }

.play-btn svg { width: 48px; height: 48px; drop-shadow(0 2px 8px rgba(0,0,0,0.5)); }

.video-label {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  margin-top: 10px;
  text-align: left;
}

/* ── LOGROS ── */
.logros { background: var(--bg-alt); text-align: center; }
.logros .section-title { margin-bottom: 48px; }

.logros-layout {
  display: flex;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
}

.logro-featured {
  flex: 0 0 280px;
  background: var(--black);
  color: var(--white);
  padding: 40px 32px;
  text-align: center;
}

.logro-icon { width: 60px; margin: 0 auto 16px; }

.logro-featured h3 {
  font-family: Impact, Arial, sans-serif;
  font-size: 2.2rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.logro-event {
  font-family: Impact, Arial, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.logro-org {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  color: #aaa;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.logro-detail {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  color: var(--gold-light);
  border-top: 1px solid #333;
  padding-top: 12px;
  margin-top: 12px;
}

.logros-secondary {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.logro-card-inner {
  display: flex;
  gap: 0;
  overflow: hidden;
  border: 2px solid var(--black);
  transition: border-color 0.25s, transform 0.25s;
}

.logro-card:hover .logro-card-inner {
  border-color: var(--gold);
  transform: translateX(4px);
}

.logro-card-inner img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(0.5);
}

.logro-text {
  padding: 16px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logro-text h4 {
  font-family: Impact, Arial, sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.logro-text p {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #555;
  line-height: 1.5;
}

/* ── DONDE ── */
.donde { text-align: center; }
.donde .section-title { margin-bottom: 8px; }
.donde .section-sub   { margin-bottom: 48px; max-width: 500px; margin-left: auto; margin-right: auto; }

.venues-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.venue-star { width: 20px; height: 20px; }

.donde-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.donde-photos img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: grayscale(0.5);
  transition: filter 0.3s, transform 0.3s;
}
.donde-photos img:hover { filter: grayscale(0); transform: scale(1.02); }

/* ── CONTACTO ── */
.contacto {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 40px;
}

.contacto-bg {
  position: absolute;
  inset: 0;
}

.contacto-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.3);
}

.contacto-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(245,239,224,0.75), rgba(245,239,224,0.92));
}

.contacto-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.contacto-title { margin-bottom: 40px; }

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--black);
  color: var(--white);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  transition: background 0.2s, transform 0.2s;
}

.social-btn:hover { background: var(--gold); color: var(--black); transform: translateY(-3px); }

.contact-direct {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--black);
  padding: 10px 20px;
  border: 1px solid rgba(0,0,0,0.2);
  transition: border-color 0.2s, background 0.2s;
}
.contact-item:hover { border-color: var(--gold); background: rgba(196,160,32,0.08); }
.contact-icon { font-size: 1.1rem; }

/* ── FOOTER ── */
.footer {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 40px 24px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin: 0 auto 16px;
  filter: brightness(0) invert(1);
}

.footer p {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 6px;
}

.footer a { color: var(--gold); }
.footer a:hover { text-decoration: underline; }

.footer-copy { color: #555 !important; font-size: 0.7rem !important; }

/* ── SPARKS ── */
.hero-sticker {
  position: absolute;
  bottom: 80px;
  right: 40px;
  width: 100px;
  animation: float 4s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
}

/* Chispas — solo visibles cuando el sticker tiene clase .sparking (click) */
.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  opacity: 0;
}
.s1  { top: 10%; left: 20%;  --tx: -22px; --ty: -28px; background: var(--gold); }
.s2  { top: 5%;  left: 60%;  --tx:  16px; --ty: -32px; background: #E8C840; width:4px; height:4px; }
.s3  { top: 20%; right: 8%;  --tx:  24px; --ty: -20px; background: var(--gold); }
.s4  { top: 50%; right: 2%;  --tx:  26px; --ty:  -6px; background: #FFF0A0; width:4px; height:4px; }
.s5  { bottom: 30%; right: 15%; --tx: 20px; --ty: 22px; background: var(--gold); }
.s6  { bottom: 15%; left: 25%; --tx: -20px; --ty: 24px; background: #E8C840; width:5px; height:5px; }
.s7  { bottom: 5%;  left: 55%; --tx:  8px; --ty: 26px;  background: var(--gold); width:4px; height:4px; }
.s8  { top: 40%;  left: 5%;   --tx: -24px; --ty: -12px; background: #FFF0A0; width:3px; height:3px; }

/* Al hacer click se activa la animación UNA SOLA VEZ */
.hero-sticker.sparking .spark {
  animation: sparkFly 0.9s ease-out forwards;
}
.hero-sticker.sparking .s1 { animation-delay: 0.00s; }
.hero-sticker.sparking .s2 { animation-delay: 0.06s; }
.hero-sticker.sparking .s3 { animation-delay: 0.12s; }
.hero-sticker.sparking .s4 { animation-delay: 0.18s; }
.hero-sticker.sparking .s5 { animation-delay: 0.08s; }
.hero-sticker.sparking .s6 { animation-delay: 0.14s; }
.hero-sticker.sparking .s7 { animation-delay: 0.04s; }
.hero-sticker.sparking .s8 { animation-delay: 0.20s; }

@keyframes sparkFly {
  0%   { transform: translate(0, 0) scale(1.2); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

/* ── STAT PREFIX + ── */
.stat-prefix {
  font-family: Impact, Arial, sans-serif;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
  margin-right: 1px;
}

/* ── YOUTUBE MUSIC BUTTON ── */
.btn-stream.ytmusic:hover { background: #FF0000; border-color: #FF0000; color: #fff; }

/* ── PRESENCIA DINÁMICA ── */
.presencia-section {
  background: var(--black);
  overflow: hidden;
  padding: 0;
}

.presencia-band {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.presencia-band img {
  width: 100%;
  display: block;
}

.presencia-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0 24px 60px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.presencia-card {
  flex: 1 1 220px;
  max-width: 280px;
  display: block;
  transition: transform 0.55s cubic-bezier(0.34,1.56,0.64,1), opacity 0.55s ease, box-shadow 0.3s ease;
  transform: translateY(40px);
  opacity: 0;
}

.presencia-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.presencia-card img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.presencia-card--featured {
  transform: translateY(40px) scale(1.04);
}
.presencia-card--featured.visible {
  transform: translateY(0) scale(1.08);
}

.presencia-card:hover {
  transform: translateY(-6px) scale(1.03) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

/* ── VIDEOS CON IFRAME ── */
.videos .section-title { margin-bottom: 6px; }
.videos .section-sub   { margin-bottom: 40px; }

/* Grid: 1 video grande arriba, 2 abajo */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Primer video ocupa todo el ancho */
.video-card:first-child {
  grid-column: 1 / -1;
}

.video-card {
  display: block;
  background: #000;
}

.video-frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  overflow: hidden;
}

.video-frame-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── VENUE POPUPS ── */
.venue-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border: 2px solid var(--black);
  font-family: Impact, Arial, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.venue-item:hover { background: var(--black); color: var(--white); }
.venue-item:hover .venue-star { filter: brightness(0) invert(1); }

.venue-hint {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: lowercase;
  margin-left: auto;
  opacity: 0;
  transition: opacity 0.2s;
}
.venue-item:hover .venue-hint { opacity: 1; }

/* Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 200;
  cursor: pointer;
}
.popup-overlay.active { display: block; }

/* Popup box */
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 201;
  max-width: min(90vw, 700px);
  width: 100%;
  background: var(--black);
  border: 3px solid var(--gold);
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0;
}
.popup.active {
  display: block;
  animation: popupIn 0.25s ease forwards;
}
@keyframes popupIn {
  from { transform: translate(-50%, -50%) scale(0.88); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1);    opacity: 1; }
}

.popup img {
  width: 100%;
  display: block;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--gold);
  width: 36px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
  z-index: 202;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.popup-close:hover { background: var(--gold); color: var(--black); }

/* ── CONTACT SVG ICON ── */
.contact-icon-svg {
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   RESPONSIVE — Sistema completo
   Breakpoints: 1024 · 768 · 480 · 360
   ════════════════════════════════════════ */

/* ── TABLET LANDSCAPE (≤1024px) ── */
@media (max-width: 1024px) {
  .section { padding: 80px 32px; }

  /* Nav */
  .nav-links { gap: 24px; }

  /* Hero */
  .hero-logo { width: clamp(240px, 44vw, 500px); }
  .hero-sticker { width: 88px; right: 28px; }

  /* Banda */
  .members-grid { gap: 14px; }
  .member-card { flex: 1 1 150px; max-width: 180px; }

  /* Música */
  .music-layout { gap: 40px; }
  .single-cover-wrap { flex: 0 0 240px; }
  .single-name { font-size: clamp(1.8rem, 4vw, 3rem); }

  /* Presencia */
  .presencia-cards { gap: 14px; }

  /* Logros */
  .logros-layout { gap: 24px; }
  .logro-featured { flex: 0 0 240px; padding: 32px 24px; }

  /* Videos */
  .video-grid { max-width: 900px; }

  /* Contacto */
  .social-links { gap: 12px; }
}

/* ── TABLET PORTRAIT (≤768px) ── */
@media (max-width: 768px) {

  /* ── Navbar ── */
  .navbar {
    padding: 10px 18px;
    position: fixed;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 57px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 3px solid var(--gold);
    padding: 0;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(0,0,0,0.07); }
  .nav-links a {
    display: block;
    padding: 16px 24px;
    font-size: 1rem;
    letter-spacing: 0.14em;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: var(--bg-alt); }
  .nav-toggle { display: block; font-size: 1.4rem; }
  .nav-logo { height: 30px; }

  /* ── Secciones base ── */
  .section { padding: 60px 18px; }
  .section-title { font-size: clamp(2rem, 8vw, 3.5rem); }

  /* ── Hero ── */
  .hero-content { padding-top: 70px; padding-left: 16px; padding-right: 16px; }
  .hero-logo { width: clamp(220px, 72vw, 420px); margin-bottom: 18px; }
  .hero-tags { font-size: clamp(0.7rem, 2.8vw, 1rem); letter-spacing: 0.1em; }
  .hero-duration { font-size: 0.8rem; margin-bottom: 24px; }
  .hero-btns { flex-direction: column; align-items: center; gap: 12px; }
  .hero-btns .btn { width: 100%; max-width: 280px; justify-content: center; }
  .hero-sticker { width: 65px; right: 14px; bottom: 50px; }

  /* ── Banda ── */
  .banda { padding-bottom: 50px; }
  .members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 500px;
  }
  /* Centrar la última fila de 2 cuando son 5 */
  .member-card:nth-child(4) { grid-column: 1; }
  .member-card:nth-child(5) { grid-column: 3; }
  .member-card { max-width: 100%; }
  .member-role { font-size: 0.65rem; }
  .banda-info { font-size: 0.85rem; }

  /* ── Ticker ── */
  .ticker-track span { font-size: 0.85rem; letter-spacing: 0.14em; }

  /* ── Música ── */
  .musica { padding: 60px 18px; }
  .music-layout {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .single-cover-wrap {
    flex: 0 0 auto;
    width: min(260px, 70vw);
    box-shadow: 8px 8px 0 var(--gold);
  }
  .single-info { text-align: center; width: 100%; }
  .single-name { font-size: clamp(2rem, 10vw, 3rem); }
  .single-stat { margin: 0 auto 24px; }
  .stream-buttons { justify-content: center; }
  .btn-stream { font-size: 0.75rem; padding: 9px 14px; }

  /* ── Presencia ── */
  .presencia-cards {
    flex-direction: column;
    align-items: center;
    padding: 0 16px 40px;
    gap: 12px;
  }
  .presencia-card { max-width: 320px; width: 100%; }
  .presencia-card--featured { transform: translateY(40px) scale(1) !important; }
  .presencia-card--featured.visible { transform: translateY(0) scale(1) !important; }

  /* ── Videos ── */
  .videos { padding: 60px 18px; }
  .video-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    gap: 12px;
  }
  .video-card:first-child { grid-column: 1; }
  .video-label { font-size: 0.72rem; }

  /* ── Logros ── */
  .logros-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .logro-featured {
    width: 100%;
    max-width: 100%;
    padding: 32px 24px;
  }
  .logro-featured h3 { font-size: 1.8rem; }
  .logros-secondary { gap: 14px; }
  .logro-card-inner img { width: 110px; height: 110px; }
  .logro-text h4 { font-size: 1.1rem; }

  /* ── Hemos Tocado En ── */
  .donde { padding: 60px 18px; }
  .venues-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .venue-item {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    justify-content: flex-start;
  }
  .venue-hint { margin-left: auto; opacity: 0.6; }
  .donde-photos {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .donde-photos img { height: 180px; }
  .donde-photos img:last-child { display: none; }

  /* ── Popups ── */
  .popup { max-width: 94vw; }

  /* ── Contacto ── */
  .contacto { padding: 60px 18px; min-height: auto; }
  .contacto-title { font-size: clamp(2rem, 9vw, 3.5rem); margin-bottom: 28px; }
  .social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 28px;
  }
  .social-btn { justify-content: center; padding: 12px 10px; font-size: 0.78rem; }
  .contact-direct { flex-direction: column; align-items: stretch; gap: 10px; }
  .contact-item { justify-content: center; }

  /* ── Footer ── */
  .footer { padding: 32px 18px; }
  .footer p { font-size: 0.72rem; }
}

/* ── MÓVIL (≤480px) ── */
@media (max-width: 480px) {

  /* Hero */
  .hero-logo { width: 82vw; }
  .hero-tags { font-size: 0.65rem; letter-spacing: 0.06em; }
  .hero-sticker { width: 55px; right: 10px; bottom: 40px; }

  /* Banda — 2 columnas en móvil pequeño */
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 320px;
    gap: 8px;
  }
  /* El vocalista (primero) va centrado */
  .member-card:first-child {
    grid-column: 1 / -1;
    max-width: 160px;
    margin: 0 auto;
  }
  .member-card:nth-child(4) { grid-column: auto; }
  .member-card:nth-child(5) { grid-column: auto; }

  /* Música */
  .single-cover-wrap { width: min(200px, 62vw); }
  .single-name { font-size: clamp(1.8rem, 9vw, 2.5rem); }
  .single-stat { flex-wrap: wrap; gap: 8px; }
  .stat-number { font-size: 1.6rem; }
  .stream-buttons { flex-direction: column; align-items: center; }
  .btn-stream { width: 100%; max-width: 260px; justify-content: center; }

  /* Logros */
  .logro-card-inner { flex-direction: column; }
  .logro-card-inner img { width: 100%; height: 160px; }
  .logro-text { padding: 14px 16px; }

  /* Contacto */
  .social-links { grid-template-columns: 1fr; }
  .social-btn { padding: 13px; }

  /* Sección title menor */
  .section-title { font-size: clamp(1.8rem, 9vw, 3rem); }
}

/* ── MÓVIL PEQUEÑO (≤360px) ── */
@media (max-width: 360px) {
  .navbar { padding: 10px 12px; }
  .nav-logo { height: 26px; }
  .section { padding: 48px 14px; }
  .hero-logo { width: 88vw; }
  .hero-tags { font-size: 0.58rem; }
  .btn { padding: 10px 18px; font-size: 0.85rem; }
  .members-grid { max-width: 280px; gap: 6px; }
  .single-cover-wrap { width: 170px; }
  .presencia-card { max-width: 290px; }
  .venue-item { font-size: 0.88rem; padding: 12px 14px; }
  .logro-featured h3 { font-size: 1.5rem; }
}
