/* Final public polish loaded after styles.css.
   This file exists because styles.css has many historical overrides with !important.
   Keep these rules last so the responsive hero image remains the only photo layer. */

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.hero[data-style="futuristic-editorial"] {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

body .hero[data-style="futuristic-editorial"] .hero-container {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  min-height: clamp(620px, 48vw, 860px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #f5f1ed !important;
}

body .hero[data-style="futuristic-editorial"] .hero-grid {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .hero[data-style="futuristic-editorial"] .hero-image,
body .hero[data-style="futuristic-editorial"] .hero-visual {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  transform: none !important;
}

body .hero[data-style="futuristic-editorial"] .hero-container::before,
body .hero[data-style="futuristic-editorial"] .hero-container::after,
body .hero[data-style="futuristic-editorial"] .hero-image::before,
body .hero[data-style="futuristic-editorial"] .hero-image::after,
body .hero[data-style="futuristic-editorial"] .hero-visual::before,
body .hero[data-style="futuristic-editorial"] .hero-visual::after {
  content: none !important;
  display: none !important;
}

body .hero[data-style="futuristic-editorial"] .hero-doctor-img,
body .hero[data-style="futuristic-editorial"] .hero-visual img,
body .hero[data-style="futuristic-editorial"] .hero-image img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 52% center !important;
  opacity: 1 !important;
  visibility: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body .hero[data-style="futuristic-editorial"] .hero-copy::before {
  content: "" !important;
  position: absolute !important;
  inset: clamp(42px, 5vw, 90px) auto clamp(42px, 5vw, 90px) 0 !important;
  z-index: -1 !important;
  width: min(760px, 58vw) !important;
  border-radius: 0 46px 46px 0 !important;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)) !important;
  filter: blur(14px) !important;
  pointer-events: none !important;
}

body .hero[data-style="futuristic-editorial"] .hero-copy {
  position: relative !important;
  z-index: 3 !important;
  width: min(900px, 72vw) !important;
  max-width: min(900px, 72vw) !important;
  margin: 0 !important;
  padding: clamp(84px, 8vw, 142px) 0 clamp(72px, 6.4vw, 122px) clamp(28px, 13vw, 250px) !important;
  color: #123333 !important;
}

body .hero[data-style="futuristic-editorial"] h1 {
  max-width: 780px !important;
  margin: 0 0 24px !important;
  font-size: clamp(3.75rem, 4.72vw, 5.8rem) !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
}

body .hero[data-style="futuristic-editorial"] h1 > span,
body .hero[data-style="futuristic-editorial"] h1 .hero-line {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .hero[data-style="futuristic-editorial"] [data-hero-text] {
  max-width: 680px !important;
  margin: 0 0 42px !important;
  color: #123333 !important;
  font-size: clamp(1.08rem, 1.25vw, 1.32rem) !important;
  line-height: 1.65 !important;
}

body .hero[data-style="futuristic-editorial"] .hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 18px !important;
  width: min(720px, 100%) !important;
  margin: 0 !important;
}

body .hero[data-style="futuristic-editorial"] .hero-actions .btn {
  min-height: 56px !important;
  border-radius: 999px !important;
  font-size: 1rem !important;
}

body .hero[data-style="futuristic-editorial"] .hero-actions .hero-primary {
  min-width: 230px !important;
}

body .hero[data-style="futuristic-editorial"] .hero-actions .hero-whatsapp {
  min-width: 360px !important;
  justify-content: center !important;
}

body .hero[data-style="futuristic-editorial"] .hero-note,
body .hero[data-style="futuristic-editorial"] .hero-meta,
body .hero[data-style="futuristic-editorial"] .hero-benefits,
body .hero[data-style="futuristic-editorial"] .hero-trust {
  display: none !important;
}

@media (max-width: 1180px) {
  body .hero[data-style="futuristic-editorial"] .hero-copy {
    width: min(880px, 82vw) !important;
    max-width: min(880px, 82vw) !important;
    padding-left: clamp(24px, 7vw, 110px) !important;
  }

  body .hero[data-style="futuristic-editorial"] h1 {
    font-size: clamp(3.5rem, 6vw, 5.3rem) !important;
  }
}

@media (max-width: 860px) {
  body .hero[data-style="futuristic-editorial"] .hero-container {
    min-height: 720px !important;
  }

  body .hero[data-style="futuristic-editorial"] .hero-doctor-img,
  body .hero[data-style="futuristic-editorial"] .hero-visual img,
  body .hero[data-style="futuristic-editorial"] .hero-image img {
    object-position: 64% center !important;
    opacity: 0.34 !important;
  }

  body .hero[data-style="futuristic-editorial"] .hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    padding: 76px 22px 72px !important;
  }

  body .hero[data-style="futuristic-editorial"] h1 {
    max-width: 620px !important;
    font-size: clamp(3rem, 14vw, 4.65rem) !important;
  }

  body .hero[data-style="futuristic-editorial"] [data-hero-text] {
    max-width: 560px !important;
    margin-bottom: 28px !important;
  }

  body .hero[data-style="futuristic-editorial"] .hero-actions {
    gap: 12px !important;
  }

  body .hero[data-style="futuristic-editorial"] .hero-actions .btn {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 520px) {
  body .hero[data-style="futuristic-editorial"] .hero-container {
    min-height: 680px !important;
  }

  body .hero[data-style="futuristic-editorial"] h1 {
    font-size: clamp(2.7rem, 14.5vw, 4rem) !important;
  }

  body .hero[data-style="futuristic-editorial"] [data-hero-text] {
    font-size: 1rem !important;
  }
}
