/* ===== RESET Y FUENTES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: #fff;
  color: #222;
  scroll-behavior: smooth;
}

/* ---------- NAVBAR ---------- */
.navbar {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9) !important;
}

.navbar.scrolled .navbar-brand span,
.navbar.scrolled .nav-link {
  color: white !important;
}

.navbar-brand span {
  font-weight: 700;
  font-size: 1.3rem;
  color: #b30000;
  letter-spacing: 1px;
}

.nav-link {
  color: #000 !important;
  margin-left: 1.5rem;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #b30000 !important;
}

/* Botón hamburguesa */
.navbar-toggler {
  border: none;
  background-color: #b30000;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  background-size: 1.5em 1.5em;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 2rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1470&q=80');
  transition: background-image 1.5s ease-in-out, opacity 1s ease-in-out;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
}

.hero button {
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background: #b30000;
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.hero button:hover {
  background: #d40000;
}


/* ---------- FEATURES ---------- */
.features {
  padding: 4rem 1rem;
  background: #fff;
}

.card {
  background: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 270px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  font-size: 1.8rem; /* agranda emojis 📈📚👥 */
}

.card:hover {
  background: #b30000;
  color: #fff;
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(179, 0, 0, 0.4);
}

.card h3 {
  margin-top: 0.8rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.card p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.features .card {
  min-height: 260px; /* ajustar altura de las tarjetas */
}

/* ---------- EQUIPO ---------- */
/* ---------- EQUIPO ---------- */
.equipo {
  background: #fff5f5;
  padding: 4rem 2rem;
  border-top: 2px solid #b30000;
  border-bottom: 2px solid #b30000;
}

.equipo__container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border: none;
}

.equipo__body {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.equipo__body--show {
  display: flex;
}

.equipo__texts {
  flex: 1;
}

.equipo__texts h2 {
  color: #b30000;
}

.equipo__role {
  font-weight: 600;
}

.equipo__review {
  margin-top: 1rem;
  color: #444;
  line-height: 1.6;
}

.equipo__picture img {
  width: 200px;
  height: 230px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.equipo__arrow {
  width: 40px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.equipo__arrow:hover {
  transform: translateY(-50%) scale(1.1);
  transition: transform 0.3s ease;
}

#before { left: -50px; }
#next { right: -50px; }

/* ---------- FAQ ---------- */
.questions {
  padding: 4rem 2rem;
  background: #fefefe;
  border-top: none; 
}


.questions h2 {
  text-align: center;
  font-size: 2rem;
  color: #b30000;
  margin-bottom: 1rem;
}

.questions__paragraph {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #444;
}

.questions__container {
  max-width: 900px;
  margin: 0 auto;
}

.questions__padding {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.questions__padding:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(179,0,0,0.3);
}

.questions__title {
  font-weight: 700;
  font-size: 1.2rem;
  color: #222;
}

.questions__show {
  color: #555;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* ---------- JOIN ---------- */
.join {
  text-align: center;
  padding: 3rem 1rem;
}

.join button {
  margin-top: 1rem;
  padding: 0.9rem 1.7rem;
  border: none;
  border-radius: 25px;
  background: #b30000;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.join button:hover {
  background: #d40000;
}

/* ---------- FOOTER ---------- */
footer {
  background: #7a0000;
  color: #fff;
  text-align: center;
  padding: 2.5rem 1rem;
  margin-top: 4rem;
}

footer a {
  color: #fff;
  margin: 0 0.5rem;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ===== AJUSTES RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .equipo__container {
    flex-direction: column;
  }

  .equipo__body {
    flex-direction: column;
    text-align: center;
  }

  #before, #next {
    position: static;
    transform: none;
    width: 35px;
    margin: 1rem 0;
  }

  .equipo__picture img {
    width: 160px;
    height: 180px;
  }

  .card {
    max-width: 100%;
  }

  .nav-link {
    margin: 0.5rem 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
}
