/* Keep the complete portrait in frame; the benefits belong to the photograph. */
.hero-visual {
  aspect-ratio: 4 / 5;
  height: auto;
  max-height: none;
  border-radius: 26px;
  background: #d8e3eb;
  box-shadow: 0 18px 46px -30px #11265050;
}
.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-visual::after {
  inset: 55% 0 0;
  background: linear-gradient(transparent, #0a24425c);
  pointer-events: none;
}

.hero-benefits {
  position: absolute;
  z-index: 1;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 16px;
  list-style: none;
  color: white;
  border: 1px solid #ffffff38;
  border-radius: 18px;
  background: linear-gradient(120deg, #123866f5, #10294df7);
  box-shadow: 0 8px 24px #07193325;
  backdrop-filter: blur(14px);
}
.hero-benefits li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 14px 0;
}
.hero-benefits li:nth-child(2) {
  border-left: 1px solid #ffffff26;
  padding-left: 15px;
  padding-right: 0;
}
.hero-benefits strong {
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -.015em;
  font-weight: 600;
}
.hero-benefit-icon {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 34px;
  color: #ffac6f;
}
.hero-benefit-icon svg { width: 27px; height: 27px; }
.hero-benefits .hero-benefit-housing {
  grid-column: 1 / -1;
  border-top: 1px solid #ffffff26;
  padding: 12px 0 0;
}
@media (min-width: 760px) {
  .hero-visual { align-self: center; }
  .hero-benefits { bottom: 18px; left: 18px; right: 18px; padding: 20px; border-radius: 20px; }
  .hero-benefits strong { font-size: 1.125rem; }
  .hero-benefits li { gap: 12px; padding-bottom: 16px; }
  .hero-benefits li:nth-child(2) { padding-left: 20px; }
  .hero-benefits .hero-benefit-housing { padding-top: 14px; }
}
@media (min-width: 760px) and (max-width: 1000px) {
  .hero-benefits { left: 10px; right: 10px; bottom: 10px; padding: 14px 12px; }
  .hero-benefits strong { font-size: 1rem; }
  .hero-benefits li { gap: 7px; }
  .hero-benefits li:nth-child(2) { padding-left: 10px; }
}
@media (max-width: 360px) {
  .hero-benefits { padding: 14px 12px; }
  .hero-benefits li { gap: 7px; padding-right: 8px; }
  .hero-benefits li:nth-child(2) { padding-left: 10px; }
  .hero-benefit-icon { flex-basis: 26px; width: 26px; }
  .hero-benefit-icon svg { width: 24px; height: 24px; }
}
