/* ============================================================
   OMEGA DRIVE — Design System
   Hub Kompetencji Kierowcy i Operatora
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* Brand palette — black & yellow */
  --yale: #161616;        /* dark section bg */
  --yale-900: #000000;    /* darkest — topbar / footer */
  --yale-700: #2c2c2c;
  --cerulean: #ffc400;     /* primary YELLOW (fills, CTA) */
  --cerulean-600: #e8a800; /* deep yellow */
  --gold-ink: #8a6400;     /* dark gold — readable on light bg */
  --bluebell: #ffd43b;
  --frozen: #ffd84d;       /* yellow accent on dark */
  --frosted: #ffe680;

  /* Neutrals (warm grayscale) */
  --bg: #f6f6f3;
  --bg-2: #ededea;
  --surface: #ffffff;
  --ink: #131312;
  --ink-2: #3a3a38;
  --muted: #787873;
  --line: #e7e7e2;
  --line-strong: #d2d2cc;

  /* Accents */
  --ok: #1a1a1a;          /* checks / arrows — kept black */
  --warn: #e0a648;

  /* Type */
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* Radii + shadow */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06), 0 2px 8px rgba(0, 0, 0, .05);
  --shadow: 0 8px 24px rgba(0, 0, 0, .10);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .22);

  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Mono kicker label ---------- */
.kicker {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kicker::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--bluebell);
  display: inline-block;
}
.kicker.on-dark { color: var(--frozen); }
.kicker.on-dark::before { background: var(--bluebell); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15.5px;
  padding: 13px 22px; border-radius: 10px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cerulean); color: #131312; box-shadow: 0 6px 16px rgba(212,160,8,.35); }
.btn-primary:hover { background: var(--cerulean-600); box-shadow: 0 10px 24px rgba(212,160,8,.45); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--yale); }
.btn-light:hover { background: var(--frosted); transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 16.5px; }
.btn-block { width: 100%; }

.arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .03em;
  padding: 6px 11px; border-radius: 999px;
  background: var(--bg-2); color: var(--ink-2);
  border: 1px solid var(--line);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.badge-rate {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,196,0,.18); color: var(--yale);
  border: 1px solid rgba(212,160,8,.35);
  font-weight: 600; font-size: 13.5px;
  padding: 7px 14px; border-radius: 999px;
}

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 16px 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; }

.dotgrid {
  background-image: radial-gradient(var(--line-strong) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}

/* ---------- Footer reveal helper ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Placeholder graphic ---------- */
.ph {
  background:
    repeating-linear-gradient(135deg, rgba(212,160,8,.08) 0 10px, rgba(212,160,8,.03) 10px 20px),
    var(--bg-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  text-align: center; padding: 16px;
}

.map-embed{margin-top:24px;border-radius:var(--r);overflow:hidden;border:4px solid #131312;aspect-ratio:16/9;background:var(--bg-2)}.map-embed iframe{display:block;width:100%;height:100%;border:0}.map-embed-dark{border-color:var(--cerulean);margin-top:8px}
