/* ─── DESIGN SYSTEM TOKENS ───────────────────────────────── */
:root {
  /* Surface palette */
  --surface: #fff9ef;
  --surface-dim: #e1d9c7;
  --surface-container-lo: #fbf3e0;
  --surface-container: #f6edda;
  --surface-container-hi: #f0e7d5;
  --surface-highest: #eae2cf;
  --on-surface: #1f1b10;
  --on-surface-var: #4d4732;
  --outline: #7e775f;
  --outline-var: #d0c6ab;

  /* Primary – Sunny Yellow */
  --primary: #705d00;
  --on-primary: #ffffff;
  --primary-container: #ffd700;
  --on-primary-container: #705e00;

  /* Secondary – Sky Blue */
  --secondary: #0061a5;
  --secondary-container: #0095f8;
  --on-secondary: #ffffff;
  --on-secondary-fixed: #001d36;

  /* Tertiary – Playful Red */
  --tertiary: #ba1724;
  --on-tertiary: #ffffff;
  --tertiary-container: #ffceca;
  --on-tertiary-container: #bb1824;

  /* Semantic aliases (keep backward compat) */
  --yellow: var(--primary-container);
  --yellow-dark: var(--primary);
  --ink: var(--on-surface);
  --ink-muted: var(--on-surface-var);
  --white: #ffffff;
  --card-bg: #ffffff;
  --blue: var(--secondary);
  --blue-bg: #d2e4ff;
  --orange: #c96e00;
  --orange-bg: #fff4e5;
  --red: var(--tertiary);
  --red-bg: var(--tertiary-container);
  --purple: #5c3b9e;
  --purple-bg: #f0ecff;

  /* Info note / mission perk tint (overridable per event) */
  --info-bg: var(--blue-bg);
  --info-border: #b6d4f7;
  --info-text: var(--on-secondary-fixed);
  --info-accent: var(--secondary);
  --mission-border: rgba(0, 97, 165, .22);
  --mission-bg: linear-gradient(135deg, #f0f7ff 0%, #fff9ef 100%);

  /* Shape */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-card: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Elevation shadows (tinted yellow) */
  --shadow-card: 0 1px 2px rgba(112, 93, 0, .06), 0 2px 8px rgba(112, 93, 0, .08);
  --shadow-card-hover: 0 4px 8px rgba(112, 93, 0, .10), 0 12px 28px rgba(112, 93, 0, .13);
  --shadow-btn: 0 2px 8px rgba(112, 93, 0, .30);
  --shadow-btn-hover: 0 6px 20px rgba(112, 93, 0, .38);

  /* Spacing (8px grid) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lexend', sans-serif;
  background: var(--surface);
  color: var(--on-surface);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.5;
}

/* ─── SCROLL ANIMATIONS ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out-expo),
    transform 0.65s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

/* ─── LAYOUT ──────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  background: var(--primary-container);
  border-radius: var(--radius-xl);
  margin: var(--space-3) var(--space-3) 0;
  padding: var(--space-6) 52px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-4);
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* subtle confetti dots in hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .28) 2px, transparent 2px),
    radial-gradient(circle, rgba(112, 93, 0, .08) 1px, transparent 1px);
  background-size: 40px 40px, 20px 20px;
  background-position: 0 0, 10px 10px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tertiary);
  color: var(--on-tertiary);
  font-family: 'Lexend', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
  animation: badgePop 0.5s var(--ease-out-expo) both;
}

@keyframes badgePop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin-bottom: var(--space-2);
  animation: slideUp 0.7s 0.1s var(--ease-out-expo) both;
}

.hero p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--on-surface-var);
  margin-bottom: var(--space-4);
  animation: slideUp 0.7s 0.2s var(--ease-out-expo) both;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: slideUp 0.7s 0.3s var(--ease-out-expo) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  min-height: 48px;
  transition: transform 0.18s var(--ease-out-expo),
    box-shadow 0.18s var(--ease-out-expo),
    background 0.12s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: none !important;
}

.btn-header {
  background: var(--on-primary-container);
  color: white;
  box-shadow: var(--shadow-btn);

}

/* Primary: Sunny Yellow with press effect */
.btn-primary {
  background: var(--primary-container);
  color: var(--on-primary-container);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover,
.btn-header:hover {
  box-shadow: var(--shadow-btn-hover);
}

.btn-primary:active {
  background: #e9c400;
}

/* Outline: Sky Blue */
.btn-outline {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn-outline:hover {
  background: rgba(0, 97, 165, .06);
}

/* ─── HERO ILLUSTRATION ───────────────────────────────────── */
.hero-illustration {
  position: relative;
  z-index: 1;
  animation: floatIn 0.8s 0.2s var(--ease-out-expo) both;
}

@keyframes floatIn {
  from {
    transform: translateX(30px) rotate(2deg);
    opacity: 0;
  }

  to {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
}

.hero-illustration img {
  width: 100%;
  border-radius: 20px;
  display: block;
  box-shadow: 0 16px 48px rgba(28, 26, 20, .22);
}

/* SVG placeholder when no image */
.hero-illustration-placeholder {
  width: 100%;
  aspect-ratio: 1 / 0.85;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff3a0 0%, #ffe066 40%, #ffd000 100%);
  box-shadow: 0 16px 48px rgba(28, 26, 20, .22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  gap: 8px;
  border: 3px solid rgba(255, 255, 255, .5);
  position: relative;
  overflow: hidden;
}

.hero-illustration-placeholder::before {
  content: attr(data-emoji);
  font-size: 56px;
  display: block;
  text-align: center;
}

.hero-illustration-placeholder .illus-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  padding: 0 16px;
}

/* ─── SECTION ─────────────────────────────────────────────── */
section {
  padding: 56px 0 0;
}

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}

/* ─── INSTALLATION CARD ───────────────────────────────────── */
.install-card {
  background: var(--white);
  border: 1.5px solid var(--outline-var);
  border-left: 5px solid var(--primary-container);
  border-radius: var(--radius-card);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s var(--ease-out-expo),
    transform 0.25s var(--ease-out-expo);
}

.install-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.install-card-body {
  flex: 1;
}

.install-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-1);
}

.install-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--on-surface-var);
  margin-bottom: var(--space-2);
}

.time-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-container-lo);
  border: 1.5px solid var(--outline-var);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--on-surface-var);
}

/* Install CTA reuses .btn-primary — just add sizing */
.btn-sign {
  white-space: nowrap;
  padding: 14px 32px;
  font-size: 15px;
}

/* ─── INFO NOTE ──────────────────────────────────────────── */
.info-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--info-bg);
  border: 1.5px solid var(--info-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: var(--space-3);
  color: var(--info-accent);
  font-size: 14px;
  line-height: 1.6;
}

.info-note p {
  margin: 0;
  color: var(--info-text, #001d36);
}

.info-note strong {
  color: var(--info-accent);
}

/* ─── STATION GRID ────────────────────────────────────────── */
.stations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  padding-bottom: 72px;
}

/* ─── STATION CARD ────────────────────────────────────────── */
.station-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1.5px solid var(--outline-var);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s var(--ease-out-expo),
    transform 0.3s var(--ease-out-expo);
}

.station-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
}

.station-card-top {
  height: 6px;
  flex-shrink: 0;
}

.station-card-body {
  padding: var(--space-3) var(--space-3) var(--space-2);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.station-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-2);
  flex-shrink: 0;
}

.station-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
  color: var(--on-surface);
}

.station-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--on-surface-var);
  margin-bottom: var(--space-2);
}

/* ─── SLOTS ───────────────────────────────────────────────── */
.slots {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-2);
  flex: 1;
}

.slot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--surface-container-lo);
  border: 1px solid var(--surface-highest);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  min-height: 48px;
  transition: background 0.15s, border-color 0.15s;
}

.slot-row:hover {
  background: var(--surface-container-hi);
  border-color: var(--outline-var);
}

.slot-row--full {
  opacity: .55;
  pointer-events: none;
}

.slot-row--full .slot-time {
  text-decoration: line-through;
  text-decoration-color: var(--outline);
}

.slot-time {
  color: var(--on-surface);
}

/* Pill-shaped chips for slot counts */
.slot-badge {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.slot-loading {
  background: var(--surface-highest);
  color: transparent;
  border-radius: var(--radius-sm);
  width: 64px;
  height: 22px;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {

  0%,
  100% {
    opacity: .4;
  }

  50% {
    opacity: .9;
  }
}

/* ─── BOOK BUTTON ─────────────────────────────────────────── */
.btn-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  font-family: 'Lexend', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border-width: 2px;
  border-style: solid;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
  transition: transform 0.2s var(--ease-out-expo),
    background 0.15s,
    color 0.15s,
    box-shadow 0.15s;
}

.btn-book:hover {
  transform: translateY(-2px);
}

.btn-book:active {
  transform: translateY(1px);
}

.btn-book--full {
  border-color: var(--outline-var) !important;
  color: var(--outline) !important;
  background: var(--surface-container-lo) !important;
  cursor: default;
  pointer-events: none;
  opacity: 0.8;
  transform: none !important;
  box-shadow: none !important;
}

/* ─── COLOR VARIANTS ──────────────────────────────────────── */
/* Blue (Secondary — Sky Blue) */
.v-blue .station-card-top {
  background: var(--secondary);
}

.v-blue .station-icon {
  background: var(--blue-bg);
}

.v-blue .btn-book {
  border-color: var(--secondary);
  color: var(--secondary);
}

.v-blue .btn-book:hover {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 97, 165, .3);
}

.v-blue .slot-badge.many {
  background: var(--secondary);
  color: #fff;
}

/* Orange */
.v-orange .station-card-top {
  background: var(--orange);
}

.v-orange .station-icon {
  background: var(--orange-bg);
}

.v-orange .btn-book {
  border-color: var(--orange);
  color: var(--orange);
}

.v-orange .btn-book:hover {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(201, 110, 0, .3);
}

.v-orange .slot-badge.few {
  background: var(--on-surface);
  color: #fff;
}

/* Red (Tertiary — Playful Red) */
.v-red .station-card-top {
  background: var(--tertiary);
}

.v-red .station-icon {
  background: var(--red-bg);
}

.v-red .btn-book {
  border-color: var(--tertiary);
  color: var(--tertiary);
}

.v-red .btn-book:hover {
  background: var(--tertiary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(186, 23, 36, .3);
}

.v-red .slot-badge.mid {
  background: var(--tertiary);
  color: #fff;
}

/* Purple */
.v-purple .station-card-top {
  background: var(--purple);
}

.v-purple .station-icon {
  background: var(--purple-bg);
}

.v-purple .btn-book {
  border-color: var(--purple);
  color: var(--purple);
}

.v-purple .btn-book:hover {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 4px 14px rgba(92, 59, 158, .3);
}

.v-purple .slot-badge.few {
  background: var(--on-surface);
  color: #fff;
}

/* Generic badge fallbacks */
.slot-badge.many {
  background: var(--secondary);
  color: #fff;
}

.slot-badge.mid {
  background: var(--tertiary);
  color: #fff;
}

.slot-badge.few {
  background: var(--on-surface);
  color: #fff;
}

.slot-badge.none {
  background: var(--outline);
  color: #fff;
}

/* ─── PERKS ROW ──────────────────────────────────────────── */
.perks-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.perk-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  border: 1.5px solid var(--outline-var);
  box-shadow: var(--shadow-card);
}

.perk-emoji {
  font-size: 34px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.perk-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 5px;
  line-height: 1.3;
}

.perk-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--on-surface-var);
  margin: 0;
}

.perk-card--drink {
  border-color: rgba(112, 93, 0, .30);
  background: linear-gradient(135deg, #fffde8 0%, #fff9ef 100%);
}

.perk-card--mission {
  border-color: var(--mission-border);
  background: var(--mission-bg);
}

@media (max-width: 600px) {
  .perks-row {
    grid-template-columns: 1fr;
  }
}

/* ─── FOOTER SPACE ────────────────────────────────────────── */
.spacer {
  height: 40px;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: var(--space-4) var(--space-4);
  }

  .hero-illustration {
    order: -1;
    max-width: 260px;
    margin: 0 auto;
  }

  .stations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .install-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .hero {
    margin: var(--space-2) var(--space-2) 0;
    padding: var(--space-3);
  }

  .container {
    padding: 0 var(--space-2);
  }

  .stations-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── MODAL OVERLAY ──────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 27, 16, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out-expo),
    visibility 0.25s var(--ease-out-expo);
}

.modal-overlay.modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  max-height: 96vh;
  overflow-y: auto;
  padding: var(--space-4) var(--space-4) var(--space-6);
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s var(--ease-out-expo);
  box-shadow: 0 24px 80px rgba(31, 27, 16, .28);
}

.modal--open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-card[data-variant="v-blue"]::before {
  background: var(--secondary);
}

.modal-card[data-variant="v-orange"]::before {
  background: var(--orange);
}

.modal-card[data-variant="v-red"]::before {
  background: var(--tertiary);
}

.modal-card[data-variant="v-purple"]::before {
  background: var(--purple);
}

.modal-card[data-variant="v-install"]::before {
  background: var(--primary-container);
}

.modal-card[data-variant="v-blue"] .slot-option--selected {
  border-color: var(--secondary);
  background: rgba(0, 97, 165, .07);
}

.modal-card[data-variant="v-orange"] .slot-option--selected {
  border-color: var(--orange);
  background: rgba(201, 110, 0, .07);
}

.modal-card[data-variant="v-red"] .slot-option--selected {
  border-color: var(--tertiary);
  background: rgba(186, 23, 36, .07);
}

.modal-card[data-variant="v-purple"] .slot-option--selected {
  border-color: var(--purple);
  background: rgba(92, 59, 158, .07);
}

.modal-card .form-field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, .40);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--surface-container);
  color: var(--on-surface-var);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.modal-close:hover {
  background: var(--surface-highest);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  padding-top: 8px;
}

.modal-station-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--surface-container);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.modal-pre-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--on-surface-var);
  margin-bottom: 3px;
}

.modal-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.25;
}

.modal-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--on-surface-var);
  margin-bottom: 10px;
}

.modal-slots {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-3);
}

.slot-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface-container-lo);
  border: 2px solid var(--surface-highest);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}

.slot-option:hover:not(.slot-option--full):not(.slot-option--selected) {
  background: var(--surface-container);
  border-color: var(--outline-var);
}

.slot-option--full {
  opacity: .5;
  cursor: not-allowed;
}

.slot-option-time {
  font-size: 14px;
  font-weight: 600;
  color: var(--on-surface);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--on-surface-var);
}

.form-field input {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--outline-var);
  background: var(--surface-container-lo);
  font-family: 'Lexend', sans-serif;
  font-size: 15px;
  color: var(--on-surface);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-field input::placeholder {
  color: var(--outline);
}

.booking-error {
  padding: 10px 14px;
  background: var(--tertiary-container);
  border: 1px solid rgba(186, 23, 36, .2);
  border-radius: var(--radius-md);
  color: var(--on-tertiary-container);
  font-size: 13px;
  font-weight: 500;
}

.btn-booking-submit {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 14px 24px;
}

.btn-booking-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.modal-success {
  text-align: center;
  padding: var(--space-4) var(--space-2) var(--space-2);
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: #e6f9ee;
  color: #1a7a44;
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-2);
}

.modal-success h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.modal-success p {
  color: var(--on-surface-var);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: var(--space-3);
}

@media (max-width: 540px) {
  .modal-card {
    padding: var(--space-3);
    border-radius: var(--radius-card);
  }
}

/* ─── INSTALL MODAL SPECIFICS ─────────────────────────────── */
.modal-info-box {
  display: flex;
  gap: 12px;
  background: rgba(255, 215, 0, .18);
  border: 1.5px solid rgba(112, 93, 0, .20);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: var(--space-3);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--on-surface-var);
}

.modal-info-box svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

/* Yes/No availability toggle */
.avail-toggle {
  display: flex;
  gap: 10px;
}

.avail-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  background: var(--surface-container-lo);
  border: 2px solid var(--surface-highest);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--on-surface);
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
  text-align: center;
}

.avail-option:hover:not(.avail-option--selected) {
  background: var(--surface-container);
  border-color: var(--outline-var);
}

.avail-option--selected {
  border-color: var(--primary);
  background: rgba(255, 215, 0, .18);
}

/* Conditional time field */
.time-reveal {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s var(--ease-out-expo),
    opacity 0.25s var(--ease-out-expo),
    margin 0.25s var(--ease-out-expo);
  margin-top: 0;
}

.time-reveal.time-reveal--open {
  max-height: 100px;
  opacity: 1;
  margin-top: var(--space-2);
}

/* Comment textarea */
.form-field textarea {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--outline-var);
  background: var(--surface-container-lo);
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  color: var(--on-surface);
  outline: none;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-field textarea::placeholder {
  color: var(--outline);
}

.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, .40);
}

/* ─── V-INSTALL / V-TEARDOWN / V-LOAN badge tint (fixed-time signup cards) ─── */
.v-install .btn-book,
.v-teardown .btn-book,
.v-loan .btn-book {
  border-color: var(--primary);
  color: var(--primary);
}

/* ─── CLOSED EVENT STATE ──────────────────────────────────── */
.closed-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1.5px solid var(--outline-var);
  box-shadow: var(--shadow-card);
  padding: var(--space-5);
  margin: var(--space-4) 0 var(--space-6);
  text-align: center;
}

.closed-card h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.closed-card p {
  color: var(--on-surface-var);
  font-size: 15px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}
