:root {
  --ink: #16121c;
  --berry: #3c2348;
  --deep: #100d14;
  --cream: #f3eee6;
  --paper: #faf7f2;
  --line: #e3dacd;
  --gold: #9a7848;
  --muted: #6f6776;
  --text: #241f29;
  --white: #fffdf9;
  --shadow: 0 24px 60px rgba(22, 18, 28, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-color: #6d4b78 #16121c;
  scrollbar-width: thin;
}
html::-webkit-scrollbar { width: 11px; }
html::-webkit-scrollbar-track { background: #16121c; }
html::-webkit-scrollbar-thumb {
  background: linear-gradient(#6d4b78, #3c2348);
  border: 3px solid #16121c;
  border-radius: 99px;
}
html, body { overflow-x: clip; max-width: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 28px;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(227, 218, 205, 0.8);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: 0.08em; }
.brand span { display: block; color: var(--muted); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--ink); }
.nav-links a:hover { color: var(--berry); }
.nav-phone {
  text-decoration: none;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - 77px);
  padding: 0;
  background: var(--deep);
  color: var(--cream);
}
.hero-copy { padding: 72px 8vw 64px; display: flex; flex-direction: column; justify-content: flex-end; }
.eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: #d7c4a4;
  margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.88;
  margin: 0 0 22px;
  letter-spacing: -0.03em;
}
.hero-kicker {
  display: block;
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d7c4a4;
}
.lede { max-width: 460px; font-size: 18px; color: #ddd4c8; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 22px;
  border: 1px solid transparent;
}
.btn-light { background: var(--cream); color: var(--ink); }
.btn-ghost { border-color: rgba(243, 238, 230, 0.4); color: var(--cream); }
.hero-photo { position: relative; min-height: 520px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-note {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(16, 13, 20, 0.72);
  color: var(--cream);
  padding: 12px 14px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: end;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.offer h2 { font-family: var(--serif); font-size: 42px; font-weight: 500; margin: 0 0 8px; }
.offer p { margin: 0; color: var(--muted); max-width: 640px; }
.price-now { font-family: var(--serif); font-size: 64px; line-height: 0.9; margin: 0; }
.price-old { color: var(--muted); text-decoration: line-through; margin: 6px 0 0; }

section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.section-head h2, .master h2, .visit h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.95;
  margin: 0;
}
.section-head p { max-width: 360px; color: var(--muted); margin: 0; }

.gallery {
  columns: 3;
  column-gap: 14px;
}
.gallery figure {
  margin: 0 0 14px;
  break-inside: avoid;
  position: relative;
  cursor: zoom-in;
  background: #ece6dc;
  overflow: hidden;
}
.gallery img {
  width: 100%;
  height: auto;
  transition: transform 0.8s cubic-bezier(.16, 1, .3, 1);
}
.gallery figure:hover img { transform: scale(1.045); }
.gallery figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(250, 247, 242, 0.92);
  padding: 6px 10px;
  font-size: 13px;
}

.ba {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 36px;
  align-items: center;
}
.compare {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #ddd;
  user-select: none;
  max-height: 760px;
}
.compare img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.compare .before-clip { position: absolute; inset: 0 auto 0 0; width: 50%; overflow: hidden; }
.compare .before-clip img {
  inset: auto;
  top: 0;
  left: 0;
  width: var(--full);
  max-width: none;
  height: 100%;
}
.tag {
  position: absolute;
  top: 14px;
  background: var(--cream);
  padding: 4px 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tag-before { left: 14px; }
.tag-after { right: 14px; }
.compare input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
.handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: white;
  pointer-events: none;
}
.handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: white;
  box-shadow: var(--shadow);
}
.ba-copy h2 { font-family: var(--serif); font-size: 56px; font-weight: 500; line-height: 0.95; margin: 0 0 12px; }
.ba-copy p { color: var(--muted); }

.menu { display: grid; gap: 18px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px 22px 8px;
}
.card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}
.row, .grid2 { display: grid; }
.row {
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.row b { font-weight: 600; }
.muted { color: var(--muted); font-weight: 500; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; min-width: 0; }
.card, .row, .notes, .complexes, .facts, .offer, .ba, .split { min-width: 0; }
.complexes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.complex {
  background: var(--ink);
  color: var(--cream);
  padding: 20px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.complex span { color: #d9cbb8; font-size: 14px; }
.complex strong { font-family: var(--serif); font-size: 40px; font-weight: 500; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.split img { width: 100%; height: 640px; object-fit: cover; object-position: 20% 30%; }
.master-photo { object-position: center 18%; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.facts div { border-top: 1px solid var(--line); padding-top: 12px; }
.facts b { display: block; font-family: var(--serif); font-size: 28px; font-weight: 500; }

.visit {
  background: var(--deep);
  color: var(--cream);
}
.visit .wrap { display: block; }
.visit a { color: #eadcc6; text-decoration: none; }
.visit-phone {
  font-family: var(--serif);
  font-size: clamp(32px, 8vw, 46px);
  line-height: 1.2;
  margin: 18px 0 0;
}
.visit .window { margin-top: 36px; border-radius: 16px; }
.visit p { color: #d5cdc2; }
.channels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.channels a,
.channels button {
  text-decoration: none;
  border: 1px solid rgba(243, 238, 230, 0.3);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--cream);
  background: transparent;
  cursor: pointer;
}

.site-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px 28px;
  background: var(--deep);
  color: #b7adbf;
  font-size: 13px;
}
.site-foot a { color: #eadcc6; text-decoration: none; }
.mobile-bar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
}
.mobile-bar a {
  display: block;
  text-align: center;
  text-decoration: none;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  padding: 14px;
}

dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(920px, 92vw);
}
dialog::backdrop { background: rgba(16, 13, 20, 0.82); }
dialog img { max-height: 86vh; margin: 0 auto; }
dialog button {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  background: var(--cream);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.notes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.note {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px 18px 18px;
  min-height: 190px;
}
.note b {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 10px;
}
.note span { color: var(--muted); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .hero, .offer, .ba, .prices, .complexes, .notes, .split, .visit .wrap, .facts { grid-template-columns: 1fr 1fr; }
  .hero, .offer, .ba, .split, .visit .wrap { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-photo { order: -1; min-height: 78vw; }
  .hero-copy { justify-content: flex-start; padding: 32px 20px 40px; }
  .gallery { columns: 2; }
  .complexes { grid-template-columns: 1fr 1fr; }
  .split img { height: 420px; }
  section { padding: 64px 0; }
  .mobile-bar { display: block; }
  .wrap { width: min(1180px, calc(100% - 32px)); }
}
.scroll-line {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: 2px;
  background: #c4a574;
  transform: scaleX(0);
  transform-origin: left center;
}
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s cubic-bezier(.16, 1, .3, 1), transform 0.85s cubic-bezier(.16, 1, .3, 1);
}
.nav-links a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 0.35s ease, color 0.35s ease;
}
.nav-links a:hover { background-size: 100% 1px; }

.reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-width: 0;
}
.review {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 14px;
  box-shadow: 0 10px 30px rgba(22, 18, 28, 0.05);
  min-width: 0;
}
.review header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.review b { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.review header span, .review footer { color: var(--muted); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.review p { margin: 12px 0 16px; }
.review footer { border-top: 1px solid var(--line); padding-top: 10px; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.tags li {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
}
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; color: var(--muted); }

.reviews-all {
  display: inline-flex;
  margin-top: 18px;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.map-screen { padding-top: 0; }
.window {
  background: #1a1520;
  color: var(--cream);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #241c2b;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.window-bar a { margin-left: auto; color: #eadcc6; text-decoration: none; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #6d4b78; display: block; }
.dots i:first-child { background: #c4a574; }
.window-body {
  height: 0;
  overflow: hidden;
  transition: height 0.7s cubic-bezier(.16, 1, .3, 1);
}
.window.open .window-body { height: min(68vh, 560px); }
.window-body iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 700px) {
  .prices, .notes, .complexes, .facts, .reviews { grid-template-columns: 1fr; }
  .reviews {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .review { flex: 0 0 min(86vw, 320px); scroll-snap-align: start; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head p { max-width: none; }
  .hero h1 { font-size: clamp(44px, 12vw, 72px); }
  .offer h2, .ba-copy h2 { font-size: 36px; }
  .price-now { font-size: clamp(36px, 11vw, 56px); word-break: break-word; }
  .card { padding: 18px 16px 8px; }
  .nav { padding: 12px 16px; }
  .hero-copy { padding: 28px 16px 32px; }
  .wrap { width: min(1180px, calc(100% - 28px)); }
  .window-bar { letter-spacing: 0.02em; font-size: 11px; gap: 8px; }
  .window-bar span { min-width: 0; }
  .site-foot { flex-direction: column; align-items: flex-start; padding: 16px 16px 96px; }
  .visit-phone { font-size: 34px; }
  .compare { max-width: 100%; }
  .compare input[type="range"] { max-width: 100%; }
}
@media (max-width: 560px) {
  .gallery, .complexes, .notes { columns: 1; grid-template-columns: 1fr; }
  .gallery { display: flex; flex-direction: column; }
}
