:root {
  --maroon: #7a1f2b; --maroon-d: #5a1520; --maroon-l: #f6ecee;
  --gold: #c9a24a; --gold-l: #f4ead2;
  --cream: #faf6f0; --ink: #1f1a17; --muted: #6b625c; --line: #e8e1d8;
  --ok: #067647; --warn: #b54708; --bad: #b42318;
  --radius: 14px; --shadow: 0 10px 30px rgba(40, 20, 10, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Poppins', system-ui, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 15px; }
img { max-width: 100%; display: block; }
a { color: var(--maroon); }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; margin: 0 0 .5em; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 14px 'Poppins', sans-serif; text-decoration: none; transition: .2s; white-space: nowrap; }
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-d); }
.btn-gold { background: var(--gold); color: #2a1c05; }
.btn-gold:hover { filter: brightness(.95); }
.btn-outline { background: transparent; color: var(--maroon); border: 1.5px solid var(--maroon); }
.btn-outline:hover { background: var(--maroon-l); }
.btn-wa { background: #25d366; color: #06371b; }
.btn-wa:hover { filter: brightness(.95); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 5px; }
input, select, textarea { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  font: 14px 'Poppins', sans-serif; color: var(--ink); transition: border .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--maroon); }
textarea { resize: vertical; min-height: 80px; }
.field { margin-bottom: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 240, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--maroon); }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--maroon); color: var(--gold); display: grid; place-items: center; font: 700 18px 'Playfair Display', serif; }
.brand-name { font: 700 19px 'Playfair Display', serif; line-height: 1.1; }
.brand-name small { display: block; font: 500 10.5px 'Poppins', sans-serif; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 14px; }
.nav-links a:hover { color: var(--maroon); }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--maroon); }

/* hero */
.hero { position: relative; color: #fff; padding: 90px 0 140px;
  background: linear-gradient(120deg, rgba(58, 12, 20, .92), rgba(122, 31, 43, .78)), #3a0c14; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-photo { border-radius: 18px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.4); border: 3px solid rgba(201,162,74,.7); aspect-ratio: 4/4.6; max-height: 460px; justify-self: end; width: 100%; max-width: 380px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-photo { justify-self: stretch; max-width: none; aspect-ratio: 16/10; max-height: 260px; } }
.hero h1 { font-size: clamp(34px, 6vw, 60px); max-width: 760px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p { font-size: 17px; max-width: 560px; opacity: .9; }
.promo { display: inline-block; margin-top: 18px; background: var(--gold); color: #3a0c14; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.hero-badges { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; font-size: 13.5px; opacity: .92; }
.search-card { position: relative; margin-top: -80px; z-index: 5; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px;
  display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 14px; align-items: end; }
.search-card .field { margin: 0; }

/* sections */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.eyebrow { color: var(--gold); font-weight: 600; letter-spacing: 3px; font-size: 12px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); color: var(--maroon); }

/* room cards */
.rooms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 640px) { .rooms-grid { grid-template-columns: 1fr; } }
.room-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s; }
.room-card:hover { transform: translateY(-4px); }
.room-img { aspect-ratio: 4/3; background: var(--maroon-l); position: relative; }
.room-img { overflow: hidden; }
.room-img .slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.room-img .slides::-webkit-scrollbar { display: none; }
.room-img img { width: 100%; min-width: 100%; height: 100%; object-fit: cover; object-position: center 60%; scroll-snap-align: center; cursor: zoom-in; display: block; }
.sl-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: var(--maroon); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.sl-btn.prev { left: 8px; } .sl-btn.next { right: 8px; }
.sl-count { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 2px 9px; border-radius: 999px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; cursor: zoom-in; box-shadow: var(--shadow); transition: transform .2s; }
.gallery-grid img:hover { transform: scale(1.02); }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
#lightbox { position: fixed; inset: 0; background: rgba(10,4,6,.92); z-index: 9999; display: flex; align-items: center; justify-content: center; }
#lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 8px; }
#lightbox button { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; font-size: 30px; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; }
#lightbox .lb-x { top: 16px; right: 16px; } #lightbox .lb-p { left: 12px; top: 50%; } #lightbox .lb-n { right: 12px; top: 50%; }
.room-type { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.95); color: var(--maroon); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.room-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { font-size: 22px; margin-bottom: 4px; }
.room-meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px; }
.chip { font-size: 11.5px; background: var(--cream); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; }
.room-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font: 700 22px 'Poppins', sans-serif; color: var(--maroon); }
.price small { font-size: 12px; color: var(--muted); font-weight: 400; }

/* amenities */
.amen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.amen { background: #fff; border-radius: var(--radius); padding: 22px 16px; text-align: center; border: 1px solid var(--line); }
.amen svg { width: 34px; height: 34px; color: var(--maroon); margin-bottom: 8px; }
.amen b { display: block; font-size: 14px; }

/* about */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.about-art { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stats { display: flex; gap: 30px; margin-top: 24px; flex-wrap: wrap; }
.stats b { display: block; font: 700 30px 'Playfair Display', serif; color: var(--maroon); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-item { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-item .ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; background: var(--maroon-l); color: var(--maroon); display: grid; place-items: center; font-size: 18px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 340px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* footer */
.site-footer { background: #1d0a0e; color: #d9cfc8; padding: 40px 0 26px; font-size: 14px; }
.site-footer a { color: #f1e3c1; text-decoration: none; }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 26px; padding-top: 16px; display: flex; justify-content: space-between; font-size: 12.5px; opacity: .75; flex-wrap: wrap; gap: 10px; }

/* booking page */
.page-hero { background: linear-gradient(120deg, #3a0c14, var(--maroon)); color: #fff; padding: 46px 0 70px; }
.page-hero h1 { font-size: clamp(28px, 5vw, 42px); margin: 0; }
.booking-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; margin-top: -40px; padding-bottom: 70px; align-items: start; }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.panel h2 { font-size: 22px; color: var(--maroon); }
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--maroon); color: #fff; font: 600 13px 'Poppins'; margin-right: 8px; vertical-align: 3px; }
.cat-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.cat-opt { border: 2px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; transition: .2s; position: relative; }
.cat-opt:hover { border-color: var(--gold); }
.cat-opt.active { border-color: var(--maroon); background: var(--maroon-l); }
.cat-opt.soldout { opacity: .5; cursor: not-allowed; }
.cat-opt b { display: block; font-size: 15px; }
.cat-opt .t { font-size: 12.5px; color: var(--muted); }
.cat-opt .p { font-weight: 700; color: var(--maroon); margin-top: 4px; }
.avail { position: absolute; right: 10px; top: 10px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.avail.ok { background: #e3f6ea; color: var(--ok); } .avail.low { background: #fdf0e1; color: var(--warn); } .avail.no { background: #fde8e7; color: var(--bad); }
.summary { position: sticky; top: 90px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.sum-row:last-child { border: 0; }
.sum-total { font-size: 19px; font-weight: 700; color: var(--maroon); border-top: 2px solid var(--maroon); margin-top: 8px; padding-top: 12px; border-bottom: 0; }
.notice { background: var(--gold-l); border-left: 4px solid var(--gold); padding: 12px 14px; border-radius: 8px; font-size: 13.5px; margin-top: 14px; }
.error-box { background: #fde8e7; color: var(--bad); padding: 12px 14px; border-radius: 8px; font-size: 14px; margin-top: 12px; }

/* invoice page */
.success-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; margin: -40px auto 24px; text-align: center; max-width: 820px; }
.success-box .tick { width: 60px; height: 60px; border-radius: 50%; background: #e3f6ea; color: var(--ok); display: grid; place-items: center; font-size: 30px; margin: 0 auto 10px; }
.inv-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0 6px; }

/* misc */
.config-banner { background: #fff4d6; color: #6b4b00; padding: 10px 16px; text-align: center; font-size: 14px; border-bottom: 1px solid #f0d58a; }
.loader { text-align: center; padding: 40px; color: var(--muted); }
#toast-box { position: fixed; right: 16px; bottom: 16px; z-index: 999; display: flex; flex-direction: column; gap: 8px; max-width: calc(100% - 32px); }
.toast { background: #1f1a17; color: #fff; padding: 12px 16px; border-radius: 10px; font-size: 14px; opacity: 0; transform: translateY(10px); transition: .3s; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: none; }
.toast-err { background: var(--bad); } .toast-ok { background: #1f6b43; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.2); z-index: 40; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

@media (max-width: 900px) {
  .search-card { grid-template-columns: 1fr 1fr; }
  .search-card .btn { grid-column: 1 / -1; }
  .about-grid, .contact-grid, .booking-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 70px; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 16px; gap: 14px; border-bottom: 1px solid var(--line); display: none; }
  .nav-links.open { display: flex; }
  .grid-2, .grid-3, .cat-options { grid-template-columns: 1fr; }
  .search-card { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 60px 0 120px; }
}
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
.nav-links a.btn-wa { color: #06371b; }
.price { white-space: nowrap; font-size: 20px; }
