/* ============ Perfect Health — Massage Chair Booking ============ */

:root {
  --bg: #faf8f4;
  --bg-alt: #f1ede5;
  --surface: #ffffff;
  --ink: #1e2420;
  --ink-soft: #5b6660;
  --ink-faint: #98a29b;
  --sage: #3e6b52;
  --sage-deep: #2e523e;
  --sage-tint: #e4ede7;
  --gold: #c9a86a;
  --danger: #b6473b;
  --line: rgba(30, 36, 32, 0.08);
  --radius-lg: 1.75rem;
  --radius-md: 1.125rem;
  --radius-sm: 0.75rem;
  --shadow-soft: 0 20px 60px -24px rgba(30, 36, 32, 0.18), 0 4px 16px -8px rgba(30, 36, 32, 0.08);
  --shadow-lift: 0 30px 80px -30px rgba(30, 36, 32, 0.28), 0 8px 24px -12px rgba(30, 36, 32, 0.12);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Schibsted Grotesk", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }

button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }
a { color: var(--sage); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 1rem 1rem 0;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.75rem 0.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 40px -18px rgba(30, 36, 32, 0.25);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--sage);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.nav-links { display: flex; gap: 0.25rem; }
.nav-link {
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  transition: background 0.45s var(--ease), color 0.45s var(--ease);
}
.nav-link:hover { color: var(--ink); background: rgba(30, 36, 32, 0.05); }
.nav-link.active { background: var(--ink); color: #fff; }
.nav-badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  margin-left: 0.25rem;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 0.68rem;
}
.nav-badge[hidden] { display: none; }

/* ============ Views ============ */
.view { display: none; }
.view.active { display: block; animation: viewIn 0.7s var(--ease); }
@keyframes viewIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ Hero ============ */
.hero { padding: 6.5rem 1.5rem 5rem; }
.hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--sage);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin-bottom: 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--sage); }
.hero-sub {
  max-width: 560px;
  margin: 0 auto 2.2rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.hero-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.hero-meta {
  margin-top: 3.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1.1rem 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.meta-item { text-align: left; }
.meta-label { display: block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-faint); }
.meta-value { font-weight: 600; font-size: 0.95rem; }
.meta-divider { width: 1px; height: 2.2rem; background: var(--line); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-size: 0.98rem;
  font-weight: 600;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease), opacity 0.3s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 14px 34px -14px rgba(62, 107, 82, 0.6);
}
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-2px); }
.btn-primary:disabled { opacity: 0.4; pointer-events: none; }
.btn-icon {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  transition: transform 0.5s var(--ease);
}
.btn-primary:hover .btn-icon { transform: translateX(3px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(30, 36, 32, 0.16);
}
.btn-ghost:hover { background: rgba(30, 36, 32, 0.05); text-decoration: none; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #9c382e; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

/* ============ Sections ============ */
.section { padding: 5.5rem 1.5rem; max-width: 1080px; margin: 0 auto; }
.section-alt {
  max-width: none;
  background: var(--bg-alt);
}
.section-alt .split { max-width: 1080px; margin: 0 auto; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 0.8rem; }
.section-head p { color: var(--ink-soft); }

/* ============ Service cards ============ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.service-card {
  position: relative;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 0.4rem;
  border: 1px solid var(--line);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  text-align: left;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.service-card-inner {
  background: var(--surface);
  border-radius: calc(var(--radius-lg) - 0.4rem);
  padding: 1.6rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-emoji { font-size: 1.7rem; }
.service-name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; }
.service-desc { color: var(--ink-soft); font-size: 0.9rem; flex: 1; }
.service-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 0.6rem; }
.service-price { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--sage); }
.service-mins {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* selectable variant (booking step 1) */
.selectable .service-card { cursor: pointer; background: var(--bg-alt); border: 1px solid var(--line); }
.selectable .service-card.selected {
  background: var(--sage);
  border-color: var(--sage);
  box-shadow: var(--shadow-lift);
}
.selectable .service-card.selected .service-card-inner { background: var(--sage-tint); }
.selectable .service-card .service-check {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--sage);
  color: #fff;
  font-size: 0.8rem;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.selectable .service-card.selected .service-check { opacity: 1; transform: scale(1); }

/* ============ Split / visit ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 0;
}
.split-text h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1.2rem; }
.address {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.6rem;
  color: var(--ink);
}
.visit-rows { display: flex; flex-direction: column; gap: 1rem; }
.visit-row {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
}
.visit-icon { font-size: 1.2rem; line-height: 1.5; }
.split-card { display: flex; justify-content: center; }
.map-card {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 25%, rgba(62, 107, 82, 0.16), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(201, 168, 106, 0.18), transparent 50%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1.5rem;
}
.map-pin { font-size: 2.4rem; animation: bob 3s var(--ease) infinite alternate; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.map-label { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.map-sub { color: var(--ink-soft); font-size: 0.9rem; }

/* ============ CTA band ============ */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 0.6rem; }
.cta-band p { color: var(--ink-soft); margin-bottom: 1.8rem; }

/* ============ Booking flow ============ */
.book-wrap { max-width: 860px; margin: 0 auto; padding: 4rem 1.5rem 6rem; }
.book-head { text-align: center; margin-bottom: 2.5rem; }
.book-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }

.stepper {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 2.8rem;
  flex-wrap: wrap;
}
.step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem 0.45rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-faint);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
.step-num {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--bg-alt);
  font-size: 0.78rem;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
.step.active { color: var(--ink); border-color: var(--sage); }
.step.active .step-num { background: var(--sage); color: #fff; }
.step.done { color: var(--sage); }
.step.done .step-num { background: var(--sage-tint); color: var(--sage); }

.book-step { display: none; }
.book-step.active { display: block; animation: viewIn 0.6s var(--ease); }

.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}

/* ============ Panels ============ */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
}
.panel-title { font-size: 1.05rem; margin-bottom: 1.1rem; }
.panel-hint { font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; color: var(--ink-faint); margin-left: 0.4rem; }

.datetime-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.25rem; align-items: start; }

/* Date strip */
.date-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.3rem, 1fr)); gap: 0.5rem; }
.date-chip {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.3rem;
  text-align: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.date-chip:hover { transform: translateY(-2px); border-color: var(--sage); }
.date-chip .d-dow { display: block; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-faint); }
.date-chip .d-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.date-chip .d-mon { display: block; font-size: 0.7rem; color: var(--ink-soft); }
.date-chip.selected { background: var(--sage); border-color: var(--sage); }
.date-chip.selected .d-dow, .date-chip.selected .d-num, .date-chip.selected .d-mon { color: #fff; }

/* Slot grid */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.2rem, 1fr)); gap: 0.5rem; min-height: 4rem; }
.slot {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.slot:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--sage); }
.slot.selected { background: var(--sage); border-color: var(--sage); color: #fff; }
.slot:disabled {
  background: repeating-linear-gradient(-45deg, var(--bg-alt), var(--bg-alt) 6px, #e9e4da 6px, #e9e4da 12px);
  color: var(--ink-faint);
  cursor: not-allowed;
  text-decoration: line-through;
}
.slot-empty { grid-column: 1 / -1; color: var(--ink-faint); font-size: 0.9rem; padding: 1rem 0; text-align: center; }
.slot-legend { margin-top: 1rem; font-size: 0.78rem; color: var(--ink-faint); display: flex; align-items: center; gap: 0.45rem; }
.legend-dot { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 4px; border: 1px solid var(--line); }
.legend-dot.free { background: var(--bg); }
.legend-dot.busy { background: repeating-linear-gradient(-45deg, var(--bg-alt), var(--bg-alt) 3px, #e0dacd 3px, #e0dacd 6px); margin-left: 1rem; }

/* ============ Form ============ */
.form-panel { display: flex; flex-direction: column; gap: 1.2rem; max-width: 560px; margin: 0 auto; }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-weight: 600; font-size: 0.92rem; }
.req { color: var(--danger); }
.opt { color: var(--ink-faint); font-weight: 500; font-size: 0.8rem; }
.form-row input, .form-row textarea {
  border: 1px solid rgba(30, 36, 32, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 1rem;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(62, 107, 82, 0.14);
}
.form-row input.invalid { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.8rem; min-height: 1rem; }

/* ============ Review & success ============ */
.review-panel { max-width: 560px; margin: 0 auto; }
.review-title { font-size: 1.1rem; margin-bottom: 1.2rem; }
.review-rows { display: flex; flex-direction: column; }
.review-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}
.review-row:last-child { border-bottom: none; }
.review-row .rk { color: var(--ink-soft); }
.review-row .rv { font-weight: 600; text-align: right; }
.review-total { font-family: var(--font-display); font-size: 1.15rem; }
.review-total .rv { color: var(--sage); font-size: 1.3rem; }

.success-panel { text-align: center; max-width: 560px; margin: 0 auto; padding: 2.6rem 2rem; }
.success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--sage-tint);
  color: var(--sage);
  font-size: 1.8rem;
  animation: pop 0.6s var(--ease);
}
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-panel h3 { font-size: 1.7rem; margin-bottom: 0.6rem; }
.success-code { font-size: 1.05rem; margin-bottom: 0.8rem; }
.success-code strong { color: var(--sage); letter-spacing: 0.08em; }
.success-detail { color: var(--ink-soft); margin-bottom: 1.2rem; }
.success-note { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 1.8rem; }
.success-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ============ My bookings ============ */
.booking-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow-soft);
  flex-wrap: wrap;
}
.booking-card.past { opacity: 0.55; }
.bk-main { flex: 1; min-width: 220px; }
.bk-code { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: var(--gold); text-transform: uppercase; }
.bk-service { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; }
.bk-when { color: var(--ink-soft); font-size: 0.92rem; }
.bk-who { color: var(--ink-faint); font-size: 0.85rem; }
.bk-side { display: flex; align-items: center; gap: 1rem; }
.bk-price { font-family: var(--font-display); font-weight: 700; color: var(--sage); font-size: 1.15rem; }
.bk-cancel {
  border: 1px solid rgba(182, 71, 59, 0.3);
  background: transparent;
  color: var(--danger);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.35s var(--ease);
}
.bk-cancel:hover { background: rgba(182, 71, 59, 0.08); }
.bk-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--ink-faint);
}

.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--surface);
  border: 1px dashed rgba(30, 36, 32, 0.18);
  border-radius: var(--radius-lg);
}
.empty-state .empty-emoji { font-size: 2.4rem; margin-bottom: 0.8rem; }
.empty-state h3 { margin-bottom: 0.4rem; }
.empty-state p { color: var(--ink-soft); margin-bottom: 1.4rem; }

/* ============ Admin ============ */
.pin-panel {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  padding: 2.6rem 2rem;
}
.pin-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.pin-panel h3 { margin-bottom: 0.4rem; }
.pin-hint { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.4rem; }
#pinForm { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }
#pinInput {
  border: 1px solid rgba(30, 36, 32, 0.16);
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-size: 1.05rem;
  letter-spacing: 0.3em;
  text-align: center;
  width: 10rem;
  background: var(--bg);
}
#pinInput:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px rgba(62, 107, 82, 0.14); }
.pin-panel .field-error { display: block; margin-top: 0.8rem; }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--sage); }
.stat-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-faint); }

.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; gap: 1rem; }
.admin-table-wrap { padding: 0.5rem; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 760px; }
.admin-table th {
  text-align: left;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--line);
}
.admin-table td { padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table tr:last-child td { border-bottom: none; }
.row-past { opacity: 0.5; }
.cell-code { font-weight: 700; letter-spacing: 0.06em; color: var(--gold); font-size: 0.78rem; white-space: nowrap; }
.cell-sub { color: var(--ink-soft); font-size: 0.82rem; }
.cell-notes { max-width: 200px; color: var(--ink-soft); }
.tag-up { background: var(--sage-tint); color: var(--sage); }
.admin-empty { text-align: center; color: var(--ink-faint); padding: 2rem !important; }

.privacy-note {
  font-size: 0.82rem;
  color: var(--ink-faint);
  background: var(--sage-tint);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  line-height: 1.5;
}

/* ============ Footer ============ */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); padding: 3.5rem 1.5rem 1.5rem; margin-top: 2rem; }
.footer-inner {
  max-width: 1080px;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand { color: #fff; margin-bottom: 0.5rem; }
.footer-col strong { color: #fff; display: block; margin-bottom: 0.5rem; }
.footer-copy { text-align: center; font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.4rem; max-width: 1080px; margin: 0 auto; }
.footer-staff {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  text-decoration: underline;
  transition: color 0.35s var(--ease);
}
.footer-staff:hover { color: rgba(255, 255, 255, 0.75); }

/* ============ Modal & toast ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(20, 24, 21, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.modal-backdrop[hidden] { display: none; }
.toast[hidden] { display: none; }
.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-lift);
  animation: pop 0.45s var(--ease);
}
.modal h3 { margin-bottom: 0.6rem; }
.modal p { color: var(--ink-soft); margin-bottom: 1.5rem; }
.modal-actions { display: flex; justify-content: flex-end; gap: 0.7rem; flex-wrap: wrap; }

.toast {
  position: fixed;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 70;
  background: var(--ink);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: var(--shadow-lift);
  animation: toastIn 0.5s var(--ease);
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ============ Responsive ============ */
@media (max-width: 820px) {
  .datetime-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 4.5rem 1rem 3.5rem; }
  .section { padding: 3.8rem 1rem; }
  .meta-divider { display: none; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
}
@media (max-width: 560px) {
  .nav-inner { padding: 0.5rem 0.5rem 0.5rem 0.85rem; }
  .brand-text { display: none; }
  .nav-link { padding: 0.5rem 0.7rem; font-size: 0.85rem; }
  .step-label { display: none; }
  .step { padding: 0.45rem 0.6rem; }
  .step-actions { flex-direction: column-reverse; align-items: stretch; }
  .step-actions .btn { justify-content: center; }
}
