:root {
  --paper: #f4f0e8;
  --paper-2: #fffdf8;
  --ink: #23201c;
  --ink-soft: #4a443c;
  --muted: #9b9385;
  --line: #e6ddcc;
  --teal: #1f6f6b;
  --teal-deep: #185754;
  --teal-tint: #e4efed;
  --shadow: 0 1px 2px rgba(35, 32, 28, 0.06), 0 12px 30px rgba(35, 32, 28, 0.07);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Masthead */
.masthead { border-bottom: 1px solid var(--line); }
.masthead .wrap {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; padding-top: 18px; padding-bottom: 18px;
}
.brand { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: 0.01em; }
.brand-tag { color: var(--muted); font-size: 13px; font-style: italic; }

/* Hero */
.hero { padding: 72px 0 56px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 12px;
  font-weight: 600; color: var(--teal); margin: 0 0 18px;
}
h1 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 8vw, 66px);
  line-height: 1.04; letter-spacing: -0.015em; margin: 0 0 22px; max-width: 14ch;
}
.lede { font-size: 19px; color: var(--ink-soft); max-width: 52ch; margin: 0 0 28px; }
.facts { list-style: none; padding: 0; margin: 0 0 34px; display: flex; flex-wrap: wrap; gap: 10px 14px; }
.facts li {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: 14px; color: var(--ink-soft); box-shadow: var(--shadow);
}
.facts li b { color: var(--ink); font-weight: 600; }
.btn-jump {
  display: inline-block; color: var(--teal); font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--teal-tint); padding-bottom: 2px; transition: border-color .2s;
}
.btn-jump:hover { border-color: var(--teal); }

/* Booking */
.booking { background: var(--paper-2); border-top: 1px solid var(--line); padding: 64px 0 80px; }
h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; margin: 0 0 8px; letter-spacing: -0.01em; }
.section-sub { color: var(--ink-soft); margin: 0 0 32px; }

.slots-status { color: var(--muted); padding: 24px 0; }
.slot-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px; margin-bottom: 8px;
}
.slot {
  appearance: none; cursor: pointer; font-family: var(--sans); font-size: 16px; font-weight: 500;
  background: var(--paper); color: var(--ink); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 16px 10px; text-align: center; transition: all .15s ease;
}
.slot:hover:not(:disabled) { border-color: var(--teal); transform: translateY(-1px); }
.slot.selected { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: var(--shadow); }
.slot:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.slot small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 3px; }
.slot.selected small { color: rgba(255,255,255,0.8); }

/* Form */
.booking-form {
  margin-top: 40px; border-top: 1px solid var(--line); padding-top: 36px;
  animation: rise .3s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.booking-form h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0 0 6px; }
.picked { color: var(--teal-deep); font-weight: 600; margin: 0 0 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field .opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px; transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); }
textarea { resize: vertical; }

.form-error {
  background: #fbe9e7; border: 1px solid #f1c4bd; color: #9a3328;
  border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; font-size: 15px;
}

.btn-pay {
  width: 100%; cursor: pointer; font-family: var(--sans); font-size: 17px; font-weight: 600;
  background: var(--teal); color: #fff; border: none; border-radius: 12px; padding: 17px 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .15s; box-shadow: var(--shadow);
}
.btn-pay:hover:not(:disabled) { background: var(--teal-deep); }
.btn-pay:disabled { opacity: 0.7; cursor: progress; }
.btn-spinner {
  width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.reassure { text-align: center; color: var(--muted); font-size: 13px; margin: 14px 0 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0; }
footer .wrap { display: flex; justify-content: space-between; font-size: 14px; }
.muted { color: var(--muted); }

/* Success page */
.success-card { padding: 80px 0; }
.success-card .check {
  width: 64px; height: 64px; border-radius: 50%; background: var(--teal-tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 28px;
}
.success-card .check svg { width: 30px; height: 30px; stroke: var(--teal); }
.detail-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 8px 22px; margin: 28px 0; box-shadow: var(--shadow);
}
.detail-card .row { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.detail-card .row:last-child { border-bottom: none; }
.detail-card .row b { color: var(--ink); }

@media (max-width: 520px) {
  .hero { padding: 48px 0 40px; }
  .masthead .wrap { flex-direction: column; gap: 2px; }
  .brand-tag { font-size: 12px; }
}
