/* ==========================================================================
   ЧОО «Велит» — современный сайт. Стили.
   Палитра взята из исторического логотипа: графит + бордо + латунь.
   ========================================================================== */

/* ---------- Шрифты (локально, без внешних CDN) ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-cyrext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Переменные ---------- */
:root {
  --ink: #0e1114;
  --ink-soft: #171c21;
  --ink-line: #2a3138;
  --paper: #f5f3ee;
  --paper-2: #ece8df;
  --line: #ddd8cb;
  --line-soft: #e7e3d9;
  --brand: #a81b23;
  --brand-dark: #8a1219;
  --gold: #b99553;
  --muted: #5e6672;
  --muted-light: #9aa2ad;
  --radius-l: 26px;
  --radius-m: 18px;
  --radius-s: 12px;
  --maxw: 1220px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 24px 60px -28px rgba(14, 17, 20, .35);
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Сетка ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 68px 0; }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #eef0f2; }
.section--ink .muted { color: var(--muted-light); }

/* ---------- Типографика ---------- */
.display {
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 800;
}
.h2 {
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 700;
}
.h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  line-height: 1.24;
  letter-spacing: -.02em;
  font-weight: 700;
}
.lead { font-size: clamp(1.02rem, 1.25vw, 1.18rem); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.accent { color: var(--brand); }
p + p { margin-top: 1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  display: block;
}
.section--ink .eyebrow { color: var(--gold); }

.sect-head { display: grid; gap: 18px; max-width: 720px; }
.sect-head .h2 { text-wrap: balance; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 14px 30px -16px rgba(168, 27, 35, .75); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: 0 20px 38px -18px rgba(168, 27, 35, .85); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: rgba(14, 17, 20, .04); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper-2); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--brand);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: gap .3s var(--ease), border-color .3s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover { border-color: currentColor; gap: 13px; }
.section--ink .link-arrow { color: var(--gold); }

/* ---------- Шапка ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 243, 238, .72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.header.is-stuck {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 30px -24px rgba(14, 17, 20, .5);
  background: rgba(245, 243, 238, .92);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand__logo { width: 42px; height: 48px; object-fit: contain; }
.brand__text { display: grid; line-height: 1.05; }
.brand__name { font-weight: 800; font-size: 1.06rem; letter-spacing: -.02em; }
.brand__sub {
  font-size: .6rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 3px;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--ink);
  transition: background .25s, color .25s;
}
.nav a:hover { background: rgba(14, 17, 20, .06); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 12px;
  font-weight: 800;
  font-size: .98rem;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.header__phone svg { width: 16px; height: 16px; color: var(--brand); }
.header__phone:hover { color: var(--brand); }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  flex: none;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  position: relative;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  transition: transform .3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 78px 0 0;
  z-index: 99;
  background: var(--paper);
  padding: 26px 28px 40px;
  display: grid;
  align-content: start;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .28s, transform .28s var(--ease), visibility .28s;
  overflow-y: auto;
}
body.nav-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a.m-link {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.03em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a.m-link[aria-current="page"] { color: var(--brand); }
.mobile-menu .m-phone {
  margin-top: 24px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand);
}
.mobile-menu .m-note { font-size: .85rem; color: var(--muted); margin-top: 4px; }

/* ---------- Герой ---------- */
.hero { padding: 56px 0 0; position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 56px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, .55);
}
.hero__badge b {
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero h1 {
  margin: 24px 0 20px;
  font-size: clamp(2.6rem, 5vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 800;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__text { max-width: 46ch; font-size: 1.06rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__hint {
  margin-top: 18px;
  font-size: .88rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__hint svg { width: 15px; height: 15px; color: var(--brand); flex: none; }

.hero__media { position: relative; }
.hero__img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  filter: saturate(.92) contrast(1.03);
}
.hero__card {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  padding: 16px 20px;
  box-shadow: 0 18px 40px -22px rgba(14, 17, 20, .45);
  display: grid;
  gap: 2px;
}
.hero__card .k { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.hero__card .v { font-size: 1.24rem; font-weight: 800; letter-spacing: -.02em; }
.hero__card .v:hover { color: var(--brand); }

/* ---------- Полоса цифр ---------- */
.stats {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats__item { padding: 26px 26px 26px 0; }
.stats__item + .stats__item { padding-left: 26px; border-left: 1px solid var(--line); }
.stats__num {
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}
.stats__lbl { margin-top: 8px; font-size: .84rem; color: var(--muted); line-height: 1.4; }

/* ---------- Бегущая строка ---------- */
.ticker {
  margin-top: 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 46s linear infinite;
}
.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.ticker__track span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .55;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Карточки услуг ---------- */
.grid-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 27, 35, .35);
  box-shadow: 0 26px 50px -34px rgba(14, 17, 20, .5);
}
.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(168, 27, 35, .07);
  color: var(--brand);
  margin-bottom: 4px;
}
.card__icon svg { width: 23px; height: 23px; }
.card h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.card p { font-size: .94rem; color: var(--muted); line-height: 1.58; }
.card__num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--line);
}
.card--feature {
  grid-column: span 2;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  flex-direction: row;
  align-items: center;
  gap: 30px;
  padding: 0;
}
.card--feature .card__body { padding: 32px 34px; display: grid; gap: 12px; }
.card--feature h3 { color: #fff; font-size: 1.3rem; }
.card--feature p { color: #b9c0c8; }
.card--feature .card__icon { background: rgba(255, 255, 255, .1); color: var(--gold); }
.card--feature .card__num { color: rgba(255, 255, 255, .22); }
.card--feature .card__img {
  width: 42%;
  align-self: stretch;
  object-fit: cover;
  min-height: 240px;
  opacity: .92;
}
.card--feature:hover { border-color: var(--ink); }

/* ---------- Подход / тёмный блок ---------- */
.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 60px; align-items: start; }
.steps { display: grid; gap: 2px; margin-top: 6px; }
.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--ink-line);
}
.step:last-child { border-bottom: 1px solid var(--ink-line); }
.step__n {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--gold);
  padding-top: 4px;
}
.step h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.step p { margin-top: 6px; font-size: .95rem; color: #a7aeb7; line-height: 1.6; }
.media-frame { border-radius: var(--radius-l); overflow: hidden; position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall img { aspect-ratio: 4 / 3.4; }

/* ---------- Объекты ---------- */
.objects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 42px; }
.object {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-s);
  font-size: .93rem;
  font-weight: 600;
  transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.object:hover { border-color: var(--line); transform: translateY(-2px); }
.object svg { width: 19px; height: 19px; color: var(--brand); flex: none; opacity: .85; }

/* ---------- О компании тизер ---------- */
.about-teaser { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.license-card {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
}
.license-card__seal {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px dashed rgba(168, 27, 35, .45);
  display: grid;
  place-items: center;
  color: var(--brand);
  flex: none;
}
.license-card__seal svg { width: 24px; height: 24px; }
.license-card .t { font-size: .95rem; font-weight: 700; }
.license-card .d { font-size: .84rem; color: var(--muted); }
.quote {
  margin-top: 26px;
  padding-left: 22px;
  border-left: 2px solid var(--brand);
  font-size: 1.02rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- CTA вакансии ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 54px 56px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 46px;
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -220px;
  background: radial-gradient(circle, rgba(168, 27, 35, .55), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band .h2 { color: #fff; }
.cta-band p { color: #b4bbc4; margin-top: 14px; max-width: 44ch; }
.cta-band__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: .83rem;
  font-weight: 600;
  color: #dfe3e8;
}
.cta-band__actions { display: grid; gap: 12px; justify-items: start; }
.cta-band__actions .btn { width: 100%; }

/* ---------- Контакты ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.contact-list { display: grid; gap: 0; }
.contact-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.contact-row:last-child { border-bottom: 1px solid var(--line); }
.contact-row__ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line-soft);
  color: var(--brand);
}
.contact-row__ico svg { width: 19px; height: 19px; }
.contact-row .k {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.contact-row .v { font-size: 1.02rem; font-weight: 600; margin-top: 4px; line-height: 1.5; }
.contact-row a.v:hover { color: var(--brand); }
.contact-row .sub { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.contact-row .big { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }

.map-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 34px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}
.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 70% 20%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 70% 20%, #000, transparent 78%);
  pointer-events: none;
}
.map-card > * { position: relative; }
.map-card .pin {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
}
.map-card .pin svg { width: 22px; height: 22px; }
.map-card h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; margin-top: 18px; color: #fff; }
.map-card p { color: #aab2bb; font-size: .95rem; margin-top: 10px; }
.map-card .hours {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 20px;
  font-size: .92rem;
  color: #d5dae0;
}
.map-card .hours b { color: #fff; }

/* ---------- Внутренние страницы ---------- */
.page-head { padding: 64px 0 0; }
.page-head .display { margin-top: 20px; max-width: 20ch; }
.page-head .lead { margin-top: 20px; max-width: 62ch; }
.crumbs { display: flex; gap: 8px; font-size: .82rem; color: var(--muted); flex-wrap: wrap; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { opacity: .5; }

.prose { max-width: 74ch; }
.prose p { margin-top: 1.05em; color: var(--ink-soft); }
.prose p:first-child { margin-top: 0; }
.prose strong { font-weight: 700; }

/* страница услуг */
.svc { display: grid; gap: 22px; }
.svc-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 28px;
  padding: 38px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  scroll-margin-top: 100px;
}
.svc-card__n {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--line);
  line-height: 1;
}
.svc-card h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.03em; font-weight: 700; }
.svc-card .txt { margin-top: 14px; color: var(--muted); font-size: .98rem; }
.svc-card .txt p + p { margin-top: 12px; }
.svc-card .txt strong { color: var(--ink); font-weight: 700; }
.svc-card__img { margin-top: 24px; border-radius: var(--radius-m); overflow: hidden; }
.svc-card__img img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

.bullets { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 24px; margin-top: 20px; }
.bullets li {
  position: relative;
  padding-left: 20px;
  font-size: .94rem;
  color: var(--ink-soft);
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--brand);
  opacity: .8;
  transform: rotate(45deg);
}
.section--ink .bullets li { color: #c3cad2; }
.section--ink .bullets li::before { background: var(--gold); }

/* вакансия */
.vacancy {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: 40px;
}
.vacancy__top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between; }
.vacancy h2 { font-size: 1.7rem; letter-spacing: -.03em; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(168, 27, 35, .08);
  color: var(--brand);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.req {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
  border-top: 1px solid var(--line-soft);
}
.req__row { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.req__row .k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.req__row .v { margin-top: 5px; font-size: .97rem; font-weight: 600; }

/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: #cfd5db; padding: 66px 0 34px; margin-top: 0; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 46px; }
.footer .brand__logo { background: #fff; border-radius: 10px; padding: 5px; width: 48px; height: 54px; }
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: #8e97a1; }
.footer__desc { margin-top: 20px; font-size: .9rem; color: #98a1ab; max-width: 34ch; line-height: 1.6; }
.footer h4 {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7d8791;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer__links { display: grid; gap: 10px; font-size: .94rem; }
.footer__links a:hover { color: #fff; }
.footer__contacts { display: grid; gap: 10px; font-size: .94rem; }
.footer__contacts .tel { font-size: 1.16rem; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.footer__contacts a:hover { color: #fff; }
.footer__bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--ink-line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: #78828d;
}
.footer__note { display: flex; align-items: center; gap: 8px; }
.footer__note svg { width: 15px; height: 15px; color: var(--gold); flex: none; }

/* ---------- Анимация появления ---------- */
/* Анимация включается только если JS доступен (html.js) — контент никогда не пропадает */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .06s; }
[data-reveal][data-delay="2"] { transition-delay: .12s; }
[data-reveal][data-delay="3"] { transition-delay: .18s; }
[data-reveal][data-delay="4"] { transition-delay: .24s; }

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

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header__phone { margin-left: auto; }
  .burger { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { max-width: 560px; }
  .hero__img { aspect-ratio: 4 / 3.4; }
  .split, .about-teaser { grid-template-columns: 1fr; gap: 40px; }
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .card--feature { grid-column: span 2; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 34px; }
  .contact-grid { grid-template-columns: 1fr; }
  .objects { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer__top > .footer__brand { grid-column: span 2; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .section { padding: 68px 0; }
  .hero { padding-top: 34px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 44px; }
  .stats__item:nth-child(3) { border-left: none; }
  .stats__item:nth-child(3), .stats__item:nth-child(4) { border-top: 1px solid var(--line); }
  .stats__item:nth-child(3) { padding-left: 0; }
  .grid-services { grid-template-columns: 1fr; }
  .objects { grid-template-columns: repeat(2, 1fr); }
  .card--feature { grid-column: span 1; flex-direction: column; align-items: stretch; }
  .card--feature .card__img { width: 100%; min-height: 190px; }
  .hero__card { left: 0; bottom: 14px; padding: 13px 16px; }
  .svc-card { grid-template-columns: 1fr; gap: 12px; padding: 26px; }
  .svc-card__n { font-size: 1.5rem; }
  .req { grid-template-columns: 1fr; }
  .vacancy { padding: 26px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__top > .footer__brand { grid-column: span 1; }
  .header__phone span { display: none; }
  .header__phone { padding: 10px; border: 1px solid var(--line); border-radius: 999px; }
  .step { grid-template-columns: 40px 1fr; gap: 14px; }
  .contact-row .big { font-size: 1.25rem; }
  .cta-band { padding: 32px 22px; }
  .map-card { padding: 26px; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stats__item { padding-left: 0 !important; border-left: none !important; }
  .stats__item + .stats__item { border-top: 1px solid var(--line); }
}
