:root {
  --brick: #a5462a;
  --brick-deep: #83341d;
  --paper: #f7f2e9;
  --stone: #ece2d1;
  --card: #fffdf8;
  --ink: #2a211a;
  --muted: #7c6a58;
  --olive: #6d7350;
  --line: #ddd0ba;
  --pad: clamp(1.15rem, 5vw, 4.5rem);
  --display: "Alegreya", Georgia, serif;
  --body: "Commissioner", system-ui, sans-serif;
  --radius: 14px;
}

* , *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
}

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

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; }

a { color: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--brick-deep);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand small {
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
}

.site-nav a:hover { color: var(--brick); }

.site-nav a.btn-primary,
.site-nav a.btn-primary:hover { color: #fff; }

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.65em 1.5em;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: var(--brick);
  color: #fff;
}

.btn-primary:hover { background: var(--brick-deep); }

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover { background: var(--ink); color: var(--paper); }

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,33,26,0.15) 0%, rgba(42,33,26,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem var(--pad) 2.8rem;
  max-width: 820px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--stone);
  margin-bottom: 0.6em;
}

.hero-content h1 { color: #fff; }

.hero-sub {
  font-size: 1.15rem;
  max-width: 620px;
  color: #f3ede1;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.hero-actions .btn-outline {
  border-color: #fff;
  color: #fff;
}

.hero-actions .btn-outline:hover {
  background: #fff;
  color: var(--ink);
}

/* Stat row */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: -2.5rem var(--pad) 0;
  position: relative;
  z-index: 2;
}

.stat {
  background: var(--card);
  padding: 1.3rem 1rem;
  text-align: center;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--brick-deep);
}

.stat span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Section */
.section {
  padding: 4.5rem 0;
}

.section-alt { background: var(--stone); }

.section-head { max-width: 680px; margin-bottom: 2.2rem; }

.section-head p { color: var(--muted); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--brick);
  font-weight: 700;
  margin-bottom: 0.5em;
}

/* Cards grid (index page) */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
}

.property-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(42,33,26,0.35);
}

.property-card .photo {
  height: 260px;
  background-size: cover;
  background-position: center;
}

.property-card .body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }

.property-card .tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.tag {
  font-size: 0.75rem;
  background: var(--stone);
  color: var(--olive);
  padding: 0.25em 0.7em;
  border-radius: 999px;
  font-weight: 600;
}

.property-card .price {
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--brick-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.property-card .price .cta {
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brick);
}

/* Room / info cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.info-card .num {
  font-family: var(--display);
  color: var(--brick);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4em;
}

.info-card .chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.chip {
  font-size: 0.78rem;
  border: 1px solid var(--line);
  padding: 0.25em 0.65em;
  border-radius: 999px;
  color: var(--muted);
}

/* Feature list */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem 1.6rem;
}

.feature-list li {
  padding-left: 1.9rem;
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brick);
}

/* Highlight bullet strip */
.highlight-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.highlight-strip .item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.highlight-strip .emoji { font-size: 1.2rem; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 0.8rem;
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery img, .gallery .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery .placeholder {
  background: linear-gradient(135deg, var(--stone), var(--line));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 0.5rem;
}

.gallery figure.wide { grid-column: span 2; }
.gallery figure.tall { grid-row: span 2; }

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem 0.8rem;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.55));
}

/* Pricing box */
.price-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.price-box .amount {
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--brick-deep);
}

.price-box .amount span {
  font-size: 1rem;
  font-family: var(--body);
  color: var(--muted);
  font-weight: 400;
}

.note {
  font-size: 0.88rem;
  color: var(--muted);
  border-left: 3px solid var(--brick);
  padding-left: 0.9rem;
  margin-top: 1rem;
}

/* Rules list */
.rule-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.2rem;
}

.rule-block h3 { color: var(--brick-deep); }

/* Cross link banner */
.crosslink {
  background: var(--brick-deep);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.crosslink h3 { color: #fff; margin-bottom: 0.3em; }
.crosslink p { color: #ecd9cd; margin: 0; }

.crosslink .btn-outline {
  border-color: #fff;
  color: #fff;
}
.crosslink .btn-outline:hover { background: #fff; color: var(--brick-deep); }

/* Contact */
.contact-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.contact-block .info-card b { display: block; color: var(--brick-deep); font-family: var(--display); font-size: 1.1rem; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--stone);
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-footer a { color: var(--stone); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Location / map */
.location-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.6rem;
  align-items: stretch;
}

.map-embed {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius);
  display: block;
}

.location-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.review-card .stars {
  color: #e0a72f;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

@media (max-width: 800px) {
  .location-grid { grid-template-columns: 1fr; }
  .map-embed { min-height: 260px; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 10, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}

.lightbox-caption {
  position: absolute;
  bottom: 1.8rem;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 0.95rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.25); }

.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next, .lightbox-close {
    width: 40px; height: 40px; font-size: 1.3rem;
  }
  .lightbox-close { top: 1rem; right: 1rem; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

/* Responsive */
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery figure.wide { grid-column: span 2; }
}

@media (max-width: 640px) {
  .site-header .container {
    flex-wrap: wrap;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    row-gap: 0.6rem;
  }
  .brand { font-size: 1.1rem; }
  .site-nav {
    gap: 0.9rem;
    font-size: 0.85rem;
    flex-basis: 100%;
    justify-content: space-between;
  }
  .site-nav a:not(.btn) { white-space: nowrap; }
  .site-nav .btn { padding: 0.5em 1em; white-space: nowrap; }
  .stats { margin-top: 1.5rem; grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery figure.wide, .gallery figure.tall { grid-column: span 1; grid-row: span 1; }
  .price-box { flex-direction: column; align-items: flex-start; }
}
