/*//////////////////////////Fuentes/////////////////////////////////////////////*/


@font-face {
    font-family: 'LtCushionmedium';
    src: url('/fuentes/LTCushion-Medium.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nunito';
    src: url('/fuentes/Nunito-Regular.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}
/*//////////////////////////////////////////*/



/******************* Video *******************/
.videoContenedor {
    width: 80%;
    height: auto;
    justify-content: center;
    align-items: center;  
    margin: 0 auto;
}

.videoContenedor video {
    height: auto;
    width: 100%; 
    object-fit: cover; 
   
}

/******************* Modal  *******************/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal a{
  color: #58463A;
}
.modal-contenido {
  background-color: #ffffff;
  border: 1px solid #c68c3e;
  border-radius: 8px;
  padding: 25px;
  max-width: 1000px;
  width: 90%;
  max-height: 350px;
  position: relative;
  overflow-y: auto;
  scroll-behavior: smooth;
 
  font-family: 'nunito', sans-serif;
  font-size: 14px;
  color: #58463A;
  text-align: justify;
}
.modal-contenido::-webkit-scrollbar {
  width: 8px;
}

.modal-contenido::-webkit-scrollbar-track {
  background: #f0e8dc; 
  border-radius: 10px;
}

.modal-contenido::-webkit-scrollbar-thumb {
  background-color: #c68c3e;
  border-radius: 10px;
  border: 2px solid #f0e8dc;
}


.modal-cerrar {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}



a {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: #58463A;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s;
}

a:hover {
  color: #c68c3e;
}

/******************* Contenedor general *******************/
.ContenedorSeccion {
    padding: 40px;
    margin:100px auto 0;
    max-width: 1200px;
    box-sizing: border-box; 
}

/******************* Título *******************/
.tituloOferta {
  font-family: 'LtCushionmedium', sans-serif;
  font-size: 40px;
  color: #58463A;
  text-align: left;
  margin-top: -90px;
  margin-left: 0%;
  width: 400px;
  text-align: center;

}

/******************* Descripción *******************/
.descripcion {
    font-family: 'nunito', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #58463A;
    text-align:justify;
   
    width: 700px;
    margin-top: -80px;
    margin-left: 410px;
}
.descripcion-MCD{
    font-family: 'nunito', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #58463A;
    text-align:justify;
   
    width: 700px;
    margin-top: -80px;
    margin-left: 410px;
}
/******************* Botones *******************/
.icono-movil {
    display: none;
}
.botonesContenedor {
    margin-top: 100px;
    display: flex;
    flex-direction: column; 
    
}
.fila-botones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}
.boton2 {
    background-color: #7e2c2c;
    color: white;
    border: none;
    width: 216px;
    height: 80px;
    padding: 5px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    justify-content: center;
    transition: background-color 0.3s, transform 0.3s;
    font-family: 'nunito', sans-serif;
}


.boton2:hover {
    background-color: #5c1f1f;
    transform: translateY(-2px);
}

.contenidoOfertaMovil {
  background-color: white;
  border: 1px solid #c68c3e;
  border-radius: 8px;
  padding: 10px;
  margin: 6px 0 10px;
  font-family: 'nunito', sans-serif;
  font-size: 13px;
  color: #58463A;
  text-align: justify;
  display: none;
}

/* Estado visual del botón activo (ya tenías el caret en :after) */
.boton2.activo {
  outline: none;
  filter: brightness(0.95);
}

/******************* Contenido dinámico *******************/
@keyframes slideDown {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.contenidoOferta {
    background-color: white;
    border: 1px solid #c68c3e;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    height: 190px;
    font-family: 'nunito', sans-serif;
    font-size: 14px;
    color: #58463A;
    text-align: justify;
    display: none;
}

#lineaDivisoria {
    width: 100%;
    height: 1px;
    background-color: #C68c3E;
    margin: 10px 0;
    
}
.recuadro {
  background-color: white;
  border: 1px solid #c68c3e;
  border-radius: 8px;
  padding: 15px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: 'nunito', sans-serif;
  font-size: 14px;
  color: #58463A;
  text-align: justify;
  display: none;       
  animation: slideDown 0.5s ease-out;
}


.contenedor-dos-columnas {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.columna {
  flex: 1;
  min-width: 300px;
}
/*////////////////////////////Modal profesor///////////////////////////////////////*/
.modal-Profesor {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-contenido-Profesor {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  text-align: justify;
  font-family: 'Nunito', sans-serif;
  color: #5c3c1a;
  font-size: 14px;
  position: relative;
   max-height: 350px;
  position: relative;
  overflow-y: auto;
}

.modal-contenido-Profesor img {
  width: 100%;
  max-height: 100px;
  object-fit: contain;
  margin: 15px 0;
}

.modal-cerrar {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 22px;
  cursor: pointer;
  color: #7e2c2c;
}

/* ======== Ajustes para móviles pequeños ======== */
@media (max-width: 480px) {

  .ContenedorSeccion {
    padding: 15px;
    margin: 20px auto;
  }

  .tituloOferta {
    font-size: 28px;
    margin: 0 auto 15px;
    width: 80%;
    text-align: center;
  }

  .descripcion {
    width: 80%;
    margin: 30px;
    font-size: 14px;
    text-align: center;
  }
  .descripcion-MCD{
    width: 80%;
    margin: 30px;
    font-size: 14px;
    text-align: center;
  }

  .botonesContenedor {
    margin-top: 25px;
  }

  .fila-botones {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
   .boton2 {
    position: relative;
    width: 100%;
    text-align: left;
    padding-right: 30px;
    height: auto;
     font-size: 15px;
     padding: 12px;
  }


  .boton2::after {
    content: "\25BC"; 
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
  }


  .boton2.activo::after {
    content: "\25B2"; 
  }
 
  .contenidoOferta {
    height: auto;
    max-height: 320px;
  }
    #contenidoOferta {
    border: 1px solid #c68c3e;
    border-radius: 8px;
    padding: 10px;
    margin-top: 5px;
    background-color: white;
    font-family: 'nunito', sans-serif;
    font-size: 10px;
    color: #58463A;
  }

 .recuadro {
    height: auto;     
    max-height: 320px;  
    overflow-y: auto;   
  }
  /* Modales adaptados al teléfono */
  .modal-contenido, 
  .modal-contenido-Profesor {
    max-width: 95%;
    max-height: 80vh;
    font-size: 14px;
  }

  /* Opcional: línea divisoria menos ancha en móvil */
  #lineaDivisoria {
    display: none !important;
  }
}
