:root {
  --ink: #141814;
  --estate: #1e2a24;
  --paper: #f4f5f2;
  --stone: #e4e2db;
  --brass: #b89a6a;
  --brass-hover: #c9ad7e;
  --muted: #5b6660;
  --line: #e5e7eb;
  --card: #ffffff;
  --max: 72rem;
  --radius: 0.75rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--estate); }
a:hover { color: var(--brass); }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.eyebrow {
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--brass);
}
h1, h2, h3, .display {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); margin: 0.2em 0 0.4em; }
h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
p { color: var(--muted); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--estate) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 0;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 6rem; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center;
  text-decoration: none; color: #fff;
}
.brand img { height: 5rem; width: auto; }
.brand-text {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.35rem; color: #fff; text-decoration: none;
}
.brand-text span { color: var(--brass); }
.nav-links { display: flex; gap: 0.35rem; align-items: center; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; color: #d1d5db; font-weight: 500; font-size: 0.875rem;
  padding: 0.5rem 0.75rem; border-radius: 0.375rem;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: #fff; background: rgba(255,255,255,0.1);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brass); color: var(--ink) !important; text-decoration: none;
  border: 0; border-radius: 0.25rem; padding: 0.65rem 1.1rem;
  font-weight: 600; cursor: pointer; font-family: inherit; font-size: 0.9rem;
}
.btn:hover { background: var(--brass-hover); }
.btn.ghost {
  background: transparent; color: #fff !important;
  border: 1px solid rgba(255,255,255,0.25);
}
.menu {
  background: transparent; color: #fff !important;
  border: 1px solid rgba(255,255,255,0.25);
}

.hero { padding: 3.2rem 0 2rem; }
.hero-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  align-items: end;
}
.slideshow {
  position: relative;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.slideshow-stage {
  width: 100%; height: 100%;
  display: grid; place-items: center;
}
.slideshow-stage img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto; object-fit: contain;
}
.slideshow-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: color-mix(in srgb, #fff 88%, transparent);
  border: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  font-size: 1.3rem; cursor: pointer; color: var(--ink);
}
.slideshow-nav.prev { left: 0.7rem; }
.slideshow-nav.next { right: 0.7rem; }
.slideshow-count {
  position: absolute; right: 0.8rem; bottom: 0.7rem;
  background: color-mix(in srgb, #000 55%, transparent);
  color: #fff; font-size: 0.8rem; padding: 0.25rem 0.55rem; border-radius: 999px;
}
.slideshow-thumbs {
  display: flex; gap: 0.35rem; overflow-x: auto; margin-top: 0.6rem;
  padding-bottom: 0.2rem;
}
.slideshow-thumbs button {
  flex: 0 0 4.2rem; height: 3.1rem; padding: 0; border: 2px solid transparent;
  background: var(--ink); border-radius: 0.35rem; cursor: pointer; overflow: hidden;
}
.slideshow-thumbs button.active { border-color: var(--brass); }
.slideshow-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.mode-switch {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 1.4rem 0 1.2rem;
}
.mode {
  border: 1px solid var(--line); background: #fff; border-radius: 0.75rem;
  padding: 1rem; text-align: left; cursor: pointer; font-family: inherit;
}
.mode strong {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.15rem; color: var(--ink);
}
.mode.active {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 28%, transparent);
}
.cta-row { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.split article { padding: 2.4rem 8%; }
.split article:first-child { background: var(--estate); color: #e8ebe8; }
.split article:first-child p, .split article:first-child li {
  color: color-mix(in srgb, #e8ebe8 82%, #fff);
}
.split article:first-child .eyebrow { color: var(--brass); }
.split ul { padding-left: 1.1rem; }

.section { padding: 3.5rem 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem;
}
.card h3 { margin: 0.3rem 0 0.5rem; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.fact { background: var(--stone); border-radius: 0.75rem; padding: 1rem; }
.fact b {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.5rem; display: block; color: var(--ink);
}

.blog-list { display: grid; gap: 0.8rem; }
.blog-list a {
  display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; align-items: center;
  text-decoration: none; color: inherit; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1rem;
}
.blog-list small { color: var(--brass); font-weight: 700; }

.prose { max-width: 42rem; }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); }
.prose p, .prose li { color: var(--muted); }
.meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.4rem; }

.widget-slot {
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0;
  overflow: hidden;
}
.widget-slot.hospitable-widget-live { border-style: solid; background: transparent; }
.widget-slot iframe,
#hospitable-booking-iframe {
  display: block;
  width: 100%;
  min-height: 560px;
  height: 640px;
  border: 0;
  background: #fff;
}
.widget-fallback { margin: 0.75rem 0 0; font-size: 0.9rem; }
.inquiry { display: grid; gap: 0.7rem; margin-top: 1.2rem; }
.inquiry label {
  display: grid; gap: 0.35rem;
  font-size: 0.875rem; font-weight: 600; color: var(--ink);
}
.inquiry input, .inquiry select, .inquiry textarea {
  width: 100%; padding: 0.65rem 0.85rem; border-radius: 0.375rem;
  border: 1px solid #d1d5db; font: inherit; font-weight: 400;
  background: #fff; color: #1e293b;
}
.inquiry input:focus, .inquiry select:focus, .inquiry textarea:focus {
  outline: 2px solid var(--estate); outline-offset: 1px;
}

/* Airbnb-style listing aligned to Hostinger Horizons theme */
.listing { padding: 2rem 0 3rem; }
.listing-head h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
}
.listing-meta {
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.55rem;
  color: #475569; font-size: 0.95rem; margin: 0.6rem 0 0;
  align-items: center;
}
.listing-meta a { color: var(--estate); font-weight: 500; text-underline-offset: 4px; }
.listing-meta .dot { color: #cbd5e1; }

.photo-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
  background: var(--ink);
}
.photo-mosaic button {
  margin: 0; padding: 0; border: 0; background: var(--ink);
  cursor: pointer; position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.photo-mosaic img {
  width: 100%; height: 100%; object-fit: contain;
  display: block; padding: 0.75rem; transition: transform 0.45s ease;
}
.photo-mosaic button:hover img { transform: scale(1.02); }
.photo-mosaic-main {
  grid-column: 1; grid-row: 1 / span 2;
}
.photo-mosaic-main img { object-fit: contain; padding: 1rem 1.1rem; max-height: 380px; }
.photo-mosaic-more span {
  position: absolute; right: 0.75rem; bottom: 0.75rem;
  background: #fff; color: #0f172a; font-weight: 600; font-size: 0.82rem;
  padding: 0.4rem 0.7rem; border-radius: 0.375rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.listing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 2.5rem 4rem;
  align-items: start;
  padding-top: 2.5rem;
}
.listing-block {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.listing-block:first-child { padding-top: 0; }
.listing-block:last-child { border-bottom: 0; }
.listing-block h2 {
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 1rem;
}
.listing-summary h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.listing-summary .sub {
  margin: 0.5rem 0 0; color: #475569;
}
.amenity-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.amenity-grid li {
  display: flex; align-items: center; gap: 0.75rem;
  color: #1e293b;
}
.amenity-grid li::before {
  content: "";
  width: 0.45rem; height: 0.45rem; border-radius: 50%;
  background: var(--estate); flex: 0 0 auto;
}
.faq dt { font-weight: 600; color: #0f172a; margin: 1rem 0 0.3rem; }
.faq dd { margin: 0; color: #475569; }
.listing-subhead {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.1rem 0 0.5rem;
  color: #0f172a;
}
.space-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.65rem;
  color: #475569;
}
.listing-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #64748b;
}
.facts-inline { margin: 0; }

.listing-book { position: sticky; top: 7rem; }
.booking-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}
.booking-panel-head h2 {
  margin: 0 0 0.25rem;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: #0f172a;
}
.booking-panel-head p { margin: 0 0 1rem; font-size: 0.875rem; color: #475569; }
.booking-panel-note { margin: 0.8rem 0 0; font-size: 0.8rem; text-align: center; color: #64748b; }
.booking-divider {
  margin: 1.25rem 0 1rem;
  border: 0; border-top: 1px solid var(--line);
}
.booking-panel .inquiry { margin-top: 0; }
.booking-panel .btn { width: 100%; }

.gallery-modal {
  position: fixed; inset: 0; z-index: 60;
  background: color-mix(in srgb, #0d1210 72%, transparent);
  display: grid; place-items: center;
  padding: 1rem;
}
.gallery-modal[hidden] { display: none; }
.gallery-modal-dialog {
  width: min(960px, 100%);
  max-height: 90vh; overflow: auto;
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 1rem;
  position: relative;
}
.gallery-modal-close {
  position: absolute; top: 0.6rem; right: 0.7rem; z-index: 2;
  border: 0; background: #fff; width: 2.2rem; height: 2.2rem;
  border-radius: 999px; font-size: 1.3rem; cursor: pointer;
}

footer {
  background: var(--ink); color: #d1d5db; padding: 2.2rem 0 2.8rem; margin-top: 2rem;
}
footer a { color: var(--brass); }
.foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .listing-grid { grid-template-columns: 1fr; }
  .listing-book { position: static; }
  .photo-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }
  .photo-mosaic-main {
    grid-column: 1 / -1; grid-row: auto;
    min-height: 240px;
  }
}
@media (max-width: 860px) {
  .hero-grid, .split, .cards, .facts, .blog-list a, .amenity-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--estate); padding: 1rem 1.25rem 1.2rem;
  }
  .menu { display: inline-flex; }
}
@media (min-width: 861px) { .menu { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo-mosaic img { transition: none; }
}
