body {
  background-color: rgb(24, 24, 27);
  color: white;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ---------- HEADER ---------- */
.site-header {
  background-color: black;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
  font-family: 'Arial', sans-serif;
  overflow: visible;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 100;
  transition: height .25s ease, background .25s ease, box-shadow .25s ease;
}

.header-inner {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto 1fr;
  height: 80px;
  margin: 0 auto;
  max-width: 1200px;
  padding: 10px 16px;
  position: relative;
  transition: height .25s ease;
}

.logo {
  padding: 10px 0;
  vertical-align: top;
  z-index: 2;
  justify-self: center;
}

.logo img {
  cursor: pointer;
  filter: drop-shadow(0 0px 5px rgb(1, 147, 143));
  margin-top: -18px;
  transition: filter .3s ease, width .25s ease, margin-top .25s ease;
  width: 330px;
}

.logo img:hover {
  filter: drop-shadow(0 0px 10px rgb(1, 147, 143));
}

/* Menús de escritorio */
.desktop-nav {
  align-items: center;
  display: flex;
  gap: 6px;
}

.nav-left {
  justify-self: end;
}

.nav-right {
  justify-self: start;
}

.menu-item {
  border-radius: 6px;
  color: white;
  font-size: 18px;
  margin: -50px 10px 0 10px;
  padding: 10px 12px;
  transition: background .2s ease, text-shadow .2s ease, transform .15s ease;
  user-select: none;
}

.menu-item:hover {
  background-color: rgba(54, 204, 198, .2);
  cursor: pointer;
  text-shadow: 0 0 6px rgb(1, 147, 143);
  transform: translateY(-1px);
}

/* ---------- HAMBURGUESA + MENÚ MÓVIL ---------- */
.nav-toggle {
  display: none;
}

.hamburger {
  cursor: pointer;
  display: none;
  height: 44px;
  position: absolute;
  right: 12px;
  width: 44px;
}

.hamburger span {
  background: #fff;
  height: 2px;
  left: 10px;
  position: absolute;
  right: 10px;
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}

.hamburger span:nth-child(1) {
  top: 14px;
}

.hamburger span:nth-child(2) {
  top: 21px;
}

.hamburger span:nth-child(3) {
  top: 28px;
}

.nav-toggle:checked+.hamburger span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle:checked+.hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked+.hamburger span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-nav {
  background: rgba(0, 0, 0, .95);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
  display: none;
  padding: 8px;
  position: absolute;
  right: 12px;
  top: calc(100% + 8px);
  width: min(70vw, 260px);
  z-index: 3;
}

.mobile-nav .menu-item {
  border-radius: 8px;
  font-size: 16px;
}

/* ---------- BREAKPOINT PRINCIPAL ---------- */
@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: block;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
  }

  .logo img {
    margin-top: -18px;
    width: 330px;
  }

  .header-inner {
    gap: 0;
    grid-template-columns: 1fr 0px;
    height: 80px;
  }

  .nav-toggle:checked~.mobile-nav {
    display: grid;
    gap: 4px;
  }

  .mobile-nav .menu-item {
    display: block;
    margin: 0;
    padding: 10px 12px;
  }
}

@media (max-width: 820px) {
  .logo img {
    width: 300px;
  }

  .header-inner {
    gap: 10px;
    grid-template-columns: 1fr 0px;
    height: 73px;
  }
}

@media (max-width: 420px) {
  .logo img {
    width: 260px;
  }

  .header-inner {
    gap: 10px;
    grid-template-columns: 1fr 0px;
    height: 65px;
  }
}

/* --- Shrink on scroll --- */
.site-header.shrink .header-inner {
  grid-template-columns: 1fr auto 1fr;
  height: 70px;
}

.site-header.shrink .logo img {
  margin-top: -15px !important;
  width: 120px !important;
}

.site-header.shrink .menu-item {
  font-size: 17px;
  margin: 0 10px;
}

@media (max-width: 1080px) {
  .site-header.shrink .header-inner {
    grid-template-columns: 1fr 0px;
    height: 70px;
  }
}

@media (max-width: 820px) {
  .site-header.shrink .header-inner {
    height: 70px !important;
  }
}

@media (max-width: 420px) {
  .site-header.shrink .header-inner {
    height: 70px !important;
  }
}

/* ---------- BANNER RESPONSIVO ---------- */
.banner {
  background-color: rgb(24, 24, 27);
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.banner-img {
  display: block;
  height: calc(100vh - 80px);
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease, opacity 0.5s ease;
  width: 100%;
}

/* Por defecto, solo se ve el banner grande */
.mobile-banner {
  display: none;
}

/* 📌 Cambiar banner a partir de 830px */
@media (max-width: 830px) {
  .desktop-banner {
    display: none;
  }
  .mobile-banner {
    display: block;
  }
}

/* Ajustes previos que ya tenías */
@media (max-width: 820px) {
  .banner-img {
    height: calc(100vh - 73px);
    object-position: top center;
  }
}

@media (max-width: 420px) {
  .banner-img {
    height: calc(100vh - 65px);
    object-fit: cover;
    object-position: center top;
  }
}

@media (max-height: 500px) {
  .banner-img {
    height: 100vh;
    object-position: center;
  }
}

/* ---------- EVENTOS ---------- */
.eventos {
  align-items: center;
  background-color: rgb(24, 24, 27);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 30px 0;
}

.elemento-evento {
  background-color: rgb(30, 30, 33);
  border-radius: 6px;
  box-shadow: 0px 0px 7px rgb(56, 110, 113);
  display: flex;
  justify-content: space-between;
  margin: 10px auto;
  max-width: 1300px;
  overflow: hidden;
  transition: all 0.2s ease;
  vertical-align: middle;
  width: 80%;

}

.elemento-evento:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30, 60, 62, .35);
}

.izquierda {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.fecha {
  align-items: center;
  border-radius: 4px;
  border: solid 3px rgb(0, 184, 219);
  color: rgb(0, 184, 219);
  font-family: 'Arial', sans-serif;
  font-size: 20px;
  font-weight: bold;
  justify-content: center;
  margin: 10px 10px 10px 20px;
  padding: 10px;
  text-align: center;
}

.lugar {
  color: white;
  line-height: 18px;
  margin: 10px 0;
}

.lugar strong {
  font-size: 20px;
  font-weight: normal;
}

.lugar span {
  color: rgb(153, 161, 175);
  font-size: 18px;
}

.hora {
  font-size: 20px;
  margin: 0 40px;
}

.precio {
  font-size: 20px;
}

.info {
  align-items: center;
  background-color: rgb(0, 184, 219);
  border-radius: 4px;
  color: black;
  cursor: pointer;
  font-family: 'Arial', sans-serif;
  font-size: 18px;
  font-weight: normal;
  justify-content: center;
  margin: 20px;
  padding: 7px 15px;
  text-align: center;
  transition: all 0.2s ease-in-out;
}

.info:hover {
  transition: 0.3s;
  scale: 1.1;
}

h2 {
  border-bottom: solid rgb(0, 184, 219);
  margin: 20px 0;
}

@media (max-width: 791px) {
  .elemento-evento {
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 95%;
  }

  .izquierda {
    justify-content: space-between;
    width: 95%;
  }

  .hora,
  .precio {
    margin: 5px 10px;
  }

  .info {
    margin-top: 10px;
    width: 90%;
  }

  .elemento-evento a {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .fecha {
    margin: 10px 10px 10px 10px;
  }
}

@media (max-width: 471px) {
  .elemento-evento {
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 95%;
  }

  .izquierda {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .hora,
  .precio {
    margin: 5px 10px;
  }

}

/* ---------- FOTOS MIEMBROS ---------- */
#integrantes {
  background-color: rgb(24, 24, 27);
  margin: 0;
  padding: 40px 0 0 0;
  text-align: center;
  margin-top: 20px;
}

#integrantes span {
  border-bottom: solid rgb(0, 184, 219);
  font-size: 32px;
  font-weight: bold;
}

/* Contenedor principal */
.banda {
  background-color: rgb(24, 24, 27);
  display: grid;
  gap: 75px;
  grid-template-columns: repeat(3, 300px);
  grid-template-rows: repeat(2, auto);
  justify-content: center;
  padding: 50px 0;
  margin: 0;
}

/* Centrar las dos últimas fotos en la segunda fila */
.banda a:nth-child(4) {
  grid-column: 2;
}

.banda a:nth-child(5) {
  grid-column: 3;
}

/* Cada foto */
.foto {
  box-shadow: 0px 0px 7px rgb(56, 110, 113);
  height: 300px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
  width: 300px;
  border-radius: 6px;
}

.foto img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: filter 0.4s ease, transform 0.3s ease;
  width: 100%;
}

/* Overlay de texto */
.overlay {
  align-items: center;
  display: flex;
  flex-direction: column;
  inset: 0;
  opacity: 0;
  padding: 12px;
  position: absolute;
  justify-content: space-between;
  transition: opacity 0.4s ease;
}

.overlay h3 {
  border-bottom: 2px solid rgb(0, 184, 219);
  font-size: 30px;
  margin-top: 5px;
  text-align: center;
  width: fit-content;
}

.overlay .info {
  color: rgb(255, 255, 255);
  font-size: 20px;
  text-align: left;
}



/* Efecto hover */
.foto:hover img {
  filter: blur(4px) brightness(0.7);
  transform: scale(1.05);
}

.foto:hover .overlay {
  opacity: 1;
}

/* Animación zoom (visor) */
@keyframes zoom {
  from {
    opacity: 0;
    transform: scale(0.7);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsividad banda */
@media (max-width: 1100px) {
  .foto {
    height: 250px;
    width: 250px;
  }

  .banda {
    gap: 50px;
    grid-template-columns: repeat(3, 250px);
  }

  .overlay h3 {
    font-size: 30px;
  }

  .overlay .info {
    font-size: 20px;
  }
}

@media (max-width: 900px) {
  .banda {
    gap: 20px;
    grid-template-columns: repeat(2, 250px);
  }

  .foto {
    height: 250px;
    width: 250px;
  }

  .banda a:nth-child(4),
  .banda a:nth-child(5) {
    grid-column: auto;
  }

  .overlay h3 {
    font-size: 30px;
  }

  .overlay .info {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .banda {
    grid-template-columns: 1fr;
  }

  .foto {
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    width: 80%;
  }

}

/* ---------- SECCIÓN LETRAS ---------- */
.letras {
  background-color: rgb(24, 24, 27);
  color: #fff;
  margin: 0 auto;
  padding: 0 16px 30px 16px;
}

.letras h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .5px;
  margin: 0 auto 40px auto;
  padding-top: 40px;
  text-align: center;
  text-shadow: 0 0 6px rgba(1, 147, 143, .35);
  width: fit-content;
}

/* Cada bloque de letra */
.letra-item {
  background: rgba(255, 255, 255, .03);
  box-shadow: 0px 0px 7px rgb(56, 110, 113);
  border-radius: 6px;
  margin-bottom: 20px;
  max-width: 1100px;
  overflow: hidden;
  padding: 5px 0;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
  margin-left: auto;
  margin-right: auto;
}

.letra-item>summary {
  align-items: center;
  background: transparent;
  cursor: pointer;
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 14px 16px;
  position: relative;
  transition: background .2s ease;
  user-select: none;
}

.letra-item>summary::-webkit-details-marker {
  display: none;
}

.letra-item>summary::after {
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  content: "";
  height: 10px;
  margin-left: auto;
  opacity: .85;
  transform: rotate(-45deg);
  transition: transform .25s ease, opacity .25s ease;
  width: 10px;
}

/* Título de la canción */
.titulo-cancion {
  font-size: 20px;
  font-weight: normal;
  letter-spacing: .2px;
  text-shadow: 0 0 6px rgba(1, 147, 143, .35);
}

.letra-item>summary:hover {
  background: rgba(54, 204, 198, .12);
}

.letra-item>summary:focus-visible {
  border-radius: 8px;
  outline: 2px solid rgba(1, 147, 143, .8);
  outline-offset: 2px;
}

/* Estado abierto */
.letra-item[open] {
  background: rgba(255, 255, 255, .04);
  border-color: rgb(0, 184, 219);
  box-shadow: 0 0 0 2px rgba(54, 204, 198, .15) inset, 0 8px 24px rgba(0, 0, 0, .35);
}

.letra-item[open]>summary::after {
  opacity: 1;
  transform: rotate(45deg);
}

/* Contenido de la letra */
.contenido-letra {
  animation: fadeIn .25s ease;
  padding: 0 16px 16px 16px;
}

.letra {
  font-size: 16px;
  letter-spacing: .2px;
  line-height: 1.55;
  margin: 0;
  white-space: pre-wrap;
}

/* Animación suave al desplegar */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsivo letras */
@media (max-width: 820px) {
  .titulo-cancion {
    font-size: 17px;
  }

  .letra {
    font-size: 15.5px;
  }
}

@media (max-width: 420px) {
  .letra-item>summary {
    padding: 12px 14px;
  }

  .titulo-cancion {
    font-size: 16px;
  }

  .letra {
    font-size: 15px;
  }
}

/* ---------- SECCIÓN MÚSICA ---------- */
.musica {
  background-color: rgb(24, 24, 27);
  color: #fff;
  margin: 0 auto;
  padding: 0 16px 40px 16px;
}

.musica h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .5px;
  margin: 0 auto 40px auto;
  padding-top: 40px;
  text-align: center;
  text-shadow: 0 0 6px rgba(1, 147, 143, .35);
  width: fit-content;
}

.grid-musica {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1100px;
}

/* Tarjeta de pista */
.track-card {
  background: rgba(255, 255, 255, .03);
  box-shadow: 0px 0px 7px rgb(56, 110, 113);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  transition: box-shadow .25s ease, transform .2s ease, background .25s ease;
}

.track-card:hover {
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  transform: translateY(-2px);
}

/* Título y duración */
.track-title {
  font-size: 18px;
  font-weight: normal;
  letter-spacing: .2px;
  text-shadow: 0 0 6px rgba(1, 147, 143, .35);
}

.track-duration {
  color: rgb(153, 161, 175);
  font-size: 14px;
}

/* AUDIO PLAYER */
.track-audio {
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 0px 7px rgb(56, 110, 113);
  border-radius: 60px;
  height: 38px;
  transition: all .3s ease;
  width: 100%;
}

.track-audio:hover {
  box-shadow: 0 0 12px rgba(0, 184, 219, .4);
  transform: scale(1.01);
}

.track-audio::-webkit-media-controls-panel {
  background-color: rgb(0, 184, 219);
  border-radius: 5px;
}

.track-audio::-webkit-media-controls-current-time-display,
.track-audio::-webkit-media-controls-time-remaining-display {
  color: white;
  font-weight: bold;
}

.track-audio::-webkit-media-controls-play-button {
  filter: brightness(1.5) hue-rotate(140deg);
  transition: transform .2s ease;
}

.track-audio::-webkit-media-controls-play-button:hover {
  transform: scale(1.3);
}

.track-audio::-webkit-media-controls-timeline-container {
  color: rgb(255, 255, 255);
}

.track-audio::-webkit-media-controls-volume-slider {
  background-color: rgba(0, 184, 219, .4);
  border-radius: 6px;
}

.boton-descargar {
  background-color: rgb(0, 184, 219);
  border-radius: 4px;
  color: white;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: .3px;
  margin-top: 6px;
  padding: 6px 14px;
  text-align: center;
  transition: all .2s ease;
}

.boton-descargar:hover {
  background-color: rgb(54, 204, 198);
  box-shadow: 0 0 10px rgba(0, 184, 219, .5);
  transform: translateY(-1px);
}

/* Responsivo música */
@media (max-width: 980px) {
  .grid-musica {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .grid-musica {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .track-title {
    font-size: 17px;
  }

  .track-duration {
    font-size: 13.5px;
  }
}

/* ---------- SECCIÓN VIDEOS ---------- */
#videos {
  background-color: rgb(24, 24, 27);
  color: #fff;
  margin: 0 auto;
}

.contenido-videos {
  padding: 12px 16px 20px 16px;
}

.videos-grid {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin: 10px auto 0 auto;
  max-width: 1100px;
}

/* Cada tarjeta de vídeo */
.video-card {
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.video-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
  transform: translateY(-4px);
}

.video-card video {
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.video-card figcaption {
  align-items: center;
  background: transparent;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 8px 10px;
}

.video-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
}

.meta {
  align-items: center;
  display: flex;
  gap: 8px;
}

.meta .duracion {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 3px 7px;
}

/* Responsivo videos */
@media (max-width: 820px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .letra-item>summary {
    padding: 12px 14px;
  }
}

/* ---------- SECCIÓN FOTOS ---------- */
.fotos {
  background-color: rgb(24, 24, 27);
  color: #fff;
  margin: 0 auto;
  padding: 0 16px 30px 16px;
}

.fotos-titulo-seccion {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .5px;
  margin: 0 auto 40px auto;
  padding-top: 40px;
  text-align: center;
  text-shadow: 0 0 6px rgba(1, 147, 143, .35);
  width: fit-content;
}

.fotos-item {
  background: rgba(255, 255, 255, .03);
  box-shadow: 0px 0px 15px rgb(30, 60, 62);
  border-radius: 6px;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
  overflow: hidden;
  padding: 5px 0;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;

}

.fotos-summary {
  align-items: center;
  background: transparent;
  cursor: pointer;
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 14px 16px;
  position: relative;
  transition: background .2s ease;
  user-select: none;
}

.fotos-summary::-webkit-details-marker {
  display: none;
}

.fotos-summary::after {
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  content: "";
  height: 10px;
  margin-left: auto;
  opacity: .85;
  transform: rotate(-45deg);
  transition: transform .25s ease, opacity .25s ease;
  width: 10px;
}

.fotos-titulo {
  font-size: 20px;
  font-weight: normal;
  letter-spacing: .2px;
  text-shadow: 0 0 6px rgba(1, 147, 143, .35);
}

.fotos-summary:hover {
  background: rgba(54, 204, 198, .12);
}

.fotos-summary:focus-visible {
  border-radius: 8px;
  outline: 2px solid rgba(1, 147, 143, .8);
  outline-offset: 2px;
}

.fotos-item[open] {
  background: rgba(255, 255, 255, .04);
  border-color: rgb(0, 184, 219);
  box-shadow: 0 0 0 2px rgba(54, 204, 198, .15) inset, 0 8px 24px rgba(0, 0, 0, .35);
}

.fotos-item[open]>.fotos-summary::after {
  opacity: 1;
  transform: rotate(45deg);
}

.fotos-contenido {
  animation: fotos-fadeIn .25s ease;
  padding: 0 16px 16px 16px;
}

@keyframes fotos-fadeIn {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fotos-grid {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin: 10px auto 0 auto;
  max-width: 1100px;
}

.foto-card {
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.foto-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
  transform: translateY(-4px);
}

.foto-card img {
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: zoom-in;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.foto-pie {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 8px 10px;
}

.foto-titulo {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
}

/* Responsivo fotos */
@media (max-width: 820px) {
  .fotos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fotos-titulo {
    font-size: 17px;
  }
}

@media (max-width: 420px) {
  .fotos-grid {
    grid-template-columns: 1fr;
  }

  .fotos-summary {
    padding: 12px 14px;
  }

  .fotos-titulo {
    font-size: 16px;
  }
}

/* ---------- FRANJA INSTAGRAM ---------- */
.insta {
  color: #fff;
  margin: 0 auto;
  padding: 10px;
}

.insta a {
  margin: 0 8px;
  transition: transform .3s ease, filter .3s ease;
  display: flex;
  align-items: center;
}

.insta span {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: .3px;
  text-shadow: 0 0 6px rgba(1, 147, 143, .35);
  padding: 0 10px;
}

.insta img {
  width: 30px;
  object-fit: cover;
  transition: transform .3s ease, filter .3s ease;
}


/* ---------- SECCIÓN NOTICIAS ---------- */
.noticias {
  background: rgb(24, 24, 27);
  color: #fff;
  margin: 0 auto;
  padding: 0 16px 40px 16px;
}

.noticias-titulo-seccion {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .5px;
  margin: 0 auto 36px auto;
  padding-top: 40px;
  text-align: center;
  text-shadow: 0 0 6px rgba(1, 147, 143, .35);
  width: fit-content;
}

.noticias-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1100px;
}

.noticias-grid--inicial {
  margin-bottom: 16px;
}

.noticias-grid--extra {
  margin-top: 16px;
}

/* Tarjeta */
.noticia {
  background: rgba(255, 255, 255, .03);
  box-shadow: 0px 0px 10px rgb(30, 60, 62);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.noticia:hover {
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 8px 24px rgba(30, 60, 62, .35);
  transform: translateY(-3px);
}

/* Imagen fija uniforme */
.noticia-media {
  background: #000;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
}

.noticia-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* Cuerpo */
.noticia-body {
  padding: 12px 14px 8px 14px;
}

.noticia-titulo {
  font-size: 18px;
  margin: 0 0 6px;
  text-shadow: 0 0 6px rgba(1, 147, 143, .25);
}

.noticia-texto {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15.5px;
  line-height: 1.5;
  margin: 0;
}

.noticia-fecha {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  margin: -7px 0 5px;
}

/* Enlace inferior (otra página + ancla) */
.noticia-link {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  color: #fff;
  display: inline-block;
  font-weight: 700;
  margin: 10px 14px 14px 14px;
  padding: 8px 10px;
  text-decoration: none;
  transition: background .15s ease, transform .12s ease;
}

.noticia-link:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.noticia-link:focus-visible {
  border-radius: 6px;
  outline: 2px solid rgba(1, 147, 143, .8);
  outline-offset: 2px;
}

/* Botón Ver más (details) */
.noticias-more {
  margin: 0 auto;
  max-width: 1100px;
}

.noticias-more-summary {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
  padding: 10px 0;
  text-align: center;
  transition: background .2s ease, transform .12s ease;
  user-select: none;
}

.noticias-more-summary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.noticias-more-summary::marker {
  display: none;
}

.noticias-more:not([open])>.noticias-more-summary::after {
  content: " (ver más)";
  font-size: 15px;
  font-weight: 400;
  opacity: .8;
}

.noticias-more[open]>.noticias-more-summary::after {
  content: " (ver menos)";
  font-size: 15px;
  font-weight: 400;
  opacity: .8;
}

/* Animación bloque extra */
.noticias-more[open] .noticias-grid--extra {
  animation: noticiasFade .28s ease both;
}

@keyframes noticiasFade {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsivo noticias */
@media (max-width: 980px) {
  .noticias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .noticias-grid {
    grid-template-columns: 1fr;
  }

  .noticia-titulo {
    font-size: 17px;
  }

  .noticia-texto {
    font-size: 15px;
  }
}

/* ---------- Estilos del visor (lightbox común) ---------- */
.fotos-visor[hidden] {
  display: none !important;
}

.fotos-visor {
  backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, .85);
  display: grid;
  inset: 0;
  padding: 24px;
  place-items: center;
  position: fixed;
  z-index: 9999;
}

.fotos-visor-img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
  max-height: 88vh;
  max-width: 96vw;
  animation: zoom 0.4s ease;
}

.fotos-visor-cerrar {
  background: rgba(255, 255, 255, .14);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  height: 38px;
  position: absolute;
  right: 14px;
  top: 14px;
  transition: transform .12s ease, background .15s ease;
  width: 38px;
}

.fotos-visor-cerrar:hover {
  background: rgba(255, 255, 255, .22);
  transform: translateY(-1px);
}

.nodispo {
  background-color: rgba(54, 204, 198, .2);
  text-shadow: 0px 0px 10px;
  box-shadow: 0px 0px 30px rgb(30, 60, 62);
  width: fit-content;
  justify-self: center;
  padding: 20px;
  border-radius: 6px;
}

/* ---------- FOOTER ---------- */
footer {
  align-items: center;
  background-color: black;
  border-top: solid 3px rgb(0, 184, 219);
  color: white;
  font-size: 10px;
  padding: 20px 0;
  text-align: center;
}

footer img {
  width: 150px;
}

.contacto img {
  width: 50px;
}

.contacto {
  max-width: 80%;
  margin: 50px auto;
  background-color: #000;
}