:root {
  --forest: #2f4a3a;
  --forest-dark: #1e3127;
  --moss: #6b7f5a;
  --gold: #c9a46a;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --ink: #23271f;
  --muted: #6b6a62;
  --radius: 14px;
  --serif: "EB Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--forest); }
h3 { font-size: 1.5rem; color: var(--forest); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .95rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--moss); margin: 0 0 .6em; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 24px;
  background: rgba(30, 49, 39, .82); backdrop-filter: blur(10px); color: #fff;
}
.brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--gold); }
.links { display: flex; gap: 22px; }
.links a { text-decoration: none; font-size: .92rem; opacity: .85; }
.links a:hover { opacity: 1; color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 99px; padding: 6px 12px; font: 600 .8rem var(--sans); cursor: pointer; }
.lang:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  background: var(--gold); color: var(--forest-dark);
  padding: 14px 26px; border-radius: 99px; border: 2px solid var(--gold);
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); background: #d8b67f; }
.btn-small { padding: 8px 16px; font-size: .9rem; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; color: #fff; text-align: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  /* Fallback until a photo is set in js/config.js */
  background-image:
    linear-gradient(180deg, rgba(20,32,25,.2), rgba(20,32,25,.75)),
    radial-gradient(ellipse at 70% 20%, #8aa37a 0%, transparent 55%),
    linear-gradient(160deg, #47664f 0%, #2f4a3a 45%, #1a2a21 100%);
}
.hero-bg[style]::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,32,25,.25), rgba(20,32,25,.7)); }
.hero-inner { position: relative; z-index: 1; max-width: 760px; padding: 120px 20px 80px; }
.hero .eyebrow { color: var(--gold); }
.lead { font-size: 1.15rem; opacity: .92; margin: 0 auto 2em; max-width: 600px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section.alt { background: var(--cream); }
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }

.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.features li { display: flex; align-items: center; gap: 12px; background: var(--cream); padding: 16px; border-radius: var(--radius); font-weight: 500; }
.ico { font-size: 1.4rem; width: 32px; text-align: center; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.ph { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 0; padding: 0; cursor: zoom-in; background: #ddd; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ph:hover img { transform: scale(1.04); }
.ph-empty { display: grid; place-items: center; font-size: 2rem; cursor: default; background: linear-gradient(135deg, #dfe5d6, #c9d3bd); opacity: .7; }
.gallery > :first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.card { background: var(--cream); border-radius: var(--radius); padding: 28px 24px; border-top: 4px solid var(--moss); }
.card p { margin: 0; color: var(--muted); }

.distances { list-style: none; padding: 0; margin: 0 0 1em; }
.distances li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #ddd5c4; }
.distances b { color: var(--forest); }
.map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); }

.book { background: var(--forest); color: #fff; }
.book h2 { color: #fff; }
.book p { max-width: 560px; margin: 0 auto 2em; opacity: .9; }

.footer { background: var(--forest-dark); color: rgba(255,255,255,.7); text-align: center; padding: 30px 20px; font-size: .9rem; }
.footer p { margin: .3em 0; }
.footer a { color: var(--gold); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,15,12,.92); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border-radius: 8px; }
.lb-close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .links { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .section { padding: 70px 0; }
}
@media (max-width: 560px) {
  .nav { padding: 12px 16px; }
  .brand { font-size: 1.2rem; }
  .features, .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .wrap { padding: 0 16px; }
}

/* ---------- Additions ---------- */
.rating { margin-top: 28px; font-size: .95rem; opacity: .9; }
.stars { color: var(--gold); letter-spacing: 2px; }

.stats { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 1000px; margin: -60px auto 0; position: relative; z-index: 2;
  background: var(--paper); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(20,32,25,.15); padding: 26px 10px; text-align: center; }
.stats div { display: flex; flex-direction: column; border-right: 1px solid #e7e0d0; padding: 0 8px; }
.stats div:last-child { border-right: 0; }
.stats b { font-family: var(--serif); font-size: 2.4rem; color: var(--forest); line-height: 1; }
.stats span { font-size: .85rem; color: var(--muted); margin-top: 6px; }

.two-col { align-items: start; }
.about-img { margin-top: 24px; border-radius: var(--radius); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.feat-title { margin-bottom: 18px; }
.features li { padding: 13px 14px; font-size: .95rem; }
.features + .muted { margin-top: 18px; }

.gallery { grid-template-columns: repeat(4, 1fr); }
.gallery-more { margin-top: 26px; }
.gallery-more a { color: var(--forest); font-weight: 600; }

.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.seasons figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; }
.seasons img { width: 100%; height: 100%; object-fit: cover; }
.seasons figcaption { position: absolute; inset: auto 0 0 0; padding: 50px 18px 18px; color: #fff;
  background: linear-gradient(transparent, rgba(15,25,19,.85)); display: flex; flex-direction: column; }
.seasons figcaption b { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.seasons figcaption span { font-size: .9rem; opacity: .9; }

.book { position: relative; overflow: hidden; }
.book-bg { position: absolute; inset: 0; background: url("../images/sunset-view.jpg") center/cover; opacity: .35; }
.book .wrap { position: relative; }

.lightbox figure { margin: 0; text-align: center; }
.lightbox figcaption { color: rgba(255,255,255,.8); margin-top: 12px; font-size: .95rem; }
.lightbox img { max-height: 82vh; max-width: 88vw; margin: 0 auto; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(5, 1fr); margin: -40px 16px 0; padding: 18px 4px; }
  .stats b { font-size: 1.8rem; }
  .stats span { font-size: .72rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .seasons { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
  .stats div:nth-child(3) { border-right: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
}
@media (max-width: 900px) {
  .gallery > :first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16/9; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
.hero-bg[style]::after { background: linear-gradient(180deg, rgba(20,32,25,.45), rgba(20,32,25,.55) 50%, rgba(20,32,25,.8)); }
.hero h1, .hero .lead { text-shadow: 0 2px 18px rgba(0,0,0,.45); }

/* ---------- WhatsApp ---------- */
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.btn-whatsapp:hover { background: #1ebe5b; }
.btn-whatsapp svg { width: 20px; height: 20px; }
.contact-phone { white-space: nowrap; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .15s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }
