:root {
  --bg: #1a1410;
  --bg-soft: #221a14;
  --surface: #2a2018;
  --surface-2: #34281d;
  --border: #3d2f23;
  --text: #f4ead8;
  --muted: #b8a98e;
  --accent: #e8a85b;
  --accent-strong: #d68f3a;
  --danger: #d96b5a;
  --ok: #6fa860;
  --radius: 14px;
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 32px; margin: 0 0 16px; }
h3 { font-size: 18px; margin: 0 0 8px; }

.muted { color: var(--muted); }
.hidden { display: none !important; }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(232, 168, 91, 0.18), transparent 60%),
    radial-gradient(800px 400px at 10% 110%, rgba(232, 168, 91, 0.08), transparent 60%),
    linear-gradient(180deg, #1a1410 0%, #14100c 100%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  color: var(--text);
}
.brand-mark {
  width: 34px; height: 34px;
  display: inline-grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #1a1410;
  font-size: 18px;
  font-weight: 800;
}
.brand-name { font-size: 14px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  margin: 0 0 20px;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-meta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-meta > div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 22px;
  display: flex; flex-direction: column; align-items: center;
  min-width: 130px;
}
.hero-meta b { font-size: 20px; }
.hero-meta span { color: var(--muted); font-size: 13px; }

.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: #1a1410;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 16px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.hero-cta:hover { background: var(--accent-strong); transform: translateY(-1px); color: #1a1410; }

/* ── Programme ────────────────────────────────────── */
.programme { padding: 80px 0; }
.programme h2 { text-align: center; margin-bottom: 40px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.programme .card .num {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.18em;
  display: block;
  margin-bottom: 14px;
}
.programme .card p { color: var(--muted); margin: 0; }

/* ── Booking ──────────────────────────────────────── */
.booking {
  padding: 80px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.booking h2 { text-align: center; }
.booking > .container > .muted { text-align: center; margin: 0 auto 36px; }

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .row { grid-template-columns: 1fr; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.field input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 168, 91, 0.15);
}

/* Slots */
.slots {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  max-height: 360px;
  overflow-y: auto;
}
.slots-empty { color: var(--muted); padding: 12px; text-align: center; }

.slot-day {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.slot-day-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 4px 2px 2px;
}
.slot-day-times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.slot-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: all 0.12s ease;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 110px;
}
.slot-btn small { color: var(--muted); font-size: 12px; }
.slot-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.slot-btn.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1410;
}
.slot-btn.selected small { color: rgba(26, 20, 16, 0.7); }

/* Consent */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.5;
}
.consent input {
  margin-top: 3px;
  width: 18px; height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.submit {
  background: var(--accent);
  color: #1a1410;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.submit:hover:not(:disabled) { background: var(--accent-strong); transform: translateY(-1px); }
.submit:disabled { opacity: 0.55; cursor: not-allowed; }

.status { font-size: 14px; min-height: 20px; }
.status.error { color: var(--danger); }
.status.ok { color: var(--ok); }

/* ── Policy ───────────────────────────────────────── */
.policy { padding: 60px 0; }
.policy p { color: var(--muted); max-width: 720px; }

/* ── Footer ───────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-link { color: var(--muted); }
.admin-link:hover { color: var(--accent); }

/* ── Admin panel ──────────────────────────────────── */
.admin-body { background: var(--bg); }
.admin-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  background: var(--bg-soft);
}
.admin-header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.admin-title {
  font-weight: 600;
  color: var(--muted);
  margin-left: auto;
}
.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  font: inherit;
}
.ghost:hover { border-color: var(--accent); color: var(--accent); }

.admin-main {
  padding: 40px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.login-card {
  max-width: 380px;
  margin: 60px auto;
}
.login-card .form {
  box-shadow: none;
  padding: 0;
  background: transparent;
  border: none;
  margin-top: 16px;
}

.admin-slots {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.admin-slot {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
}
.admin-slot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-slot-date { font-weight: 700; font-size: 16px; }
.admin-slot-meta { color: var(--muted); font-size: 13px; }
.delete-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.delete-btn:hover { border-color: var(--danger); color: var(--danger); }

.admin-bookings {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-booking {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  padding: 6px 0;
}
.admin-booking-info { display: flex; flex-direction: column; }
.admin-booking-info b { font-weight: 600; }
.admin-booking-info span { color: var(--muted); font-size: 13px; }
.admin-no-bookings { color: var(--muted); font-size: 13px; padding: 6px 0; }
