/* ==========================================================================
   IT-Solutions sp. z o.o. — arkusz stylów
   Autor: strona oferty sprzedaży udziałów
   ========================================================================== */

/* --- 1. Zmienne ---------------------------------------------------------- */
:root {
  --bg:        #060a12;
  --bg-soft:   #0a101c;
  --card:      #0d1523;
  --card-2:    #111b2c;
  --line:      rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --txt:       #e9eef8;
  --muted:     #98a5bb;
  --brand:     #4c8dff;
  --brand-2:   #22d3ee;
  --gold:      #f2c14e;
  --danger:    #ff6b6b;
  --ok:        #35d39a;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1140px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .85);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- 2. Reset / podstawy ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.1rem; letter-spacing: -.01em; margin-bottom: .5em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-2); }

strong { font-weight: 600; color: #fff; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

::selection { background: rgba(76, 141, 255, .35); color: #fff; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 999;
  background: var(--brand);
  color: #04101f;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; color: #04101f; }

/* --- 3. Układ ------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: clamp(56px, 7vw, 100px) 0; position: relative; }

.section--alt {
  background:
    radial-gradient(900px 420px at 80% 0%, rgba(76, 141, 255, .07), transparent 65%),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section__head { max-width: 690px; margin-bottom: clamp(32px, 4vw, 52px); }
.section__lead { color: var(--muted); font-size: 1.03rem; margin-top: 14px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand-2);
}

.eyebrow .pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(53, 211, 154, .55);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(53, 211, 154, .5); }
  70%  { box-shadow: 0 0 0 9px rgba(53, 211, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 211, 154, 0); }
}

.grad {
  background: linear-gradient(100deg, #fff 10%, var(--brand) 55%, var(--brand-2) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.todo {
  color: var(--gold);
  border-bottom: 1px dashed rgba(242, 193, 78, .6);
  cursor: help;
}

/* --- 4. Przyciski -------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease),
              border-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
  will-change: transform;
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand), #3f7bf0 45%, var(--brand-2) 130%);
  color: #04101f;
  box-shadow: 0 12px 30px -12px rgba(76, 141, 255, .8);
}
.btn--primary:hover {
  color: #04101f;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -14px rgba(76, 141, 255, .95);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: rgba(255, 255, 255, .03);
  border-color: var(--line-strong);
  color: var(--txt);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(76, 141, 255, .5);
  color: #fff;
  transform: translateY(-2px);
}

.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

/* --- 5. Nawigacja -------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 10, 18, .55);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(6, 10, 18, .9);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--txt);
  flex-shrink: 0;
}
.brand:hover { color: var(--txt); }

.brand__mark {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #04101f;
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: -.03em;
  box-shadow: 0 8px 20px -8px rgba(76, 141, 255, .9);
}

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-display); font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.brand__text span { font-size: .74rem; color: var(--muted); letter-spacing: .04em; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  padding: 9px 13px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav__links a.is-active { color: #fff; }
.nav__cta-mobile { display: none; }

.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 18px; height: 2px;
  margin: 3px auto;
  border-radius: 2px;
  background: var(--txt);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* --- 6. Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(880px 480px at 12% -12%, rgba(76, 141, 255, .22), transparent 62%),
    radial-gradient(680px 420px at 88% 6%, rgba(34, 211, 238, .13), transparent 62%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: .5;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  z-index: 1;
}

.hero__copy h1 { margin-bottom: .5em; }
.lead { font-size: clamp(1rem, 1.15vw, 1.12rem); color: #c3ccdd; max-width: 34em; }
.lead strong { color: #fff; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 24px; }

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: .87rem;
  color: var(--muted);
}
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points li::before {
  content: "";
  width: 16px; height: 16px;
  flex: 0 0 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2335d39a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E")
    center / 11px no-repeat,
    rgba(53, 211, 154, .13);
}

/* Karta ceny */
.price-card {
  position: relative;
  padding: 30px 28px 26px;
  border: 1px solid rgba(76, 141, 255, .3);
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(76, 141, 255, .18), transparent 60%),
    linear-gradient(165deg, #121c2d, #0a111d 70%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--brand-2), transparent);
}

.price-card__label {
  margin: 0 0 6px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-2);
}
.price-card__price {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.4vw, 3.3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
  color: #fff;
  white-space: nowrap;
}
.price-card__price span { font-size: .42em; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.price-card__sub { margin: 8px 0 22px; font-size: .9rem; color: var(--muted); }

.price-card__list { display: grid; gap: 11px; margin-bottom: 24px; }
.price-card__list li {
  position: relative;
  padding-left: 26px;
  font-size: .9rem;
  color: #ccd5e5;
}
.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .28em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c8dff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E")
    center / 10px no-repeat,
    rgba(76, 141, 255, .16);
}

.price-card__note {
  margin: 14px 0 0;
  font-size: .76rem;
  text-align: center;
  color: var(--muted);
}

/* Statystyki */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(36px, 5vw, 60px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  z-index: 1;
}
.stats li {
  padding: 20px 22px;
  background: rgba(10, 16, 28, .82);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stats strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}
.stats span { font-size: .82rem; color: var(--muted); }

/* --- 7. Karty ------------------------------------------------------------ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 141, 255, .6), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 141, 255, .32);
  background: linear-gradient(170deg, rgba(76, 141, 255, .08), rgba(255, 255, 255, .01));
}
.card:hover::after { opacity: 1; }

.card__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid rgba(76, 141, 255, .25);
  background: rgba(76, 141, 255, .1);
  color: var(--brand);
}
.card__icon svg { width: 22px; height: 22px; }

.card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* --- 8. Spółka ----------------------------------------------------------- */
.company {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  align-items: start;
}

.spec {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .018);
  padding: 6px 26px;
}

.spec__row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.spec__row:last-child { border-bottom: 0; }

.spec dt { font-size: .86rem; color: var(--muted); }
.spec dd { margin: 0; font-size: .94rem; color: #e6ecf7; }

.panel {
  padding: 28px 26px;
  border: 1px solid rgba(76, 141, 255, .24);
  border-radius: var(--radius);
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(76, 141, 255, .12), transparent 65%),
    linear-gradient(170deg, #0f1828, #0a111d);
}
.panel__lead { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.panel__note { margin: 12px 0 0; font-size: .76rem; color: var(--muted); text-align: center; }

.checklist { display: grid; gap: 10px; margin-bottom: 22px; }
.checklist li {
  position: relative;
  padding-left: 26px;
  font-size: .9rem;
  color: #ccd5e5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .3em;
  width: 15px; height: 15px;
  border-radius: 4px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E")
    center / 9px no-repeat,
    rgba(34, 211, 238, .14);
}

/* --- 9. Kroki ------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .02);
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.step:hover {
  border-color: rgba(76, 141, 255, .3);
  background: rgba(76, 141, 255, .05);
  transform: translateY(-3px);
}

.step__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { font-size: 1rem; }
.step p { margin: 0; font-size: .89rem; color: var(--muted); }

.notice {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  padding: 18px 22px;
  border: 1px solid rgba(242, 193, 78, .28);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  background: rgba(242, 193, 78, .06);
}
.notice svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 3px; color: var(--gold); }
.notice p { margin: 0; font-size: .9rem; color: #d7dce6; }
.notice strong { color: #fff; }

/* --- 10. FAQ ------------------------------------------------------------- */
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .018);
  overflow: hidden;
}

.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 0; }

.faq__item summary {
  position: relative;
  padding: 20px 60px 20px 24px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #eef3fb;
  cursor: pointer;
  list-style: none;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: rgba(255, 255, 255, .03); }

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 26px; top: 50%;
  width: 10px; height: 10px;
  margin-top: -6px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq__item[open] summary { background: rgba(76, 141, 255, .06); }

.faq__body {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: .94rem;
  max-width: 74ch;
}
.faq__body p { margin: 0; }

/* --- 11. Kontakt --------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.contact__info h2 { margin-bottom: .4em; }

.contact__list { display: grid; gap: 16px; margin: 28px 0; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list small {
  display: block;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact__list a, .contact__list span:not(.contact__icon) { font-size: .95rem; color: #e6ecf7; }
.contact__list a:hover { color: var(--brand-2); }

.contact__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .04);
  color: var(--brand);
}
.contact__icon svg { width: 19px; height: 19px; }

.contact__nda {
  padding: 18px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .02);
}
.contact__nda strong { display: block; margin-bottom: 4px; font-size: .9rem; }
.contact__nda p { margin: 0; font-size: .86rem; color: var(--muted); }

/* Formularz */
.form {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  box-shadow: var(--shadow);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field:last-of-type { margin-bottom: 18px; }

.field label { font-size: .84rem; font-weight: 500; color: #cfd8e7; }
.field label span { color: var(--brand-2); }
.field label small { color: var(--muted); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(4, 8, 15, .6);
  color: var(--txt);
  font-family: var(--font-body);
  font-size: .94rem;
  line-height: 1.5;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  appearance: none;
}

.field textarea { resize: vertical; min-height: 120px; }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a5bb' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}
.field select option { background: #0d1523; color: var(--txt); }

.field input::placeholder,
.field textarea::placeholder { color: #5d6b82; }

.field input:hover,
.field textarea:hover,
.field select:hover { border-color: rgba(255, 255, 255, .26); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(4, 8, 15, .85);
  box-shadow: 0 0 0 3px rgba(76, 141, 255, .2);
}

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 20px;
}
.field--check input {
  width: 18px; height: 18px;
  flex: 0 0 18px;
  margin-top: 3px;
  accent-color: var(--brand);
  padding: 0;
  cursor: pointer;
}
.field--check label { font-size: .82rem; color: var(--muted); line-height: 1.55; font-weight: 400; }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form__hint { margin: 14px 0 0; font-size: .78rem; color: var(--muted); text-align: center; }
.form__status { margin: 10px 0 0; font-size: .85rem; text-align: center; min-height: 0; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--danger); }

.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 107, 107, .15); }

/* --- 12. Stopka ---------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: clamp(44px, 5vw, 64px) 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.footer__brand p { margin: 16px 0 0; font-size: .86rem; color: var(--muted); max-width: 30ch; }

.footer__col h3 {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.footer__col ul { display: grid; gap: 9px; }
.footer__col a { font-size: .88rem; color: var(--muted); }
.footer__col a:hover { color: #fff; }
.footer__plain li { font-size: .86rem; color: var(--muted); }

.footer__bottom { padding-top: 22px; }
.footer__bottom p { font-size: .8rem; color: var(--muted); }
.footer__legal { margin-top: 10px; max-width: 90ch; font-size: .73rem !important; color: #6f7d94 !important; }

/* --- 13. Mobilny pasek CTA ---------------------------------------------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 55;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(10, 16, 28, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .9);
  font-size: .84rem;
  color: var(--muted);
}
.mobile-cta strong { color: #fff; }

/* --- 14. Animacje wejścia ----------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --- 15. RWD ------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .price-card { max-width: 520px; }
  .company { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 76px; }
  .nav__links {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 24px 22px;
    background: #070c15;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .95);
  }
  .nav.is-menu-open {
    background: #060a12;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: var(--line);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; font-size: 1rem; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 10px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 640px) {
  .wrap { padding-inline: 18px; }
  .section { padding: 48px 0; }

  .steps { grid-template-columns: 1fr; }
  .spec { padding: 4px 18px; }
  .spec__row { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .spec dt { font-size: .78rem; letter-spacing: .02em; }

  .form__row { grid-template-columns: 1fr; gap: 0; }

  .footer__grid { grid-template-columns: 1fr; gap: 26px; }

  .mobile-cta { display: flex; }
  .footer { padding-bottom: 86px; }

  .hero { padding-top: 36px; }
  .price-card { padding: 24px 20px 20px; }
  .faq__item summary { padding: 17px 52px 17px 18px; font-size: .95rem; }
  .faq__body { padding: 0 18px 20px; }
}

/* --- 16. Preferencje użytkownika ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* --- 17. Podstrony (polityka prywatności, 404) --------------------------- */
.page-hero {
  padding: clamp(44px, 6vw, 76px) 0 clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 20% -30%, rgba(76, 141, 255, .18), transparent 65%),
    var(--bg);
}
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: .3em; }
.page-hero p { color: var(--muted); font-size: .9rem; }

.prose {
  max-width: 800px;
  color: #c3ccdd;
  font-size: .96rem;
  padding: clamp(36px, 5vw, 60px) 0 clamp(48px, 6vw, 80px);
}
.prose h2 {
  font-size: 1.2rem;
  margin: 2em 0 .6em;
  color: #fff;
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 22px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .45em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: #fff; }
.prose .muted { color: var(--muted); font-size: .86rem; }

.error-page {
  display: grid;
  place-items: center;
  min-height: 72vh;
  text-align: center;
  padding: 60px 0;
}
.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  margin: 0 0 8px;
}

/* --- 18. Druk ------------------------------------------------------------ */
@media print {
  .nav, .mobile-cta, .form, .contact__nda, .skip-link { display: none !important; }
  body { background: #fff; color: #111; }
  .card, .spec, .panel, .faq, .price-card { border-color: #ccc; background: #fff; }
  .grad { color: #111; -webkit-text-fill-color: #111; }
  a { color: #111; }
}
