:root {
  --bg: #0b0d14;
  --panel: #12151f;
  --panel-alt: #171b28;
  --line: #232838;
  --text: #ecedf4;
  --text-muted: #8891a3;
  --orange: #8d7cff;
  --blue: #35d6c4;
  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- NAV ---------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 24, 28, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 10px; height: 10px;
  background: var(--orange);
  border-radius: 1px;
  transform: rotate(45deg);
}
nav.links { display: flex; gap: 32px; }
nav.links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}
nav.links a:hover { color: var(--text); }
.nav-cta {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--orange);
  color: #1a1206;
  padding: 10px 18px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.mobile-links { display: none; }

/* ---------- HERO ---------- */
.hero {
  padding: 96px 0 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
}
h1 {
  font-family: var(--display);
  font-size: 52px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
h1 .hl { color: var(--orange); }
.hero p.lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange);
  color: #1a1206;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
}
.btn-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  padding: 14px 24px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.btn-secondary:hover { border-color: var(--text-muted); }

/* ---------- TICKET (signature element) ---------- */
.ticket {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}
.ticket-head .id { color: var(--text); }
.ticket-body { padding: 20px; }
.ticket-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.ticket-row:last-child { border-bottom: none; }
.ticket-row .k { color: var(--text-muted); font-family: var(--mono); font-size: 12px; }
.ticket-row .v { font-weight: 500; text-align: right; }

.status-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
}
.status-missed {
  color: #ff8fa3;
  border: 1px solid #4a1f2c;
  background: rgba(255, 90, 122, 0.08);
}
.status-booked {
  color: var(--blue);
  border: 1px solid #12463f;
  background: rgba(53, 214, 196, 0.08);
  animation: stampIn 0.6s ease 1.4s both;
}
@keyframes stampIn {
  0% { transform: scale(1.6) rotate(-8deg); opacity: 0; }
  60% { transform: scale(0.95) rotate(-8deg); opacity: 1; }
  100% { transform: scale(1) rotate(-8deg); opacity: 1; }
}
.ticket-footer {
  padding: 16px 20px;
  background: var(--panel-alt);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .status-booked { animation: none; }
}

/* ---------- SECTION GENERIC ---------- */
section { padding: 88px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 14px; }
h2 {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--text-muted); font-size: 16px; }

/* ---------- PROBLEM ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.problem-card {
  background: var(--panel);
  padding: 28px 24px;
}
.problem-card .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--orange);
  margin-bottom: 14px;
  display: block;
}
.problem-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.problem-card p { font-size: 14px; color: var(--text-muted); }

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.service-card h3 { font-size: 18px; font-weight: 600; }
.service-card p { font-size: 14px; color: var(--text-muted); flex-grow: 1; }
.service-icon {
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-note {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--panel-alt);
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 22px 24px;
}
.custom-note .mark {
  font-family: var(--mono);
  color: var(--orange);
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}
.custom-note p { font-size: 14px; color: var(--text-muted); }
.custom-note strong { color: var(--text); font-weight: 600; }

/* ---------- PROCESS ---------- */
.process-list { display: flex; flex-direction: column; }
.process-item {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.process-item:first-child { border-top: 1px solid var(--line); }
.process-num {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--orange);
}
.process-item h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.process-item .desc p { font-size: 14px; color: var(--text-muted); }

/* ---------- CTA ---------- */
.cta-section {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 96px 0;
  text-align: center;
}
.cta-section h2 { font-size: 36px; max-width: 640px; margin: 0 auto 16px; }
.cta-section p { color: var(--text-muted); max-width: 520px; margin: 0 auto 34px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner .brand { font-size: 15px; }

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  h1 { font-size: 38px; }
  .problem-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-item { grid-template-columns: 40px 1fr; }
  .process-item .desc { grid-column: 2 / 3; }
  nav.links { display: none; }
  .wrap { padding: 0 20px; }
}
