/* === /css/itcons99.css === */
/* itcons99 — базовые стили обновления 2026.
   Порядок: токены → шрифты → сброс → примитивы → блоки → адаптив.
   Примитивы (wrap, sec, btn, grid, head, arr, rail, card, tile) рассчитаны
   на переиспользование на остальных страницах при переверстке. */

/* ---------- токены ---------- */
:root {
  --red: #b41818;
  --red-dark: #951313;
  --dark: #222;
  --ink: #313131;
  --grey: #828282;
  --grey-2: #5f5f5f;
  --bg: #f0f3f7;
  --line: #e4e4e4;
  --edge: #eef0f3;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1210px;
  --gap: 30px;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0, 0, 0, .06);
  --shadow-up: 0 12px 30px rgba(0, 0, 0, .1);
}

/* ---------- шрифты ---------- */
@font-face {
  font-family: "Manrope"; font-display: swap; font-style: normal; font-weight: 300;
  src: url("/assets/new/fonts/Manrope-Light.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope"; font-display: swap; font-style: normal; font-weight: 400;
  src: url("/assets/new/fonts/Manrope-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope"; font-display: swap; font-style: normal; font-weight: 500;
  src: url("/assets/new/fonts/Manrope-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope"; font-display: swap; font-style: normal; font-weight: 600;
  src: url("/assets/new/fonts/Manrope-Semibold.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope"; font-display: swap; font-style: normal; font-weight: 700;
  src: url("/assets/new/fonts/Manrope-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope"; font-display: swap; font-style: normal; font-weight: 800;
  src: url("/assets/new/fonts/Manrope-ExtraBold.woff2") format("woff2");
}

/* ---------- сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, button, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- примитивы ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.sec { padding: 72px 0; }
.sec.grey { background: var(--bg); }

.title { font-size: 40px; line-height: 1.15; font-weight: 600; color: var(--dark); }
.title.sm { font-size: 36px; }
.muted { color: var(--grey); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 3px;
  background: var(--red); color: #fff; font-size: 14px; font-weight: 700;
  text-align: center; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--red-dark); }
.btn.white { background: #fff; color: var(--dark); }
.btn.white:hover { background: var(--bg); }
.btn.line { background: none; color: var(--red); border: 1.5px solid var(--red); }
.btn.line:hover { background: var(--red); color: #fff; }

.grid { display: grid; gap: var(--gap); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* шапка секции: заголовок — линия — ссылка — стрелки */
.head { display: flex; align-items: center; gap: 24px; margin-bottom: 34px; }
.head .line { flex: 1; height: 1px; background: var(--line); }
.head .more { font-size: 15px; font-weight: 600; color: var(--grey); white-space: nowrap; transition: color .2s; }
.head .more:hover { color: var(--red); }
.navs { display: flex; gap: 10px; }

.arr {
  width: 48px; height: 48px; border-radius: 50%; background: var(--bg);
  display: grid; place-items: center; color: var(--red);
  transition: background .2s, color .2s, opacity .2s;
}
.arr::before {
  content: ""; width: 10px; height: 10px;
  border: 2px solid currentColor; border-width: 2px 2px 0 0;
  transform: rotate(45deg); margin-left: -3px;
}
.arr.prev::before { transform: rotate(-135deg); margin: 0 -3px 0 0; }
.arr:hover { background: var(--red); color: #fff; }
.arr[disabled] { opacity: .35; cursor: default; }
.arr[disabled]:hover { background: var(--bg); color: var(--red); }
.sec.grey .arr { background: #fff; }
.sec.grey .arr:hover { background: var(--red); }

/* карусель: горизонтальный скролл со снапом, все карточки сразу в html */
.rail {
  display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none;
  padding: 4px 2px 8px;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - var(--gap) * (var(--n) - 1)) / var(--n));
}
.count { margin-top: 18px; font-size: 14px; color: var(--grey); }

.card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--edge); border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }

.tile {
  display: grid; place-items: center; padding: 18px; min-height: 104px;
  background: #fff; border: 1px solid var(--edge); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }

/* ---------- шапка ---------- */
.hdr-top { background: linear-gradient(#fff, #e9e9e9); }
.hdr-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; }
.logos { display: flex; align-items: center; gap: 10px; }
.logos img { height: 40px; width: auto; }
.hdr-contacts { display: flex; gap: 30px; }
.hdr-contacts small { display: block; font-size: 14px; font-weight: 500; color: #7f7f7f; }
.hdr-contacts a, .hdr-contacts span { font-size: 16px; font-weight: 500; color: #000; }
.hdr-contacts a:hover { color: var(--red); }
.soc { display: flex; gap: 10px; }
.soc img { width: 36px; height: 36px; }

.hdr-strip { display: none; background: var(--bg); }
.hdr-strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; padding-block: 12px; }
.hdr-strip small { display: block; font-size: 12px; color: var(--grey-2); }
.hdr-strip a { font-size: 13px; white-space: nowrap; color: var(--red); }
.hdr-slogan { display: none; padding: 10px 20px; text-align: center; font-size: 15px; }

/* нижняя тёмная полоса с меню */
.nav { background: var(--dark); color: #fff; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.menu { display: flex; gap: 30px; }
.menu li { position: relative; }
.menu a { display: block; padding: 32px 0; font-size: 15px; font-weight: 600; text-transform: uppercase; transition: color .2s; }
.menu a:hover { color: var(--red); }
.menu .has > a::after {
  content: ""; display: inline-block; vertical-align: middle; margin: -2px 0 0 7px;
  border: 4px solid transparent; border-top-color: currentColor;
}
.sub {
  position: absolute; left: -20px; top: 100%; z-index: 20; min-width: 270px;
  background: var(--dark); padding: 6px 0 14px; display: none;
}
.sub li { position: relative; }
.sub a { padding: 9px 20px; font-size: 13px; font-weight: 500; text-transform: none; }
.sub .sub { left: 100%; top: 0; padding-top: 0; }
.menu li:hover > .sub { display: block; }

.search { position: relative; flex: 0 1 331px; }
.search input {
  width: 100%; height: 44px; padding: 0 44px 0 20px; border: 0;
  background: #fff; color: var(--ink); font-size: 14px;
}
.search button { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; }
.search button::before {
  content: ""; position: absolute; inset: 0 4px 4px 0;
  border: 2px solid var(--grey); border-radius: 50%;
}
.search button::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 7px; height: 2px;
  background: var(--grey); transform: rotate(45deg);
}

.burger { display: none; position: fixed; right: 16px; top: 14px; z-index: 60; width: 34px; height: 26px; }
.burger span { position: absolute; left: 0; width: 100%; height: 4px; background: var(--dark); transition: transform .25s, opacity .2s, background .2s; }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 11px; }
.burger span:nth-child(3) { top: 22px; }
.burger.on span { background: #fff; }
.burger.on span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* ---------- первый экран ---------- */
.hero { position: relative; }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; position: relative; min-height: 600px;
  display: flex; align-items: center; padding-block: 40px;
  opacity: 0; visibility: hidden; transition: opacity .45s;
}
.slide.on { opacity: 1; visibility: visible; }
.slide picture { position: absolute; inset: 0; }
.slide picture img { width: 100%; height: 100%; object-fit: cover; }
.slide .wrap { position: relative; z-index: 1; width: 100%; }
.slide .wrap > * { max-width: 620px; }
.slide h2,
.slide .ban-four { font-size: 48px; font-weight: 700; line-height: 1.1; color: var(--red); margin-bottom: 16px; }
.slide p { font-size: 24px; line-height: 1.35; color: var(--dark); margin-bottom: 10px; }
.slide ul { display: grid; gap: 8px; margin-bottom: 10px; font-size: 18px; }
.slide li { position: relative; padding-left: 22px; }
.slide li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.slide .wrap img { margin-bottom: 15px; }
.slide .btn { margin-top: 24px; }
/* Контент слайда правят в админке, и там исторически стоят классы ban-*.
   Приводим их к тому же виду, что даёт вёрстка на тегах. */
.slide .ban-four { white-space: normal; }
.slide .ban-one { font-size: 26px; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.slide .ban-three { font-size: 29px; color: var(--red); margin-bottom: 5px; }
.slide .logo-brend { height: auto; }

.hero-arr {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .7);
  display: grid; place-items: center; color: var(--red); transition: background .2s, color .2s;
}
.hero-arr::before {
  content: ""; width: 11px; height: 11px; border: 2px solid currentColor;
  border-width: 2px 2px 0 0; transform: rotate(45deg); margin-left: -3px;
}
.hero-arr.prev { left: 24px; }
.hero-arr.prev::before { transform: rotate(-135deg); margin: 0 -3px 0 0; }
.hero-arr.next { right: 24px; }
.hero-arr:hover { background: var(--red); color: #fff; }

.dots { position: absolute; left: 0; right: 0; bottom: 58px; z-index: 2; display: flex; justify-content: center; gap: 12px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; background: #4a4a4a; opacity: .5; transition: opacity .2s, background .2s; }
.dots button[aria-current="true"] { background: var(--red); opacity: 1; }

/* ---------- плашки услуг ---------- */
.svc { position: relative; z-index: 3; margin-top: -40px; }
.svc a {
  position: relative; display: grid; align-content: space-between; justify-items: start; gap: 22px;
  padding: 34px 30px 30px; background: #fff; border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .07);
  transition: transform .2s, box-shadow .2s;
}
.svc img { justify-self: center; width: 104px; height: 104px; object-fit: contain; }
.svc b { font-size: 20px; font-weight: 500; line-height: 1.25; color: #333; }
.svc b::after {
  content: ""; display: block; width: 40px; height: 4px; margin-top: 18px;
  border-radius: 2px; background: var(--red); transition: width .25s;
}
.svc a::after {
  content: "→"; position: absolute; right: 22px; bottom: 20px;
  color: var(--red); font-size: 20px; opacity: .25; transition: opacity .25s, transform .25s;
}
.svc a:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0, 0, 0, .1); }
.svc a:hover b::after { width: 72px; }
.svc a:hover::after { opacity: 1; transform: translateX(3px); }

/* ---------- о компании ---------- */
.about .wrap { display: grid; grid-template-columns: 55% 1fr; gap: 40px; align-items: start; }
.about .title { margin-bottom: 24px; }
.about-text > p { margin-bottom: 28px; }
.about-text h3 { font-size: 20px; font-weight: 600; color: var(--dark); margin-bottom: 16px; }
.about-text ul { max-width: 620px; display: grid; gap: 14px; }
.about-text li { position: relative; padding-left: 26px; }
.about-text li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.about-pics {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    height: 500px;
    align-items: center;
}

.about-pics img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.about-pics img:first-child {
    grid-row: 1 / 3;
        width: 100%;
    height: auto;
}

/* ---------- цифры ---------- */
.nums { grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
.num b { display: block; font-size: 104px; font-weight: 300; line-height: 1; color: var(--ink); }
.num sup {
    font-size: 16px;
    font-weight: 600;
    color: var(--red);
    vertical-align: top;
    margin-left: 4px;
    padding-top: 8px;
    display: inline-block;
}
.num span { display: block; margin-top: 14px; max-width: 300px; font-size: 15px; color: var(--grey-2); }

/* ---------- программы 1С ---------- */
.prog { --n: 3; }
.prog-card { position: relative; margin-top: 42px; padding: 0 26px 24px; gap: 12px; }
.prog-card .box {
    display: block;
    margin: -42px 0 6px;
    background: #fff;
    width: 100px;
}
.prog-card .box img {
    max-height: 92px;
    width: auto;
}}
.prog-card .cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.prog-card .nm { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--dark); transition: color .2s; }
.prog-card .nm:hover { color: var(--red); }
.prog-card .ds { font-size: 14px; line-height: 1.5; color: var(--grey-2); flex: 1; }
.prog-card .tag {
  align-self: flex-start; padding: 5px 12px; border-radius: 20px;
  background: #faeeee; color: var(--red); font-size: 12px; font-weight: 600;
}
.prog-card .pr { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--edge); }
.prog-card .pr b { font-size: 20px; font-weight: 700; color: var(--dark); white-space: nowrap; }
.prog-card .pr .btn { min-height: 40px; padding: 0 18px; }
.prog-card .ft { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--grey); }
.prog-card .ft a:hover { color: var(--red); }
.prog-card .q {
  width: 22px; height: 22px; border-radius: 50%; background: var(--bg);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--grey);
}

/* ---------- кейсы ---------- */
.cases { --n: 3; }
.case-card { overflow: hidden; }
.case-card img { width: 100%; aspect-ratio: 620 / 376; object-fit: cover; }
.case-card .body { display: flex; flex-direction: column; gap: 16px; flex: 1; padding: 22px 26px 18px; }
.case-card p { flex: 1; font-size: 16px; color: var(--ink); }
.case-card .more { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--edge); font-size: 14px; color: var(--grey); transition: color .2s; }
.case-card:hover .more { color: var(--red); }
.case-card .more span { transition: transform .2s; }
.case-card:hover .more span { transform: translateX(3px); }

/* ---------- сертификаты ---------- */
.certs .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.certs .title { margin-bottom: 20px; }
.certs p { margin-bottom: 28px; }
.certs-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.certs-grid img { max-height: 60px; width: auto; }

/* ---------- отзывы ---------- */
.revs .wrap { display: grid; grid-template-columns: 370px 1fr; gap: 40px; align-items: start; }
.revs-side { position: sticky; top: 24px; display: grid; gap: 24px; justify-items: start; }
.revs-side iframe { width: 150px; height: 50px; border: 0; }
.revs-widget { height: 640px; border: 1px solid #e6e6e6; border-radius: 8px; overflow: hidden; background: #fff; }
.revs-widget iframe { width: 100%; height: 100%; border: 0; }

/* ---------- благодарственные письма ---------- */
.letters { --n: 4; }
.letters .head { align-items: flex-start; }
.letters .head p { margin-top: 6px; font-size: 15px; color: var(--grey); }
.letters .head .tools { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.letters .head .count { margin: 0; }
.letter { padding: 14px; text-align: center; }
.letter .paper { position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--bg); }
.letter img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.letter .paper::after {
  content: "⤢"; position: absolute; right: 10px; bottom: 10px;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font-size: 17px;
  opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s;
}
.letter:hover .paper::after { opacity: 1; transform: scale(1); }
.letter b { display: block; padding-top: 14px; font-size: 14px; font-weight: 600; color: var(--dark); }

/* просмотр письма */
.lb { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; gap: 20px; padding: 40px 20px; background: rgba(20, 20, 20, .92); }
.lb[hidden] { display: none; }
.lb figure { max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb img { max-height: calc(100vh - 140px); width: auto; border-radius: 4px; background: #fff; }
.lb figcaption { color: #fff; font-size: 15px; font-weight: 600; }
.lb-btn, .lb-x { flex: none; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; display: grid; place-items: center; font-size: 26px; line-height: 1; transition: background .2s; }
.lb-btn:hover, .lb-x:hover { background: var(--red); }
.lb-x { position: absolute; right: 20px; top: 20px; font-size: 22px; }

/* ---------- давайте обсудим ---------- */
.cta { padding: 100px 0; color: #fff; background: #7a1111 url("/assets/img-redesign/have-question-bg.webp") center / cover no-repeat; }
.cta .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.cta h2 { font-size: 44px; line-height: 1.1; font-weight: 700; margin-bottom: 30px; }
.cta-side { display: grid; gap: 20px; justify-items: end; }
.cta-side a { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; }
.cta-side a.mail { font-size: 16px; font-weight: 400; }
.cta-side img {
    width: 28px;
    height: auto;
}


/* ---------- подвал ---------- */
.ftr { background: var(--dark); color: #fff; padding-top: 80px; }
.ftr-cols {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1.1fr 1fr;
    gap: 40px;
}
.ftr h3 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--grey);
}
.ftr-logo {
    width: 200px;
    margin-bottom: 18px;
    aspect-ratio: auto;
    height: auto;
}
.ftr-slogan { font-size: 15px; margin-bottom: 20px; }
.ftr-badge { width: 150px; height: 50px; border: 0; margin-bottom: 20px; }
.ftr-soc { display: flex; gap: 12px; }
.ftr-soc img { width: 40px; height: 40px; }
.ftr-menu, .ftr-docs {
    display: grid;
    gap: 10px;
}
.ftr-menu a {
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    transition: color .2s;
}
.ftr-docs a { font-size: 14px; color: #d4d4d4; transition: color .2s; }
.ftr a:hover { color: var(--red); }
.ftr-docs .btn { margin-top: 10px; }
.ftr-c { display: grid; gap: 12px; }
.ftr-c > div { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: center; }
.ftr-c small {
    display: block;
    font-size: 12.5px;
    color: var(--grey);
}
.ftr-c a, .ftr-c p {
    font-size: 14px;
}ul.ftr-docs {
    margin-bottom: 30px;
}
.ftr-c img {
    width: 22px;
    height: 22px;
}
.ftr-bot { margin-top: 60px; padding: 24px 0; border-top: 1px solid #333; }
.ftr-bot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; font-size: 14px; color: #a9a9a9; }
.ftr-bot .malevich { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ftr-bot .malevich img {
    width: 82px;
    height: auto;
}

/* ---------- попап «Заказать звонок» ----------
   Разметка и стили перенесены с сайта как есть: тот же чанк Old_form,
   те же классы popup-form__*, правила скопированы из style.css/newStyle.css.
   Ничего не переписываем — форма должна остаться один в один. */
.popup-form {
  background: rgba(34, 34, 34, 0.7);
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
  z-index: 15;
  display: none;
}
body.popup--active .popup-form { display: flex; }
/* на сайте попап наследует от body цвет #000 и line-height 25.6px (160% от 16px),
   а у нас база другая — задаём те же значения на контейнере попапа */
.popup-form { color: #000; line-height: 25.6px; }
.popup-form .container { max-width: 1210px; margin: 0 auto; padding: 0 20px; width: 100%; }
/* глобальное правило newStyle.css для текстовых полей — переносим в границах попапа */
.popup-form input[type="text"] { display: block; padding: 8px 30px 6px; box-sizing: border-box; width: 100%; }
.popup-form__area {
  background: url(/assets/img-redesign/have-question-bg.webp);
  background-size: cover;
  padding: 45px 25px;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.popup-form__close {
  cursor: pointer;
  position: absolute;
  font-size: 28px;
  top: 15px;
  right: 15px;
  color: rgba(255, 255, 255, 0.5);
}
.popup-form__info { max-width: 330px; }
.popup-form__title {
  color: rgb(255, 255, 255);
  font-size: 54px;
  font-weight: 900;
  line-height: 110%;
  text-align: left;
}
.popup-form__subtitle {
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  text-align: left;
}
.popup-form__form { max-width: 450px; width: 100%; }
.popup-form__field input {
  box-sizing: border-box;
  border: 1px solid rgb(217, 232, 232);
  border-radius: 3px;
  background: rgb(255, 255, 255);
  width: 100%;
  padding: 10px 20px;
  color: rgb(148, 147, 147);
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  text-align: left;
  margin-bottom: 20px;
}
.popup-form__field textarea {
  box-sizing: border-box;
  border: 1px solid rgb(217, 232, 232);
  border-radius: 3px;
  background: rgb(255, 255, 255);
  width: 100%;
  padding: 8px 30px 6px;
  color: rgb(148, 147, 147);
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  text-align: left;
  margin-bottom: 20px;
}
.popup-form .popup-form__field textarea.form-control {
  padding: 10px 25px;
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin-bottom: 10px;
}
.popup-form__checkbox-label {
  color: rgb(255, 255, 255);
  font-size: 12px;
  font-weight: 400;
  line-height: 150%;
  text-align: left;
  display: flex;
  gap: 5px;
  align-items: flex-start;
}
.popup-form__checkbox-label a { color: rgb(255, 255, 255); text-decoration: underline; }
.popup-form__checkbox-label a:hover { text-decoration: none; }
.popup-form__sender { display: flex; gap: 5px; flex-wrap: wrap; }
.popup-form__captcha-wrapper { position: relative; }
button.popup-form__submit {
  /* на сайте у кнопки нет своего фона — остаётся системный стиль кнопки,
     здесь возвращаем его явно, потому что наш сброс его снимает */
  background: ButtonFace;
  cursor: pointer;
  border: none;
  width: 100%;
  padding: 30px 35px;
  color: rgb(34, 34, 34);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}
button.popup-form__submit:hover { background: #aa2a1c; color: #fff; border: none; }

/* тултип с ошибкой капчи — тоже как на сайте */
.custom-tooltip-error {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 10px;
  background-color: #ffffff;
  color: #333333;
  font-family: sans-serif;
  font-size: 13px;
  padding: 8px 12px 8px 36px;
  border: 1px solid #c8c8c8;
  border-radius: 3px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  z-index: 1000;
}
.custom-tooltip-error::after {
  content: ""; position: absolute; top: 100%; left: 15px;
  border-width: 6px; border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}
.custom-tooltip-error::before {
  content: ""; position: absolute; top: 100%; left: 14px;
  border-width: 7px; border-style: solid;
  border-color: #c8c8c8 transparent transparent transparent;
  z-index: -1;
}

/* ---------- cookie ---------- */
.cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 70; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 18px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-up); font-size: 14px; }
.cookie[hidden] { display: none; }
.cookie p { flex: 1; min-width: 260px; color: var(--grey-2); }
.cookie a { color: var(--red); }

/* ---------- адаптив ---------- */
@media screen and (max-width: 1060px) {
  .popup-form__form { max-width: 300px; }
}

@media screen and (max-width: 768px) {
  .popup-form__area { flex-direction: column; gap: 20px; align-items: center; }
  .popup-form__form { max-width: 298px; }
  .popup-form__sender { flex-direction: column; }
}

/* те же брейкпоинты, что у .container и body на сайте */
@media screen and (max-width: 691px) {
  .popup-form .container { padding: 0 10px; }
}

@media screen and (max-width: 600px) {
  .popup-form { font-size: 12px; line-height: 19.2px; }
}

@media (max-width: 1200px) {
  .hdr-contacts { gap: 20px; }
  .menu { gap: 20px; }
  .search { flex-basis: 240px; }
}

@media (max-width: 991px) {
  .hdr-top .wrap { flex-direction: column; gap: 14px; padding-block: 18px; }
  .hdr-contacts, .soc, .hdr-top .btn { display: none; }
  .hdr-slogan, .hdr-strip { display: block; }
  .burger { display: block; }

  .nav { position: fixed; left: 0; right: 0; top: 0; z-index: 50; max-height: 100vh; overflow-y: auto; transform: translateY(-100%); transition: transform .3s; }
  .nav.on { transform: none; }
  .nav .wrap { flex-direction: column; align-items: stretch; gap: 18px; padding-block: 20px 28px; }
  .menu { flex-direction: column; gap: 0; }
  .menu a { padding: 12px 0; }
  .menu .has > a::after { float: right; margin-top: 8px; transition: transform .2s; }
  .menu .has.open > a::after { transform: rotate(180deg); }
  .sub { position: static; min-width: 0; padding: 0 0 6px 16px; }
  .menu li:hover > .sub { display: none; }
  .menu li.open > .sub { display: block; }
  .search { flex: none; }
  .nav .btn { align-self: flex-start; }

  .slide { min-height: 520px; padding-block: 40px 76px; }
  .slide h2,
  .slide .ban-four { font-size: 40px; }
  .slide p { font-size: 20px; }
  .dots { bottom: 18px; }
  .svc { margin-top: 40px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .about .wrap { grid-template-columns: 1fr; }
  .about-pics { grid-template-columns: repeat(3, 1fr); }
  .about-pics img:first-child {
        grid-column: auto;
        grid-row: 1;
    }
  .nums { grid-template-columns: repeat(2, 1fr); }
  .num b { font-size: 80px; }
  .certs .wrap, .revs .wrap, .cta .wrap { grid-template-columns: 1fr; }
  .revs-side { position: static; }
  .revs-widget { height: 560px; }
  .cta-side { justify-items: start; }
  .prog, .cases { --n: 2; }
  .letters { --n: 3; }
  .ftr-cols { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .sec { padding: 52px 0; }
  .title { font-size: 30px; }
  .title.sm { font-size: 26px; }
  .head { flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
  .head .line { display: none; }
  .head .more { order: 3; }
  .navs { margin-left: auto; }
  .slide { min-height: 460px; }
  .slide h2,
  .slide .ban-four { font-size: 32px; }
  .slide .logo-brend { width: 92px !important; }
  .slide p { font-size: 18px; }
  .slide ul { font-size: 16px; }
  .hero-arr { width: 40px; height: 40px; top: auto; bottom: 8px; transform: none; }
  .hero-arr.prev { left: 10px; }
  .hero-arr.next { right: 10px; }
  .dots { bottom: 22px; }
  .g4, .g3, .g2 { grid-template-columns: 1fr; }
  .about-pics {
        grid-template-columns: repeat(3, 1fr);
        height: auto;
        grid-template-rows: repeat(1, 1fr);
    }
  .certs-grid { grid-template-columns: repeat(3, 1fr); }
  .cta { padding: 60px 0; }
  .cta h2 { font-size: 30px; }
  .letters { --n: 2; }
  .ftr-cols { grid-template-columns: 1fr; gap: 34px; }
  .ftr-bot .malevich { margin-left: 0; }
}

@media (max-width: 640px) {
  .prog, .cases { --n: 1.15; }
  .letters { --n: 1.6; }
  .nums { grid-template-columns: 1fr; gap: 26px; }
  .num b { font-size: 64px; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .about-pics { grid-template-columns: 1fr; }
  .slide { min-height: 420px; }
  .slide h2 { font-size: 28px; }
  .revs-widget { height: 480px; }
  .lb { gap: 8px; padding: 70px 10px 20px; }
  .lb-btn { width: 40px; height: 40px; }
}

/* === /assets/components/ajaxform/css/default.css === */
@import url('/assets/components/ajaxform/css/lib/jquery.jgrowl.min.css');
.af-message-success { background-color: green !important; }
.af-message-error { background-color: brown !important; }
.af-message-info { background-color: black !important; }
.ajax_form.af_example {
    width: 100%;
}
.ajax_form.af_example .controls input,
.ajax_form.af_example .controls textarea {
    width: 100%;
}
.ajax_form .error {
    color: brown;
}
@media screen and (min-width: 320px) {
    .ajax_form.af_example .controls button[type="submit"] {
        float: right;
    }
}
@media screen and (max-width: 320px) {
    .ajax_form.af_example .controls button {
        width: 100%;
        margin-top: 5px;
    }
}
