:root {
  --ink: #1d2230;
  --muted: #5d6475;
  --line: #e4e6ec;
  --soft: #f3f4f7;
  --bg: #ffffff;
  --accent: #ea5b2a;
  --accent-ink: #ffffff;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 Manrope, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.block { padding: 72px 20px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 28px; }
h3 { font-size: 19px; margin: 0 0 8px; }
.muted { color: var(--muted); }

.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.logo { color: var(--ink); text-decoration: none; letter-spacing: .28em; font-size: 15px; white-space: nowrap; }
.logo b { color: var(--accent); font-weight: 800; }
#menu { display: flex; align-items: center; gap: 22px; }
#menu a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
#menu a:hover { color: var(--accent); }
#menu .lang { color: var(--muted); }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 15px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(234,91,42,.28); color: var(--accent-ink); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn.ghost:hover { box-shadow: none; color: var(--ink); }

.hero { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 96px; padding-bottom: 96px; }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 18px; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); max-width: 860px; margin: 0 0 22px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 720px; margin: 0 0 32px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc, .why { background: var(--soft); border-radius: var(--radius); padding: 26px; }
.svc p, .why p { margin: 0; color: var(--muted); font-size: 16px; }
.why { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); }

.band { background: var(--ink); color: #fff; }
.band h2 { color: #fff; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { counter-increment: s; background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; color: var(--accent); font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.steps b { display: block; font-size: 18px; margin-bottom: 6px; }
.steps span { color: #c4c8d3; font-size: 15px; }

.head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.head a { font-weight: 700; text-decoration: none; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card .meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin: 0 0 16px; flex: 1; }
.card .more { color: var(--accent); font-weight: 700; font-size: 15px; }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.final { background: var(--accent); color: #fff; text-align: center; }
.final .wrap { padding-top: 72px; padding-bottom: 72px; }
.final h2 { color: #fff; max-width: 760px; margin: 0 auto 14px; }
.final p { max-width: 620px; margin: 0 auto 28px; opacity: .92; }
.final .btn { background: #fff; color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 28px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--soft); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.chip:hover { color: var(--accent); }
.chip.on { background: var(--ink); color: #fff; }
.page-head h1 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 12px; }

.post { max-width: 760px; padding-top: 48px; padding-bottom: 24px; }
.post h1 { font-size: clamp(30px, 4.6vw, 44px); margin: 8px 0 12px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.post > .meta { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.toc { background: var(--soft); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 32px; font-size: 15px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.prose h2 { font-size: 27px; margin: 44px 0 14px; scroll-margin-top: 84px; }
.prose h3 { font-size: 21px; margin: 32px 0 10px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 26px 0; padding: 4px 22px; border-left: 4px solid var(--accent); background: var(--soft); border-radius: 0 var(--radius) var(--radius) 0; }
.prose code { background: var(--soft); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.table { overflow-x: auto; margin: 22px 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); }
.post-cta { margin-top: 48px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 32px; }
.post-cta h2 { color: #fff; font-size: 24px; margin: 0 0 10px; }
.post-cta p { color: #c4c8d3; margin: 0 0 22px; }

.foot { background: var(--soft); border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.foot .wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; padding-top: 44px; padding-bottom: 32px; }
.foot p { margin: 8px 0 0; }
.contacts { display: flex; flex-direction: column; gap: 8px; }
.contacts a { color: var(--ink); font-weight: 600; text-decoration: none; }
.copy { grid-column: 1 / -1; font-size: 13px; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 11px 9px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.contacts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.contact:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact small { display: block; color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.contact b { font-size: 20px; }
.location { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: stretch; }
.location .addr { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.location p { color: #c4c8d3; }
.maplinks { display: flex; flex-wrap: wrap; gap: 10px; }
.btn.ghost-light { background: transparent; border: 2px solid rgba(255,255,255,.4); color: #fff; }
.btn.ghost-light:hover { box-shadow: none; border-color: #fff; }
.map { width: 100%; min-height: 320px; border: 0; border-radius: var(--radius); background: #2a3040; }


.langs { display: flex; gap: 2px; margin-left: auto; margin-right: 18px; }
.langs .lang { font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none; padding: 6px 8px; border-radius: 8px; }
.langs .lang.on { color: var(--ink); background: var(--soft); }
.langs .lang:hover { color: var(--accent); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.stat { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; }
.stat b { display: block; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 15px; }

.card { padding: 0; overflow: hidden; }
.card .thumb { display: block; aspect-ratio: 1200 / 630; background: var(--ink); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.card:hover .thumb img { transform: scale(1.03); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card .meta b { color: var(--accent); }

.clients { background: #14171f; }
.clients .logos { width: 100%; height: auto; max-width: 980px; display: block; margin: 0 auto; border-radius: var(--radius); }
.client-names { color: #8d93a3; font-size: 14px; text-align: center; max-width: 900px; margin: 22px auto 0; }

.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.founder { display: flex; gap: 20px; align-items: center; background: var(--soft); border-radius: var(--radius); padding: 20px; }
.founder img { width: 130px; height: 152px; object-fit: cover; border-radius: 12px; flex: none; }
.founder b { display: block; font-size: 19px; }
.founder span { display: block; color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.founder ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.team-h { margin-top: 56px; }
.about-p { max-width: 860px; }
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.member { margin: 0; background: var(--soft); border-radius: var(--radius); overflow: hidden; }
.member img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; display: block; }
.member figcaption { padding: 12px 14px 14px; }
.member figcaption b { display: block; font-size: 15px; line-height: 1.3; }
.member figcaption span { color: var(--muted); font-size: 13px; }
.member.more { display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; font-weight: 800; font-size: 20px; text-align: center; padding: 20px; min-height: 160px; }

.post .cover { width: 100%; height: auto; border-radius: var(--radius); margin: 0 0 28px; display: block; background: var(--ink); }

@media (max-width: 900px) {
  .grid3, .cards, .steps { grid-template-columns: 1fr 1fr; }
  .burger { display: block; }
  #menu { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; box-shadow: 0 12px 24px rgba(29,34,48,.08); }
  .menu-open #menu { display: flex; }
  #menu a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  #menu .btn.small { display: block; text-align: center; margin-top: 14px; padding: 14px; border: 0; font-size: 16px; }
  .contacts-grid, .location { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 22px; }
  .about { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .langs { margin-right: 6px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .block { padding: 52px 16px; }
  .grid3, .cards, .steps { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  #menu { gap: 12px; }
  .logo { letter-spacing: .14em; font-size: 13px; }
  .foot .wrap { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: 12px; }
  .founder { gap: 14px; padding: 14px; align-items: flex-start; }
  .founder img { width: 96px; height: 112px; }
  .langs .lang { padding: 6px 6px; }
  .stat b { font-size: 26px; }
}
