/* ============================================================
   WeHelp — wariant MINIMALISTYCZNY (v5)
   Zasady: biel, granat, dużo światła, cienkie linie, zero ozdób.
   Akcent per usługa przez [data-akcent] na <body>.
   ============================================================ */

:root {
  --ink: #1B2A41;          /* granat — tekst, nagłówki */
  --ink-soft: #5A6572;     /* szarość — tekst pomocniczy */
  --bg: #FFFFFF;
  --line: #E8EBF0;         /* włoskowe obramowania */
  --red: #D7263D;
  --green: #0FA958;
  --cyan: #1FA2C8;
  --indigo: #4F46E5;
  --akcent: var(--red);    /* domyślny akcent (strona główna / CTA) */
  --maxw: 1040px;
  --radius: 10px;
}
body[data-akcent="ratownictwo"]   { --akcent: var(--red); }
body[data-akcent="pielegniarstwo"]{ --akcent: var(--green); }
body[data-akcent="lacznosc"]      { --akcent: var(--cyan); }
body[data-akcent="ai"]            { --akcent: var(--indigo); }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.wh-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.wh-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.wh-header__in {
  display: flex; align-items: center; gap: 28px;
  min-height: 64px;
}
.wh-brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.wh-brand img { width: 30px; height: 30px; }
.wh-brand span { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.wh-brand b { color: var(--red); font-weight: 700; }
.wh-nav {
  display: flex; gap: 4px; margin-left: auto;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.wh-nav::-webkit-scrollbar { display: none; }
.wh-nav a {
  padding: 8px 12px; font-size: .92rem; color: var(--ink-soft);
  border-radius: 8px; white-space: nowrap; transition: color .15s, background .15s;
}
.wh-nav a:hover { color: var(--ink); background: #F4F6F9; }
.wh-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.wh-nav a.wh-nav__cta {
  color: #fff; background: var(--ink); font-weight: 600;
}
.wh-nav a.wh-nav__cta:hover { background: var(--red); color: #fff; }

/* ---------- Hero ---------- */
.wh-hero { padding: 88px 0 64px; }
.wh-hero--sub { padding: 72px 0 40px; }
.wh-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--akcent); margin-bottom: 18px;
}
.wh-kicker::before {
  content: ""; width: 22px; height: 2px; background: var(--akcent);
}
.wh-hero h1 {
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  line-height: 1.12; letter-spacing: -.025em; font-weight: 800;
  max-width: 17ch;
}
.wh-hero p {
  margin-top: 20px; font-size: 1.12rem; color: var(--ink-soft);
  max-width: 52ch;
}
.wh-hero__cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.wh-hero__ikona { width: 72px; height: 72px; margin-bottom: 26px; }

/* ---------- Przyciski ---------- */
.wh-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius);
  font-size: .98rem; font-weight: 600; line-height: 1;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.wh-btn--full { background: var(--ink); color: #fff; }
.wh-btn--full:hover { background: var(--red); transform: translateY(-1px); }
.wh-btn--line { border: 1px solid var(--line); color: var(--ink); }
.wh-btn--line:hover { border-color: var(--ink); }

/* ---------- Sekcje ---------- */
.wh-sekcja { padding: 56px 0; }
.wh-sekcja--line { border-top: 1px solid var(--line); }
.wh-sekcja h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em;
  font-weight: 700; margin-bottom: 8px;
}
.wh-sekcja__lead { color: var(--ink-soft); max-width: 56ch; margin-bottom: 36px; }

/* ---------- Karty usług (siatka 2×2) ---------- */
.wh-uslugi {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.wh-karta {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.wh-karta:hover {
  border-color: var(--k, var(--akcent));
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(27, 42, 65, .07);
}
.wh-karta--r { --k: var(--red); }
.wh-karta--p { --k: var(--green); }
.wh-karta--l { --k: var(--cyan); }
.wh-karta--a { --k: var(--indigo); }
.wh-karta img { width: 52px; height: 52px; }
.wh-karta h3, .wh-karta h2 { font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }
.wh-karta p { font-size: .95rem; color: var(--ink-soft); }
.wh-karta__link {
  margin-top: auto; font-size: .92rem; font-weight: 600; color: var(--k, var(--ink));
}
.wh-karta__link::after { content: " →"; }

/* ---------- Zakres (lista na podstronach) ---------- */
.wh-zakres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; list-style: none; }
.wh-zakres li {
  position: relative; padding: 16px 18px 16px 44px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .97rem;
}
.wh-zakres li::before {
  content: "✓"; position: absolute; left: 17px; top: 15px;
  color: var(--akcent); font-weight: 700;
}
.wh-zakres li b { display: block; font-weight: 700; }
.wh-zakres li span { color: var(--ink-soft); font-size: .9rem; }

/* ---------- Pasek kontaktu (CTA) ---------- */
.wh-kontakt {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 46px 40px; text-align: center;
  background: linear-gradient(180deg, #FBFCFE, #FFFFFF);
}
.wh-kontakt h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); letter-spacing: -.02em; }
.wh-kontakt p { color: var(--ink-soft); margin: 10px auto 26px; max-width: 46ch; }
.wh-kontakt__dane {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.wh-kontakt__tel {
  font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: var(--radius);
  background: var(--ink); color: #fff; transition: background .15s;
}
.wh-kontakt__tel:hover { background: var(--red); }
.wh-kontakt__mail {
  display: inline-flex; align-items: center; padding: 13px 26px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 600; transition: border-color .15s;
}
.wh-kontakt__mail:hover { border-color: var(--ink); }

/* ---------- Formularz kontaktowy ---------- */
.wh-form {
  max-width: 560px; margin: 34px auto 0; text-align: left;
  display: grid; gap: 14px;
}
.wh-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wh-pole { display: grid; gap: 6px; }
.wh-pole label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.wh-pole input, .wh-pole textarea {
  font: inherit; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.wh-pole input:focus, .wh-pole textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(27, 42, 65, .08);
}
.wh-pole textarea { min-height: 120px; resize: vertical; }
.wh-form__stopka {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.wh-form__rodo { font-size: .78rem; color: var(--ink-soft); max-width: 34ch; }
.wh-form .wh-btn { justify-self: start; }
.wh-ukryte { display: none !important; }

/* ---------- Stopka ---------- */
.wh-footer { border-top: 1px solid var(--line); padding: 34px 0 42px; margin-top: 24px; }
.wh-footer__in {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: .88rem; color: var(--ink-soft);
}
.wh-footer__in nav { display: flex; gap: 16px; flex-wrap: wrap; margin-left: auto; }
.wh-footer__in a:hover { color: var(--ink); }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .wh-hero { padding: 56px 0 44px; }
  .wh-hero--sub { padding: 48px 0 32px; }
  .wh-uslugi, .wh-zakres, .wh-form__row { grid-template-columns: 1fr; }
  .wh-kontakt { padding: 36px 22px; }
  .wh-header__in { gap: 12px; }
}
