/* ============================================================
   CARSERVIS THEME — pneuservis / autoservis
   Design tokens + base + components + layout
   Adapted from Claude Design prototype (pneuserviske.sk)
   ============================================================ */

:root {
  /* Colors — warm, friendly, trustworthy */
  --bg: oklch(0.985 0.006 85);
  --bg-elevated: oklch(1 0 0);
  --bg-sunken: oklch(0.96 0.008 85);
  --bg-inverse: oklch(0.22 0.015 60);

  --ink-1: oklch(0.22 0.015 60);   /* primary text */
  --ink-2: oklch(0.42 0.015 60);   /* secondary text */
  --ink-3: oklch(0.60 0.012 60);   /* tertiary / meta */
  --ink-4: oklch(0.78 0.010 60);   /* disabled / borders-strong */

  --line: oklch(0.92 0.008 75);
  --line-strong: oklch(0.86 0.010 75);

  --accent: oklch(0.68 0.17 45);       /* mandarin */
  --accent-hover: oklch(0.62 0.18 45);
  --accent-soft: oklch(0.95 0.035 55);
  --accent-ink: oklch(0.35 0.12 45);

  --success: oklch(0.65 0.14 150);
  --success-soft: oklch(0.95 0.03 150);
  --success-ink: oklch(0.45 0.15 150);
  --warn: oklch(0.78 0.15 85);
  --warn-soft: oklch(0.96 0.04 85);
  --danger: oklch(0.60 0.19 25);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0.22 0.015 60 / 0.04), 0 1px 1px oklch(0.22 0.015 60 / 0.03);
  --shadow-md: 0 4px 12px oklch(0.22 0.015 60 / 0.06), 0 1px 3px oklch(0.22 0.015 60 / 0.04);
  --shadow-lg: 0 12px 32px oklch(0.22 0.015 60 / 0.08), 0 4px 10px oklch(0.22 0.015 60 / 0.04);

  /* Type */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink-1);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.003em;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  padding: 0;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }

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

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site main { flex: 1; }

/* ============================================================
   SITE HEADER
   ============================================================ */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 40px;
  background: oklch(0.14 0.012 60 / 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: white;
}
.site-header-brand-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--accent);
  display: grid; place-items: center;
  color: white;
  font-family: var(--font-display);
  font-size: 20px;
  flex-shrink: 0;
}
.site-header-nav { display: flex; gap: 4px; }
.site-header-nav a {
  padding: 8px 14px;
  border-radius: var(--r-full);
  font-size: 14px;
  color: oklch(1 0 0 / 0.7);
  transition: background .12s, color .12s;
}
.site-header-nav a:hover { background: oklch(1 0 0 / 0.08); color: white; }
.site-header-nav a.active { color: white; background: oklch(1 0 0 / 0.1); }
.site-header-actions { display: flex; align-items: center; gap: 10px; }
.site-header-actions .btn-ghost { color: oklch(1 0 0 / 0.7); }
.site-header-actions .btn-ghost:hover { background: oklch(1 0 0 / 0.08); color: white; }

.nav-toggle { display: none; color: white; }

/* mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 0;
  background: var(--bg-inverse);
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 24px;
  font-size: 15px;
  color: oklch(1 0 0 / 0.75);
}
.mobile-menu a:hover, .mobile-menu a.active { background: oklch(1 0 0 / 0.08); color: white; }

@media (max-width: 860px) {
  .site-header { padding: 12px 18px; }
  .site-header-nav, .hide-mobile { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-md); }
  .nav-toggle:hover { background: var(--bg-sunken); }
}

/* ============================================================
   ICONS
   ============================================================ */

.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background .12s, color .12s, transform .08s, box-shadow .12s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); color: white; }

.btn-ghost { color: var(--ink-1); background: transparent; }
.btn-ghost:hover { background: var(--bg-sunken); }

.btn-secondary { background: var(--bg-elevated); color: var(--ink-1); border: 1px solid var(--line); }
.btn-secondary:hover { background: var(--bg-sunken); }

.btn-dark { background: var(--ink-1); color: white; }
.btn-dark:hover { background: oklch(0.15 0.015 60); color: white; }

.btn-white { background: white; color: var(--accent-ink); }
.btn-white:hover { background: oklch(0.97 0.01 60); }

.btn-outline-light { color: white; background: transparent; border: 1px solid oklch(1 0 0 / 0.28); }
.btn-outline-light:hover { background: oklch(1 0 0 / 0.08); }

.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .12s, box-shadow .12s;
}
.card-interactive { cursor: pointer; }
.card-interactive:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }

/* ============================================================
   FORMS
   ============================================================ */

.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.field-help { font-size: 12px; color: var(--ink-3); }
.field-error { font-size: 12px; color: var(--danger); }

.input, .select, .textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--ink-1);
  outline: none;
  transition: border-color .12s, box-shadow .12s;
  width: 100%;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.68 0.17 45 / 0.15);
}
.input::placeholder { color: var(--ink-3); }
.textarea { min-height: 92px; resize: vertical; font-family: inherit; }

.star-rating { position: relative; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-rating input { position: absolute; opacity: 0; pointer-events: none; }
.star-rating label { color: var(--line-strong); cursor: pointer; transition: color .1s; line-height: 0; }
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label { color: var(--accent); }

/* ============================================================
   BADGES
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  font-family: var(--font-mono);
  text-transform: uppercase;
}
.badge-accent { background: var(--accent-soft); color: var(--accent-ink); }
.badge-success { background: var(--success-soft); color: var(--success-ink); }
.badge-warn { background: var(--warn-soft); color: oklch(0.45 0.13 75); }
.badge-neutral { background: var(--bg-sunken); color: var(--ink-2); border: 1px solid var(--line); }

/* ============================================================
   UTILITIES
   ============================================================ */

.container { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 32px; }

.section { padding: 72px 0; }
.section--sunken { background: var(--bg-sunken); }
.section--dark { background: var(--bg-inverse); color: oklch(0.92 0.008 75); }
.section--tight { padding: 48px 0; }

.serif { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.028em; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--ink-2); }
.quiet { color: var(--ink-3); }
.accent-text { color: var(--accent); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hr { height: 1px; background: var(--line); border: none; margin: 0; }
.row { display: flex; align-items: center; gap: 12px; }
.col { display: flex; flex-direction: column; gap: 12px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap { flex-wrap: wrap; }

@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fade-up .24s ease-out; }

/* ============================================================
   HERO (landing)
   ============================================================ */

.hero {
  position: relative;
  padding: 100px 0 64px;
  background: var(--bg-inverse);
  color: white;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    oklch(0.14 0.012 60 / 0.97) 0%,
    oklch(0.14 0.012 60 / 0.92) 32%,
    oklch(0.14 0.012 60 / 0.6) 55%,
    oklch(0.14 0.012 60 / 0.2) 78%,
    oklch(0.14 0.012 60 / 0) 100%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center;
}
.hero .eyebrow { color: oklch(1 0 0 / 0.55); }
.hero h1 { font-size: 72px; line-height: 1.02; margin: 14px 0 20px; letter-spacing: -0.025em; color: white; }
.hero-lead { font-size: 17px; color: oklch(1 0 0 / 0.7); max-width: 440px; line-height: 1.55; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }

.hero-floatcard {
  position: relative;
  background: var(--bg-elevated);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  max-width: 300px;
  margin-left: auto;
}
.hero-floatcard--lg { max-width: 360px; padding: 28px; }
.hero-floatcard-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.hero-floatcard-ic {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center;
}
.hero-floatcard--lg .hero-floatcard-ic { width: 48px; height: 48px; border-radius: 14px; }
.hero-floatcard--lg .hero-floatcard-title { font-size: 15px; }
.hero-floatcard--lg .hero-floatcard-slot-value { font-size: 32px; }
.hero-floatcard-title { font-size: 13px; font-weight: 500; color: var(--ink-1); line-height: 1.3; }
.hero-floatcard-slot-label { font-size: 12px; color: var(--ink-3); }
.hero-floatcard-slot-value { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--ink-1); margin: 2px 0 16px; }
.hero-floatcard-foot { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--ink-3); margin-top: 14px; }

/* ============================================================
   SERVICE CARDS / GRID
   ============================================================ */

.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.section-title { font-size: 42px; margin-top: 10px; letter-spacing: -0.02em; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-card { padding: 24px; display: flex; flex-direction: column; gap: 16px; min-height: 220px; }
.svc-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-ink); flex-shrink: 0; font-size: 22px; }
.svc-icon--lg { width: 56px; height: 56px; border-radius: 14px; font-size: 26px; }
.svc-card-name { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.svc-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-price-label { font-size: 11px; color: var(--ink-3); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }
.svc-price { font-family: var(--font-display); font-weight: 600; font-size: 22px; }

/* catalog two-col rows */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc-row { padding: 24px; display: flex; gap: 20px; align-items: flex-start; }
.svc-row p { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin: 2px 0 14px; }
.svc-row-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.filter-bar { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }

/* ============================================================
   STEPS (how it works)
   ============================================================ */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { text-align: center; position: relative; }
.step::after {
  content: '';
  position: absolute; top: 32px; left: calc(50% + 44px); right: calc(-50% + 44px);
  border-top: 2px dashed var(--line-strong);
}
.step:last-child::after { display: none; }
.step-ic {
  position: relative; z-index: 1;
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 999px;
  background: var(--bg-elevated); border: 1px solid var(--line);
  color: var(--accent);
  display: grid; place-items: center;
}
.step .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.08em; display: block; }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin-top: 6px; letter-spacing: -0.015em; }
.step p { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin-top: 8px; max-width: 230px; margin-left: auto; margin-right: auto; }

/* WHY US / feature list */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature { display: flex; gap: 16px; }
.feature-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--bg-sunken); border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }
.feature h4 { font-weight: 500; font-size: 15px; }
.feature p { color: var(--ink-2); font-size: 14px; margin-top: 2px; }

.testimonial { background: var(--bg-inverse); color: white; border-radius: var(--r-2xl); padding: 32px; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; }
.testimonial-stars { display: flex; gap: 2px; color: var(--accent); margin-bottom: 16px; }
.testimonial-quote { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.3; letter-spacing: -0.01em; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid oklch(1 0 0 / 0.1); }
.testimonial-author img { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; }

/* CTA band */
.cta-band { background: var(--accent); color: white; border-radius: var(--r-2xl); padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { font-family: var(--font-display); font-weight: 600; font-size: 44px; letter-spacing: -0.02em; margin-bottom: 12px; color: white; }
.cta-band p { font-size: 16px; opacity: 0.9; max-width: 420px; line-height: 1.5; }
.cta-band-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* check list (service detail includes) */
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check-dot { width: 22px; height: 22px; border-radius: 999px; background: var(--success-soft); color: var(--success-ink); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; font-size: 13px; }

/* ============================================================
   SERVICE DETAIL
   ============================================================ */

.detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; }
.detail-hero { aspect-ratio: 16/9; border-radius: var(--r-xl); overflow: hidden; margin-bottom: 24px; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-title { font-size: 56px; letter-spacing: -0.025em; margin-bottom: 16px; line-height: 1.05; }
.detail-lead { font-size: 17px; color: var(--ink-2); line-height: 1.55; max-width: 560px; margin-bottom: 32px; }
.detail-aside .card { padding: 24px; position: sticky; top: 96px; }
.price-big { font-family: var(--font-display); font-weight: 600; font-size: 48px; letter-spacing: -0.02em; line-height: 1; }
.meta-rows { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.meta-rows > div { display: flex; justify-content: space-between; }
.label-mono { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); font-family: var(--font-mono); margin-bottom: 14px; }

/* ============================================================
   AUTH
   ============================================================ */

.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.auth-intro { max-width: 440px; }
.auth-intro h1 { font-size: 48px; letter-spacing: -0.025em; margin: 12px 0 20px; line-height: 1.05; }
.auth-perks { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.auth-perk { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.auth-perk span.ic-box { width: 30px; height: 30px; border-radius: 8px; background: var(--bg-sunken); border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }
.auth-card { padding: 32px; }
.auth-tabs { display: flex; gap: 4px; background: var(--bg-sunken); padding: 4px; border-radius: 999px; margin-bottom: 24px; }
.auth-tabs a { flex: 1; padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; text-align: center; color: var(--ink-3); }
.auth-tabs a.active { background: var(--bg-elevated); color: var(--ink-1); box-shadow: var(--shadow-sm); }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 8px 0; }
.auth-divider > div { flex: 1; height: 1px; background: var(--line); }
.auth-divider span { font-size: 11px; color: var(--ink-3); font-family: var(--font-mono); letter-spacing: 0.08em; }

/* ============================================================
   BOOKING WIZARD
   ============================================================ */

.wizard { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.stepper { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.stepper-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.stepper-item .dot { width: 26px; height: 26px; border-radius: 999px; border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; flex-shrink: 0; }
.stepper-item.active { color: var(--ink-1); font-weight: 500; }
.stepper-item.active .dot { background: var(--accent); color: white; border-color: var(--accent); }
.stepper-item.done .dot { background: var(--success-soft); color: var(--success-ink); border-color: transparent; }
.stepper-sep { flex: 1; min-width: 12px; height: 1px; background: var(--line); align-self: center; }

.pick { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color .12s, background .12s; }
.pick:hover { border-color: var(--line-strong); }
.pick.selected { border-color: var(--accent); background: var(--accent-soft); }
.pick input { margin-top: 3px; }
.pick-title { font-weight: 500; }
.pick-meta { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

.summary .card { padding: 24px; position: sticky; top: 96px; }
.summary-line { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; }
.summary-total { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 600; font-size: 20px; padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--line); }

/* calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-head { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; color: var(--ink-3); text-align: center; padding: 4px 0; }
.cal-day { aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--r-sm); display: grid; place-items: center; font-size: 14px; cursor: pointer; transition: border-color .12s, background .12s; }
.cal-day:hover:not(.disabled) { border-color: var(--accent); }
.cal-day.disabled { color: var(--ink-4); cursor: default; background: var(--bg-sunken); opacity: .5; }
.cal-day.selected { background: var(--accent); color: white; border-color: var(--accent); }
.cal-empty { aspect-ratio: 1; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot { padding: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); text-align: center; font-size: 14px; font-family: var(--font-mono); cursor: pointer; transition: border-color .12s, background .12s; }
.slot:hover { border-color: var(--accent); }
.slot.selected { background: var(--accent); color: white; border-color: var(--accent); }
.slot.taken { color: var(--ink-4); background: var(--bg-sunken); cursor: default; text-decoration: line-through; opacity: .55; }

/* success */
.success-wrap { max-width: 560px; margin: 0 auto; text-align: center; padding: 40px 0; }
.success-ring { width: 84px; height: 84px; border-radius: 999px; background: var(--success-soft); color: var(--success-ink); display: grid; place-items: center; margin: 0 auto 24px; font-size: 40px; }

/* ============================================================
   DASHBOARD / ACCOUNT
   ============================================================ */

.dash { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.dash-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; }
.dash-user { display: flex; align-items: center; gap: 12px; padding: 4px 8px 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.dash-avatar { width: 42px; height: 42px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-md); font-size: 14px; color: var(--ink-2); transition: background .12s, color .12s; }
.dash-nav a:hover { background: var(--bg-sunken); color: var(--ink-1); }
.dash-nav a.active { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-card { padding: 20px; }
.stat-card .v { font-family: var(--font-display); font-weight: 600; font-size: 34px; letter-spacing: -0.02em; line-height: 1; }
.stat-card .k { font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); margin-top: 8px; }

.list-card { padding: 0; overflow: hidden; }
.list-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: none; }
.list-row .grow { flex: 1; min-width: 0; }
.list-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-sunken); display: grid; place-items: center; flex-shrink: 0; color: var(--ink-2); }

.car-card { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.car-plate { font-family: var(--font-mono); font-size: 13px; background: var(--bg-sunken); border: 1px solid var(--line); padding: 4px 10px; border-radius: var(--r-sm); display: inline-block; }
.kv { display: flex; justify-content: space-between; font-size: 13px; padding: 3px 0; }
.kv .k { color: var(--ink-3); }

.timeline-item { display: flex; gap: 16px; }
.timeline-dot { width: 12px; height: 12px; border-radius: 999px; background: var(--accent); margin-top: 6px; flex-shrink: 0; position: relative; }
.timeline-item:not(:last-child) .timeline-dot::after { content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 1px; height: calc(100% + 8px); background: var(--line); }

/* ============================================================
   ABOUT / CONTACT
   ============================================================ */

.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.about-media { aspect-ratio: 4/5; border-radius: var(--r-2xl); overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-title { font-size: 64px; letter-spacing: -0.025em; margin: 12px 0 20px; line-height: 1.02; }
.bignum-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bignum .n { font-family: var(--font-display); font-weight: 600; font-size: 48px; letter-spacing: -0.025em; line-height: 1; }
.bignum .l { font-size: 13px; color: var(--ink-3); margin-top: 8px; font-family: var(--font-mono); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--bg-sunken); border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer { background: var(--bg-inverse); color: oklch(0.92 0.008 75); padding: 56px 0 32px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer-col h6 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: oklch(1 0 0 / 0.4); font-family: var(--font-mono); margin-bottom: 14px; font-weight: 500; }
.footer-col a, .footer-col span, .footer-col p { display: block; font-size: 13px; color: oklch(1 0 0 / 0.75); margin-bottom: 8px; line-height: 1.5; }
.footer-col a:hover { color: white; }
.footer-lead { color: oklch(1 0 0 / 0.55); max-width: 320px; }
.footer-bottom { max-width: 1120px; margin: 32px auto 0; padding: 20px 40px 0; border-top: 1px solid oklch(1 0 0 / 0.08); display: flex; justify-content: space-between; font-size: 12px; color: oklch(1 0 0 / 0.4); flex-wrap: wrap; gap: 8px; }

/* ============================================================
   FLASH MESSAGES
   ============================================================ */

.flash { padding: 14px 18px; border-radius: var(--r-md); font-size: 14px; margin-bottom: 16px; display: flex; gap: 10px; align-items: center; }
.flash-success { background: var(--success-soft); color: var(--success-ink); }
.flash-error { background: oklch(0.95 0.04 25); color: var(--danger); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
  .split, .auth-grid, .detail-grid, .wizard, .about-grid, .contact-grid, .cta-band { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-floatcard, .hero-floatcard--lg { margin: 0; max-width: 340px; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { position: static; flex-direction: row; overflow-x: auto; }
  .dash-nav { display: flex; gap: 4px; }
  .dash-user { display: none; }
  .detail-aside .card, .summary .card { position: static; }
  .cta-band-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .container, .container-narrow { padding: 0 18px; }
  .section { padding: 48px 0; }
  .hero { padding: 40px 0 48px; }
  .hero h1 { font-size: 44px; }
  .section-title, .cta-band h2 { font-size: 32px; }
  .detail-title, .auth-intro h1 { font-size: 36px; }
  .about-title { font-size: 40px; }
  .svc-grid, .svc-list, .steps, .stat-grid { grid-template-columns: 1fr; }
  .steps { gap: 28px; }
  .step::after { display: none; }
  .bignum-grid { grid-template-columns: 1fr 1fr; }
  .bignum .n { font-size: 36px; }
  .cta-band { padding: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { padding: 20px 18px 0; }
}
