/* LMC Agency — lmcagency.com
   Статическая версия сайта, перенесённая с Тильды 1:1 (дизайн и тексты без изменений).
   Брейкпоинты как в оригинале: 1200+ / 960–1199 / 640–959 / 480–639 / до 479. */

/* ---------- Шрифты: Cera Pro, только используемые начертания ---------- */
@font-face { font-family: "Cera Pro"; src: url("../fonts/cerapro-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cera Pro"; src: url("../fonts/cerapro-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cera Pro"; src: url("../fonts/cerapro-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --font: "Cera Pro", Arial, sans-serif;
  --font-alt: Arial, sans-serif;   /* в Тильде у заголовков «Клиенты» и меню стоял шрифт без файла — браузер рисовал Arial */
  --red: #dd073a;
  --ink: #333;
  --line: #eee;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.page {
  container-type: inline-size;   /* для масштабируемых блоков (единицы cqw) */
  padding-top: 30px;             /* в оригинале над первым экраном 30px отступа от блока шапки */
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100000000;
  padding: 10px 16px; background: #000; color: #fff; text-decoration: none; font: 500 16px/1.2 var(--font);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* Плавное появление страницы (как в оригинале, только на десктопе); класс is-ready ставит скрипт в <head> */
@media (min-width: 980px) {
  .js body { transition: opacity .5s ease-in-out; }
  .js:not(.is-ready) body { opacity: 0; }
}

/* ---------- Абсолютные блоки ----------
   Каждый блок рисуется на «холсте» шириной брейкпоинта (1200/960/640/480/320).
   --u = 1px — холст по центру страницы (режим «сетка»);
   --u = ширина страницы / ширина холста — холст растягивается на всю ширину (режим «окно»). */
.za {
  --bp: 1200; --half: 600; --u: 1px;
  position: relative;
  overflow: hidden;
  height: calc(var(--H) * var(--u));
}
@media (max-width: 1199px) { .za { --bp: 960; --half: 480; } }
@media (max-width: 959px)  { .za { --bp: 640; --half: 320; } }
@media (max-width: 639px)  { .za { --bp: 480; --half: 240; } }
@media (max-width: 479px)  { .za { --bp: 320; --half: 160; } }

.about, .stats, .contacts { --u: calc(100vw / var(--bp)); }
@media (max-width: 639px) { .hero { --u: calc(100vw / var(--bp)); } }
@supports (width: 1cqw) {
  .about, .stats, .contacts { --u: calc(100cqw / var(--bp)); }
  @media (max-width: 639px) { .hero { --u: calc(100cqw / var(--bp)); } }
}

.za__group { position: absolute; inset: 0; margin: 0; font: inherit; }

.z {
  position: absolute;
  margin: 0;
  top: calc(var(--t) * var(--u));
  left: calc(50% + (var(--l) - var(--half)) * var(--u));
  width: calc(var(--w) * var(--u));
}
.zt {                                   /* текст: центрируется по вертикали в заданной высоте, как в Тильде */
  display: flex; flex-direction: column; justify-content: center;
  min-height: calc(var(--mh, 0) * var(--u));
  font-size: calc(var(--fs) * var(--u));
  letter-spacing: calc(var(--ls, 0) * var(--u));
  word-break: normal;
}
.zt a { text-decoration: none; }
.zs { height: calc(var(--sh) * var(--u)); }   /* линии-плашки */
.zi, .zv { height: auto; }
.zv { overflow: visible; }

/* ---------- Первый экран ---------- */
.hero { height: max(100vh, calc(var(--H) * var(--u))); }
@media (max-width: 1199px) { .hero { height: calc(var(--H) * var(--u)); } }

/* ---------- Шапка, появляется после прокрутки на 400px ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 990;
  background: #fff;
  transform: translateY(-100%);
  transition: transform .15s;
}
.topbar.is-shown, .topbar--static { transform: none; }
.topbar__logo img { width: 100%; height: auto; }

/* ---------- Цифры ---------- */
.stats__cap--clients a { text-decoration: underline; }

/* ---------- Контакты ---------- */
.contacts__office a, .contacts__hotline a { text-decoration: none; }

/* ---------- Кнопка меню и выезжающая панель ---------- */
.burger {
  position: fixed; top: 15px; right: 15px; z-index: 99998;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--red);
  cursor: pointer;
}
.burger__lines { position: relative; width: 22px; height: 14px; }
.burger__lines span { position: absolute; left: 0; width: 100%; height: 2px; background: #fff; }
.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: 6px; }
.burger__lines span:nth-child(3) { top: 12px; }

.menu-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease-in-out, visibility 0s .3s;
}
.menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 999999;
  width: 100%; max-width: 260px;
  overflow-y: auto;
  background: #b5b1b1;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .3s ease-in-out, visibility 0s .3s;
}
.is-menu-open .menu-overlay { opacity: 1; visibility: visible; transition-delay: 0s; }
.is-menu-open .menu { transform: none; visibility: visible; transition-delay: 0s; }
.is-menu-open, .is-popup-open { overflow: hidden; }

.menu__close {
  position: absolute; top: 5px; right: 5px;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  border: 0; background: #b5b1b1; cursor: pointer;
}
.menu__close span { position: relative; display: block; width: 24px; height: 20px; }
.menu__close span::before, .menu__close span::after {
  content: ""; position: absolute; left: 0; top: 8px; width: 100%; height: 2px; background: #fff;
}
.menu__close span::before { transform: rotate(45deg); }
.menu__close span::after { transform: rotate(-45deg); }
.menu__list { margin: 0; padding: 48px 40px 38px; list-style: none; }
.menu__list a {
  display: inline-block; margin-bottom: 15px;
  font: 400 24px/normal var(--font-alt); color: #fff; text-decoration: none;
}
.menu__list li:last-child a { margin-bottom: 0; }
@media (max-width: 640px) { .menu__list { padding: 42px 25px 25px; } }

/* ---------- Услуги ---------- */
.services { padding: 45px 0 60px; }
.services__inner {
  display: grid;
  grid-template-columns: 560px 560px;
  grid-template-areas: "list title";
  column-gap: 40px;
  justify-content: center;
  align-items: start;
}
.services__title {
  grid-area: title;
  margin: 0;
  font: 700 92px/1.23 var(--font);
  text-align: center;
}
.acc { grid-area: list; border-bottom: 1px solid var(--line); }
@media (max-width: 1199px) {
  .services__inner { display: block; max-width: 960px; margin: 0 auto; }
  .services__title { line-height: 1.17; margin-bottom: 45px; padding: 0 20px; }
  .acc { width: 460px; margin: 0 10px; }
}
@media (max-width: 960px) {
  .services__inner { max-width: 640px; }
  .acc { width: auto; margin: 0 20px 45px; }   /* +45px — пустая вторая колонка в оригинале */
}

.acc__item { border-top: 1px solid var(--line); }
.acc__head { margin: 0; font: inherit; }
.acc__btn {
  position: relative; display: block; width: 100%;
  padding: 27px 50px 27px 0;
  border: 0; background: none; cursor: pointer; text-align: left;
  font: 400 28px/1.35 var(--font); color: var(--ink);
}
.acc__icon {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  fill: none; stroke: var(--ink); stroke-width: 2px;
  transition: stroke .2s ease-in-out;
}
.acc__lines { transform-origin: center; transition: transform .3s ease-in-out; }
.acc__btn:focus-visible .acc__icon { stroke: var(--red); }
@media (hover: hover) { .acc__btn:hover .acc__icon { stroke: var(--red); } }
.acc__btn[aria-expanded="true"] .acc__lines { transform: rotate(-45deg); }

.acc__panel {
  display: grid; grid-template-rows: 1fr;
}
.js .acc__panel {
  grid-template-rows: 0fr; opacity: 0; visibility: hidden;
  transition: grid-template-rows .3s ease-in-out, opacity .3s ease-in-out, visibility 0s .3s;
}
.js .acc__item.is-open .acc__panel { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition-delay: 0s; }
.acc__inner { overflow: hidden; }
.acc__text { padding-bottom: 40px; font: 400 18px/1.55 var(--font); color: var(--ink); }
.acc__text ul { margin: 0 0 10px; padding-left: 20px; }
.link { text-decoration: none; border-bottom: 2px solid currentColor; }
.link--red { color: var(--red); }
.link--blue { color: #0910f6; }
@media (max-width: 1200px) {
  .acc__btn { font-size: 22px; }
  .acc__text { font-size: 16px; }
}
@media (min-width: 480px) { .acc__btn { font-size: 28px; } }
@media (max-width: 640px) {
  .acc__btn { padding-top: 15px; padding-bottom: 14px; }
  .acc__text { padding-bottom: 25px; font-size: 14px; line-height: 1.45; }
}
@media (max-width: 479px) { .acc__btn { font-size: 20px; } }

/* ---------- Клиенты ---------- */
.clients { padding-top: 45px; }
.clients__head { padding: 0 20px; text-align: center; }
.clients__title { margin: 0 0 40px; font: 600 72px/1.23 var(--font-alt); }
.clients__descr { max-width: 560px; margin: 0 auto 105px; font: 400 24px/1.5 var(--font-alt); }
@media (max-width: 1200px) { .clients__descr { font-size: 22px; } }
@media (max-width: 960px) {
  .clients__title { margin-bottom: 20px; }
  .clients__descr { margin-bottom: 45px; }
}
@media (max-width: 640px) { .clients__descr { font-size: 20px; line-height: 1.4; } }

.logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  max-width: 1200px; margin: 0 auto; padding: 0;
  list-style: none;
}
.logos li { display: flex; align-items: center; width: 16.666%; padding: 20px; }
.logos--3 li { width: 33.333%; }
.logos--5 li { width: 20%; }
.logos img {
  width: 100%; max-width: 100px; height: auto; margin: 0 auto;
  filter: grayscale(100%);
}
.logos img:hover { filter: none; }
@media (max-width: 1200px) {
  .logos { max-width: 960px; }
  .logos li { padding: 10px; }
}
@media (max-width: 960px) {
  .logos { max-width: 640px; }
  .logos--5 li, .logos--6 li { width: 33.333%; }
}
@media (max-width: 640px) { .logos { padding: 0 20px; } }
@media (max-width: 440px) { .logos li, .logos--3 li, .logos--5 li { width: 50%; } }

.divider { width: 160px; height: 1px; margin: 36px auto; border: 0; background: #000; }
@media (max-width: 1200px) { .divider { width: 140px; } }

/* ---------- Заголовок раздела с красной чертой, как «О нас ___» и «Контакты ___» ---------- */
.sec-title {
  display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: 32px;
  margin: 0;
  font: 700 clamp(48px, 15.3vw, 90px)/1.1 var(--font);
  color: #000;
}
.sec-title::after { content: ""; width: 112px; height: 4px; margin-bottom: .24em; background: var(--red); }

/* Хлебные крошки: Главная / Новости */
.crumbs ol { display: flex; margin: 0; padding: 0; list-style: none; font: 500 15px/1.5 var(--font); color: #a9a5a5; }
.crumbs li { flex: none; white-space: nowrap; }
.crumbs li:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: #d4d1d1; }
.crumbs a { color: inherit; text-decoration: none; transition: color .2s ease-in-out; }
.crumbs a:hover { color: var(--red); }

/* Дата — красная подпись с чертой, как «Основано в 2008 году» */
.news-date { margin: 0 0 24px; }
.news-date time { display: inline-block; border-bottom: 4px solid var(--red); font: 500 15px/2 var(--font); color: var(--red); }

/* ---------- Новости: блок на главной, раздел /news/, «другие новости» ---------- */
.news { padding: 110px 0 20px; }
.news__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.news__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 64px; }
.news__all {
  margin-bottom: 14px;
  font: 500 18px/1.4 var(--font); color: var(--red); text-decoration: none;
  border-bottom: 2px solid currentColor;
}
.news__all span { display: inline-block; transition: transform .3s ease-in-out; }
.news__all:hover span { transform: translateX(4px); }
.news__page-title { margin-bottom: 64px; }
.news--page { padding-top: 100px; }
.news--page .crumbs { margin-bottom: 36px; }
.news__list { display: grid; row-gap: 80px; }
.news__empty { font: 400 18px/1.55 var(--font); color: #a9a5a5; }

.news-card { display: grid; grid-template-columns: 560px 1fr; column-gap: 40px; align-items: center; }
.news-card__media, .news-tile__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #f3f3f3; }
.news-card__media img, .news-tile__media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.19, 1, .22, 1);
}
.news-card__title { margin: 0 0 20px; font: 700 31px/1.21 var(--font); }
.news-card__lead { margin: 0 0 28px; font: 400 18px/1.55 var(--font); color: var(--ink); }
.news-card__more { font: 500 18px/1.4 var(--font); }
.news-card__title a, .news-tile__title a { color: #000; text-decoration: none; transition: color .2s ease-in-out; }

.news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 40px; }
.news-tile__media { margin-bottom: 24px; }
.news-tile .news-date { margin-bottom: 16px; }
.news-tile__title { margin: 0; font: 700 22px/1.27 var(--font); }

@media (hover: hover) {
  .news-card:hover .news-card__media img, .news-tile:hover .news-tile__media img { transform: scale(1.04); }
  .news-card__title a:hover, .news-tile__title a:hover { color: var(--red); }
}
@media (max-width: 1199px) {
  .news-card { grid-template-columns: 1fr 1fr; }
  .news-card__title { font-size: 26px; }
}
@media (max-width: 960px) {
  .news { padding-top: 80px; }
  .news__inner { max-width: 640px; }   /* та же сетка, что у услуг и клиентов */
  .news__head { margin-bottom: 40px; }
  .news__page-title { margin-bottom: 40px; }
  .news-card { grid-template-columns: 1fr; row-gap: 28px; }
  .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
  .news-tile__title { font-size: 19px; }
}
@media (max-width: 640px) {
  .news-card__title { font-size: 22px; }
  .news-card__lead { font-size: 16px; }
  .news-card__more, .news__all { font-size: 16px; }
  .news__grid { grid-template-columns: 1fr; }
}

/* ---------- Страница новости ---------- */
.article { padding: 100px 0 30px; }
.article__inner { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.article__head .crumbs { margin-bottom: 40px; }
.article__title { margin: 0 0 28px; font: 700 52px/1.12 var(--font); color: #000; }
.article__lead { margin: 0; font: 500 24px/1.42 var(--font); color: var(--ink); }
.article__photo { max-width: 900px; margin: 56px auto; padding: 0 20px; }
.article__photo img { width: 100%; height: auto; }
.article__body { font: 400 18px/1.65 var(--font); color: var(--ink); }
.article__body p { margin: 0 0 1.2em; }
.article__body strong { font-weight: 700; color: #000; }
.article__body a { color: var(--red); text-decoration: none; border-bottom: 2px solid currentColor; }
.article__body h2 {
  display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: 20px;
  margin: 2.2em 0 .9em;
  font: 700 31px/1.21 var(--font); color: #000;
}
.article__body h2::after { content: ""; width: 56px; height: 4px; margin-bottom: .3em; background: var(--red); }
.quote { margin: 2.2em 0; padding: 4px 0 4px 32px; border-left: 4px solid var(--red); }
.quote p { margin: 0 0 14px; font: 500 22px/1.5 var(--font); color: #000; }
.quote footer { font: 500 15px/1.5 var(--font); color: #a9a5a5; }
.article__contact { margin-top: 1.8em; }
.article__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line);
}
.article__back { display: inline-flex; gap: 10px; font: 500 15px/1.4 var(--font); color: var(--red); text-decoration: none; }
.article__back:hover { text-decoration: underline; text-underline-offset: 4px; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font: 500 15px/1.4 var(--font); }
.share__label { color: #a9a5a5; }
.share__link {
  padding: 0; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer;
  font: inherit; color: #000; text-decoration: none; transition: color .2s, border-color .2s;
}
.share__link:hover { color: var(--red); border-bottom-color: currentColor; }
.share__copy.is-done { color: var(--red); }

.news--more { padding: 90px 0 0; }
.news__more-title { margin: 0 0 40px; font: 700 31px/1.21 var(--font); color: #000; }

@media (max-width: 960px) {
  .article { padding-top: 90px; }
  .article__title { font-size: 38px; }
  .article__lead { font-size: 21px; }
}
@media (max-width: 640px) {
  .article__head .crumbs { margin-bottom: 28px; }
  .article__title { font-size: 28px; line-height: 1.18; }
  .article__lead { font-size: 18px; }
  .article__photo { margin: 36px auto; padding: 0; }
  .article__body { font-size: 16px; line-height: 1.6; }
  .article__body h2 { font-size: 24px; }
  .quote { padding-left: 20px; }
  .quote p { font-size: 18px; }
  .news__more-title { font-size: 24px; }
}

/* ---------- Политика обработки персональных данных (/pk/) ---------- */
.doc { padding: 100px 0 40px; }
.doc__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.doc__head { max-width: 920px; margin-bottom: 72px; }
.doc__head .crumbs { margin-bottom: 40px; }
.doc__title { margin: 0; font: 700 44px/1.15 var(--font); color: #000; }
.doc__title::after { content: ""; display: block; width: 112px; height: 4px; margin-top: 32px; background: var(--red); }
.doc__layout { display: grid; grid-template-columns: 300px minmax(0, 760px); column-gap: 80px; align-items: start; }
.doc__toc { position: sticky; top: 110px; }
.doc__toc-title { margin: 0 0 16px; font: 500 13px/1.4 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #a9a5a5; }
.doc__toc ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.doc__toc a {
  display: block; margin-left: -2px; padding: 8px 0 8px 18px;
  border-left: 2px solid transparent;
  font: 500 15px/1.35 var(--font); color: var(--ink); text-decoration: none;
  transition: color .2s, border-color .2s;
}
.doc__toc a:hover, .doc__toc a.is-active { color: var(--red); border-left-color: var(--red); }
.doc__text { font: 400 17px/1.65 var(--font); color: var(--ink); }
.doc__text h2 { scroll-margin-top: 100px; margin: 64px 0 20px; font: 700 26px/1.25 var(--font); color: #000; }
.doc__text h2:first-child { margin-top: 0; }
.doc__text p { margin: 0 0 .7em; }
.doc__text strong { font-weight: 700; color: #000; }
.doc__text ul, .doc__text ol { margin: 0 0 .9em; padding-left: 22px; }
.doc__text li { margin: .3em 0; padding-left: 4px; }
.doc__text li::marker { color: var(--red); }
@media (max-width: 1199px) { .doc__layout { grid-template-columns: 240px minmax(0, 1fr); column-gap: 48px; } }
@media (max-width: 960px) {
  .doc { padding-top: 90px; }
  .doc__title { font-size: 34px; }
  .doc__head { margin-bottom: 48px; }
  .doc__layout { display: block; }
  .doc__toc { position: static; margin-bottom: 48px; padding: 24px 24px 16px; background: #f6f5f5; }
  .doc__toc ol { border-left: 0; }
  .doc__toc a { margin-left: 0; padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .doc__head .crumbs { margin-bottom: 28px; }
  .doc__title { font-size: 26px; line-height: 1.2; }
  .doc__title::after { margin-top: 24px; }
  .doc__text { font-size: 15px; line-height: 1.6; }
  .doc__text h2 { margin-top: 48px; font-size: 21px; }
}

/* ---------- 404 ---------- */
.notfound {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 70vh; max-width: 1200px; margin: 0 auto; padding: 120px 20px;
}
.notfound__code { margin: 0; font: 700 clamp(120px, 30vw, 218px)/.78 var(--font); letter-spacing: -4px; color: #f3f3f3; }
.notfound__title { margin: 24px 0 16px; font: 700 54px/1 var(--font); color: var(--red); }
.notfound__text { margin: 0 0 28px; font: 400 18px/1.55 var(--font); color: var(--ink); }
.notfound__link { align-self: flex-start; font: 500 18px/1.4 var(--font); }
@media (max-width: 640px) { .notfound__title { font-size: 37px; } }

/* ---------- Окно «Каналы и покрытие» ---------- */
.popup {
  position: fixed; inset: 0; z-index: 10000001;
  display: none; padding: 0 20px; overflow-y: auto;
  background: rgba(0, 0, 0, .6);
  opacity: 0; transition: opacity .3s ease-in-out;
  cursor: pointer;
}
.popup.is-open { display: block; }
.popup.is-shown { opacity: 1; }
.popup__box {
  position: absolute; top: 50%; left: 20px; right: 20px;
  max-width: 860px; margin: 0 auto; padding-bottom: 16px;   /* место под точки слайдера в оригинале */
  cursor: default;
  transform: translateY(-30%) scale(.9);
  transition: transform .3s ease-in-out;
}
.popup.is-shown .popup__box { transform: translateY(-50%); }
.popup__img { width: 100%; height: auto; aspect-ratio: 860 / 560; object-fit: cover; }
.popup__close {
  position: fixed; top: 10px; right: 10px; z-index: 9;
  width: 43px; height: 43px; padding: 10px;
  border: 0; background: none; cursor: pointer;
  transition: opacity .3s ease-in-out;
}
.popup__close:hover { opacity: .7; }
@media (max-width: 1200px) { .popup__box { max-width: 700px; } }
@media (max-width: 960px) {
  .popup { padding: 0; }
  .popup__box { left: 0; right: 0; max-width: none; }
}

/* ---------- Появление элементов при прокрутке ---------- */
.js .fx { opacity: 0; transition: opacity 1s cubic-bezier(.19, 1, .22, 1) var(--delay, 0s); }
.js .fx-down { opacity: 0; transform: translateY(-100px); transition: opacity 1s cubic-bezier(.19, 1, .22, 1), transform 1s cubic-bezier(.19, 1, .22, 1); }
.js .fx.is-in, .js .fx-down.is-in { opacity: 1; transform: none; }

/* Вращающиеся значки: 0→360° за 3 с, затем 360→−360° за 4 с, по кругу */
.spin { animation: spin 7s linear infinite; backface-visibility: hidden; }
.js .spin:not(.is-in) { animation-play-state: paused; }
@keyframes spin {
  0%     { transform: rotate(0deg);    animation-timing-function: ease-in-out; }
  42.86% { transform: rotate(360deg);  animation-timing-function: ease-in-out; }
  100%   { transform: rotate(-360deg); }
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js:not(.is-ready) body { opacity: 1; }
  .js .fx, .js .fx-down { opacity: 1; transform: none; transition: none; }
  .spin { animation: none; }
}

/* ===== Абсолютные блоки (перенесены из zero-блоков Тильды) =====
   --t / --l / --w — отступ сверху, слева и ширина в пикселях макета брейкпоинта (1200/960/640/480/320);
   --fs — кегль, --mh — высота, в которой текст центрируется по вертикали, --sh — высота линии.
   Значения перенесены из Тильды автоматически; дальше правятся здесь вручную. */
.topbar{--H:70}
.topbar__logo{--w:173;--t:14;--l:915;z-index:9}
.hero{--H:650}
.hero__rule{--w:1160;--t:0;--l:20;z-index:9;--sh:7;background:#e6e4e4}
.hero__logo{--w:173;--t:22;--l:854;z-index:12}
.hero__lmc{--w:485;--t:64;--l:206;z-index:5;--fs:188;--ls:-4;line-height:0.78;color:#dd073a;font-weight:500;font-family:var(--font)}
.hero__agency{--w:695;--t:211;--l:306;z-index:6;--delay:0.3s;--fs:188;--ls:-4;line-height:0.78;color:#000000;font-weight:500;font-family:var(--font)}
.hero__tagline{--w:461;--t:407;--l:219;z-index:8;--fs:51;line-height:1.05;color:#b5b1b1;font-weight:400;font-family:var(--font);text-transform:uppercase}
.hero__since{--w:182;--t:579;--l:761;z-index:7;--delay:0.2s;--mh:30;--fs:15;line-height:2;color:#dd073a;font-weight:500;font-family:var(--font)}
.hero__since-rule{--w:159;--t:607;--l:761;z-index:11;--sh:4;background:#dd073a}
.hero__icon{--w:34;--t:275;--l:123;z-index:4}
.hero__arc{--w:1051;--t:344;--l:991;z-index:3}
.about{--H:653}
.about__title{--w:412;--t:40;--l:215;z-index:7;--fs:120;line-height:1.14;color:#000;font-weight:700;font-family:var(--font)}
.about__title-rule{--w:112;--t:140;--l:559;z-index:10;--sh:4;background:#dd073a}
.about__lead{--w:569;--t:184;--l:319;z-index:8;--delay:0.1s;--fs:31;line-height:1.21;color:#000;font-weight:700;font-family:var(--font)}
.about__text{--w:250;--t:306;--l:319;z-index:9;--delay:0.3s;--fs:14;line-height:1.43;color:#000;font-weight:400;font-family:var(--font)}
.about__bg-retail{--w:798;--t:276;--l:380;z-index:5;--fs:218;--ls:-4;line-height:0.78;color:#f3f3f3;font-weight:700;font-family:var(--font)}
.about__bg-result{--w:671;--t:413;--l:168;z-index:4;--delay:0.5s;--fs:218;--ls:-4;line-height:0.78;color:#f3f3f3;font-weight:700;font-family:var(--font)}
.about__motto{--w:401;--t:361;--l:677;z-index:6;--delay:0.2s;--mh:265;--fs:54;line-height:1;color:#dd073a;font-weight:700;font-family:var(--font)}
.about__icon{--w:34;--t:77;--l:880;z-index:3}
.about__arc{--w:410;--t:473;--l:-230;z-index:11}
.stats{--H:376;background:#8e8e8e}
.stats__num--offices{--w:67;--t:88;--l:180;z-index:3;--delay:0.4s;--mh:121;--fs:100;line-height:1.21;color:#ffffff;font-weight:700;font-family:var(--font)}
.stats__cap--offices{--w:286;--t:185;--l:180;z-index:9;--delay:0.5s;--mh:72;--fs:24;--ls:0.5;line-height:1.05;color:#ffffff;font-weight:500;font-family:var(--font)}
.stats__num--years{--w:111;--t:88;--l:520;z-index:8;--mh:121;--fs:100;line-height:1.21;color:#ffffff;font-weight:700;font-family:var(--font)}
.stats__cap--years{--w:178;--t:179;--l:520;z-index:7;--delay:0.1s;--mh:86;--fs:24;--ls:0.5;line-height:1.05;color:#ffffff;font-weight:500;font-family:var(--font)}
.stats__num--clients{--w:236;--t:88;--l:820;z-index:4;--delay:0.2s;--mh:121;--fs:100;line-height:1.21;color:#ffffff;font-weight:700;font-family:var(--font)}
.stats__plus{--w:236;--t:88;--l:990;z-index:5;--delay:0.2s;--mh:121;--fs:100;line-height:1.21;color:#ffffff;font-weight:700;font-family:var(--font)}
.stats__cap--clients{--w:146;--t:192;--l:820;z-index:6;--delay:0.3s;--fs:24;--ls:0.5;line-height:1.43;color:#ffffff;font-weight:500;font-family:var(--font)}
.contacts{--H:706}
.contacts__title{--w:418;--t:76;--l:271;z-index:4;--fs:90;line-height:1.1;color:#000000;font-weight:700;font-family:var(--font)}
.contacts__title-rule{--w:112;--t:149;--l:720;z-index:10;--sh:4;background:#f40f14}
.contacts__hotline{--w:209;--t:212;--l:280;z-index:6;--delay:0.1s;--fs:19;line-height:1.1;color:#f40f14;font-weight:500;font-family:var(--font)}
.contacts__office{--w:209;--t:212;--l:720;z-index:5;--delay:0.1s;--fs:19;line-height:1.21;color:#000;font-weight:500;font-family:var(--font)}
.contacts__addr--msk{--w:325;--t:319;--l:280;z-index:8;--delay:0.3s;--fs:19;line-height:1.3;color:#a9a5a5;font-weight:500;font-family:var(--font)}
.contacts__addr--kzn{--w:203;--t:321;--l:720;z-index:7;--delay:0.3s;--fs:19;line-height:1.3;color:#a9a5a5;font-weight:500;font-family:var(--font)}
.contacts__policy{--w:208;--t:515;--l:280;z-index:13;--fs:13;line-height:1.1;color:#a9a5a5;font-weight:400;font-family:var(--font)}
.contacts__copy{--w:190;--t:579;--l:280;z-index:12;--delay:0.7s;--mh:19;--fs:13;line-height:1.21;color:#a9a5a5;font-weight:400;font-family:Arial, sans-serif}
.contacts__icon{--w:34;--t:442;--l:120;z-index:3}
.contacts__rule{--w:1160;--t:697;--l:20;z-index:9;--delay:1.2s;--sh:9;background:#a9a5a5}
@media (max-width: 1199px) {
  .topbar__logo{--w:150;--l:650}
  .hero{--H:619}
  .hero__rule{--w:940;--l:10}
  .hero__logo{--l:704}
  .hero__lmc{--w:384;--t:61;--l:157;--fs:165}
  .hero__agency{--w:665;--t:190;--l:311;--mh:133;--fs:165}
  .hero__tagline{--w:597;--t:357;--l:169;--fs:55}
  .hero__since{--w:154;--t:549;--l:615;--fs:13}
  .hero__since-rule{--w:138;--t:574;--l:616;--sh:5}
  .hero__icon{--t:231;--l:70}
  .hero__arc{--w:630;--t:323;--l:788}
  .about__title{--l:165}
  .about__title-rule{--w:104;--t:138;--l:506}
  .about__lead{--w:238;--t:177;--l:248;--mh:117}
  .about__text{--w:248;--t:279;--l:248;--mh:192;--fs:17}
  .about__bg-retail{--t:233;--l:150}
  .about__bg-result{--t:411;--l:73}
  .about__motto{--w:304;--t:455;--l:568;--mh:147;--fs:49}
  .about__icon{--t:67;--l:836}
  .about__arc{--t:470;--l:-209}
  .stats__num--offices{--t:90;--l:90}
  .stats__cap--offices{--w:237;--t:193;--l:90}
  .stats__num--years{--t:89;--l:397}
  .stats__cap--years{--w:160;--t:202;--l:410;--mh:53}
  .stats__num--clients{--t:96;--l:650}
  .stats__plus{--w:57;--t:96;--l:813}
  .stats__cap--clients{--t:198;--l:650}
  .contacts__title{--t:83;--l:165}
  .contacts__title-rule{--w:110;--t:156;--l:630}
  .contacts__hotline{--w:183;--t:214;--l:170}
  .contacts__office{--t:214;--l:630}
  .contacts__addr--msk{--t:334;--l:170}
  .contacts__addr--kzn{--t:334;--l:630}
  .contacts__policy{--t:571;--l:170}
  .contacts__copy{--t:626;--l:170}
  .contacts__icon{--t:544;--l:70}
  .contacts__rule{--w:940;--t:696;--l:10}
}
@media (max-width: 959px) {
  .topbar__logo{--l:410}
  .hero{--H:729}
  .hero__rule{--w:620}
  .hero__logo{--l:406}
  .hero__lmc{--t:73;--l:81;--fs:130}
  .hero__agency{--w:457;--t:149;--l:136;--fs:130}
  .hero__tagline{--w:409;--t:330;--l:87;--fs:50}
  .hero__since{--t:585;--l:192}
  .hero__since-rule{--t:615;--l:192}
  .hero__icon{--t:222;--l:36}
  .hero__arc{--w:700;--t:414;--l:410}
  .about{--H:603}
  .about__title{--w:293;--t:22;--l:90;--fs:100}
  .about__title-rule{--w:80;--t:105;--l:373}
  .about__lead{--w:245;--t:121;--l:170;--fs:27}
  .about__text{--w:245;--t:210;--l:170;--mh:185;--fs:15}
  .about__bg-retail{--w:538;--t:267;--l:90;--fs:164}
  .about__bg-result{--w:570;--t:371;--l:38;--fs:164}
  .about__motto{--w:290;--t:427;--l:340;--fs:42}
  .about__icon{--w:24;--t:47;--l:570}
  .stats{--H:506}
  .stats__num--offices{--t:36;--l:150}
  .stats__cap--offices{--w:294;--t:66;--l:250;--fs:30}
  .stats__num--years{--t:169;--l:150}
  .stats__cap--years{--w:303;--t:213;--l:250;--mh:54;--fs:30;line-height:0.9}
  .stats__num--clients{--t:323;--l:150}
  .stats__plus{--w:72;--t:323;--l:314}
  .stats__cap--clients{--t:383;--l:390;--fs:30}
  .contacts{--H:756}
  .contacts__title{--t:75;--l:64}
  .contacts__title-rule{--w:80;--t:148;--l:490}
  .contacts__hotline{--w:201;--t:205;--l:70;--fs:23}
  .contacts__office{--w:231;--t:205;--l:339;--fs:23;line-height:1.1}
  .contacts__addr--msk{--w:266;--t:321;--l:70;--fs:17}
  .contacts__addr--kzn{--t:321;--l:336;--fs:17}
  .contacts__policy{--t:589;--l:70}
  .contacts__copy{--t:652;--l:70}
  .contacts__icon{--w:30;--t:235;--l:820}
  .contacts__rule{--w:620;--t:748}
}
@media (max-width: 639px) {
  .topbar__logo{--w:123;--l:274}
  .hero{--H:629}
  .hero__rule{--w:460}
  .hero__logo{--t:20;--l:277}
  .hero__lmc{--w:383;--t:99;--l:60;--fs:100}
  .hero__agency{--w:344;--t:163;--l:114;--mh:90;--fs:100}
  .hero__tagline{--w:361;--t:282;--l:68;--fs:40}
  .hero__since{--t:515;--l:111}
  .hero__since-rule{--t:543;--l:111}
  .hero__icon{--w:30;--t:523;--l:26}
  .hero__arc{--w:532;--t:353;--l:330}
  .about{--H:533}
  .about__title{--t:21;--l:66;--fs:90}
  .about__title-rule{--t:95;--l:316}
  .about__lead{--w:178;--t:115;--l:165;--mh:86;--fs:22}
  .about__text{--w:265;--t:182;--l:166;--mh:175}
  .about__bg-retail{--w:442;--t:137;--l:70;--fs:130}
  .about__bg-result{--w:422;--t:232;--l:18;--fs:130}
  .about__motto{--w:228;--t:373;--l:250;--mh:115;--fs:37}
  .about__icon{--w:20;--t:28;--l:434}
  .about__arc{--t:326;--l:-218}
  .stats{--H:636}
  .stats__num--offices{--t:63;--l:70}
  .stats__cap--offices{--w:285;--t:97;--l:170;--fs:26}
  .stats__num--years{--t:239;--l:59}
  .stats__cap--years{--w:211;--t:277;--l:170;--mh:70;--fs:26}
  .stats__num--clients{--t:430;--l:61}
  .stats__plus{--w:67;--t:430;--l:230}
  .stats__cap--clients{--t:492;--l:297;--fs:26}
  .contacts{--H:726}
  .contacts__title{--w:335;--t:50;--l:62;--fs:70}
  .contacts__title-rule{--t:106;--l:390}
  .contacts__hotline{--t:161}
  .contacts__office{--t:245;--l:70}
  .contacts__addr--msk{--w:354;--t:349;--fs:16}
  .contacts__addr--kzn{--t:424;--l:70;--fs:16}
  .contacts__policy{--t:634}
  .contacts__copy{--t:685}
  .contacts__icon{--w:25;--t:368;--l:354}
  .contacts__rule{--w:460;--t:718}
}
@media (max-width: 479px) {
  .topbar{--H:60}
  .topbar__logo{--l:112}
  .hero{--H:529}
  .hero__rule{--w:300}
  .hero__logo{--w:154;--t:13;--l:136}
  .hero__lmc{--w:180;--t:88;--l:30;--fs:70}
  .hero__agency{--w:229;--t:139;--l:60;--mh:62;--fs:70}
  .hero__tagline{--w:218;--t:245;--l:33;--mh:120;--fs:26}
  .hero__since{--t:378;--l:34}
  .hero__since-rule{--w:139;--t:406;--l:34;--sh:4}
  .hero__icon{--w:20;--t:197;--l:10}
  .hero__arc{--w:385;--t:300;--l:202}
  .about{--H:613}
  .about__title{--w:175;--t:33;--l:17;--fs:55}
  .about__title-rule{--t:76;--l:170}
  .about__lead{--t:108;--l:43}
  .about__text{--w:205;--t:176;--l:43;--fs:14}
  .about__bg-retail{--w:280;--t:300;--l:34;--fs:90}
  .about__bg-result{--w:261;--t:359;--l:10;--fs:90}
  .about__motto{--t:370;--l:92}
  .about__icon{--w:16;--l:276}
  .about__arc{--w:339;--t:421;--l:-247}
  .stats{--H:450}
  .stats__num--offices{--t:19;--l:35;--fs:70}
  .stats__cap--offices{--w:205;--t:62;--l:105;--mh:52;--fs:19}
  .stats__num--years{--t:140;--l:35;--fs:70}
  .stats__cap--years{--w:124;--t:190;--l:105;--mh:34;--fs:19}
  .stats__num--clients{--w:127;--t:295;--l:35;--mh:115;--fs:70}
  .stats__plus{--w:57;--t:295;--l:147;--mh:115;--fs:52}
  .stats__cap--clients{--w:103;--t:354;--l:181;--fs:19}
  .contacts{--H:626}
  .contacts__title{--w:232;--t:40;--l:22;--fs:49}
  .contacts__title-rule{--w:51;--t:78;--l:256}
  .contacts__hotline{--w:222;--t:118;--l:24;--fs:20}
  .contacts__office{--t:182;--l:24;--fs:20}
  .contacts__addr--msk{--w:265;--t:236;--l:24;--mh:153;--fs:14}
  .contacts__addr--kzn{--t:389;--l:24;--fs:14}
  .contacts__policy{--t:537;--l:22;--mh:40}
  .contacts__copy{--t:589;--l:22}
  .contacts__icon{--w:20;--t:525;--l:261}
  .contacts__rule{--w:300;--t:619}
}
