.stage-selection-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
}
.stage-selection-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage-selection-hero__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.stage-selection-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  min-height: 590px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.stage-selection-hero__panel {
  width: min(100%, 380px);
}
.stage-selection-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: none;
}
.stage-selection-hero__panel > p {
  margin: 17px 0 35px;
  font-size: 28px;
  line-height: 1.4;
}
.stage-selection-hero__cards {
  display: grid;
  gap: 18px;
}
.stage-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 31, 48, 0.24);
  color: var(--color-dark-blue);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.stage-card:hover,
.stage-card:focus {
  color: var(--color-dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(7, 31, 48, 0.32);
}
.stage-card:hover > .stage-card__action,
.stage-card:focus > .stage-card__action {
  background: var(--color-dark-blue);
  color: #fff;
}
.stage-card__number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  padding: 24px 16px;
  color: #fff;
  text-align: center;
  border-right: 1px solid #000;
}
.stage-card__number > .stage-card__number-badge {
  /* background: var(--color-new-blue); */
  width: 50px;
  height: 50px;
  border-radius: 50%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;

  z-index: 9;

  font-size: 32px;
  line-height: 1;
}
.stage-card__number > .stage-card__number-badge::before {
  content: '';
  width: 67px;
  height: 67px;
  border-radius: 100%;
  filter: blur(7px);
  background: var(--color-new-blue);

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.stage-card__number > .stage-card__number-badge small {
  font-size: 10px;
  line-height: 1.1;
  text-transform: uppercase;
}

.stage-card:nth-child(2) .stage-card__number > .stage-card__number-badge {
  /* background: #071f30; */
}
.stage-card:nth-child(2)
  .stage-card__number
  > .stage-card__number-badge::before {
  background: #071f30;
}

.stage-card__details {
  display: grid;
  gap: 6px;
}
.stage-card__details strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}
.stage-card__details span {
  font-size: 11px;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
}
.stage-card__details span > strong {
  font-size: 11px;
}
.stage-card__details i {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border-radius: 50%;
  background: #3e9134;
}
.stage-card__action {
  padding: 10px;
  margin-right: 18px;
  border: 1px solid #0b1425;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  transition: 250ms ease;
}
.stage-page section#hero {
  padding-bottom: 0;
}
.stage-page__info-row {
  padding: 12px 0;
  background: var(--color-new-blue);
  color: #fff;
  text-align: center;
}
.stage-page__info-row p {
  margin: 0 auto;
  max-width: 72ch;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}
.stage-navigation {
  background: #fff;
  border-bottom: 1px solid #dbe4ea;
}
.stage-navigation__inner {
  display: flex;
  align-items: center;
  min-height: 60px;
  gap: 24px;
}
.stage-navigation a {
  color: var(--color-dark-blue);
  text-decoration: none;
}
.stage-navigation__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 23px;
}

.stage-navigation__back svg {
  transition: 250ms ease;
}
.stage-navigation__back:hover > svg {
  transform: translateX(-4px);
}
.stage-navigation__stages {
  display: flex;
  align-items: center;
  gap: 36px;
}

.stage-navigation__stages a {
  font-size: 18px;
}
.stage-navigation__stages a:hover {
  text-decoration: underline;
}
.stage-navigation__stages .is-current {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.stage-navigation__parking {
  margin-left: auto;
  padding: 12px 16px;
  border: 1px solid var(--color-dark-blue);
  border-radius: 4px;

  transition: 250ms ease;
}
.stage-navigation__parking:hover,
.stage-navigation__parking:focus {
  background-color: var(--color-dark-blue);
  color: #fff;
}
.stage-plan-visualization {
  position: relative;
}
.stage-plan-visuals {
  width: 100%;
}
.stage-plan-visual {
  min-width: 0;
}
.stage-plan-visual .plan-wrap,
.stage-plan-visual .house-wrapper {
  position: relative;
}
.stage-plan-visual .house-wrapper > img {
  display: block;
  width: 100%;
  height: auto;
}
.house-plan-labels {
  position: absolute;
  inset: 0;
  z-index: 3;
  color: var(--color-dark-blue);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
  text-transform: uppercase;
}
.house-plan-label {
  position: absolute;
  display: flex;
  gap: 4px;
  align-items: center;

  background-color: #fff;
  padding: 4px;
}
.house-plan-label--top {
  top: 3%;
  left: 50%;
  flex-direction: column-reverse;
  transform: translateX(-50%);
}
.house-plan-label--bottom {
  bottom: 2%;
  left: 50%;
  flex-direction: column-reverse;
  transform: translateX(-50%);
}
.house-plan-label--side {
  top: 50%;
  gap: 0.45rem;
  transform: translateY(-50%);
}
.house-plan-labels--s4 .house-plan-label--side {
  right: 0;
}
.house-plan-labels--s5 .house-plan-label--side {
  left: 0;
  flex-direction: row-reverse;
}
.house-plan-label__arrow {
  position: relative;
  display: block;
  flex: 0 0 auto;
}
.house-plan-label--top .house-plan-label__arrow,
.house-plan-label--bottom .house-plan-label__arrow {
  width: 1px;
  height: 1.25rem;
}
.house-plan-label--top .house-plan-label__arrow {
  background: linear-gradient(to bottom, transparent, currentColor 35%);
}
.house-plan-label--bottom .house-plan-label__arrow {
  background: linear-gradient(to top, transparent, currentColor 35%);
}
.house-plan-label--top .house-plan-label__arrow::after,
.house-plan-label--bottom .house-plan-label__arrow::after,
.house-plan-label--side .house-plan-label__arrow::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}
.house-plan-label--top .house-plan-label__arrow::after {
  top: 0;
  left: -0.2rem;
  border-width: 0 0.2rem 0.25rem;
  border-color: transparent transparent currentColor;
}
.house-plan-label--bottom .house-plan-label__arrow::after {
  right: -0.2rem;
  bottom: 0;
  border-width: 0.25rem 0.2rem 0;
  border-color: currentColor transparent transparent;
}
.house-plan-label--side .house-plan-label__arrow {
  width: 1.25rem;
  height: 1px;
  background: linear-gradient(to right, transparent, currentColor 35%);
}
.house-plan-labels--s5 .house-plan-label--side .house-plan-label__arrow {
  background: linear-gradient(to left, transparent, currentColor 35%);
}
.house-plan-labels--s4 .house-plan-label--side .house-plan-label__arrow::after {
  top: -0.2rem;
  right: 0;
  border-width: 0.2rem 0 0.2rem 0.25rem;
  border-color: transparent transparent transparent currentColor;
}
.house-plan-labels--s5 .house-plan-label--side .house-plan-label__arrow::after {
  top: -0.2rem;
  left: 0;
  border-width: 0.2rem 0.25rem 0.2rem 0;
  border-color: transparent currentColor transparent transparent;
}
.stage-plan-visualization .svg-wrap a:not([href]) .floor {
  opacity: 0;
  pointer-events: none;
}
.stage-plan-visualization .svg-wrap a:not([href]):hover .floor {
  opacity: 0;
}
.stage-plan-visualization .hero-title {
  pointer-events: none;
}
.stage-plan-visualization--fallback-title .hero-title > h2 {
  color: var(--color-dark-blue);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}
.stage-plan-visualization--split .stage-plan-visuals {
  display: flex;
}
.stage-plan-visualization--split .stage-plan-visual {
  flex: 1 1 50%;
  width: 50%;
}

@media (min-width: 75em) {
  .stage-selection-hero__shade {
    left: 50%;
  }
  .stage-selection-hero__content {
    width: 50%;
    margin-left: 50%;
  }
}

@media (max-width: 63.9375em) {
  .stage-selection-hero,
  .stage-selection-hero__content {
    min-height: 520px;
  }
  .stage-selection-hero__content {
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .stage-selection-hero__panel {
    width: min(100%, 420px);
  }
  .stage-selection-hero h1 {
    font-size: 32px;
  }
  .stage-navigation__inner {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .stage-navigation__parking {
    margin-left: 0;
  }
  .stage-plan-visualization--split .stage-plan-visuals {
    display: block;
  }
  .stage-plan-visualization--split .stage-plan-visual {
    width: 100%;
  }
  .stage-plan-visual .plan-wrap {
    overflow-x: auto;
  }
}

@media (max-width: 29.9375em) {
  .stage-navigation__stages {
    width: 100%;
  }
}
