/* Аудит пожарной безопасности — вёрстка по APB01_концепция_сайта.pdf
   Десктоп — макет 1440 × 900, мобильная версия — макет 375 × 812. */

:root {
  --bg: #0a0a0b;
  --bg2: #111113;
  --card: #16161a;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --tx: #f4f1ea;
  --tx2: #d8d2c6;
  --tx3: #beb9af;
  --mut: #8d8a84;
  --amber: #f9b707;
  --fire: #f9b707;
  --ink: #120a02;
  --grad: linear-gradient(120deg, #f9b707 0%, #f9b707 60%, #c89305 100%);
  --gutter: 60px;
  --display: "Days One", "Arial Black", sans-serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--tx); color: #111; padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* типографика */
.h { font-family: var(--display); letter-spacing: -.02em; font-weight: 600; line-height: 1.05; }
.up { text-transform: uppercase; }
.grad-t { background: var(--grad-t, var(--grad)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.amber { color: var(--amber); }
.mono { font-weight: 600; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mut); }
.section-title { font-size: 56px; }
.m-only { display: none !important; }

/* элементы */
.photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.08) brightness(1.25);
}
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  border: 1px solid var(--line2); border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #cfcbc2; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
button.tag:hover { border-color: rgba(255, 255, 255, .4); }
.tag.is-active { background: var(--tx); border-color: var(--tx); color: #111; }
.tag-dark { background: rgba(0, 0, 0, .35); }
.dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--fire); box-shadow: 0 0 12px var(--fire); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 20px 30px; border-radius: 100px;
  font-weight: 700; font-size: 15px; line-height: 1.2;
  transition: transform .2s, filter .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-p { background: var(--grad); color: var(--ink); }
.btn-p:hover { filter: brightness(1.08); }
.btn-g { border: 1px solid var(--line2); color: var(--tx); }
.btn-g:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 14px 22px; font-size: 13px; }
.arrow {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--amber); font-size: 14px;
}
.round {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line2);
}

/* логотип */
.logo { display: flex; align-items: center; gap: 14px; flex: none; }
.logo-m { width: 44px; height: 52px; flex: none; display: block; }
.logo-m img { display: block; width: 100%; height: 100%; }
.logo-full { display: block; height: 52px; width: auto; max-width: none; }
.logo-t { font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.1; }

/* шапка */
.header {
  position: fixed; inset: 0 0 auto; z-index: 40;
  height: var(--header);
  display: flex; align-items: center; gap: 48px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  transition: background .25s, height .25s;
}
.header.is-stuck {
  height: 76px;
  background: rgba(10, 10, 11, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.menu { display: flex; gap: 34px; font-size: 14px; font-weight: 600; color: #cfcbc2; }
.menu a { transition: color .2s; }
.menu a:hover { color: var(--amber); }
.header-r { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.phone { font-family: var(--display); font-weight: 500; font-size: 15px; line-height: 1.25; white-space: nowrap; }
.phone small { display: block; font-family: var(--text); font-size: 11px; color: var(--tx3); font-weight: 500; margin-top: 3px; }
.burger {
  display: none;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line2); background: rgba(0, 0, 0, .3);
  place-items: center;
}
.burger span, .burger span::after { display: block; height: 2px; background: #fff; border-radius: 2px; }
.burger span { width: 16px; position: relative; top: -3px; }
.burger span::after { content: ""; width: 10px; position: absolute; right: 0; top: 6px; }

/* мобильное меню */
.drawer {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  padding: 16px 20px max(24px, env(safe-area-inset-bottom));
  background: #0d0d0f;
  overflow: hidden auto;
  visibility: hidden; opacity: 0;
  transition: opacity .2s, visibility .2s;
}
.drawer.is-open { visibility: visible; opacity: 1; }
.drawer-glow {
  position: absolute; right: -140px; bottom: -120px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 183, 7, .4), transparent 65%); pointer-events: none;
}
.drawer-top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.drawer-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line2); font-size: 17px; }
.drawer .mono { margin-top: 28px; font-size: 10px; position: relative; }
.drawer-nav { margin-top: 10px; position: relative; }
.drawer-nav a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--line2);
  font-family: var(--display); font-weight: 600; font-size: 27px; letter-spacing: -.02em; line-height: 1.15;
}
.drawer-nav em { font: 600 10px var(--text); letter-spacing: .2em; color: var(--amber); }
.drawer-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 24px 0; position: relative; }
.drawer-offices div { padding: 14px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); font-size: 12px; line-height: 1.4; }
.drawer-offices .mono { display: block; margin: 0 0 6px; font-size: 9px; }
.drawer-actions { margin-top: auto; display: grid; gap: 9px; position: relative; }
.drawer-actions .btn { padding: 17px 20px; font-size: 14px; }

/* главный экран */
.hero {
  position: relative; overflow: hidden;
  min-height: max(100vh, 780px);
  display: flex; flex-direction: column;
  text-align: center;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 80% 85%, rgba(249, 183, 7, .28), transparent 60%),
    linear-gradient(rgba(10, 10, 11, .55), rgba(10, 10, 11, .25) 35%, rgba(10, 10, 11, .55) 70%, rgba(10, 10, 11, .97));
}
.hero .photo { object-position: 60% 40%; }
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slides .photo { opacity: 0; transform: scale(1.001); transition: opacity 1.8s ease, transform 0s linear 1.8s; will-change: opacity, transform; }
.hero-slides .photo.is-on { opacity: 1; transform: scale(1.06); transition: opacity 1.8s ease, transform 9s linear; }
.hero-slides .photo:nth-child(n+2) { filter: saturate(1.05) contrast(1.05); object-position: 50% 45%; }
.hero-slides .photo:nth-child(3) { filter: saturate(1) contrast(1.05) brightness(.85); }
.hero-slides .photo:nth-child(5) { filter: saturate(.95) contrast(1.02) brightness(.62); }
.hero-body {
  position: relative; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 128px var(--gutter) clamp(52px, 12.5vh, 112px);
}
.hero h1 { margin-top: 34px; font-size: clamp(50px, 5.84vw, 92px); font-weight: 700; line-height: 1; text-shadow: 0 4px 40px rgba(0, 0, 0, .4); }
.hero h1 .grad-t { text-shadow: none; }
.hero-text { margin: 30px auto 0; max-width: 640px; font-size: 19px; line-height: 1.6; color: #e2ddd3; text-wrap: balance; text-shadow: 0 1px 18px rgba(0, 0, 0, .7); }
.hero-cta { display: flex; justify-content: center; gap: 16px; margin-top: 40px; }
.stats {
  position: relative; height: 120px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: rgba(10, 10, 11, .55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.stats > div { padding: 28px 40px; border-right: 1px solid var(--line); }
.stats > div:first-child { padding-left: var(--gutter); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font: 500 34px/1.15 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.stats .mono { display: block; margin-top: 6px; font-size: 10px; }

/* Линия сигнализации: импульс идёт по шлейфу и зажигает датчики над цифрами */
.has-alarm { position: relative; }
.alarm { position: absolute; left: 0; right: 0; top: -1px; height: 1px; overflow: hidden; pointer-events: none; }
.alarm i { position: absolute; top: 0; bottom: 0; left: 0; display: block; }
.alarm-fill { right: 0; background: var(--amber); opacity: .45; transform: scaleX(0); transform-origin: 0 50%; }
.alarm-head { width: 180px; background: linear-gradient(90deg, transparent, #f9b707); transform: translateX(-180px); }
.is-live .alarm-fill { transform: scaleX(1); transition: transform var(--alarm-time) linear; }
.is-live .alarm-head { transform: translateX(var(--alarm-w)); opacity: 0; transition: transform var(--alarm-time) linear, opacity .4s linear var(--alarm-time); }
.has-alarm b { position: relative; }
.has-alarm.stats b::before, .has-alarm.stats b::after { top: -32px; }
.has-alarm.nums > div:nth-child(-n+2) b::before, .has-alarm.nums > div:nth-child(-n+2) b::after { top: -22px; }
.has-alarm.stats b::before, .has-alarm.stats b::after,
.has-alarm.nums > div:nth-child(-n+2) b::before, .has-alarm.nums > div:nth-child(-n+2) b::after {
  content: ""; position: absolute; left: 0; width: 7px; height: 7px; border-radius: 50%; box-sizing: border-box;
}
.has-alarm b::before { background: #4a463f; transition: background .3s, box-shadow .3s; }
.has-alarm b.on::before { background: var(--amber); box-shadow: 0 0 12px rgba(249, 183, 7, .75); }
.has-alarm b::after { border: 1px solid var(--amber); opacity: 0; }
.has-alarm b.on::after { animation: sensor-ring 5s ease-out 1.4s infinite; }
.has-alarm > div:nth-child(2) b.on::after { animation-delay: 2.6s; }
.has-alarm > div:nth-child(3) b.on::after { animation-delay: 3.8s; }
.has-alarm > div:nth-child(4) b.on::after { animation-delay: 5s; }
@keyframes sensor-ring {
  0% { opacity: .75; transform: scale(1); }
  26%, 100% { opacity: 0; transform: scale(3.4); }
}

/* порядок секций: на телефоне «о компании» сразу после первого экрана */
main { display: flex; flex-direction: column; }

/* общие блоки */
.sec { position: relative; padding: 80px var(--gutter); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.sec-head .mono { display: block; margin-bottom: 22px; }

/* услуги */
.services { background: var(--bg2); }
.services .section-title { font-size: 52px; }
.services-lead { width: 420px; flex: none; color: var(--tx3); font-size: 17px; line-height: 1.6; }
.services-grid {
  display: grid; gap: 18px; margin-top: 48px;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 280px 280px;
}
.flagship {
  grid-row: span 2;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 40px; border-radius: 28px;
  background: #120a06; border: 1px solid rgba(249, 183, 7, .3);
}
.flagship .photo { object-position: 50% 80%; transition: transform .6s; }
.flagship:hover .photo { transform: scale(1.04); }
.flagship-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 10, 6, .75), rgba(18, 10, 6, .35) 40%, rgba(18, 10, 6, .95) 85%); }
.flagship > *:not(.photo):not(.flagship-shade) { position: relative; }
.flagship .tag { align-self: flex-start; border-color: rgba(249, 183, 7, .4); color: var(--amber); background: rgba(0, 0, 0, .35); }
.flagship h3 { margin-top: 28px; font-size: 38px; line-height: 1.1; }
.flagship p { margin-top: 20px; color: var(--tx2); font-size: 16px; line-height: 1.6; max-width: 400px; }
.flagship-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.flagship-foot .mono { display: block; font-size: 10px; }
.flagship-foot b { display: block; margin-top: 6px; font: 600 26px/1.15 var(--display); letter-spacing: -.02em; }
.flagship-foot .btn { padding: 16px 24px; font-size: 14px; }

.svc {
  display: flex; flex-direction: column;
  padding: 32px; border-radius: 28px;
  background: var(--card); border: 1px solid var(--line);
  text-align: left;
  transition: border-color .2s, transform .2s;
}
.svc:hover { border-color: rgba(249, 183, 7, .45); transform: translateY(-3px); }
.svc-top { display: flex; justify-content: space-between; }
.svc-top .mono { color: var(--amber); }
.svc h3 { margin-top: auto; font-size: 22px; font-weight: 500; line-height: 1.25; }
.svc p { margin-top: 12px; color: var(--mut); font-size: 14px; }
.svc-go { display: none; color: var(--amber); }
.svc-all { background: var(--tx); color: #111; border-color: var(--tx); }
.svc-all .mono { color: #8a6a10; }
.svc-all h3 { font-weight: 600; }
.svc-all p { color: #5b5750; }
.svc-all .round { width: 40px; height: 40px; border: 0; background: #111; color: var(--amber); }

.all-services { display: none; margin-top: 18px; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.all-services.is-open { display: grid; }
.all-services a {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line2);
  font-weight: 600; font-size: 16px; line-height: 1.35;
  transition: color .2s;
}
.all-services a:hover { color: var(--amber); }
.all-services a span:last-child { color: var(--amber); }
.all-services a[hidden] { display: none; }

/* этапы */
.process { min-height: 900px; }
.steps { position: relative; margin-top: 70px; }
.steps-track { position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line2); }
.steps { --step-time: .8s; --start: 28px; --len: calc(80% + 19px); }
.steps-fill { position: absolute; left: var(--start); width: var(--len); top: 26px; height: 3px; border-radius: 3px; background: var(--grad); transition: width calc(var(--step-time) * 4) linear; }
.js .steps:not(.in) .steps-fill { width: 0; }
.steps li:nth-child(2) { --d: calc(var(--step-time) * 1); }
.steps li:nth-child(3) { --d: calc(var(--step-time) * 2); }
.steps li:nth-child(4) { --d: calc(var(--step-time) * 3); }
.steps li:nth-child(5) { --d: calc(var(--step-time) * 4); }
.steps ol { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.step-n {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600;
  background: var(--bg2); border: 1px solid var(--line2);
}
.step-n {
  position: relative; isolation: isolate; color: var(--ink);
  box-shadow: 0 0 22px rgba(249, 183, 7, .35);
  transition: color .3s var(--d, 0s), transform .45s cubic-bezier(.34, 1.56, .64, 1) var(--d, 0s), box-shadow .4s var(--d, 0s);
}
.step-n::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 50%;
  background: var(--grad);
  transition: opacity .3s var(--d, 0s);
}
.steps h3, .steps p { transition: opacity .45s var(--d, 0s); }
.js .steps:not(.in) .step-n { color: var(--tx); transform: scale(.86); box-shadow: none; }
.js .steps:not(.in) .step-n::before { opacity: 0; }
.js .steps:not(.in) h3, .js .steps:not(.in) p { opacity: .35; }
.steps h3 { margin-top: 30px; font-size: 19px; font-weight: 500; }
.steps p { margin-top: 12px; color: var(--mut); font-size: 14.5px; line-height: 1.6; }
.systems {
  margin-top: 90px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line); background: var(--card);
}
.systems li { padding: 30px; border-right: 1px solid var(--line); }
.systems li:last-child { border-right: 0; }
.systems b { display: block; font: 600 30px/1.1 var(--display); letter-spacing: -.02em; color: var(--amber); }
.systems span { display: block; margin-top: 10px; color: var(--tx3); font-size: 13.5px; line-height: 1.5; }
.systems .hot { background: linear-gradient(160deg, #2a1408, #16161a); }
.systems .hot b { background: var(--grad-t, var(--grad)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.systems .hot span { color: var(--tx2); }

/* проекты */
.projects { background: var(--bg2); }
.projects .section-title { font-size: 48px; line-height: 1.08; }
.filters { display: flex; gap: 10px; flex: none; }
.projects-grid {
  display: grid; gap: 18px; margin-top: 50px; height: 520px;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-auto-flow: column;
}
.projects-grid.is-filtered { grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr; grid-auto-flow: row; }
.proj {
  position: relative; overflow: hidden;
  display: block; width: 100%; min-width: 0;
  padding: 30px; border-radius: 28px;
  background: #111; text-align: left;
}
.proj[hidden] { display: none; }
.proj .photo { filter: saturate(.85) contrast(1.05); transition: transform .6s; }
.proj[data-cat="industry"] .photo { object-position: 72% 50%; }
.proj[data-cat="trc"] .photo { object-position: 0% 50%; }
.proj:hover .photo { transform: scale(1.05); }
.proj-shade { position: absolute; inset: 0; background: linear-gradient(rgba(8, 8, 9, .88), rgba(8, 8, 9, .25)); }
.proj-body { position: relative; display: block; }
.proj-body .mono { display: block; font-size: 10px; }
.proj-title { display: block; margin-top: 14px; font: 500 20px/1.3 var(--display); letter-spacing: -.02em; }
.proj .round { position: absolute; right: 26px; bottom: 26px; background: rgba(0, 0, 0, .25); }
.proj-big { grid-row: span 2; padding: 0; }
.proj-big .photo { filter: saturate(.9) contrast(1.1); }
.proj-big .proj-shade { background: linear-gradient(transparent 28%, rgba(0, 0, 0, .78) 62%, rgba(0, 0, 0, .94)); }
.proj-big .proj-body { position: absolute; left: 36px; right: 36px; bottom: 34px; }
.proj-big .mono.tag { display: inline-flex; padding: 9px 16px; font-size: 12px; letter-spacing: .12em; color: #cfcbc2; }
.proj-big .proj-title { margin-top: 18px; font-size: 25px; font-weight: 600; line-height: 1.2; }
.proj-facts { display: flex; gap: 40px; margin-top: 22px; color: var(--tx2); font-size: 14px; }
.proj-facts b { font: 600 20px var(--display); color: var(--amber); }
.proj-more { background: var(--grad); color: var(--ink); }
.proj-more .mono { color: #5a2a05; }
.proj-more .proj-title { font-size: 24px; font-weight: 600; line-height: 1.2; }
.proj-more .round { background: var(--ink); border: 0; color: var(--amber); }
.dots { display: none; }

/* о компании */
.about { display: grid; grid-template-columns: min(640px, 44%) 1fr; min-height: 900px; }
.about-media { position: relative; overflow: hidden; }
.about-media .photo { object-position: 72% 30%; filter: contrast(1.05); }
.about-media-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 11, .1), rgba(10, 10, 11, .2) 70%, var(--bg)); }
.quote {
  position: absolute; left: 60px; bottom: 60px; width: 330px;
  padding: 24px 28px; border-radius: 22px;
  background: rgba(10, 10, 11, .75); border: 1px solid var(--line2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.quote .mono { font-size: 10px; }
.quote p { margin-top: 12px; font-size: 16px; line-height: 1.55; color: #e2ddd3; }
.about-body { padding: 64px var(--gutter) 64px 80px; align-self: center; min-width: 0; }
.about-body > .mono { display: block; margin-bottom: 22px; }
.about-title { font-size: min(52px, 3.4vw); font-weight: 700; line-height: 1.02; }
.about-text { margin-top: 28px; max-width: 560px; color: var(--tx3); font-size: 17px; line-height: 1.65; }
.nums { display: grid; grid-template-columns: 1fr 1fr; margin-top: 36px; border-top: 1px solid var(--line2); }
.nums > div { padding: 24px 30px; border-bottom: 1px solid var(--line2); }
.nums > div:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line2); }
.nums > div:nth-last-child(-n+2) { border-bottom: 0; }
.nums b { display: block; font: 600 42px/1.15 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.nums span:not(.amber):not(.grad-t):not([data-count]) { display: block; margin-top: 8px; color: var(--mut); font-size: 14px; }
.offices { display: flex; gap: 14px; margin-top: 30px; }
.offices > a {
  flex: 1; min-width: 0; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-radius: 20px; border: 1px solid var(--line2);
  transition: border-color .2s;
}
.offices > a:hover { border-color: rgba(249, 183, 7, .5); }
.offices b { display: block; font: 500 17px/1.2 var(--display); }
.offices small { display: block; margin-top: 4px; color: var(--mut); font-size: 13px; }

/* заявка */
.cta-sec { padding: 60px var(--gutter) 90px; }
.cta {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
  min-height: 600px; padding: 64px;
  border-radius: 36px;
  background: #140a05; border: 1px solid rgba(249, 183, 7, .25);
}
.cta > .photo { left: -18%; width: 118%; max-width: none; object-position: 50% 45%; filter: brightness(.82) saturate(.95); }
.cta-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 8, 5, .96), rgba(14, 8, 5, .92) 30%, rgba(14, 8, 5, .22) 50%, rgba(14, 8, 5, .12) 62%, rgba(14, 8, 5, .3)); }
.cta .form { width: 100%; max-width: 460px; justify-self: end; }
.cta-copy, .form { position: relative; }
.cta-title { margin-top: 30px; font-size: min(54px, 3.5vw); }
.cta-text { margin-top: 26px; max-width: 460px; color: var(--tx2); font-size: 17px; line-height: 1.6; }
.form {
  padding: 34px; border-radius: 26px;
  background: rgba(10, 10, 11, .75); border: 1px solid var(--line2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.field { display: block; position: relative; border-bottom: 1px solid var(--line2); transition: border-color .2s; }
.field:focus-within { border-color: var(--amber); }
.field.is-bad { border-color: var(--fire); }
.field input, .field select {
  display: block; width: 100%;
  padding: 16px 0; border: 0; border-radius: 0; outline: 0;
  background: transparent; font-size: 15px;
  appearance: none; -webkit-appearance: none;
}
.field input::placeholder { color: var(--mut); opacity: 1; }
.field select { color: var(--mut); padding-right: 24px; cursor: pointer; }
.field select.has-value { color: var(--tx); }
.field select option { color: #111; background: #fff; }
.field-caret { position: absolute; right: 2px; top: 16px; color: var(--mut); pointer-events: none; }
.err { display: none; padding: 0 0 8px; color: #ff8a66; font-size: 12px; }
.field.is-bad .err { display: block; }
.type-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.form .btn { margin-top: 30px; }
.form-note { margin-top: 16px; color: var(--mut); font-size: 12px; line-height: 1.5; }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(249, 183, 7, .12); color: var(--tx); font-size: 13px; line-height: 1.5; }
.form-status[hidden] { display: none; }

/* подвал */
.footer { padding: 64px var(--gutter) 28px; }
.footer-main { display: grid; grid-template-columns: 1.6fr .8fr 1fr 1fr; gap: 40px; }
.footer .mono { display: block; margin-bottom: 18px; }
.footer p { font-size: 15px; line-height: 1.6; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--amber); }
.footer-phone { display: block; margin-top: 28px; font: 500 24px/1.2 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.footer .footer-hours { margin-top: 6px; color: var(--mut); font-size: 13px; }
.footer-mail { display: inline-block; margin-top: 14px; font-size: 15px; }
.footer-nav a { display: block; padding: 4px 0; font-size: 15px; }
.footer-nav .mono + a { margin-top: -4px; }
.footer-route { display: inline-block; margin-top: 12px; color: var(--amber); font-size: 14px; font-weight: 600; }
.footer-route:hover { color: var(--tx) !important; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--mut); font-size: 13px; line-height: 1.5;
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; font-size: 12px; font-weight: 700; }

/* контакты на телефоне */
.contacts-m { padding: 40px 20px 110px; }
.contacts-m .mono { font-size: 10px; }
.contacts-m h2 { margin-top: 10px; font-size: 25px; line-height: 1.12; }
.map { position: relative; height: 170px; margin-top: 18px; border-radius: 22px; overflow: hidden; background: #141418; }
.map svg { width: 100%; height: 100%; }
.map-pin { position: absolute; left: 46%; top: 32%; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad); box-shadow: 0 0 30px rgba(249, 183, 7, .7); }
.map .tag { position: absolute; right: 12px; bottom: 12px; font-size: 10px; padding: 7px 12px; background: rgba(0, 0, 0, .4); }
.contact-list { display: grid; gap: 8px; margin-top: 12px; }
.contact-list > li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.contact-list b { display: block; font: 400 14px/1.3 var(--display); letter-spacing: -.02em; }
.contact-list small { display: block; margin-top: 4px; color: var(--mut); font-size: 12px; }
.ico { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line2); }
.ico-p { background: var(--grad); border: 0; color: var(--ink); }
.contacts-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; color: var(--mut); font-size: 10.5px; line-height: 1.5; }
.contacts-foot div { display: flex; gap: 6px; }
.contacts-foot a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; color: var(--tx); font-size: 10px; font-weight: 800; }

/* плашка звонка */
.callbar {
  position: fixed; left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 30;
  display: none; align-items: center; gap: 12px;
  height: 54px; padding: 0 7px 0 20px;
  border-radius: 100px; border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(12, 12, 14, .72);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transition: transform .25s, opacity .25s;
}
.callbar.is-hidden { transform: translateY(90px); opacity: 0; pointer-events: none; }
.callbar-dot { position: relative; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--amber); }
.callbar-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--amber); opacity: 0; animation: sensor-ring 5s ease-out 2s infinite; }
.callbar-num { flex: 1; min-width: 0; font: 500 14px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.callbar-ico { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(249, 183, 7, .45); transition: background .2s; }
.callbar:active .callbar-ico { background: rgba(249, 183, 7, .16); }

/* окно проекта */
.modal { width: min(720px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line2); border-radius: 28px; background: var(--card); color: var(--tx); overflow: hidden; }
.modal::backdrop { background: rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-img { width: 100%; height: 300px; object-fit: cover; }
.modal-body { padding: 28px 32px 32px; }
.modal-body .mono { font-size: 10px; }
.modal-body h3 { margin-top: 12px; font-size: 26px; line-height: 1.2; }
.modal-body p { margin-top: 14px; color: var(--tx3); font-size: 15px; line-height: 1.6; }
.modal-body .btn { margin-top: 22px; }
.modal-close { position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border-radius: 50%; background: rgba(0, 0, 0, .6); border: 1px solid var(--line2); }

/* страница услуги */
.service-hero { position: relative; overflow: hidden; min-height: 620px; padding: 190px var(--gutter) 70px; display: flex; flex-direction: column; justify-content: flex-end; }
.service-hero .photo { object-position: 50% 73%; }
.service-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 11, .92) 25%, rgba(10, 10, 11, .25)), linear-gradient(transparent 60%, var(--bg)); }
.service-hero > *:not(.photo):not(.service-hero-shade) { position: relative; }
.back { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--tx3); font-size: 14px; font-weight: 600; }
.back .round { background: rgba(0, 0, 0, .3); }
.service-hero .tag { align-self: flex-start; }
.service-hero h1 { margin-top: 22px; max-width: 900px; font-size: 62px; line-height: 1.04; }
.service-main { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; padding: 30px var(--gutter) 90px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-self: start; }
.fact { padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.fact .mono { display: block; font-size: 10px; }
.fact b { display: block; margin-top: 10px; font: 600 26px/1.15 var(--display); letter-spacing: -.02em; }
.benefits { display: grid; gap: 18px; font-size: 18px; color: var(--tx2); }
.benefits li { display: flex; gap: 14px; }
.benefits li::before { content: "✓"; color: var(--amber); font-weight: 700; }
.service-cta { display: flex; gap: 12px; margin-top: 34px; }
.service-bar { display: none; }

/* появление при скролле */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 1320px) {
  .logo-full { height: 44px; }
}

/* ноутбуки: шапка компактнее */
@media (max-width: 1240px) {
  .logo-full { height: 36px; }
  :root { --gutter: 40px; }
  .header { gap: 28px; }
  .menu { gap: 22px; }
  .section-title, .services .section-title, .projects .section-title { font-size: 42px; }
  .flagship h3 { font-size: 30px; }
  .services-grid { grid-template-rows: minmax(280px, auto) minmax(280px, auto); }
  .flagship { padding: 30px; }
  .flagship-foot b { font-size: 21px; white-space: nowrap; }
  .flagship-foot .btn { padding: 13px 16px; white-space: nowrap; }
  .proj { padding: 22px; }
  .proj .round { right: 18px; bottom: 18px; }
  .svc { padding: 26px; }
  .svc h3 { font-size: 19px; }
  .stats > div { padding-left: 24px; padding-right: 24px; }
  .about { grid-template-columns: 44% 1fr; }
  .about-body { padding-left: 50px; }
  .about-title { font-size: 3.3vw; }
  .quote { left: 30px; bottom: 30px; width: min(330px, calc(100% - 60px)); }
  .nums b { font-size: 34px; }
  .cta { padding: 44px; gap: 40px; }
  .cta-title { font-size: 42px; }
  .proj-title { font-size: 17px; }
  .proj-big .proj-title { font-size: 21px; }
  .service-hero h1 { font-size: 50px; }
}

@media (max-width: 1120px) {
  .logo-full { height: 32px; }
  .menu { gap: 14px; }
}

/* планшеты: меню в бургер */
@media (max-width: 1060px) {
  .logo-full { height: 46px; }
  .menu, .header-r .btn { display: none; }
  .burger { display: grid; }
  .header-r { gap: 18px; }
  .hero h1 { font-size: min(66px, calc((100vw - 80px) / 15.5)); }
  .services-lead { width: 320px; font-size: 15px; }
  .services-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-auto-rows: 230px; }
  .flagship { grid-row: auto; grid-column: span 2; min-height: 460px; }
  .steps ol { gap: 16px; }
  .steps h3 { font-size: 15px; }
  .steps p { font-size: 13px; }
  .systems li { padding: 22px 18px; }
  .systems b { font-size: 22px; }
  .process { min-height: 0; }
  .projects-grid { grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(4, 240px); height: auto; grid-auto-flow: row; }
  .proj-big { grid-row: span 4; }
  .about { min-height: 0; }
  .about-title { font-size: 3.4vw; }
  .about-body { padding-left: 40px; padding-right: 30px; }
  .offices { flex-direction: column; }
  .projects .sec-head { display: block; }
  .filters { flex-wrap: wrap; margin-top: 22px; }
  .cta { grid-template-columns: 1fr; min-height: 0; }
  .cta > .photo { left: 0; width: 100%; object-position: 62% 45%; }
  .cta-shade { background: linear-gradient(rgba(14, 8, 5, .7), rgba(14, 8, 5, .92) 50%, rgba(14, 8, 5, .97)); }
  .cta .form { max-width: none; justify-self: stretch; }
  .footer-main { grid-template-columns: 1.4fr 1fr; }
  .service-main { grid-template-columns: 1fr; }
}

/* телефоны: макет 375 × 812 */
@media (max-width: 760px) {
  :root { --gutter: 20px; --header: 70px; }
  html { scroll-padding-top: 76px; }
  .m-only { display: revert !important; }
  .d-only { display: none !important; }
  .contacts-m.m-only { display: block !important; }
  .callbar { display: flex; }
  .svc.m-only { display: block !important; }
  .nums.m-only { display: grid !important; }
  .hero { order: -3; }
  .mono { font-size: 10px; letter-spacing: .2em; }
  .section-title, .services .section-title, .projects .section-title { font-size: 25px; line-height: 1.12; }
  .tag { padding: 7px 12px; font-size: 10px; gap: 8px; }
  .dot { width: 6px; height: 6px; box-shadow: 0 0 10px var(--fire); }

  .header { padding: 0 20px; border-bottom: 0; gap: 12px; }
  .header.is-stuck { height: 62px; }
  .logo-m { width: 36px; height: 43px; }
  .logo-full { height: 40px; }
  .logo-t, .header-r .phone { display: none; }

  /* первый экран */
  .hero { min-height: 100svh; text-align: left; justify-content: flex-end; }
  .hero .photo { object-position: 28% 50%; }
  .hero-shade { background: linear-gradient(rgba(10, 10, 11, .6), rgba(10, 10, 11, .2) 30%, rgba(10, 10, 11, .6) 55%, rgba(10, 10, 11, .98) 80%); }
  .hero-body { display: block; flex: none; padding: 120px 20px 136px; }
  .hero h1 { margin-top: 18px; font-size: clamp(28px, 8.8vw, 40px); line-height: 1.03; }
  .hero-text { margin: 14px 0 0; max-width: none; font-size: 14px; line-height: 1.55; color: #d6d0c5; text-wrap: wrap; }
  .hero-cta { margin-top: 26px; }
  .hero-cta .btn { width: 100%; padding: 13px 20px; font-size: 14px; gap: 10px; min-height: 52px; }
  .hero-cta .arrow { width: 24px; height: 24px; font-size: 12px; }
  .stats { display: none; }

  /* порядок блоков как в мобильной презентации */
  #services { order: -2; }
  #about { order: -1; }

  /* о компании */
  .about { display: flex; flex-direction: column-reverse; min-height: 0; padding: 40px 20px; }
  .about-body { padding: 0; }
  .about-body > .mono { margin-bottom: 12px; }
  .about-title { font-size: 25px; font-weight: 600; line-height: 1.12; text-transform: none; }
  .about-text, .offices { display: none; }
  .nums { margin-top: 22px; }
  .nums > div { padding: 18px 0 18px 16px; }
  .nums > div:nth-child(odd) { padding-right: 12px; }
  .nums b { font-size: 30px; }
  .nums span:not(.amber):not(.grad-t):not([data-count]) { margin-top: 4px; font-size: 12px; }
  .about-media { height: 250px; margin-top: 24px; border-radius: 24px; }
  .about-media .photo { object-position: 75% 25%; filter: none; }
  .about-media-shade { background: linear-gradient(transparent 45%, rgba(0, 0, 0, .85)); }
  .quote { left: 16px; right: 16px; bottom: 14px; width: auto; padding: 0; background: none; border: 0; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .quote .mono { display: none; }
  .quote p { margin: 0; font-size: 13px; line-height: 1.45; color: #eee; }

  .sec { padding: 40px 20px; }
  .sec-head { display: block; }
  .sec-head .mono { margin-bottom: 10px; }

  /* услуги */
  .services-lead { display: none; }
  .svc-chips { display: flex !important; gap: 6px; margin-top: 16px; overflow-x: auto; scrollbar-width: none; }
  .svc-chips::-webkit-scrollbar { display: none; }
  .svc-chips .tag { flex: none; }
  .services-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; gap: 8px; margin-top: 14px; }
  .flagship { grid-column: auto; min-height: 190px; padding: 18px; border-radius: 22px; justify-content: flex-end; }
  .flagship-shade { background: linear-gradient(rgba(18, 10, 6, .55), rgba(18, 10, 6, .95)); }
  .flagship .photo { object-position: 70% 79%; }
  .flagship .tag { padding: 0; border: 0; background: none; font-size: 9px; letter-spacing: .2em; }
  .flagship h3 { margin-top: 8px; font-size: 18px; line-height: 1.2; }
  .flagship p { margin-top: 6px; font-size: 12px; line-height: 1.4; color: #d6d0c5; }
  .flagship-foot { display: none; }
  .svc { position: relative; display: block; padding: 18px 44px 18px 18px; border-radius: 22px; }
  .svc:hover { transform: none; }
  .svc-top .mono { font-size: 9px; }
  .svc-top svg, .svc-top .round, .svc p { display: none; }
  .svc h3 { margin-top: 5px; font-size: 14px; font-weight: 400; line-height: 1.3; }
  .svc-go { display: block; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); }
  .svc-all { background: var(--card); color: var(--tx); border-color: var(--line); }
  .svc-all .mono { color: var(--amber); }
  .all-services { grid-template-columns: 1fr; }
  .all-services a { padding: 16px 0; font-size: 14px; }

  /* этапы */
  .steps { margin-top: 24px; padding-left: 46px; }
  .steps-track { left: 15px; right: auto; top: 10px; bottom: 30px; width: 2px; height: auto; }
  .steps { --start: 14px; --len: calc(100% - 46px); }
  .steps-fill { left: 15px; top: var(--start); width: 2px; height: var(--len); transition: height calc(var(--step-time) * 4) linear; }
  .js .steps:not(.in) .steps-fill { width: 2px; height: 0; }
  .steps ol { display: block; }
  .steps li { position: relative; margin-bottom: 22px; }
  .steps li:last-child { margin-bottom: 0; }
  .step-n { position: absolute; left: -46px; top: -2px; width: 32px; height: 32px; font-size: 12px; }
  .steps h3 { margin: 0; font-size: 15px; font-weight: 400; line-height: 1.3; }
  .steps p { margin-top: 5px; font-size: 12.5px; line-height: 1.45; }
  .systems { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; border: 0; border-radius: 0; background: none; overflow: visible; }
  .systems li, .systems .hot { padding: 7px 12px; border: 1px solid var(--line2); border-radius: 100px; background: none; }
  .systems li:last-child { border-right: 1px solid var(--line2); }
  .systems b, .systems .hot b { font: 600 10px/1.3 var(--text); letter-spacing: .12em; background: none; color: var(--amber); }
  .systems span { display: none; }

  /* проекты: свайп */
  .filters { display: none; }
  .projects { padding-left: 0; padding-right: 0; }
  .projects .sec-head { padding: 0 20px; }
  .projects-grid {
    display: flex; height: auto; gap: 10px; margin-top: 20px;
    padding: 0 20px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding-left: 20px;
    scrollbar-width: none;
  }
  .projects-grid::-webkit-scrollbar { display: none; }
  .proj { flex: 0 0 min(290px, 78vw); height: 380px; padding: 0; border-radius: 24px; scroll-snap-align: start; }
  .proj[data-m-hidden] { display: none; }
  .proj .proj-shade { background: linear-gradient(transparent 35%, rgba(0, 0, 0, .92)); }
  .proj .proj-body { position: absolute; left: 18px; right: 18px; bottom: 18px; }
  .proj .proj-title, .proj-big .proj-title { margin-top: 12px; font-size: 19px; font-weight: 600; line-height: 1.2; }
  .proj .mono { display: inline-flex; padding: 7px 12px; border: 1px solid var(--line2); border-radius: 100px; background: rgba(0, 0, 0, .3); color: #cfcbc2; letter-spacing: .12em; }
  .proj-big .mono.tag { padding: 7px 12px; font-size: 10px; }
  .proj .round { display: none; }
  .proj-facts { gap: 18px; margin-top: 12px; font-size: 12px; }
  .proj-facts b { font-size: 15px; }
  .dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
  .dots i { width: 5px; height: 5px; border-radius: 5px; background: #444; transition: width .2s, background .2s; }
  .dots i.on { width: 22px; background: var(--amber); }
  .proj-more-m { display: flex !important; justify-content: space-between; align-items: center; margin: 18px 20px 0; padding: 18px; border-radius: 22px; background: var(--grad); color: var(--ink); }
  .proj-more-m b { display: block; font: 600 15px/1.25 var(--display); letter-spacing: -.02em; }
  .proj-more-m small { display: block; margin-top: 4px; color: #5a2a05; font-size: 12px; }
  .proj-more-m > span:last-child { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--amber); }

  /* заявка */
  .cta-sec { padding: 0; }
  .cta { display: block; min-height: 0; padding: 40px 20px; border: 0; border-radius: 0; }
  .cta > .photo { object-position: 64% 40%; }
  .cta-shade { background: linear-gradient(rgba(20, 10, 5, .75), rgba(20, 10, 5, .92) 45%, rgba(20, 10, 5, .98)); }
  .cta-title { margin-top: 18px; font-size: 29px; line-height: 1.08; }
  .cta-text { margin-top: 12px; font-size: 13.5px; line-height: 1.55; color: #d6d0c5; }
  .form { margin-top: 22px; padding: 18px; border-radius: 24px; background: rgba(10, 10, 11, .8); }
  .field input { padding: 13px 0; font-size: 16px; }
  .type-chips.m-only { display: flex !important; }
  .form .btn { width: 100%; margin-top: 18px; padding: 17px 20px; font-size: 14px; }
  .form .btn .arrow { display: none; }
  .form-note { margin-top: 10px; font-size: 10.5px; text-align: center; }

  .footer { display: none; }

  .modal-img { height: 220px; }
  .modal-body { padding: 22px; }
  .modal-body h3 { font-size: 20px; }
  .modal-body .btn { width: 100%; }

  /* страница услуги */
  .service-page .callbar { display: none; }
  .service-hero { min-height: 330px; padding: 0; display: block; height: 330px; }
  .service-hero .photo { object-position: 60% 80%; }
  .service-hero-shade { background: linear-gradient(rgba(10, 10, 11, .5), rgba(10, 10, 11, .1) 40%, var(--bg)); }
  .back { position: absolute !important; left: 20px; top: 14px; margin: 0; z-index: 50; }
  .back-label { display: none; }
  .back .round { width: 42px; height: 42px; }
  .service-page .header { justify-content: flex-end; background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; pointer-events: none; }
  .service-page .header > * { pointer-events: auto; }
  .service-page .header .logo { display: none; }
  .service-hero .service-hero-title { display: none; }
  .service-main { display: block; margin-top: -70px; padding: 0 20px 110px; position: relative; }
  .service-title-m { display: block !important; }
  .service-title-m h1, .service-title-m .h1-m { margin-top: 14px; font-size: 25px; line-height: 1.12; }
  .facts { gap: 8px; margin-top: 18px; }
  .fact { padding: 14px; border-radius: 22px; }
  .fact .mono { font-size: 9px; }
  .fact b { margin-top: 6px; font-size: 17px; }
  .benefits { gap: 10px; margin-top: 18px; font-size: 13px; }
  .benefits li { gap: 10px; }
  .service-cta { display: none; }
  .service-bar {
    display: flex; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 30;
    padding: 10px; border-radius: 24px;
    background: rgba(20, 20, 24, .9); border: 1px solid var(--line2);
  }
  .service-bar .btn { padding: 15px; font-size: 14px; }
  .service-bar .btn-g { width: 54px; flex: none; }
  .service-bar .btn-p { flex: 1; }
}

/* ================= СВЕТЛАЯ ТЕМА =================
   Страница светлая; фото-блоки, шапка, меню, подвал и плашка звонка остаются тёмными.
   Тёмная версия целиком сохранена в style-dark.css. */
:root {
  --page: #f6f4ef;
  --bg: #f6f4ef;
  --bg2: #eeebe4;
  --card: #ffffff;
  --line: rgba(23, 21, 15, .09);
  --line2: rgba(23, 21, 15, .16);
  --tx: #17150f;
  --tx2: #3b372f;
  --tx3: #4f4a41;
  --mut: #79746b;
  --amber: #c89305;
  --grad-t: linear-gradient(120deg, #c89305, #c89305);
}

.header, .drawer, .hero, .flagship, .proj, .cta, .footer, .callbar,
.service-hero, .about-media, .service-bar, .modal-close, .map, .skip {
  --bg: #0a0a0b;
  --bg2: #111113;
  --card: #16161a;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --tx: #f4f1ea;
  --tx2: #d8d2c6;
  --tx3: #beb9af;
  --mut: #8d8a84;
  --amber: #f9b707;
  --grad-t: var(--grad);
  color: var(--tx);
}
.footer { background: #0a0a0b; }

/* метки и кнопки на светлом */
.tag { color: var(--tx3); }
:is(.header, .drawer, .hero, .flagship, .proj, .cta, .map) .tag { color: #cfcbc2; }
.flagship .tag { color: var(--amber); }
button.tag:hover { border-color: var(--tx3); }
.tag.is-active { color: var(--bg); }
.btn-g:hover { background: rgba(23, 21, 15, .05); }
:is(.header, .drawer, .hero, .cta, .service-bar) .btn-g:hover { background: rgba(255, 255, 255, .08); }

/* карточка «Все услуги» — тёмная на светлом */
.svc-all { background: #17150f; border-color: #17150f; color: #f6f4ef; }
.svc-all .mono { color: #f9b707; }
.svc-all p { color: rgba(246, 244, 239, .62); }
.svc-all .round { background: #f9b707; color: #120a02; }
.svc { box-shadow: 0 1px 2px rgba(23, 21, 15, .04); }

/* системы */
.systems .hot { background: linear-gradient(160deg, #fff3cc, #ffffff); }

/* о компании: фото без перехода в тёмный фон */
.about-media-shade { background: linear-gradient(90deg, rgba(10, 10, 11, .08), rgba(10, 10, 11, .22)); }
.nums.has-alarm b:not(.on)::before { background: #d3cdc1; }

/* страница услуги: низ фото уходит в светлый фон */
.service-hero-shade { background: linear-gradient(90deg, rgba(10, 10, 11, .92) 25%, rgba(10, 10, 11, .25)), linear-gradient(transparent 60%, var(--page)); }

@media (max-width: 760px) {
  .svc-all { background: var(--card); color: var(--tx); border-color: var(--line); }
  .svc-all .mono { color: var(--amber); }
  .about-media-shade { background: linear-gradient(transparent 45%, rgba(0, 0, 0, .85)); }
  .service-hero-shade { background: linear-gradient(rgba(10, 10, 11, .5), rgba(10, 10, 11, .1) 40%, var(--page)); }
  .dots i { background: #d3cdc1; }
  .dots i.on { background: var(--amber); }
  .proj .mono { color: #cfcbc2; }
}

/* Главный экран: видео с объекта вместо слайдера */
.hero-video { filter: saturate(.9) contrast(1.05); object-position: 50% 45%; }
.hero-shade {
  background:
    radial-gradient(ellipse 900px 500px at 80% 85%, rgba(249, 183, 7, .3), transparent 60%),
    linear-gradient(rgba(10, 10, 11, .68), rgba(10, 10, 11, .46) 35%, rgba(10, 10, 11, .62) 70%, rgba(10, 10, 11, .97));
}
.hero-shade::before { content: ""; position: absolute; inset: 0; background: rgba(249, 183, 7, .32); mix-blend-mode: multiply; }
@media (max-width: 760px) {
  .hero-video { object-position: 55% 50%; }
  .hero-shade { background: linear-gradient(rgba(10, 10, 11, .66), rgba(10, 10, 11, .4) 30%, rgba(10, 10, 11, .66) 55%, rgba(10, 10, 11, .98) 80%); }
}

/* О компании: фото у Кремля */
.about-media .photo { object-position: 64% 50%; filter: none; }
@media (max-width: 760px) { .about-media .photo { object-position: 60% 38%; } }

/* Подвал: фоновое видео под затемнением */
.footer { position: relative; isolation: isolate; overflow: hidden; }
.footer > :not(.footer-bg), .contacts-m > :not(.footer-bg) { position: relative; z-index: 1; }
.contacts-m { position: relative; isolation: isolate; overflow: hidden; }
.footer-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.footer-bg video, .footer-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.footer-bg img { transition: opacity .8s ease; }
.is-playing > .footer-bg img { opacity: 0; }
.footer-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #0a0a0b 0%, rgba(10,10,11,.52) 18%, rgba(10,10,11,.42) 62%, rgba(10,10,11,.8) 100%),
              linear-gradient(90deg, rgba(10,10,11,.45), rgba(10,10,11,0) 65%, rgba(10,10,11,.2)); }
.footer-video::-webkit-media-controls, .footer-video::-webkit-media-controls-start-playback-button { display: none !important; }

/* линия сигнализации в «О компании» лежит прямо на верхней серой полоске */
.nums .alarm { margin: 0 !important; }
.has-alarm.nums.d-only > div:nth-child(-n+2) b::before,
.has-alarm.nums.d-only > div:nth-child(-n+2) b::after { top: -28.5px; }

/* Главный экран: видео уже в холодной цветокоррекции, жёлтый налёт убран, остаётся только затемнение */
.hero-shade::before { display: none; }
.hero-shade { background: linear-gradient(rgba(8, 12, 14, .58), rgba(8, 12, 14, .32) 35%, rgba(8, 12, 14, .55) 70%, rgba(10, 10, 11, .97)); }
.hero-video { filter: none; }
@media (max-width: 760px) {
  .hero-shade { background: linear-gradient(rgba(8, 12, 14, .6), rgba(8, 12, 14, .34) 30%, rgba(8, 12, 14, .62) 55%, rgba(10, 10, 11, .98) 80%); }
}

/* видео на главном: прячем системный значок Play и панель управления */
.hero-video { pointer-events: none; }
.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-panel,
.hero-video::-webkit-media-controls-start-playback-button,
.hero-video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; opacity: 0; }

/* Пока видео не пошло (энергосбережение, запрет автозапуска) — видна обложка с медленным приближением,
   а сам ролик со значком Play спрятан. Видео проявляется, как только начинает играть. */
.hero-poster { animation: hero-drift 18s ease-in-out infinite alternate; transform-origin: 60% 45%; }
@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-poster { transition: opacity .8s ease; }
.hero.is-playing .hero-poster { opacity: 0; animation: none; }

/* телефон: то же видео под контактами, у заголовка и внизу затемнено сильнее */
.contacts-m .footer-bg video, .contacts-m .footer-bg img { object-position: 62% 30%; }
.contacts-m .footer-bg::after {
  background: linear-gradient(180deg, #0a0a0b 0%, rgba(10,10,11,.5) 14%, rgba(10,10,11,.45) 45%, rgba(10,10,11,.7) 75%, rgba(10,10,11,.92) 100%);
}
/* на видео контакты в тёмной теме, как подвал на компьютере */
.contacts-m {
  --tx: #f2efe8; --mut: #a9a49b; --line: rgba(255,255,255,.1); --line2: rgba(255,255,255,.2);
  --card: rgba(18,18,20,.66);
  color: var(--tx); background: #0a0a0b;
}
.contacts-m h2 { color: var(--tx); }
.contacts-m .contact-list > li { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.contacts-m .contact-list .ico:not(.ico-p) { color: var(--tx); border-color: var(--line2); background: transparent; }

/* ================= СТРАНИЦЫ УСЛУГ: текст со старого сайта ================= */
.svc-lead { margin-bottom: 26px; font-size: 19px; line-height: 1.6; color: var(--tx2); }
.svc-lead b { color: var(--tx); }
.svc-doc { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 90px; padding: 10px var(--gutter) 40px; border-top: 1px solid var(--line); }
.svc-aside { position: sticky; top: calc(var(--header) + 24px); align-self: start; padding-top: 50px; }
.svc-toc { display: grid; }
.svc-toc .mono { margin-bottom: 10px; }
.svc-toc a { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--tx3); font-size: 14px; line-height: 1.35; font-weight: 600; transition: color .2s; }
.svc-toc a .mono { margin: 2px 0 0; flex: none; color: var(--amber); font-size: 10px; }
.svc-toc a:hover, .svc-toc a.on { color: var(--tx); }
.svc-ask { margin-top: 28px; padding: 26px; border-radius: 26px; background: #17150f; color: #f6f4ef; }
.svc-ask .mono { color: #f9b707; font-size: 10px; }
.svc-ask p { margin-top: 12px; color: rgba(246, 244, 239, .66); font-size: 14px; line-height: 1.55; }
.svc-ask-phone { display: block; margin-top: 16px; font: 500 20px/1.2 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.svc-ask .btn { width: 100%; margin-top: 18px; }

.svc-article { min-width: 0; max-width: 820px; }
.svc-sec { padding: 54px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header) + 10px); }
.svc-sec:last-child { border-bottom: 0; }
.svc-sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.svc-sec-head .mono { color: var(--amber); }
.svc-sec-head .mono::after { content: " —"; }
.svc-sec h2 { font-size: 32px; line-height: 1.12; }
.svc-sec p { margin-top: 16px; font-size: 17px; line-height: 1.75; color: var(--tx2); }
.svc-sec p:first-of-type { margin-top: 0; }
.svc-sec p b { color: var(--tx); font-weight: 700; }
.svc-sec .svc-intro { color: var(--tx); font-weight: 600; }
.svc-list { display: grid; margin: 18px 0 6px; }
.svc-list li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.6; color: var(--tx2); }
.svc-list li:last-child { border-bottom: 0; }
.svc-list li::before { content: ""; position: absolute; left: 4px; top: 23px; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
.svc-list li b { color: var(--tx); }
.svc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 6px; }
.svc-cards li { padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(23, 21, 15, .04); }
.svc-cards b { display: block; font: 600 16px/1.3 var(--display); letter-spacing: -.02em; color: var(--tx); }
.svc-cards span { display: block; margin-top: 10px; color: var(--tx3); font-size: 14.5px; line-height: 1.6; }
.svc-note { margin-top: 22px !important; padding: 18px 22px; border-radius: 18px; background: #fff3cc; color: var(--tx) !important; font-weight: 600; }
.svc-result { margin-top: 40px; padding: 44px; border: 0; border-radius: 30px; background: #17150f; color: #f6f4ef; }
.svc-result .svc-sec-head .mono { color: #f9b707; }
.svc-result h2 { color: #f6f4ef; }
.svc-result p { color: rgba(246, 244, 239, .78); }
.svc-result p:first-of-type { color: #f6f4ef; font-size: 20px; line-height: 1.6; }
.svc-result .svc-list li { color: rgba(246, 244, 239, .78); border-color: rgba(255, 255, 255, .1); }

.svc-more { padding: 70px var(--gutter) 100px; background: var(--bg2); }
.svc-more-head h2 { margin-top: 12px; font-size: 42px; }
.svc-more-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin-top: 30px; }
.svc-more-list a { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line2); font-size: 16px; font-weight: 600; transition: color .2s; }
.svc-more-list a:hover { color: var(--amber); }
.svc-more-list a span:last-child { color: var(--amber); }

@media (max-width: 1180px) {
  .svc-doc { grid-template-columns: 260px minmax(0, 1fr); gap: 50px; }
}
@media (max-width: 980px) {
  .svc-doc { display: block; }
  .svc-aside { display: none; }
}
@media (max-width: 760px) {
  .svc-lead { margin: 20px 0 0; font-size: 14.5px; }
  .service-main .benefits { margin-top: 18px; }
  .service-main { padding-bottom: 30px; }
  .svc-doc { padding: 0 20px 20px; }
  .svc-sec { padding: 34px 0; }
  .svc-sec-head { gap: 10px; margin-bottom: 14px; }
  .svc-sec-head .mono { font-size: 10px; }
  .svc-sec h2 { font-size: 20px; }
  .svc-sec p { font-size: 14.5px; line-height: 1.65; margin-top: 12px; }
  .svc-list li { padding: 11px 0 11px 26px; font-size: 14px; }
  .svc-list li::before { left: 2px; top: 18px; width: 8px; height: 8px; }
  .svc-cards { grid-template-columns: 1fr; gap: 8px; }
  .svc-cards li { padding: 16px; border-radius: 18px; }
  .svc-cards b { font-size: 14px; }
  .svc-cards span { font-size: 13px; }
  .svc-note { padding: 14px 16px; font-size: 14px !important; }
  .svc-result { margin: 20px -6px 0; padding: 26px 20px; border-radius: 24px; }
  .svc-result p:first-of-type { font-size: 16px; }
  .svc-more { padding: 40px 20px 120px; }
  .svc-more-head h2 { font-size: 25px; }
  .svc-more-list { grid-template-columns: 1fr; margin-top: 16px; }
  .svc-more-list a { padding: 15px 0; font-size: 14px; }
}

/* ================= ОБЩИЕ СТРАНИЦЫ: услуги, портфолио, о компании, контакты ================= */
.page-title-m { display: none; }
.page-sec { padding: 60px var(--gutter) 90px; }
.page-lead { max-width: 860px; font-size: 20px; line-height: 1.6; color: var(--tx2); }
.page-lead a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.page-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.page-chips .tag { font-weight: 600; }
.page-chips .tag em { margin-left: 6px; font-style: normal; color: var(--amber); }
.page-more { display: inline-flex; gap: 10px; color: var(--amber); font-weight: 700; font-size: 15px; white-space: nowrap; }

.svc-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 70px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(23, 21, 15, .04); transition: transform .25s ease, box-shadow .25s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23, 21, 15, .08); }
.svc-card .mono { color: var(--amber); font-size: 10px; }
.svc-card h2 { font-size: 19px; line-height: 1.2; }
.svc-card p { color: var(--tx3); font-size: 14.5px; line-height: 1.6; }
.svc-card .svc-go { position: absolute; left: 28px; bottom: 24px; color: var(--amber); font-size: 20px; }

.port-sec { margin-top: 64px; }
.port-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line2); }
.port-head h2 { font-size: 30px; }
.port-head h2 a:hover { color: var(--amber); }
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.client { display: grid; grid-template-columns: 72px 1fr; gap: 6px 18px; align-content: start; padding: 22px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.client-logo { grid-row: span 2; width: 72px; height: 72px; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.client-logo img { width: 100%; height: 100%; object-fit: contain; }
.client h3 { align-self: center; font-size: 15px; line-height: 1.3; }
.client ul { grid-column: 1 / -1; display: grid; gap: 6px; margin-top: 12px; }
.client li { position: relative; padding-left: 18px; color: var(--tx3); font-size: 13.5px; line-height: 1.5; }
.client li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 2px; background: var(--grad); }

.page-text { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 80px; }
.page-text-body { max-width: 820px; }
.page-text-body p, .page-text-body li { font-size: 17px; line-height: 1.75; color: var(--tx2); }
.page-text-body p + p { margin-top: 16px; }
.page-text-body h2 { margin: 44px 0 14px; font: 600 26px/1.15 var(--display); letter-spacing: -.02em; color: var(--tx); }
.page-text-body h2:first-child { margin-top: 0; }
.page-text-body ul { margin: 14px 0; display: grid; gap: 8px; }
.page-text-body li { position: relative; padding-left: 24px; }
.page-text-body li::before { content: ""; position: absolute; left: 3px; top: 12px; width: 8px; height: 8px; border-radius: 3px; background: var(--grad); }
.page-text-body strong { color: var(--tx); }
.page-facts { display: grid; gap: 12px; align-self: start; position: sticky; top: calc(var(--header) + 24px); }
.page-facts .fact small { display: block; margin-top: 8px; color: var(--tx3); font-size: 13.5px; line-height: 1.5; }
.page-facts .fact a { color: var(--amber); font-weight: 700; }

.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.office { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.office .mono { color: var(--amber); }
.office-addr { font: 500 18px/1.3 var(--display); letter-spacing: -.02em; }
.office-hours { color: var(--tx3); font-size: 14px; }
.office-phone { margin-top: 10px; font-size: 18px; font-weight: 700; white-space: nowrap; }
.office-route { color: var(--amber); font-size: 14px; font-weight: 600; }
.requisites { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.requisites p { margin-top: 8px; color: var(--tx2); }

.page-cta { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin: 0 var(--gutter) 90px; padding: 48px; border-radius: 32px; background: #17150f; color: #f6f4ef; }
.page-cta .mono { color: #f9b707; }
.page-cta h2 { margin-top: 12px; font-size: 38px; color: #f6f4ef; }
.page-cta p { margin-top: 12px; max-width: 520px; color: rgba(246, 244, 239, .7); line-height: 1.6; }
.page-cta-actions { display: flex; gap: 12px; flex: none; }
.page-cta .btn-g { color: #f6f4ef; border-color: rgba(255, 255, 255, .2); }
.page-cta .btn-g:hover { background: rgba(255, 255, 255, .08); }

.plain-page .header { background: rgba(10, 10, 11, .92); }
.page-plain { max-width: 980px; padding: calc(var(--header) + 50px) var(--gutter) 90px; }
.page-plain h1 { margin: 22px 0 30px; font-size: 46px; line-height: 1.08; }
.back-plain { color: var(--tx3); }
.back-plain .round { background: var(--card); border: 1px solid var(--line2); }
.page-404 { min-height: 70vh; }
.page-404 h1 { margin-top: 14px; }
.page-404 .service-cta { margin: 30px 0 40px; }

@media (max-width: 1180px) {
  .svc-index, .clients, .offices { grid-template-columns: 1fr 1fr; }
  .page-text { grid-template-columns: 1fr; gap: 40px; }
  .page-facts { position: static; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .page-title-m { display: block !important; position: relative; margin-top: -70px; padding: 0 20px; }
  .page-title-m h1, .page-title-m .h1-m { margin-top: 14px; font-size: 25px; line-height: 1.12; }
  .page-title-m .tag { background: rgba(0, 0, 0, .35); color: #cfcbc2; }
  .page-sec { padding: 20px 20px 50px; }
  .page-lead { font-size: 15px; }
  .page-chips { margin-top: 20px; gap: 6px; }
  .svc-index, .clients, .offices { grid-template-columns: 1fr; gap: 8px; margin-top: 22px; }
  .svc-card { padding: 20px 20px 52px; border-radius: 20px; }
  .svc-card h2 { font-size: 16px; }
  .svc-card p { font-size: 13.5px; }
  .svc-card .svc-go { left: 20px; bottom: 18px; }
  .port-sec { margin-top: 40px; }
  .port-head { flex-direction: column; gap: 8px; }
  .port-head h2 { font-size: 20px; }
  .client { grid-template-columns: 56px 1fr; padding: 16px; border-radius: 20px; }
  .client-logo { width: 56px; height: 56px; border-radius: 14px; }
  .client h3 { font-size: 14px; }
  .client li { font-size: 13px; }
  .page-text-body p, .page-text-body li { font-size: 14.5px; line-height: 1.65; }
  .page-text-body h2 { margin-top: 30px; font-size: 19px; }
  .page-facts { grid-template-columns: 1fr; }
  .office { padding: 20px; border-radius: 20px; }
  .office-addr { font-size: 15px; }
  .page-cta { flex-direction: column; align-items: stretch; gap: 20px; margin: 0 20px 120px; padding: 26px 20px; border-radius: 24px; }
  .page-cta h2 { font-size: 24px; }
  .page-cta-actions { flex-direction: column; }
  .page-plain { padding: 90px 20px 120px; }
  .page-plain h1 { font-size: 26px; margin: 16px 0 20px; }
  .plain-page .header { background: none; }
}

/* ловушка для ботов в форме заявки: людям не видна */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Главный заголовок — длинная формулировка */
.hero h1.h1-long { max-width: 1260px; margin-left: auto; margin-right: auto; font-size: clamp(28px, 2.7vw, 44px); line-height: 1.1; text-wrap: balance; }
@media (max-width: 760px) {
  .hero h1.h1-long { font-size: clamp(21px, 6vw, 28px); line-height: 1.12; margin-left: 0; }
}

/* Первый экран: текст и кнопки — по центру экрана */
.hero-body { justify-content: center; padding-top: 120px; padding-bottom: 0; }
@media (max-width: 760px) {
  .hero { justify-content: center; }
  .hero-body { display: flex; flex: 1; justify-content: center; align-items: flex-start; padding: 96px 20px 96px; }
  .hero-body .hero-cta { align-self: stretch; }
}

/* Кнопки первого экрана: обе прозрачные, текст заглавными */
.hero-cta .btn { text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }
@media (max-width: 760px) {
  .hero-cta .btn { font-size: 13px; letter-spacing: .06em; }
}

/* Главный заголовок — Days One (широкий, в духе Unbounded) */
.hero h1.h1-long { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; font-size: clamp(30px, 3.1vw, 50px); }
@media (max-width: 760px) { .hero h1.h1-long { font-size: clamp(22px, 6.4vw, 28px); } }

/* Days One — одно начертание: не рисуем искусственный жирный */
html { font-synthesis-weight: none; font-synthesis: style; }
