:root {
  --ink: #1b2328;
  --muted: #5a656c;
  --paper: #f3efe7;
  --card: #fffcf8;
  --line: #e0d8cc;
  --teal: #0d5c63;
  --teal-dark: #09484e;
  --sand: #c4b49a;
  --shadow: 0 18px 40px rgba(27, 35, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 4.25rem;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  padding-bottom: 5.5rem;
}

h1,
h2,
h3,
.price,
.brand-mark {
  font-family: Fraunces, Georgia, serif;
}

a {
  color: var(--teal);
}

.container.is-narrow {
  max-width: 1080px;
}

/* Top bar */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 239, 231, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}

.brand-mark {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-mark span {
  color: var(--muted);
  font-weight: 400;
}

.button.is-call {
  background: var(--teal);
  border: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-left: 1.25em;
  padding-right: 1.25em;
}

.button.is-call:hover,
.button.is-call:focus {
  background: var(--teal-dark);
  color: #fff;
}

/* Hero */
.hero-listing {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

.hero-listing__image {
  display: block;
  width: 100%;
  height: min(72vh, 640px);
  object-fit: cover;
  opacity: 0.88;
}

.hero-listing__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 4.5rem 0 1.75rem;
  background: linear-gradient(to top, rgba(15, 22, 26, 0.92) 10%, rgba(15, 22, 26, 0));
  color: #f7f3ec;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--sand);
  margin-bottom: 0.35rem;
}

.hero-listing h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 560;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.price {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.price small {
  display: block;
  margin-top: 0.2rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--sand);
}

/* Specs */
.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: -1.75rem;
  position: relative;
  z-index: 2;
}

.spec-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.spec-card .label {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}

.spec-card .value {
  font-size: 1.15rem;
  font-weight: 700;
}

/* Features */
.section-title {
  font-size: 1.85rem;
  font-weight: 560;
  margin-bottom: 0.35rem;
}

.section-lead {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 38rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.05rem 1.15rem 1.15rem;
}

.feature__icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(13, 92, 99, 0.1);
  color: var(--teal);
  margin-bottom: 0.7rem;
}

.feature h3 {
  font-size: 1.12rem;
  margin-bottom: 0.25rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Copy */
.description {
  font-size: 1.12rem;
  line-height: 1.7;
}

.description p + p {
  margin-top: 1rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.gallery-grid button {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
  display: block;
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-grid button:hover img,
.gallery-grid button:focus img {
  transform: scale(1.04);
}

.gallery-grid button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* Contact */
.contact-panel {
  background: var(--ink);
  color: #f7f3ec;
  border-radius: 20px;
  padding: 2rem 1.4rem;
}

.contact-panel h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-panel p {
  color: #c9c0b2;
}

.contact-panel .button.is-call {
  margin-top: 1rem;
}

.contact-phone {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.8rem;
  color: #fff;
  margin: 0.4rem 0 0;
}

/* Footer */
.site-footer {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 2rem 0 1rem;
}

/* Mobile call bar */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(27, 35, 40, 0.08);
}

.mobile-cta .price-mini {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.mobile-cta .button {
  margin-bottom: 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(12, 16, 18, 0.92);
  padding: 1rem;
}

.lightbox.is-open,
.lightbox.is-open[hidden] {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
}

.lightbox__nav.is-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav.is-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__caption {
  position: absolute;
  bottom: 1.1rem;
  left: 0;
  right: 0;
  text-align: center;
  color: #ddd4c6;
}

body.lightbox-open {
  overflow: hidden;
}

@media screen and (min-width: 769px) {
  body {
    padding-bottom: 0;
  }

  .mobile-cta {
    display: none;
  }

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

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

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

  .gallery-grid img {
    height: 210px;
  }

  .contact-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.4rem 2.5rem;
  }

  .hero-listing__overlay {
    padding-bottom: 2.4rem;
  }
}
