/**
 * StayEasy — Home page "Why StayEasy" section (replaces Peace of mind).
 */
.home-why-stayeasy {
  background-color: #f4f7f6;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.home-why-stayeasy__eyebrow {
  color: #0a9396;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.home-why-stayeasy__heading {
  font-size: clamp(1.15rem, 2.4vw, 2.05rem);
  line-height: 1.2;
  margin-inline: auto;
  margin-bottom: 0.5rem;
}

.home-why-stayeasy__lead {
  max-width: 34rem;
  margin-inline: auto;
  color: rgba(30, 50, 72, 0.72);
  font-size: 0.98rem;
  line-height: 1.45;
}

.home-why-stayeasy__photo-wrap {
  position: relative;
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1.75rem rgba(13, 27, 42, 0.1);
}

.home-why-stayeasy__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 15.5rem;
  max-height: 22rem;
  object-fit: cover;
  object-position: left center;
}

.home-why-stayeasy__quote-card {
  position: absolute;
  right: 1.25rem;
  left: auto;
  bottom: 1.25rem;
  z-index: 2;
  max-width: 14rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border-radius: 0.65rem;
  box-shadow: 0 0.35rem 1.25rem rgba(13, 27, 42, 0.12);
}

.home-why-stayeasy__quote-mark {
  display: block;
  color: #0a9396;
  font-size: 2rem;
  line-height: 0.55;
  font-family: Georgia, "Times New Roman", serif;
  margin-bottom: 0.15rem;
}

.home-why-stayeasy__quote-title {
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 0.2rem;
}

.home-why-stayeasy__quote-sub {
  color: #0a9396;
  font-size: 0.8125rem;
  font-weight: 500;
}

.home-why-stayeasy__steps {
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
}

.home-why-stayeasy__step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.35rem;
}

.home-why-stayeasy__step:last-child {
  padding-bottom: 0;
}

.home-why-stayeasy__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.875rem;
  top: 3.85rem;
  bottom: 0.2rem;
  border-left: 2px dashed rgba(10, 147, 150, 0.35);
  transform: translateX(-50%);
}

.home-why-stayeasy__step-icon {
  flex-shrink: 0;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  border: 2px solid #0a9396;
  background: #fff;
  color: #0a9396;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  position: relative;
  z-index: 1;
}

.home-why-stayeasy__step-title {
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.home-why-stayeasy__step-text {
  color: rgba(30, 50, 72, 0.72);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.5;
  margin-bottom: 0;
  max-width: 28rem;
}

.home-why-stayeasy__features {
  background: #fff;
  border-radius: 0.85rem;
  box-shadow: 0 0.25rem 1.15rem rgba(13, 27, 42, 0.06);
  border: 1px solid rgba(30, 50, 72, 0.06);
  overflow: hidden;
}

.home-why-stayeasy__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0.95rem 0.85rem;
  height: 100%;
}

.home-why-stayeasy__feature-icon {
  color: #0a9396;
  font-size: 1.85rem;
  line-height: 1;
}

.home-why-stayeasy__feature-title {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0;
}

.home-why-stayeasy__feature-text {
  color: rgba(30, 50, 72, 0.68);
  font-size: 0.8125rem;
  line-height: 1.45;
  margin: 0;
  max-width: 12rem;
}

.home-why-stayeasy__feature-col {
  position: relative;
}

.home-why-stayeasy__feature-col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.85rem;
  right: 0;
  bottom: 0.85rem;
  border-right: 1px solid rgba(30, 50, 72, 0.1);
}

.home-why-stayeasy__actions {
  gap: 1rem 1.5rem;
}

.home-why-stayeasy__cta-btn {
  padding-inline: 1.65rem;
  font-weight: 600;
}

.home-why-stayeasy__link {
  color: #0a9396;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.home-why-stayeasy__link:hover,
.home-why-stayeasy__link:focus-visible {
  color: #087a7d;
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .home-why-stayeasy__heading {
    white-space: normal;
    max-width: 28rem;
    padding-inline: 0.25rem;
  }

  .home-why-stayeasy__lead {
    max-width: 34rem;
    padding-inline: 0.25rem;
  }

  .home-why-stayeasy__feature-col::after {
    display: none;
  }

  .home-why-stayeasy__feature-col:nth-child(odd)::after {
    display: block;
  }

  .home-why-stayeasy__feature-col:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(30, 50, 72, 0.08);
  }

  .home-why-stayeasy__feature-text {
    max-width: 16rem;
  }
}

@media (max-width: 575.98px) {
  .home-why-stayeasy__feature-col::after {
    display: none !important;
  }

  .home-why-stayeasy__feature-col:not(:last-child) {
    border-bottom: 1px solid rgba(30, 50, 72, 0.08);
  }

  .home-why-stayeasy__photo-wrap {
    display: flex;
    flex-direction: column;
  }

  .home-why-stayeasy__photo {
    min-height: 13rem;
    max-height: none;
    aspect-ratio: 4 / 3;
    border-radius: 0.85rem 0.85rem 0 0;
  }

  .home-why-stayeasy__quote-card {
    position: static;
    right: auto;
    left: auto;
    bottom: auto;
    max-width: none;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 0 0 0.85rem 0.85rem;
    box-shadow: none;
    border-top: 1px solid rgba(30, 50, 72, 0.06);
  }

  .home-why-stayeasy__quote-mark {
    font-size: 1.65rem;
    margin-bottom: 0.1rem;
  }

  .home-why-stayeasy__quote-title {
    font-size: 0.98rem;
  }

  .home-why-stayeasy__step-title {
    font-size: 1.05rem;
  }

  .home-why-stayeasy__step-text {
    font-size: 0.95rem;
  }

  .home-why-stayeasy__actions {
    flex-direction: column;
    text-align: center;
  }

  .home-why-stayeasy__cta-btn {
    width: 100%;
    max-width: 22rem;
    min-height: 2.75rem;
    justify-content: center;
  }
}

@media (min-width: 992px) {
  .home-why-stayeasy {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .home-why-stayeasy__photo-wrap {
    height: 100%;
  }

  .home-why-stayeasy__photo {
    min-height: 20rem;
    max-height: none;
  }

  .home-why-stayeasy__steps {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-left: 0.5rem;
  }

  .home-why-stayeasy__step {
    padding-bottom: 0;
  }

  /* Continuous dashed rail between first and last icons when steps are spaced to image height */
  .home-why-stayeasy__step:not(:last-child)::after {
    display: none;
  }

  .home-why-stayeasy__steps::before {
    content: "";
    position: absolute;
    left: calc(0.5rem + 1.875rem);
    top: 1.875rem;
    bottom: 1.875rem;
    border-left: 2px dashed rgba(10, 147, 150, 0.35);
    transform: translateX(-50%);
    z-index: 0;
  }
}
