.hero {
  padding: 80px 0 60px;
  overflow: hidden;
  background-image: url(/assets/img/back.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  text-align: left;
}

.hero-text h1 .highlight {
  color: var(--sky);
}

.hero-text h1 .char {
  white-space: pre;
}

.hero-sub {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 1.1rem;
}

.hero-checklist {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-aviso {
  padding-top: 2rem;
  font-size: 1.2rem;
  font-family: "bol";
}

.hero-media {
  position: relative;
  z-index: 2;
}

.hero-img-frame {
  position: relative;
  aspect-ratio: 1/1;
  z-index: 2;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}

/* ============ TABLET (<=900px) ============ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-media {
    order: -1;
  }
}

/* ============ MOBILE (<=600px) ============
   SOLUCION DEFINITIVA: en vez de usar la imagen con lineas finas
   (que siempre se ve mal escalada en pantallas pequeñas sin importar
   la resolucion u optimizacion), se reemplaza por un degradado CSS
   puro con los mismos tonos de marca. Ventajas:
   - Se ve perfectamente nitido en CUALQUIER pantalla, sin excepcion.
   - Cero peso extra (no descarga ninguna imagen).
   - No compite visualmente ni se empalma raro con la foto del doctor.
*/
@media (max-width: 600px) {
  .hero {
    padding: 50px 0 40px;
    text-align: left;
    background-image: radial-gradient(
        circle at 15% 15%,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(214, 240, 245, 0.6) 35%,
        transparent 60%
      ),
      linear-gradient(160deg, #eaf7fa 0%, #d3edf3 45%, #b9e2ec 100%);
    background-size: cover;
    background-position: center;
  }

  .hero-text h1 {
    font-size: 1.7rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }
}