@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  background-color: #f7f9fc;
  color: #34495e;
  text-align: center;
}

header h1 {
  font-weight: 600;
  font-size: 3em;
  color: #2c3e50;
  margin-bottom: 10px;
}

header p {
  font-size: 1.3em;
  color: #5d6d7e;
  margin-bottom: 40px;
}

#scenarios h2 {
  font-weight: 600;
  font-size: 2em;
  margin-bottom: 30px;
  color: #2c3e50;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.card {
  background-color: white;
  width: 220px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  text-align: left;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.18);
}

.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.card h3 {
  font-weight: 600;
  margin: 15px 15px 10px 15px;
  color: #2c3e50;
  font-size: 1.1em;
}

.card p {
  margin: 0 15px 15px 15px;
  color: #566573;
  font-size: 0.95em;
  line-height: 1.3em;
}

#actions {
  margin: 50px 0 20px;
}

#actions button {
  background-color: #27ae60;
  color: white;
  font-size: 1.4em;
  padding: 18px 50px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 5px 10px rgba(39, 174, 96, 0.4);
}

#actions button:hover {
  background-color: #1e8449;
}

footer {
  font-size: 1em;
  color: #7f8c8d;
  margin-top: 40px;
}
.card {
  display: block; /* para que enlace tome todo el cuadro */
  text-decoration: none; /* quita subrayado */
  color: inherit; /* texto con mismo color */
  background-color: white;
  width: 220px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-align: left;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.18);
}

