:root {
  --bg-main: #07070b;
  --bg-card: #17181b;
  --bg-alt: #111113;
  --accent: #26dbfd;
  --white: #f8f8f8;
  --gray: #adb3be;
  --text: #f2f2f2;
  --text-soft: #bfc6d3;
  --gold: #ffd700;
  --shadow: 0 2px 24px #26dbfd24, 0 4px 30px #0006;
}

/* Fix doble scroll vertical */
html {
  height: 100%;
  scrollbar-gutter: none;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: auto;           /* Todo el scroll vertical irá aquí */
  overflow-x: hidden;         /* Sigues forzando que no aparezca scroll horizontal */
  box-sizing: border-box;
}


html, body {
  background: var(--bg-main);
  color: var(--text);
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: inherit; }
h2 { font-size: 2em; font-weight: 800; color: var(--white); letter-spacing: 0.04em; margin-bottom: 1.1em; }

.navbar-glass {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  width: 100%; max-width: none;
  border-radius: 0 0 2em 2em;
  background: rgba(20,20,24,0.84);
  box-shadow: 0 8px 32px #26dbfd33, 0 0 0 3px #26dbfd11 inset;
  border-bottom: 1.2px solid #23235544;
  backdrop-filter: blur(18px) saturate(170%);
  display: flex; justify-content: center; align-items: center;
  padding: 0.3em 0 0.3em 0;
  margin: 0;
  transition: background 0.19s, box-shadow 0.19s;
}
.nav-content {
  width: 100%; max-width: 1200px; display: flex; align-items: center; justify-content: space-between; padding: 0 1.5em;
}
.logo {
  display: flex;
  align-items: center;
  height: 2.4em;
  width: auto;
  max-width: 12em;
  padding: 0;
}

.logo img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}
.menu { list-style: none; display: flex; gap: 1.3em; margin: 0; padding: 0; }
.menu li { color: var(--gray); opacity: 0.88; cursor: pointer; display: flex; flex-direction: column; align-items: center; padding: 0.3em 0.7em; border-radius: 1.2em; transition: color .17s, opacity .17s, background .14s;}
.menu li.active, .menu li:hover { color: var(--accent); opacity: 1; font-weight: 700; }
.menu i { font-size: 1.25em; display: block; margin-bottom: 0.05em; }
.menu span { font-size: 0.81em; letter-spacing: 0.01em; }

@media (max-width: 700px) {
  .navbar-glass { top: unset; bottom: 1.1em; border-radius: 1.6em; max-width: 98vw;}
  .nav-content { justify-content: center; }
  .logo { display: none; }
}

.hero-section {
  min-height: 55vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-top: 6.2em; padding-bottom: 3em;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.logo-hero { width: 7.5em; height: 7.5em; border-radius: 50%; background: linear-gradient(135deg,#26dbfd22,#232355 70%); box-shadow: 0 2px 34px #26dbfd22, 0 8px 44px #0005; margin-bottom: 1.2em; object-fit: cover;}
.main-title { font-size: 2.5em; font-weight: 800; letter-spacing: .06em; margin-bottom: 0.6em; color: var(--white);}
.hero-desc { font-size: 1.15em; color: var(--gray); margin-bottom: 1.2em; }
.btn-main {
  background: var(--accent); color: var(--bg-main); border-radius: 2em; padding: 0.70em 2.2em; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: 0 2px 18px #26dbfd29; border: none; text-decoration: none; font-size: 1.10em;
  transition: transform .14s, box-shadow .14s, background .14s, color .14s;
  display: inline-block;
}
.btn-main:hover { background: var(--white); color: var(--accent); transform: scale(1.06); box-shadow: 0 4px 28px #26dbfd55; }


.bio-img { width: 6.2em; height: 6.2em; border-radius: 50%; background: linear-gradient(135deg,#232355 40%,#26dbfd33 100%); box-shadow: 0 2px 18px #26dbfd15; object-fit: cover; }
.bio-text { max-width: 32em; }
.bio-lead { font-size: 1.17em; color: var(--accent); font-weight: 600; margin-bottom: 0.5em; }
.bio-details { font-size: 1em; color: var(--text-soft); }

.disco-section, .playlist-section, .trabajos-section, .contact-section {
  padding: 3.4em 0 3em 0;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.alt-bg { background: var(--bg-alt);}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.2em;
  padding-right: 1.2em;
  width: 100%;
  box-sizing: border-box;
}

.card-row {
  display: flex;
  gap: 2.1em;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.3em;
  width: 100%;
  box-sizing: border-box;
}
.card-disco, .card-playlist, .card-trabajo {
  background: var(--bg-card);
  border-radius: 1.3em;
  padding: 2em 1.1em;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 28em;
  min-width: 14em;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .13s, box-shadow .13s;
  box-sizing: border-box;
}
.card-disco:hover, .card-playlist:hover, .card-trabajo:hover { transform: scale(1.048); box-shadow: 0 8px 24px #26dbfd33; }
.cover { width: 100%; aspect-ratio: 1/1; background: #232355; border-radius: 1em; margin-bottom: 1em; box-shadow: 0 1px 7px #0005; object-fit: cover;}
.disco-title, .playlist-title { color: var(--white); font-size: 1.05em; font-weight: 700; margin-bottom: 0.7em; }
.playlist-desc, .disco-meta, .trabajo-meta { font-size: 0.97em; color: var(--text-soft); margin-bottom: 1em;}
.trabajo-text { color: var(--gold); font-size: 1em; margin-bottom: 0.6em; font-weight: 500;}
.btn-card { margin-top: auto; margin-bottom: 0.3em; }
.playlist-embed { margin: 2.5em auto 0 auto; max-width: 34em; }

.testimonial-video {
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  max-width: 40em;
  padding: 0;
  margin: 3em auto 1em auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-video video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  border-radius: 1em;
  box-shadow: 0 2px 12px #26dbfd12;
  background: transparent;
  display: block;
  margin-bottom: 1em;
}

.testimonial-video > h3 {
  background: transparent !important;
  color: var(--white) !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 1.2em;
  font-size: 1.2em;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}

.testimonial-video > h3.bg-dark,
.testimonial-video > h3.bg-secondary,
.testimonial-video > h3.bg-black {
  background: transparent !important;
  background-color: transparent !important;
}

.row-testimonios {
  margin: 2.5em 0 0 0;
  display: flex;
  gap: 2em;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}
.testimonio {
  background: #18181c;
  border-radius: 1em;
  padding: 1.2em 1.1em;
  font-style: italic;
  color: var(--white);
  max-width: 19em;
  box-shadow: 0 1px 8px #26dbfd12;
  font-size: 1.01em;
}
.testimonio .autor { display: block; margin-top: 0.9em; font-weight: 600; color: var(--accent); font-style: normal; font-size: 0.97em;}

.contact-section {
  padding-top: 3em;
  padding-bottom: 3em;
  width: 100%;
  box-sizing: border-box;
}
.contacto-flex {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 3em;
  max-width: 65em;
  margin: 0 auto 2.5em auto;
  width: 100%;
  box-sizing: border-box;
}
.contact-form, .soundbetter-block {
  flex: 1 1 0;
  min-width: 22em;
  max-width: 31em;
  width: 100%;
  box-sizing: border-box;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  background: var(--bg-card);
  border-radius: 1.2em;
  box-shadow: 0 2px 24px #26dbfd10;
  margin: 0;
}
.contact-form input, .contact-form textarea {
  padding: 0.8em 1em;
  border-radius: 0.8em;
  border: none;
  background: #191924;
  color: var(--text);
  font-size: 1em;
  margin-bottom: 0.6em;
}
.contact-form button { margin-top: 0.4em;}
.contact-mail { display: block; color: var(--white); margin-bottom: 1.2em; text-decoration: none; font-size: 1.06em; }
.contact-mail i { margin-right: 0.4em; color: var(--accent);}
.social-icons { display: flex; gap: 1.3em; justify-content: center; font-size: 1.7em; margin-top: 0.5em; }
.social-icons i { color: var(--gray); opacity: 0.82; transition: color .13s, opacity .13s; }
.social-icons i:hover { color: var(--accent); opacity: 1; }
.ubicacion { margin-top: 1.4em; color: var(--text-soft); font-size: 0.99em; }

.soundbetter-block {
  background: linear-gradient(120deg, #191a1e 60%, #26dbfd14 100%);
  border-radius: 1.2em;
  box-shadow: 0 2px 20px #26dbfd15;
  padding: 2.2em 1.1em 1.7em 1.1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
  box-sizing: border-box;
}

.soundbetter-logo {
  height: 2.3em;
  margin-bottom: 1.2em;
  filter: drop-shadow(0 3px 14px #26dbfd33);
}
.soundbetter-block h3 {
  color: var(--accent);
  font-size: 1.08em;
  font-weight: 800;
  margin-bottom: 0.8em;
  text-align: center;
  letter-spacing: 0.03em;
}
.soundbetter-block p {
  color: var(--gray);
  font-size: 1em;
  margin-bottom: 1.3em;
  text-align: center;
}

@media (max-width: 1100px) {
  .bio-section { flex-direction: column; gap: 1.3em;}
}
@media (max-width: 900px) {
  .container {
    padding-left: 1.2em;
    padding-right: 1.2em;
  }
  .card-row, .row-testimonios {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .card-disco, .card-playlist, .card-trabajo,
  .contact-form, .soundbetter-block, .testimonial-video,
  .testimonio {
    max-width: 98vw;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
  }
  .contacto-flex {
    flex-direction: column;
    gap: 1.6em;
    max-width: 98vw;
    padding-left: 1.2em;
    padding-right: 1.2em;
    box-sizing: border-box;
  }
}
@media (max-width: 600px) {
  .main-title { font-size: 1.38em; }
  .hero-section { padding-top: 5em;}
  .bio-img, .logo-hero { width: 10em; height: 10em;}
  h2 { font-size: 1.22em; }
}

.soundbetter-block {
  margin-bottom: 0;
}

.contact-form, .soundbetter-block {
  padding: 2.2em 1.1em 1.7em 1.1em;
}

.contact-form {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.contact-form, .soundbetter-block {
  min-height: 26em;
  min-width: 36em;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.1em;
  width: 100%;
  margin-top: 1.3em;
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
}

.card-disco, .card-playlist, .card-trabajo {
  background: var(--bg-card);
  border-radius: 1.3em;
  padding: 2em 1.1em;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .13s, box-shadow .13s;
  box-sizing: border-box;
  width: 100%;
  max-width: 18em;
  min-width: 0;
  margin: 0 auto;
}



@media (max-width: 1100px) {
  .card-row {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (max-width: 700px) {
  .card-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 por fila */
    gap: 1em;                              /* ajusta espacio entre cards */
    padding-left: 0.8em;                   /* mismo padding móvil que navbar */
    padding-right: 0.8em;
    box-sizing: border-box;
  }
  .card-disco, .card-playlist, .card-trabajo {
    max-width: none;   /* para que cada card ocupe bien su fracción */
  }
}
.alt-bg {
  background: var(--bg-alt);
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: 
    linear-gradient(to bottom, rgba(10,10,20,0.7) 60%, var(--bg-main) 100%),
  url('../img/portada-hero.jpeg') center center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 42em;
  margin: 0 auto;
  padding: 3em 1.5em;
  position: relative; z-index: 1;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,10,20,0.64); /* Otra capa de negro por encima */
  z-index: 0;
  pointer-events: none;
}

.hero-content img {
  width: 15em;
  max-width: 90vw;      /* Nunca más ancho que la pantalla en móvil */
  height: auto;         /* Mantiene proporción siempre */
  display: block;
  margin: 0 auto 1.5em auto; /* Centrado y separación abajo */
  filter: drop-shadow(0 3px 20px #26dbfd22);
}
@media (max-width: 600px) {
  .hero-content img {
    width: 11em;     /* Más pequeño en móvil */
    max-width: 82vw;
    margin-bottom: 1em;
  }
}

.bio-img.degradado {
  width: 40em;
  min-width: 11em;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 1.1em;
  -webkit-mask-image: linear-gradient(to bottom, #fff 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #fff 80%, transparent 100%);
  box-shadow: 0 2px 18px #26dbfd22;
  margin: 0;
  background: transparent;
}

.bio-text {
  flex: 1 1 0;
  min-width: 18em;
  max-width: 34em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: inherit;
  padding: 2em 0 2em 0;
}

@media (max-width: 900px) {
  .bio-section {
    flex-direction: column;
    gap: 1.3em;
  }
  .bio-img.degradado {
    width: 9em;
    max-width: 95vw;
    margin: 0 auto;
  }
  .bio-text {
    padding: 1.3em 0 1.2em 0;
    min-width: 0;
    max-width: 100%;
  }
}
.playlist-embed {
  margin: 3em auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100em;
  background: none;
  padding: 0;
}

.playlist-embed iframe {
  width: 50em;
  min-width: 17.5em;
  max-width: 100%;
  height: 26.25em;
  border-radius: 1.1em;
  box-shadow: 0 6px 32px #26dbfd11;
  border: none;
  background: #232355;
  display: block;
}
@media (max-width: 600px) {
  .playlist-embed, .playlist-embed iframe {
    width: 98vw;
    min-width: 0;
    max-width: 98vw;
    /* La altura puede bajar en móvil si lo ves muy grande */
    height: 300px;
  }
}

.disco-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em 1em;
  justify-content: center;
  margin-top: 0.9em;
}
.btn-main.btn-card {
  font-size: 1em;
  padding: 0.62em 1.5em;
  min-width: 7em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0;
}


.disco-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  justify-content: center;
  margin-top: 0.8em;
}

/* --- BOTÓN PRINCIPAL Y CARD --- */
.btn-main, .btn-card {
  background: var(--accent);
  color: var(--bg-main);
  border: none;
  border-radius: 2em;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 18px #26dbfd29;
  text-decoration: none;
  font-size: 1.10em;
  transition: transform .14s, box-shadow .14s, background .14s, color .14s;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  justify-content: center;
  cursor: pointer;
  padding: 0.70em 2.2em;
  min-width: 7em;
}

/* --- HOVER Y FOCUS (misma paleta para todos) --- */
.btn-main:hover, .btn-main:focus,
.btn-card:hover, .btn-card:focus,
.btn-icon:hover, .btn-icon:focus {
  background: var(--white);
  color: var(--accent);
  transform: scale(1.06);
  box-shadow: 0 4px 28px #26dbfd55;
  text-decoration: none;
}

/* --- BOTÓN SOLO ICONO --- */
.btn-icon {
  padding: 0;
  min-width: 0;
  min-height: 0;
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  font-size: 1.15em;
  box-shadow: 0 1px 6px #26dbfd0d;
  margin: 0;
  /* Igual paleta y hover que btn-main */
  background: var(--accent);
  color: var(--bg-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  text-decoration: none;
  transition: transform .14s, box-shadow .14s, background .14s, color .14s;
}

.btn-icon i {
  pointer-events: none;
  text-decoration: none;
}

/* --- ELIMINA CUALQUIER SUBRAYADO INDESEADO --- */
a.btn-main, a.btn-card, a.btn-icon,
a.btn-main:hover, a.btn-card:hover, a.btn-icon:hover,
a.btn-main:focus, a.btn-card:focus, a.btn-icon:focus {
  text-decoration: none !important;
}


.fade-in {
  opacity: 0;
  transform: translateY(60px) scale(1.08);  /* Baja desde abajo y con zoom suave */
  transition:
    opacity 1.15s cubic-bezier(.15,1.17,.73,.95),
    transform 1.05s cubic-bezier(.15,1.17,.73,.95);
  will-change: opacity, transform;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.card-disco:hover, .card-playlist:hover, .card-trabajo:hover {
  transform: scale(1.048) translateY(-6px);
  box-shadow: 0 12px 36px #26dbfd29;
  transition: transform 0.18s cubic-bezier(.39,.575,.565,1.000), box-shadow 0.18s cubic-bezier(.39,.575,.565,1.000);
}

.menu li {
  position: relative;
}
.menu li::after {
  content: '';
  position: absolute;
  left: 30%;
  right: 30%;
  bottom: 0.25em;
  height: 2.2px;
  background: var(--accent);
  border-radius: 1.2em;
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(.68,-0.55,.27,1.55);
}


.hero-content .main-title, .hero-content img {
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 1s 0.2s cubic-bezier(.39,.575,.565,1.000), transform 1s 0.2s cubic-bezier(.39,.575,.565,1.000);
}
.hero-content.visible .main-title,
.hero-content.visible img {
  opacity: 1;
  transform: none;
}

.btn-main:active, .btn-card:active, .btn-icon:active {
  box-shadow: 0 0 0 0.17em #26dbfd44, 0 4px 24px #26dbfd55;
  transition: box-shadow 0.11s;
}
.contact-form textarea,
.contact-form input {
  font-family: 'Montserrat', Arial, sans-serif !important;
}

.bio-section {
  padding: 4em 0 2.2em 0;
  background: var(--bg-main);
    text-align: center;
}

.bio-title {
  text-align: center;
  color: var(--white);
  margin-bottom: 1.6em;
  letter-spacing: 0.01em;
}

.bio-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5em;
  flex-wrap: wrap;
}

.bio-img.degradado {
  width: 13em;
  min-width: 8em;
  max-width: 20em;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 1.1em;
  -webkit-mask-image: linear-gradient(to bottom, #fff 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #fff 80%, transparent 100%);
  box-shadow: 0 2px 18px #26dbfd22;
  margin: 0;
  background: transparent;
}

.bio-text {
  flex: 1 1 0;
  min-width: 18em;
  max-width: 34em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: inherit;
  padding: 2em 0;
}

@media (max-width: 900px) {
  .bio-flex {
    flex-direction: column;
    gap: 1.3em;
  }
  .bio-title {
    margin-bottom: 1em;
    font-size: 1.32em;
  }
  .bio-img.degradado {
    width: 9em;
    max-width: 95vw;
    margin: 0 auto;
  }
}


@media (max-width: 700px) {
  .navbar-glass {
    max-width: 98vw;
    border-radius: 1.6em;
    box-sizing: border-box;
  }
  .nav-content {
    padding-left: 0.6em;
    padding-right: 0.6em;
  }
  .menu {
    gap: 0.2em;
  }
}

@media (max-width: 900px) {
  .container {
    padding-left: 1.2em;
    padding-right: 1.2em;
  }
}
@media (max-width: 700px) {
  .container {
    padding-left: 0.8em;
    padding-right: 0.8em;
  }
}


@media (max-width: 900px) {
  .contact-form, .soundbetter-block {
    max-width: 97vw;
    min-width: 0;
    width: 100%;
    padding-left: 0.6em;
    padding-right: 0.6em;
  }
  .contacto-flex {
    padding-left: 0.4em;
    padding-right: 0.4em;
  }
}

.row-testimonios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  margin: 2.5em 0 0 0;
  width: 100%;
  box-sizing: border-box;
}

/* Tablet: 2 columnas */
@media (max-width: 1100px) {
  .row-testimonios {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2em;
  }
}

/* Móvil: 1 columna */
@media (max-width: 700px) {
  .row-testimonios {
    grid-template-columns: 1fr;
    gap: 1em;
    padding-left: 0.4em;
    padding-right: 0.4em;
  }
}

.icon-traxsource img {
  width: 1em !important;
  height: 1em !important;
  min-width: 1em !important;
  min-height: 1em !important;
  max-width: 1em !important;
  max-height: 1em !important;
  opacity: 0.82;
  filter: grayscale(1) brightness(1.15);
  transition: filter .17s, opacity .17s;
  display: inline-block !important;
  vertical-align: middle !important;
  object-fit: contain !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: content-box !important;
}
.icon-traxsource:hover img,
.icon-traxsource:focus img {
  filter: grayscale(0) brightness(1.1) drop-shadow(0 0 8px var(--accent));
  opacity: 1;
}


.social-icons a i,
.social-icons a img {
  width: 1.25em;
  height: 1.25em;
  font-size: 1.25em;
  vertical-align: middle;
  display: inline-block;
  opacity: 0.82;
  filter: grayscale(1) brightness(1.15);
  transition: filter .17s, opacity .17s, color .17s;
}

/* Hover igual para todos: */
.social-icons a:hover i,
.social-icons a:focus i,
.social-icons a:hover img,
.social-icons a:focus img {
  filter: grayscale(0) brightness(1.1) drop-shadow(0 0 8px var(--accent));
  opacity: 1;
  color: var(--accent);
}


 .main-subtitle {
  font-size: 1.6em; 
}

.playlist-embed {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 3em 0 2.5em 0;
}

.playlist-embed iframe {
  width: 18em;
  min-width: 13em;
  max-width: 100vw;
  height: 28em;
  border-radius: 0.7em;
  box-shadow: none;
  border: none;
  background: transparent;
  display: block;
}




.playlist-btn-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1em;
  margin-bottom: 2em; /* Ajusta el espacio sobre el botón a tu gusto */
}

@media (max-width: 700px) {
  .playlist-embed iframe {
    width: 98vw;
    min-width: 0;
    max-width: 100%;
    height: 20em; /* O el alto que prefieras en móvil */
  }
}



.spotify-embed-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 3em 0 2.5em 0;
}

.spotify-embed-wrapper iframe {
  width: 45em;
  max-width: 100%;
  min-width: 14em;
  height: 30em;
  border-radius: 1.1em;
  box-shadow: 0 6px 32px #26dbfd11;
  border: none;
  display: block;
}

/* Responsive en móvil */
@media (max-width: 700px) {
  .spotify-embed-wrapper iframe {
    margin: 2em 2em 0em 1.1em;
    width: 98vw;
    min-width: 0;
    max-width: 100%;
  }
}

.bio-title {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .social-icons {
    margin-bottom: 3em;
    padding-bottom: 0.4em;
  }
}

.bio-img.degradado {
  opacity: 0;
  transform: scale(1.3);
  transition:
    opacity 0.9s cubic-bezier(.39,.575,.565,1.000),
    transform 0.9s cubic-bezier(.39,.575,.565,1.000);
  will-change: opacity, transform;
}
.bio-img.degradado.visible {
  opacity: 1;
  transform: scale(1);
}

.bio-img,
.bio-img.degradado {
  width: 22em !important;
  max-width: 32vw !important;  /* Limita el ancho en pantallas MUY grandes */
  min-width: 12em;
  height: auto !important;
  display: block;
  margin-bottom: 1.2em;
}


/* En móviles táctiles, desactiva los pseudo-estados hover/active */
@media (hover: none) and (pointer: coarse) {
  .menu li:hover,
  .menu li:active {
    /* Vuelve al estilo por defecto */
    color: var(--gray) !important;
    opacity: 0.88 !important;
    font-weight: 400 !important;
  }
  /* Pero si tiene la clase .active, ese es el único estilo que aplicamos */
  .menu li.active {
    color: var(--accent) !important;
    opacity: 1 !important;
    font-weight: 700 !important;
  }
}




.card-row {
  display: grid;                    /* ya lo tienes, solo asegúrate */
  grid-auto-rows: 1fr;              /* filas de igual altura */
}

/* Convierte cada card en flex vertical */
.card-disco,
.card-playlist,
.card-trabajo {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between;   /* espacio entre contenido y botón */
  box-sizing: border-box;
}

/* Botones siempre abajo, permiten wrap y no desbordan */
.btn-card,
.btn-main {
  margin-top: auto !important;      /* empuja el botón al fondo */
  white-space: normal !important;   /* permite varias líneas si hace falta */
  word-break: break-word !important;
  max-width: 100% !important;       /* nunca más anchos que la card */
  box-sizing: border-box;
}


@media (max-width: 700px) {
  .btn-card,
  .btn-main {
    padding: 0.6em 1em !important;  /* reduce un pelín el padding */
    font-size: 0.9em !important;    /* ajusta texto para que quepa */
  }
}

@media (max-width: 700px) {
  /* 1. Hacemos que la barra ocupe todo el ancho pero con el mismo padding que .container */
  .navbar-glass {
    left: 0 !important;
    right: 0 !important;
    bottom: 1.1em;                
    transform: none !important;
    max-width: none !important;
    box-sizing: border-box;
  }
  /* 2. Ajustamos el wrapper interno igual que .container */
  .nav-content {
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }

  /* 3. Distribuimos los items sin salirse */
  .menu {
    width: 100%;
    display: flex;
    justify-content: space-between; /* espacio uniforme */
    gap: 0;
  }
  .menu li {
    flex: 1;
    display: flex;
    flex-direction: column;    /* icono arriba, texto abajo */
    align-items: center;       /* centrado horizontal */
    justify-content: center;
    padding: 0.4em 0;          /* ajuste vertical */
    box-sizing: border-box;
  }
  /* 4. Icono centrado sin márgenes laterales */
  .menu i {
    font-size: 1.3em;
    margin: 0 0 0.2em 0;       /* solo margen bajo icono */
    display: block;
  }
  /* 5. Texto sin wrap y sin desplazamientos */
  .menu span {
    white-space: nowrap;       /* evita quiebres de línea */
    font-size: 0.75em;
    margin: 0;                 /* elimina margenes extra */
    text-align: center;
    display: block;
  }
}


/* ——— Navbar móvil sin overflow horizontal ——— */
@media (max-width: 700px) {
  .navbar-glass {
    position: fixed;
    bottom: 1.1em;
    /* Alineamos con el padding de .container: 0.8em a cada lado */
    left: 0.8em !important;
    right: 0.8em !important;
    /* Quitamos cualquier transform anterior */
    transform: none !important;
    /* No definimos width ni max-width: auto encaja entre left y right */
    width: auto !important;
    max-width: none !important;
    /* Conservamos solo el padding vertical original */
    padding: 0.3em 0 !important;
    box-sizing: border-box;
  }
  .nav-content {
    /* Aseguramos que el wrapper interno se estire correctamente */
    width: 100%;
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;
  }
}

@media (max-width: 700px) {
  /* 1) Alinea el contenido del navbar al inicio */
  .nav-content {
    justify-content: flex-start !important;
  }

  /* 2) Haz que la lista ocupe todo el ancho y los items se repartan */
  .menu {
    width: 100% !important;
    justify-content: space-between !important;
  }
}

/* —— Ajustes globales contra overflow lateral —— */
html, body {
  background: var(--bg-main);
  color: var(--text);
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Navbar móvil bien contenida */
@media (max-width: 700px) {
  .navbar-glass {
    left: 0;
    right: 0;
    width: 100vw;
    padding: 0.4em 0;
    box-sizing: border-box;
    margin: 0 auto;
    transform: none !important;
  }

  .nav-content {
    width: 100%;
    padding: 0 0.8em;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .menu {
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .menu li {
    flex: 1 1 auto;
    text-align: center;
    min-width: 0;
  }
}


.bio-text {
  text-align: justify;
}

/* Reseñas en video - grid modular */
.testimonial-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-video {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.video-responsive {
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.testimonio-caption {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #ccc;
}


/* Scrollbar estilizado para escritorio */
body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background-color 0.3s;
}

body::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

/* Firefox */
body {
  scrollbar-width: thin;
  scrollbar-color: #26dbfd transparent;
}


/* ————————————————————————————————————————
   3) Scrollbar estilizado (opcional)
   ———————————————————————————————————————— */
/* WebKit */
body::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-track {
  background: transparent;
}
body::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.2);
  border-radius: 6px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background-color 0.3s;
}
body::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255,255,255,0.4);
}
/* Firefox */
body {
  scrollbar-width: thin;
  scrollbar-color: #26dbfd transparent;
}


/* ————————————————————————————————————————
   Floating logo en móvil (clase .logo-float-mobile)
   ———————————————————————————————————————— */
.logo-float-mobile {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: 3.6em;
  opacity: 0;
  transform: scale(0.75);
  pointer-events: none;
  z-index: 80;
  filter: grayscale(1) brightness(1.1);
  transition:
    opacity 0.43s ease,
    transform 0.44s ease,
    filter 0.26s ease;
}

.logo-float-mobile.visible {
  opacity: 0.5;
  transform: scale(1);
  filter: grayscale(1) brightness(1.13) blur(0.4px);
}

/* ocultar en tablet/desktop */
@media (min-width: 768px) {
  .logo-float-mobile {
    display: none !important;
  }
}

body {
  -webkit-overflow-scrolling: touch;
}

/* ————————————————————————————————————————
   Logo flotante móvil como marca de agua
   ———————————————————————————————————————— */
.logo-float-mobile {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: 3.6em;
  opacity: 0;
  transform: scale(0.75);
  pointer-events: none;
  z-index: 80;
  filter: grayscale(1) brightness(1.1);
  transition:
    opacity 0.43s ease,
    transform 0.44s ease,
    filter 0.26s ease;
}

.logo-float-mobile.visible {
  opacity: 0.5;
  transform: scale(1);
  filter: grayscale(1) brightness(1.13) blur(0.4px);
}

/* Oculto en tablet/desktop */
@media (min-width: 768px) {
  .logo-float-mobile {
    display: none !important;
  }
}

/* Asegura que el body haga scroll solo él y no doble scroll */
html {
  overflow-x: hidden;
}
body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Tu resto de CSS sin cambios... */
