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

.contorno{
  border: 1px solid red;
}

.acordeon {
  width: 100%;
  padding-top: 80px; /* más que los 80px de tu barra para asegurar espacio */
}

/* --- BOTONES GENERALES --- */
.acordeon-boton {
  width: 100%;
  height: 30.5vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: height 0.4s ease;
  scroll-margin-top: 80px; /* compensa el alto de tu barra superior */
  
}

.boton-texto {
  color: white;
  cursor: pointer;
  padding: 12px 24px;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 6px;
  font-family: "Exo 2", sans-serif;
  font-weight: 900;
  font-size: 55px;
}

/* --- BOTÓN RUTAS --- */
.boton-rutas {
  background-color: #16abe2;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 3;
}
.boton-rutas.activo {
  height: 15vh;
}
.texto-rutas:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.caja-rutas.activo .contenido-rutas {
  background-image: url('../links/acordeon/fondo-rutas.png');
  background-size: cover;
  background-position: center;
}

/* --- Estilos de imagen y texto dentro de la caja RUTAS --- */
.img-rutas img{
  max-width: 80%;
}

.txt-rutas{
  padding: 0px 120px;
}

.txt-rutas p{
  color:#585858;
  font-family: "Nunito", sans-serif;
  font-size: 24px;
  text-align: center;
  font-weight: 300;
}

/* --- BOTÓN ÁRBOL --- */
.boton-arbol {
  background-color: #f8bc10;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
  
}
.boton-arbol.activo {
  height: 15vh;
}
.texto-arbol:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.caja-arbol.activo .contenido-arbol {
  background-image: url('../links/acordeon/fondo-arbol.jpg');
  background-size: cover;
  background-position: center;
}

/* --- Estilos de boton y texto dentro de la caja ARBOL --- */

.txt-arbol{
  padding: 0px 120px;
}

.txt-arbol p{
  color:#585858;
  font-family: "Nunito", sans-serif;
  font-size: 24px;
  text-align: center;
  font-weight: 300;
}

/* ---
.btn-arbol{
  padding-top: 50px;
}



.btn-arbol:hover a{
  color: #f8bc10;
  background-color: #ffffff;
  font-size: 34px;
  border: 2px solid #f8bc10;
}
--- */


/* --- BOTÓN WRAP --- */
.boton-wrap {
  background-color: #a2c617;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}
.boton-wrap.activo {
  height: 15vh;
}
.texto-wrap:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.caja-wrap.activo .contenido-wrap {
  background-image: url('../links/acordeon/fondo-wrap.jpg');
  background-size: cover;
  background-position: center;
}

/* --- Estilos de imagen  dentro de la caja WRAP --- */
.img-wrap img{
  max-width: 80%;
}

.img-wrap-movil img{
  max-width: 80%;
}

@media (max-width: 1000px) {
  .img-wrap {
    display: none;
  }
}

@media (min-width: 1001px) {
  .img-wrap-movil {
    display: none;
  }
}

/* --- CAJAS DE CONTENIDO --- */
.acordeon-caja {
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
}

.acordeon-caja.activo {
  height: 100vh;
}

.contenido-interno {
  padding: 60px 40px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}






/* AQUI LOS ESTILOS DEL ACORDEON PARA BE */


.acordeon-be {
  width: 100%;
  padding-top: 80px; /* más que los 80px de tu barra para asegurar espacio */
}

/* --- BOTONES GENERALES --- */
.acordeon-boton-be {
  width: 100%;
  height: 30.5vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: height 0.4s ease;
  scroll-margin-top: 80px; /* compensa el alto de tu barra superior */
  
}


.botones-internos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}


.botones-internos a {
  padding: 12px 24px;
  font-size: 22px;
  font-family: "Exo 2", sans-serif;
  font-weight: 900;
  text-decoration: none;
  background-color: #fff;
  color: #a2c617;
  border: 1px solid #a2c617;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.botones-internos a:hover{
  background-color: #a2c617;
  color: #fff;
  transform: translateY(-2px);
}

