  /* RESET */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* BODY */
  body {
    background: black;
    color: white;
    font-family: Arial, sans-serif;
  }

  /* HEADER */
  .header {
    text-align: center;
    padding: 40px 20px;
  }

  .header h1 {
    font-size: 32px;
    letter-spacing: 2px;
  }

  /* GRID CON FLEX */
  .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
  }

  /* CARD */
  .card {
    width: calc(25% - 20px); /* 4 columnas */
    text-align: center;
  }

  /* TITULO */
  .card h2 {
    margin-bottom: 10px;
    font-size: 16px;
  }

  /* CAJA */
  .box {
    width: 100%;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden; /* 👈 clave para recortar imagen */
    display: flex;
  }

  /* IMAGEN DENTRO DE LA CAJA */
  .box__img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 👈 ahora sí funciona */
  }

  /* FOOTER */
.footer {
  margin-top: 40px;
  padding: 20px;
  text-align: center;
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.footer p {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: 0.3s;
}

.footer__links a:hover {
  color: #00c853; /* verde tipo tech */
}

  /* RESPONSIVE */

  /* Tablet → 2 columnas */
  @media (max-width: 900px) {
    .card {
      width: calc(50% - 20px);
    }
  }

  /* Mobile → 1 columna */
  @media (max-width: 500px) {
    .card {
      width: 100%;
    }
  }