/* Proplo Business — makieta landingu
   Tokeny wzięte z identyfikacji proplo.pl (Poppins, #FD5030, #242733). */

:root {
  --ink: #242733;        /* kolor logotypu Proplo — ciemne sekcje */
  --text: #323333;       /* tekst podstawowy proplo.pl */
  --muted: #636A86;      /* tekst pomocniczy */
  --orange: #FD5030;     /* akcent marki */
  --orange-dark: #D9412A;
  --mist: #F4F5F8;       /* jasne tło sekcji */
  --line: #E2E4EC;
  --white: #FFFFFF;
  --ink-soft: #3A3E4D;
  --ink-line: rgba(255,255,255,.14);

  --radius: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --space: clamp(72px, 10vw, 128px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 600; }
h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
h3 { font-size: 17px; line-height: 1.4; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.section-lead { margin-top: 20px; max-width: 62ch; color: var(--muted); font-size: 18px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

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

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--orange); color: #fff;
  border: 2px solid var(--orange); border-radius: 999px;
  font: 600 15px/1 Poppins, sans-serif; text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--mist); border-color: var(--line); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.btn-full { width: 100%; }

/* ---------- nawigacja ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand img { width: 105px; height: auto; display: block; }
.brand-div { width: 1px; height: 22px; background: #d3d5da; display: inline-block; }
.brand-sub { font-size: 13px; font-weight: 500; color: #8a90a0; white-space: nowrap; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--text); }
.nav-links a:hover { color: var(--orange); }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .btn-small { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); background: var(--mist); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-kicker { font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: 20px; text-wrap: balance; }

.headline {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.headline .accent { color: var(--orange); display: block; }

.hero-lead { margin-top: 28px; font-size: 18px; max-width: 54ch; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* schemat łańcucha */
/* pole 520×545 jak viewBox SVG; pozycje węzłów = współrzędne z SVG w procentach */
.chain { position: relative; margin: 0 0 48px; aspect-ratio: 520 / 545; width: 100%; max-width: 520px; justify-self: center; }
.chain-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chain-lines .ring { fill: none; stroke: #C9CCD8; stroke-width: 1.5; stroke-dasharray: 4 6; }
.chain-lines .spoke { fill: none; stroke: var(--orange); stroke-width: 2; opacity: .6; }
.chain-lines .flow circle { fill: var(--orange); }
.chain-lines .flow circle.dim { fill: var(--muted); opacity: .6; }

/* węzeł = samo zdjęcie, wyśrodkowane w punkcie; etykieta obok, nie przesuwa kółka */
.node { position: absolute; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.node img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 5px solid #fff; box-shadow: 0 12px 30px -12px rgba(36,39,51,.35);
}
.node-top { left: 50%; top: 22.94%; }
.node-left { left: 17.52%; top: 76.61%; }
.node-right { left: 82.48%; top: 76.61%; }
.node-top img { object-position: 45% 50%; }
.node-left img { object-position: 55% 40%; }
.node-right img { object-position: 60% 40%; }
.node-label {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%);
  white-space: nowrap; padding: 6px 12px;
  background: #fff; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--ink); text-align: center;
}
.node-top .node-label { top: auto; bottom: calc(100% + 10px); }
.node-center {
  position: absolute; left: 50%; top: 58.72%; transform: translate(-50%, -50%);
  width: 25.4%; aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  box-shadow: 0 0 0 8px rgba(253,80,48,.12), 0 0 0 16px rgba(253,80,48,.05);
}
.node-center img { width: 62%; height: auto; }
.node-center span { font-size: 13px; font-weight: 500; opacity: .75; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .chain { max-width: 420px; }
}
@media (max-width: 480px) {
  .node-label { font-size: 11px; padding: 4px 8px; white-space: normal; width: max-content; max-width: 140px; }
  .node-top .node-label { white-space: nowrap; max-width: none; }
  .node-center span { font-size: 11px; }
  .chain { margin-bottom: 64px; }
}

/* ---------- problem ---------- */
.problem { padding: var(--space) 0; }
.symptoms { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.symptoms li {
  padding: 22px 0 22px 34px; border-top: 1px solid var(--line); position: relative;
  font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.5;
}
.symptoms li::before {
  content: "„"; position: absolute; left: 0; top: 14px;
  font-size: 40px; line-height: 1; color: var(--orange); font-weight: 600;
}
.problem-close { margin-top: 40px; font-size: 18px; max-width: 64ch; }
.problem-close strong { color: var(--ink); }
@media (max-width: 720px) { .symptoms { grid-template-columns: 1fr; } }

/* ---------- dlaczego my ---------- */
.why { background: var(--ink); color: #D5D8E3; padding: var(--space) 0; }
.why h2, .why h3 { color: #fff; }
.why-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
.why-head h2 { max-width: 20ch; }
.why-head p { font-size: 18px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid var(--ink-line); }
.why-col { padding: 36px 32px 8px 0; }
.why-col + .why-col { padding-left: 32px; border-left: 1px solid var(--ink-line); }
.why-num { font-size: clamp(36px, 4vw, 52px); font-weight: 600; color: var(--orange); letter-spacing: -0.03em; line-height: 1; }
.why-col h3 { margin: 12px 0 14px; font-size: 18px; font-weight: 500; }
.why-plus { margin-top: 56px; padding: 28px 32px; border-radius: var(--radius); background: var(--ink-soft); max-width: 900px; }
.why-plus strong { color: #fff; }
@media (max-width: 900px) {
  .why-head { grid-template-columns: 1fr; gap: 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-col, .why-col + .why-col { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--ink-line); }
}

/* ---------- podróż produktu ---------- */
.journey { padding: var(--space) 0; background: var(--mist); }
.journey-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
.journey-head p { font-size: 18px; color: var(--muted); }

/* czas jednej karty — ten sam dla zegara nad kartą i linii między numerami */
.journey { --step: 12s; }

.track-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; }
.track-hint { font-size: 14px; color: var(--muted); }
.track-toggle {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font: 500 13px/1 Poppins, sans-serif; cursor: pointer;
}
.track-toggle::before {
  content: ""; width: 8px; height: 10px;
  border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box;
}
.track-toggle[aria-pressed="true"]::before {
  width: 0; height: 0; border-right: 0;
  border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.track-toggle:hover { border-color: var(--orange); color: var(--orange); }

.track {
  --gap: 8px;
  position: relative; display: grid; grid-template-columns: repeat(6, 1fr);
  margin-top: 20px; gap: var(--gap); padding-top: 6px;
}
.stop {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 0 4px 16px; background: none; border: 0; cursor: pointer;
  font: inherit; color: var(--muted); text-align: center;
}
.stop-n {
  position: relative; z-index: 1;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 2px solid #C9CCD8;
  font-weight: 600; font-size: 16px; color: var(--muted);
  box-shadow: 0 4px 12px -6px rgba(36,39,51,.35);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
/* linia z numeru do następnego numeru; wypełnia się jak zegar */
.stop-link {
  position: absolute; top: 28px; height: 3px; border-radius: 2px;
  left: calc(50% + 27px); width: calc(100% + var(--gap) - 54px);
  background: repeating-linear-gradient(90deg, #C9CCD8 0 6px, transparent 6px 12px);
  overflow: hidden; pointer-events: none;
}
.stop-link i { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.stop.is-done .stop-link i { transform: scaleX(1); opacity: .45; }
.track.is-playing .stop[aria-selected="true"] .stop-link i { animation: fill var(--step) linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.stop-name { font-size: 14px; font-weight: 500; line-height: 1.35; max-width: 14ch; transition: color .2s; }
.stop:hover .stop-n { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.stop:hover .stop-name { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.stop[aria-selected="true"] { color: var(--ink); }
.stop[aria-selected="true"] .stop-n { background: var(--orange); border-color: var(--orange); color: #fff; transform: scale(1.08); animation: pulse 2.4s ease-out infinite; }
.stop[aria-selected="true"]:hover .stop-name { text-decoration: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(253,80,48,.45); }
  70% { box-shadow: 0 0 0 12px rgba(253,80,48,0); }
  100% { box-shadow: 0 0 0 0 rgba(253,80,48,0); }
}
.stop[aria-selected="true"]::after {
  content: ""; position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%);
  border: 9px solid transparent; border-bottom-color: #fff; border-top: 0;
}

.panels { margin-top: 8px; position: relative; }
/* zegar karty: cienki pasek na górnej krawędzi; jego koniec przełącza etap */
.panel-timer {
  position: absolute; left: 1px; right: 1px; top: 1px; height: 3px; z-index: 2;
  border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; pointer-events: none;
}
.panel-timer i { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; opacity: .8; }
.track.is-playing + .panels .panel-timer i { animation: fill var(--step) linear forwards; }
.journey.is-paused .panel-timer i,
.journey.is-paused .stop-link i { animation-play-state: paused !important; }
.panel {
  background: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
}
.panel[hidden] { display: none; }
.panel.is-entering { animation: panelIn .35s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel-q { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; color: var(--ink); line-height: 1.3; letter-spacing: -0.015em; max-width: 36ch; }
.panel-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 32px; }
.panel-cols h3 { font-size: 15px; color: var(--orange); margin-bottom: 10px; }
.panel-cols ul { margin: 0; padding: 0; list-style: none; }
.panel-cols li { padding: 7px 0 7px 22px; position: relative; border-bottom: 1px solid var(--mist); }
.panel-cols li::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 2px; background: var(--orange); }
.panel-example {
  margin-top: 32px; padding: 20px 24px; border-radius: 10px; background: var(--mist);
  font-size: 15px;
}
.panel-example span { font-weight: 600; color: var(--ink); margin-right: 6px; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-next span { font-weight: 500; color: var(--muted); }
.journey-else { margin-top: 28px; font-size: 16px; }
.journey-else a { color: var(--orange); font-weight: 600; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .journey-head { grid-template-columns: 1fr; gap: 16px; }
  .panel-cols { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 4px;
    margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
    padding: 0 var(--gutter); scrollbar-width: none;
  }
  .track { --gap: 4px; }
  .track::-webkit-scrollbar { display: none; }
  .stop { flex: 0 0 116px; scroll-snap-align: center; }
  .track-bar { align-items: flex-start; }
  .btn-next span { display: none; }
}

/* ---------- wiedza ---------- */
.knowledge { padding: var(--space) 0; }
.knowledge-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.knowledge-intro { position: sticky; top: 100px; }
.knowledge-intro p { margin-top: 18px; color: var(--muted); font-size: 17px; }
.knowledge-photo { margin-top: 32px; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% 30%; }
.insights { list-style: none; margin: 0; padding: 0; counter-reset: ins; }
.insights li { padding: 32px 0; border-top: 1px solid var(--line); }
.insights li:last-child { border-bottom: 1px solid var(--line); }
.insight { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; line-height: 1.3; color: var(--ink); letter-spacing: -0.015em; margin-bottom: 10px; }
.insights li p:not(.insight) { color: var(--muted); max-width: 58ch; }
@media (max-width: 900px) {
  .knowledge-grid { grid-template-columns: 1fr; }
  .knowledge-intro { position: static; }
}

/* ---------- porównanie ---------- */
.compare { padding: var(--space) 0; background: var(--mist); }
.table-scroll { margin-top: 44px; overflow-x: auto; }
.compare table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: top; font-size: 15px; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--line); }
.compare tbody th { font-weight: 500; color: var(--ink); width: 30%; }
.compare td { color: var(--muted); }
.compare .us { background: #fff; color: var(--ink); font-weight: 500; }
.compare thead .us { color: #fff; background: var(--ink); border-radius: 12px 12px 0 0; border-bottom-color: var(--ink); }
.compare tbody tr:last-child .us { border-radius: 0 0 12px 12px; }
.compare tbody .us { border-left: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.compare tbody tr:last-child .us { border-bottom: 2px solid var(--ink); }

/* ---------- proces ---------- */
.process { padding: var(--space) 0; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mist); color: var(--ink); font-weight: 600;
}
.steps li:first-child::before { background: var(--orange); color: #fff; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 22px; left: 56px; right: -20px; height: 2px; background: var(--line);
}
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; gap: 8px; } .steps li { padding: 0 0 20px 64px; } }

/* ---------- osoba ---------- */
.person { padding: 0 0 var(--space); }
.person-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.person-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.person blockquote { margin: 0; }
.person blockquote p {
  font-size: clamp(22px, 2.5vw, 30px); line-height: 1.4; font-weight: 500; color: var(--ink); letter-spacing: -0.015em;
}
.person blockquote p::before { content: "„"; color: var(--orange); }
.person blockquote p::after { content: "”"; color: var(--orange); }
.person-name { margin-top: 28px; font-weight: 600; font-size: 18px; color: var(--ink); }
.person-role { color: var(--muted); }
.person-text { margin-top: 14px; max-width: 56ch; }
@media (max-width: 760px) {
  .person-grid { grid-template-columns: 1fr; }
  .person-photo { width: 200px; }
}

/* ---------- FAQ ---------- */
.faq { padding: var(--space) 0; background: var(--mist); }
.faq h2 { margin-bottom: 36px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-size: 18px; font-weight: 500; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--orange); font-size: 22px; font-weight: 500; transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); max-width: 70ch; }

/* ---------- kontakt ---------- */
.contact { padding: var(--space) 0; background: var(--ink); color: #D5D8E3; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact h2 { color: #fff; font-size: clamp(32px, 4.4vw, 54px); }
.contact-copy > p { margin-top: 20px; font-size: 18px; max-width: 44ch; }
.contact-direct a { color: #fff; font-weight: 500; text-underline-offset: 4px; }

.contact-form { background: #fff; color: var(--text); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 3.5vw, 40px); }
.topics { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { font-weight: 600; color: var(--ink); margin-bottom: 12px; padding: 0; }
.topics label { position: relative; cursor: pointer; }
.topics input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topics span {
  display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: 14px; font-weight: 500; transition: background .15s, border-color .15s, color .15s;
}
.topics input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; }
.topics input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
}
.field input:focus, .field textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(253,80,48,.15); }
.field .invalid { border-color: var(--orange); }
.form-error { color: var(--orange-dark); font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.form-note { margin-top: 14px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.form-note a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn[disabled] { opacity: .6; cursor: progress; }
.form-done { background: #fff; color: var(--text); border-radius: calc(var(--radius) + 4px); padding: clamp(28px, 4vw, 48px); align-self: start; }
.form-done:focus { outline: none; }
.form-done-title { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.form-done a { color: var(--orange); font-weight: 500; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- stopka ---------- */
.footer { background: #323333; color: #fff; padding: 64px 0 96px; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--orange); }
.foot-blocks { display: flex; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.35); }
.foot-block { flex: 1; min-width: 0; }
.foot-about p { margin-top: 16px; font-size: 14px; line-height: 1.78; color: #BDBDBD; }
.foot-about p a { color: #BDBDBD; }
.foot-about .foot-strong { color: #fff; }
.brand-light .brand-div { background: rgba(255,255,255,.35); }
.brand-light .brand-sub { color: #BDBDBD; }
.foot-head { font-size: 16px; font-weight: 600; line-height: 1.6; margin-bottom: 24px; }
.foot-block ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.foot-block li a { font-size: 14px; line-height: 1.6; }
.foot-details { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 24px; font-size: 14px; line-height: 1.78; color: #BDBDBD; }
.foot-detail { display: flex; flex-direction: column; gap: 6px; }
.foot-socials { margin-left: auto; display: flex; flex-direction: column; gap: 10px; }
.foot-icons { display: flex; gap: 32px; }
.foot-icons a { color: #BDBDBD; display: inline-flex; }
@media (max-width: 900px) {
  .foot-blocks { flex-wrap: wrap; gap: 48px 40px; }
  .foot-block { flex: 1 1 calc(50% - 20px); }
}
@media (max-width: 600px) {
  .footer { padding: 48px 0 96px; }
  .foot-blocks { flex-direction: column; gap: 40px; }
  .foot-head { font-size: 18px; margin-bottom: 16px; }
  .foot-details { flex-direction: column; gap: 20px; }
  .foot-last { order: 9; }
  .foot-socials { margin-left: 0; }
}

/* ---------- ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chain-lines .flow { display: none; }
  .stop[aria-selected="true"] .stop-n { animation: none; }
  .panel.is-entering { animation: none; }
}

/* porównanie na telefonie: karty zamiast przewijanej tabeli */
@media (max-width: 760px) {
  .table-scroll { overflow: visible; }
  .compare table { min-width: 0; }
  .compare thead { display: none; }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { background: #fff; border-radius: var(--radius); padding: 18px 18px 6px; margin-bottom: 12px; border: 1px solid var(--line); }
  .compare tbody th { padding: 0 0 10px; border: 0; font-weight: 600; font-size: 16px; width: auto; }
  .compare td { padding: 8px 0; border-bottom: 1px solid var(--mist); display: grid; grid-template-columns: 42% 1fr; gap: 12px; }
  .compare td::before { content: attr(data-label); font-size: 13px; color: var(--muted); }
  .compare tbody .us, .compare tbody tr:last-child .us { border: 0; border-radius: 8px; background: var(--mist); padding: 10px; margin: 6px -10px 10px; color: var(--ink); font-weight: 600; }
  .compare tbody .us::before { color: var(--orange); font-weight: 600; }
}

@media (max-width: 480px) {
  .nav-inner { gap: 12px; }
  .nav .brand { gap: 8px; }
  .nav .brand img { width: 86px; }
  .nav .btn-small { padding: 0 14px; font-size: 13px; min-height: 38px; }
}
