/* Investor overlay on StayFlow Signature */
.offer-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}

.offer-copy .section-title { margin-bottom: 1.15rem; }

.offer-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.offer-points li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--brand-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.offer-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-accent);
}

.offer-card {
  background: var(--brand-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--brand-accent) 28%, transparent);
}

.offer-card-kicker {
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-accent);
}

.offer-price {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 0.55rem;
  color: #f7f0e2;
}

.offer-vat,
.offer-gross,
.offer-area {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.offer-gross {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.82);
}

.offer-area {
  margin-top: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--brand-accent);
}

.offer-roi {
  margin: 1.35rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.offer-roi strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--brand-accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.offer-roi span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.5;
}

.why-copy p {
  margin: 0 0 1.15rem;
  color: var(--brand-muted);
  font-size: 1.06rem;
  line-height: 1.75;
  max-width: 46rem;
}

.why-copy p:last-child { margin-bottom: 0; }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.kpi {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.2rem 1.2rem;
}

.kpi b {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.kpi span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

.live-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.apt-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}

.apt-card-meta span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.note {
  margin: 1.5rem 0 0;
  font-size: 0.85rem;
  color: var(--brand-muted);
  max-width: 42rem;
}

.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 48%;
  display: block;
}

.page-home .hero {
  min-height: 0;
  height: auto;
  display: grid;
  align-items: stretch;
  padding: 0;
}

.page-home .hero-photo {
  position: relative;
  inset: auto;
  grid-area: 1 / 1;
  overflow: visible;
}

.page-home .hero-photo img {
  width: 100%;
  height: auto;
  object-fit: unset;
  object-position: center center;
  display: block;
}

.page-home .hero-scrim {
  grid-area: 1 / 1;
  position: relative;
  inset: auto;
}

.page-home .hero-inner {
  grid-area: 1 / 1;
  align-self: end;
  width: 100%;
  padding: calc(var(--header-h) + 2rem) 0 3.5rem;
  z-index: 1;
}

.page-home .hero-scroll {
  z-index: 2;
}

.apt-hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.apt-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.page-apartment .apt-hero {
  min-height: 0;
  height: auto;
  display: block;
  padding: 0;
  overflow: hidden;
  background: #081018;
}

.page-apartment .apt-hero-frame {
  position: relative;
  width: 100%;
  max-width: none;
}

.page-apartment .apt-hero-photo {
  position: relative;
  inset: auto;
  overflow: hidden;
  display: block;
  background: #081018;
}

.page-apartment .apt-hero-photo img {
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.page-apartment .apt-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 14, 18, 0.72) 0%, rgba(8, 14, 18, 0.12) 52%, rgba(8, 14, 18, 0.22) 100%);
}

.page-apartment .apt-hero-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  padding: 1.5rem var(--page-gutter) 2rem;
  box-sizing: border-box;
}

.page-majestat .apt-hero-frame {
  width: 100%;
}

.page-majestat .apt-hero-photo img {
  width: 100%;
  max-height: none;
}

.page-home .apt-card-image {
  aspect-ratio: 3 / 2;
  object-position: center 46%;
}

.page-home .apt-card-image--azure {
  object-position: 62% 42%;
}

.apt-related-card img[src*="azure/"] {
  object-position: 62% 42%;
}

.apt-gallery--portrait {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.apt-gallery--portrait .is-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.page-apartment .apt-gallery--portrait img,
.page-apartment .apt-gallery--portrait .is-featured img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 40%;
  max-height: none;
  height: 100%;
}

.page-apartment .apt-gallery-item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 46%;
  max-height: none;
}

.page-apartment .apt-gallery-item.is-featured img {
  aspect-ratio: 3 / 2;
  max-height: none;
}

.apt-related-card img {
  aspect-ratio: 3 / 2;
  object-position: center 46%;
}

.scenarios-intro {
  max-width: 46rem;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.scenario {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.45rem 1.6rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.scenario.is-featured {
  border-color: color-mix(in srgb, var(--brand-accent) 55%, var(--brand-border));
  box-shadow: var(--shadow);
}

.scenario-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--brand-accent);
}

.scenario h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0 0 0.7rem;
  color: var(--brand-primary);
  letter-spacing: -0.02em;
}

.scenario-copy {
  margin: 0 0 1rem;
  color: var(--brand-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.scenario-rows {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--brand-border);
  display: grid;
  gap: 0.55rem;
}

.scenario-rows li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
}

.scenario-rows span { color: var(--brand-muted); }
.scenario-rows b { color: var(--brand-primary); font-weight: 650; }

.scenario-roi {
  margin-top: auto;
  padding-top: 1rem;
}

.scenario-roi strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--brand-accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.scenario-roi em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--brand-muted);
}

.scenario-note {
  margin: 1.5rem auto 0;
  max-width: 46rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--brand-muted);
}

.page-apartment .scenarios-block {
  padding-top: 0;
}

.page-apartment .apt-layout + .scenarios-block {
  padding-top: 0.5rem;
}

@media (max-width: 900px) {
  .page-home .hero {
    min-height: 0;
    padding: 0;
  }

  .offer-layout,
  .kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .scenario-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .offer-layout,
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .apt-gallery--portrait {
    grid-template-columns: 1fr 1fr;
  }

  .apt-gallery--portrait .is-featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}
