:root {
  color-scheme: light only;
  --bg: #ffffff;
  --bg-2: #f4f1ea;
  --ink: #1c2418;
  --muted: #5c6556;
  --pine: #3d6a45;
  --pine-deep: #2f5436;
  --clay: #b56a3c;
  --gold: #9a7a45;
  --paper: #ffffff;
  --line: rgba(28, 36, 24, 0.12);
  --shadow: 0 24px 60px rgba(26, 44, 30, 0.08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: #ffffff;
  color-scheme: light;
  forced-color-adjust: none;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: #ffffff;
  line-height: 1.55;
}

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

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover,
.nav a.current {
  color: var(--clay);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone {
  font-weight: 600;
  font-size: 0.92rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pine);
  color: #f7f3eb;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  background: var(--pine-deep);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.88rem;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--bg-2);
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 2px;
  margin: 7px 4px;
  background: var(--ink);
}

.hero {
  position: relative;
  color: var(--ink);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding: 36px 8vw 24px;
  background: #ffffff;
}

.hero-media {
  position: relative;
}

.hero-photo {
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: transparent;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 0;
  max-width: none;
}

.eyebrow,
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

.hero h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
}

.hero .eyebrow {
  color: var(--clay);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  margin-bottom: 18px;
}

.hero-lead {
  max-width: 34rem;
  font-size: 1.12rem;
  color: var(--ink);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 36px 0 28px;
}

.hero-facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
}

.hero-facts span {
  font-size: 0.82rem;
  opacity: 0.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.price {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
}

.intro,
.gallery,
.surroundings,
.rooms,
.snt,
.location,
.deal,
.contact {
  padding: 88px 8vw;
  background: #ffffff;
}

.intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}

.intro h2,
.gallery h2,
.surroundings h2,
.rooms h2,
.plot h2,
.snt h2,
.location h2,
.deal h2,
.contact h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}

.intro-copy p,
.plot-copy p,
.location-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.spec-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.spec-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.spec-card li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.95rem;
}

.spec-card span {
  color: var(--muted);
}

.section-head {
  margin-bottom: 32px;
}

.surroundings-lead {
  max-width: 48rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.surroundings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.place-card {
  overflow: hidden;
  min-height: 390px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.place-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.place-card div {
  padding: 24px;
}

.place-card h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.55rem;
}

.place-card p {
  color: var(--muted);
}

.place-card .photo-credit {
  margin-top: 14px;
  font-size: 0.7rem;
}

.place-card-text {
  display: flex;
  align-items: end;
  background: #eef3ea;
}

.place-date {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-note {
  max-width: 44rem;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: 12px;
}

.shot {
  position: relative;
  border: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  cursor: zoom-in;
  background: #cfc6b6;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.shot:hover img {
  transform: scale(1.04);
}

.shot span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.shot-lg {
  grid-row: 1 / span 2;
}

.photos-page .gallery-grid {
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 340px;
}

.photos-page .shot-lg {
  grid-column: 1 / -1;
  grid-row: auto;
  min-height: 460px;
}

.gallery-more {
  margin: 22px 0 0;
}

.gallery-more a {
  color: var(--pine);
  font-weight: 700;
}

.room-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}

.room-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  list-style: none;
}

.num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--clay);
}

.room-list h3 {
  margin-bottom: 6px;
}

.room-list p {
  color: var(--muted);
}

.plot {
  min-height: unset;
}

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

.plot-copy {
  padding: 88px 8vw;
  background: #ffffff;
  color: var(--ink);
}

.plot-copy .kicker {
  color: var(--clay);
}

.plot-copy p {
  color: var(--muted);
}

.checks {
  margin-top: 24px;
}

.checks li {
  list-style: none;
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.checks li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 18px;
}

.snt-lead {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.snt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
}

.snt-grid article {
  background: var(--paper);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--line);
}

.snt-grid h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.snt-grid p {
  color: var(--muted);
  font-size: 0.95rem;
}

.location {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.dist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.dist-grid div {
  background: var(--paper);
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
}

.dist-grid strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
}

.map-wrap {
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.deal {
  background: transparent;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}

.deal-grid article {
  background: var(--paper);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--line);
}

.deal-grid h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.deal-grid p {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: stretch;
}

.contact-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.contact-lead {
  color: var(--muted);
  margin-bottom: 20px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.form-note,
.muted {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.contact-side {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 280px;
}

.contact-side .muted {
  color: var(--muted);
}

.price-lg {
  font-family: var(--serif);
  font-size: 2.6rem;
  margin-bottom: 8px;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 8vw 40px;
  color: var(--muted);
  font-size: 0.9rem;
  background: #ffffff;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(12, 16, 12, 0.92);
  display: grid;
  place-items: center;
  padding: 40px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 78vh;
  max-width: 90vw;
  border-radius: 12px;
}

.lightbox p {
  color: #f7f3eb;
  margin-top: 12px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .phone {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .intro,
  .plot,
  .hero,
  .location,
  .contact,
  .deal-grid,
  .snt-grid,
  .surroundings-grid,
  .room-list,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-rows: none;
  }

  .shot,
  .shot-lg,
  .shot-wide {
    min-height: 220px;
    grid-column: auto;
    grid-row: auto;
  }

  .photos-page .gallery-grid {
    grid-template-columns: 1fr;
  }

  .photos-page .shot-lg {
    min-height: 240px;
  }

  .hero {
    padding: 20px 20px 8px;
  }

  .hero-photo {
    height: auto;
  }
  .intro,
  .gallery,
  .surroundings,
  .rooms,
  .snt,
  .location,
  .deal,
  .contact,
  .plot-copy {
    padding: 48px 20px;
  }

  .header {
    padding: 12px 16px;
  }
}
