.hero {
  position: relative;
  overflow: hidden;
  min-height: var(--hero-min-h);
  background: var(--light-color);
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50vw;
  align-items: stretch;
  min-height: var(--hero-min-h);
}

.hero__content-col {
  display: flex;
  align-items: center;
  min-width: 0;
  padding-block: clamp(var(--space-7), 6vw, var(--space-8));
  background: linear-gradient(to bottom, var(--hero-content-bg), var(--light-color));
}

.hero__content-inner {
  width: min(var(--content-max), 100% - var(--gutter));
  margin-inline: var(--shell-offset) auto;
}

.hero__content {
  display: grid;
  gap: clamp(var(--space-4), 2.5vw, var(--space-6));
}

.hero__content h1 {
  font-size: var(--hero-h1-size);
  max-width: 22ch;
  line-height: 1.14;
}

.hero__lead {
  font-size: clamp(1rem, 1.25vw, 1.0625rem);
  max-width: 46ch;
  line-height: 1.8;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-2);
  list-style: none;
  margin: 0;
  padding-inline: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: var(--bd);
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark-color);
}

.hero__badge i {
  color: var(--main-color);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  padding-top: var(--space-2);
  list-style: none;
  margin: 0;
  padding-inline: 0;
}

.hero__actions li {
  display: flex;
}

.hero__visual-col {
  position: relative;
  width: 50vw;
  min-height: 100%;
  align-self: stretch;
}

.hero__visual-track {
  position: relative;
  display: grid;
  grid-template-areas: "stack";
  height: 100%;
  min-height: 100%;
}

.hero__visual {
  grid-area: stack;
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  height: 100%;
  min-height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.hero__visual.is-active {
  opacity: 1;
  visibility: visible;
}

.hero__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 0;
}

.hero__indicator {
  position: absolute;
  z-index: 2;
  left: var(--shell-offset);
  bottom: 30px;
  display: flex;
  gap: 6px;
  width: min(180px, 100% - var(--shell-offset) - var(--gutter));
  max-width: 180px;
}

.hero__indicator span {
  flex: 1;
  height: 2px;
  border-radius: var(--radius-pill);
  background: rgba(19, 46, 83, 0.14);
  overflow: hidden;
}

.hero__indicator span::after {
  content: "";
  display: block;
  width: 0;
  height: 100%;
  background: var(--main-color);
}

.hero__indicator span.is-complete::after {
  width: 100%;
}

.hero__indicator span.is-active.is-progress::after {
  animation: hero-indicator-progress var(--hero-autoplay-duration, 4s) linear forwards;
}

@keyframes hero-indicator-progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__indicator span.is-active::after {
    width: 100%;
  }
}
.hero__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .hero {
    min-height: 0;
    max-width: 100%;
    overflow-x: clip;
  }
  .hero__layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__content-col {
    order: 1;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-block: clamp(24px, 5vw, 40px);
    padding-inline: var(--gutter);
    box-sizing: border-box;
  }
  .hero__content-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
  }
  .hero__content,
  .hero__content h1,
  .hero__actions {
    max-width: 100%;
    min-width: 0;
  }
  .hero__visual-col {
    order: -1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
  }
  .hero__visual-track {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/10;
    height: auto;
    min-height: clamp(220px, 56vw, 420px);
  }
  .hero__visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
    min-height: 0;
  }
  .hero__media {
    border-bottom: var(--bd-strong);
  }
  .hero__indicator {
    display: none;
  }
  .hero__badges {
    display: none;
  }
  .hero__lead {
    display: block;
    font-size: 14px;
    line-height: 1.65;
    max-width: none;
  }
  .hero__content {
    gap: var(--space-3);
  }
  .hero__content .eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
  }
  .hero__content h1 {
    font-size: clamp(1.625rem, 6.2vw, 2.125rem);
    line-height: 1.16;
    max-width: none;
  }
  .hero__actions {
    flex-wrap: nowrap;
    align-items: stretch;
    gap: var(--space-2);
    padding-top: var(--space-1);
  }
  .hero__actions li {
    flex: 1 1 0;
    min-width: 0;
  }
  .hero__actions .btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.8125rem;
    justify-content: center;
    align-items: center;
  }
}
@media (max-width: 420px) {
  .hero__actions {
    gap: 8px;
  }
  .hero__actions .btn {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 0.75rem;
    gap: 6px;
  }
  .hero__actions .btn .fi {
    font-size: 0.875rem;
  }
}
