/*https://colorhunt.co/palette/eaebd0da6c6ccd5656af3e3e*/

/* =================== RESET & BASE =================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
}

/* =================== NAVBAR =================== */
.navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-top: 10px;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background-color: #8e1616;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 1);
}

.logo a img {
  width: 75px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: white;
}

.offcanvas-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: #333;
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 1000;
}

.offcanvas-menu.active {
  right: 0;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a,
.dropdown-btn {
  color: white;
  text-decoration: none;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s;
}

.nav-links a:hover,
.dropdown-btn:hover {
  text-decoration: underline 3px;
  color: #f3c623;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  top: 100%;
  left: 0;
  min-width: 150px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1;
  flex-direction: column;
}

.dropdown-content a {
  display: block;
  padding: 10px;
  color: #808080;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

/* =================== CAROUSEL =================== */
.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel img {
  padding-top: 90px;
  width: 100%;
  height: 600px;
  flex-shrink: 0;
  object-fit: fill;
}

.indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 5px 10px;
  border-radius: 20px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 5px;
  cursor: pointer;
}

.indicator.active {
  background: #8e1616;
}

/* =================== INFORMÁTICA IMAGES =================== */
.imagen-info {
  display: grid;
  margin: 50px;
  gap: 20px;
}

.imagen-info img {
  width: 100%;
  height: 600px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* =================== GALERÍA =================== */
.galeria {
  display: grid;
  margin: 50px;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.galeria img {
  width: 100%;
  height: 350px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* =================== CARDS =================== */
.card-container {
  display: grid;
  margin: 50px;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(206, 7, 7, 0.1);
  padding: 20px;
  transition: transform 0.2s;
}

.card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.text {
  margin-top: 25px;
  padding: 0 15px;
}

.text h4 {
  padding-bottom: 15px;
}

.card h3 {
  margin-top: 0;
  color: #333;
  border-left: 4px solid #8e1616;
  padding-left: 10px;
  margin-bottom: 20px;
  font-size: 18px;
}

.card p {
  color: #666;
  line-height: 1.5;
  padding-bottom: 25px;
}

.text a {
  text-decoration: none;
  color: #8e1616;
  font-weight: bold;
  font-size: 13px;
}

/* =================== ICONOS DESPLEGABLES =================== */
h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.iconos-des {
  padding-bottom: 40px;
}

.accordion {
  max-width: 600px;
  margin: auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-header {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  background-color: #fff;
  transition: background 0.3s;
}

.accordion-header:hover {
  background-color: #f0f0f0;
}

.icon {
  background-color: #6c2c35;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-right: 10px;
  flex-shrink: 0;
}

.accordion-content {
  display: none;
  padding: 0 54px 15px;
  font-size: 16px;
  color: #666;
}

.accordion-item.active .accordion-content {
  display: block;
}

.accordion-item.active .icon::before {
  content: "−";
}

.accordion-item:not(.active) .icon::before {
  content: "+";
}

/* =================== FOOTER =================== */

.footer {
  background-color: #222;
  color: white;
  padding: 40px 20px 20px;
  font-family: sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  border-bottom: 2px solid #8e1616;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.footer-section p {
  margin: 8px 0;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.social-icons img {
  width: 30px;
  margin: 0 10px;
  transition: transform 0.2s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 14px;
}

/* =================== ACERCA DE NOSOTROS =================== */
.banner {
  background-color: #af3e3e;
  padding: 140px 20px 80px;
  text-align: center;
}

.banner h1 {
  color: white;
  text-shadow: 1px 1px 2px #222;
  font-size: 50px;
}

.banner h3 {
  color: white;
  text-shadow: 1px 1px 2px #222;
}

.banner-img img {
  padding: 70px;
  padding-bottom: 0;
  height: auto;
  width: 100%;
  max-width: 100%;
}

.cont-texto {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 20px 0;
  gap: 40px;
  color: #6d6b6b;
}

.container-texto,
.container-texto2 {
  width: 45%;
  min-width: 300px;
}

.container-texto,
.container-texto2 {
  margin-top: 50px;
}

.container-texto h2,
.container-texto2 h2 {
  text-align: start;
  color: black;
}

.container-texto p {
  color: #929090;
  font-size: 17px;
  padding-bottom: 10px;
}

.container-texto2 p {
  margin-bottom: 20px;
  font-size: 17px;
}

/* ==================== HISTORIA ==================== */

.banner2-img img {
  padding: 70px;
  padding-top: 100px;
  padding-bottom: 0;
  height: auto;
  width: 100%;
  max-width: 100%;
}

.card2 {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.1);
  margin: 70px;
  padding: 20px;
}

.container-texto h3 {
  margin-top: 0;
  color: #333;
  border-left: 4px solid #8e1616;
  padding-left: 10px;
  margin-bottom: 20px;
  font-size: 18px;
}

.container-texto img {
  width: 400px;
  height: 350px;
  margin-bottom: 20px;
  margin-top: 20px;
}

/* =================== RESPONSIVE =================== */

/* ====== Responsive de icono hamburguesa ======= */
/* ====== Responsive del menú hamburguesa y dropdown en móviles ======= */
@media (max-width: 1090px) {
  .nav-links {
    display: none;
    flex-direction: column;
  }

  .hamburger {
    display: flex;
  }

  .offcanvas-menu .nav-links {
    display: flex;
    flex-direction: column;
    margin-top: 90px;
  }

  .dropdown-content {
    display: none;
    flex-direction: column;
    background-color: #444;
    padding-left: 15px;
    padding-bottom: 10px;
    border-left: 3px solid #8e1616;
  }

  .dropdown.open .dropdown-content {
    display: flex;
  }

  .dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    padding: 10px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
  }

  .dropdown-btn::after {
    content: "▼";
    margin-left: 10px;
    font-size: 0.8rem;
  }

  .dropdown.open .dropdown-btn::after {
    content: "▲";
  }
}

/* ====== Responsive de las cards ======= */
@media (max-width: 768px) {
  .card-container {
    grid-template-columns: 1fr;
    margin: 20px;
  }

  .container-texto img {
    height: 300px;
    width: 320px;
    margin-top: 0px;
  }

  .card {
    padding: 15px;
  }

  .card h3 {
    font-size: 16px;
  }

  .card p {
    font-size: 14px;
  }

  .text a {
    font-size: 14px;
  }
}

/* ====== Responsive del acordeon ======= */
@media (max-width: 600px) {
  .galeria {
    grid-template-columns: 1fr;
  }

  .accordion {
    border-radius: 0;
    box-shadow: none;
  }

  .accordion-header {
    padding: 12px 16px;
  }

  .accordion-content {
    padding: 0 40px 12px;
  }
}

/* ====== Responsive del footer ======= */
@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .social-icons a {
    margin: 0 8px;
  }
}

/* ====== Responsive de icono banner ======= */
@media (max-width: 768px) {
  .banner,
  .banner-sembradores {
    padding-top: 120px;
    padding-bottom: 100px;
  }

  .banner h1 {
    font-size: 36px;
  }

  .carousel img,
  .imagen-info img {
    height: 400px;
  }

  .cont-texto {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 40px 15px 0;
  }

  .container-texto,
  .container-texto2 {
    width: 100%;
  }

  .banner-img img {
    height: 300px;
    padding: 30px 0;
  }
}

@media (max-width: 768px) {
  .banner2-img img {
    margin-top: 60px;
    height: 350px;
    padding: 20px;
    padding-top: 40px;
  }

  .card2 {
    margin: 10px;
    border-radius: 8px;
  }

  .container-texto h3,
  .container-texto2 h3 {
    font-size: 15px;
  }
}

/* ----- Contenedor ----- */
.wrapper {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
}

/* ----- Card ----- */
.card-sembradores {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* imagen | contenido en desktop */
  max-width: 960px;
  width: min(95vw, 960px);
  background: #fff;
  border-radius: 16px;
  overflow: hidden; /* recorta imagen en bordes redondeados */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-musica {
  position: relative;
  width: 100%;
  height: 60vh;
  background: url("./imagenes/Banner-banda.jpg") no-repeat center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 80px;
}
.card__media {
  position: relative;
  min-height: 240px;
}
.card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* recorte elegante */
}
.card__content {
  padding: 24px 28px;
  display: grid;
  align-content: center; /* centra verticalmente el bloque de texto */
}

.card__title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2;
}

.card__text {
  margin: 0;
  line-height: 1.6;
  color: #4b5563;
}

.card__button {
  justify-self: start;
  text-decoration: none;
  background: #111827;
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  transition: filter 0.2s ease;
}
.card__button:hover {
  filter: brightness(1.1);
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .card-sembradores {
    grid-template-columns: 1fr; /* apila: imagen arriba, texto abajo */
    grid-template-rows: auto auto;
  }
  .card__media {
    order: 0; /* imagen primero */
  }
  .card__content {
    order: 1; /* texto después */
  }
}

/* ----- Banner ----- */
.banner-sembradores {
  position: relative;
  width: 100%;
  height: 70vh; /* altura ajustable */
  background: url("../imagenes/sembradores.jpg") no-repeat center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Capa oscura encima de la imagen */
.banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* opacidad ajustable */
  z-index: 1;
}

/* Contenido */
.banner__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.banner__content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6); /* resalta más el texto */
}

.banner__content p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 20px;
  color: #e5e5e5;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.banner__button {
  text-decoration: none;
  background: #ff4b2b;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.banner__button:hover {
  background: #ff1e00;
}

.banner-simbolos {
  position: relative;
  width: 100%;
  height: 70vh; /* altura ajustable */
  background: url("../imagenes/ciudadela-academico.jpg") no-repeat center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* =================== ESTILOS PARA PÁGINA DE MÚSICA =================== */
.musica-intro {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
}

.musica-intro .container {
  max-width: 800px;
  margin: 0 auto;
}

.musica-intro h2 {
  color: #8e1616;
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
}

.programa-flautas {
  padding: 60px 20px;
}

.programa-flautas .container {
  max-width: 1200px;
  margin: 0 auto;
}

.programa-flautas h2 {
  text-align: center;
  color: #8e1616;
  margin-bottom: 40px;
  font-size: 2rem;
}

.flauta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.flauta-info h3 {
  color: #333;
  margin: 25px 0 15px;
  font-size: 1.4rem;
}

.flauta-info ul {
  list-style: none;
  padding: 0;
}

.flauta-info li {
  padding: 8px 0;
  color: #666;
  position: relative;
  padding-left: 25px;
}

.flauta-info li:before {
  content: "🎵";
  position: absolute;
  left: 0;
  top: 8px;
}

.niveles {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.nivel {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #8e1616;
}

.nivel h4 {
  color: #8e1616;
  margin-bottom: 10px;
}

.nivel p {
  color: #666;
  margin: 0;
}

.flauta-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.instrumentos-viento {
  padding: 60px 20px;
  background: #f8f9fa;
}

.instrumentos-viento .container {
  max-width: 1200px;
  margin: 0 auto;
}

.instrumentos-viento h2 {
  text-align: center;
  color: #8e1616;
  margin-bottom: 20px;
  font-size: 2rem;
}

.section-desc {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.instrumentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.instrumento-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.instrumento-card:hover {
  transform: translateY(-5px);
}

.instrumento-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.instrumento-card h3 {
  color: #8e1616;
  margin-bottom: 10px;
}

.instrumento-card p {
  color: #666;
  margin: 0;
}

.beneficios-musica {
  padding: 60px 20px;
}

.beneficios-musica .container {
  max-width: 1200px;
  margin: 0 auto;
}

.beneficios-musica h2 {
  text-align: center;
  color: #8e1616;
  margin-bottom: 40px;
  font-size: 2rem;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.beneficio {
  text-align: center;
  padding: 30px 20px;
}

.beneficio-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.beneficio h3 {
  color: #333;
  margin-bottom: 10px;
}

.beneficio p {
  color: #666;
  margin: 0;
}

.actividades-musicales {
  padding: 60px 20px;
  background: #f8f9fa;
}

.actividades-musicales .container {
  max-width: 1200px;
  margin: 0 auto;
}

.actividades-musicales h2 {
  text-align: center;
  color: #8e1616;
  margin-bottom: 40px;
  font-size: 2rem;
}

.actividades-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.actividad-info h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.actividad-info ul {
  list-style: none;
  padding: 0;
}

.actividad-info li {
  padding: 8px 0;
  color: #666;
  position: relative;
  padding-left: 25px;
}

.actividad-info li:before {
  content: "🎶";
  position: absolute;
  left: 0;
  top: 8px;
}

.actividad-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive para página de música */
@media (max-width: 768px) {
  .flauta-content,
  .actividades-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .flauta-image img,
  .actividad-image img {
    height: 300px;
  }

  .instrumentos-grid,
  .beneficios-grid {
    grid-template-columns: 1fr;
  }

  .banner-musica {
    height: 50vh;
    margin-top: 70px;
  }

  .musica-intro,
  .programa-flautas,
  .instrumentos-viento,
  .beneficios-musica,
  .actividades-musicales {
    padding: 40px 15px;
  }
}

/* =================== ESTILOS PARA PÁGINA DE MÚSICA =================== */
.banner-musica {
  position: relative;
  width: 100%;
  height: 60vh;
  background: url("../imagenes/Banner-banda.jpg") no-repeat center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 80px;
}

.musica-intro {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
}

.musica-intro .container {
  max-width: 800px;
  margin: 0 auto;
}

.musica-intro h2 {
  color: #8e1616;
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
}

.programa-flautas {
  padding: 60px 20px;
}

.programa-flautas .container {
  max-width: 1200px;
  margin: 0 auto;
}

.programa-flautas h2 {
  text-align: center;
  color: #8e1616;
  margin-bottom: 40px;
  font-size: 2rem;
}

.flauta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.flauta-info h3 {
  color: #333;
  margin: 25px 0 15px;
  font-size: 1.4rem;
}

.flauta-info ul {
  list-style: none;
  padding: 0;
}

.flauta-info li {
  padding: 8px 0;
  color: #666;
  position: relative;
  padding-left: 25px;
}

.flauta-info li:before {
  content: "🎵";
  position: absolute;
  left: 0;
  top: 8px;
}

.niveles {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.nivel {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #8e1616;
}

.nivel h4 {
  color: #8e1616;
  margin-bottom: 10px;
}

.nivel p {
  color: #666;
  margin: 0;
}

.flauta-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.instrumentos-viento {
  padding: 60px 20px;
  background: #f8f9fa;
}

.instrumentos-viento .container {
  max-width: 1200px;
  margin: 0 auto;
}

.instrumentos-viento h2 {
  text-align: center;
  color: #8e1616;
  margin-bottom: 20px;
  font-size: 2rem;
}

.section-desc {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.instrumentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.instrumento-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.instrumento-card:hover {
  transform: translateY(-5px);
}

.instrumento-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.instrumento-card h3 {
  color: #8e1616;
  margin-bottom: 10px;
}

.instrumento-card p {
  color: #666;
  margin: 0;
}

.beneficios-musica {
  padding: 60px 20px;
}

.beneficios-musica .container {
  max-width: 1200px;
  margin: 0 auto;
}

.beneficios-musica h2 {
  text-align: center;
  color: #8e1616;
  margin-bottom: 40px;
  font-size: 2rem;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.beneficio {
  text-align: center;
  padding: 30px 20px;
}

.beneficio-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.beneficio h3 {
  color: #333;
  margin-bottom: 10px;
}

.beneficio p {
  color: #666;
  margin: 0;
}

.actividades-musicales {
  padding: 60px 20px;
  background: #f8f9fa;
}

.actividades-musicales .container {
  max-width: 1200px;
  margin: 0 auto;
}

.actividades-musicales h2 {
  text-align: center;
  color: #8e1616;
  margin-bottom: 40px;
  font-size: 2rem;
}

.actividades-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.actividad-info h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.actividad-info ul {
  list-style: none;
  padding: 0;
}

.actividad-info li {
  padding: 8px 0;
  color: #666;
  position: relative;
  padding-left: 25px;
}

.actividad-info li:before {
  content: "🎶";
  position: absolute;
  left: 0;
  top: 8px;
}

.actividad-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive para página de música */
@media (max-width: 768px) {
  .flauta-content,
  .actividades-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .flauta-image img,
  .actividad-image img {
    height: 300px;
  }

  .instrumentos-grid,
  .beneficios-grid {
    grid-template-columns: 1fr;
  }

  .banner-musica {
    height: 50vh;
    margin-top: 70px;
  }

  .musica-intro,
  .programa-flautas,
  .instrumentos-viento,
  .beneficios-musica,
  .actividades-musicales {
    padding: 40px 15px;
  }
}

.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-info {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-form {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.map-container {
  grid-column: span 2;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

h2 {
  color: #8e1616;
}

label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  margin: 10px 0;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
}

.banner-contacto {
  position: relative;
  width: 100%;
  height: 70vh; /* altura ajustable */
  background: url("../imagenes/biblioteca.jpg") no-repeat center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }
  .map-container {
    grid-column: span 1;
  }
}
