:root {
  --cream: #f7f3ec;
  --sand: #efe7da;
  --ink: #2e2a24;
  --muted: #6f6657;
  --olive: #6b7355;
  --olive-dark: #545c43;
  --plum: #6e4a7c;
  --plum-dark: #553a61;
  --line: #e2d8c7;
  --white: #fffdf9;
  --shadow: 0 8px 30px rgba(46, 42, 36, 0.10);
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--olive-dark); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: .2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.center-text { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logo { height: 44px; width: auto; }
.brand-name { font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--plum); letter-spacing: .3px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--olive); }
.lang { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.lang a { color: var(--muted); text-decoration: none; }
.lang a.on { color: var(--ink); font-weight: 600; }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ---- Hero ---- */
.hero { position: relative; height: min(86vh, 760px); overflow: hidden; }
.hero-img, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 24px; color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.42));
}
.hero-title { font-size: clamp(38px, 6vw, 70px); margin: 0 0 14px; max-width: 14ch; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-sub { font-size: clamp(17px, 2.2vw, 22px); max-width: 44ch; margin: 0; text-shadow: 0 1px 12px rgba(0,0,0,.4); }

/* ---- Sections ---- */
.section { padding: 88px 0; }
.section.alt { background: var(--sand); }
.section-title { font-size: clamp(30px, 4vw, 44px); margin: 0 0 22px; color: var(--plum); }
.card-title { color: var(--plum-dark); }
.lede { color: var(--ink); font-size: 18px; }
.lede p { margin: 0 0 16px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col.reverse .col-img { order: -1; }
.col-img.stack { display: grid; gap: 18px; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }
.col-img.stack img { height: 260px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; text-align: center; }
.stat { padding: 24px 12px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat-num { display: block; font-family: var(--serif); font-size: 40px; color: var(--olive); line-height: 1; }
.stat-label { display: block; color: var(--muted); font-size: 14px; margin-top: 8px; }

.travel { margin-top: 26px; padding: 20px 22px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.travel h3 { margin: 0 0 8px; font-size: 22px; }
.btn {
  display: inline-block; margin-top: 20px; padding: 12px 22px;
  background: var(--olive); color: #fff; text-decoration: none; border-radius: 999px;
  font-size: 15px; font-weight: 500;
}
.btn:hover { background: var(--olive-dark); }

/* ---- Room cards ---- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card-img { height: 220px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px 24px 26px; }
.card-title { font-size: 25px; margin: 0 0 8px; }
.card-text { color: var(--muted); font-size: 16px; }
.card-text p { margin: 0 0 10px; }

.amenities { margin-top: 64px; text-align: center; }
.amenities-title { font-size: 26px; margin: 0 0 20px; }
.amenities-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.amenities-list li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: 15px; }

/* ---- Contact ---- */
.contact-details { list-style: none; padding: 0; margin: 22px 0 0; color: var(--ink); }
.contact-details li { margin-bottom: 6px; }
.contact-form { display: grid; gap: 16px; background: var(--white); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.contact-form input, .contact-form textarea {
  font-family: var(--sans); font-size: 16px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--olive); border-color: transparent; }
.contact-form button { background: var(--olive); color: #fff; border: 0; padding: 13px; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; }
.contact-form button:hover { background: var(--olive-dark); }
.contact-form .hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: 15px; color: var(--olive-dark); min-height: 1em; }

/* ---- Footer ---- */
.footer { background: var(--olive-dark); color: #efe9dd; text-align: center; padding: 34px 0; font-size: 15px; }

/* ---- Login ---- */
.login-body { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: var(--sand); }
.login { background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); width: min(380px, 92vw); display: grid; gap: 14px; }
.login h1 { font-size: 32px; margin: 0; }
.login p { margin: 0; color: var(--muted); }
.login input { padding: 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 16px; }
.login button { background: var(--olive); color: #fff; border: 0; padding: 13px; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; }
.login-err { color: #b3261e; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 18px;
    background: var(--cream); padding: 22px 24px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse .col-img { order: 0; }
  .grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
}

/* ===========================================================
   ADMIN / EDIT MODE
   =========================================================== */
body.is-edit { padding-bottom: 70px; }
body.is-edit [contenteditable] {
  outline: 2px dashed transparent; border-radius: 6px;
  transition: outline-color .15s, background .15s; cursor: text;
}
body.is-edit [contenteditable]:hover { outline-color: var(--olive); background: rgba(107,115,85,.06); }
body.is-edit [contenteditable]:focus { outline: 2px solid var(--olive); background: #fff; }

.img-edit { position: relative; display: block; }
.img-edit img { display: block; width: 100%; height: 100%; object-fit: cover; }
.img-edit-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: rgba(46,42,36,.82); color: #fff; padding: 10px 16px; border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; cursor: pointer;
  opacity: 0; transition: opacity .15s; white-space: nowrap;
}
.img-edit:hover .img-edit-btn { opacity: 1; }
.edit-note { background: #fff; border: 1px dashed var(--olive); border-radius: var(--radius); padding: 20px; color: var(--muted); }

#adminbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--ink); color: #fff; padding: 10px 18px; font-family: var(--sans); font-size: 14px;
}
.ab-title { font-weight: 600; }
.ab-lang { color: #cabfa8; }
.ab-btn {
  background: rgba(255,255,255,.12); color: #fff; border: 0; padding: 8px 14px; border-radius: 8px;
  font-size: 14px; cursor: pointer; text-decoration: none;
}
.ab-btn:hover { background: rgba(255,255,255,.22); }
.ab-btn.primary { background: var(--olive); }
.ab-btn.primary:hover { background: var(--olive-dark); }
#ab-status { margin-left: auto; color: #b9e0a8; }

#msg-panel { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; padding: 24px; }
#msg-panel[hidden] { display: none; }
.msg-inner { background: #fff; border-radius: var(--radius); width: min(640px, 96vw); max-height: 80vh; overflow: auto; padding: 28px; position: relative; }
.msg-inner h3 { margin: 0 0 16px; }
#msg-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--muted); }
.msg-item { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; }
.msg-item .meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.msg-item .from { font-weight: 600; color: var(--ink); }
