.hero {
  position: relative;
  height: 578px;
  overflow: hidden;
  color: #fff;
  background: var(--hero-blue);
}
.hero__media,
.hero__media::after,
.hero__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media iframe {
  left: 50%;
  width: 177.77777778vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  border: 0;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero__media::after {
  content: "";
  background: rgba(0, 64, 131, .5);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin-inline: auto;
  padding-top: 88px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.hero h1 {
  margin: 0;
  color: #fff;
  font-size: 50px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.8px;
  text-shadow: 0 4px 4px rgba(0, 0, 0, .35);
}
.hero__copy { width: calc(100% - 620px); }
.hero__copy p {
  width: calc(100% - 200px);
  max-width: none;
  margin: 20px auto 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.8px;
}
.stats {
  width: calc(100% - 940px);
  margin: 27px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat { text-align: center; }
.stat dt {
  color: #fff;
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 3px 3px rgba(0, 0, 0, .2);
}
.stat dd {
  width: 110px;
  margin: 2px auto 0;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.hero__button {
  width: 430px;
  min-width: 0;
  height: 65px;
  margin-top: 36px;
  padding: 0 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 2px solid #fff;
  border-radius: 34px;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}
.hero__button svg { width: 18px; height: 21px; fill: currentColor; }
.hero__button:hover,
.hero__button:focus-visible { color: var(--hero-blue); background: #fff; transform: translateY(-2px); }

.contact-rail {
  position: fixed;
  z-index: 90;
  right: 0;
  top: 65%;
  display: grid;
  gap: 5px;
}
.contact-rail a {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 25px 0 0 25px;
  color: #fff;
  background: #08adef;
  box-shadow: 0 3px 7px rgba(0, 0, 0, .18);
}
.contact-rail svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.language-chip {
  position: fixed;
  z-index: 80;
  left: 20px;
  bottom: 28px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  color: #aaa;
  background: rgba(255, 255, 255, .78);
  font-size: 14px;
  text-transform: uppercase;
}
.language-chip img { width: 20px; height: 12px; object-fit: cover; opacity: .55; }

@media (max-width: 767px) {
  .hero {
    height: auto;
    min-height: clamp(514px, calc(904px - 67.7vw), 603px);
  }
  .hero__content {
    width: 100%;
    height: auto;
    min-height: 514px;
    padding: 35px 0 10px;
  }
  .hero__copy { width: calc(100% - 70px); }
  .hero h1 { font-size: 35px; line-height: 42px; }
  .hero__copy p {
    width: 100%;
    max-width: 100%;
    margin-top: 13px;
    font-size: 16px;
    line-height: 24px;
  }
  .stats {
    width: calc(100% - 70px);
    margin-top: 34px;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 25px;
  }
  .stat dt { font-size: 32px; }
  .stat dd { font-size: 11px; line-height: 11px; }
  .hero__button {
    min-width: 0;
    width: 286px;
    height: 56px;
    margin-top: 25px;
    padding-inline: 17px;
    font-size: 11px;
  }
  .hero__button svg { width: 12px; height: 14px; }
  .contact-rail { top: 63.5%; }
  .contact-rail a { width: 42px; height: 48px; }
  .contact-rail svg { width: 23px; height: 23px; }
  .language-chip { left: 20px; bottom: 10px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero { height: 578px; }
  .hero__content { padding-top: 49px; }
  .hero__copy { width: calc(100% - 140px); }
  .hero h1 { font-size: 42px; line-height: 48px; }
  .hero__copy p {
    width: 100%;
    margin-top: 16px;
    font-size: 18px;
    line-height: 27px;
  }
  .stats { width: calc(100% - 240px); margin-top: 27px; }
}

@media (min-width: 1025px) and (max-width: 1366px) {
  .hero__content { padding-top: 49px; }
}

@media (max-width: 360px) {
  .hero__copy, .stats { width: calc(100% - 40px); }
  .hero h1 { font-size: 32px; line-height: 38px; }
  .hero__copy p { width: 100%; }
  .hero__button { width: min(286px, 100%); }
}
