:root {
  --bg: #141517;
  --bg-soft: #1c1e21;
  --ink: #f7f3ec;
  --muted: #b8bbc2;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #e00635;
  --accent-strong: #ff1647;
  --gold: #c99a45;
  --gold-soft: #f0d28a;
  --navy: #07152b;
  --blue: #001f42;
  --paper: #f3f5f7;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(224, 6, 53, 0.18), transparent 28rem),
    radial-gradient(circle at 84% 24%, rgba(69, 103, 157, 0.2), transparent 30rem),
    linear-gradient(135deg, #111214 0%, #1b1c1f 45%, #111214 100%);
  color: var(--ink);
  font-family: "Jost", "Century Gothic", "Trebuchet MS", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  overflow: hidden;
  padding-bottom: 8rem;
}

.hero {
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  padding: 1.15rem clamp(1rem, 2vw, 2rem) 2rem;
  position: relative;
}

.hero::before {
  background:
    radial-gradient(circle at 52% 38%, rgba(201, 154, 69, 0.08), transparent 23rem),
    linear-gradient(90deg, rgba(3, 5, 8, 0.74), rgba(3, 5, 8, 0.42), rgba(3, 5, 8, 0.72)),
    linear-gradient(180deg, rgba(3, 5, 8, 0.42), rgba(3, 5, 8, 0.66));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-video {
  filter: saturate(0.92) brightness(0.92);
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transition: opacity 1200ms ease;
  width: 100%;
  z-index: 0;
}

.hero-video--active {
  opacity: 1;
}

.hero .topbar,
.hero .hero-grid {
  z-index: 2;
}

.topbar,
.hero-grid,
.catalog-intro,
.region,
.about {
  margin-inline: auto;
  max-width: 1440px;
  position: relative;
  z-index: 1;
}

.topbar {
  align-items: center;
  backdrop-filter: blur(22px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(10, 12, 15, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2rem;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.26);
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  overflow: hidden;
  padding: 0.9rem 1rem;
}

.topbar--cinematic {
  align-items: center;
  backdrop-filter: none;
  background: linear-gradient(180deg, rgba(10, 12, 14, 0.18), rgba(10, 12, 14, 0));
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: visible;
  padding: 0.15rem 0;
}

.topbar--cinematic::after {
  display: none;
}

.top-menu,
.top-login {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 700;
  gap: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-menu {
  justify-self: start;
}

.top-menu span,
.top-menu span::before,
.top-menu span::after {
  background: currentColor;
  display: block;
  height: 2px;
  width: 3.1rem;
}

.top-menu span {
  position: relative;
}

.top-menu span::before,
.top-menu span::after {
  content: "";
  left: 0;
  position: absolute;
}

.top-menu span::before {
  top: -0.65rem;
}

.top-menu span::after {
  top: 0.65rem;
}

.top-login {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  justify-content: space-between;
  justify-self: end;
  min-width: 11.2rem;
  padding: 0.82rem 1rem;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.top-login span {
  font-size: 1.55rem;
  line-height: 1;
}

.top-login:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  transform: translateY(-2px);
}

.topbar::after,
.detail-nav::after {
  background: linear-gradient(90deg, transparent, var(--gold), var(--accent), transparent);
  bottom: 0;
  content: "";
  height: 1px;
  left: 1.2rem;
  opacity: 0.92;
  position: absolute;
  right: 1.2rem;
}

.brand {
  align-items: center;
  display: flex;
  gap: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand--center {
  justify-self: start;
}

.brand--center .brand-emblem {
  height: 2.7rem;
  width: 2.7rem;
}

.brand--center .brand-emblem svg {
  stroke-width: 3.4;
}

.brand--center .brand-copy {
  align-items: start;
  display: grid;
  gap: 0.08rem;
}

.brand--center .brand-copy strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand--center .brand-copy small {
  color: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.42em;
}

.brand--center .brand-copy em {
  display: none;
}

.brand-emblem {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--gold-soft);
  display: inline-flex;
  height: 4.1rem;
  justify-content: center;
  padding: 0;
  width: 4.1rem;
}

.brand-emblem svg {
  display: block;
  fill: none;
  height: 100%;
  filter: drop-shadow(0 10px 22px rgba(201, 154, 69, 0.28));
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.7;
  width: 100%;
}

.brand-hex {
  opacity: 0.95;
}

.brand-hex-inner {
  opacity: 0.72;
}

.brand-swoosh {
  stroke-width: 3.2;
}

.brand-monogram {
  fill: currentColor;
  font-family: "Jost", "Century Gothic", "Trebuchet MS", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.16em;
  stroke: none;
}

.brand-copy {
  display: grid;
  gap: 0.14rem;
}

.brand strong,
.brand small,
.brand em {
  display: block;
}

.brand strong {
  color: #fff;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 0.92;
}

.brand small {
  color: var(--gold-soft);
  font-size: clamp(0.7rem, 1vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.36em;
  margin-left: 0.08rem;
}

.brand em {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.22em;
  margin-top: 0.1rem;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.advisor-label {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding-right: 1rem;
  text-transform: uppercase;
}

.nav-contact {
  align-items: center;
  background:
    linear-gradient(135deg, var(--accent), #a6052b),
    var(--accent);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 700;
  gap: 0.7rem;
  letter-spacing: 0.16em;
  padding: 0.95rem 1.4rem;
  box-shadow: 0 14px 38px rgba(224, 6, 53, 0.24);
  text-transform: uppercase;
  transition: box-shadow 180ms ease, filter 180ms ease, transform 180ms ease;
}

.nav-contact:hover {
  filter: brightness(1.08);
  box-shadow: 0 18px 46px rgba(224, 6, 53, 0.34);
  transform: translateY(-2px);
}

.hero-grid {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.45fr);
  min-height: 58vh;
  padding-top: clamp(5rem, 10vw, 8rem);
}

.hero-grid--cinematic {
  align-content: center;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: calc(100vh - 6rem);
  padding-top: clamp(4rem, 10vh, 8rem);
  text-align: center;
}

.eyebrow {
  color: #cfd8e8;
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 0.42em;
  margin: 0 0 1.4rem;
  text-transform: uppercase;
}

.hero h1,
.catalog-intro h2,
.about h2 {
  font-size: clamp(3.4rem, 9vw, 8.8rem);
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.92;
  margin: 0;
  max-width: 12ch;
}

.hero-grid--cinematic h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-family: inherit;
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.92;
  margin-inline: auto;
  max-width: 12ch;
}

.hero-grid--cinematic h1 span {
  display: block;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  background: linear-gradient(180deg, var(--gold), var(--accent));
  content: "";
  height: 7.5rem;
  left: -1.6rem;
  opacity: 0.78;
  position: absolute;
  top: 2.3rem;
  width: 1px;
}

.hero-copy--center {
  max-width: 72rem;
}

.hero-copy--center::before {
  display: none;
}

.hero-copy p:not(.eyebrow),
.about p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  font-weight: 300;
  line-height: 1.65;
  margin: 2rem 0 0;
  max-width: 42rem;
}

.hero-view-link {
  align-items: center;
  bottom: 2rem;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  display: inline-flex;
  font-family: inherit;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 700;
  gap: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.68rem 0.78rem 0.68rem 1rem;
  position: absolute;
  right: max(clamp(1rem, 2vw, 2rem), calc((100vw - 1440px) / 2));
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  z-index: 2;
}

.top-login,
.hero-view-link {
  min-height: 4.35rem;
  width: 14rem;
}

.top-login span,
.hero-view-link span {
  flex: 0 0 auto;
}

.hero-view-link span {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: inline-flex;
  font-size: 1.35rem;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  width: 2rem;
}

.hero-view-link:hover span {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero-view-link:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-panel {
  backdrop-filter: blur(18px);
  background:
    radial-gradient(circle at 18% 14%, rgba(201, 154, 69, 0.16), transparent 11rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
  border-radius: 1.7rem;
  box-shadow: var(--shadow);
  padding: 1.7rem;
  position: relative;
}

.hero-panel::before {
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 999px;
  content: "";
  height: 3px;
  left: 1.7rem;
  position: absolute;
  right: 1.7rem;
  top: 1.15rem;
}

.hero-number {
  color: var(--accent-strong);
  display: block;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 0.82;
}

.hero-panel p {
  color: var(--muted);
  letter-spacing: 0.18em;
  margin: 1rem 0 0.3rem;
  text-transform: uppercase;
}

.hero-panel strong {
  font-size: 1.2rem;
  font-weight: 500;
}

.hero-panel small {
  color: rgba(255, 255, 255, 0.58);
  display: block;
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.5;
  margin-top: 0.9rem;
}

.catalog-intro {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: 72rem;
  padding: 5rem clamp(1rem, 4vw, 5rem) 2.5rem;
}

.catalog-intro h2 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-style: normal;
}

.catalog-intro--apartments {
  align-items: end;
  max-width: 1280px;
}

.catalog-note {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  font-weight: 300;
  line-height: 1.55;
  margin: 0;
  max-width: 32rem;
}

.apartment-showcase {
  margin-inline: auto;
  max-width: 1320px;
  padding: 1rem clamp(1rem, 4vw, 5rem) 5rem;
}

.location-group {
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.location-group:last-child {
  margin-bottom: 0;
}

.location-heading {
  margin-inline: auto;
  max-width: 58rem;
}

.apartment-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.apartment-grid--location {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.apartment-grid--single {
  margin-inline: auto;
  max-width: 43rem;
}

.apartment-grid--single .apartment-card .property-media {
  height: clamp(31rem, 42vw, 39rem);
}

.apartment-card {
  min-height: 34rem;
  width: 100%;
}

.apartment-card .property-media {
  height: clamp(31rem, 42vw, 37rem);
}

.apartment-card .property-content h4 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  max-width: 7ch;
}

.apartment-label {
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 0 0 0.7rem;
  text-transform: uppercase;
}

.region {
  max-width: 76rem;
  padding: 2rem clamp(1rem, 4vw, 5rem) 5rem;
}

.region-heading {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  justify-items: center;
  margin-bottom: 2rem;
  padding-top: 1.6rem;
  text-align: center;
}

.region-heading p {
  color: var(--muted);
  letter-spacing: 0.24em;
  margin: 0;
  text-transform: uppercase;
}

.region-heading h3 {
  font-size: clamp(1.8rem, 4vw, 3.7rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0;
}

.property-grid {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.3rem);
  justify-content: center;
}

.property-card {
  min-height: 33rem;
  width: min(100%, 56rem);
}

.property-link {
  display: block;
  height: 100%;
  position: relative;
}

.property-media {
  border-radius: 1.05rem;
  box-shadow: var(--shadow);
  height: clamp(30rem, 46vw, 38rem);
  overflow: hidden;
  position: relative;
}

.property-media::after {
  background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.25) 58%, rgba(0, 0, 0, 0.78));
  content: "";
  inset: 0;
  position: absolute;
}

.property-media img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 520ms ease, filter 520ms ease;
  width: 100%;
}

.property-card--citta .property-media img {
  object-position: center center;
}

.property-card--arbore .property-media img {
  object-position: center center;
}

.badge {
  border-radius: 0.28rem;
  font-size: 0.78rem;
  font-weight: 700;
  left: 1.2rem;
  letter-spacing: 0.16em;
  padding: 0.58rem 0.76rem;
  position: absolute;
  text-transform: uppercase;
  z-index: 2;
}

.badge-primary {
  background: var(--accent);
  top: 1.2rem;
}

.badge-dark {
  background: rgba(7, 9, 12, 0.9);
  top: 3.85rem;
}

.property-content {
  bottom: 2rem;
  left: 1.6rem;
  max-width: calc(100% - 3.2rem);
  position: absolute;
  z-index: 3;
}

.property-content h4 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 0.86;
  margin: 0 0 1.3rem;
}

.property-meta {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 0.86rem;
  font-weight: 700;
  gap: 0.75rem;
  letter-spacing: 0.15em;
  margin: 0.75rem 0;
  text-transform: uppercase;
}

.property-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.property-facts li {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.46rem 0.64rem;
  text-transform: uppercase;
}

.meta-icon {
  border: 2px solid var(--accent-strong);
  color: var(--accent-strong);
  display: inline-block;
  flex: 0 0 auto;
  height: 1rem;
  position: relative;
  width: 1rem;
}

.meta-icon--pin {
  border-radius: 999px 999px 999px 0;
  transform: rotate(-45deg);
}

.meta-icon--pin::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 0.28rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0.28rem;
}

.meta-icon--bed {
  border-radius: 0.12rem;
  height: 0.65rem;
  margin-top: 0.2rem;
}

.meta-icon--bed::before {
  background: currentColor;
  content: "";
  height: 0.22rem;
  left: -0.12rem;
  position: absolute;
  top: -0.38rem;
  width: 0.55rem;
}

.meta-icon--bed::after {
  background: currentColor;
  bottom: -0.34rem;
  content: "";
  height: 0.22rem;
  left: -0.12rem;
  position: absolute;
  width: 1.25rem;
}

.property-hover {
  align-content: center;
  background:
    linear-gradient(135deg, rgba(224, 6, 53, 0.92), rgba(0, 31, 66, 0.92)),
    rgba(0, 0, 0, 0.78);
  border-radius: 1.05rem;
  display: grid;
  inset: 0;
  opacity: 0;
  padding: 2rem;
  pointer-events: none;
  position: absolute;
  transform: translateY(1rem) scale(0.98);
  transition: opacity 260ms ease, transform 260ms ease;
  z-index: 4;
}

.property-hover p {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 300;
  margin: 0;
  padding: 1.1rem 0;
}

.property-hover strong {
  display: block;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
}

.property-link:hover .property-hover,
.property-link:focus-visible .property-hover {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.property-link:hover .property-media img,
.property-link:focus-visible .property-media img {
  filter: saturate(0.9) brightness(0.74);
  transform: scale(1.15);
}

.region {
  transition: transform 260ms ease;
}

.region-pulse {
  transform: translateY(-0.5rem);
}

.detail-kicker {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

.property-page {
  background:
    radial-gradient(circle at 18% 10%, rgba(224, 6, 53, 0.16), transparent 25rem),
    linear-gradient(135deg, #111214 0%, #1b1c1f 52%, #111214 100%);
}

.detail-nav {
  align-items: center;
  backdrop-filter: blur(22px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(10, 12, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2rem;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.26);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-inline: auto;
  max-width: min(1440px, calc(100% - clamp(2rem, 8vw, 10rem)));
  overflow: hidden;
  padding: 0.9rem 1rem;
  position: relative;
  z-index: 5;
}

.property-hero-detail {
  display: grid;
  min-height: 82vh;
  overflow: hidden;
  place-items: end start;
  position: relative;
}

.property-hero-detail::after {
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.92), rgba(17, 18, 20, 0.48)),
    linear-gradient(180deg, rgba(17, 18, 20, 0.1), rgba(17, 18, 20, 0.92));
  content: "";
  inset: 0;
  position: absolute;
}

.property-hero-detail > img {
  filter: saturate(0.86) brightness(0.75);
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.property-hero-copy {
  max-width: 56rem;
  padding: 6rem clamp(1rem, 4vw, 5rem);
  position: relative;
  z-index: 2;
}

.back-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--muted);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 2rem;
  padding-bottom: 0.35rem;
  text-transform: uppercase;
}

.back-link:hover {
  color: #fff;
}

.property-hero-copy h1 {
  font-size: clamp(4.5rem, 13vw, 12rem);
  font-weight: 300;
  letter-spacing: -0.08em;
  line-height: 0.82;
  margin: 0;
}

.property-hero-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  font-weight: 300;
  line-height: 1.55;
  margin: 1.6rem 0 0;
  max-width: 42rem;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-actions a,
.hero-actions span {
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.9rem 1.2rem;
  text-transform: uppercase;
}

.hero-actions a {
  background: var(--accent);
  color: #fff;
}

.hero-actions span {
  border: 1px solid var(--line);
  color: #fff;
}

.property-info-layout {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(16rem, 0.32fr) minmax(0, 1fr);
  margin-inline: auto;
  max-width: 1220px;
  padding: 5rem clamp(1rem, 4vw, 5rem) 2rem;
}

.quick-facts {
  align-self: start;
  display: grid;
  gap: 0.85rem;
  position: sticky;
  top: 1rem;
}

.quick-facts div,
.info-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
}

.quick-facts div {
  padding: 1.1rem;
}

.quick-facts span {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.quick-facts strong {
  display: block;
  font-size: clamp(1.45rem, 2.8vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
}

.info-panel {
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.info-panel h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 0.92;
  margin: 0 0 1.6rem;
}

.info-panel dl {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.info-panel dl div {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(8rem, 0.24fr) 1fr;
  padding-top: 1rem;
}

.info-panel dt {
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.info-panel dd {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 300;
  line-height: 1.55;
  margin: 0;
}

.detail-gallery {
  margin-inline: auto;
  max-width: 1220px;
  padding: 3rem clamp(1rem, 4vw, 5rem) 8rem;
}

.detail-gallery h2 {
  font-size: clamp(2.4rem, 6vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 0.92;
  margin: 0 0 2rem;
}

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

.gallery-grid img {
  border-radius: 1rem;
  box-shadow: var(--shadow);
  height: 18rem;
  object-fit: cover;
  width: 100%;
}

.gallery-grid img:first-child {
  grid-column: span 2;
  grid-row: span 2;
  height: 37rem;
}

.about {
  align-items: center;
  background: var(--paper);
  color: var(--blue);
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 1fr);
  margin-top: 3rem;
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 5rem);
}

.about .eyebrow {
  color: rgba(0, 31, 66, 0.55);
}

.about h2 {
  font-size: clamp(2.8rem, 5.8vw, 6.2rem);
}

.about img {
  aspect-ratio: 1.25;
  box-shadow: 0 22px 60px rgba(0, 31, 66, 0.16);
  filter: grayscale(1);
  object-fit: cover;
  object-position: right center;
}

.floating-contact {
  align-items: center;
  background: transparent;
  border: 0;
  bottom: 1.25rem;
  box-shadow: none;
  display: flex;
  gap: 0;
  justify-content: center;
  left: auto;
  padding: 0;
  position: fixed;
  right: 1.25rem;
  transform: none;
  width: auto;
  z-index: 20;
}

.floating-contact a {
  display: none;
}

.floating-contact a:first-child {
  align-items: center;
  background: #25d366 url("public/assets/whatsapp-icon.svg") center / cover no-repeat;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34), 0 8px 28px rgba(37, 211, 102, 0.26);
  color: #fff;
  display: inline-flex;
  font-size: 0;
  height: 4rem;
  justify-content: center;
  letter-spacing: 0;
  overflow: hidden;
  position: relative;
  text-transform: none;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  white-space: nowrap;
  width: 4rem;
}

.floating-contact a:first-child::before {
  display: none;
}

.floating-contact a:first-child:hover {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38), 0 10px 30px rgba(37, 211, 102, 0.34);
  color: #fff;
  filter: brightness(0.98) saturate(1.05);
  transform: translateY(-2px);
}

.apartment-page .detail-nav {
  left: 50%;
  position: absolute;
  top: 1rem;
  transform: translateX(-50%);
  width: min(1440px, calc(100% - clamp(2rem, 8vw, 10rem)));
}

.apartment-hero {
  min-height: 88vh;
}

.apartment-hero::after {
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.9), rgba(8, 9, 10, 0.38), rgba(8, 9, 10, 0.64)),
    linear-gradient(180deg, rgba(8, 9, 10, 0.18), rgba(8, 9, 10, 0.92));
}

.apartment-hero .property-hero-copy h1 {
  max-width: 8ch;
}

.apartment-essentials {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-inline: auto;
  max-width: 1180px;
  padding: 0 clamp(1rem, 4vw, 5rem);
  transform: translateY(-3rem);
  z-index: 4;
  position: relative;
}

.apartment-essentials div {
  backdrop-filter: blur(24px);
  background: rgba(17, 18, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 11rem;
  padding: clamp(1.25rem, 2.4vw, 2rem);
}

.apartment-essentials span {
  color: var(--gold-soft);
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}

.apartment-essentials strong {
  display: block;
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.apartment-essentials p {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.45;
  margin: 1rem 0 0;
}

.minimal-detail {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.75fr) minmax(18rem, 1fr);
  margin-inline: auto;
  max-width: 1180px;
  padding: 1rem clamp(1rem, 4vw, 5rem) 8rem;
}

.minimal-detail article h2 {
  font-size: clamp(2.8rem, 5.6vw, 5.8rem);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 0.92;
  margin: 0;
}

.minimal-detail article p:not(.detail-kicker) {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
  font-weight: 300;
  line-height: 1.65;
  margin: 1.6rem 0 0;
}

.minimal-detail figure {
  margin: 0;
}

.minimal-detail img {
  aspect-ratio: 1.35;
  border-radius: 0.6rem;
  box-shadow: var(--shadow);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.quiet-specs,
.apartment-flow,
.soft-gallery {
  margin-inline: auto;
  max-width: 1180px;
  padding-inline: clamp(1rem, 4vw, 5rem);
}

.quiet-specs {
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.quiet-specs__intro {
  max-width: 44rem;
}

.quiet-specs__intro h2,
.soft-gallery h2 {
  font-size: clamp(2.6rem, 5.4vw, 5.6rem);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 0.92;
  margin: 0 0 2rem;
}

.quiet-specs__grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quiet-specs__grid div {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  min-height: 10rem;
  padding: clamp(1.15rem, 2.2vw, 1.8rem);
}

.quiet-specs__grid span,
.apartment-flow .detail-kicker {
  color: var(--gold-soft);
}

.quiet-specs__grid span {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.quiet-specs__grid strong {
  display: block;
  font-size: clamp(1.35rem, 2.3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.apartment-flow {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.apartment-flow article {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.6rem;
}

.apartment-flow article:nth-child(3) {
  grid-column: 1 / -1;
}

.apartment-flow h2 {
  font-size: clamp(1.75rem, 3.2vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 0 0 1.2rem;
}

.apartment-flow ul {
  color: var(--muted);
  display: grid;
  gap: 0.75rem;
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  font-weight: 300;
  line-height: 1.5;
  list-style: none;
  margin: 0;
  padding: 0;
}

.apartment-flow li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
}

.soft-gallery {
  padding-bottom: 8rem;
}

.soft-gallery__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.soft-gallery__grid img {
  aspect-ratio: 1;
  border-radius: 0.55rem;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  height: 100%;
  object-fit: cover;
  transition: filter 180ms ease, transform 180ms ease;
  width: 100%;
}

.soft-gallery__grid img:hover {
  filter: brightness(1.08);
  transform: translateY(-0.18rem);
}

.soft-gallery__grid img:first-child {
  aspect-ratio: 1.2;
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-lightbox {
  align-items: center;
  background: rgba(5, 6, 8, 0.92);
  display: none;
  inset: 0;
  justify-content: center;
  padding: clamp(1rem, 4vw, 4rem);
  position: fixed;
  z-index: 80;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox__image {
  border-radius: 0.5rem;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.55);
  max-height: min(82vh, 52rem);
  max-width: min(88vw, 90rem);
  object-fit: contain;
}

.gallery-lightbox__button {
  align-items: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 2rem;
  height: 3.2rem;
  justify-content: center;
  line-height: 1;
  position: absolute;
  transition: background 180ms ease, transform 180ms ease;
  width: 3.2rem;
}

.gallery-lightbox__button:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.gallery-lightbox__close {
  right: clamp(1rem, 3vw, 2rem);
  top: clamp(1rem, 3vw, 2rem);
}

.gallery-lightbox__prev {
  left: clamp(1rem, 3vw, 2rem);
}

.gallery-lightbox__next {
  right: clamp(1rem, 3vw, 2rem);
}

.gallery-lightbox__caption {
  bottom: clamp(1rem, 3vw, 2rem);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0;
  max-width: min(80vw, 60rem);
  position: absolute;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .catalog-intro {
    align-items: start;
    flex-direction: column;
  }

  .catalog-intro--apartments {
    align-items: start;
  }

  .apartment-grid,
  .apartment-grid--location,
  .apartment-essentials,
  .minimal-detail,
  .quiet-specs__grid,
  .apartment-flow {
    grid-template-columns: 1fr;
  }

  .apartment-flow article:nth-child(3) {
    grid-column: auto;
  }

  .soft-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-lightbox__prev,
  .gallery-lightbox__next {
    bottom: 5rem;
    top: auto;
  }

  .apartment-page .detail-nav {
    max-width: calc(100% - 2rem);
    width: calc(100% - 2rem);
  }

  .property-grid {
    grid-template-columns: 1fr;
  }

  .property-info-layout {
    grid-template-columns: 1fr;
  }

  .quick-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }

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

  .region-heading {
    grid-template-columns: 1fr;
  }

  .floating-contact {
    align-items: center;
    bottom: 1rem;
    flex-direction: row;
    gap: 0;
    right: 1rem;
  }

  .info-panel dl div {
    grid-template-columns: 1fr;
  }

  .advisor-label {
    display: none;
  }

  .topbar--cinematic {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .top-login {
    min-width: auto;
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar--cinematic {
    align-items: center;
    column-gap: 0.75rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 1.2rem;
    width: 100%;
  }

  .topbar--cinematic .brand--center {
    justify-content: flex-start;
    justify-self: start;
  }

  .top-menu {
    flex: 0 1 auto;
    justify-self: start;
    min-width: 0;
    order: 2;
  }

  .top-login {
    justify-self: end;
    max-width: none;
    min-width: 0;
    padding: 0.78rem 0.9rem;
  }

  .top-menu span,
  .top-menu span::before,
  .top-menu span::after {
    width: 2.2rem;
  }

  .brand {
    gap: 0.75rem;
  }

  .brand-emblem {
    border-radius: 0.85rem;
    height: 3.45rem;
    width: 3.45rem;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    letter-spacing: 0.42em;
  }

  .brand em {
    font-size: 0.52rem;
  }

  .nav-actions {
    width: 100%;
  }

  .nav-contact,
  .top-login {
    justify-content: center;
    width: auto;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-grid {
    padding-top: 4rem;
  }

  .hero-grid--cinematic {
    min-height: calc(100vh - 7rem);
    padding-top: 3rem;
  }

  .hero-grid--cinematic h1 {
    font-size: clamp(2.8rem, 9vw, 4.2rem);
    max-width: min(100%, 11.5ch);
  }

  .hero-view-link {
    bottom: 1rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    white-space: nowrap;
  }

  .property-media {
    height: 31rem;
  }

  .property-content {
    bottom: 1.5rem;
    left: 1.2rem;
  }

  .badge {
    left: 1.2rem;
  }

  .detail-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .property-hero-detail {
    min-height: 76vh;
    place-items: start start;
  }

  .apartment-hero {
    min-height: auto;
  }

  .property-hero-detail > img {
    object-position: center center;
  }

  .property-hero-copy {
    padding: clamp(2rem, 7svh, 3.8rem) 1.15rem 2rem;
    width: 100%;
  }

  .back-link {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    margin-bottom: 1.5rem;
  }

  .property-hero-copy .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .property-hero-copy h1 {
    font-size: clamp(4.1rem, 18vw, 6.2rem);
    letter-spacing: -0.075em;
    line-height: 0.9;
    max-width: 100%;
  }

  .property-hero-copy p:not(.eyebrow) {
    font-size: 1.02rem;
    line-height: 1.55;
    max-width: 22rem;
  }

  .hero-actions {
    align-items: stretch;
    display: grid;
    gap: 0.6rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 1.15rem;
    max-width: 100%;
  }

  .hero-actions a,
  .hero-actions span {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 3rem;
    padding: 0.72rem 0.92rem;
  }

  .hero-actions a {
    min-width: 0;
  }

  .floating-contact {
    bottom: 0.9rem;
    gap: 0;
    padding: 0;
    right: 0.9rem;
    width: auto;
  }

  .floating-contact a:first-child {
    height: 3.45rem;
    width: 3.45rem;
  }

  .floating-contact a:first-child::before {
    height: 1.8rem;
    width: 1.8rem;
  }

  .quick-facts,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img,
  .gallery-grid img:first-child {
    grid-column: auto;
    grid-row: auto;
    height: 18rem;
  }
}

@media (max-width: 480px) {
  .page-shell {
    padding-bottom: 4rem;
  }

  .hero {
    min-height: 100svh;
    padding: 0.9rem 0.9rem 1.2rem;
  }

  .topbar--cinematic {
    align-items: center;
    column-gap: 0.55rem;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    row-gap: 1.05rem;
  }

  .brand--center .brand-emblem {
    height: 1.72rem;
    width: 1.72rem;
  }

  .brand--center .brand-copy {
    gap: 0.18rem;
    min-width: 0;
  }

  .brand--center .brand-copy strong,
  .brand--center .brand-copy small {
    font-size: 0.66rem;
    white-space: nowrap;
  }

  .topbar--cinematic .brand--center {
    flex: 0 1 auto;
    min-width: 0;
  }

  .top-menu,
  .top-login {
    font-size: 0.62rem;
    gap: 0.5rem;
    letter-spacing: 0.06em;
  }

  .top-login {
    flex: 0 0 auto;
    max-width: none;
    min-width: 0;
    padding: 0.58rem 0.62rem;
  }

  .top-login span {
    font-size: 1rem;
  }

  .top-menu span,
  .top-menu span::before,
  .top-menu span::after {
    width: 1.55rem;
  }

  .top-menu span::before {
    top: -0.5rem;
  }

  .top-menu span::after {
    top: 0.5rem;
  }

  .hero-grid--cinematic {
    align-content: center;
    min-height: calc(100svh - 7rem);
    overflow: hidden;
    padding-top: 1.5rem;
  }

  .hero-copy--center {
    max-width: 100%;
    min-width: 0;
    padding-inline: 0.15rem;
    width: 100%;
  }

  .hero-grid--cinematic h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.05rem);
    line-height: 0.96;
    max-width: min(100%, 20rem);
  }

  .eyebrow {
    letter-spacing: 0.28em;
  }

  .hero-view-link {
    bottom: 1.15rem;
    font-size: 0.78rem;
  }

  .top-login,
  .hero-view-link {
    font-size: 0.72rem;
    justify-content: space-between;
    min-height: 3rem;
    padding: 0.54rem 0.62rem;
    width: min(11.6rem, calc(100vw - 7rem));
  }

  .catalog-intro {
    padding-top: 3.2rem;
    text-align: center;
  }

  .catalog-intro h2 {
    font-size: clamp(2.8rem, 17vw, 4rem);
  }

  .region {
    padding-bottom: 3rem;
  }

  .property-card {
    min-height: auto;
  }

  .property-media {
    height: 28rem;
  }

  .property-content h4 {
    font-size: clamp(2.5rem, 16vw, 3.8rem);
  }

  .property-meta {
    align-items: flex-start;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .property-facts {
    gap: 0.35rem;
  }

  .property-facts li {
    font-size: 0.58rem;
  }

  .property-hover {
    padding: 1.2rem;
  }

  .property-hover p {
    font-size: 1.05rem;
  }

  .property-hero-copy {
    padding: 2.1rem 1rem 2rem;
  }

  .property-hero-copy h1 {
    font-size: clamp(3.55rem, 17vw, 4.9rem);
  }

  .property-hero-copy p:not(.eyebrow) {
    font-size: 0.96rem;
    max-width: 100%;
  }

  .hero-actions {
    gap: 0.5rem;
    grid-template-columns: 1fr;
  }

  .hero-actions a,
  .hero-actions span {
    width: 100%;
  }

  .apartment-essentials {
    gap: 0.7rem;
    padding-inline: 1rem;
    transform: translateY(-1.5rem);
  }

  .apartment-essentials div {
    min-height: auto;
    padding: 1.15rem;
  }

  .apartment-essentials strong {
    font-size: clamp(1.8rem, 12vw, 2.8rem);
  }

  .about {
    padding-bottom: 4rem;
  }
}
