/* Reset básico */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Inter", sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.5;
}

/* Top bar */
.topbar {
  background: #000;
  color: #fff;
  height: 44px;
  display: flex;
  align-items: center;
}
.topnav { width: 100%; max-width: 1200px; margin: 0 auto; }
.topnav ul { list-style: none; display: flex; gap: 24px; }
.topnav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

/* Contenedor principal */
.container {
  margin: 40px auto;
  padding: 0 20px 60px;
}

/* Perfil */
.profile {
  text-align: center;
  margin-bottom: 30px;
}
.profile-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #000;
}
.name {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 700;
}
.subtitle {
  font-size: 14px;
  color: #444;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid #000;
  border-radius: 6px;
  padding: 16px;
}
.card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card ul { list-style: disc; padding-left: 18px; font-size: 13px; color: #222; }
.card ul li { margin-bottom: 6px; }

/* Integrantes */
.integrantes {
  background: #f2f2f2;
  width: 100%;
  border-radius: 6px;
  padding: 18px;
  text-align: center;
  margin: 30px 0;
}
.integrantes h4 { font-weight: 700; margin-bottom: 10px; }
.integrantes .names a {
  color: #000;
  margin: 0 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

/* Footer */
.info-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 20px;
  font-size: 12px;
  color: #333;
}
.footer-col {
  max-width: 30%;
}
.footer-col small { 
  font-weight: 700; 
  display: block; 
  margin-bottom: 6px; 
}

/* Bottom ribbon */
.bottom-ribbon {
  background: #000;
  color: #fff;
  padding: 8px 16px;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  font-size: 11px;
  text-align: center;
}

/* Responsive */
@media (max-width: 1000px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .info-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-col {
    max-width: 100%;
  }
}