﻿:root {
  color-scheme: dark;
  --bg: #081015;
  --bg-elevated: #0d171e;
  --bg-soft: #101f28;
  --panel: #111d25;
  --panel-strong: #152832;
  --text: #e6eef3;
  --text-muted: #b4c5cd;
  --text-soft: #9cafb8;
  --line: rgba(176, 209, 224, 0.19);
  --line-strong: rgba(105, 206, 225, 0.28);
  --cyan: #38cbe9;
  --blue: #4a89e8;
  --green: #32d48b;
  --success: #32d48b;
  --amber: #e2b45b;
  --danger: #ff647c;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  --radius-sm: 6px;
  --max: 1220px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(56, 203, 233, 0.055), rgba(50, 212, 139, 0.02) 38%, transparent 68%),
    radial-gradient(ellipse at 70% -10%, rgba(74, 137, 232, 0.13), transparent 36%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  color: #f4fbff;
  background: rgba(56, 203, 233, 0.34);
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--cyan);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(56, 203, 233, 0.56);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--cyan);
  color: #031017;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 16, 21, 0.97);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(56, 203, 233, 0.42);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #041116;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 16px rgba(56, 203, 233, 0.08);
}

.brand-name {
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  width: 19px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--text);
  content: "";
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.site-nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  display: none;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 16, 21, 0.98);
}

body.nav-open .site-nav {
  display: block;
}

.nav-list {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 18px 0 24px;
  list-style: none;
  display: grid;
  gap: 6px;
}

.nav-list a {
  display: block;
  padding: 10px 0;
  color: #c8d6de;
  font-size: 0.96rem;
  font-weight: 700;
}

.nav-list a[aria-current="page"] {
  color: var(--cyan);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.header-actions .btn-primary {
  border-color: rgba(50, 212, 139, 0.34);
  box-shadow: 0 8px 22px rgba(56, 203, 233, 0.08);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.lang-switch a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
}

.lang-switch .active {
  color: var(--cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  box-shadow: 0 0 0 1px rgba(56, 203, 233, 0.10);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #041116;
  box-shadow: 0 10px 24px rgba(56, 203, 233, 0.07);
}

.btn-primary:hover {
  color: #041116;
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(56, 203, 233, 0.06);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(56, 203, 233, 0.34);
  color: var(--cyan);
  background: rgba(56, 203, 233, 0.045);
}

.btn-small {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 0.9rem;
}

main {
  min-height: 60vh;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section {
  padding: 62px 0;
}

.section-tight {
  padding: 44px 0;
}

.hero {
  padding: 50px 0 44px;
}

.hero-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #5ed3e6;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
}

p,
li,
label {
  overflow-wrap: break-word;
}

h1,
.hero-title {
  margin: 0;
  max-width: 860px;
  font-size: clamp(2.25rem, 2.1rem + 1.9vw, 4.5rem);
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}

h2,
.section-title {
  margin: 0;
  max-width: 740px;
  font-size: clamp(1.7rem, 1.55rem + 0.8vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
  text-wrap: balance;
}

.lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  font-weight: 520;
}

.hero .lead {
  font-size: clamp(1.06rem, 1rem + 0.18vw, 1.24rem);
}

.lead-mobile {
  display: none;
}

.hero-note {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 760;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.trust-row li,
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.84rem;
  font-weight: 750;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(21, 40, 50, 0.86), rgba(13, 23, 30, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 760;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(50, 212, 139, 0.26);
  animation: statusPulse 2.8s ease-in-out infinite;
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 0.72;
    box-shadow: 0 0 8px rgba(50, 212, 139, 0.22);
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 14px rgba(50, 212, 139, 0.34);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .status-dot {
    animation: none;
  }
}

.hero-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 560 / 420;
  object-fit: contain;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.metric {
  min-width: 0;
  display: flex;
  min-height: 74px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.2;
}

.metric span {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.section-head .lead {
  margin-top: 0;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2,
.grid-3,
.grid-4,
.grid-5 {
  grid-template-columns: 1fr;
}

.card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(19, 34, 43, 0.9);
  padding: 20px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.card:hover,
.card:focus-within {
  border-color: rgba(105, 206, 225, 0.26);
  background: rgba(18, 34, 43, 0.88);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(56, 203, 233, 0.035);
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px auto auto -1px;
  width: 54px;
  height: 3px;
  border-radius: var(--radius) 0 var(--radius) 0;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.grid > .card:nth-child(4n+2)::before {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.card p,
.check-list,
.plain-list {
  color: var(--text-muted);
  font-weight: 500;
}

.card p {
  margin: 10px 0 0;
  font-size: 0.98rem;
  line-height: 1.58;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 18px;
  padding-block: 8px;
  color: var(--cyan);
  font-weight: 780;
}

.card-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(56, 203, 233, 0.24);
  border-radius: var(--radius);
  background: rgba(56, 203, 233, 0.055);
  color: var(--cyan);
  font-weight: 800;
}

.problem-list,
.check-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-list {
  display: grid;
  gap: 10px;
}

.problem-list li,
.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
}

.problem-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(56, 203, 233, 0.28);
}

.check-list li:nth-child(4n+2)::before {
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(56, 203, 233, 0.24);
}

.problem-list li::before {
  background: var(--danger);
  box-shadow: 0 0 18px rgba(255, 100, 124, 0.36);
}

.section.band .grid-4 > .card::before {
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.grid-5:not(.process) > .card::before {
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.grid-5:not(.process) > .card .icon {
  border-color: rgba(50, 212, 139, 0.26);
  background: rgba(50, 212, 139, 0.06);
  color: var(--green);
}

.grid-5:not(.process) > .card h3 {
  color: var(--green);
}

.plain-list {
  display: grid;
  gap: 10px;
}

.plain-list li::before {
  content: "/";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 800;
}

.plain-list li:nth-child(3n+2)::before {
  color: var(--cyan);
}

.band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(56, 203, 233, 0.055), transparent 44%),
    linear-gradient(315deg, rgba(74, 137, 232, 0.052), transparent 42%),
    rgba(13, 23, 30, 0.66);
}

.process {
  counter-reset: step;
}

.step {
  min-height: 100%;
}

.step-number {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 800;
}

.process .card:nth-child(4n+2) .step-number {
  color: var(--cyan);
}

.deliverable-strip {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(4, 14, 19, 0.46);
}

.deliverable-strip strong {
  color: var(--green);
}

.deliverable-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.deliverable-strip li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.88rem;
  font-weight: 720;
}

.deliverable-strip li:nth-child(3n+2) {
  border-color: var(--line);
}

.price {
  margin: 16px 0 0;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
}

.price small {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 750;
}

.note {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.split {
  display: grid;
  gap: 24px;
  align-items: start;
}

.diagnostic-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(19, 34, 43, 0.84);
  padding: 22px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.diagnostic-box:hover,
.diagnostic-box:focus-within {
  border-color: rgba(105, 206, 225, 0.28);
  background: rgba(18, 34, 43, 0.84);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
}

.diagnostic-box strong {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
}

.diagnostic-box:nth-child(3n+2) strong {
  color: var(--cyan);
}

.diagnostic-box .check-list + .btn {
  margin-top: 28px;
}

.service-hero {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(56, 203, 233, 0.06), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.service-hero h1 {
  max-width: 800px;
}

.breadcrumbs {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--line-strong);
}

.service-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.side-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(19, 34, 43, 0.9);
  padding: 20px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.14);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.side-panel:hover,
.side-panel:focus-within {
  border-color: rgba(105, 206, 225, 0.32);
  background: rgba(18, 34, 43, 0.9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.side-panel h2 {
  font-size: clamp(1.55rem, 1.3rem + 0.65vw, 2.25rem);
  line-height: 1.22;
}

.side-panel h2 + :is(p, ul, ol, .plain-list, .check-list) {
  margin-top: 18px;
}

.side-panel p + :is(ul, ol, .plain-list, .check-list) {
  margin-top: 18px;
}

.side-panel :is(.plain-list, .check-list) {
  gap: 12px;
}

.side-panel .btn {
  width: 100%;
  margin-top: 22px;
}

.service-block + .service-block {
  margin-top: 40px;
}

.service-block p {
  color: var(--text-muted);
}

.service-block > p,
.service-block .card > p {
  max-width: 720px;
}

html:has(link[rel="canonical"][href="https://webrescue.pl/techniczne-seo/"]) .service-block > p,
html:has(link[rel="canonical"][href="https://webrescue.pl/en/technical-seo/"]) .service-block > p {
  max-width: 760px;
}

html:has(link[rel="canonical"][href="https://webrescue.pl/techniczne-seo/"]) .faq-list .card p,
html:has(link[rel="canonical"][href="https://webrescue.pl/en/technical-seo/"]) .faq-list .card p {
  max-width: 720px;
}

.service-block > h2 + :is(p, ul, ol, .grid, .check-list, .plain-list, .faq-list, .roadmap-preview, .score-grid, .kanban-board),
.service-block > h3 + :is(p, ul, ol, .grid, .check-list, .plain-list, .faq-list) {
  margin-top: 20px;
}

.card > h3 + :is(p, ul, ol, .check-list, .plain-list) {
  margin-top: 14px;
}

.roadmap-preview {
  display: grid;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 14, 19, 0.54);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.roadmap-preview:hover,
.roadmap-preview:focus-within {
  border-color: rgba(105, 206, 225, 0.3);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
}

.roadmap-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(136px, 0.62fr) minmax(280px, 1.55fr);
  column-gap: 26px;
  row-gap: 8px;
  align-items: start;
  padding: 13px 14px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.roadmap-row > * {
  min-width: 0;
}

.roadmap-row:first-child {
  border-top: 0;
}

.roadmap-row strong {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  color: var(--cyan);
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: normal;
  word-break: normal;
}

.roadmap-row span {
  overflow-wrap: break-word;
}

.roadmap-row > :nth-child(2) {
  padding-right: 4px;
}

.roadmap-row > :nth-child(3) {
  padding-left: 2px;
}

.roadmap-head {
  color: var(--text);
  background: rgba(56, 203, 233, 0.05);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.roadmap-preview-compact .roadmap-head {
  display: none;
}

.roadmap-preview-compact .roadmap-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

.score-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.score-card {
  min-width: 0;
  border: 1px solid rgba(50, 212, 139, 0.26);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(50, 212, 139, 0.065), transparent 40%),
    rgba(19, 34, 43, 0.9);
  padding: 20px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.score-card:hover,
.score-card:focus-within {
  border-color: rgba(50, 212, 139, 0.32);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(50, 212, 139, 0.045);
}

.score-card span {
  display: inline-flex;
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.score-card strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: clamp(3rem, 2.35rem + 2.4vw, 5rem);
  line-height: 0.92;
}

.score-card p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-weight: 540;
}

.score-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 620;
  list-style: none;
}

.score-card li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--success);
}

.kanban-board {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.kanban-column {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 14, 19, 0.54);
  padding: 12px;
}

.kanban-column h3 {
  color: var(--text-muted);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.kanban-card {
  margin-top: 12px;
  border: 1px solid rgba(56, 203, 233, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(19, 34, 43, 0.94);
  padding: 12px;
  transition: border-color 160ms ease, background 160ms ease;
}

.kanban-card:hover {
  border-color: rgba(56, 203, 233, 0.25);
  background: rgba(18, 34, 43, 0.96);
}

.kanban-card strong,
.kanban-card span {
  display: block;
}

.kanban-card strong {
  color: var(--text);
  font-size: 0.94rem;
}

.kanban-card span {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 620;
}

.kanban-card.is-won {
  border-color: rgba(50, 212, 139, 0.3);
  background: rgba(50, 212, 139, 0.055);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.contact-layout {
  display: grid;
  gap: 26px;
  align-items: start;
}

.form {
  display: grid;
  gap: 15px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--text);
  font-weight: 780;
}

.field label span,
.field-help {
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 650;
}

.field-error {
  margin: 0;
  color: var(--danger);
  font-size: 0.92rem;
  font-weight: 760;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 1px rgba(255, 100, 124, 0.18);
}

.checkbox + .field-error {
  margin-top: -8px;
}

.checkbox input[aria-invalid="true"] {
  outline: 2px solid var(--danger);
  outline-offset: 3px;
}

.form-note {
  margin: 10px 0 18px;
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 620;
}

.form-note a {
  color: var(--cyan);
  font-weight: 780;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(4, 14, 19, 0.72);
  color: var(--text);
  padding: 11px 12px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(56, 203, 233, 0.72);
  background: rgba(4, 14, 19, 0.88);
}

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

.checkbox {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 540;
}

.checkbox a {
  color: var(--cyan);
  font-weight: 780;
}

.checkbox a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--cyan);
}

.form-status {
  min-height: 24px;
  color: var(--success);
  font-weight: 800;
}

.form-status .status-link {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.configurator .service-block > p {
  max-width: 760px;
}

.package-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.package-fieldset {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.package-fieldset .package-grid {
  margin-top: 0;
}

.package-option {
  display: grid;
  gap: 7px;
  cursor: pointer;
}

.package-option input {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.package-option:has(input:checked) {
  border-color: rgba(50, 212, 139, 0.38);
  background:
    linear-gradient(135deg, rgba(50, 212, 139, 0.08), transparent 42%),
    linear-gradient(315deg, rgba(56, 203, 233, 0.052), transparent 48%),
    rgba(19, 34, 43, 0.94);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(50, 212, 139, 0.045);
}

.package-option:focus-within {
  outline: 3px solid rgba(56, 203, 233, 0.56);
  outline-offset: 4px;
}

.package-option.is-recommended {
  border-color: rgba(56, 203, 233, 0.26);
}

.package-option em {
  justify-self: start;
  border: 1px solid rgba(56, 203, 233, 0.26);
  border-radius: 999px;
  color: var(--cyan);
  padding: 4px 8px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 820;
  text-transform: uppercase;
}

.package-option span {
  color: var(--text);
  font-weight: 800;
}

.package-option strong {
  color: var(--green);
  font-size: 1rem;
}

.package-option small {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.order-summary .price {
  margin-top: 10px;
}

.order-form {
  margin-top: 18px;
}

.optional-fields {
  margin-top: 2px;
}

.order-proof {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.order-proof h2 {
  font-size: 1rem;
}

.order-proof p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.cta-final {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(56, 203, 233, 0.075), rgba(74, 137, 232, 0.052)),
    #0d171e;
}

.cta-final .container {
  display: grid;
  gap: 20px;
  align-items: center;
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 42px 0 30px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 0%, rgba(56, 203, 233, 0.065), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(74, 137, 232, 0.06), transparent 32%),
    linear-gradient(180deg, rgba(8, 16, 21, 0.82), rgba(7, 14, 19, 0.96));
  color: var(--text-muted);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: -32% -12%;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 22%, rgba(56, 203, 233, 0.045), transparent 52%),
    linear-gradient(295deg, transparent 30%, rgba(74, 137, 232, 0.045), transparent 64%);
  opacity: 0.46;
  transform: translate3d(-1%, 0, 0);
  animation: footerGlowDrift 18s ease-in-out infinite alternate;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  gap: 14px;
  align-items: stretch;
}

.footer-grid > div {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(184, 218, 232, 0.17);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(19, 34, 43, 0.78), rgba(10, 21, 28, 0.74));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.14);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.footer-grid > div:hover,
.footer-grid > div:focus-within {
  border-color: rgba(105, 206, 225, 0.28);
  background: linear-gradient(180deg, rgba(20, 37, 47, 0.86), rgba(10, 21, 28, 0.8));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(56, 203, 233, 0.04);
  transform: translateY(-2px);
}

.site-footer .brand {
  min-height: 44px;
}

.site-footer p {
  margin: 14px 0 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.site-footer p a[href^="mailto:"],
.site-footer p a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: -12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 650;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.site-footer p a[href^="mailto:"]:hover,
.site-footer p a[href^="mailto:"]:focus-visible,
.site-footer p a[href^="tel:"]:hover,
.site-footer p a[href^="tel:"]:focus-visible {
  background: rgba(56, 203, 233, 0.055);
  box-shadow: 0 0 0 1px rgba(56, 203, 233, 0.08);
}

.site-footer p + .footer-links {
  margin-top: 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(184, 218, 232, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.022);
  color: var(--text-muted);
  font-weight: 650;
  line-height: 1.2;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
  border-color: rgba(105, 206, 225, 0.36);
  background: rgba(56, 203, 233, 0.05);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(56, 203, 233, 0.03);
  text-decoration: none;
  transform: translateY(-1px);
}

.footer-links a:active {
  transform: translateY(0) scale(0.99);
}

.footer-grid > div:nth-child(2) .footer-links {
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
}

.footer-grid > div:nth-child(3) .footer-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 190px;
}

.footer-grid > div:nth-child(3) .footer-links a {
  justify-content: center;
}

.site-footer .footer-links a.is-active,
.site-footer .footer-links a[aria-current="true"] {
  color: #041116;
  border-color: rgba(56, 203, 233, 0.42);
  background: linear-gradient(135deg, #38cbe9, #32d48b);
  box-shadow: 0 10px 24px rgba(56, 203, 233, 0.07);
}

.site-footer .footer-links a[href="/zamow-usluge/"],
.site-footer .footer-links a[href="/en/request-service/"] {
  color: #041116;
  border-color: rgba(56, 203, 233, 0.48);
  background: linear-gradient(135deg, #38cbe9, #32d48b);
  box-shadow: 0 10px 26px rgba(56, 203, 233, 0.08);
  font-weight: 760;
}

.site-footer .footer-links a[href="/zamow-usluge/"]:hover,
.site-footer .footer-links a[href="/zamow-usluge/"]:focus-visible,
.site-footer .footer-links a[href="/en/request-service/"]:hover,
.site-footer .footer-links a[href="/en/request-service/"]:focus-visible {
  border-color: rgba(105, 206, 225, 0.62);
  background: linear-gradient(135deg, #5ddbf0, #43dea0);
  box-shadow: 0 12px 28px rgba(56, 203, 233, 0.1);
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #5ed3e6;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-bottom {
  margin-top: 16px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 560;
}

@keyframes footerGlowDrift {
  from {
    transform: translate3d(-1.2%, -0.6%, 0);
    opacity: 0.34;
  }

  to {
    transform: translate3d(1.2%, 0.6%, 0);
    opacity: 0.56;
  }
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(8, 16, 21, 0.97);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

body.cookie-banner-active,
body.sticky-cta-active.cookie-banner-active {
  padding-bottom: var(--cookie-banner-space, 180px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  color: var(--text);
  font-size: 0.96rem;
}

.cookie-banner p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.sticky-mobile-cta {
  display: none;
}

@media (min-width: 700px) {
  .container {
    width: min(100% - 48px, var(--max));
  }

  .cookie-banner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
    align-items: end;
  }

  .cta-final .container {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kanban-board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1180px) {
  .footer-grid {
    grid-template-columns: minmax(220px, 1.28fr) minmax(0, 1.1fr) minmax(130px, 0.55fr) minmax(180px, 0.8fr);
  }
}

@media (min-width: 700px) and (max-width: 899px) {
  .roadmap-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .roadmap-head {
    display: none;
  }
}

@media (max-width: 699px) {
  body.sticky-cta-active {
    padding-bottom: 84px;
  }

  .section {
    padding: 50px 0;
  }

  .section-tight {
    padding: 34px 0;
  }

  .service-hero {
    padding: 42px 0 28px;
  }

  .lead-desktop {
    display: none;
  }

  .lead-mobile {
    display: block;
  }

  .contact-layout {
    gap: 20px;
  }

  .roadmap-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .roadmap-head {
    display: none;
  }

  .site-footer {
    padding-top: 40px;
  }

  .footer-grid {
    gap: 14px;
  }

  .footer-grid > div {
    padding: 16px;
  }

  .footer-bottom {
    margin-top: 14px;
  }

  .sticky-mobile-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 18px;
    border: 1px solid rgba(74, 137, 232, 0.36);
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--cyan), var(--green));
    color: #041116;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.30);
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    transition: none;
  }

  .sticky-mobile-cta:hover {
    color: #041116;
  }

  body.nav-open .sticky-mobile-cta,
  body.cookie-banner-active .sticky-mobile-cta,
  .sticky-mobile-cta.is-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  body.sticky-cta-active .cookie-banner {
    bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .contact-layout .field select {
    font-size: 0.94rem;
    padding-right: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer::before {
    animation: none;
  }

  .footer-grid > div,
  .footer-links a,
  .site-footer p a[href^="mailto:"],
  .site-footer p a[href^="tel:"] {
    transition: none;
  }

  .footer-grid > div:hover,
  .footer-grid > div:focus-within,
  .footer-links a:hover,
  .footer-links a:focus-visible,
  .footer-links a:active {
    transform: none;
  }
}

@media (min-width: 980px) {
  :root {
    --header-height: 78px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: block;
    border: 0;
    background: transparent;
  }

  .nav-list {
    width: auto;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .nav-list a {
    padding: 10px 0;
    font-size: 0.89rem;
  }

  .header-actions {
    display: flex;
  }

  .hero {
    padding: 76px 0 62px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.78fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .split,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  }

  .service-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .side-panel {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }
}

@media (min-width: 980px) and (max-width: 1179px) {
  .header-actions {
    display: none;
  }
}

@media (min-width: 1180px) {
  .nav-list {
    gap: 22px;
  }
}
