:root {
  --ink: oklch(22% 0.018 133);
  --ink-soft: oklch(34% 0.022 133);
  --muted: oklch(49% 0.022 130);
  --paper: oklch(98% 0.008 105);
  --surface: oklch(95% 0.013 108);
  --surface-green: oklch(94% 0.035 126);
  --line: oklch(84% 0.018 112);
  --accent: oklch(84% 0.21 126);
  --accent-deep: oklch(55% 0.17 132);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  overflow-x: hidden;
}
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--ink); }

.topbar {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand {
  width: max-content;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -.045em;
}
.brand span { color: var(--accent-deep); }
.nav { display: flex; gap: clamp(22px, 3vw, 42px); color: var(--muted); font-size: .84rem; }
.nav a, footer a { transition: color .2s ease; }
.nav a:hover, footer a:hover { color: var(--accent-deep); }

.button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s cubic-bezier(.22,1,.36,1);
}
.button:hover { background: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.button--small { min-height: 40px; padding: 0 15px; justify-self: end; border-color: var(--accent-deep); background: var(--accent-deep); font-size: .76rem; }

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 720px;
  margin: 0 auto;
  padding: clamp(74px, 9vw, 116px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .72fr);
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
}
.hero__copy { max-width: 700px; }
.kicker, .eyebrow, .form-kicker {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.kicker span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-deep); }
h1, h2 {
  margin: 0;
  font-weight: 850;
  letter-spacing: -.06em;
  line-height: .98;
}
h1 { font-size: clamp(3.5rem, 6.5vw, 6rem); }
h1 .accent, .section-head h2 span { color: var(--accent-deep); }
.hero__lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.68;
}
.hero__actions { margin-top: 32px; display: flex; align-items: center; gap: 28px; }
.text-link { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: .86rem; }
.text-link span { margin-left: 10px; color: var(--accent-deep); }
.signal-list { margin: 38px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; }
.signal-list li { color: var(--muted); font-size: .72rem; }
.signal-list span { margin-right: 5px; color: var(--accent-deep); font-size: .62rem; font-weight: 850; }

.hero-form, .lead-form {
  padding: clamp(26px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: oklch(99% 0.006 105);
}
.hero-form h2 { max-width: 350px; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.045em; line-height: 1.08; }
.form-kicker { color: var(--accent-deep); }
.form-intro { margin: 16px 0 26px; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; color: var(--ink-soft); font-size: .72rem; font-weight: 750; }
.field input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  outline: 0;
}
.field input::placeholder { color: oklch(61% 0.018 126); }
.field input:focus { border-color: var(--accent-deep); box-shadow: 0 0 0 3px oklch(84% 0.21 126 / .17); }
.button--form { width: 100%; margin-top: 3px; }
.button:disabled { cursor: wait; opacity: .7; transform: none; }
.form-note { margin: 11px 0 0; color: var(--muted); font-size: .62rem; line-height: 1.45; }
.form-alert { margin-bottom: 18px; padding: 12px 14px; border: 1px solid #f2c7c7; border-radius: 10px; background: #fff4f4; color: #a72929; font-size: .78rem; font-weight: 700; }
.form-success { margin: 14px 0 0; padding: 10px 12px; border-radius: 7px; background: var(--surface-green); color: var(--accent-deep); font-size: .72rem; font-weight: 750; }
.form-error { margin: 14px 0 0; padding: 10px 12px; border-radius: 7px; background: oklch(94% 0.035 24); color: oklch(48% 0.16 25); font-size: .72rem; font-weight: 750; }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.section { padding: clamp(82px, 10vw, 124px) max(24px, calc((100vw - 1180px) / 2)); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .5fr); align-items: end; gap: 36px; margin-bottom: 54px; }
.section-head .eyebrow { grid-column: 1 / -1; margin-bottom: -6px; }
.section-head h2, .process h2, .contact h2 { font-size: clamp(2.8rem, 5.2vw, 5rem); }
.section-head > p:last-child, .process__intro > p:last-child, .contact__copy > p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.65; }

.work { background: var(--surface); }
.work .eyebrow, .process .eyebrow { color: var(--accent-deep); }
.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 5vw, 64px) 24px; }
.project { grid-column: span 6; }
.project--dark { grid-column: 2 / span 10; }
.project__image { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.project__image img { width: 100%; aspect-ratio: 1.43 / 1; object-fit: cover; object-position: top center; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.project:hover .project__image img { transform: scale(1.018); }
.project__number { position: absolute; top: 12px; right: 12px; min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 7px; background: var(--paper); color: var(--accent-deep); font-size: .62rem; font-weight: 850; }
.project__meta { padding-top: 17px; display: grid; grid-template-columns: 1fr minmax(180px, .72fr); gap: 22px; align-items: end; }
.project__meta span { color: var(--accent-deep); font-size: .68rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.project__meta h3 { margin: 4px 0 0; font-size: clamp(1rem, 1.5vw, 1.3rem); letter-spacing: -.035em; }
.project__meta p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }

.process { background: var(--paper); display: grid; grid-template-columns: minmax(280px, .78fr) minmax(460px, 1.22fr); gap: clamp(60px, 9vw, 125px); border-bottom: 1px solid var(--line); }
.process__intro > p:last-child { margin-top: 24px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { padding: 27px 0; display: grid; grid-template-columns: 44px 1fr auto; gap: 20px; align-items: start; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--accent-deep); font-size: .7rem; font-weight: 850; }
.steps h3 { margin: 0 0 7px; font-size: 1.05rem; letter-spacing: -.025em; }
.steps p { margin: 0; color: var(--muted); line-height: 1.55; }
.steps b { color: var(--muted); font-size: .7rem; white-space: nowrap; }

.reviews { background: var(--surface-green); }
.section-head--reviews > p:last-child { color: var(--muted); }
.chats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.chat { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); overflow: hidden; }
.chat__bar { min-height: 68px; padding: 11px 13px; display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: center; border-bottom: 1px solid var(--line); }
.chat__mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: oklch(98% 0.005 130); font-size: .66rem; font-weight: 850; }
.chat__bar h3 { margin: 0; font-size: .84rem; }
.chat__bar p { margin: 3px 0 0; color: var(--muted); font-size: .63rem; }
.demo-pill { padding: 4px 6px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: .52rem; letter-spacing: .07em; }
.chat__body { min-height: 310px; padding: 22px 13px; display: flex; flex-direction: column; justify-content: center; gap: 8px; position: relative; background: oklch(97% 0.008 112); }
.chat__body::before { content: "DEMO"; position: absolute; color: oklch(22% 0.018 133 / .035); font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 850; transform: rotate(-18deg); }
.bubble { max-width: 88%; padding: 10px 12px 7px; border-radius: 12px; position: relative; z-index: 1; color: var(--ink); font-size: .77rem; line-height: 1.43; }
.bubble time { display: block; margin-top: 4px; text-align: right; color: var(--muted); font-size: .52rem; }
.bubble--incoming { align-self: flex-start; border-bottom-left-radius: 3px; background: oklch(92% 0.012 118); }
.bubble--outgoing { align-self: flex-end; border-bottom-right-radius: 3px; }
.chat__input { margin: 10px 12px 12px; min-height: 39px; padding: 0 6px 0 13px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 22px; color: var(--muted); font-size: .68rem; }
.chat__input b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: oklch(98% 0.005 130); }
.chat--telegram .chat__mark, .chat--telegram .chat__input b { background: oklch(62% 0.15 235); }
.chat--telegram .bubble--outgoing { background: oklch(88% 0.07 235); }
.chat--whatsapp .chat__mark, .chat--whatsapp .chat__input b { background: oklch(64% 0.18 151); }
.chat--whatsapp .bubble--outgoing { background: oklch(89% 0.075 151); }
.chat--viber .chat__mark, .chat--viber .chat__input b { background: oklch(57% 0.17 300); }
.chat--viber .bubble--outgoing { background: oklch(89% 0.055 300); }

.contact { background: var(--surface); display: grid; grid-template-columns: 1fr minmax(360px, .72fr); gap: clamp(60px, 9vw, 130px); align-items: center; }
.contact .eyebrow { color: var(--accent-deep); }
.contact__copy > p { margin-top: 24px; }
.availability { margin-top: 30px; color: var(--ink-soft); font-size: .68rem; font-weight: 800; letter-spacing: .07em; }
.availability i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent-deep); }
.lead-form { background: var(--paper); }

footer { min-height: 112px; padding: 24px max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .73rem; }
footer p { margin: 0; text-align: center; }
footer > a:last-child { justify-self: end; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; }
.foot-copy { justify-self: end; text-align: right; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__copy { max-width: 760px; }
  .hero-form { max-width: 620px; width: 100%; }
  .project { grid-column: span 6; }
  .project--dark { grid-column: 1 / -1; }
  .process { grid-template-columns: 1fr; }
  .chats { grid-template-columns: 1fr 1fr; }
  .chat:nth-child(3) { grid-column: 1 / -1; width: calc(50% - 9px); justify-self: center; }
  .contact { grid-template-columns: 1fr; }
  .contact__copy { max-width: 700px; }
  .lead-form { max-width: 620px; width: 100%; }
}

@media (max-width: 700px) {
  .topbar { width: calc(100% - 24px); min-height: 64px; grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .button--small { min-height: 38px; padding: 0 11px; font-size: .64rem; }
  .hero { width: calc(100% - 40px); padding: 62px 0 76px; gap: 54px; }
  h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero__lead { font-size: 1rem; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .text-link { text-align: center; }
  .signal-list { margin-top: 30px; display: grid; }
  .hero-form, .lead-form { padding: 24px 18px; border-radius: 10px; }
  .section { padding: 78px 20px; }
  .section-head { grid-template-columns: 1fr; margin-bottom: 42px; }
  .section-head .eyebrow { grid-column: auto; margin-bottom: 0; }
  .section-head h2, .process h2, .contact h2 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .project-grid { grid-template-columns: 1fr; gap: 46px; }
  .project, .project--dark { grid-column: auto; }
  .project__meta { grid-template-columns: 1fr; gap: 9px; }
  .process { gap: 42px; }
  .steps li { grid-template-columns: 32px 1fr; gap: 14px; }
  .steps li > b { grid-column: 2; }
  .chats { grid-template-columns: 1fr; }
  .chat:nth-child(3) { grid-column: auto; width: 100%; }
  .contact { gap: 42px; }
  footer { grid-template-columns: 1fr auto; }
  .foot-links { grid-column: 1 / -1; justify-content: flex-start; }
  .foot-copy { justify-self: start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
