:root {
  --blue: #0000fe;
  --ink: #12151c;
  --body: #2c3340;
  --muted: #5e6774;
  --faint: #8b93a0;
  --line: #e3e6ed;
  --paper: #f4f6f8;
  --white: #fff;
  --display: "Inter Tight", Inter, sans-serif;
  --sans: Inter, "Helvetica Neue", sans-serif;
  --max: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 0.18em; }
p { margin: 0 0 12px; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.036em;
  line-height: 1.08;
}
h1 { font-size: clamp(48px, 4.8vw, 64px); }
h2 { font-size: clamp(34px, 3.2vw, 44px); }
h3 { margin: 0; font-family: var(--sans); font-weight: 500; font-size: 16px; letter-spacing: -0.02em; line-height: 1.35; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }

.skip { position: absolute; left: 12px; top: -40px; background: #fff; padding: 8px; z-index: 40; }
.skip:focus { top: 8px; }
.wrap { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; }
.section { padding: 104px 0; }
main.section { padding-top: 48px; padding-bottom: 96px; }
.paper { background: var(--paper); }
#o-nas { padding-bottom: 0; }
.kicker {
  margin: 0 0 12px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lead { color: var(--body); max-width: 36rem; font-size: 17px; line-height: 1.55; }
.muted { color: var(--muted); }

html.lang-uk .only-pl,
html.lang-ru .only-pl { display: none !important; }
html:not(.lang-uk) .only-uk { display: none !important; }
html:not(.lang-ru) .only-ru { display: none !important; }
html.lang-ru .hide-ru { display: none !important; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 64px; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 12px;
}
.logo svg { width: 26px; height: 26px; display: block; }
nav { display: flex; gap: 28px; margin-left: auto; }
nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}
nav a:hover::after,
nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 20px; }
.phone {
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  background: none;
  padding: 0;
}
.langs { display: inline-flex; align-items: center; border: 0; background: transparent; }
.langs button {
  border: 0;
  background: transparent;
  color: var(--faint);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0 2px;
  cursor: pointer;
}
.lang-sep { color: #c5cad3; font-size: 12px; padding: 0 4px; }
html:not(.lang-uk):not(.lang-ru) .langs button[data-set-lang="pl"],
html.lang-uk .langs button[data-set-lang="uk"],
html.lang-ru .langs button[data-set-lang="ru"] { background: transparent; color: var(--ink); font-weight: 600; }
.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-weight: 500;
  font-size: 13px;
  padding: 8px 12px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  border: 0;
  padding: 0 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { min-height: 40px; padding: 0 14px; }
.btn[disabled] { opacity: 0.55; cursor: wait; }
.form .btn { justify-self: start; }

.hero { padding: 48px 0 88px; }
.hero .kicker { margin-bottom: 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 72px;
  align-items: start;
}
.hero h1 { max-width: 11em; margin: 0 0 20px; font-size: clamp(48px, 4.6vw, 64px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; }
.hero-phone { display: none; margin: 16px 0 0; }
.hero-phone a { color: var(--ink); text-decoration: none; font-weight: 500; font-variant-numeric: tabular-nums; }

.panel { padding-top: 4px; }
.panel-head h2 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  line-height: 1.2;
}
.mini-list { margin-top: 4px; border-bottom: 1px solid var(--line); }
.mini-job {
  display: block;
  padding: 16px 0 15px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease;
}
.mini-job:hover { border-top-color: var(--ink); }
.mini-job strong { display: block; font-weight: 500; letter-spacing: -0.015em; font-size: 15.5px; line-height: 1.35; }
.mini-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 6px; color: var(--muted); font-size: 13.5px; }
.panel-more { margin: 16px 0 0; font-weight: 500; font-size: 14px; }
.panel-more a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.panel-more a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.rate { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }

.about-grid, .contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 80px; align-items: start; }
.about-copy { margin: 18px 0 0; max-width: 38em; color: var(--body); font-size: 16.5px; line-height: 1.6; }
.points { padding-top: 28px; }
.points .point { padding: 18px 0; border-top: 1px solid var(--line); }
.points .point:first-child { border-top: 0; padding-top: 0; }
.points .point:last-child { border-bottom: 1px solid var(--line); }
.points .point b { display: block; font-weight: 500; font-size: 16px; margin-bottom: 6px; letter-spacing: -0.02em; }
.points .point span { color: var(--muted); font-size: 15px; line-height: 1.5; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  width: min(var(--max), calc(100% - 64px));
  margin: 72px auto 0;
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 3.4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat > span {
  display: block;
  margin-top: 10px;
  max-width: 18ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.card {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 32px 32px 0;
  min-height: 220px;
  transition: background-color 0.18s ease;
}
.card:nth-child(3n) { border-right: 0; padding-right: 0; }
.card:nth-child(3n+2),
.card:nth-child(3n+3) { padding-left: 32px; }
.card:last-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto auto;
  column-gap: 0;
  row-gap: 8px;
  align-items: center;
  border-right: 0;
  min-height: 0;
  padding: 28px 0;
}
.card:last-child .num { grid-column: 1; grid-row: 1; align-self: end; }
.card:last-child h3 { grid-column: 1; grid-row: 2; margin: 0; align-self: start; }
.card:last-child p { grid-column: 2; grid-row: 1 / span 2; align-self: center; max-width: 46ch; padding-left: 32px; }
.card:hover { background: #f7f8fa; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 38ch; }
.card:last-child h3,
.card:last-child p { margin: 0; }
.num {
  color: var(--faint);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.card h3 { margin: 14px 0 8px; font-size: 17px; }

.quote-section { padding: 0 0 104px; }
.quote {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: minmax(0, 740px) 1fr;
  gap: 48px;
  align-items: end;
}
.quote p {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.034em;
  color: var(--ink);
}
.quote cite {
  justify-self: end;
  margin: 0;
  text-align: right;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 16em;
}

.section-head { margin-bottom: 40px; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.review {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  border-top: 1px solid #d5dae3;
  padding: 24px 12px 0 0;
  min-height: 100%;
}
.review p { margin: 0; color: var(--ink); font-size: 16.5px; line-height: 1.55; }
.score { margin: 0; text-align: right; }
.score span {
  display: block;
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.score b {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(56px, 6vw, 80px);
  letter-spacing: -0.05em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.review footer {
  margin-top: auto;
  padding-top: 28px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-grid { grid-template-columns: 1.15fr 0.85fr; column-gap: 72px; row-gap: 36px; }
.contact-intro { grid-column: 1 / -1; }
.contact-intro h2 { max-width: 14em; }
.form { display: grid; gap: 22px; grid-column: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--body);
}
input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d5dae3;
  padding: 12px;
}
textarea { min-height: 132px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(0, 0, 254, 0.25); border-color: var(--blue); }
.contact-grid input,
.contact-grid select,
.contact-grid textarea {
  border: 0;
  border-bottom: 1px solid #cfd5de;
  background: transparent;
  padding: 10px 0 12px;
  font-size: 16px;
}
.contact-grid textarea { min-height: 112px; }
.contact-grid input:focus,
.contact-grid select:focus,
.contact-grid textarea:focus {
  outline: none;
  border-bottom-color: var(--blue);
  box-shadow: inset 0 -1px 0 var(--blue);
}
.contact-grid select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%2312151c' stroke-width='1.4' d='M1 1.5 6 6.5 11 1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 22px;
}
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 13.5px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.check input { width: 16px; height: 16px; margin-top: 3px; padding: 0; accent-color: var(--blue); }
.contact-grid .check input { border: 1px solid #cfd5de; box-shadow: none; }
.contact-grid .check input:focus { outline: 2px solid rgba(0, 0, 254, 0.35); outline-offset: 2px; box-shadow: none; }
.form-status { min-height: 1.3em; font-size: 14px; font-weight: 500; }
.form-status.ok { color: #0d6b3d; }
.form-status.bad { color: #9d1c2a; }
.hp { position: absolute; left: -9999px; }
.office-list { grid-column: 2; grid-row: 2; display: grid; gap: 0; align-self: start; }
.office { background: transparent; border: 0; border-top: 1px solid var(--line); padding: 18px 0 20px; }
.office h3 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.office p { margin: 0 0 8px; color: var(--body); font-size: 15px; line-height: 1.5; }
.office .muted { font-size: 13px; }

.search { display: grid; gap: 8px; max-width: 420px; }
.search label { min-width: 0; }
.search input,
#job-search {
  border: 0;
  border-bottom: 1px solid #cfd5de;
  background: transparent;
  padding: 10px 0;
}
.filters { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 22px 0 8px; }
.filters button {
  border: 0;
  background: transparent;
  padding: 6px 0;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  box-shadow: inset 0 -1px 0 transparent;
  transition: color 0.18s ease, box-shadow 0.18s ease;
}
.filters button[aria-pressed="true"] { background: transparent; color: var(--ink); border: 0; box-shadow: inset 0 -1px 0 var(--ink); }
.choice {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.choice[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.jobs-layout { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: 56px; align-items: start; margin-top: 12px; }
.job-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.job {
  display: grid;
  gap: 6px;
  width: 100%;
  text-align: left;
  text-decoration: none;
  color: inherit;
  padding: 18px 12px 18px 14px;
  cursor: pointer;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background-color 0.18s ease;
}
.job:hover { background: var(--paper); }
.job strong { font-weight: 500; letter-spacing: -0.015em; line-height: 1.35; }
.job-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.job-line small { flex: 1; min-width: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.job .rate { flex: none; text-align: right; font-size: 13.5px; white-space: nowrap; }
.job[aria-current="true"] { background: var(--paper); box-shadow: inset 2px 0 0 var(--blue); }
.detail {
  position: sticky;
  top: 88px;
  padding: 0 0 0 40px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
}
.detail h2 { margin: 0 0 12px; font-size: clamp(28px, 2.5vw, 36px); }
.meta { display: grid; gap: 4px; margin: 0 0 20px; }
.meta span { background: transparent; padding: 0; font-size: 14px; font-weight: 500; color: var(--muted); line-height: 1.4; }
.detail p { color: var(--body); }
.detail ul { margin: 8px 0 0; padding-left: 18px; color: var(--body); }
.detail h3 { margin-top: 22px; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
main.section h1 { margin-bottom: 12px; }
main.section .lead { margin-top: 8px; margin-bottom: 28px; }

.legal { padding: 56px 0 88px; }
.legal h1 { margin-bottom: 14px; }
.legal h2 { font-size: 30px; margin: 32px 0 8px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step { background: #fff; border: 1px solid var(--line); padding: 16px; font-size: 14.5px; }
.step b { display: block; margin-bottom: 8px; color: var(--ink); font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -0.04em; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.editor { display: grid; grid-template-columns: 240px 1fr; gap: 16px; align-items: start; }
.edit-list { display: grid; gap: 6px; }
.edit-list .choice { text-align: left; }
.hidden-job { opacity: 0.45; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-hero { padding-top: 40px; }

.footer { background: #10131a; color: rgba(255, 255, 255, 0.66); padding: 72px 0 28px; }
.footer a { color: #fff; text-decoration: none; font-weight: 400; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h2 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 14px;
  font-weight: 500;
}
.footer p { color: rgba(255, 255, 255, 0.66); font-size: 14.5px; line-height: 1.55; max-width: 32ch; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer .logo { color: #fff; }
.legal-line {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.legal-line p { margin: 0; color: inherit; max-width: none; }
.legal-line a { color: rgba(255, 255, 255, 0.8); }
[id] { scroll-margin-top: 80px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

@media (max-width: 900px) {
  .wrap, .stats { width: min(var(--max), calc(100% - 40px)); }
  .nav-toggle { display: inline-flex; }
  nav { display: none; order: 6; width: 100%; flex-direction: column; gap: 14px; padding: 8px 0 16px; }
  body.nav-open nav { display: flex; }
  .header:not(:has(.nav-toggle)) nav { display: flex; flex-direction: row; width: auto; order: 0; padding: 0; }
  .header-inner { flex-wrap: wrap; min-height: 60px; }
  .header-tools .phone { display: none; }
  .hero-phone { display: block; }
  .hero { padding: 32px 0 56px; }
  .hero-grid { gap: 36px; }
  .section { padding: 64px 0; }
  .quote-section { padding: 8px 0 64px; }
  .job-line { flex-direction: column; align-items: flex-start; gap: 2px; }
  .job .rate { white-space: normal; text-align: left; }
  .hero-grid, .about-grid, .contact-grid, .jobs-layout, .editor, .footer-grid, .reviews, .steps, .cards, .stats, .form-row, .quote {
    grid-template-columns: 1fr;
  }
  .card,
  .card:nth-child(3n),
  .card:nth-child(3n+2),
  .card:nth-child(3n+3) { border-right: 0; padding: 24px 0; }
  .card:last-child { grid-template-columns: 1fr; grid-template-rows: auto; gap: 8px; padding: 24px 0; }
  .card:last-child .num,
  .card:last-child h3,
  .card:last-child p { grid-column: 1; grid-row: auto; padding-left: 0; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 48px; gap: 28px 16px; }
  .split-head { flex-direction: column; align-items: flex-start; }
  .score { text-align: left; }
  .contact-intro, .form, .office-list { grid-column: 1; grid-row: auto; }
  .detail { position: static; border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
  .points { padding-top: 12px; }
  .form .btn { width: 100%; }
  .legal-line { flex-direction: column; }
  .quote cite { justify-self: start; text-align: left; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
