/* ============================================================
   Hero — full-bleed background, copy, stat strip, price card
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../hero_bg.png");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg,
      #ffffff 0%,
      rgba(255, 255, 255, .94) 28%,
      rgba(255, 255, 255, .62) 46%,
      rgba(255, 255, 255, 0) 68%),
    linear-gradient(to top,
      rgba(255, 255, 255, .55) 0%,
      rgba(255, 255, 255, 0) 26%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .82fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(1.25rem, 3.5vw, 2.75rem));
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  min-height: min(92vh, 880px);
}

/* ---- Left column ---- */
.hero__content { max-width: 700px; min-width: 0; }

.hero__eyebrow { margin-bottom: 1.1rem; }

.hero__title {
  font-family: var(--font-serif);
  font-weight: var(--fw-semi);
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
  margin-bottom: 1.25rem;
  overflow-wrap: break-word;
}

.hero__subtitle {
  max-width: 31rem;
  color: var(--body);
  font-weight: var(--fw-light);
  margin-bottom: 2rem;
}

/* Showcase apartment photo — desktop already shows towers in the bg, so this is
   rendered only on the stacked (mobile/tablet) layout; image is fetched there only. */
.hero__photo { display: none; }

/* Stat strip */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 2.25rem;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 0 1.6rem;
  min-width: 0;
}
.stat:first-child { padding-left: 0; }
.stat:not(:last-child) { border-right: 1px solid var(--line); }
.stat__icon {
  font-size: 1.7rem;
  color: var(--brand-600);
  margin-bottom: .4rem;
}
.stat__value {
  font-family: var(--font-sans);
  font-weight: var(--fw-semi);
  font-size: var(--fs-stat);
  color: var(--brand-800);
  line-height: 1.15;
}
.stat__caption {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.3;
}

/* Price card */
.hero__price {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
}
.price-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
}
.price-card__price {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: var(--fw-reg);
}
.price-card__price strong {
  font-family: var(--font-serif);
  font-weight: var(--fw-semi);
  font-size: 1.2rem;
  color: var(--brand-800);
}
.price-card__note {
  font-size: .74rem;
  color: var(--muted);
}

/* ---- Right column (form) ---- */
.hero__form {
  display: flex;
  justify-content: flex-end;
}
