/* ============================================================
   Mendip Reception Kiosk — Main Stylesheet
   Target: 1920 × 1080 fullscreen desktop
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --brand:      #005e85;
  --brand-dk:   #004466;
  --brand-lt:   #e5f2f8;
  --brand-mid:  #d0e9f4;
  --accent:     #c45e2a;
  --accent-lt:  #fdf0e8;
  --bg:         #f7f5f1;
  --bg-warm:    #f0ede7;
  --white:      #fffefb;
  --ink:        #1a2a1a;
  --ink-mid:    #445044;
  --ink-mute:   #7a877a;
  --border:     #ddd8cf;
  --border-mid: #ccc6bc;
  --success:    #2d7a4f;
  --success-lt: #e8f5ee;

  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.14);
  --header-h:   72px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  height: 100%;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ── Scrollable page variant ─────────────────────────────── */
body { overflow: hidden; }
body.scrollable { overflow-y: auto; }

/* ============================================================
   HEADER (shared across inner pages)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--brand);
  display: flex;
  align-items: center;
  padding: 0 40px;
  z-index: 200;
  gap: 20px;
}

.header-logo {
  height: 38px;
  width: auto;
}

.header-title {
  flex: 1;
  color: white;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Back button */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  transition: background 0.15s;
  cursor: pointer;
}
.btn-back:hover { background: rgba(255,255,255,0.28); }
.btn-back svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Page body offset for fixed header */
.page { padding-top: var(--header-h); min-height: 100vh; }

/* ============================================================
   VIDEO SCREEN  (index.html)
   ============================================================ */
.video-screen {
  position: fixed;
  inset: 0;
  background: #000;
  cursor: pointer;
  user-select: none;
}

.video-screen video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 100px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.1) 50%,
    transparent 100%
  );
}

.video-logo {
  position: absolute;
  top: 40px; left: 48px;
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.video-tap-hint {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
}

.btn-start {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--brand);
  color: white;
  border: none;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.4px;
  padding: 28px 80px;
  border-radius: 100px;
  box-shadow: 0 8px 48px rgba(0,94,133,0.55);
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.btn-start:hover, .btn-start:active {
  transform: scale(1.04);
  box-shadow: 0 14px 60px rgba(0,94,133,0.70);
}
.btn-start svg { width: 32px; height: 32px; }

/* ============================================================
   MAIN MENU  (menu.html)
   ============================================================ */
.menu-screen {
  position: fixed;
  inset: 0;
  background: var(--brand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.menu-logo {
  height: 72px;
  width: auto;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.menu-welcome {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  margin-bottom: 72px;
  letter-spacing: 0.01em;
}

.menu-buttons {
  display: flex;
  gap: 36px;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 340px;
  height: 300px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 48px rgba(0,0,0,0.22);
  transition: transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
}
.menu-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 64px rgba(0,0,0,0.3);
}

.menu-btn-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--brand-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.menu-btn-icon svg { width: 44px; height: 44px; }

.menu-btn-label {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.4px;
}

.menu-btn-sub {
  font-size: 14px;
  color: var(--ink-mute);
  font-weight: 400;
}

/* ============================================================
   DATE FILTER STRIP  (activities.html)
   ============================================================ */
.date-strip {
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  background: white;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  height: 64px;
}

.date-strip-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 6px;
  white-space: nowrap;
}

.date-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1.5px solid var(--border);
  color: var(--ink-mid);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.date-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-lt);
}
.date-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.date-btn svg { width: 16px; height: 16px; }

/* ============================================================
   ACTIVITY GRID  (activities.html, group.html)
   ============================================================ */
.grid-section {
  padding: 36px 40px 56px;
  background: var(--bg);
}

.grid-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
}

.act-grid {
  display: grid;
  gap: 22px;
}
.act-grid--4 { grid-template-columns: repeat(4, 1fr); }
.act-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Activity Card */
.act-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.act-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Stripe image area */
.act-card-img {
  height: 175px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.stripe-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stripe-label span {
  background: rgba(0,0,0,0.35);
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
  text-align: center;
  line-height: 1.7;
}

.act-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-group { background: var(--brand); color: white; }
.badge-popular { background: var(--brand-lt); color: var(--brand); }
.badge-limited { background: var(--accent); color: white; }

.act-card-body {
  padding: 18px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.act-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-bottom: 6px;
}

.act-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  line-height: 1.25;
}

.act-card-meta {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 18px;
  flex: 1;
}

.act-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid var(--brand);
  border-radius: 50px;
  padding: 10px 22px;
  align-self: flex-start;
  transition: all 0.15s;
}
.act-card:hover .act-card-cta {
  background: var(--brand);
  color: white;
}
.act-card-cta svg { width: 14px; height: 14px; }

/* Stripe colour classes */
.s-rocksports    { background: repeating-linear-gradient(135deg, #7a6248 0, #7a6248 12px, #5c4832 12px, #5c4832 24px); }
.s-watersports   { background: repeating-linear-gradient(135deg, #2a6494 0, #2a6494 12px, #1a4a74 12px, #1a4a74 24px); }
.s-snowsports    { background: repeating-linear-gradient(135deg, #6ab4cc 0, #6ab4cc 12px, #4a94ac 12px, #4a94ac 24px); }
.s-target        { background: repeating-linear-gradient(135deg, #5c7030 0, #5c7030 12px, #3c5018 12px, #3c5018 24px); }
.s-land          { background: repeating-linear-gradient(135deg, #4c6a30 0, #4c6a30 12px, #305018 12px, #305018 24px); }
.s-family        { background: repeating-linear-gradient(135deg, #b46828 0, #b46828 12px, #8a4818 12px, #8a4818 24px); }
.s-toboggan      { background: repeating-linear-gradient(135deg, #8a3a10 0, #8a3a10 12px, #6a2a00 12px, #6a2a00 24px); }
.s-discgolf      { background: repeating-linear-gradient(135deg, #5c7030 0, #5c7030 12px, #3c5018 12px, #3c5018 24px); }
.s-orienteering  { background: repeating-linear-gradient(135deg, #4c6a30 0, #4c6a30 12px, #305018 12px, #305018 24px); }

/* ============================================================
   GROUP LANDING HERO  (group.html)
   ============================================================ */
.group-hero {
  background: var(--brand-dk);
  color: white;
  padding: 52px 40px;
}
.group-hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}
.group-hero-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 14px;
}
.group-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  line-height: 1.5;
}

/* ============================================================
   ACTIVITY DETAIL LAYOUT  (activity-*.html)
   ============================================================ */
.act-layout {
  display: flex;
  height: calc(100vh - var(--header-h));
  overflow: hidden;
}

/* Left content panel */
.act-content {
  flex: 1;
  overflow-y: auto;
  padding: 44px 52px 60px;
  background: var(--bg);
}

.act-eyebrow-lg {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 10px;
}

.act-title {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 28px;
}

/* Hero image placeholder */
.act-hero {
  height: 290px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}

/* Quick stats row */
.act-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 36px;
  background: white;
}
.stat-cell {
  padding: 18px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }
.stat-cell-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-bottom: 4px;
}
.stat-cell-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.act-description {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-mid);
  max-width: 680px;
  margin-bottom: 36px;
}

/* Included items */
.included-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
}
.included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 36px;
  max-width: 600px;
}
.included-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.included-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-lt);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.included-icon svg { width: 16px; height: 16px; }

/* What to bring callout */
.callout {
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 32px;
  max-width: 680px;
}
.callout-warm { background: var(--bg-warm); }
.callout-brand { background: var(--brand-lt); }
.callout h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.callout p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.65;
}

/* ============================================================
   BOOKING SIDEBAR  (activity-*.html)
   ============================================================ */
.act-sidebar {
  width: 440px;
  flex-shrink: 0;
  border-left: 1px solid var(--border);
  background: white;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Price header */
.sidebar-price {
  padding: 26px 32px;
  border-bottom: 1px solid var(--border);
}
.price-from { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-mute); }
.price-amount { font-size: 40px; font-weight: 800; color: var(--ink); letter-spacing: -1.5px; line-height: 1.05; }
.price-per { font-size: 14px; color: var(--ink-mute); margin-top: 2px; }

/* Step indicator */
.booking-steps {
  display: flex;
  align-items: center;
  padding: 18px 32px;
  border-bottom: 1px solid var(--border);
  gap: 0;
}
.b-step {
  display: flex;
  align-items: center;
  gap: 8px;
}
.b-step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-mute);
  flex-shrink: 0;
}
.b-step-num.active { background: var(--brand); border-color: var(--brand); color: white; }
.b-step-num.done   { background: var(--success); border-color: var(--success); color: white; }
.b-step-label { font-size: 13px; font-weight: 600; color: var(--ink-mute); }
.b-step-label.active { color: var(--brand); }
.b-step-line { flex: 1; height: 1px; background: var(--border); margin: 0 10px; }

/* Sidebar body (scrollable) */
.sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 32px;
}

.sidebar-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink);
  margin-bottom: 16px;
}

/* Date pills in sidebar */
.date-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.date-pill {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  background: none;
}
.date-pill:hover { border-color: var(--brand); background: var(--brand-lt); }
.date-pill.selected { border-color: var(--brand); background: var(--brand-lt); }
.date-pill-day { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--ink-mute); letter-spacing: 0.05em; }
.date-pill-date { font-size: 17px; font-weight: 700; color: var(--ink); }

/* Time slots */
.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.time-slot {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  background: none;
}
.time-slot:hover { border-color: var(--brand); background: var(--brand-lt); }
.time-slot.selected { border-color: var(--brand); background: var(--brand-lt); }
.time-slot-time { font-size: 16px; font-weight: 700; color: var(--ink); display: block; }
.time-slot-spaces { font-size: 11px; color: var(--ink-mute); margin-top: 2px; }
.time-slot.full { opacity: 0.4; cursor: not-allowed; }

/* People counter */
.people-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.people-label { font-size: 15px; font-weight: 600; color: var(--ink); }
.people-sub   { font-size: 12px; color: var(--ink-mute); }
.counter {
  display: flex;
  align-items: center;
  gap: 16px;
}
.counter-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: none;
  font-size: 22px;
  font-weight: 300;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1;
}
.counter-btn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.counter-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.counter-val { font-size: 22px; font-weight: 700; color: var(--ink); min-width: 28px; text-align: center; }

/* Subtotal */
.subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.subtotal-label { font-size: 15px; font-weight: 600; color: var(--ink-mute); }
.subtotal-amount { font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -0.5px; }

/* Placeholder info box */
.sidebar-placeholder {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.6;
  font-style: italic;
}

/* Sidebar footer with CTAs */
.sidebar-footer {
  padding: 20px 32px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Buttons */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  padding: 18px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  letter-spacing: -0.2px;
}
.btn-brand   { background: var(--brand); color: white; }
.btn-brand:hover   { background: var(--brand-dk); }
.btn-accent  { background: var(--accent); color: white; }
.btn-accent:hover  { background: #a84d22; }
.btn-outline { background: none; border: 1.5px solid var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn:disabled { opacity: 0.38; cursor: not-allowed; }
.btn-sm { font-size: 14px; padding: 12px 20px; }

/* ============================================================
   TOBOGGAN  (activity-toboggan.html)
   ============================================================ */
.tob-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.tob-option {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.15s;
  background: none;
  text-align: left;
  width: 100%;
}
.tob-option:hover { border-color: var(--brand); background: var(--brand-lt); }
.tob-option.selected { border-color: var(--brand); background: var(--brand-lt); }
.tob-option-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.tob-option-desc  { font-size: 13px; color: var(--ink-mute); }
.tob-option-price { font-size: 18px; font-weight: 800; color: var(--brand); margin-top: 8px; }

/* ============================================================
   SIGN IN  (sign-in.html)
   ============================================================ */
.signin-wrap {
  height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
.signin-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  width: 480px;
  box-shadow: var(--shadow-lg);
}
.signin-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}
.signin-sub {
  font-size: 15px;
  color: var(--ink-mute);
  margin-bottom: 40px;
}
.field-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  display: block;
}
.field-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: white;
  margin-bottom: 20px;
  transition: border-color 0.15s;
}
.field-input:focus { outline: none; border-color: var(--brand); }
.signin-forgot { font-size: 13px; color: var(--brand); font-weight: 600; margin-bottom: 28px; display: block; }
.signin-divider { text-align: center; color: var(--ink-mute); font-size: 14px; margin: 20px 0; position: relative; }
.signin-divider::before, .signin-divider::after {
  content: ''; position: absolute; top: 50%; width: calc(50% - 24px);
  height: 1px; background: var(--border);
}
.signin-divider::before { left: 0; }
.signin-divider::after  { right: 0; }
.signin-note {
  margin-top: 20px;
  font-size: 13px;
  text-align: center;
  color: var(--ink-mute);
}

/* ============================================================
   PHASE BANNER (visual indicator for Phase 1)
   ============================================================ */
.phase-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(26,42,26,0.85);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 16px;
}
.phase-banner strong { color: white; }
.phase-banner a { color: rgba(255,255,255,0.6); text-decoration: underline; font-size: 11px; }

/* ============================================================
   CHECKOUT  (checkout.php)
   ============================================================ */

/* ── Layout ──────────────────────────────────────────────────── */
.checkout-page {
  min-height: calc(100vh - var(--header-h));
  background: var(--bg);
  padding-top: var(--header-h);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.checkout-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  padding: 48px 48px 80px;
  align-items: start;
}

/* ── Step progress ───────────────────────────────────────────── */
.co-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
}
.co-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-mute);
}
.co-step.active { color: var(--brand); }
.co-step.done   { color: var(--success); }
.co-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.co-step.active .co-step-num { background: var(--brand); border-color: var(--brand); color: white; }
.co-step.done   .co-step-num { background: var(--success); border-color: var(--success); color: white; }
.co-step-sep {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 12px;
  min-width: 40px;
  max-width: 80px;
}
.co-step.done + .co-step-sep { background: var(--success); }
.co-step.active + .co-step-sep { background: var(--brand-lt); }

/* ── Form card ───────────────────────────────────────────────── */
.co-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: var(--shadow);
}
.co-card-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.co-card-sub {
  font-size: 15px;
  color: var(--ink-mute);
  margin-bottom: 36px;
}

/* ── Form fields ─────────────────────────────────────────────── */
.co-field {
  margin-bottom: 20px;
}
.co-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.co-input {
  width: 100%;
  height: 60px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0 20px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  background: white;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}
.co-input:focus  { outline: none; border-color: var(--brand); }
.co-input::placeholder { color: var(--ink-mute); font-weight: 400; }
.co-input.error  { border-color: #c0392b; }
.co-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Error message */
.co-error-msg {
  font-size: 13px;
  color: #c0392b;
  margin-top: 6px;
  display: block;
}
.co-form-error {
  background: #fdf0ed;
  border: 1.5px solid #e74c3c;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
  color: #c0392b;
  margin-bottom: 24px;
}

/* ── Participant rows ─────────────────────────────────────────── */
.participants-group {
  margin-bottom: 32px;
}
.participants-group-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--brand);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--border);
}
.participant-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.participant-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-lt);
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.participant-row .co-input {
  height: 54px;
  font-size: 16px;
}

/* ── T&Cs checkbox ───────────────────────────────────────────── */
.co-terms {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 28px 0;
  padding: 20px;
  background: var(--bg-warm);
  border-radius: var(--radius);
}
.co-terms input[type="checkbox"] {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
  margin-top: 2px;
  accent-color: var(--brand);
}
.co-terms label {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.5;
  cursor: pointer;
}
.co-terms a { color: var(--brand); text-decoration: underline; }

/* ── CTA buttons ─────────────────────────────────────────────── */
.co-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  align-items: center;
}
.btn-co-primary {
  height: 64px;
  padding: 0 40px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 19px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-co-primary:hover    { background: #a84d22; }
.btn-co-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-co-back {
  height: 64px;
  padding: 0 28px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-mute);
  cursor: pointer;
  transition: all 0.15s;
}
.btn-co-back:hover { border-color: var(--brand); color: var(--brand); }

/* ── Order summary ───────────────────────────────────────────── */
.co-summary {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.co-summary-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--border);
}
.co-summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.co-summary-item:last-of-type { border-bottom: none; }
.co-sum-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.co-sum-meta { font-size: 13px; color: var(--ink-mute); }
.co-sum-price { font-size: 16px; font-weight: 800; color: var(--brand); margin-top: 4px; }
.co-summary-total {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.co-sum-total-label { font-size: 16px; font-weight: 800; color: var(--ink); }
.co-sum-total-val   { font-size: 26px; font-weight: 900; color: var(--brand); letter-spacing: -0.5px; }

.co-secure-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 6px;
}
.co-secure-note svg { flex-shrink: 0; }

/* ── Confirm / Failed screens ────────────────────────────────── */
.co-result-screen {
  min-height: calc(100vh - var(--header-h));
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--header-h) 40px 80px;
}
.co-result-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 60px 72px;
  max-width: 680px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.co-result-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}
.co-result-icon.success { background: var(--success-lt); color: var(--success); }
.co-result-icon.failed  { background: #fdf0ed;           color: #c0392b; }
.co-result-icon svg { width: 40px; height: 40px; }
.co-result-title  { font-size: 32px; font-weight: 900; letter-spacing: -0.8px; margin-bottom: 12px; }
.co-result-sub    { font-size: 17px; color: var(--ink-mute); margin-bottom: 32px; line-height: 1.6; }
.co-result-ref {
  display: inline-block;
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 12px 24px;
  font-size: 22px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: 2px;
  margin-bottom: 32px;
}
.co-result-details {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: left;
  margin-bottom: 36px;
}
.co-result-details p { font-size: 14px; color: var(--ink-mid); margin-bottom: 6px; }
.co-result-details p:last-child { margin-bottom: 0; }
.co-result-details strong { font-weight: 700; color: var(--ink); }

/* ============================================================
   UTILS
   ============================================================ */
.hidden { display: none !important; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.divider { height: 1px; background: var(--border); margin: 20px 0; }
