.legacy-html-page .location-hero {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 150px 24px 72px;
  background: #f4f5fb url('https://dev.aloshina.ua/wp-content/uploads/hero-bg-web-scaled.webp') top center / cover no-repeat;
}

.legacy-html-page .location-hero__inner {
  width: min(100%, 1200px);
  margin: 0 auto;
}

.legacy-html-page .location-hero__eyebrow {
  margin: 0 0 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legacy-html-page .location-hero h1 {
  position: static;
  width: min(100%, 780px);
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 5.5vw, 84px);
  font-weight: 700;
  line-height: .98;
  text-transform: none;
}

.legacy-html-page .location-hero__lead {
  max-width: 600px;
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.3;
}

.legacy-html-page .location-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.legacy-html-page .location-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 25px;
  border: 2px solid #fff;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}

.legacy-html-page .location-hero__button:hover { transform: translateY(-2px); opacity: .9; }
.legacy-html-page .location-hero__button--primary { background: #fff; color: #092d6d; }
.legacy-html-page .location-hero__button--secondary { background: transparent; color: #fff; }
.legacy-html-page #form { scroll-margin-top: 140px; }

@media (max-width: 767px) {
  .legacy-html-page .location-hero { min-height: 760px; padding: 128px 20px 56px; }
  .legacy-html-page .location-hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .legacy-html-page .location-hero__lead { font-size: 20px; }
  .legacy-html-page .location-hero__actions { display: grid; grid-template-columns: 1fr; }
}
