/* klikamy.net w stylu panelu klienta: ciemna ramka i pasek, jasna zaokraglona tresc, DM Sans, akcent #2563eb (Kacper 03.10.2026) */
:root {
  --bar: #111827;
  --bar-line: rgba(255, 255, 255, .09);
  --bar-text: #e5e7eb;
  --bar-muted: #9ca3af;
  --page: #f7f8fa;
  --surface: #ffffff;
  --ink: #1d1e20;
  --soft: #4b5563;
  --muted: #6b7280;
  --line: #eef0f3;
  --line-strong: #e5e7eb;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --ok-bg: #f0fdf4;
  --ok: #15803d;
  --radius: 14px;
  --radius-ctl: 8px;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 3.4vw, 40px);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; background: var(--bar); color: var(--ink); font: 300 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.ico { display: block; flex: none; width: 18px; height: 18px; }
.ico--xs { width: 14px; height: 14px; }
.wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Ciemny pasek na cala szerokosc, jak w panelu: logo i podstrony z lewej, reszta z prawej (Kacper 03.10.2026) */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--bar); }
.nav { display: flex; align-items: center; gap: 4px; height: 64px; padding: 0 22px; }
.nav__logo { display: inline-flex; align-items: center; margin-right: 18px; }
.nav__logo img { width: 28px; height: 28px; }
.nav__menu { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav__item { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 12px; border-radius: var(--radius-ctl); color: var(--bar-text); font-size: 14.5px; font-weight: 400; transition: background-color .15s, color .15s; }
.nav__item:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav__item .ico { opacity: .6; }
.nav__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__tel { display: inline-flex; align-items: center; gap: 7px; margin-right: 6px; color: var(--bar-text); font-size: 14px; }
.nav__tel:hover { color: #fff; }
.nav__tel .ico { width: 15px; height: 15px; }
.hpill { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; color: #f3f4f6; font: 400 13px var(--font); transition: background-color .15s, border-color .15s; }
.hpill:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); }
.hpill .ico { width: 15px; height: 15px; }
.nav__cta { margin-left: 4px; }
.nav__burger { display: none; width: 40px; height: 40px; place-items: center; border: 0; border-radius: var(--radius-ctl); background: none; color: var(--bar-text); cursor: pointer; }
.nav__burger:hover { background: rgba(255, 255, 255, .08); }
.nav__burger .ico { width: 22px; height: 22px; }

/* Przyciski jak w panelu */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--radius-ctl); font: 500 14px var(--font); white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn .ico { width: 16px; height: 16px; }
.btn--blue { background: var(--accent); color: #fff; }
.btn--blue:hover { background: var(--accent-hover); }
.btn--line { background: var(--surface); border-color: var(--line-strong); color: var(--ink); font-weight: 400; }
.btn--line:hover { background: var(--page); border-color: #d1d5db; }
.btn--lg { height: 50px; padding: 0 24px; font-size: 15px; }
.btn--sm { height: 32px; padding: 0 14px; font-size: 13px; }

/* Menu na telefonie */
.mmenu { padding: 8px var(--gutter) 20px; border-top: 1px solid var(--bar-line); }
.mmenu[hidden] { display: none; }
.mmenu__link { display: block; padding: 13px 4px; border-bottom: 1px solid var(--bar-line); color: var(--bar-text); font-size: 16px; }
.mmenu__cta { width: 100%; margin-top: 18px; }
.mmenu__tel { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--bar-text); font-size: 15px; }

/* Jasna tresc pod paskiem, jak karta w panelu */
.page { margin: 0 8px 8px; border-radius: var(--radius); background: var(--page); overflow: hidden; }

/* Elementy z panelu */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.state { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 400; white-space: nowrap; }
.state--ok { background: var(--ok-bg); color: var(--ok); }
.state__dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: currentColor; }
.state--sm { height: 26px; padding: 0 10px; font-size: 12.5px; }
.tile { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--accent); }
.tile--txt { color: #4b5563; font-size: 15px; font-weight: 500; }

/* Hero jak Investnet: tekst po lewej, zdjecie w karcie po prawej (Kacper 03.10.2026) */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 5vw, 96px); padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(32px, 4vw, 56px); }
.hero__txt { align-self: center; max-width: 760px; padding-bottom: clamp(16px, 3vw, 48px); }
.hero__label { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.hero__label::before { content: ""; width: 3px; height: 18px; border-radius: 2px; background: var(--accent); }
.hero h1 { margin: 18px 0 0; font-size: clamp(40px, 5vw, 72px); line-height: 1.111; font-weight: 399; letter-spacing: -0.005em; color: var(--ink); text-wrap: balance; } /* jak Hostinger: DM Sans 399, 72/80 px */
.hero__lead { max-width: 560px; margin: 24px 0 0; font-size: 16px; line-height: 24px; font-weight: 399; color: var(--soft); text-wrap: pretty; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Postac bez tla stoi na dole jasnego ekranu, karta nachodzi na dol zdjecia (jak Investnet) */
.hero__person { position: relative; align-self: end; justify-self: center; width: min(100%, 470px); margin: 0; }
.hero__person img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
/* Logo klikamy (niebieska strzalka) za postacia */
.hero__mark { position: absolute; z-index: 0; top: 6%; left: -14%; width: 128%; height: auto; fill: var(--accent); pointer-events: none; }
.hero__card { position: relative; margin: 0 -24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; } /* postac konczy sie na gornej krawedzi boxa */
.hero__card { z-index: 2; }
.hero__card span { display: flex; flex-direction: column; min-width: 0; }
.hero__card b { font-size: 15px; font-weight: 500; color: var(--ink); }
.hero__card small { font-size: 13px; color: var(--muted); }
.hero__cardlink { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 14px; font-weight: 500; color: var(--ink); }
.hero__cardlink .ico { width: 16px; height: 16px; color: var(--accent); transition: transform .2s; }
.hero__cardlink:hover .ico { transform: translateX(3px); }

/* Jedno wejscie przy ladowaniu: tekst i karty po kolei */
.rise { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } }

/* Responsywnosc */
@media (max-width: 1240px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: grid; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__txt { padding-bottom: 8px; }
  .hero__person { width: min(100%, 400px); }
  .hero__card { margin: 0; padding: 14px 16px; }
}
@media (max-width: 640px) {
  .hero__btns { width: 100%; }
  .hero__btns .btn { width: 100%; }
  .nav { height: 60px; padding: 0 14px; }
  .nav__tel { display: none; }
  .hpill span { display: none; }
  .hpill { width: 34px; padding: 0; justify-content: center; }
  .page { margin: 0 6px 6px; }
}

/* Podstrona z wariantami postaci (robocza) */
.var { padding-top: 48px; padding-bottom: 64px; }
.var__title { margin: 0; font-size: 36px; font-weight: 400; color: var(--ink); }
.var__lead { margin: 8px 0 28px; color: var(--soft); }
.var__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.var__item { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.var__stage { position: relative; display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 4 / 5; overflow: hidden; background: var(--page); }
.var__mark { position: absolute; top: 12%; left: 4%; width: 92%; fill: var(--accent); }
.var__stage img { position: relative; width: auto; max-width: 82%; max-height: 94%; height: auto; } /* cala glowa w kadrze */
.var__wait { position: relative; align-self: center; color: var(--muted); font-size: 14px; }
.var__item figcaption { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 14px; color: var(--ink); }
.var__item figcaption b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 500; }
