/* ============ TOKENS ============ */
:root {
  --bg: #0b0d10;
  --bg-alt: #0f1216;
  --surface: #14181e;
  --surface-2: #191e25;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e9e7e3;
  --text-2: #a3abb5;
  --text-3: #6d7683;
  --accent: #e07a2e;
  --accent-soft: #f0a35e;
  --accent-dim: rgba(224, 122, 46, 0.12);
  --bp-line: rgba(233, 231, 227, 0.55);
  --bp-thin: rgba(233, 231, 227, 0.3);
  --bp-dim: rgba(240, 163, 94, 0.55);
  --bp-axis: rgba(240, 163, 94, 0.35);
  --font-head: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Onest', system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --container: 1200px;
  --deco-1: #2c343e;
  --deco-2: #1a2027;
  --deco-3: #37404b;
  --deco-4: #12171d;
  --deco-stroke: rgba(255, 255, 255, 0.07);
  --deco-hole: #0d1013;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; }

.accent { color: var(--accent); }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
/* каскад появления карточек в сетках */
.machine.reveal:nth-child(2n), .advantage.reveal:nth-child(3n+2),
.process li.reveal:nth-child(5n+2), .gallery__item.reveal:nth-child(2),
.contacts__item.reveal:nth-child(2) { transition-delay: 0.1s; }
.advantage.reveal:nth-child(3n), .process li.reveal:nth-child(5n+3),
.gallery__item.reveal:nth-child(3), .contacts__item.reveal:nth-child(3) { transition-delay: 0.2s; }
.process li.reveal:nth-child(5n+4), .gallery__item.reveal:nth-child(4) { transition-delay: 0.3s; }
.process li.reveal:nth-child(5n), .gallery__item.reveal:nth-child(5) { transition-delay: 0.4s; }
/* карточки въезжают с боков, фото — с масштабом (в стиле Apple) */
.machine.reveal:nth-child(odd) { transform: translateX(-40px); }
.machine.reveal:nth-child(even) { transform: translateX(40px); }
.gallery__item.reveal { transform: translateY(34px) scale(0.94); }
.machine.reveal.is-visible, .gallery__item.reveal.is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker { display: none; }
}

/* ============ TOPBAR ============ */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(11, 13, 16, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
}
.logo__mark--km { border: none; border-radius: 0; }
.logo__mark--km svg { width: 100%; height: 100%; }
.logo__km {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  fill: var(--accent);
}
.logo__text {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.07em;
  display: flex; flex-direction: column; line-height: 1.25;
}
.logo__text b { display: contents; font-weight: 600; color: var(--accent); }
.logo__text em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}
.nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: nowrap; }
.nav a {
  font-size: 14px;
  white-space: nowrap;
  color: var(--text-2);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav a:hover { color: var(--text); }
.nav__tel { display: none; }
.topbar__phone {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 9px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.topbar__phone:hover { border-color: var(--accent); color: var(--accent-soft); }
.burger { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 180px 0 0;
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 40% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 40% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
/* реальная деталь на фоне hero (включается в светлой теме) */
.hero__part {
  display: none;
  position: absolute;
  pointer-events: none;
}

/* блестящие детали на фоне hero */
.hero__deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.deco { position: absolute; opacity: 0.55; }
.deco--photo {
  opacity: 0.92;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(18, 26, 34, 0.28), 0 4px 16px rgba(18, 26, 34, 0.14);
}
.deco--bearing {
  width: 300px; height: 300px;
  right: -50px;
  top: 40px;
  object-position: 22% 50%;
  animation: deco-spin 60s linear infinite;
}
.deco--gears {
  width: 210px; height: 210px;
  left: -70px;
  bottom: 60px;
  filter: saturate(0.25) contrast(1.06) brightness(1.02);
  animation: deco-float 9s ease-in-out infinite alternate;
}
@keyframes deco-spin { to { transform: rotate(360deg); } }
@keyframes deco-spin-rev { to { transform: rotate(-360deg); } }
@keyframes deco-float { from { transform: translateY(-12px) rotate(-4deg); } to { transform: translateY(14px) rotate(5deg); } }
@media (prefers-reduced-motion: reduce) {
  .deco { animation: none !important; }
  .hero::after { animation: none !important; opacity: 0; }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  padding-bottom: 96px;
}
.hero__kicker {
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.hero__kicker::before {
  content: '';
  width: 34px; height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.hero__lead {
  font-size: 18.5px;
  font-weight: 300;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 40px;
}
.hero__lead b { font-weight: 500; color: var(--text); }

.hero__blueprint img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 16px 48px rgba(18, 26, 34, 0.16);
}
.hero__blueprint-cap {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.hero__facts li { display: flex; flex-direction: column; gap: 2px; }
.hero__facts b {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 500;
  color: var(--accent-soft);
}
.hero__facts span { font-size: 13.5px; color: var(--text-3); letter-spacing: 0.02em; }

.hero__blueprint { position: relative; }
.blueprint { width: 100%; height: auto; opacity: 0.92; }
.bp-text {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  fill: var(--bp-line);
}
.bp-text--dim { fill: var(--bp-thin); font-size: 11px; }
.bp-text--accent { fill: var(--accent-soft); font-size: 12px; letter-spacing: 0.1em; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.22s ease;
  cursor: pointer;
}
.btn--primary {
  background: var(--accent);
  color: #16100a;
}
.btn--primary:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(224, 122, 46, 0.35);
}
.btn--ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-soft); }
.btn--lg { padding: 19px 44px; font-size: 18px; font-family: var(--font-head); font-weight: 500; }
.btn--sm { padding: 10px 22px; font-size: 14px; margin-top: 16px; }

/* ============ TICKER ============ */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 16px 0;
  background: var(--bg-alt);
}
.ticker__track {
  display: flex;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.ticker__track span {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-right: 8px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */
.section { padding: 120px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.sec-head {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  max-width: 780px;
  margin-bottom: 64px;
}
.sec-head__num {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  background: var(--accent-dim);
  padding: 6px 12px;
  border-radius: 8px;
  margin-top: 8px;
  flex-shrink: 0;
}
.sec-head h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.sec-head p { color: var(--text-2); font-weight: 300; font-size: 17.5px; }

/* ============ MACHINES ============ */
.machines {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.machine { padding: 0; }
.machine__media {
  margin: 0 0 20px;
  height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
}
.machine__media--tall { height: 460px; }
.machine__media img,
.machine__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
  transition: transform 0.5s ease;
}
.machine:hover .machine__media img,
.machine:hover .machine__media video { transform: scale(1.04); }
.machine__icon {
  width: 54px; height: 54px;
  color: var(--accent-soft);
  margin-bottom: 22px;
  padding: 3px;
}
.machine h3 { font-size: 20px; margin-bottom: 10px; font-weight: 500; }
.machine__desc { color: var(--text-2); font-weight: 300; font-size: 15.5px; margin-bottom: 22px; }
.machine__tasks-label {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.machine__tasks li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 15px;
  color: var(--text-2);
  border-top: 1px solid var(--border);
}
.machine__tasks li:first-child { border-top: none; }
.machine__tasks li::before {
  content: '';
  position: absolute;
  left: 2px; top: 17px;
  width: 10px; height: 1.5px;
  background: var(--accent);
}

/* ============ ADVANTAGES ============ */
.advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.advantage { padding: 0; }
.advantage::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 16px;
}
.advantage h3 { font-size: 17px; margin-bottom: 12px; color: var(--accent-soft); font-weight: 500; }
.advantage p { font-size: 15px; color: var(--text-2); font-weight: 300; }

/* ============ PARTS ============ */
.parts__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.parts__text p { color: var(--text-2); font-weight: 300; margin-bottom: 20px; font-size: 17px; }
.parts__text .btn { margin-top: 12px; }
.parts__list li {
  padding: 16px 4px;
  border-top: 1px solid var(--border-strong);
  font-size: 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
}
.parts__list li:first-child { border-top: none; padding-top: 4px; }
.parts__list li::before {
  content: '';
  width: 7px; height: 7px;
  border: 1.5px solid var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ============ GALLERY ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 18px;
}
.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--long { grid-column: span 2; }
.gallery__item img,
.gallery__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.03) brightness(0.92);
  transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery__item:hover img { transform: scale(1.03); filter: saturate(0.95) contrast(1.03) brightness(1); }
.gallery__item figcaption {
  position: absolute;
  left: 14px; bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(11, 13, 16, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
}

/* ============ HYDRAULICS ============ */
.hydro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
.hydro__photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.hydro__btn { margin-top: 28px; }

/* ============ PROCESS (нумерованные шаги с линией) ============ */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.process li { position: relative; }
.process li::before {
  content: '';
  position: absolute;
  top: 24px; left: 62px; right: -12px;
  height: 2px;
  background: var(--border-strong);
}
.process li:last-child::before { display: none; }
.process li b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg-alt);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}
.process li h3 { font-size: 16.5px; margin-bottom: 6px; font-weight: 500; }
.process li p { font-size: 14px; color: var(--text-2); font-weight: 300; line-height: 1.5; }

/* ============ CTA BAND ============ */
.cta-band {
  padding: 110px 0;
  background:
    radial-gradient(ellipse 60% 90% at 50% 110%, rgba(224, 122, 46, 0.16), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 42px); margin-bottom: 18px; }
.cta-band p { color: var(--text-2); font-weight: 300; font-size: 18px; margin-bottom: 40px; }

/* ============ CONTACTS ============ */
.contacts {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: stretch;
}
.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 8px 0;
}
.contacts__label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}
.contacts__phone {
  font-family: var(--font-head);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.contacts__phone:hover { color: var(--accent-soft); }
.contacts__mail {
  font-size: 16.5px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  overflow-wrap: anywhere;
}
.contacts__mail:hover { color: var(--accent-soft); }
.contacts__strong { font-size: 17px; font-weight: 500; color: var(--text); }
.contacts__note { font-size: 14.5px; color: var(--text-2); font-weight: 300; margin-top: 2px; }
.contacts__info .btn { align-self: flex-start; margin-top: 4px; }

/* ============ CONTACTS MAP ============ */
.contacts__map {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.contacts__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
}
.contacts__map a {
  position: absolute;
  right: 14px; bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(11, 13, 16, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  transition: color 0.2s, border-color 0.2s;
}
.contacts__map a:hover { color: var(--accent-soft); border-color: var(--accent); }

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-3);
}
.footer a { transition: color 0.2s; }
.footer a:hover { color: var(--accent-soft); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1060px) {
  .machines { grid-template-columns: 1fr 1fr; }
  .advantages { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__blueprint { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 1020px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 13, 16, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    z-index: 99;
  }
  .nav.is-open a { padding: 15px 32px; font-size: 16px; }
  .topbar__phone { margin-left: auto; }
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px; height: 42px;
    background: none;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    cursor: pointer;
    padding: 0 10px;
  }
  .burger span { height: 1.5px; background: var(--text); transition: all 0.25s; }
  .burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}
@media (max-width: 860px) {
  .machines { grid-template-columns: 1fr; }
  .parts__grid { grid-template-columns: 1fr; gap: 36px; }
  .hydro { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .gallery__item--wide, .gallery__item--long { grid-column: span 2; }
  .section { padding: 84px 0; }
  .hero { padding-top: 140px; }
  .nav.is-open .nav__tel {
    display: block;
    color: var(--accent);
    font-weight: 600;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }
  .deco--bearing { width: 190px; height: 190px; right: -60px; top: 20px; }
  .deco--gears { width: 130px; height: 130px; left: -45px; bottom: auto; top: 58%; }
  /* мобильные: спокойные анимации без бокового въезда */
  .reveal { transform: translateY(18px); transition-duration: 0.55s; }
  .machine.reveal:nth-child(odd), .machine.reveal:nth-child(even) { transform: translateY(22px); }
  .gallery__item.reveal { transform: translateY(20px); }
  .hero__part { animation: none !important; }
}
@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .advantages { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .contacts__map iframe { height: 300px; }
  .gallery__item--wide, .gallery__item--long { grid-column: auto; grid-row: span 1; }
  .gallery__item--tall { grid-column: auto; grid-row: span 2; }
  .gallery__item figcaption {
    left: 10px; bottom: 10px; right: 10px;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    text-align: center;
  }
  .contacts { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 0; }
  .process li {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 18px;
    padding-bottom: 28px;
  }
  .process li b { grid-row: span 2; margin-bottom: 0; }
  .process li h3 { align-self: center; margin-bottom: 2px; }
  .process li::before {
    top: 52px; left: 23px; right: auto; bottom: 2px;
    width: 2px; height: auto;
  }
  .process li:last-child { padding-bottom: 0; }
  .hero__kicker { font-size: 11px; letter-spacing: 0.2em; }
  .hero__facts { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero__facts b { font-size: 20px; }
  .hero__facts span { font-size: 11.5px; line-height: 1.4; }
  .burger { margin-left: auto; }
  .sec-head { flex-direction: column; gap: 16px; }
  .topbar__inner { gap: 16px; }
  .topbar__phone { display: none; }
  .machine { padding: 0; }
  .machine__media { margin: 0 0 16px; height: 220px; }
  .machine__media--tall { height: 400px; }
  /* раскрывающиеся списки задач в карточках станков */
  .machine__tasks-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 6px 0;
    -webkit-tap-highlight-color: transparent;
  }
  .machine__tasks-label::after {
    content: '+';
    font-size: 18px;
    line-height: 1;
    color: var(--accent);
    transition: transform 0.3s ease;
  }
  .machine.is-expanded .machine__tasks-label::after { transform: rotate(45deg); }
  .machine__tasks {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .machine.is-expanded .machine__tasks { max-height: 420px; }
}
@media (max-width: 420px) {
  .process { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}
