:root {
  --bg: #0E1016;
  --surface: #1A1D27;
  --surface-2: #14171F;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #FFFFFF;
  --text-dim: rgba(255, 255, 255, 0.62);
  --text-mute: rgba(255, 255, 255, 0.38);
  --cyan: #00F0FF;
  --cyan-soft: rgba(0, 240, 255, 0.15);
  --amber: #FFB443;
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'PT Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.035) 1px, transparent 0);
  background-size: 28px 28px;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

@media (hover: hover) and (pointer: fine) {
  body, a, button, input, select, textarea, label { cursor: none; }
}

::selection { background: var(--cyan); color: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { background: none; border: none; color: inherit; font: inherit; }

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, border 0.25s ease;
  will-change: transform;
}
.cursor.ring {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--cyan);
}
.cursor.text {
  width: 2px;
  height: 22px;
  border-radius: 1px;
}
@media (hover: none), (pointer: coarse) {
  .cursor { display: none !important; }
}

.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

section {
  padding: 120px 0;
  position: relative;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 16px 32px;
  background: rgba(14, 16, 22, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
}
.topbar__brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo-meta {
  color: var(--text-mute);
  font-size: 11px;
}
.topbar__nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}
.topbar__nav a {
  color: var(--text-dim);
  transition: color 0.2s;
}
.topbar__nav a:hover { color: var(--cyan); }
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar__msg {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.topbar__msg:hover { color: #fff; border-color: transparent; }
.topbar__msg--tg:hover { background: #229ED9; }
.topbar__msg--wa:hover { background: #25D366; }
.topbar__msg--vb:hover { background: #7360F2; }
.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.topbar__phone:hover { border-color: var(--cyan); color: var(--cyan); }
@media (max-width: 900px) {
  .topbar__phone span { display: none; }
  .topbar__phone { padding: 0 9px; }
}
.status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-mute);
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #28C840;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(40, 200, 64, 0.6);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--amber);
  color: #1A1D27;
}
.btn--primary:hover {
  background: #FFC76B;
  transform: translateY(-1px);
}
.btn--primary:disabled {
  opacity: 0.75;
  transform: none;
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn--small {
  padding: 9px 18px;
  font-size: 13px;
}

.section__head {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 80px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.section__num-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
}
.section__num {
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 0.08em;
}
.section__path {
  font-size: 11px;
  color: var(--text-mute);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.section__note {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  max-width: 360px;
  line-height: 1.6;
}

.hero {
  min-height: calc(100vh - 60px);
  padding: 60px 0 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  margin-bottom: 56px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.03em;
}
.hero__meta span:first-child { color: var(--cyan); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.2vw, 84px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.hero__title .accent { color: var(--cyan); }
.hero__title .accent .period { color: var(--amber); }
.hero__sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 40px;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero__stats > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero__stats b {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__stats span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  line-height: 1.4;
}

.hero__code {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5);
}
.hero__code::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.05), transparent 60%);
  pointer-events: none;
}
.code__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}
.code__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.code__dot--red { background: #FF5F57; }
.code__dot--amber { background: #FEBC2E; }
.code__dot--green { background: #28C840; }
.code__file {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}
.code__body {
  padding: 24px 20px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  min-height: 300px;
  white-space: pre;
  overflow-x: auto;
  position: relative;
  z-index: 2;
}
.code__body code {
  font-family: inherit;
  white-space: pre;
}
.kw { color: var(--cyan); }
.str { color: var(--amber); }
.cmt { color: var(--text-mute); font-style: italic; }
.caret {
  display: inline-block;
  width: 7px;
  height: 16px;
  background: var(--cyan);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1.05s steps(2) infinite;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.services__list {
  list-style: none;
  border-top: 1px solid var(--line);
}
.service {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 40px;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.35s ease;
}
.service::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.7), 0 0 24px rgba(0, 240, 255, 0.3);
}
.service:hover::before { transform: scaleX(1); }
.service:hover { padding-left: 16px; }
.service__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}
.service__name h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.service__name p {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 480px;
  line-height: 1.6;
}
.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service__tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-dim);
  border-radius: 2px;
}
.service__arrow {
  font-size: 18px;
  color: var(--text-mute);
  transition: color 0.3s, transform 0.3s;
  text-align: right;
}
.service:hover .service__arrow {
  color: var(--cyan);
  transform: translateX(8px);
}

.cases__list {
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.case--right .case__media { order: 2; }
.case__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.5s ease;
  filter: brightness(0.78) contrast(1.05) saturate(0.85);
}
.case:hover .case__media img {
  transform: scale(1.03);
  filter: brightness(0.5) contrast(1.1) saturate(0.6);
}
.case__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 240, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
  pointer-events: none;
}
.case:hover .case__media::before { opacity: 1; }
.case__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 16, 22, 0.94);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 3;
}
.case:hover .case__overlay { opacity: 1; }
.case__overlay > div span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 8px;
}
.case__overlay > div p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}
.case__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  margin-bottom: 16px;
  display: block;
  letter-spacing: 0.05em;
}
.case__body h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.case__metric {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--amber);
  line-height: 1.35;
  margin-bottom: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case__desc {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 28px;
}
.case__link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
  letter-spacing: 0.02em;
}
.case__link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.process__timeline {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 48px;
}
.process__line {
  position: relative;
  width: 1px;
  background: var(--line);
  margin-left: 24px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.process__line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 0%;
  background: linear-gradient(180deg, var(--cyan), rgba(0, 240, 255, 0.3));
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}
.process__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  position: relative;
}
.step__dot {
  position: absolute;
  left: -68px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  z-index: 2;
  transition: background 0.3s, border-color 0.3s;
}
.step.is-active .step__dot {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.15);
  animation: dotPulse 0.8s ease-out;
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
  100% { box-shadow: 0 0 0 20px rgba(0, 240, 255, 0); }
}
.step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}
.step__body h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.step__body p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 12px;
}
.step__dur {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  display: inline-block;
  padding: 4px 8px;
  background: var(--cyan-soft);
  border-radius: 2px;
}

.stack__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tech {
  background: var(--bg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.3s;
  position: relative;
}
.tech:hover { background: var(--surface); }
.tech::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--cyan);
  transition: width 0.4s ease;
}
.tech:hover::after { width: 100%; }
.tech__name {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
}
.tech__ver {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
}
.tech__use {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  margin-top: 8px;
  letter-spacing: 0.05em;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.person {
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  transition: border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}
.person:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.person__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  filter: grayscale(0.4) contrast(1.05) brightness(0.95);
}
.person__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.person__role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  margin-bottom: 20px;
  display: block;
  letter-spacing: 0.05em;
}
.person__quote {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  font-style: italic;
  margin-top: auto;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.contact-method:hover { border-color: var(--line-strong); transform: translateX(4px); }
.contact-method__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.contact-method__icon--tg { background: #229ED9; }
.contact-method__icon--wa { background: #25D366; }
.contact-method__icon--vb { background: #7360F2; }
.contact-method__icon--phone { background: rgba(255,255,255,0.15); }
.contact-method__label {
  flex: 1;
  font-weight: 500;
  font-size: 15px;
}
.contact-method__arrow {
  color: var(--text-mute);
  transition: transform 0.25s;
}
.contact-method:hover .contact-method__arrow { transform: translateX(4px); }
.contact-method--phone {
  background: var(--amber);
  border-color: var(--amber);
  color: #1A1D27;
}
.contact-method--phone:hover { background: #FFC76B; }
.contact-method--phone .contact-method__arrow { color: #1A1D27; }
.contact__direct {
  padding: 32px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  position: relative;
}
.contact__direct::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 60px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.contact__direct .section__num-block {
  margin-bottom: 20px;
}
.contact__direct h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.contact__direct ul {
  list-style: none;
  margin-bottom: 32px;
}
.contact__direct li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.contact__direct li span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.contact__direct li a {
  color: var(--text);
  font-size: 15px;
  transition: color 0.3s;
}
.contact__direct li a:hover { color: var(--cyan); }
.contact__note p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 60px;
  position: relative;
  z-index: 2;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
}
.footer__brand .logo {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
}
.footer__brand p {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 320px;
  line-height: 1.6;
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--cyan); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  flex-wrap: wrap;
  gap: 16px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__code { max-width: 600px; }
  .case { grid-template-columns: 1fr; gap: 32px; }
  .case--right .case__media { order: 0; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .stack__grid { grid-template-columns: repeat(3, 1fr); }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 80px 0; }
  .topbar { padding: 12px 20px; gap: 16px; }
  .topbar__nav { display: none; }
  .logo-meta { display: none; }
  .topbar__actions .status { display: none; }
  .topbar__msg { display: none; }
  .section__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 56px; }
  .section__note { max-width: none; }
  .hero { padding: 32px 0 60px; min-height: auto; }
  .hero__meta { gap: 16px; font-size: 10px; }
  .hero__title { font-size: clamp(26px, 7vw, 42px); letter-spacing: -0.02em; }
  .hero__sub { font-size: 16px; }
  .hero__stats { gap: 24px; margin-top: 40px; }
  .hero__stats b { font-size: 24px; }
  .hero__stats span { font-size: 10px; }
  .code__body { font-size: 12px; min-height: 240px; padding: 20px 16px; }
  .service { grid-template-columns: 32px 1fr; gap: 16px; padding: 24px 0; }
  .service__tags, .service__arrow { display: none; }
  .service__name h3 { font-size: 22px; }
  .cases__list { gap: 60px; }
  .case__body h3 { font-size: 24px; }
  .case__metric { font-size: 20px; }
  .process__timeline { grid-template-columns: 32px 1fr; gap: 24px; }
  .process__line { margin-left: 16px; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .step__dot { left: -52px; }
  .step__body h3 { font-size: 22px; }
  .process__steps { gap: 48px; }
  .stack__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .person { padding: 20px 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { font-size: 10px; }
}

.call-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.call-widget__numbers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 16px 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.22s ease;
  min-width: 210px;
}
.call-widget.is-open .call-widget__numbers {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.call-widget__numbers a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.call-widget__numbers a:last-child { border-bottom: none; }
.call-widget__numbers a:hover { color: var(--cyan); }
.call-widget__numbers a svg { flex-shrink: 0; }
.call-widget__label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  text-align: center;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.call-widget__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--amber);
  color: #1A1D27;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255,180,67,0.4);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  position: relative;
}
.call-widget__btn:hover {
  background: #FFC76B;
  transform: scale(1.07);
  box-shadow: 0 6px 28px rgba(255,180,67,0.55);
}
.call-widget__btn svg { transition: transform 0.3s ease; }
.call-widget.is-open .call-widget__btn svg.icon-phone { display: none; }
.call-widget:not(.is-open) .call-widget__btn svg.icon-close { display: none; }
@media (max-width: 768px) {
  .call-widget { bottom: 20px; right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .process__line-fill { height: 100% !important; }
  .caret { animation: none; opacity: 1; }
}

.contact__address-block { display: flex; flex-direction: column; gap: 36px; }
.contact__address-item { display: flex; flex-direction: column; gap: 12px; }
.contact__address-text { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__address-num { font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: var(--cyan); line-height: 1; flex-shrink: 0; width: 22px; }
.contact__address-text strong { font-family: var(--font-display); font-size: 14px; font-weight: 500; display: block; margin-bottom: 4px; color: var(--text); letter-spacing: -0.01em; }
.contact__address-text p { font-size: 11px; color: var(--text-mute); font-family: var(--font-mono); margin-bottom: 8px; line-height: 1.4; }
.contact__address-text a { font-family: var(--font-mono); font-size: 13px; color: var(--text); display: block; transition: color 0.2s; }
.contact__address-text a:hover { color: var(--cyan); }
.contact__hours { font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); display: block; margin-top: 3px; }
.contact__map { border: 1px solid var(--line); overflow: hidden; border-radius: 2px; }
.contact__map iframe { display: block; filter: grayscale(0.5) invert(0.88) hue-rotate(175deg); transition: filter 0.4s; }
.contact__map:hover iframe { filter: grayscale(0) invert(0); }
.footer__messengers { display: flex; flex-direction: column; gap: 8px; }
.footer__msg-btn { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; padding: 9px 14px; border-radius: 3px; border: 1px solid var(--line); color: var(--text); transition: background 0.2s, border-color 0.2s, color 0.2s; letter-spacing: 0.02em; }
.footer__msg-btn:hover { border-color: transparent; color: #fff; }
.footer__msg-btn--tg:hover { background: #229ED9; }
.footer__msg-btn--wa:hover { background: #25D366; }
.footer__msg-btn--vb:hover { background: #7360F2; }
.footer__msg-btn--em:hover { background: var(--cyan); }
.logo-src { color: var(--cyan); }
.logo-lab { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--cyan); margin-left: 6px; vertical-align: middle; }
.footer__abbr { font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); letter-spacing: 0.02em; margin-bottom: 8px; }
