* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  /* La foto de la ecografía de fondo */
  background-image: url('ecografia.jpg'); 
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: #111;
  
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Quicksand', sans-serif;
  padding: 20px;
  overflow: hidden;
  position: relative;
}

/* Degradado oscuro para que el texto resalte */
body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(200,200,200,0.1) 100%);
  z-index: 1;
}

/* Tarjeta con efecto de cristal */
.tarjeta {
  background: rgba(255, 255, 255, 0.4); /* Transparente para ver la eco */
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px);
  
  padding: 45px 35px;
  border-radius: 24px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3), 
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.8); 
    
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 10;
  animation: aparecer 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.icono-principal {
  font-size: 3.5rem;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

h1 {
  font-family: 'Playfair Display', serif;
  color: #222;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 0px;
  text-shadow: 0 2px 4px rgba(255,255,255,0.8);
}

h2 {
  font-family: 'Playfair Display', serif;
  color: #8b0a50; /* Un tono vino/elegante */
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(255,255,255,0.8);
}

.requisitos {
  background: rgba(255, 255, 255, 0.5); /* Un fondo blanco sutil para las leyes */
  border: 1px dashed #8b0a50;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

.subtitulo-requisitos {
  font-weight: 600;
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
  text-align: left;
}

.requisitos ul {
  list-style: none;
  text-align: left;
}

.requisitos li {
  color: #222;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 5px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

/* Pequeño punto de lista personalizado */
.requisitos li::before {
  content: "•";
  color: #8b0a50;
  font-weight: bold;
  display: inline-block; 
  width: 1em;
}

.remuneracion {
  font-size: 1.2rem;
  color: #333;
  margin-top: 25px;
  line-height: 1.5;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.remuneracion strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #8b0a50;
}

.firma {
  margin-top: 30px;
  font-size: 2rem;
}

/* Animaciones */
@keyframes aparecer {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Corazones flotantes */
.corazon-flotante {
  position: absolute;
  color: #ff69b4;
  pointer-events: none;
  animation: flotar linear infinite;
  opacity: 0.7;
  z-index: 5;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

@keyframes flotar {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.9; }
  90% { opacity: 0.9; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

@media (max-width: 480px) {
  .tarjeta { padding: 35px 25px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.6rem; }
  .requisitos li { font-size: 1rem; }
}