.stratum-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  isolation: isolate;
}

.stratum-home-hero__overlay {
  display: contents;
}

.stratum-home-hero__overlay .stratum-topbar {
  grid-area: 1 / 1;
}

.stratum-home-hero__overlay .stratum-navigation,
.stratum-home-hero .stratum-header-slider {
  grid-area: 2 / 1;
}

.stratum-home-hero__overlay .stratum-navigation {
  align-self: start;
  z-index: 2;
}

.stratum-home-hero:has(.stratum-header-slider) .stratum-navigation {
  --stratum-nav-shade-end: calc(50% + var(--stratum-brand-row-height, var(--stratum-header-middle-height)) / 2);
  background-color: transparent;
  background-image: linear-gradient(
    to bottom,
    rgb(3 15 39 / 48%) var(--stratum-nav-shade-end),
    transparent var(--stratum-nav-shade-end)
  );
}

.stratum-header-slider {
  position: relative;
  min-width: 0;
  background-color: var(--stratum-navy-dark);
}

.stratum-header-slider .stratum-header-slider__swiper {
  position: relative;
  overflow: hidden;
}

.stratum-header-slider .swiper-wrapper {
  height: auto;
}

.stratum-header-slider .swiper-slide {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 100%;
  height: auto;
  min-height: calc(100vh - var(--stratum-topbar-height, 0px));
  min-height: calc(100dvh - var(--stratum-topbar-height, 0px));
}

.stratum-header-slider__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stratum-hero-content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--stratum-header-inset, 0px) + 24px);
  padding-bottom: 72px;
}

.stratum-hero-title {
  max-width: 620px;
  color: var(--stratum-white);
  text-shadow: 0 2px 8px rgb(0 0 0 / 35%);
  font-size: clamp(2rem, 6vw, 72px);
  font-weight: 300;
  line-height: 1.15;
  margin: 0 0 24px;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.stratum-hero-title strong {
  font-weight: 700;
}

@media (min-width: 992px) {
  .stratum-hero-content {
    padding-inline-start: 35px;
  }

  .stratum-hero-title {
    margin-bottom: 38px;
  }
}

.stratum-btn-hero-quote {
  background-color: var(--stratum-orange);
  color: var(--stratum-white);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  min-width: 180px;
  min-height: 46px;
  padding: 8px 20px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.stratum-btn-hero-quote:hover {
  background-color: var(--stratum-orange-hover);
  color: var(--stratum-white);
}

.stratum-header-slider__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #202328;
  color: var(--stratum-white);
}

.stratum-header-slider__prev {
  left: 16px;
}

.stratum-header-slider__next {
  right: 16px;
}

@media (max-width: 1279.98px) {
  .stratum-header-slider__swiper:has(.stratum-header-slider__arrow:not([hidden])) .stratum-hero-content {
    padding-inline: 64px;
  }
}

.stratum-header-slider .swiper-pagination {
  --swiper-pagination-bottom: 46px;
  --swiper-pagination-bullet-inactive-color: var(--stratum-white);
  --swiper-pagination-color: var(--stratum-orange);
}

.stratum-hero-scroll-down {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 55px;
  background-color: transparent;
  text-decoration: none;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 17px;
  z-index: 5;
}

.stratum-hero-scroll-down__curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.stratum-hero-scroll-down__arrow {
  position: relative;
  z-index: 1;
  color: var(--stratum-navy-dark, #030f27);
  transition: transform 0.2s ease, color 0.2s ease;
}

.stratum-hero-scroll-down:hover .stratum-hero-scroll-down__arrow {
  transform: translateY(3px);
  color: var(--stratum-orange);
}

body:has(#stratum-schedule-inspection) .stratum-hero-scroll-down,
.stratum-home-hero .stratum-hero-scroll-down {
  display: inline-flex;
}
