/* Phase 14J home hero correction from Elementor baseline assets. */
section.sa-home-hero {
  position: relative !important;
  min-height: clamp(600px, 82vh, 820px) !important;
  overflow: hidden;
  background: #fff url('/wp-content/uploads/2025/03/0.-foto.webp') center bottom / cover no-repeat !important;
}

section.sa-home-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -18% -18% 29% -10%;
  background: var(--sa-yellow) !important;
  clip-path: ellipse(72% 65% at 32% 0%);
  pointer-events: none;
}

section.sa-home-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 108px;
  background: var(--sa-green-soft);
  border-top: 0;
  pointer-events: none;
}

.sa-home-hero__inner {
  position: relative !important;
  z-index: 1;
  max-width: 1180px !important;
  min-height: clamp(520px, 74vh, 760px) !important;
  display: block !important;
  padding-top: clamp(4.2rem, 10vw, 7.4rem) !important;
  padding-bottom: clamp(8rem, 18vw, 12rem) !important;
}

.sa-home-hero .sa-hero__content {
  width: min(54%, 650px) !important;
  max-width: 650px !important;
}

.sa-home-hero .sa-hero__media {
  display: none !important;
}

.sa-home-title {
  max-width: 13.5ch !important;
  font-size: clamp(2.1rem, 3.8vw, 4.4rem) !important;
  line-height: 0.96 !important;
}

.sa-home-lead {
  max-width: 43ch !important;
  font-size: clamp(0.9rem, 1.1vw, 1.05rem) !important;
}

@media (max-width: 900px) {
  section.sa-home-hero {
    min-height: 620px !important;
    background-position: center bottom !important;
  }

  section.sa-home-hero::before {
    inset: -8% -28% 33% -16%;
    clip-path: ellipse(88% 68% at 20% 0%);
  }

  section.sa-home-hero::after {
    height: 82px;
  }

  .sa-home-hero__inner {
    min-height: 540px !important;
    display: block !important;
    padding: 2.5rem 1rem 7rem !important;
  }

  .sa-home-hero .sa-hero__content {
    width: min(100%, 340px) !important;
    max-width: 340px !important;
  }

  .sa-home-title {
    max-width: 12ch !important;
    font-size: clamp(1.95rem, 9.4vw, 2.85rem) !important;
    line-height: 0.95 !important;
  }

  .sa-home-lead {
    max-width: 29ch !important;
    font-size: 0.82rem !important;
  }
}
