/* ---------- Shared design tokens & basics ---------- */
:root {
  --ink: #0D0E10;
  --ink-2: #1A1C20;
  --ink-3: #2E3035;
  --paper: #F4F4F1;
  --card: #FFFFFF;
  --line: #E4E3DE;
  --line-2: #D5D4CE;
  --muted: #5A5D63;
  --muted-2: #8E9197;
  --lime: #D4F23B;
  --lime-ink: #6E8A00;
  --lime-soft: #F2F8D6;
  --red: #B42318;
  --red-soft: #FDECEC;
  --green: #1A6B43; --green-soft: #E6F4EC;
  --blue: #21509C; --blue-soft: #E6EEFB;
  --amber: #8A4A0C; --amber-soft: #FCEEE2;
  --yellow: #7A5600; --yellow-soft: #FFF4D6;
  --r-sm: 12px; --r: 18px; --r-lg: 26px; --r-xl: 32px;
  --shadow: 0 18px 44px rgba(13, 14, 16, .10);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --mono: 'Share Tech Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --violet: #7C5CFF;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 3px solid #8FB000; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.ic { display: inline-flex; width: 18px; height: 18px; flex: none; }
.ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 800; text-decoration: none; transition: transform .12s ease, filter .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { filter: brightness(.95); }
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark .ic { color: var(--lime); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-ghost-dark { background: transparent; border-color: #3A3D42; color: #fff; }
.btn-danger { background: var(--red); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--paper); color: var(--ink); transition: transform .12s ease, background .15s; flex: none; }
.icon-btn:hover { background: #E9E9E4; }
.icon-btn:active { transform: scale(.94); }

/* segmented + chips */
.seg { display: inline-flex; gap: 2px; background: #ECECE7; border-radius: 999px; padding: 4px; flex-wrap: wrap; }
.seg button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 600; color: #3A3D42; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--ink); color: #fff; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; transition: transform .12s; }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--ink); font-weight: 700; }

/* switch */
.switch { position: relative; width: 48px; height: 28px; border-radius: 999px; background: var(--line-2); flex: none; transition: background .2s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s, background .2s; }
[aria-checked="true"] > .switch, .switch.on { background: var(--ink); }
[aria-checked="true"] > .switch::after, .switch.on::after { transform: translateX(20px); background: var(--lime); }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #3F4247; }
.input, .select, .textarea { width: 100%; min-height: 50px; border: 1px solid var(--line-2); border-radius: 14px; padding: 0 14px; font-size: 16px; font-weight: 500; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.textarea { padding: 12px 14px; min-height: 110px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(212, 242, 59, .55); }
.input.err { border-color: var(--red); }
.alert { border-radius: 14px; padding: 12px 16px; font-size: 14px; font-weight: 700; background: var(--red-soft); color: var(--red); }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-available { background: var(--green-soft); color: var(--green); }
.st-rented { background: var(--blue-soft); color: var(--blue); }
.st-service { background: var(--amber-soft); color: var(--amber); }
.st-pending { background: var(--yellow-soft); color: var(--yellow); }
.st-accepted { background: var(--green-soft); color: var(--green); }
.st-declined { background: #EFEFEC; color: var(--muted); }

/* car art */
.car-art { width: 100%; height: auto; display: block; }
.media { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .car-art { width: 86%; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 20px 12px 12px; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; box-shadow: 0 16px 40px rgba(13, 14, 16, .28); z-index: 100; transition: transform .25s ease, opacity .25s ease; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast-ic { width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* modal */
.modal-bg { position: fixed; inset: 0; background: rgba(13, 14, 16, .5); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 90; animation: fade .2s ease; }
.modal { background: #fff; border-radius: var(--r-lg); padding: 28px; width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 14px; animation: pop .22s ease; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; padding-top: 6px; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.anim-up { animation: up .45s ease both; }

/* language switch */
.lang { display: inline-flex; gap: 2px; border-radius: 999px; padding: 4px; background: #E7E7E2; }
.lang button { min-width: 42px; height: 34px; border: 0; border-radius: 999px; background: transparent; font-size: 13px; font-weight: 700; color: #4A4D52; text-transform: uppercase; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.fb-art { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.fb-art .car-art { width: 86%; }
.hero-car .fb-art .car-art, .gallery .fb-art .car-art { width: 92%; }

/* dukagjini.studio wordmark */
.dlogo { font-family: var(--mono); font-weight: 400; font-size: 22px; letter-spacing: .01em; line-height: 1; white-space: nowrap; color: inherit; }
.dlogo .dot { color: var(--violet); }
.dlogo .cursor { display: inline-block; width: .6em; height: .12em; margin-left: .08em; background: var(--violet); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-tag { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; background: rgba(124, 92, 255, .12); color: #5B3FE0; white-space: nowrap; }
.demo-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
