:root {
  --bg: #f6f7f9; --surface: #ffffff; --text: #0f172a; --muted: #5b6475;
  --line: #e3e6ec; --accent: #1d4ed8; --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f17; --surface: #121826; --text: #e6e9ef; --muted: #9aa3b2;
    --line: #232b3b; --accent: #4f7cff; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Georgian", "Noto Sans", sans-serif;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* bilingual: Georgian by default, English when <html lang="en"> */
html[lang="ka"] [data-l="en"], html[lang="en"] [data-l="ka"] { display: none; }

.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: .2px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang button { font: inherit; font-size: 13px; padding: 5px 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--accent); color: #fff; }

.hero { padding: 48px 0 28px; }
.hero h1 { margin: 0 0 8px; font-size: clamp(28px, 5vw, 40px); line-height: 1.15; letter-spacing: -.5px; }
.hero p { margin: 0; color: var(--muted); max-width: 60ch; }

.grid { list-style: none; margin: 0; padding: 0 0 48px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card {
  display: flex; flex-direction: column; height: 100%; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  color: inherit; text-decoration: none; box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mark { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 700; font-size: 18px; }
.tag { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.card h2 { margin: 0 0 6px; font-size: 20px; }
.card p { margin: 0 0 18px; color: var(--muted); font-size: 15px; flex: 1; }
.dest { font-size: 14px; font-weight: 600; color: var(--accent); }
.dest i { font-style: normal; display: inline-block; transition: transform .15s ease; }
.card:hover .dest i { transform: translateX(3px); }

.foot { padding: 24px 16px 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .card, .dest i { transition: none; } .card:hover { transform: none; } }
