

/* Start:/local/templates/fm2026/css/base.css?179026926736107*/
/* FastMotion Production — публичный сайт. Тёмная тема, красный акцент логотипа FM. */
:root {
  --bg: #0b0b0c;
  --surface: rgba(255, 255, 255, .04);
  --surface-hover: rgba(255, 255, 255, .07);
  --glass: rgba(28, 28, 30, .62);
  --line: rgba(255, 255, 255, .09);
  --text: #f5f5f4;
  --muted: #8e8e93;
  --dim: #3a3a3d;
  --red: #ff0d35;
  --red-hover: #ff3a59;

  --font: 'Inter Tight', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --radius: 20px;
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(88px, 12vw, 160px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
h1, h2, h3, p, dl, dd, ol, ul, figure, address { margin: 0; font-style: normal; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--red); color: #fff; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--red); color: #fff; padding: 8px 16px; border-radius: 99px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.eyebrow--center { justify-content: center; }
.h2 { font-size: clamp(34px, 5.2vw, 76px); font-weight: 800; line-height: .95; letter-spacing: -.035em; text-transform: uppercase; }

/* ——— Кнопки и «стекло» ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 99px;
  font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s, transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); }
.btn--glass { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn--glass:hover { background: rgba(60, 60, 64, .7); }
.btn__play { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -12px; border-radius: 50%; background: #fff; color: var(--bg); }
.btn__play svg { width: 12px; height: 12px; margin-left: 2px; }

.glass {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 99px;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .2s, border-color .2s;
}
.glass svg { width: 16px; height: 16px; }
.glass:hover { background: rgba(60, 60, 64, .75); }
.glass--icon { width: 44px; padding: 0; justify-content: center; }
.glass--icon svg { width: 18px; height: 18px; }
.glass:disabled { opacity: .35; pointer-events: none; }

/*
 * Круглый значок внутри заглавных заголовков.
 * Без строк внутри базовая линия inline-block — его нижний край, поэтому сдвиг
 * (cap-height − размер) / 2 ставит центр круга ровно на середину заглавных букв.
 * Размер .8em не выходит за верх строки и не раздвигает межстрочный интервал.
 */
.chip-ico {
  --cap: .744em; /* высота заглавных у Inter Tight (замер в браузере) */
  --size: .8em;
  position: relative; display: inline-block; width: var(--size); height: var(--size); line-height: 0;
  vertical-align: calc((var(--cap) - var(--size)) / 2); margin: 0 .04em;
  border-radius: 50%; border: .045em solid currentColor; transition: color .3s, border-color .3s, background-color .3s;
}
.chip-ico svg { position: absolute; inset: 0; margin: auto; width: .46em; height: .46em; }
.chip-ico--red { background: var(--red); border-color: var(--red); color: #fff; }

/* ——— Шапка ——— */
.header { position: fixed; inset: 16px var(--gutter) auto; z-index: 100; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; pointer-events: none; }
.header > * { pointer-events: auto; }
.header__nav { justify-self: start; gap: 4px; padding: 0 6px; }
.header__nav a { padding: 8px 14px; border-radius: 99px; color: #d4d4d8; transition: color .2s, background-color .2s; }
.header__nav a:hover, .header__nav a.is-active { color: #fff; background: rgba(255, 255, 255, .08); }
.header__logo img { height: 44px; width: auto; }
.header__actions { justify-self: end; display: flex; gap: 8px; }
.burger { display: none; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: flex-end; gap: 32px; padding: 96px var(--gutter) 40px; background: rgba(11, 11, 12, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { padding: 8px 0; font-size: clamp(40px, 12vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; text-transform: uppercase; }
.menu__nav a:hover { color: var(--red); }

@media (max-width: 820px) {
  .header { grid-template-columns: auto 1fr; }
  .header__nav, .header__cta { display: none; }
  .header__logo { order: -1; }
  .burger { display: inline-flex; }
}

/* ——— Первый экран ——— */
.hero { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 100vh; min-height: 100svh; padding: 120px var(--gutter) clamp(72px, 10vh, 120px); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; background: #151517; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 24s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, .15) 35%, rgba(11, 11, 12, .55) 65%, var(--bg) 100%); }
/* Запасной фон — превью YouTube с надписями: приглушаем, чтобы не спорил с заголовком */
.hero--thumb .hero__media img { filter: blur(6px) brightness(.42) saturate(.8); }
.hero--thumb .hero__media { overflow: hidden; }
.hero__content { max-width: 1100px; text-align: center; }
.hero__title { font-size: clamp(28px, 8.4vw, 132px); font-weight: 800; line-height: .9; letter-spacing: -.045em; text-transform: uppercase; text-wrap: balance; }
.hero__lead { max-width: 40em; margin: 28px auto 0; font-size: clamp(16px, 1.4vw, 19px); color: #d4d4d8; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 99px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scroll-dot 1.8s var(--ease) infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-height: 700px) { .hero__scroll { display: none; } }

/* ——— Нам доверяют: полоса логотипов клиентов ——— */
.clients {
  position: relative; padding-block: clamp(28px, 4vw, 44px); border-block: 1px solid var(--line); overflow: hidden;
  background:
    radial-gradient(60% 140% at 38% 0%, rgba(150, 160, 190, .16), transparent 70%),
    radial-gradient(40% 120% at 62% 0%, rgba(255, 13, 53, .09), transparent 70%),
    var(--bg);
}
.clients__title { margin-bottom: clamp(20px, 2.4vw, 28px); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-align: center; color: var(--muted); }
.clients__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 24px clamp(32px, 5vw, 80px); }
.clients__item { display: flex; align-items: center; justify-content: center; min-width: 0; }
.clients__link { display: flex; align-items: center; justify-content: center; height: 40px; opacity: .72; transition: opacity .25s; }
.clients__link:hover, a.clients__link:focus-visible { opacity: 1; }
.clients__link img { height: 100%; width: auto; max-width: 150px; object-fit: contain; }
.clients__item.is-mono img { filter: brightness(0) invert(1); }
.clients__name { font-size: clamp(20px, 2vw, 26px); font-weight: 800; letter-spacing: .02em; line-height: 1; white-space: nowrap; color: var(--text); }
@media (max-width: 620px) {
  .clients__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
  .clients__link { height: 30px; }
  .clients__link img { max-width: 100px; }
  .clients__name { font-size: 18px; }
}

/* ——— Манифест: слова «загораются» при прокрутке ——— */
.manifesto { padding-block: var(--section); }
.manifesto__text { font-size: clamp(34px, 5.6vw, 88px); font-weight: 800; line-height: 1; letter-spacing: -.04em; text-transform: uppercase; text-wrap: balance; }
.manifesto__text [data-word] { color: var(--dim); transition: color .35s var(--ease); }
.manifesto__text [data-word].is-lit { color: var(--text); }
.manifesto__text .chip-ico.is-lit { color: #fff; background: var(--red); border-color: var(--red); }

/* ——— Секции ——— */
.section { padding-block: var(--section); }
.section--tight { padding-block: 24px var(--section); }
.section__intro { max-width: 860px; margin: 0 auto clamp(48px, 7vw, 96px); text-align: center; }
.section__lead { max-width: 36em; margin: 24px auto 0; font-size: 18px; color: var(--muted); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
@media (max-width: 700px) { .section__head { flex-direction: column; align-items: flex-start; } }

/* Услуги: стеклянные карточки, средняя колонка смещена вниз */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.glass-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: background-color .3s, border-color .3s, transform .5s var(--ease); }
.service { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 340px; padding: 48px 32px; text-align: center; }
.service:hover { background: var(--surface-hover); border-color: rgba(255, 13, 53, .45); }
.service__num { position: absolute; top: 20px; left: 24px; font-size: 13px; font-weight: 600; color: var(--muted); }
.service__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%; border: 1px solid var(--line); color: var(--red); transition: background-color .3s, color .3s, border-color .3s; }
.service__icon svg { width: 28px; height: 28px; }
.service:hover .service__icon { background: var(--red); border-color: var(--red); color: #fff; }
.service__title { font-size: 22px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; }
.service__desc { max-width: 28em; color: var(--muted); font-size: 15px; }
@media (min-width: 1001px) { .services__grid .service:nth-child(3n + 2) { margin-top: 64px; margin-bottom: -64px; } .services { padding-bottom: calc(var(--section) + 64px); } }
@media (max-width: 1000px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services__grid { grid-template-columns: 1fr; } .service { min-height: 0; padding: 48px 24px 40px; } }

/* Шапка канала (страница YouTube) */
.channel__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #1c1c1e; flex-shrink: 0; }
.channel__name { font-size: 24px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; }
.channel__handle { margin-top: 4px; font-size: 14px; color: var(--muted); }
.channel__handle b { color: var(--text); font-weight: 700; }
.channel__desc { margin-top: 10px; color: #c7c7cc; font-size: 15px; max-width: 46em; }

/* Бегущая строка, сдвигается прокруткой */
.marquee { overflow: hidden; padding-block: clamp(24px, 4vw, 48px); border-block: 1px solid var(--line); }
.marquee__track { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); width: max-content; will-change: transform; }
.marquee__track span { font-size: clamp(56px, 10vw, 160px); font-weight: 800; line-height: 1; letter-spacing: -.045em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.marquee__track span:nth-of-type(4n + 1) { color: var(--text); }
.marquee__track i { width: clamp(14px, 1.6vw, 26px); height: clamp(14px, 1.6vw, 26px); border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* Этапы */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 40px 32px; border-top: 1px solid var(--line); }
.step__num { display: block; margin-bottom: 48px; font-size: clamp(64px, 7vw, 104px); font-weight: 800; line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--dim); transition: -webkit-text-stroke-color .3s; }
.step:hover .step__num { -webkit-text-stroke-color: var(--red); }
.step__title { margin-bottom: 12px; font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.step p { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step { padding: 32px 0; } .step__num { margin-bottom: 24px; } }

/* ——— Карточки роликов ——— */
.vcard { min-width: 0; }
.vcard__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #151517; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vcard__media:hover img { transform: scale(1.05); }
.vcard__play { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; transition: transform .25s var(--ease); }
.vcard__play svg { width: 18px; height: 18px; margin-left: 3px; }
.vcard__media:hover .vcard__play { transform: scale(1.1); }
.vcard__tag { position: absolute; left: 12px; top: 12px; padding: 5px 12px; border-radius: 99px; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.vcard__body { padding: 16px 2px 0; }
.vcard__title { font-size: 17px; font-weight: 600; line-height: 1.35; }
.vcard__date { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
/* Круглая стрелка, превращающаяся в кнопку YouTube */
.yt-arrow { margin-top: calc(((100cqw - var(--arrow) - 3 * var(--gap)) / 3) * 9 / 16 / 2 - var(--arrow) / 2); }
.yt-arrow {
  position: relative; display: grid; place-items: center; width: var(--arrow, 72px); height: var(--arrow, 72px); flex-shrink: 0; overflow: hidden; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--line); color: var(--text);
  transition: background-color .3s var(--ease), border-color .3s, transform .3s var(--ease);
}
.yt-arrow__icon { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .35s var(--ease), opacity .25s; }
.yt-arrow__icon svg { width: 34%; height: 34%; }
.yt-arrow__icon--yt { opacity: 0; transform: translateX(-60%); }
.yt-arrow__icon--yt svg { width: 44%; height: 44%; }
.yt-arrow:hover, .yt-arrow:focus-visible { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.yt-arrow:hover .yt-arrow__icon--arrow, .yt-arrow:focus-visible .yt-arrow__icon--arrow { opacity: 0; transform: translateX(60%); }
.yt-arrow:hover .yt-arrow__icon--yt, .yt-arrow:focus-visible .yt-arrow__icon--yt { opacity: 1; transform: none; }
/* на сенсорных экранах наведения нет — сразу показываем кнопку YouTube */
@media (hover: none) {
  .yt-arrow { background: var(--red); border-color: var(--red); }
  .yt-arrow__icon--arrow { opacity: 0; }
  .yt-arrow__icon--yt { opacity: 1; transform: none; }
}
/* ——— Внутренние страницы ——— */
.page-head { padding-block: clamp(140px, 18vw, 220px) 40px; }
.page-head__title { font-size: clamp(56px, 11vw, 168px); font-weight: 800; line-height: .85; letter-spacing: -.05em; text-transform: uppercase; }
.page-head__lead { max-width: 36em; margin-top: 28px; font-size: 18px; color: var(--muted); }
.page-head--center { min-height: 80vh; display: flex; align-items: center; text-align: center; }
.page-head--center .page-head__lead { margin-inline: auto; }
.page-head--center .page-head__title { font-size: clamp(44px, 8vw, 120px); }
.empty { padding: 64px 0; color: var(--muted); }

/* ——— Галерея ——— */
.masonry { columns: 3 320px; column-gap: 16px; }
.masonry__item { break-inside: avoid; margin-bottom: 16px; }
.masonry__item button { display: block; width: 100%; overflow: hidden; border-radius: 16px; }
.masonry__item img { width: 100%; transition: transform .6s var(--ease); }
.masonry__item button:hover img { transform: scale(1.03); }
.masonry__item figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ——— Призыв и контакты ——— */
.cta { position: relative; overflow: hidden; padding-block: var(--section) calc(var(--section) + 80px); text-align: center; }
.cta__inner { position: relative; z-index: 1; }
.cta__title { font-size: clamp(48px, 9.5vw, 150px); font-weight: 800; line-height: .88; letter-spacing: -.05em; text-transform: uppercase; text-wrap: balance; }
.cta__lead { max-width: 32em; margin: 32px auto 0; font-size: 18px; color: var(--muted); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.cta__arc { position: absolute; left: 50%; bottom: 0; width: min(1100px, 140vw); aspect-ratio: 2 / 1; transform: translate(-50%, 50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 13, 53, .22), rgba(255, 13, 53, .06) 60%, transparent); pointer-events: none; }

/* ——— Подвал ——— */
.footer { padding-block: 72px 32px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 2fr repeat(2, 1fr); gap: 40px; }
.footer__brand img { height: 72px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 22em; color: var(--muted); font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__col a { color: #d4d4d8; align-self: flex-start; transition: color .2s; }
.footer__col a:hover { color: var(--red); }
.footer__label { margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__up { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.footer__up svg { transform: rotate(-90deg); width: 14px; height: 14px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ——— Проекты: карточки. Сетка из 6 колонок: обычная карточка занимает 2, широкая — 3 ——— */
.project-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(40px, 4vw, 56px) clamp(16px, 2vw, 32px); list-style: none; margin: 0; padding: 0; }
.project-card { grid-column: span 2; }
.project-card--wide { grid-column: span 3; }
.project-card__link { display: block; }
.project-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: clamp(16px, 2vw, 28px); background: radial-gradient(120% 90% at 30% 0%, #26262a, #121214); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.project-card__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.project-card__play svg { width: 24px; height: 24px; margin-left: 3px; }
.project-card__info { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title kind" "meta kind"; align-items: start; gap: 8px 24px; margin-top: 20px; }
.project-card__title { grid-area: title; max-width: 22em; font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; line-height: 1.3; transition: color .3s; }
.project-card__meta { grid-area: meta; font-size: clamp(15px, 1.2vw, 18px); color: #636368; font-variant-numeric: tabular-nums; }
.project-card__kind { grid-area: kind; align-self: end; font-size: clamp(15px, 1.3vw, 19px); color: var(--muted); white-space: nowrap; }
.project-card__link:hover .project-card__media img { transform: scale(1.04); filter: brightness(.8); }
.project-card__link:hover .project-card__play, .project-card__link:focus-visible .project-card__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.project-card__link:hover .project-card__title { color: var(--red); }
@media (max-width: 900px) {
  .project-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card, .project-card--wide { grid-column: span 1; }
}
@media (max-width: 600px) {
  .project-cards { grid-template-columns: 1fr; gap: 36px; }
  .project-card__info { margin-top: 14px; }
}

/* ——— YouTube: тизер на главной и плитки охвата ——— */
.yt-teaser {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 5vw, 72px); overflow: hidden;
  background: radial-gradient(70% 110% at 100% 0%, rgba(255, 13, 53, .16), transparent 62%), var(--surface);
}
.yt-teaser .h2 { font-size: clamp(32px, 4.2vw, 64px); }
.yt-teaser .section__lead { margin: 20px 0 32px; }
@media (max-width: 900px) { .yt-teaser { grid-template-columns: 1fr; } }

.reach { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px 24px; }
.reach__title { margin: clamp(64px, 9vw, 128px) 0 28px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.reach__item { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.reach dd { font-size: clamp(40px, 5vw, 72px); font-weight: 800; line-height: .9; letter-spacing: -.04em; white-space: nowrap; }
.reach dt { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.reach-group + .reach-group { margin-top: clamp(40px, 5vw, 64px); }
.reach-group__name { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 15px; font-weight: 700; }
.reach-group__name svg { width: 20px; height: 20px; color: var(--red); }
.reach-group__name a { margin-left: 6px; font-weight: 500; color: var(--muted); text-decoration: underline; text-decoration-color: var(--dim); text-underline-offset: 3px; }
.reach-group__name a:hover { color: var(--text); }
.reach--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) {
  .reach--row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .reach--row dd { font-size: clamp(30px, 9vw, 40px); }
  .reach--row dt { font-size: 13px; }
}
.reach__item:first-child dd { color: var(--red); }
.reach--stack { grid-template-columns: 1fr; gap: 0; }
.reach--stack .reach__item { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 20px; }
.reach--stack dd { font-size: clamp(34px, 4vw, 56px); }
.reach--stack dt { text-align: right; }

/* ——— Страница YouTube ——— */
.manifesto--page { padding-block: 16px var(--section); }
.yt-channels { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 112px); }
.yt-channel__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.yt-channel__head .yt-arrow { --arrow: 64px; }
.yt-channel__videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; }
@media (max-width: 900px) { .yt-channel__videos { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 600px) {
  .yt-channel__head { align-items: start; gap: 14px; }
  .yt-channel__head .channel__avatar { width: 48px; height: 48px; }
  .yt-channel__head .yt-arrow { --arrow: 48px; }
  .channel__name { font-size: 20px; }
}

/* ——— Команда ——— */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 24px); }
.member__photo { position: relative; aspect-ratio: 4 / 5; margin-bottom: 18px; overflow: hidden; border-radius: var(--radius); background: radial-gradient(120% 90% at 30% 0%, #26262a, #121214); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s var(--ease), transform .8s var(--ease); }
.member:hover .member__photo img { filter: none; transform: scale(1.03); }
.member__initials { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(96px, 10vw, 160px); font-weight: 800; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--dim); transition: -webkit-text-stroke-color .3s; }
.member:hover .member__initials { -webkit-text-stroke-color: var(--red); }
.member__name { font-size: 24px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; }
.member__role { margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.member__bio { margin-top: 10px; font-size: 15px; color: var(--muted); }
@media (max-width: 560px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .member__name { font-size: 18px; } .member__role { font-size: 11px; } }

/* ——— Страница проекта ——— */
.project-page__title { font-size: clamp(40px, 8vw, 120px); text-wrap: balance; }
.project-page__intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 40px; align-items: end; }
.project-page__facts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px 40px; }
.project-page__facts dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.project-page__facts dd { margin-top: 6px; font-size: 18px; font-weight: 700; }
@media (max-width: 820px) { .project-page__intro { grid-template-columns: 1fr; } .project-page__facts { justify-content: flex-start; } }
.project-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-video { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; }
.project-video--main { grid-column: 1 / -1; }
.project-video iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .project-videos { grid-template-columns: 1fr; } }
.project-page__cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
/* Разделы кейса: заголовок слева, содержимое справа; широкие разделы — заголовок сверху */
.case { margin-top: clamp(64px, 9vw, 128px); }
.case-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px clamp(32px, 5vw, 80px); padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.case-block--wide { grid-template-columns: 1fr; }
.case-block__label { font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; line-height: .95; letter-spacing: -.04em; text-transform: uppercase; color: var(--red); }
.case-text { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: #d4d4d8; }
.case-text p + p { margin-top: 1em; }
.case-text--lead { font-size: clamp(20px, 2vw, 28px); line-height: 1.45; font-weight: 500; color: var(--text); letter-spacing: -.01em; }
.case-text--muted { color: var(--muted); }
.case-client { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 24px clamp(24px, 4vw, 56px); }
.case-client__logo { display: grid; place-items: center; width: clamp(120px, 14vw, 200px); aspect-ratio: 16 / 9; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.case-client__logo img { max-height: 100%; width: 100%; object-fit: contain; }
.case-client__logo.is-mono img { filter: brightness(0) invert(1); }
.case-client__name { margin-bottom: 14px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.case-tasks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.case-tasks li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; }
.case-tasks__num { padding-top: .2em; font-size: 14px; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.case-stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.case-stage { padding: clamp(24px, 3vw, 36px); }
.case-stage__num { display: block; margin-bottom: 40px; font-size: 14px; font-weight: 700; color: var(--red); }
.case-stage__title { margin-bottom: 14px; font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; }
.case-stage .case-text { font-size: 16px; }
@media (max-width: 820px) {
  .case-block { grid-template-columns: 1fr; }
  .case-client { grid-template-columns: 1fr; }
}
.project-photos { columns: 2 340px; column-gap: 16px; }
.project-photos__item { display: block; width: 100%; margin-bottom: 16px; overflow: hidden; border-radius: 16px; break-inside: avoid; }
.project-photos__item img { width: 100%; transition: transform .6s var(--ease); }
.project-photos__item:hover img { transform: scale(1.03); }
.project-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; margin-top: clamp(40px, 6vw, 80px); padding-top: 40px; border-top: 1px solid var(--line); }
.project-next .eyebrow { grid-column: 1 / -1; margin: 0; }
.project-next__title { font-size: clamp(30px, 6vw, 88px); font-weight: 800; line-height: .95; letter-spacing: -.04em; text-transform: uppercase; text-wrap: balance; transition: color .3s; }
.project-next__arrow { --arrow: clamp(56px, 7vw, 104px); }
.project-next:hover .project-next__title { color: var(--red); }
.project-next:hover .project-next__arrow { background: var(--red); border-color: var(--red); transform: translateX(6px); }

/* шоурил в плеере */
.player__frame video { display: block; width: 100%; height: 100%; background: #000; }
.btn--red .btn__play { color: var(--red); }

/* ——— Появление при прокрутке ——— */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .services__grid [data-reveal].is-in:nth-child(3n + 2) { transition-delay: .08s; }
.js .services__grid [data-reveal].is-in:nth-child(3n) { transition-delay: .16s; }

/* ——— Плеер и лайтбокс ——— */
.player, .lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: var(--gutter); border: 0; background: rgba(8, 8, 9, .95); color: var(--text); }
.player[open], .lightbox[open] { display: grid; place-items: center; }
.player::backdrop, .lightbox::backdrop { background: transparent; }
.player__box { position: relative; width: min(1200px, 100%); }
.player__frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; }
.player__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.player__meta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 16px; }
.player__title { font-weight: 600; }
.player__link { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--muted); font-size: 14px; }
.player__link:hover { color: var(--red); }
.player__close { position: fixed; top: 16px; right: 16px; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--glass); border: 1px solid var(--line); }
.player__close:hover { background: var(--red); border-color: var(--red); }
.player__close svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .player__meta { flex-direction: column; align-items: flex-start; gap: 8px; } }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox__figure img { max-width: min(1400px, 100%); max-height: calc(100dvh - 120px); object-fit: contain; border-radius: 12px; }
.lightbox__figure figcaption { color: var(--muted); }

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

/* End */


/* Start:/local/templates/fm2026/css/fm.css?179028345019181*/
/* fast-motion.ru — деловая версия. Подключается после base.css (стили prod.fast-motion.ru): токены, кнопки, плеер, появление блоков. */

:root {
  --bar: #070708;
  --card: #141416;
  --card-2: #1a1a1d;
  --soft: #c7c7cc;
  --star: #ffc53d;
}

/* Деловой тон: обычный регистр и обычная разрядка в кнопках, таблетках и надписях над заголовками */
.btn, .glass { text-transform: none; letter-spacing: .01em; }
.btn { font-size: 16px; min-height: 52px; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--outline { border: 1px solid var(--line); background: transparent; }
.btn--outline:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .04); }
.eyebrow { align-items: flex-start; font-size: 15px; letter-spacing: normal; text-transform: none; margin-bottom: 14px; }
.eyebrow::before { flex-shrink: 0; margin-top: calc(.8em - 4px); } /* точка — по центру первой строки, если подпись переносится */
.muted { color: var(--muted); }
.ext svg { transform: rotate(-45deg); }
/* Телефоны и почта не переносятся по дефису */
a[href^="tel:"], a[href^="mailto:"], .nw { white-space: nowrap; }

.h1 { font-size: clamp(34px, 4.4vw, 62px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.h2b { font-size: clamp(28px, 3.1vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--soft); max-width: 40em; text-wrap: pretty; }
.sec { padding-block: clamp(56px, 7vw, 104px); }
.sec + .sec { border-top: 1px solid var(--line); }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.sec__head .lead { margin-top: 12px; }
@media (max-width: 760px) { .sec__head { flex-direction: column; align-items: flex-start; } }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); transition: color .2s; }
.link:hover { color: var(--red); }
.link svg { width: 16px; height: 16px; }

/* ——— Верхняя строка ——— */
/* Не помещается в одну строку (телефоны) — соцсети и чаты переносятся во вторую строку целиком */
.topbar { background: var(--bar); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--soft); }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 16px; min-height: 44px; padding-block: 4px; }
.topbar__group { display: flex; align-items: center; gap: 20px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; white-space: nowrap; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: var(--muted); }
/* Отрицательные поля — значки по краям выровнены по краю контейнера, как логотип и кнопка ниже */
.topbar__social { display: flex; align-items: center; gap: 4px; margin-inline: -8px; }
.topbar__social a { padding: 6px 8px; border-radius: 8px; }
.topbar__social a:hover { background: rgba(255, 255, 255, .06); }
.topbar__social a:hover svg { color: var(--red); }

/* Выпадающий список адресов мастерских на details/summary. Закрывается по клику вне, Escape и прокрутке — js/fm.js */
.addr { position: relative; }
.addr summary { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; list-style: none; white-space: nowrap; }
.addr summary::-webkit-details-marker { display: none; }
.addr summary { color: #fff; font-weight: 600; }
summary .chev { transition: transform .2s; }
details[open] > summary .chev { transform: rotate(180deg); }
.addr__panel { position: absolute; left: 0; top: calc(100% + 12px); z-index: 120; width: min(92vw, 380px); max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain; padding: 8px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.addr__item { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; }
.addr__item + .addr__item { border-top: 1px solid var(--line); border-radius: 0; }
.addr__item b { color: #fff; font-size: 14px; }
.addr__item span { color: var(--muted); }
.addr__item > a { color: var(--red); font-weight: 600; margin-top: 4px; }

/* ——— Основная строка шапки ——— */
.mainbar { position: sticky; top: 0; z-index: 100; background: rgba(11, 11, 12, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.mainbar__inner { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); min-height: 76px; }
.mainbar__logo img { height: 42px; width: auto; }
.mainbar__nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.mainbar__nav > a { padding: 9px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--soft); white-space: nowrap; transition: color .2s, background-color .2s; }
.mainbar__nav > a:hover, .mainbar__nav > a.is-active { color: #fff; background: rgba(255, 255, 255, .06); }
/* Проекты бренда в меню — внешние сайты: стрелка ↗ красным */
.mainbar__nav > a.ext { display: inline-flex; align-items: center; gap: 3px; }
.mainbar__nav > a.ext svg { width: 13px; height: 13px; color: var(--red); }
.mainbar__rating { display: block; width: 150px; height: 50px; border: 0; border-radius: 10px; flex-shrink: 0; }
.mainbar .burger { display: none; flex-shrink: 0; }
/* Восемь пунктов меню (разделы и четыре проекта) и кнопка записи помещаются в строку от 1200px; уже — кнопка меню */
@media (max-width: 1199px) {
  .mainbar__nav, .topbar .topbar__hide-md { display: none; }
  .mainbar__logo { margin-right: auto; }
  .mainbar .burger { display: inline-flex; }
}
/* 1200–1319px: все восемь не помещаются — «Видео» и «Отзывы» (якоря главной) прячем, они есть в подвале и на самой главной */
@media (min-width: 1200px) and (max-width: 1319px) {
  .mainbar__minor { display: none; }
  .topbar .topbar__rate-text { display: none; }
}
/* Длинные подписи верхней строки: «· Москва + Краснодар» и «Чат по » (на узких экранах чаты — «Xiaomi» / «Ninebot») */
@media (max-width: 900px) {
  .topbar .topbar__long { display: none; }
}
@media (max-width: 640px) {
  .topbar__inner { min-height: 40px; }
  .topbar .topbar__hide-sm { display: none; }
  .mainbar__cta { display: none; }
  .mainbar__inner { min-height: 64px; }
  .mainbar__logo img { height: 36px; }
}
/* Значок рейтинга Яндекса — в основной строке рядом с логотипом и кнопкой меню (до 1199px). Шире там восемь пунктов меню,
   и рейтинг переезжает в верхнюю строку ссылкой .topbar__rate. На самых узких телефонах значку не хватает места */
@media (min-width: 1200px) { .mainbar__rating { display: none; } }
@media (max-width: 345px) { .mainbar__rating { display: none; } }
/* Рейтинг в верхней строке: «Я 5,0 ★ на Яндекс Картах» */
.topbar a.topbar__rate { gap: 6px; color: #fff; }
.topbar__rate b { font-weight: 700; }
.topbar__rate .rate__logo { min-width: 18px; height: 18px; padding: 0 4px; border-radius: 5px; font-size: 10px; }
.topbar .topbar__rate svg { width: 13px; height: 13px; color: var(--star); }
.topbar__rate-text { color: var(--soft); }
.topbar a.topbar__rate:hover .topbar__rate-text { color: #fff; }

/* Мобильное меню: пунктов больше, чем помещается на низком экране, — прокручивается.
   К низу прижато через margin-top: auto: при justify-content: flex-end верх длинного меню был бы недоступен */
.menu { justify-content: flex-start; gap: 20px; overflow-y: auto; overscroll-behavior: contain; padding-top: 148px; }
.menu__nav { margin-top: auto; }
.menu__nav a { font-size: clamp(28px, 8vw, 40px); text-transform: none; letter-spacing: -.02em; }
.menu__group { display: flex; flex-direction: column; padding-block: 4px 8px; }
.menu__label { margin: 6px 0 2px; font-size: 14px; color: var(--muted); }
.menu__group a { padding-block: 6px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.menu__contacts { display: flex; flex-wrap: wrap; gap: 6px 24px; color: var(--soft); font-size: 15px; }
.menu__social { display: flex; flex-wrap: wrap; gap: 8px; }
.menu__social .glass { padding: 0 14px; }

/* ——— Первый экран ——— */
.hero-biz { position: relative; padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 80px); overflow: hidden; }
.hero-biz::before { content: ''; position: absolute; inset: -30% -10% auto 40%; height: 120%; background: radial-gradient(closest-side, rgba(255, 13, 53, .14), transparent); pointer-events: none; }
.hero-biz__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-biz .lead { margin-top: 20px; }
.hero-biz__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 4vw, 56px); }
.fact { padding-top: 16px; border-top: 1px solid var(--line); }
.fact__value { display: flex; align-items: baseline; gap: 6px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.fact__value svg { width: .7em; height: .7em; color: var(--star); }
.fact__label { margin-top: 8px; font-size: 14px; line-height: 1.35; color: var(--muted); }
.latest { padding: 14px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.latest .vcard__media { border-radius: 14px; }
.latest__body { padding: 16px 6px 6px; }
.latest__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #ff6b85; }
.latest__kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.latest__title { margin-top: 8px; font-size: 19px; font-weight: 700; line-height: 1.3; }
.latest__meta { margin-top: 6px; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .hero-biz__grid { grid-template-columns: 1fr; } .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ——— Направления ——— */
.dirs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.dir { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s, background-color .3s; }
.dir--wide { grid-column: span 3; }
.dir:hover { border-color: rgba(255, 13, 53, .5); background: var(--card-2); }
.dir__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 13, 53, .12); color: var(--red); }
.dir__icon svg { width: 24px; height: 24px; }
.dir__title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.dir__text { color: var(--muted); font-size: 15px; }
.dir .link { margin-top: auto; padding-top: 8px; }
@media (max-width: 1000px) { .dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dir, .dir--wide { grid-column: span 1; } .dir:first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .dirs { grid-template-columns: 1fr; } }

/* ——— Мастерские ——— */
.ws-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ws { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.ws__city { font-size: 15px; font-weight: 600; color: var(--muted); }
.ws__addr { font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.ws__rows { display: grid; gap: 10px; font-size: 15px; }
.ws__row { display: flex; gap: 10px; align-items: flex-start; color: var(--soft); }
.ws__row svg { width: 18px; height: 18px; margin-top: 2px; color: var(--muted); }
.ws__row a:hover { color: #fff; }
.ws__rates { display: flex; flex-wrap: wrap; gap: 8px; }
.rate { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px; background: var(--card-2); border: 1px solid var(--line); font-size: 13px; font-weight: 700; transition: border-color .2s; }
.rate:hover { border-color: rgba(255, 255, 255, .3); }
.rate__logo { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 6px; font-size: 11px; font-weight: 800; color: #fff; }
.rate__logo--ya { background: #fc3f1d; }
.rate__logo--gis { background: #29a33c; }
.rate svg { width: 13px; height: 13px; color: var(--star); }
.rate span { color: var(--muted); font-weight: 500; }
.ws__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
@media (max-width: 1000px) { .ws-grid { grid-template-columns: 1fr; } }
.ws-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 18px 22px; border-radius: 16px; border: 1px dashed var(--line); color: var(--soft); font-size: 15px; }
.ws-note svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--red); }
.ws-note b { color: #fff; }
.ws-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ——— Отзывы ——— */
.rsum { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-bottom: 28px; padding: 22px 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.rsum__score { font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.rsum__body { flex: 1 1 340px; }
.rsum__stars { display: flex; gap: 3px; color: var(--star); }
.rsum__stars svg { width: 20px; height: 20px; }
.rsum__text { color: var(--soft); font-size: 15px; }
.rsum__text b { color: #fff; }
.rsum__links { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rcard { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.rcard__stars { display: flex; gap: 2px; color: var(--star); }
.rcard__stars svg { width: 16px; height: 16px; }
.rcard__text { font-size: 16px; line-height: 1.55; color: #e4e4e7; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rcard__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; font-size: 13px; color: var(--muted); }
.rcard__author { color: #fff; font-weight: 700; font-size: 15px; }
.rcard__src { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
a.rcard__src { transition: color .2s; }
a.rcard__src:hover { color: #fff; }
@media (max-width: 1000px) { .rgrid { grid-template-columns: 1fr 1fr; } .rsum__links { margin-left: 0; } }
@media (max-width: 640px) { .rgrid { grid-template-columns: 1fr; } }

/* ——— Канал ——— */
.channel { display: flex; align-items: center; gap: 16px; }
.channel img { width: 56px; height: 56px; border-radius: 50%; }
.channel__stats { font-size: 15px; color: var(--muted); }
.channel__stats b { color: #fff; }
.vgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 16px; }
.vgrid .vcard__title { font-size: 16px; }
.vgrid .vcard__play { width: 42px; height: 42px; }
@media (max-width: 1000px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vgrid { grid-template-columns: 1fr; } }

/* ——— Подвал ——— */
.foot { padding-block: 64px 28px; border-top: 1px solid var(--line); background: var(--bar); font-size: 15px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.05fr); gap: 36px 32px; }
.foot__brand img { height: 56px; width: auto; margin-bottom: 16px; }
.foot__brand p { max-width: 24em; color: var(--muted); }
.foot__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.foot__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); color: var(--soft); transition: color .2s, border-color .2s; }
.foot__social a:hover { color: #fff; border-color: var(--red); }
.foot__social svg { width: 18px; height: 18px; }
.foot__col { display: grid; gap: 10px; align-content: start; }
.foot__col a { color: var(--soft); transition: color .2s; }
.foot__col a:hover { color: var(--red); }
.foot__label { margin-bottom: 4px; font-size: 15px; font-weight: 700; color: #fff; }
.foot__col small { display: block; color: var(--muted); font-size: 13px; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot__legal nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__legal a:hover { color: #fff; }
@media (max-width: 1100px) { .foot__top { grid-template-columns: repeat(4, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 900px) { .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot__top { grid-template-columns: 1fr; } }

/* ——— Текстовые страницы ——— */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: #fff; }
.page-top { padding-block: clamp(36px, 5vw, 64px) 8px; }
.prose { max-width: 860px; font-size: 17px; line-height: 1.7; color: #dcdce0; }
.prose h2 { margin: 40px 0 12px; font-size: 26px; line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.prose h3 { margin: 28px 0 10px; font-size: 20px; color: #fff; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0; padding-left: 22px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--red); }
.prose .note { margin-top: 28px; padding: 18px 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 15px; color: var(--soft); }

/* End */
/* /local/templates/fm2026/css/base.css?179026926736107 */
/* /local/templates/fm2026/css/fm.css?179028345019181 */
