@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap');

/* ---------- GLOBAL ---------- */
body {
  /*background-color: #282828;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 20px
  );*/
  color: white;
  font-family: "Archivo", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}
body::before {
  content: "";
  background: url('../administrador/img/fondologin.png') no-repeat center center fixed;
  background-size: cover;
  filter: brightness(0.3) blur(2px);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
}


/* ---------- CONTENIDO NOSOTROS ---------- */
.promo {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  margin-left: 2rem;
  animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Sección de texto */
.promo__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo__subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.promo__title {
  font-size: 2.5rem;
  margin: 0.5rem 0 1rem;
}

.promo__highlight {
  background-color: rgba(160, 231, 229, 0.3);
  padding: 0 0.3rem;
}

/* Párrafo descriptivo */
.promo__description {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.promo__image {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}


.promo__image_img {
  max-width: 400px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* Ajustes responsivos para pantallas medianas */
@media (max-width: 1024px) {
  .promo {
    padding: 2rem;
  }

  .promo__text {
    max-width: 100%;
  }

  .promo__image {
    max-width: 60%;
  }
}

/* Ajustes para móviles */
@media (max-width: 768px) {
  .promo {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }

  .promo__text,
  .promo__image {
    max-width: 100%;
  }

  .promo__image {
    margin-top: 2rem;
  }

  .promo__subtitle {
    font-size: 0.9rem;
  }

  .promo__title {
    font-size: 2rem;
  }

  .promo__description {
    font-size: 0.95rem;
  }

  .promo__button {
    padding: 0.6rem 1.2rem;
  }
}

/* Últimos retoques */
.promo__highlight {
  border-radius: 0.2rem;
  letter-spacing: 0.02em;
}

h1 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: bold;
  margin-top: 2rem;
}

/* ---------- TÍTULOS Y SECCIONES ---------- */
.equipo {
  color: #ffffff;
  font-size: 2rem;
  font-weight: bold;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 2rem;
  margin-left: 2rem;
  margin-right: 2rem;
}

/* ---------- TARJETAS DE ASESORES ---------- */
.tarjeta {
  display: flex;
  align-items: flex-start;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  gap: 1.5rem;
  max-width: 900px;
  margin: 2rem auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tarjeta:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.08);
}

.tarjeta img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  object-fit:cover;
  border: 2px solid #ccc;
}

.tarjeta-texto {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0.5rem;
}

.tarjeta-texto h3 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: #ffffff;
  font-weight: 700;
}

.tarjeta-texto p,
.tarjeta-texto a {
  font-size: 1rem;
  color: #cccccc;
  margin: 0.2rem 0;
  text-decoration: none;
}

.tarjeta-texto a:hover {
  color: #ffffff;
}

.asesor-contacto {
  display: inline-block;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  margin: 0.3rem 0;
  transition: background-color 0.3s ease;
}

.asesor-contacto:hover {
  background-color: #a51e1e;
}

.highlight-red {
  color: #d62828;
  font-weight: bold;
}

/* ---------- DROPDOWN MENU ---------- */
.dropdown_menu {
  display: none;
  position: absolute;
  right: 2rem;
  top: 60px;
  height: 0;
  width: 300px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  border-radius: 10px;
  overflow: hidden;
}

.dropdown_menu.open {
  height: 200px;
}

.dropdown_menu li {
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .nosotros-contenido {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 1rem;
  }

  .logo-nosotros {
    max-height: 100px;
    margin-top: 1rem;
  }

  .tarjeta {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .tarjeta img {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }

  .tarjeta-texto {
    margin-top: 1rem;
  }
}