@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

.montserrat  {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
   /* <weight>: Use a value from 100 to 900 */
  font-style: normal;
  font-size: 2rem;
}

.open-sans {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.logo {
  width: 10rem;
}

.encabezado {
  display: flex;
  align-items: center;
  background-color: #f8f5ef;
}

.derecha {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: auto;
}

.derecha a {
  color: #333;
  text-decoration: none;
  border-bottom: 2px solid #111111;
  margin-left: 0.5rem;
}

.contacto {
  display: flex;
  flex-direction: row;
  margin-top: 1rem;
  margin-right: 1rem;
}

.botones ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
  background-color: #111111;
  padding: 0.5rem;
}

.botones a {
  display: inline-block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #ffffff;
  border-bottom: 2px solid transparent;
}

.botones a:hover {
  color: #d4af37;
  border-bottom: 2px solid #d4af37;
}

.inscripcion {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
  background-color: #f8f5ef;
  border-bottom: 2px solid #333;
}

.inscripcion h2 {
  border-bottom: 1px solid #333;
  margin-bottom: 1rem;
}

.contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background: #f8f5ef;
}

.datos i {
  font-size: 2.3rem;
}

.datos {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  width: 70vw;
  border-bottom: 2px solid #333;
}

.formulario {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.formulario form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fila {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.campo {
  display: flex;
  flex-direction: column;
}

.politica {
  font-size: 14px;
}

button {
  padding: 10px;
  cursor: pointer;
}

.formulario {
  max-width: 600px;
  margin: 40px auto;
  padding: 25px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.formulario input,
.formulario select {
  padding: 10px 12px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  transition: 0.2s;
}

.formulario input:focus,
.formulario select:focus {
  border-color: #c8bfae;
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 191, 174, 0.3);
}

.formulario label {
  font-size: 14px;
  color: #444;
  margin-top: 10px;
  display: block;
}

.formulario button {
  width: 100%;
  margin-top: 15px;
  border: none;
  border-radius: 8px;
  background: #c8bfae;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.formulario button:hover {
  background: #b3a892;
}

.footer-contenido {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding-top: 1rem;
  background-color: #111111;
  color: #ffffff;
}

.footer-contenido h4 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: bold;
}

.footer-contenido a {
  text-decoration: none;
  color: #ffffff;
}

.footer-contenido a:hover {
  color: #d4af37;
}

.redes i {
  margin-top: 2rem;
  font-size: 2rem;
}

.enlaces a {
  display: block;
  margin-bottom: 0.6rem;
  text-decoration: underline;
}

.horario p {
  margin-top: 1rem;
}

.derechos {
  text-align: center;
  padding: 0.5rem;
  background-color: #c8bfae;
}

/* =========================
   RESPONSIVE TABLET
========================= */
@media (max-width: 900px) {

  .encabezado {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    gap: 1rem;
  }

  .derecha {
    margin-left: 0;
    align-items: center;
  }

  .botones ul {
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-contenido {
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
    padding: 2rem;
  }

  .datos {
    width: 90%;
  }

  .formulario {
    width: 90%;
  }
}

/* =========================
   RESPONSIVE MÓVIL
========================= */
@media (max-width: 600px) {

  .montserrat {
    font-size: 1.5rem;
  }

  .logo {
    width: 7rem;
  }

  .fila {
    grid-template-columns: 1fr;
  }

  .botones ul {
    flex-direction: column;
    align-items: center;
  }

  .botones a {
    width: 100%;
    text-align: center;
  }

  .contenido {
    padding: 1rem;
  }

  .formulario {
    padding: 1rem;
  }

  .datos {
    width: 100%;
    text-align: center;
  }

  .footer-contenido {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .redes i {
    font-size: 1.8rem;
  }

  .contacto {
    justify-content: center;
  }
}
