/* Structure: section.hero > div.hero__inner > div.hero__content + div.hero__media (> img) */
body .elementor .hero {
  max-width: var(--container);
  margin-inline: auto;
  padding: 32px var(--gutter) 0;
}
body .elementor .hero__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  min-height: 600px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--navy);
}
body .elementor .hero__content {
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  color: var(--cream);
}
body .elementor .hero__content .lead {
  color: var(--muted);
  max-width: 52ch;
}
body .elementor .hero__media {
  position: relative;
  min-height: 380px;
}
body .elementor .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
}

/* Variant: full-width photo */
body .elementor .hero--full {
  max-width: none;
  padding: 0;
}
body .elementor .hero--full .hero__inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(86vh, 820px);
  border-radius: 0;
}
body .elementor .hero--full .hero__media {
  position: absolute;
  inset: 0;
  min-height: 0;
}
body .elementor .hero--full .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgb(27 37 47 / 0.92),
    rgb(27 37 47 / 0.55) 45%,
    transparent 75%
  );
}
body .elementor .hero--full .hero__content {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 48px var(--gutter) 64px;
  justify-content: flex-end;
  gap: 24px;
}
body .elementor .hero--full .title {
  font-size: clamp(56px, 8vw, 120px);
  max-width: 14ch;
}

/* Button row */
body .elementor .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Mobile: tighter padding, buttons side by side */
@media (max-width: 600px) {
  body .elementor .hero {
    padding-top: 16px;
  }
  body .elementor .hero__inner {
    min-height: 0;
  }
  body .elementor .hero__content {
    padding: 28px 24px 32px;
    gap: 28px;
  }
  body .elementor .hero__media {
    min-height: 280px;
  }
  body .elementor .hero__actions {
    gap: 10px;
  }
  body .elementor .hero__actions .btn {
    padding: 13px 20px;
    font-size: 16px;
  }
}
