:root {
  --bg: #08090b;
  --bg-2: #0e0f12;
  --card: #131418;
  --card-2: #1a1c21;
  --line: #24262c;
  --line-2: #33363e;
  --text: #f4f5f7;
  --muted: #9096a1;
  --dim: #6b717c;
  --brand: #ff6a1a;
  --brand-2: #ffb020;
  --brand-soft: rgba(255, 106, 26, 0.14);
  --ok: #2ecc71;
  --danger: #ff4d4f;
  --radius: 16px;
  --radius-sm: 12px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 400px at 50% -10%, rgba(255, 106, 26, 0.16), transparent 70%),
    radial-gradient(500px 300px at 100% 10%, rgba(255, 176, 32, 0.07), transparent 70%);
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select { font: inherit; }

.wrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(8, 9, 11, 0.82);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 14px;
}
.header-logo { height: 38px; width: auto; }
.header-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.header-nav a {
  padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 500;
}
.header-nav a:hover { color: var(--text); background: var(--card); }
.call-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 14px;
  padding: 9px 16px; border-radius: 999px; border: 0;
  box-shadow: 0 6px 22px rgba(255, 106, 26, 0.32);
}
.call-btn:hover { filter: brightness(1.08); }

/* ---------------- hero ---------------- */
.hero { text-align: center; padding: 34px 0 8px; }
.hero-logo { width: min(430px, 82vw); height: auto; filter: drop-shadow(0 12px 40px rgba(255,106,26,0.25)); }
.hero-sub { color: var(--muted); margin: 6px 0 16px; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--line); color: var(--muted);
  padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 500;
}
.chip.live { color: var(--ok); border-color: rgba(46,204,113,0.28); background: rgba(46,204,113,0.08); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------------- sections ---------------- */
section { padding: 40px 0; position: relative; z-index: 1; }
.section-head { margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: 24px; letter-spacing: -0.02em; }
.section-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.eyebrow {
  color: var(--brand); font-size: 12px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 6px;
}

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

/* ---------------- booking ---------------- */
.booking-card { padding: 0; overflow: hidden; }
.booking-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.booking-head h2 { margin: 0; font-size: 18px; }
.booking-head span { color: var(--dim); font-size: 13px; }

.date-strip { display: flex; align-items: center; gap: 8px; padding: 14px 12px; }
.date-scroll {
  display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth;
  flex: 1; padding: 2px; scrollbar-width: none;
}
.date-scroll::-webkit-scrollbar { display: none; }
.date-btn {
  flex: 0 0 auto; min-width: 74px; padding: 10px 8px; border-radius: 14px;
  background: transparent; border: 1px solid transparent; color: var(--muted);
  text-align: center; line-height: 1.25;
}
.date-btn b { display: block; font-size: 15px; color: var(--text); font-weight: 700; }
.date-btn small { font-size: 12px; }
.date-btn:hover { background: var(--card-2); }
.date-btn.active { background: var(--card-2); border-color: var(--line-2); color: var(--text); }
.date-btn.active b { color: var(--brand); }
.arrow {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: var(--card-2); border: 1px solid var(--line); color: var(--muted);
  display: grid; place-items: center;
}
.arrow:hover { color: var(--text); border-color: var(--line-2); }

.offer-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; padding: 0 16px 14px; }
.offer-pill {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px;
  background: linear-gradient(180deg, rgba(255,106,26,0.06), transparent);
}
.offer-ico {
  width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 16px;
}
.offer-pill b { display: block; font-size: 15px; }
.offer-pill small { color: var(--muted); font-size: 12.5px; }

.band-tabs {
  display: flex; gap: 6px; padding: 4px; margin: 0 16px 4px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px;
  overflow-x: auto; scrollbar-width: none;
}
.band-tabs::-webkit-scrollbar { display: none; }
.band-tab {
  flex: 1 0 auto; padding: 9px 14px; border-radius: 999px; border: 0;
  background: transparent; color: var(--muted); font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px; justify-content: center; white-space: nowrap;
}
.band-tab small { font-weight: 500; font-size: 11.5px; color: var(--dim); }
.band-tab.active { background: var(--card-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.band-tab.active small { color: var(--brand); }

.slot-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 8px; padding: 14px 16px 16px;
}
.slot {
  border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2);
  padding: 10px 8px; text-align: center; color: var(--text); transition: all 0.12s ease;
}
.slot b { display: block; font-size: 13.5px; font-weight: 700; }
.slot small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.slot:hover:not(:disabled) { border-color: var(--brand); transform: translateY(-1px); }
.slot.selected {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 6px 18px rgba(255,106,26,0.32);
}
.slot.selected small { color: rgba(255,255,255,0.86); }
.slot:disabled {
  opacity: 0.42; cursor: not-allowed;
  background: repeating-linear-gradient(-45deg, #101114, #101114 6px, #16171b 6px, #16171b 12px);
  color: var(--dim);
}
.slot:disabled small { color: var(--dim); }

.legend { display: flex; gap: 14px; flex-wrap: wrap; padding: 0 16px 16px; color: var(--dim); font-size: 12px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 6px; vertical-align: -1px; }

.summary-bar {
  position: sticky; bottom: 0;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 18px; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19,20,24,0.92), var(--card));
  backdrop-filter: blur(8px);
}
.summary-bar .price { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.summary-bar .strike { color: var(--dim); text-decoration: line-through; font-size: 14px; font-weight: 500; margin-left: 8px; }
.summary-bar small { display: block; color: var(--muted); font-size: 13px; }
.summary-bar .save { color: var(--ok); font-size: 12.5px; font-weight: 600; }
.btn-primary {
  margin-left: auto; background: var(--brand); color: #fff; border: 0;
  padding: 13px 26px; border-radius: 999px; font-weight: 800; font-size: 15px;
  display: inline-flex; align-items: center; gap: 9px;
  box-shadow: 0 8px 26px rgba(255,106,26,0.34);
}
.btn-primary:disabled { opacity: 0.4; box-shadow: none; cursor: not-allowed; }
.btn-ghost {
  background: var(--card-2); border: 1px solid var(--line); color: var(--text);
  padding: 12px 20px; border-radius: 999px; font-weight: 600;
}

/* ---------------- address / contact ---------------- */
.info-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; }
.info-card h3 { margin: 0 0 6px; font-size: 17px; }
.info-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.info-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.action {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card-2); border: 1px solid var(--line); color: var(--text);
  padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
}
.action:hover { border-color: var(--line-2); background: #202329; }
.action.brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.action.wa { background: #25d366; border-color: #25d366; color: #06281a; }

/* ---------------- gallery ---------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.gallery img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gallery figcaption { padding: 10px 14px; color: var(--muted); font-size: 13px; }

/* ---------------- about ---------------- */
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.amenity { display: flex; gap: 11px; align-items: flex-start; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.amenity span { font-size: 18px; }
.amenity b { display: block; font-size: 14px; }
.amenity small { color: var(--dim); font-size: 12px; }
.spec-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 14px; }
.spec { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; }
.spec small { display: block; color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.spec b { font-size: 15px; }

/* ---------------- footer ---------------- */
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--dim); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------------- modal / checkout ---------------- */
.overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(4, 5, 7, 0.72);
  backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center;
  padding: 0; animation: fade 0.15s ease;
}
@media (min-width: 700px) { .overlay { align-items: center; padding: 24px; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.sheet {
  width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 22px 22px 0 0; padding: 20px;
  animation: rise 0.22s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@media (min-width: 700px) { .sheet { border-radius: 22px; } }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.sheet-head h3 { margin: 0; font-size: 19px; }
.sheet-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.x { background: var(--card-2); border: 1px solid var(--line); color: var(--muted); width: 32px; height: 32px; border-radius: 50%; }

.field { margin-bottom: 13px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.input, .select {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--text); outline: none;
}
.input:focus, .select:focus { border-color: var(--brand); }
.input-row { display: flex; gap: 8px; }
.input-row .input { flex: 1; }
.prefix {
  display: grid; place-items: center; padding: 0 13px; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); font-size: 14px;
}
.otp-input { letter-spacing: 0.5em; text-align: center; font-size: 20px; font-weight: 700; }

.consent {
  display: flex; gap: 11px; align-items: flex-start; margin: 14px 0 6px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--brand); flex: 0 0 auto; }
.consent b { display: block; font-size: 13.5px; }
.consent small { color: var(--dim); font-size: 12px; line-height: 1.45; }

.recap { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 16px; }
.recap-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 3px 0; }
.recap-row span { color: var(--muted); }
.recap-row.total { border-top: 1px dashed var(--line-2); margin-top: 8px; padding-top: 10px; font-weight: 800; font-size: 16px; }
.recap-row.save { color: var(--ok); }

.btn-block { width: 100%; justify-content: center; margin-left: 0; }
.link-btn { background: none; border: 0; color: var(--brand); font-size: 13px; font-weight: 600; padding: 0; }
.err { color: var(--danger); font-size: 13px; margin: 8px 0 0; }
.note { color: var(--dim); font-size: 12px; margin-top: 10px; line-height: 1.5; text-align: center; }
.hintbox {
  background: rgba(255,176,32,0.08); border: 1px solid rgba(255,176,32,0.25);
  color: var(--brand-2); font-size: 12.5px; border-radius: 10px; padding: 9px 12px; margin-bottom: 12px;
}

.tick {
  width: 66px; height: 66px; border-radius: 50%; margin: 4px auto 14px;
  background: rgba(46,204,113,0.12); border: 2px solid var(--ok); color: var(--ok);
  display: grid; place-items: center; font-size: 32px;
  animation: pop 0.3s cubic-bezier(0.2, 1.4, 0.4, 1);
}
@keyframes pop { from { transform: scale(0.5); opacity: 0; } to { transform: none; opacity: 1; } }
.code-box {
  text-align: center; background: var(--bg-2); border: 1px dashed var(--line-2);
  border-radius: 12px; padding: 12px; margin: 12px 0;
}
.code-box b { font-size: 22px; letter-spacing: 0.08em; }
.code-box small { display: block; color: var(--dim); font-size: 12px; }

.pay-methods { display: grid; gap: 8px; margin-bottom: 14px; }
.pay-method {
  display: flex; align-items: center; gap: 11px; text-align: left;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--text);
}
.pay-method.active { border-color: var(--brand); background: var(--brand-soft); }
.pay-method span { font-size: 18px; }
.pay-method b { font-size: 14px; display: block; }
.pay-method small { color: var(--dim); font-size: 12px; }

.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff;
  animation: spin 0.7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- admin ---------------- */
.admin-shell { max-width: 1080px; margin: 0 auto; padding: 20px 16px 60px; position: relative; z-index: 1; }
.admin-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-top h1 { font-size: 20px; margin: 0; }
.badge { background: var(--card-2); border: 1px solid var(--line); color: var(--muted); font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tab { background: none; border: 0; color: var(--muted); padding: 11px 14px; font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; white-space: nowrap; }
.tab.active { color: var(--text); border-bottom-color: var(--brand); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.stat small { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; }
.stat b { display: block; font-size: 22px; margin-top: 4px; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.tag { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.tag.paid { color: var(--ok); border-color: rgba(46,204,113,0.35); background: rgba(46,204,113,0.1); }
.tag.pending { color: var(--brand-2); border-color: rgba(255,176,32,0.3); background: rgba(255,176,32,0.08); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.price-grid { display: grid; grid-template-columns: 1fr 110px 110px; gap: 8px; align-items: center; }
.price-grid > div { font-size: 14px; }
.price-grid input { width: 100%; }
.scroll-x { overflow-x: auto; }

@media (max-width: 780px) {
  .info-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 190px; }
  .header-nav a { display: none; }
  .hero { padding-top: 22px; }
  section { padding: 30px 0; }
  .slot-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
}

/* ---------------- checkout sheet: always on top + mobile ---------------- */
/* The sheet is attached to <body> and sits above every page layer
   (header 40, sections 1). Cashfree's own payment modal still opens above it. */
.overlay { z-index: 1000; isolation: isolate; }
html.sheet-open, html.sheet-open body { overflow: hidden; }
html.sheet-open body { position: fixed; left: 0; right: 0; width: 100%; }
.sheet {
  max-height: 92vh; max-height: 92dvh;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
/* main button stays reachable at the bottom of the sheet while the form scrolls */
.sheet-cta {
  position: sticky; z-index: 6;
  bottom: calc(-20px - env(safe-area-inset-bottom));
  margin: 14px -20px calc(-20px - env(safe-area-inset-bottom));
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(19, 20, 24, 0), var(--card) 26%);
}
.sheet-cta + .note { margin-top: 30px; }
@media (max-width: 699px) {
  .sheet { padding-left: 16px; padding-right: 16px; }
  .sheet-cta { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  /* 16px+ inputs stop iPhone Safari from zooming in when a field is tapped */
  .sheet .input, .sheet .select { font-size: 16px; }
  .sheet .btn-primary { padding: 15px 22px; font-size: 16px; }
  .pay-method { padding: 13px 14px; }
}
