
:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --dark: #09111f;
  --dark-2: #111c2e;
  --text: #111827;
  --muted: #667085;
  --line: #e3e8ef;
  --accent: #ff6b19;
  --accent-2: #ff8b3d;
  --blue: #238cff;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(15, 23, 42, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(9, 17, 31, .78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 28px rgba(255,107,25,.35);
}
.logo strong, .logo small { display: block; }
.logo strong { font-size: 16px; line-height: 1.2; }
.logo small { color: rgba(255,255,255,.58); font-size: 11px; margin-top: 2px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: rgba(255,255,255,.72); font-size: 14px; font-weight: 600; }
.nav a:hover { color: #fff; }
.menu-button { display: none; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 24px; border-radius: 14px;
  border: 1px solid transparent; cursor: pointer; font-weight: 800;
  transition: .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 42px; padding: 0 18px; font-size: 13px; }
.button--outline { border-color: rgba(255,255,255,.24); color: #fff; }
.button--primary {
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 34px rgba(255,107,25,.28);
}
.button--ghost { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.button--full { width: 100%; }

.hero {
  position: relative; min-height: 760px; padding: 150px 0 90px;
  overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 80% 25%, rgba(35,140,255,.20), transparent 34%),
    radial-gradient(circle at 20% 80%, rgba(255,107,25,.11), transparent 35%),
    linear-gradient(135deg, #08101d 0%, #0d1728 55%, #111f35 100%);
}
.hero__grid {
  position: absolute; inset: 0; opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.hero__content {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: 70px;
}
.eyebrow, .section-label {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent-2); text-transform: uppercase;
  letter-spacing: .14em; font-size: 12px; font-weight: 800;
}
.eyebrow span { width: 28px; height: 2px; background: var(--accent); }
.hero h1 {
  max-width: 720px; margin: 18px 0 22px;
  font-size: clamp(44px, 5.1vw, 72px); line-height: 1.02; letter-spacing: -.045em;
}
.hero h1 em { color: var(--accent-2); font-style: normal; }
.hero__lead { max-width: 650px; margin: 0; color: rgba(255,255,255,.66); font-size: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 48px; max-width: 650px; }
.hero__facts div { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.13); }
.hero__facts strong { display: block; color: var(--accent-2); font-size: 13px; }
.hero__facts span { color: rgba(255,255,255,.56); font-size: 13px; }

.hero__visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.machine-card {
  width: min(100%, 450px); padding: 20px; border-radius: 28px;
  border: 1px solid rgba(255,255,255,.11);
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  box-shadow: 0 35px 90px rgba(0,0,0,.35);
  backdrop-filter: blur(18px);
}
.machine-card__top, .machine-card__bottom { display: flex; align-items: center; gap: 10px; }
.machine-card__top { color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .08em; }
.machine-card__top b { margin-left: auto; color: #46e39b; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #46e39b; box-shadow: 0 0 0 6px rgba(70,227,155,.10); }
.machine {
  height: 330px; margin: 18px 0; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(160deg, #202d40, #111b2c);
}
.machine__panel { height: 120px; display: flex; gap: 18px; padding: 20px; background: #2a384d; }
.screen { width: 150px; padding: 12px; border-radius: 10px; background: #07111a; box-shadow: inset 0 0 18px rgba(44,231,255,.12); }
.screen span, .screen small { display: block; color: #6ee7f9; font-size: 8px; letter-spacing: .12em; }
.screen strong { display: block; margin: 6px 0 0; color: #b9f8ff; font-size: 34px; line-height: 1; }
.buttons { display: flex; gap: 10px; align-items: center; }
.buttons i { width: 18px; height: 18px; border-radius: 50%; background: #ff6b19; box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); }
.buttons i:nth-child(2) { background: #f9c74f; }
.buttons i:nth-child(3) { background: #43d17a; }
.machine__body { position: relative; height: 210px; padding: 22px; }
.relay { position: absolute; width: 66px; height: 72px; border-radius: 7px; background: linear-gradient(#edf2f7,#aab4c0); border: 4px solid #5c6878; }
.relay::before { content:""; position:absolute; inset:10px 13px auto; height:14px; background:#263548; }
.relay--1 { left: 28px; top: 28px; }
.relay--2 { left: 116px; top: 28px; }
.relay--3 { left: 204px; top: 28px; }
.relay--4 { left: 292px; top: 28px; }
.wire { position:absolute; height:4px; border-radius:4px; }
.wire--1 { left:20px; right:20px; bottom:42px; background:#ff6b19; }
.wire--2 { left:20px; right:80px; bottom:27px; background:#2f9cff; }
.wire--3 { left:110px; right:20px; bottom:12px; background:#f7c948; }
.machine-card__bottom small, .machine-card__bottom strong { display:block; }
.machine-card__bottom small { color: rgba(255,255,255,.45); }
.machine-card__bottom strong { font-size: 13px; }
.check { margin-left:auto; width:36px; height:36px; border-radius:50%; display:grid; place-items:center; color:#46e39b; background:rgba(70,227,155,.11); }
.float-card {
  position:absolute; display:flex; align-items:center; gap:12px;
  padding:14px 16px; border-radius:15px; color:#fff;
  background:rgba(13,24,41,.88); border:1px solid rgba(255,255,255,.10);
  box-shadow:0 20px 45px rgba(0,0,0,.25); backdrop-filter:blur(14px);
}
.float-card span { width:34px; height:34px; border-radius:10px; display:grid; place-items:center; background:rgba(255,107,25,.16); color:var(--accent-2); }
.float-card small, .float-card strong { display:block; }
.float-card small { color:rgba(255,255,255,.48); font-size:10px; }
.float-card strong { font-size:12px; }
.float-card--top { right:-20px; top:65px; }
.float-card--bottom { left:-25px; bottom:55px; }

.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__inner { min-height: 90px; display:flex; align-items:center; justify-content:space-between; gap:20px; overflow:auto; }
.trust span { white-space: nowrap; color:#667085; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }

.section { padding: 110px 0; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:40px; margin-bottom:44px; }
.section-heading h2 { max-width:720px; margin:10px 0 0; font-size:clamp(34px,4vw,52px); line-height:1.08; letter-spacing:-.035em; }
.section-heading > p { max-width:470px; margin:0; color:var(--muted); }
.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.service-card {
  position:relative; min-height:430px; padding:30px; border-radius:var(--radius);
  background:var(--surface); border:1px solid var(--line); box-shadow:0 12px 35px rgba(15,23,42,.04);
}
.service-card--accent { background:linear-gradient(155deg,#17243a,#0c1524); color:#fff; border-color:#24344d; transform:translateY(-12px); }
.service-card__icon { width:48px; height:48px; border-radius:14px; display:grid; place-items:center; color:var(--accent); background:rgba(255,107,25,.10); font-weight:800; }
.service-card h3 { margin:26px 0 14px; font-size:24px; line-height:1.2; }
.service-card p { color:var(--muted); }
.service-card--accent p { color:rgba(255,255,255,.62); }
.service-card ul { list-style:none; padding:0; margin:28px 0 0; }
.service-card li { padding:13px 0 13px 26px; border-top:1px solid var(--line); font-size:13px; position:relative; }
.service-card--accent li { border-color:rgba(255,255,255,.10); color:rgba(255,255,255,.72); }
.service-card li::before { content:"✓"; position:absolute; left:0; color:var(--accent); font-weight:800; }

.section--dark { color:#fff; background:linear-gradient(135deg,var(--dark),var(--dark-2)); }
.section-heading--light > p { color:rgba(255,255,255,.55); }
.advantages { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.advantage { padding:26px; border-radius:18px; border:1px solid rgba(255,255,255,.09); background:rgba(255,255,255,.035); }
.advantage > span { width:44px; height:44px; display:grid; place-items:center; border-radius:13px; color:var(--accent-2); background:rgba(255,107,25,.12); font-size:22px; }
.advantage h3 { margin:22px 0 10px; font-size:18px; }
.advantage p { margin:0; color:rgba(255,255,255,.52); font-size:13px; }

.steps { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.step { display:flex; gap:20px; padding:28px; border-radius:18px; background:#fff; border:1px solid var(--line); }
.step > span { flex:0 0 46px; height:46px; display:grid; place-items:center; border-radius:13px; background:rgba(255,107,25,.10); color:var(--accent); font-weight:800; }
.step h3 { margin:0 0 8px; }
.step p { margin:0; color:var(--muted); font-size:14px; }

.contact-section { padding:0 0 110px; }
.contact-box { display:grid; grid-template-columns:1.2fr .8fr; gap:50px; padding:52px; border-radius:30px; color:#fff; background:
  radial-gradient(circle at 10% 110%, rgba(255,107,25,.25), transparent 33%),
  linear-gradient(145deg,#101c30,#09111f); box-shadow:var(--shadow); }
.contact-box h2 { margin:12px 0 18px; font-size:clamp(36px,4vw,56px); line-height:1.06; letter-spacing:-.04em; }
.contact-box__content > p { max-width:640px; color:rgba(255,255,255,.58); }
.contact-buttons { display:grid; gap:12px; margin-top:30px; }
.messenger { display:flex; align-items:center; gap:14px; padding:15px 18px; border-radius:14px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10); transition:.2s; }
.messenger:hover { transform:translateX(4px); background:rgba(255,255,255,.09); }
.messenger > span { width:38px; height:38px; display:grid; place-items:center; border-radius:11px; font-weight:800; background:rgba(255,255,255,.08); }
.messenger small, .messenger strong { display:block; }
.messenger small { color:rgba(255,255,255,.42); font-size:10px; }
.messenger strong { font-size:14px; }
.messenger--telegram > span { color:#43a8ff; }
.messenger--max > span { color:#b77cff; }
.messenger--phone > span { color:#46e39b; }

.contact-form { padding:28px; border-radius:22px; background:#fff; color:var(--text); }
.contact-form h3 { margin:0 0 20px; font-size:22px; }
.contact-form label { display:block; margin-bottom:15px; }
.contact-form label > span { display:block; margin-bottom:7px; color:#475467; font-size:12px; font-weight:700; }
.contact-form input, .contact-form textarea {
  width:100%; border:1px solid #dce2ea; border-radius:12px; padding:13px 14px; outline:none; background:#f8fafc;
}
.contact-form input:focus, .contact-form textarea:focus { border-color:var(--accent); box-shadow:0 0 0 4px rgba(255,107,25,.09); }
.contact-form > small { display:block; margin-top:12px; color:#98a2b3; line-height:1.4; }

.footer { padding:28px 0; background:#07101d; color:#fff; }
.footer__inner { display:flex; justify-content:space-between; align-items:center; gap:30px; }
.logo--footer .logo__mark { width:36px; height:36px; border-radius:11px; }
.footer p { margin:0; color:rgba(255,255,255,.42); font-size:11px; text-align:right; }

.reveal { opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
.reveal--delay-small { transition-delay:.12s; }
.reveal--delay { transition-delay:.22s; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 980px) {
  .nav, .desktop-only { display:none; }
  .menu-button {
    margin-left:auto; display:grid; gap:5px; width:42px; height:42px; place-content:center;
    border:1px solid rgba(255,255,255,.15); background:transparent; border-radius:11px;
  }
  .menu-button span { width:20px; height:2px; background:#fff; }
  .nav.open {
    position:absolute; display:flex; flex-direction:column; top:76px; left:20px; right:20px;
    padding:20px; border-radius:16px; background:#101c2e; box-shadow:var(--shadow);
  }
  .hero__content { grid-template-columns:1fr; }
  .hero__visual { margin-top:30px; }
  .cards { grid-template-columns:1fr; }
  .service-card, .service-card--accent { min-height:auto; transform:none; }
  .advantages { grid-template-columns:repeat(2,1fr); }
  .contact-box { grid-template-columns:1fr; }
}
@media (max-width: 680px) {
  .container { width:min(100% - 24px,1180px); }
  .header__inner { min-height:68px; }
  .nav.open { top:68px; left:12px; right:12px; }
  .hero { padding:120px 0 70px; min-height:auto; }
  .hero h1 { font-size:44px; }
  .hero__lead { font-size:16px; }
  .hero__actions { display:grid; }
  .hero__facts { grid-template-columns:1fr; }
  .hero__visual { min-height:430px; }
  .float-card--top { right:0; top:20px; }
  .float-card--bottom { left:0; bottom:15px; }
  .machine-card { padding:14px; }
  .machine { height:280px; }
  .machine__body { transform:scale(.85); transform-origin:top left; width:118%; }
  .trust__inner { justify-content:flex-start; }
  .section { padding:78px 0; }
  .section-heading { display:block; }
  .section-heading > p { margin-top:18px; }
  .advantages, .steps { grid-template-columns:1fr; }
  .contact-section { padding-bottom:78px; }
  .contact-box { padding:28px 20px; border-radius:22px; }
  .contact-form { padding:20px; }
  .footer__inner { display:block; }
  .footer p { margin-top:18px; text-align:left; }
}


/* Первый экран с готовым изображением */
.hero--image {
  min-height: 0;
  padding: 82px 0 0;
  background: #05090c;
  overflow: hidden;
}
.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  line-height: 0;
}
.hero-image {
  display: block;
  width: 100%;
  height: auto;
}
.hero-hotspot {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 14px;
}
.hero-hotspot:focus-visible {
  outline: 3px solid #ffd000;
  outline-offset: 3px;
}
.hero-hotspot--telegram {
  left: 3.1%;
  top: 75.3%;
  width: 24.8%;
  height: 8.4%;
}
.hero-hotspot--max {
  left: 29.8%;
  top: 75.3%;
  width: 21.8%;
  height: 8.4%;
}
@media (max-width: 980px) {
  .hero--image { padding-top: 76px; }
}
@media (max-width: 680px) {
  .hero--image { padding-top: 68px; }
  .hero-image-wrap {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .hero-image-wrap::-webkit-scrollbar { display: none; }
  .hero-image {
    width: 980px;
    max-width: none;
  }
}

/* Анимация кнопок первого экрана */
.hero-hotspot {
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(.97);
  transition:
    transform .28s cubic-bezier(.2,.8,.2,1),
    box-shadow .28s ease,
    background-color .28s ease,
    filter .28s ease;
  animation: heroButtonIn .72s cubic-bezier(.2,.8,.2,1) forwards;
  will-change: transform, box-shadow;
}
.hero-hotspot--telegram {
  animation-delay: .35s;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0), 0 12px 34px rgba(0, 112, 255, .08);
}
.hero-hotspot--max {
  animation-delay: .52s;
  box-shadow: 0 0 0 1px rgba(255,255,255,0), 0 12px 34px rgba(255,255,255,.04);
}
.hero-hotspot::before {
  content: "";
  position: absolute;
  inset: -35% auto -35% -45%;
  width: 28%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  opacity: 0;
  pointer-events: none;
}
.hero-hotspot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .28s ease;
}
.hero-hotspot--telegram::after {
  background: linear-gradient(135deg, rgba(14,165,255,.16), rgba(37,99,235,.10));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.hero-hotspot--max::after {
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.025));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.hero-hotspot:hover {
  transform: translateY(-4px) scale(1.025);
  filter: brightness(1.10);
}
.hero-hotspot:hover::before {
  opacity: 1;
  animation: heroButtonShine .72s ease;
}
.hero-hotspot:hover::after { opacity: 1; }
.hero-hotspot--telegram:hover {
  box-shadow: 0 0 0 1px rgba(73,168,255,.32), 0 16px 42px rgba(0,112,255,.34), 0 0 28px rgba(14,165,255,.20);
}
.hero-hotspot--max:hover {
  box-shadow: 0 0 0 1px rgba(255,255,255,.26), 0 16px 42px rgba(0,0,0,.42), 0 0 24px rgba(255,255,255,.10);
}
.hero-hotspot:active {
  transform: translateY(-1px) scale(.99);
  transition-duration: .08s;
}

@keyframes heroButtonIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroButtonShine {
  from { left: -45%; }
  to { left: 125%; }
}

/* Ненавязчивое «дыхание» после загрузки */
.hero-hotspot--telegram { animation: heroButtonIn .72s .35s cubic-bezier(.2,.8,.2,1) forwards, heroButtonPulse 4.8s 2.2s ease-in-out infinite; }
.hero-hotspot--max { animation: heroButtonIn .72s .52s cubic-bezier(.2,.8,.2,1) forwards, heroButtonPulse 4.8s 2.45s ease-in-out infinite; }
.hero-hotspot:hover { animation-play-state: paused; }
@keyframes heroButtonPulse {
  0%, 82%, 100% { filter: brightness(1); }
  88% { filter: brightness(1.12); }
  94% { filter: brightness(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-hotspot,
  .hero-hotspot--telegram,
  .hero-hotspot--max {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-hotspot::before { display: none; }
}

/* Компактный первый экран без подписи «Частный мастер электрик» */
.hero--image {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  border-radius: 0 0 26px 26px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .22);
}
.hero-image-wrap::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 2.1%;
  top: 4.7%;
  width: 26.5%;
  height: 10.5%;
  background: linear-gradient(90deg, #020b10 0%, #020b10 75%, rgba(2,11,16,0) 100%);
  pointer-events: none;
}

@media (max-width: 980px) {
  .hero--image {
    width: calc(100% - 20px);
    border-radius: 0 0 20px 20px;
  }
}

@media (max-width: 680px) {
  .hero--image {
    width: 100%;
    border-radius: 0;
  }
  .hero-image-wrap::after {
    left: 20px;
    top: 45px;
    width: 270px;
    height: 105px;
  }
}

/* Исправление первого экрана: полностью убрана старая подпись,
   а основное содержание поднято выше за счёт кадрирования изображения. */
.hero-image-wrap::after { display: none !important; }
.hero--image { padding-top: 76px; }
.hero-hotspot--telegram,
.hero-hotspot--max {
  top: 71.2%;
  height: 9.8%;
}

@media (max-width: 980px) {
  .hero--image { padding-top: 68px; }
}

/* HTML hero: all lettering is real selectable text */
.hero--html{padding:76px 0 0;background:#03090d;overflow:hidden;min-height:760px;color:#fff}
.hero-html__grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(460px,.98fr);min-height:684px;max-width:1440px;padding-right:0}
.hero-html__content{position:relative;z-index:2;padding:70px 38px 42px 0;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(90deg,#03090d 0%,#03090d 84%,rgba(3,9,13,.92) 94%,rgba(3,9,13,0) 100%)}
.hero-html__title{margin:0;text-transform:uppercase;font-size:clamp(48px,5.1vw,78px);line-height:.98;letter-spacing:-.045em;font-weight:800}
.hero-html__title span,.hero-html__title em{display:block}
.hero-html__title em{color:#ffc400;font-style:normal;margin:14px 0}
.hero-html__lead{margin:24px 0 0;font-size:clamp(18px,1.45vw,24px);line-height:1.55;color:rgba(255,255,255,.82)}
.hero-html__advantages{display:grid;grid-template-columns:repeat(4,1fr);margin-top:34px;max-width:760px}
.hero-html__advantages div{display:flex;align-items:center;gap:12px;min-height:72px;padding:0 16px;border-right:1px solid rgba(255,255,255,.24)}
.hero-html__advantages div:first-child{padding-left:0}.hero-html__advantages div:last-child{border-right:0}
.hero-html__advantages b{font-size:32px;color:#ffc400;font-weight:400}.hero-html__advantages span{font-size:14px;line-height:1.45;color:#fff}
.hero-html__actions{display:flex;gap:18px;margin-top:32px}
.hero-button{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:68px;padding:0 34px;border-radius:14px;font-size:19px;font-weight:700;text-decoration:none;transform:translateY(16px);opacity:0;animation:heroBtnIn .7s forwards,heroBtnPulse 4.8s 2.4s ease-in-out infinite;transition:transform .25s,box-shadow .25s,filter .25s}
.hero-button--telegram{color:#fff;background:linear-gradient(135deg,#1688ff,#064ed8);box-shadow:0 14px 36px rgba(0,102,255,.35);animation-delay:.25s,2.4s}
.hero-button--max{color:#fff;background:rgba(8,14,18,.72);border:1px solid rgba(255,255,255,.38);animation-delay:.4s,2.6s}
.hero-button::before{content:"";position:absolute;inset:-100% auto -100% -35%;width:22%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);transform:rotate(18deg);transition:left .6s}
.hero-button:hover{transform:translateY(-4px) scale(1.02);animation-play-state:paused}.hero-button:hover::before{left:120%}
.hero-button--telegram:hover{box-shadow:0 18px 45px rgba(0,119,255,.58)}.hero-button--max:hover{box-shadow:0 15px 38px rgba(255,255,255,.13)}
.hero-html__checks{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px;font-size:13px;line-height:1.5;color:rgba(255,255,255,.8)}
.hero-html__checks span::first-letter{color:#ffc400}
.hero-html__visual{min-height:684px;background-image:linear-gradient(90deg,#03090d 0%,rgba(3,9,13,.2) 18%,rgba(3,9,13,0) 42%),url('hero-equipment.jpg');background-size:cover;background-position:center center}
@keyframes heroBtnIn{to{opacity:1;transform:translateY(0)}}
@keyframes heroBtnPulse{0%,100%{filter:brightness(1);transform:translateY(0) scale(1)}50%{filter:brightness(1.08);transform:translateY(-1px) scale(1.012)}}
@media(max-width:1100px){.hero-html__grid{grid-template-columns:1fr 42%;}.hero-html__advantages{grid-template-columns:repeat(2,1fr)}.hero-html__advantages div:nth-child(2){border-right:0}.hero-html__checks{grid-template-columns:1fr}.hero-html__content{padding-left:24px}.hero-html__title{font-size:56px}}
@media(max-width:760px){.hero--html{padding-top:68px;min-height:auto}.hero-html__grid{display:block;padding:0}.hero-html__content{padding:48px 20px 38px;background:linear-gradient(180deg,#03090d 0%,#03090d 96%,transparent)}.hero-html__title{font-size:clamp(40px,12vw,58px)}.hero-html__title em{margin:8px 0}.hero-html__lead br{display:none}.hero-html__advantages{grid-template-columns:1fr 1fr;gap:0}.hero-html__advantages div{padding:10px 10px;min-height:82px}.hero-html__advantages div:nth-child(odd){padding-left:0}.hero-html__actions{display:grid}.hero-button{width:100%;min-height:62px;font-size:17px}.hero-html__checks{grid-template-columns:1fr}.hero-html__visual{min-height:460px;background-position:52% center}.trust{margin-top:0}}
@media(prefers-reduced-motion:reduce){.hero-button{animation:none;opacity:1;transform:none}}

/* Постоянно активный фон первого экрана */
.hero--html {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  background: #03090d;
}
.hero-html__grid {
  position: relative;
  z-index: 2;
  display: block;
  min-height: 684px;
  max-width: 1440px;
  padding-right: 24px;
}
.hero-html__content {
  width: min(760px, 53%);
  min-height: 684px;
  padding: 54px 24px 38px 0;
  justify-content: center;
  background: transparent;
}
.hero-html__visual {
  position: absolute;
  z-index: 0;
  inset: 76px 0 0;
  min-height: 684px;
  background: none;
  overflow: hidden;
  pointer-events: none;
}
.hero-html__visual::before,
.hero-html__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transition: opacity .55s ease, transform .7s ease, filter .55s ease;
}
.hero-html__visual::before {
  display: none;
}
.hero-html__visual::after {
  background-image: url('hero-equipment-active.jpg');
  opacity: 1;
  filter: brightness(1.04);
}
.hero--html::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 76px 0 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(3,9,13,.25) 0%, rgba(3,9,13,.06) 39%, transparent 58%);
}

@media (max-width: 1100px) {
  .hero-html__content { width: min(650px, 61%); padding-left: 24px; }
  .hero-html__visual::before,
  .hero-html__visual::after { background-position: 55% top; }
}
@media (max-width: 760px) {
  .hero--html { padding-top: 68px; }
  .hero-html__grid { min-height: auto; padding: 0; }
  .hero-html__content {
    width: 100%;
    min-height: auto;
    padding: 42px 20px 38px;
    background: linear-gradient(180deg, rgba(3,9,13,.93), rgba(3,9,13,.76));
  }
  .hero-html__visual {
    inset: 68px 0 0;
    min-height: 100%;
  }
  .hero-html__visual::before,
  .hero-html__visual::after {
    background-size: auto 100%;
    background-position: 61% top;
  }
  .hero--html::after { inset: 68px 0 0; background: rgba(3,9,13,.22); }
}

/* Второй экран: три карточки с изображениями */
#services { background: #f4f7fb; }
#services .cards { align-items: stretch; }
#services .service-card {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
#services .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 70px rgba(15,23,42,.15);
  border-color: rgba(255,107,25,.30);
}
#services .service-card--accent { transform: translateY(-12px); }
#services .service-card--accent:hover { transform: translateY(-20px); }
.service-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  background: #d9dee6;
}
.service-card__body {
  flex: 1;
  padding: 28px 30px 30px;
  display: flex;
  flex-direction: column;
}
.service-card__body ul { margin-top: auto; padding-top: 20px; }
#services .service-card h3 { margin-top: 22px; }
@media (max-width: 980px) {
  #services .service-card--accent,
  #services .service-card--accent:hover { transform: none; }
  .service-card__image { aspect-ratio: 16 / 10; }
}
@media (max-width: 680px) {
  .service-card__body { padding: 24px 22px 24px; }
  .service-card__image { aspect-ratio: 4 / 3; }
}

/* Аккуратная типографика и компоновка второго блока */
#services .section-heading {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 38px;
  font-family: "Manrope", system-ui, sans-serif;
}
#services .section-heading h2 {
  max-width: none;
  margin-bottom: 0;
  font-family: inherit;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.015em;
}
#services .services-intro {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  font-family: inherit;
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: normal;
}
#services .services-intro p { margin: 0; }
#services .services-intro p + p { margin-top: 20px; }
#services .services-intro strong {
  color: var(--text);
  font-weight: 700;
}
#services .services-grid { gap: 24px; }
#services .service-card {
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(15,23,42,.07);
}
#services .service-card--accent { transform: none; }
#services .service-card--accent:hover { transform: translateY(-8px); }
#services .service-card__image {
  aspect-ratio: 1 / .78;
  object-position: center;
}
#services .service-card__body {
  min-height: 320px;
  padding: 26px 28px 28px;
}
.service-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.service-card__topline > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: var(--accent);
  background: rgba(255,107,25,.11);
  font-size: 14px;
  font-weight: 800;
}
.service-card__topline small {
  color: #98a2b3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-align: right;
}
#services .service-card--accent .service-card__topline small { color: rgba(255,255,255,.45); }
#services .service-card h3 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.1vw, 30px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
#services .service-card p {
  margin: 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.7;
}
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}
.service-card__tags span {
  padding: 7px 10px;
  border: 1px solid #e4e9f0;
  border-radius: 999px;
  color: #667085;
  background: #f8fafc;
  font-size: 11px;
  font-weight: 700;
}
#services .service-card--accent .service-card__tags span {
  color: rgba(255,255,255,.72);
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}
@media (max-width: 980px) {
  #services .services-intro { margin-top: 0; }
  #services .service-card__image { aspect-ratio: 16 / 9; }
  #services .service-card__body { min-height: 0; }
}
@media (max-width: 680px) {
  #services .service-card__body { padding: 23px 21px 24px; }
  #services .service-card h3 { font-size: 26px; }
}

/* Второй блок в стиле технического каталога — без фотографий */
#services {
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
}
#services .section-heading {
  text-align: center;
  margin-bottom: 34px;
}
#services .section-heading .section-label { margin-bottom: 15px; }
#services .section-heading h2 {
  margin: 0;
  color: #081726;
  font-size: clamp(34px, 4.4vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
#services .section-heading h2 strong {
  display: block;
  margin-top: 8px;
  color: #0757a4;
  font-size: .64em;
  letter-spacing: -.025em;
}
.services-directions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  max-width: 920px;
  margin: 25px auto 0;
  padding-top: 20px;
  border-top: 1px solid #9babba;
  color: #233545;
  font-size: clamp(14px, 1.45vw, 19px);
  font-weight: 700;
}
.services-directions i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0757a4;
}
#services .services-tagline {
  margin: 10px 0 0;
  color: #526272;
  font-size: 16px;
  font-weight: 600;
}
#services .services-grid { gap: 26px; }
#services .service-card,
#services .service-card--accent {
  min-height: 490px;
  border: 1px solid #cbd5df;
  border-radius: 20px;
  color: #102131;
  background: rgba(255,255,255,.86);
  box-shadow: 0 16px 45px rgba(25,58,91,.08);
  transform: none;
}
#services .service-card:hover,
#services .service-card--accent:hover {
  transform: translateY(-7px);
  border-color: rgba(7,87,164,.45);
  box-shadow: 0 24px 55px rgba(25,58,91,.15);
}
#services .service-card__body {
  min-height: 490px;
  padding: 0 28px 28px;
}
#services .service-card__topline {
  align-items: flex-start;
  margin: 0 -28px 28px;
}
#services .service-card__topline > span {
  width: 92px;
  height: 86px;
  border-radius: 19px 0 28px 0;
  color: #fff;
  background: linear-gradient(135deg, #0873cd, #06417e);
  font-size: 38px;
}
#services .service-card__topline small {
  max-width: 180px;
  padding: 22px 24px 0 0;
  color: #607181;
  font-size: 10px;
}
#services .service-card--accent .service-card__topline small { color: #607181; }
#services .service-card h3 {
  margin: 0 0 22px;
  color: #071421;
  font-size: clamp(27px, 2.3vw, 34px);
  line-height: 1.05;
  text-transform: uppercase;
}
#services .service-card h4 {
  margin: 0 0 18px;
  color: #0757a4;
  font-size: 15px;
  line-height: 1.4;
  text-transform: uppercase;
}
#services .service-card p {
  max-width: none;
  color: #344657;
  font-size: 14px;
  line-height: 1.65;
}
#services .service-card__tags {
  width: 100%;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid #b9c9d7;
}
#services .service-card__tags span,
#services .service-card--accent .service-card__tags span {
  padding: 8px 10px;
  color: #0757a4;
  border-color: #b9d0e5;
  background: #edf6fd;
  text-align: center;
}
.services-footer {
  display: grid;
  grid-template-columns: minmax(250px, .75fr) 2fr;
  align-items: center;
  gap: 32px;
  margin-top: 28px;
  padding: 26px 32px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(120deg, #032b4a, #064f83 64%, #032e4d);
  box-shadow: 0 18px 45px rgba(3,43,74,.22);
}
.services-footer__title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 19px;
  text-transform: uppercase;
}
.services-footer__title span {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: #0873cd;
  font-size: 25px;
}
.services-footer__text {
  padding-left: 30px;
  border-left: 1px solid rgba(255,255,255,.55);
}
.services-footer__text p { margin: 0; line-height: 1.55; }
.services-footer__text p + p { margin-top: 6px; color: rgba(255,255,255,.72); font-size: 14px; }
@media (max-width: 980px) {
  #services .service-card,
  #services .service-card__body { min-height: 0; }
  .services-footer { grid-template-columns: 1fr; gap: 20px; }
  .services-footer__text { padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.35); }
}
@media (max-width: 680px) {
  #services .section-heading h2 { font-size: 34px; }
  .services-directions { gap: 9px 11px; }
  #services .service-card__body { padding: 0 21px 24px; }
  #services .service-card__topline { margin: 0 -21px 24px; }
  #services .service-card__topline small { padding-right: 18px; }
  .services-footer { padding: 24px 20px; }
}

/* Преимущества в стиле технической презентации */
#advantages.section--dark {
  color: #10233a;
  background: linear-gradient(135deg, #f8fafc, #edf2f6);
}
.advantages-heading {
  margin-bottom: 34px;
  text-align: center;
}
.advantages-heading h2 {
  max-width: 900px;
  margin: 13px auto 0;
  color: #06192e;
  font-size: clamp(42px, 5.6vw, 76px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.advantages-heading h2 strong { display: block; color: #073675; }
.advantages-heading__line {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 810px;
  margin: 26px auto 17px;
  color: #f5b900;
  font-size: 28px;
}
.advantages-heading__line i { height: 4px; flex: 1; border-radius: 5px; background: #f5b900; }
.advantages-heading p {
  margin: 0;
  color: #14283e;
  font-size: clamp(15px, 1.6vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.advantages-heading p b { padding: 0 7px; color: #f5b900; }
.advantages-list { display: grid; gap: 15px; }
.advantage-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 218px;
  overflow: hidden;
  border: 1px solid #e0e6ec;
  border-radius: 24px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 34px rgba(7,39,73,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.advantage-row:hover { transform: translateY(-4px); box-shadow: 0 19px 45px rgba(7,39,73,.14); }
.advantage-row__icon {
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #063e7b, #031f3e);
  clip-path: polygon(0 0, 88% 0, 100% 14%, 100% 86%, 88% 100%, 0 100%);
}
.advantage-row__icon > span {
  position: absolute;
  top: 15px;
  left: 17px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #062b58;
  background: #ffc400;
  font-size: 29px;
  font-weight: 800;
}
.advantage-row__icon > b { font-size: 68px; line-height: 1; letter-spacing: -14px; }
.advantage-row:nth-child(2) .advantage-row__icon > b { font-size: 104px; font-family: Georgia, serif; letter-spacing: 0; transform: rotate(-18deg); }
.advantage-row:nth-child(3) .advantage-row__icon > b { font-size: 72px; letter-spacing: 0; }
.advantage-row:nth-child(4) .advantage-row__icon > b { font-size: 96px; letter-spacing: 0; }
.advantage-row__content {
  position: relative;
  align-self: center;
  max-width: 770px;
  margin: 0 48px;
  padding-left: 32px;
  border-left: 5px solid #ffc400;
}
.advantage-row__content h3 {
  margin: 0 0 6px;
  color: #08356e;
  font-size: clamp(27px, 3vw, 39px);
  line-height: 1;
  text-transform: uppercase;
}
.advantage-row__content > p {
  max-width: 650px;
  margin: 0;
  color: #172b40;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.45;
}
.advantage-row__result {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid #aeb9c4;
  color: #263a4e;
  font-size: 15px;
  font-weight: 600;
}
.advantage-row__result i {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border: 3px solid #08356e;
  border-radius: 50%;
  color: #08356e;
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
}
.advantages-footer {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-top: 18px;
  padding: 22px 28px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(120deg, #063d79, #032743);
  box-shadow: 0 18px 42px rgba(3,39,67,.22);
}
.advantages-footer__mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #063261;
  background: #ffc400;
  font-size: 34px;
  font-weight: 800;
}
.advantages-footer strong { color: #ffc400; font-size: 21px; text-transform: uppercase; }
.advantages-footer p { margin: 5px 0 0; color: rgba(255,255,255,.8); }
.advantages-footer ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.advantages-footer li { display: grid; gap: 4px; color: #fff; font-size: 11px; font-weight: 800; text-align: center; text-transform: uppercase; }
.advantages-footer li b { color: #ffc400; font-size: 35px; line-height: 1; }
@media (max-width: 900px) {
  .advantage-row { grid-template-columns: 150px 1fr; }
  .advantage-row__content { margin: 28px; }
  .advantages-footer { grid-template-columns: auto 1fr; }
  .advantages-footer ul { grid-column: 1 / -1; justify-content: center; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); }
}
@media (max-width: 620px) {
  .advantages-heading h2 { font-size: 40px; }
  .advantages-heading p { line-height: 1.55; }
  .advantage-row { display: block; }
  .advantage-row__icon { min-height: 118px; clip-path: none; }
  .advantage-row__icon > span { width: 48px; height: 48px; font-size: 24px; }
  .advantage-row__icon > b { font-size: 52px; }
  .advantage-row:nth-child(2) .advantage-row__icon > b { font-size: 75px; }
  .advantage-row__content { margin: 25px 20px 28px; padding-left: 19px; }
  .advantage-row__content h3 { font-size: 27px; }
  .advantages-footer { grid-template-columns: 1fr; text-align: center; }
  .advantages-footer__mark { margin: 0 auto; }
  .advantages-footer ul { grid-column: auto; gap: 18px; }
}

/* Инфографика порядка работы */
#process {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(8,115,205,.08), transparent 24%),
    linear-gradient(180deg, #fff, #f5f8fb);
}
#process .process-heading {
  display: block;
  margin-bottom: 55px;
  text-align: center;
}
#process .process-heading h2 {
  max-width: none;
  margin: 12px 0 0;
  color: #071a2e;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 800;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
#process .process-heading > p {
  max-width: none;
  margin: 13px 0 0;
  color: #657789;
  font-size: 16px;
}
#process .steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
#process .steps::before {
  content: "";
  position: absolute;
  top: 59px;
  left: 8%;
  right: 8%;
  height: 4px;
  border-radius: 5px;
  background: linear-gradient(90deg, #ffc400, #0873cd 38%, #0757a4 70%, #043665);
}
#process .step {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 310px;
  padding: 0 23px 27px;
  border: 1px solid #d7e0e8;
  border-radius: 21px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 15px 40px rgba(7,49,90,.09);
  text-align: center;
  transition: transform .28s ease, box-shadow .28s ease;
}
#process .step:hover {
  transform: translateY(-7px);
  box-shadow: 0 23px 52px rgba(7,49,90,.15);
}
#process .step > span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  margin: -1px auto 25px;
  border: 7px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #0b7bd2, #06457f);
  box-shadow: 0 10px 25px rgba(7,87,164,.25);
  font-size: 46px;
  font-weight: 800;
  line-height: .9;
}
#process .step:first-child > span {
  color: #082f59;
  background: linear-gradient(145deg, #ffd431, #f6b900);
  box-shadow: 0 10px 25px rgba(246,185,0,.27);
}
#process .step > span small {
  margin-bottom: 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
#process .step h3 {
  margin: 0 0 12px;
  color: #09366d;
  font-size: 21px;
  line-height: 1.15;
}
#process .step p {
  margin: 0;
  color: #647587;
  font-size: 14px;
  line-height: 1.65;
}
#process .step:not(:last-child)::after {
  content: "›";
  position: absolute;
  z-index: 3;
  top: 38px;
  right: -19px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 42px;
  color: #fff;
  border-radius: 10px;
  background: #0757a4;
  box-shadow: 0 6px 15px rgba(7,87,164,.22);
  font-size: 35px;
  line-height: 1;
}
@media (max-width: 980px) {
  #process .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  #process .steps::before { display: none; }
  #process .step:not(:last-child)::after { display: none; }
}
@media (max-width: 600px) {
  #process .process-heading { margin-bottom: 35px; }
  #process .process-heading h2 { font-size: 38px; }
  #process .steps { grid-template-columns: 1fr; gap: 18px; }
  #process .step {
    display: grid;
    grid-template-columns: 82px 1fr;
    align-items: center;
    min-height: 0;
    padding: 20px;
    text-align: left;
  }
  #process .step > span {
    width: 72px;
    height: 72px;
    margin: 0;
    border-width: 4px;
    font-size: 29px;
  }
  #process .step > span small { margin-bottom: 3px; font-size: 7px; }
  #process .step h3 { font-size: 19px; }
  #process .step p { font-size: 13px; }
}

/* Финальный экран контактов без формы */
.contact-section {
  position: relative;
  overflow: hidden;
  padding: 105px 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(8,115,205,.14), transparent 26%),
    radial-gradient(circle at 88% 72%, rgba(255,196,0,.10), transparent 23%),
    #eef3f8;
}
.contact-box {
  position: relative;
  isolation: isolate;
  display: block;
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 64px 66px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 34px;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(3,22,38,.97), rgba(4,58,101,.94)),
    #031b2f;
  box-shadow: 0 30px 75px rgba(3,39,67,.27);
  text-align: center;
}
.contact-box::before {
  content: "⚡";
  position: absolute;
  z-index: -1;
  right: -20px;
  top: -75px;
  color: rgba(255,196,0,.07);
  font-size: 310px;
  line-height: 1;
  transform: rotate(8deg);
}
.contact-box::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -170px;
  width: 580px;
  height: 270px;
  border-radius: 50%;
  background: rgba(8,115,205,.16);
  filter: blur(20px);
  transform: translateX(-50%);
}
.contact-box__content { max-width: 900px; margin: 0 auto; }
.contact-box .section-label { color: #ffc400; background: rgba(255,196,0,.12); }
.contact-box h2 {
  margin: 18px 0 17px;
  font-size: clamp(43px, 5.7vw, 72px);
  line-height: 1;
  letter-spacing: -.05em;
}
.contact-box__content > p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255,255,255,.68);
  font-size: 17px;
  line-height: 1.65;
}
.contact-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.messenger {
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 19px;
  background: rgba(255,255,255,.07);
  box-shadow: 0 13px 28px rgba(0,0,0,.12);
  text-align: left;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.messenger:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.12);
  box-shadow: 0 19px 38px rgba(0,0,0,.23);
}
.messenger > span {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: rgba(255,255,255,.10);
  font-size: 23px;
}
.messenger small { margin-bottom: 3px; color: rgba(255,255,255,.50); font-size: 11px; }
.messenger strong { font-size: 17px; }
.messenger--telegram { background: linear-gradient(135deg, rgba(10,132,255,.30), rgba(8,78,163,.20)); }
.messenger--max { background: linear-gradient(135deg, rgba(151,86,255,.26), rgba(70,46,140,.18)); }
.messenger--phone { background: linear-gradient(135deg, rgba(28,190,119,.24), rgba(18,111,78,.16)); }
@media (max-width: 820px) {
  .contact-section { padding: 78px 0; }
  .contact-box { padding: 56px 34px 48px; }
  .contact-buttons { grid-template-columns: 1fr; max-width: 560px; margin: 34px auto 0; }
}
@media (max-width: 520px) {
  .contact-section { padding: 60px 0; }
  .contact-box { padding: 46px 20px 32px; border-radius: 25px; }
  .contact-box h2 { font-size: 42px; }
  .contact-box__content > p { font-size: 15px; }
  .messenger { min-height: 82px; }
}

/* Облегчённый первый экран: только главное */
.hero--html {
  min-height: 700px;
}
.hero-html__grid {
  min-height: 624px;
}
.hero-html__content {
  width: min(680px, 47%);
  min-height: 624px;
  padding-top: 34px;
  padding-bottom: 34px;
}
.hero-html__title {
  font-size: clamp(46px, 4.8vw, 72px);
}
.hero-html__title span:last-child {
  max-width: 760px;
  font-size: .67em;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.hero-html__lead {
  max-width: 610px;
  margin-top: 26px;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,.74);
}
.hero-html__actions {
  margin-top: 34px;
}
.hero-button {
  min-height: 64px;
  padding-inline: 28px;
  font-size: 17px;
}
.hero-html__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 700;
}
.hero-html__benefits span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hero-html__benefits b {
  color: #ffc400;
  font-size: 18px;
}
.hero-html__visual {
  min-height: 624px;
}
.hero-html__visual::before,
.hero-html__visual::after {
  background-size: auto 108%;
  background-position: calc(49% + 120px) center;
}
.hero--html::after {
  background: linear-gradient(90deg, rgba(3,9,13,.32) 0%, rgba(3,9,13,.08) 34%, transparent 52%);
}
@media (min-width: 1101px) {
  .hero-html__content { transform: none; }
}
@media (max-width: 1100px) {
  .hero-html__content { width: min(610px, 56%); padding-left: 0; }
  .hero-html__title { font-size: clamp(44px, 5.7vw, 62px); }
  .hero-html__visual::before,
  .hero-html__visual::after { background-position: 61% center; }
}
@media (max-width: 760px) {
  .hero--html { min-height: auto; }
  .hero-html__content { width: 100%; min-height: auto; padding-top: 38px; }
  .hero-html__title { font-size: clamp(39px, 11vw, 54px); }
  .hero-html__lead { font-size: 16px; }
  .hero-html__lead br { display: none; }
  .hero-html__actions { margin-top: 28px; }
  .hero-html__benefits { gap: 10px 18px; margin-top: 24px; font-size: 13px; }
  .hero-html__visual { min-height: 100%; }
  .hero-html__visual::before,
  .hero-html__visual::after { background-size: auto 100%; background-position: 64% top; }
}
