.container-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 32px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.card {
  background-color: #fff0f5; /* rosa suave */
  border: 2px solid #ff69b4; /* rosa fuerte */
  border-radius: 16px;
  padding: 22px 18px 28px;
  box-shadow: 0 8px 18px rgba(255, 105, 180, 0.25);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(255, 105, 180, 0.35);
}

.card img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: 0 4px 8px rgba(255, 105, 180, 0.15);
}

.card h3 {
  font-size: 22px;
  margin: 10px 0 8px;
  color: #c2185b;
  font-weight: 700;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card p {
  font-size: 15px;
  line-height: 1.5;
  color: #444;
  flex-grow: 1;
  margin-bottom: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card button {
  background-color: #ff3399;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.25s ease;
  box-shadow: 0 4px 10px rgba(255, 51, 153, 0.3);
}

.card button:hover {
  background-color: #e91e63;
  box-shadow: 0 6px 14px rgba(233, 30, 99, 0.4);
}

@media (max-width: 768px) {
  .container-card {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 16px;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .container-card {
    grid-template-columns: 1fr;
    padding: 16px 12px;
    gap: 18px;
  }

  .card {
    padding: 18px 14px 24px;
  }

  .card h3 {
    font-size: 20px;
  }

  .card p {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .card button {
    font-size: 15px;
    padding: 10px 16px;
  }
}
