/* ==========================================================================
   Informatyk Szczecin - style (mobile-first)
   ========================================================================== */

:root {
  --ink: #0b1324;
  --ink-2: #131e36;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --text: #0f172a;
  --muted: #55627a;
  --line: #dde3ee;

  --brand: #2563eb;
  --brand-ink: #1d4ed8;
  --brand-soft: #e6eeff;
  --accent: #38bdf8;

  --call: #16a34a;
  --call-ink: #15803d;
  --call-glow: rgba(22, 163, 74, .35);
  --warn: #f59e0b;
  --danger: #dc2626;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .25);
  --header-h: 60px;
  --bar-h: 68px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1020;
    --surface: #111a2e;
    --surface-2: #0e1628;
    --text: #e8edf7;
    --muted: #9aa8c2;
    --line: #22304d;
    --brand: #4f8bff;
    --brand-ink: #7aa7ff;
    --brand-soft: rgba(79, 139, 255, .14);
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; color: inherit; }

.ico {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 18px; }
.container-narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(11, 19, 36, .82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #fff;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 12px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 17px; min-width: 0; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; color: var(--brand); display: inline-flex; flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { font-weight: 500; letter-spacing: -.01em; }
.brand-text b { font-weight: 800; margin-left: 4px; }

.main-nav { display: none; }

.header-call {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 14px;
  border-radius: 999px;
  background: var(--call); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 6px 18px -6px var(--call-glow);
}
.header-call .ico { width: 18px; height: 18px; }
.header-call-text { font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-call-short { display: none; }
@media (max-width: 559px) {
  .header-call-text { display: none; }
  .header-call-short { display: inline; }
}
@media (max-width: 419px) {
  .brand { font-size: 16px; gap: 8px; }
  .brand-text b { margin-left: 3px; }
}
@media (max-width: 359px) {
  .brand { font-size: 15px; gap: 8px; }
  .brand-mark { width: 28px; height: 28px; }
  .header-call { padding: 0 12px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px;
  border-radius: 14px; border: 0;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 56px; font-size: 17px; }
.btn-xl { min-height: 72px; padding: 0 24px; border-radius: 18px; }
.btn-block { width: 100%; }

.btn-call { background: var(--call); color: #fff; box-shadow: 0 10px 24px -10px var(--call-glow); }
.btn-call:hover { background: var(--call-ink); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(37, 99, 235, .6); }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }

.btn-xl .ico { width: 28px; height: 28px; }
.btn-stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn-stack small { font-size: 13px; font-weight: 600; opacity: .9; letter-spacing: .02em; }
.phone-big { font-size: 26px; font-weight: 800; letter-spacing: .01em; font-variant-numeric: tabular-nums; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #fff;
  padding: 26px 0 34px;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + 26px);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(56, 189, 248, .28), transparent 70%),
    radial-gradient(55% 45% at 0% 100%, rgba(37, 99, 235, .35), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 80%);
}

.hero-hello {
  display: none;
  position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; margin: 0;
  font-weight: 800; font-size: 20px; line-height: 1.25; color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}
.status { font-size: 14.5px; line-height: 1.4; color: #b9c6dd; margin-top: 4px; }
.status[data-state="closed"] { color: #fcd9a0; }
.avatar-status[data-state="open"] { background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
.avatar-status[data-state="closed"] { background: var(--warn); }
.status[data-state="open"] { color: #bbf7d0; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
  70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Avatar / zdjęcie */
.avatar {
  position: relative; flex: none;
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(140deg, #3b82f6, #22d3ee);
  padding: 3px;
}
.avatar img, .avatar-fallback {
  position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px);
  border-radius: inherit; object-fit: cover; object-position: 50% 25%;
}
.avatar-fallback {
  display: grid; place-items: center; align-content: center; gap: 6px;
  background: linear-gradient(160deg, #1e293b, #0f172a); color: #64748b;
  text-align: center;
}
.avatar-fallback svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 1.5; }
.avatar-fallback span { font-size: 13px; padding: 0 16px; color: #94a3b8; }
.avatar-status {
  position: absolute; right: 2px; bottom: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #94a3b8; border: 3px solid var(--ink);
}

.hero h1 { font-size: clamp(28px, 7.6vw, 56px); font-weight: 800; }
.hero h1 .accent {
  display: block; margin-top: 8px;
  font-size: .62em; line-height: 1.2;
  background: linear-gradient(90deg, #7dd3fc, #93c5fd 60%, #c4b5fd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 16px; font-size: 17.5px; color: #c7d2e5; max-width: 38em; }
.lead strong { color: #fff; }

.hero-cta { display: grid; gap: 10px; margin-top: 22px; }
.hero-cta .btn-xl { justify-content: flex-start; }

.hero-trust {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-size: 14px; color: #c7d2e5;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ico { color: var(--accent); width: 18px; height: 18px; }

.hero-inner { display: flex; flex-direction: column; }
.hero-visual { order: -1; position: relative; width: min(78vw, 340px); margin: 0 auto 22px; }
.avatar-hero-frame { position: relative; }
.avatar-hero-frame::after { content: none; }
.float-card { display: none; }
.footer-place { display: none; }

/* ---------- Quick chips ---------- */
.quick { padding: 22px 0 6px; }
.quick-title { font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-bottom: 12px; }
.quick-scroller {
  display: flex; gap: 10px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: -18px; padding: 2px 18px 10px;
}
.quick-scroller::-webkit-scrollbar { display: none; }
.quick-chip {
  scroll-snap-align: start; flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 16px;
  background: var(--surface); color: var(--text); text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.quick-chip .ico { color: var(--brand); }
.quick-chip:active { transform: scale(.97); }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section-alt { background: var(--surface-2); }
.section-head { margin-bottom: 26px; }
.eyebrow {
  font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 8px;
}
.section h2 { font-size: clamp(26px, 6.6vw, 40px); font-weight: 800; }
.section-sub { color: var(--muted); margin-top: 10px; max-width: 40em; }

/* Segmented control */
.segmented {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 5px; margin-bottom: 20px;
  max-width: 440px;
}
.segmented-btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border: 0; background: none; cursor: pointer;
  border-radius: 12px; font-weight: 700; color: var(--muted);
  transition: color .2s ease;
}
.segmented-btn[aria-selected="true"] { color: #fff; }
.segmented-thumb {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px;
  width: calc(50% - 5px); border-radius: 12px; background: var(--brand);
  box-shadow: 0 6px 16px -8px rgba(37, 99, 235, .8);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.segmented[data-active="1"] .segmented-thumb { transform: translateX(100%); }

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px;
  box-shadow: var(--shadow-sm);
}
.card-ico {
  grid-row: span 2;
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.card-ico .ico { width: 24px; height: 24px; }
.card h3 { font-size: 18px; font-weight: 750; align-self: center; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.tab-panel { animation: fadeUp .35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.inline-cta {
  margin-top: 22px; padding: 18px;
  display: flex; flex-direction: column; gap: 14px; align-items: stretch;
  border-radius: var(--radius); background: var(--brand-soft);
  border: 1px dashed color-mix(in srgb, var(--brand) 40%, transparent);
}
.inline-cta p { color: var(--text); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; position: relative; padding-bottom: 22px; }
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 21px; top: 46px; bottom: 2px; width: 2px;
  background: linear-gradient(var(--brand), transparent);
  opacity: .35;
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 0 0 6px var(--brand-soft);
}
.step h3 { font-size: 18px; margin: 9px 0 4px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* About */
.about { display: grid; gap: 26px; }
.about-photo { display: flex; justify-content: center; }
.avatar-lg {
  width: min(78vw, 320px); height: auto; aspect-ratio: 4 / 5;
  border-radius: 28px; padding: 4px;
}
.avatar-lg img, .avatar-lg .avatar-fallback { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 24px; }
@media (max-width: 899px) {
  .hero-visual { width: 100%; margin: 0 0 22px; }
  .avatar-hero-frame { display: flex; align-items: center; gap: 16px; }
  .avatar-hero { width: 88px; height: 88px; aspect-ratio: 1; border-radius: 50%; padding: 3px; }
  .avatar-hero img, .avatar-hero .avatar-fallback {
    inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); border-radius: 50%;
  }
  .hero-hello { display: block; position: static; font-size: 18px; font-weight: 600; text-shadow: none; }
  .hero-hello [data-owner-name] { font-weight: 800; }
}
.about-copy p { color: var(--muted); margin-top: 12px; }
.about-copy p strong { color: var(--text); }
.about-copy h2 { margin-bottom: 4px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ticks .ico {
  width: 22px; height: 22px; padding: 4px; margin-top: 1px;
  border-radius: 50%; background: var(--call); color: #fff; stroke-width: 3;
}

/* Area */
.area { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 600; font-size: 15px;
}
.area .area-main { background: var(--brand); color: #fff; border-color: transparent; width: 100%; justify-content: center; padding: 12px 16px; }
.area .area-remote { background: transparent; border-style: dashed; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; min-height: 56px; font-weight: 700;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--muted); transition: transform .25s ease; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { padding: 0 18px 18px; color: var(--muted); }

/* ---------- Contact ---------- */
.section-contact { background: var(--surface-2); }
.contact { display: grid; gap: 28px; }

.phone-card {
  margin-top: 22px;
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(150deg, #16a34a, #0f8a3c);
  color: #fff; box-shadow: 0 18px 40px -18px var(--call-glow);
}
.phone-card-main {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; color: #fff; text-decoration: none;
}
.phone-card-ico {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: rgba(255, 255, 255, .18);
}
.phone-card-ico .ico { width: 28px; height: 28px; }
.phone-card-main small { display: block; font-weight: 600; opacity: .85; font-size: 14px; }
.phone-card-main strong { font-size: clamp(26px, 7.4vw, 34px); font-weight: 800; letter-spacing: .01em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.phone-card-actions {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 52px; padding: 0 6px;
  background: none; border: 0; color: #fff; text-decoration: none;
  font-weight: 700; font-size: 14px; cursor: pointer;
}
.pill + .pill { border-left: 1px solid rgba(255, 255, 255, .18); }
.pill:active { background: rgba(255, 255, 255, .1); }
.pill .ico { width: 18px; height: 18px; }

.contact-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.contact-list .ico { color: var(--brand); }
.contact-list a { color: var(--text); font-weight: 600; text-decoration: none; word-break: break-all; }

.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; padding: 22px 18px;
  box-shadow: var(--shadow);
}
.form { display: grid; gap: 16px; }
.form-title { font-size: 21px; }
.field { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 16px; }
.label { font-weight: 700; font-size: 15px; padding: 0; }
.req { color: var(--danger); }
.input {
  width: 100%; min-height: 52px; padding: 13px 14px;
  font: inherit; font-size: 16px; /* 16px = brak auto-zoomu na iOS */
  color: var(--text); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.input[aria-invalid="true"] { border-color: var(--danger); }
textarea.input { resize: vertical; min-height: 120px; line-height: 1.5; }
.hint { font-size: 14px; color: var(--muted); margin-top: -8px; }
.error { font-size: 14px; color: var(--danger); font-weight: 600; }
.hint + .error { margin-top: -10px; }

.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 10px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg);
  font-weight: 700; font-size: 15px; cursor: pointer; text-align: center;
  transition: all .15s ease;
}
.choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.choice input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg);
  font-weight: 600; font-size: 14.5px; cursor: pointer; user-select: none;
  transition: all .15s ease;
}
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip input:checked + span::before { content: "✓"; margin-right: 6px; font-weight: 800; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--brand); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: 14.5px; color: var(--muted); text-align: center; min-height: 1px; }
.form-status[data-type="error"] { color: var(--danger); font-weight: 600; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }

.form-success { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 10px 0; }
.form-success:focus { outline: none; }
.form-success p { color: var(--muted); }
.success-ico {
  width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--call); color: #fff; animation: pop .4s cubic-bezier(.2, 1.4, .4, 1) both;
}
.success-ico .ico { width: 34px; height: 34px; stroke-width: 3; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c7d2e5; padding: 36px 0 20px; }
.footer-inner { display: grid; gap: 22px; }
.brand-footer { color: #fff; }
.footer-note { margin-top: 10px; font-size: 15px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #e2e8f0; text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: #8391ab; }

/* ---------- Action bar (mobile) ---------- */
.action-bar {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.action-bar.is-visible { transform: none; }
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 14px; text-decoration: none; font-weight: 700;
  -webkit-tap-highlight-color: transparent;
}
.action-bar a:active { transform: scale(.97); }
.action-bar-call { background: var(--call); color: #fff; font-size: 17px; box-shadow: 0 8px 20px -10px var(--call-glow); }
.action-bar-btn { background: var(--brand-soft); color: var(--brand-ink); font-size: 15px; }

/* Toast */
.toast {
  position: fixed; z-index: 70; left: 50%; bottom: calc(var(--bar-h) + 16px + env(safe-area-inset-bottom));
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--text); color: var(--bg);
  padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow); transition: all .25s ease; white-space: nowrap;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Okienko cookies ---------- */
.cookie-box {
  position: fixed; z-index: 80; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  max-height: calc(100dvh - 24px); overflow-y: auto; margin-inline: auto;
  padding: 16px; border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--line));
  background: color-mix(in srgb, var(--brand) 6%, var(--surface)); color: var(--text);
  box-shadow: 0 18px 48px -12px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .08);
  font-size: 14.5px;
}
@media (prefers-color-scheme: dark) {
  .cookie-box { background: color-mix(in srgb, var(--brand) 24%, var(--surface)); }
}
.cookie-box[hidden] { display: none; }
.cookie-box:focus { outline: none; }
.cookie-title { font-size: 18px; font-weight: 800; margin: 0 0 6px; }
.cookie-box p { margin: 0; color: var(--muted); }
.cookie-box a { color: var(--brand-ink); font-weight: 600; }
.cookie-settings { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--muted) 30%, transparent); }
.cookie-option { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); cursor: pointer; }
.cookie-option input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--brand); }
.cookie-option strong { color: var(--text); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cookie-reject { background: transparent; color: var(--muted); border: 1px solid color-mix(in srgb, var(--muted) 45%, transparent); font-weight: 600; }
.cookie-reject:hover { color: var(--text); border-color: var(--muted); }
.cookie-link {
  grid-column: 1 / -1; min-height: 44px; padding: 0; border: 0; background: none;
  color: var(--brand-ink); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer;
}
.cookie-link[hidden] { display: none; }
.footer-link-btn {
  justify-self: start; padding: 0; border: 0; background: none;
  color: #e2e8f0; font: inherit; font-weight: 600; text-align: left; cursor: pointer;
}
.footer-link-btn:hover { text-decoration: underline; }
.policy table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.policy th, .policy td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--muted); }
.policy th { color: var(--text); background: var(--surface-2); }
.policy .table-wrap { overflow-x: auto; }

/* ==========================================================================
   Większe ekrany
   ========================================================================== */
@media (min-width: 600px) {
  .container { padding-inline: 24px; }
  .hero-cta { grid-template-columns: auto auto; justify-content: start; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card { grid-template-columns: 1fr; row-gap: 8px; padding: 22px; }
  .card-ico { grid-row: auto; margin-bottom: 6px; }
  .card h3 { align-self: start; }
  .inline-cta { flex-direction: row; align-items: center; justify-content: space-between; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .area .area-main { width: auto; }
  .form-card { padding: 30px; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .quick-scroller { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  :root { --header-h: 72px; }
  .action-bar { display: none; }
  .toast { bottom: 24px; }

  .main-nav { display: flex; gap: 4px; margin-left: 28px; }
  .main-nav a {
    color: #c7d2e5; text-decoration: none; font-weight: 600; font-size: 15px;
    padding: 8px 12px; border-radius: 10px;
  }
  .main-nav a:hover,
  .main-nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .08); }
  .header-call { height: 48px; padding: 0 18px; font-size: 16px; }

  .hero { padding-bottom: 72px; padding-top: calc(var(--header-h) + 64px); }
  .hero-inner { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: center; }
  .hero-copy { max-width: 720px; grid-column: 1; grid-row: 1; }
  .hero-visual { order: 0; grid-column: 2; grid-row: 1; width: auto; margin: 0; }
  .hero-hello { display: block; }
  .footer-place { display: inline; }
  .avatar-hero-frame::after {
    content: ""; position: absolute; z-index: 1; left: 4px; right: 4px; bottom: 4px; height: 46%;
    border-radius: 0 0 24px 24px; pointer-events: none;
    background: linear-gradient(transparent, rgba(8, 15, 30, .82));
  }
  .avatar-hero { width: 100%; box-shadow: 0 30px 80px -30px rgba(56, 189, 248, .45); }
  .float-card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    padding: 12px 16px 12px 12px; border-radius: 16px;
    background: rgba(255, 255, 255, .96); color: #0f172a;
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5);
    animation: float 6s ease-in-out infinite;
  }
  .float-card b { display: block; font-size: 15px; line-height: 1.2; }
  .float-card small { display: block; font-size: 13px; color: #55627a; }
  .float-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #e6eeff; color: #2563eb; }
  .float-card-a { left: -44px; bottom: 64px; }
  .float-card-b { right: -28px; top: 48px; animation-delay: -3s; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  .lead { font-size: 19px; }

  .section { padding: 88px 0; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .step { grid-template-columns: 1fr; padding-bottom: 0; }
  .step:not(:last-child)::before {
    left: 56px; right: -12px; top: 21px; bottom: auto; width: auto; height: 2px;
    background: linear-gradient(90deg, var(--brand), transparent);
  }
  .step h3 { margin-top: 14px; }

  .about { grid-template-columns: 380px 1fr; align-items: center; gap: 64px; }
  .avatar-lg { width: 100%; }

  .contact { grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
  .contact-side { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ==========================================================================
   Grav: podstrony (np. polityka prywatności) i drobne dodatki
   ========================================================================== */
body.no-action-bar { padding-bottom: 0; }
.lead p + p, .section-sub p + p { margin-top: 10px; }

.policy { padding: 40px 0 64px; }
.policy h1 { font-size: clamp(28px, 7vw, 40px); font-weight: 800; margin-bottom: 8px; }
.policy h2 { font-size: 20px; margin: 32px 0 8px; }
.policy p, .policy li { color: var(--muted); }
.policy p + p { margin-top: 10px; }
.policy ul { padding-left: 20px; }
.back { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; margin-bottom: 24px; }
.error-page .hero-cta { margin-top: 28px; }

/* Public service pages and progressively enhanced service tabs. */
.tab-panel[data-active="false"] { display: none; }
.hero-response { margin-top: 16px; color: #c5d0e2; font-size: 15px; max-width: 54ch; }
.service-summary { margin: 0 0 20px; color: var(--muted); max-width: 70ch; }
.card h3 a { color: inherit; text-decoration: none; }
.service-area { max-width: 70ch; }
.footer-bottom { flex-wrap: wrap; gap: 12px; }
@media (max-width: 899px) {
  :root { --header-h: 116px; }
  .header-inner { flex-wrap: wrap; align-content: center; gap: 0 12px; }
  .main-nav { display: flex; order: 3; width: 100%; overflow-x: auto; gap: 8px; }
  .main-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 8px; white-space: nowrap; color: inherit; text-decoration: none; font-size: 14px; }
}
@media (min-width: 760px) {
  .cookie-box {
    left: 24px; right: 24px; bottom: 24px; max-width: 920px; padding: 18px 22px;
    display: grid; grid-template-columns: 1fr auto; column-gap: 28px; align-items: center;
  }
  .cookie-title, .cookie-box p { grid-column: 1; }
  .cookie-settings { grid-column: 1 / -1; grid-row: 3; }
  .cookie-actions { grid-column: 2; grid-row: 1 / 3; margin-top: 0; min-width: 300px; }
  .cookie-link { min-height: 32px; }
}
