:root {
  --bg: #f5f1eb;
  --surface: #ffffff;
  --surface-soft: #fbf8f4;
  --surface-dark: #181c22;
  --text: #17202a;
  --text-soft: #5f6772;
  --text-on-dark: rgba(255,255,255,0.84);
  --border: rgba(23, 32, 42, 0.1);
  --accent: #b38b59;
  --accent-dark: #987043;
  --shadow: 0 22px 54px rgba(14, 22, 34, 0.12);
  --shadow-soft: 0 12px 32px rgba(14, 22, 34, 0.08);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1240px;
  --transition: 0.28s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(179, 139, 89, 0.08), transparent 26%),
    linear-gradient(180deg, #f8f4ef 0%, #f3efe9 38%, #faf8f5 100%);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4 { margin-top: 0; }

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(960px, calc(100% - 32px));
}

.section {
  padding: 110px 0;
}

.section-contrast {
  background: linear-gradient(180deg, #11161d 0%, #1b222c 100%);
  color: #fff;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.9) 100%);
}

.section-note {
  background: linear-gradient(180deg, #1a212b 0%, #141920 100%);
  color: #fff;
}

.section-contact {
  padding-top: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.76);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.eyebrow-dark {
  color: var(--accent);
}

.section-heading {
  margin-bottom: 42px;
  max-width: 760px;
}

.section-heading h2,
.split-content h2,
.note-card h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 28px rgba(179, 139, 89, 0.24);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.14);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(249, 246, 241, 0.74);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: var(--border);
  box-shadow: 0 14px 28px rgba(14, 22, 34, 0.06);
}

.nav-shell {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
  padding: 6px;
  box-shadow: var(--shadow-soft);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-soft);
}

.brand-subtitle {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta { min-height: 46px; }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.9);
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 30px; }
.menu-toggle.active span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: rgba(255,255,255,0.96);
  border-top: 1px solid transparent;
  transition: max-height 0.35s ease, border-color var(--transition);
}

.mobile-menu.open {
  max-height: 540px;
  border-top-color: var(--border);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 0 26px;
}

.mobile-menu-inner a {
  padding: 12px 2px;
  font-weight: 600;
}

.mobile-cta {
  margin-top: 8px;
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(120deg, rgba(9, 14, 20, 0.86) 12%, rgba(9, 14, 20, 0.56) 50%, rgba(9, 14, 20, 0.74) 100%),
    radial-gradient(circle at top right, rgba(179, 139, 89, 0.32), transparent 26%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.62fr);
  gap: 40px;
  align-items: end;
  padding: 150px 0 72px;
}

.hero-copy {
  max-width: 760px;
}

.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
}

.hero-copy p {
  max-width: 690px;
  font-size: 1.06rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 10px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  gap: 16px;
}

.stat-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 36px rgba(9, 14, 20, 0.16);
}

.stat-value {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 6px;
}

.stat-label {
  color: rgba(255,255,255,0.76);
}

.feature-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.feature-card,
.note-card,
.contact-card,
.split-card,
.apartment-panel {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.54);
  box-shadow: var(--shadow);
}

.feature-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.feature-image {
  aspect-ratio: 16 / 10;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-body {
  padding: 28px;
}

.feature-body h3,
.apartment-details h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.feature-body p,
.apartment-details p,
.split-content p,
.note-card p,
.contact-copy p {
  color: var(--text-soft);
}

.apartment-stack {
  display: grid;
  gap: 30px;
}

.apartment-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: none;
}

.apartment-panel.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.apartment-panel.reverse .apartment-visual {
  order: 2;
}

.apartment-panel.reverse .apartment-details {
  order: 1;
}

.apartment-visual {
  min-height: 100%;
  background: #0f141a;
}

.apartment-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apartment-details {
  padding: 36px;
}

.panel-tag,
.price-title,
.contact-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-tag,
.price-title {
  color: var(--accent);
}

.panel-tag {
  margin-bottom: 16px;
}

.price-card {
  margin-top: 26px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.price-title {
  margin-bottom: 14px;
}

.price-card img {
  width: 100%;
  border-radius: 14px;
}

.split-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  overflow: hidden;
  border-radius: 32px;
}

.split-card.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.split-card.reverse .split-media { order: 2; }
.split-card.reverse .split-content { order: 1; }

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content {
  padding: 42px;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  font-weight: 600;
  transition: transform var(--transition), border-color var(--transition);
}

.link-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(179, 139, 89, 0.4);
}

.purchase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.purchase-card {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.note-card {
  border-radius: 32px;
  padding: 42px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
}

.note-card p {
  color: var(--text-on-dark);
}

.contact-card {
  margin-top: 12px;
  padding: 40px;
  border-radius: 34px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.contact-item {
  padding: 24px;
  border-radius: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(179, 139, 89, 0.3);
}

.contact-label {
  display: block;
  color: var(--accent);
  margin-bottom: 8px;
}

.contact-item strong {
  font-size: 1.05rem;
  line-height: 1.4;
}

.site-footer {
  background: #10151b;
  color: rgba(255,255,255,0.76);
  padding: 82px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 26px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-block; }
  .nav-cta { display: none; }
  .hero-grid,
  .feature-layout,
  .purchase-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .apartment-panel,
  .apartment-panel.reverse,
  .split-card,
  .split-card.reverse {
    grid-template-columns: 1fr;
  }

  .apartment-panel.reverse .apartment-visual,
  .split-card.reverse .split-media,
  .apartment-panel.reverse .apartment-details,
  .split-card.reverse .split-content {
    order: initial;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .section { padding: 84px 0; }
  .hero-grid { padding: 132px 0 56px; }
  .hero-stats { grid-template-columns: 1fr; }
  .brand-logo {
    width: 60px;
    height: 60px;
  }
  .contact-card,
  .note-card,
  .split-content,
  .apartment-details,
  .feature-body {
    padding: 28px;
  }
}

@media (max-width: 620px) {
  .container,
  .narrow {
    width: min(100% - 20px, var(--container));
  }

  .nav-shell {
    min-height: 82px;
    gap: 14px;
  }

  .brand-copy { display: none; }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .split-content,
  .contact-card,
  .note-card,
  .apartment-details,
  .feature-body {
    padding: 22px;
  }

  .section-heading h2,
  .split-content h2,
  .note-card h2,
  .contact-copy h2 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }
}
