* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Fondo usando tu ecografía + filtro blanco semitransparente */
  background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('imagenes/ecografia.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: 'Georgia', serif;
  text-align: center;
  padding: 20px;
  color: #333;
}

.contenido {
  background: rgba(255, 255, 255, 0.9);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
  animation: aparecer 1.2s ease;
  position: relative;
  z-index: 10; /* Para que esté por encima del fondo */
}

h1 {
  color: #d32f2f;
  font-size: 1.8rem;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.subtitulo {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #555;
}

h2 {
  font-size: 1.5rem;
  color: #b07d62;
  margin-bottom: 30px;
  line-height: 1.4;
}

.requisitos {
  background: #fdf6e3;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
  border: 2px dashed #fce4ec;
}

.requisitos p {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

ul {
  list-style: none;
  font-size: 1.1rem;
  line-height: 2;
  color: #6b5648;
}

h3 {
  font-size: 1.6rem;
  color: #e91e63;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.corazon {
  font-size: 3rem;
  animation: latido 1.5s infinite;
}

@keyframes aparecer {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes latido {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

@media (max-width: 480px) {
  .contenido { padding: 30px 20px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.3rem; }
}