/* -------- ESTILOS GENERALES -------- */
body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

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

/* -------- BARRA SUPERIOR -------- */
.barra-superior {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #000;
}

.barra-superior h1 {
  color: #fff;
  font-size: 1.6rem;
  margin: 0;
  font-family: 'Lora', serif;
  font-weight: 700;
  text-transform: uppercase;
}

.ingresar, .btn-atras {
  background: linear-gradient(to right, #ecab0d, #000);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 4px;
  text-transform: uppercase;
}

/* -------- MENÚ PRINCIPAL -------- */
.menu {
  display: flex;
  justify-content: space-between;
  background-color: #000;
}

.menu a {
  flex: 1;
  text-align: center;
  background: linear-gradient(to right, #ecab0d, #000);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 1rem 0;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-right: 1px solid #111;
  transition: filter 0.3s ease;
}

.menu a:last-child {
  border-right: none;
}

.menu a:hover {
  filter: brightness(1.2);
}

/* -------- IMAGEN DESTACADA -------- */
.destacada {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70vh;
  background-color: #000;
  overflow: hidden;
}

.destacada img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.destacada::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.7));
  pointer-events: none;
  z-index: 1;
}

.texto-superpuesto {
  position: absolute;
  bottom: 2rem;
  left: 1rem;
  text-align: left;
  z-index: 3;
}

.texto-superpuesto p {
  font-size: 2rem;
  margin: 0;
  font-family: 'Lora', sans-serif;
}

.texto-superpuesto h2 {
  font-size: 3rem;
  color: #ffbe2f;
  margin: 0.3rem 0 0;
  font-weight: 700;
  font-family: 'Lora', serif;
}

/* Flechas */
.flecha {
  position: absolute;
  top: 50%;
  font-size: 2rem;
  color: #ffbe2f;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 4;
}
.izquierda { left: 1rem; }
.derecha { right: 1rem; }

/* -------- OPINIONES -------- */
.opiniones {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.opiniones h3 {
  color: #fff;
  text-align: left;
  margin-bottom: 2rem;
  font-weight: 400;
  font-family: 'Lora', serif;
  font-size: 1.4rem;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cards {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .cards article {
    width: 45%;
  }
}

@media (min-width: 1024px) {
  .cards article {
    width: 22%;
  }
}

.cards article {
  background: linear-gradient(to bottom, #ecab0d, #000);
  color: #fff;
  padding: 1rem;
  border-radius: 10px;
}

.cards h4 {
  margin: 0 0 0.5rem;
  font-weight: bold;
  font-size: 1rem;
}

.cards p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.cards span {
  font-size: 0.8rem;
  color: #fff;
  font-weight: bold;
}

/* -------- QUIÉNES SOMOS -------- */
.quienes-somos {
  padding: 2rem 1rem;
  background: #000000;
  max-width: 1200px;
  margin: 0 auto;
}

.quienes-somos h3 {
  font-weight: 400;
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-family: 'Lora', serif;
  text-align: left;
}

.quienes-somos p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ddd;
  margin-bottom: 1rem;
}

/* -------- FOOTER -------- */
footer {
  background-color: #111;
  color: #aaa;
  font-size: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  line-height: 1.4;
}

/* -------- RESPONSIVE HEADER -------- */
@media (max-width: 768px) {
  .barra-superior {
    flex-direction: column-reverse;
    align-items: flex-end;
    text-align: right;
  }

  .barra-superior h1 {
    width: 100%;
    padding-right: 1rem;
  }

  .ingresar {
    align-self: flex-start;
    margin-bottom: 0.5rem;
  }
}

/* -------- INICIO DE SESIÓN -------- */

.form-container {
  background: linear-gradient(to bottom, #000, #ecab0d);
  max-width: 400px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
}

.form-container h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.form-container p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

input[type="email"],
input[type="password"] {
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif;
}

.btn-ingresar {
  background-color: #000;
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 0.9rem;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.olvido {
  font-size: 0.85rem;
  color: #fff;
  text-decoration: none;
}

.social-login {
  margin-top: 1.5rem;
}

.social-login p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.btn-social {
  display: block;
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

.google {
  background-color: #db4437;
  color: white;
}

.facebook {
  background-color: #3b5998;
  color: white;
}

.registro {
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

.registro a {
  color: #ffffff;
  text-decoration: none;
}
.login-bg {
  background: url('imagenes/fondo.jpg') no-repeat center center fixed;
  background-size: cover;
}
