:root {
  --paper: #f3eee6;
  --paper-2: #faf7f2;
  --ink: #1c1916;
  --muted: #6d675e;
  --line: rgba(28, 25, 22, 0.12);
  --brass: #9a743c;
  --brass-2: #c4a36a;
  --forest: #2c3830;
  --sage: #6e7d72;
  --ok: #2f5d45;
  --danger: #8a3a32;
  --shadow: 0 18px 40px rgba(28, 25, 22, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--paper); }
body {
  font-family: "Source Sans 3", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 50% -80px, rgba(196, 163, 106, 0.16), transparent 60%),
    var(--paper);
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.page {
  width: min(460px, 100%);
  margin: 0 auto;
  padding: 20px 18px 64px;
}

.dash-page {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 24px 20px 72px;
}

.kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--brass);
  font-weight: 600;
}

h1, h2, .serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
}

.hotel-lockup {
  text-align: center;
  padding: 8px 0 18px;
}
.hotel-lockup h1 {
  margin: 6px 0 4px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.hotel-lockup p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.operator {
  margin-top: 10px !important;
  font-size: 12px !important;
}

.hero {
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd;
  box-shadow: var(--shadow);
}
.hero img { width: 100%; height: 210px; object-fit: cover; }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0 22px;
}
.compare figure {
  margin: 0;
  background: var(--paper-2);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.compare img { height: 148px; width: 100%; object-fit: cover; }
.compare figcaption {
  padding: 8px 10px 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.tagline {
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  margin: 6px 0 22px;
}

.services { display: grid; gap: 10px; }
.service {
  text-align: left;
  width: 100%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 14px 13px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.service:hover { border-color: rgba(154, 116, 60, 0.45); }
.service.is-on {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(154, 116, 60, 0.16);
  background: #fffdf8;
}
.service h3 {
  margin: 0;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service .price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  align-self: start;
}
.service p {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}
.badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--forest);
  padding: 3px 7px 2px;
  border-radius: 999px;
  font-weight: 600;
  font-family: "Source Sans 3", sans-serif;
}

.form {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(154, 116, 60, 0.15);
}
.hint { font-size: 12px; color: var(--muted); margin: 0; }

.cta {
  width: 100%;
  border: 0;
  background: var(--forest);
  color: #f7f3ea;
  border-radius: 999px;
  padding: 16px 18px;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 8px;
}
.cta:disabled { opacity: 0.45; cursor: not-allowed; }
.cta-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.bill-note {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.error {
  color: var(--danger);
  font-size: 14px;
  min-height: 1.2em;
  margin: 4px 0 0;
}

.confirm-hero img { height: 230px; }
.check {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ok);
  color: white;
  display: grid;
  place-items: center;
  margin: 18px auto 8px;
  font-size: 22px;
}
.center { text-align: center; }
.center h1 { margin: 0 0 6px; font-size: 34px; }
.lede { color: var(--muted); margin: 0 0 22px; }

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.rows { display: grid; gap: 10px; }
.row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: 0; padding-bottom: 0; }
.row span { color: var(--muted); }
.row b { font-weight: 600; text-align: right; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}
.num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--forest);
  color: #f7f3ea;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
}

.tracker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 8px;
}
.tick {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.tick i {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: var(--line);
  margin-bottom: 7px;
}
.tick.is-done { color: var(--ok); font-weight: 600; }
.tick.is-done i { background: var(--ok); }
.tick.is-now { color: var(--brass); font-weight: 600; }
.tick.is-now i { background: var(--brass); }

.support {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.dash-head h1 { margin: 4px 0 0; font-size: 40px; }
.dash-head-right { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
.stats { display: flex; gap: 10px; flex-wrap: wrap; }
.stat {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  min-width: 110px;
}
.stat b { display: block; font-size: 22px; font-family: "Source Sans 3", "Helvetica Neue", sans-serif; font-weight: 600; }
.stat span { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.toolbar input, .toolbar select {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}

.table-wrap {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
table { width: 100%; border-collapse: collapse; }
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 14px;
}
th {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  background: #efe8dc;
}
tr:last-child td { border-bottom: 0; }
tr.is-new td { background: #fff7e8; }

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.pill-received { background: #efe4c8; color: #6a4e16; }
.pill-collected { background: #dbe4dc; color: #2c3830; }
.pill-in_care { background: #d7e2ea; color: #2a4456; }
.pill-quality_checked { background: #dce8d8; color: #2f5d45; }
.pill-returned { background: #e7e2d8; color: #4b463f; }
.pill-cancelled { background: #ead9d6; color: #8a3a32; }
.pill-pending_post { background: #f3dfc8; color: #7a4a16; }
.pill-posted { background: #dce8d8; color: #2f5d45; }
.pill-hold { background: #e7e2d8; color: #4b463f; }
.pill-invoiced { background: #d7e2ea; color: #2a4456; }

.actions { display: flex; flex-wrap: wrap; gap: 6px; }
.mini {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
}
.mini:hover { border-color: var(--brass); }

.tabs { display: flex; gap: 8px; margin: 0 0 18px; }
.tab {
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
}
.tab.is-on {
  background: var(--forest);
  color: #f6f1e8;
  border-color: var(--forest);
}
.hotel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: start;
}
.hotel-form {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.hotel-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  resize: vertical;
}
@media (max-width: 860px) {
  .hotel-layout { grid-template-columns: 1fr; }
}

.gate {
  width: min(380px, calc(100% - 32px));
  margin: 14vh auto 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.empty { padding: 40px 16px; text-align: center; color: var(--muted); }

@media (max-width: 720px) {
  .hide-sm { display: none; }
  .tracker { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tick { text-align: left; }
}
