:root {
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --charcoal: #1A1A1A;
  --grey-light: #F0F0F0;
  --grey-mid: #888888;
  --grey-border: #E0E0E0;
  --white: #FFFFFF;
  --bg: #FAFAFA;
  --sale: #E53E3E;
  --go: #5CB85C;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}
h1, h2, h3 { font-family: var(--font-heading); margin: 0; }
button { font-family: inherit; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

/* Gate */
#gate {
  position: fixed; inset: 0; background: var(--charcoal);
  display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 50;
}
.gate-card {
  max-width: 420px; width: 100%; background: var(--white); border-radius: 16px;
  padding: 44px 36px; text-align: center; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.5);
}
.gate-logo { font-family: var(--font-heading); font-size: 28px; font-weight: 700; letter-spacing: .02em; }
.gate-card p { color: var(--grey-mid); font-size: 13.5px; margin: 0; }
.gate-note {
  display: flex; gap: 9px; text-align: left; background: var(--grey-light); border-radius: 10px;
  padding: 12px 14px; font-size: 12.5px; font-weight: 600; line-height: 1.45; color: #444;
}
.gate-note svg { flex-shrink: 0; width: 17px; height: 17px; margin-top: 1px; }
.gate-foot { font-size: 11.5px; color: var(--grey-mid); line-height: 1.5; }

.btn-primary, .nextButton {
  background: var(--charcoal); color: #fff; border: 2px solid var(--charcoal); border-radius: 10px;
  padding: 13px 24px; font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .5px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary:hover, .nextButton:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 20px -4px rgba(0,0,0,.3); }
.nextButton:disabled { background: #d0d0d0; border-color: #d0d0d0; cursor: not-allowed; }

/* Top nav */
#app { display: none; }
#app.active { display: block; }
.topnav {
  background: var(--white); border-bottom: 1px solid var(--grey-border);
  padding: 16px 28px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 10;
}
.topnav .logo { font-family: var(--font-heading); font-size: 22px; font-weight: 700; cursor: pointer; }
.topnav .links { display: flex; gap: 26px; align-items: center; }
.topnav .links a:not(.btn-primary) { color: var(--charcoal); text-decoration: none; font-size: 13.5px; font-weight: 500; }
.topnav .links a.muted { color: var(--grey-mid); pointer-events: none; }
.topnav .links a.btn-primary { text-decoration: none; }
.cart-pill {
  display: flex; align-items: center; gap: 6px; background: var(--charcoal); color: #fff;
  border-radius: 100px; padding: 7px 14px; font-size: 12.5px; font-weight: 700; border: none;
}
.demo-banner {
  background: var(--charcoal); color: #fff; text-align: center; font-size: 12px; font-weight: 600;
  padding: 7px; letter-spacing: .02em;
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 36px 24px 70px; }
.page-head { text-align: center; margin-bottom: 32px; }
.page-head h1 { font-size: 2.1rem; margin-bottom: 8px; }
.page-head p { color: var(--grey-mid); font-size: 14.5px; }

/* Service grid */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border-radius: 10px; overflow: hidden; position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,.08); transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.sale-banner {
  position: absolute; top: 40px; left: -42px; transform: rotate(-45deg); background: var(--sale);
  color: #fff; padding: 4px 48px; font-size: .8rem; font-weight: 700; z-index: 1;
  box-shadow: 0 2px 5px rgba(0,0,0,.2);
}
.addon-badge {
  position: absolute; top: 10px; right: 10px; background: var(--charcoal); color: #fff;
  padding: 4px 11px; border-radius: 20px; font-size: .68rem; font-weight: 700; z-index: 2;
}
.card-img {
  height: 160px; background: var(--grey-light); display: grid; place-items: center; color: #b7b7b7;
}
.card-img svg { width: 56px; height: 56px; opacity: .6; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.15rem; }
.card-meta { display: flex; justify-content: space-between; align-items: center; font-size: .88rem; color: #555; }
.price-row { display: flex; align-items: baseline; gap: 8px; }
.sale-price { font-weight: 700; font-size: 1.05rem; }
.og-price { text-decoration: line-through; color: var(--grey-mid); font-size: .85rem; }
.price { font-weight: 500; }
.card-actions { display: flex; gap: 8px; margin-top: auto; }
.btn-outline, .btn-book {
  flex: 1; padding: 10px; border-radius: 6px; font-weight: 700; font-size: .85rem; border: 2px solid var(--charcoal);
  transition: background .15s ease;
}
.btn-outline { background: #fff; color: var(--charcoal); }
.btn-outline:hover { background: #f5f5f5; }
.btn-book { background: var(--charcoal); color: #fff; }
.btn-book:hover { opacity: .9; }
.btn-incart { flex: 1; padding: 10px; border-radius: 6px; font-weight: 700; font-size: .85rem; border: none; background: var(--go); color: #fff; }

/* Booking panel */
.booking-panel {
  max-width: 1100px; margin: 30px auto 0; background: var(--white); border-radius: 12px;
  padding: 28px; box-shadow: 0 8px 30px rgba(0,0,0,.1);
}
.progress { display: flex; gap: 8px; margin-bottom: 30px; }
.progress-step { flex: 1; text-align: center; padding-bottom: 10px; border-bottom: 3px solid var(--grey-light); color: var(--grey-mid); font-size: .88rem; }
.progress-step.active { border-color: var(--charcoal); color: var(--charcoal); font-weight: 700; }
.step-title { text-align: center; font-size: 1.6rem; margin-bottom: 26px; }

.dt-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cal-box { border: 1px solid var(--grey-border); border-radius: 12px; padding: 18px; }
.cal-head { font-weight: 700; text-align: center; margin-bottom: 14px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: .85rem; }
.cal-grid .dow { color: var(--grey-mid); font-weight: 700; font-size: .72rem; text-transform: uppercase; padding-bottom: 6px; }
.cal-day { padding: 9px 0; border-radius: 7px; cursor: pointer; }
.cal-day:hover { background: #f5f5f5; }
.cal-day.selected { background: var(--charcoal); color: #fff; font-weight: 700; }
.cal-day.disabled { color: #d8d8d8; cursor: not-allowed; }
.slots-title { font-weight: 700; text-align: center; margin-bottom: 12px; }
.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; border: 1px solid var(--grey-border); border-radius: 12px; padding: 10px; }
.slot { padding: 10px; border: 1px solid var(--grey-border); border-radius: 8px; text-align: center; font-size: .85rem; font-weight: 500; }
.slot:not(.disabled) { cursor: pointer; }
.slot:not(.disabled):hover { border-color: var(--charcoal); background: #f9f9f9; }
.slot.selected { background: var(--charcoal); color: #fff; border-color: var(--charcoal); font-weight: 700; }
.slot.disabled { background: #f0f0f0; color: #ccc; text-decoration: line-through; cursor: not-allowed; }

.summary-card { border: 2px solid var(--charcoal); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.summary-card h3 { font-size: 1.25rem; margin-bottom: 14px; }
.summary-line { padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: .95rem; }
.summary-line:last-child { border-bottom: none; }
.deposit-box { margin-top: 14px; padding: 14px; background: #f9f9f9; border: 1px solid #eee; border-radius: 8px; font-size: 1.05rem; }

.form-grid { display: flex; flex-direction: column; gap: 14px; }
.form-grid input, .form-grid select {
  padding: 13px 15px; border: 2px solid var(--grey-border); border-radius: 10px; font-size: .95rem; font-family: inherit;
}
.form-grid input:focus, .form-grid select:focus { outline: none; border-color: var(--charcoal); }
.btn-row { display: flex; gap: 12px; margin-top: 8px; }
.btn-back {
  flex: 1; background: #fff; color: var(--charcoal); border: 2px solid var(--charcoal); border-radius: 10px;
  padding: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}
.btn-row .nextButton { flex: 1.4; }

.confirm-box { text-align: center; padding: 30px 10px; }
.checkmark { font-size: 4.5rem; display: block; margin-bottom: 16px; animation: pop .5s ease; }
@keyframes pop { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }
.confirm-box p { color: #666; font-size: 1.05rem; margin: 10px 0 26px; }

/* Policy modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); display: none;
  align-items: center; justify-content: center; z-index: 60; padding: 20px;
}
.modal-backdrop.active { display: flex; }
.modal {
  background: #fff; border-radius: 14px; padding: 28px; max-width: 420px; width: 100%;
  display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.4);
}
.modal h3 { font-size: 1.3rem; }

@media (max-width: 860px) {
  .topnav .links { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .dt-layout { grid-template-columns: 1fr; }
  .wrap { padding: 24px 16px 50px; }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .slots-grid { grid-template-columns: repeat(2, 1fr); }
}
