/* 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%;
}

.apartment-grid--single {
  grid-template-columns: minmax(0, 28rem);
  justify-content: center;
}

.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 0.45rem;
  color: var(--brand-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.scenario-rate {
  margin: 0 0 1rem;
  color: var(--brand-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

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

.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;
  }
}

.apt-mobile-bar {
  display: none;
}

@media (max-width: 768px) {
  .page-home .hero {
    position: relative;
    min-height: 100svh;
    height: 100svh;
    display: grid;
    padding: 0;
  }

  .page-home .hero-photo {
    position: absolute;
    inset: 0;
    grid-area: auto;
    overflow: hidden;
  }

  .page-home .hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% 46%;
  }

  .page-home .hero-scrim {
    position: absolute;
    inset: 0;
    grid-area: auto;
    background:
      linear-gradient(
        to top,
        rgba(8, 14, 18, 0.9) 0%,
        rgba(8, 14, 18, 0.38) 48%,
        rgba(8, 14, 18, 0.28) 100%
      );
  }

  .page-home .hero-inner {
    position: relative;
    grid-area: auto;
    align-self: end;
    z-index: 1;
    width: min(1180px, calc(100% - 2 * var(--page-gutter)));
    padding: 0 0 calc(1.65rem + env(safe-area-inset-bottom, 0px));
  }

  .page-home .hero-title {
    font-size: clamp(2.35rem, 12vw, 3.1rem);
    margin-bottom: 0.7rem;
  }

  .page-home .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 1.15rem;
    max-width: 22rem;
  }

  .page-home .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .page-home .hero-actions .btn {
    min-height: 50px;
    font-size: 0.9rem;
  }

  .page-apartment .apt-hero,
  .page-apartment .apt-hero-frame {
    min-height: 100svh;
    height: 100svh;
    display: grid;
  }

  .page-apartment .apt-hero-photo {
    position: absolute;
    inset: 0;
  }

  .page-apartment .apt-hero-photo picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .page-apartment .apt-hero-photo img {
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .page-azure .apt-hero-photo img {
    object-position: 52% 36%;
  }

  .page-majestat .apt-hero-photo img {
    object-position: 48% 42%;
  }

  .page-apartment .apt-hero-scrim {
    background:
      linear-gradient(
        to top,
        rgba(8, 14, 18, 0.88) 0%,
        rgba(8, 14, 18, 0.2) 46%,
        rgba(8, 14, 18, 0.28) 100%
      );
  }

  .page-apartment .apt-hero-inner {
    padding: 1.15rem var(--page-gutter) calc(5.8rem + env(safe-area-inset-bottom, 0px));
  }

  .page-majestat .apt-hero,
  .page-majestat .apt-hero-frame {
    min-height: 0;
    height: auto;
    display: block;
  }

  .page-majestat .apt-hero-photo {
    position: relative;
    inset: auto;
  }

  .page-majestat .apt-hero-photo picture {
    height: auto;
  }

  .page-majestat .apt-hero-photo img {
    height: auto;
    aspect-ratio: 16 / 9;
    object-position: center 46%;
  }

  .page-majestat .apt-hero-scrim {
    background:
      linear-gradient(
        to top,
        rgba(8, 14, 18, 0.55) 0%,
        rgba(8, 14, 18, 0.08) 55%,
        rgba(8, 14, 18, 0.22) 100%
      );
  }

  .page-majestat .apt-hero-inner {
    position: relative;
    background: #081018;
    padding: 1.25rem var(--page-gutter) calc(1.35rem + env(safe-area-inset-bottom, 0px));
  }

  .page-home .reveal,
  .page-apartment .reveal {
    opacity: 1;
    transform: none;
  }

  .page-apartment .apt-title {
    font-size: clamp(2.15rem, 10vw, 2.7rem);
    margin-bottom: 0.95rem;
  }

  .page-apartment .apt-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .page-apartment .apt-stat {
    min-width: 0;
    padding: 0.55rem 0.2rem 0.6rem;
  }

  .page-apartment .apt-stat-value {
    font-size: 1.2rem;
    margin-bottom: 0.22rem;
  }

  .page-apartment .apt-stat-label {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .page-apartment .apt-back {
    padding: 0.5rem 0.85rem;
    font-size: 0.75rem;
  }

  .page-apartment .apt-layout {
    padding-top: 2rem;
    gap: 1.6rem;
  }

  .page-apartment .apt-description p,
  .page-apartment .apt-description p:first-child {
    font-size: 1.02rem;
    line-height: 1.7;
  }

  .page-apartment .apt-main {
    padding-bottom: 6.5rem;
  }

  .page-apartment .scenarios-intro,
  .page-apartment .scenario-note {
    text-align: left;
  }

  .scenario {
    padding: 1.25rem 1.15rem 1.35rem;
  }

  .scenario h3 {
    font-size: 1.4rem;
    margin-bottom: 0.45rem;
  }

  .scenario-copy {
    font-size: 0.92rem;
  }

  .offer-card {
    padding: 1.45rem 1.25rem 1.55rem;
  }

  .offer-price {
    font-size: clamp(2.1rem, 9vw, 2.6rem);
  }

  .kpi {
    padding: 1rem 1.05rem;
  }

  .contact-phone {
    font-size: 1.45rem;
    word-break: break-word;
  }

  .contact-email {
    word-break: break-all;
  }

  .apt-mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 0.7rem var(--page-gutter) calc(0.7rem + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 14, 18, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .apt-mobile-bar .btn {
    width: 100%;
    min-height: 48px;
    margin: 0;
  }
}
