/* PLODDERS — стили темы. Макет: Figma-дамп PLODDERS (Desktop 1920 / Mobile 390 / Mobile Menu). */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-cyrillic-wght.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #101a20;
  --ink-2: #15202a;
  --shade: 7, 16, 23;
  --cream: #f7f2e9;
  --red: #ff2638;
  --white: #fff;
  --muted: #d5dadd;
  --line: #7e8589;
  --line-2: #a1a7ab;
  --line-3: #c1c6c9;
  --gutter: clamp(24px, 10.42vw, 200px);
  --sec-pad: clamp(64px, 5vw, 96px);
  --gap: 28px;
  --fs-label: clamp(11px, 0.83vw, 16px);
  --lh-label: clamp(16px, 1.25vw, 24px);
  --fs-h1: clamp(40px, 4.58vw, 88px);
  --lh-h1: 1.09;
  --fs-h2: clamp(32px, 3.33vw, 64px);
  --fs-h2xl: clamp(34px, 3.75vw, 72px);
  --fs-body: clamp(16px, 1.15vw, 22px);
  --lh-body: 1.4545;
  --fs-h3: clamp(21px, 1.56vw, 30px);
  --fs-btn: clamp(16px, 1.04vw, 20px);
  --text-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 0 24px rgba(0, 0, 0, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-width: 320px;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-front { background: var(--ink); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.lock { overflow: hidden; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 12px 20px; background: var(--cream); color: var(--ink-2); border-radius: 40px; font-weight: 600; font-size: 16px; }
.skip-link:focus { top: 16px; }

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

.label { font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0; }
.h2 { font-size: var(--fs-h2); line-height: 1.125; font-weight: 800; color: var(--white); text-wrap: balance; }
.h2--xl { font-size: var(--fs-h2xl); line-height: 1.111; }
.rule { display: block; width: clamp(64px, 5.83vw, 112px); height: clamp(4px, .42vw, 8px); background: var(--red); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 32px;
  min-height: 72px; padding: 24px 32px; border-radius: 40px;
  font-size: var(--fs-btn); line-height: 24px; font-weight: 600; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn__icon { flex: none; width: 24px; height: 24px; transition: transform .25s var(--ease); }
.btn:hover .btn__icon { transform: translate(3px, -3px); }
.btn__icon--down { transform: rotate(90deg); }
.btn:hover .btn__icon--down { transform: rotate(90deg) translateX(3px); }
.btn--light { background: var(--cream); color: var(--ink-2); }
.btn--light .btn__icon { color: var(--red); }
.btn--light:hover { background: var(--white); }
.btn--outline { border: 1px solid var(--cream); color: var(--cream); min-height: 74px; }
.btn--outline:hover { background: var(--cream); color: var(--ink-2); }
.btn--outline:hover .btn__icon { color: var(--red); }
.btn--block { width: 100%; }

.round-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--cream); flex: none; transition: background-color .2s, color .2s, border-color .2s; }
.round-btn:hover { background: var(--cream); color: var(--ink-2); border-color: var(--cream); }

.arrow-btn { display: inline-grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--cream); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.arrow-btn svg { width: 24px; height: 24px; }
.arrow-btn--light { background: var(--cream); border-color: var(--cream); color: var(--red); }
.arrow-btn--outline:hover { background: rgba(247, 242, 233, .12); }
.arrow-btn--light:hover { background: var(--white); }
.arrow-btn:disabled { opacity: .35; cursor: default; }

/* ---------- Фоновое видео ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--ink) url("../video/bg-poster.webp") center / cover no-repeat; }
.bg__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.bg__video.is-playing { opacity: 1; }
.bg__shade { position: absolute; inset: 0; background: rgba(var(--shade), .4); }
@media (max-aspect-ratio: 1/1) { .bg { background-image: url("../video/bg-poster-m.webp"); } }

/* Затемнение каждой секции поверх общего: текст читается на любом кадре видео. */
.section, .hero { position: relative; isolation: isolate; text-shadow: var(--text-shadow); }
.section::before, .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero::before { background: linear-gradient(90deg, rgba(var(--shade), .72) 0%, rgba(var(--shade), .5) 42%, rgba(var(--shade), .12) 78%, rgba(var(--shade), .08) 100%), linear-gradient(180deg, rgba(var(--shade), .5) 0%, rgba(var(--shade), 0) 22%, rgba(var(--shade), 0) 72%, rgba(var(--shade), .55) 100%); }
.section::before { background: linear-gradient(180deg, rgba(var(--shade), .62) 0%, rgba(var(--shade), .5) 100%); }
.team::before, .videos::before { background: linear-gradient(180deg, rgba(var(--shade), .74) 0%, rgba(var(--shade), .6) 100%); }
.contact::before { background: linear-gradient(90deg, rgba(var(--shade), .68) 0%, rgba(var(--shade), .66) 50%, rgba(var(--shade), .8) 100%); }
.section + .section { border-top: 1px solid rgba(247, 242, 233, .08); }

/* ---------- Шапка ---------- */
.site-header { position: relative; z-index: 20; padding-block: 24px; }
.site-header--over { position: absolute; inset: 0 0 auto; }
.is-inner .site-header { background: var(--ink); border-bottom: 1px solid rgba(247, 242, 233, .1); }
.site-header__inner { display: flex; align-items: center; }
.logo { display: block; flex: none; width: 144px; }
.logo__img { width: 100%; height: auto; }
.nav { margin-left: clamp(32px, calc(100% - 1264px), 256px); }
.nav__list { display: flex; gap: 40px; }
.nav__link { position: relative; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--cream); padding-block: 6px; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover::after { transform: scaleX(1); }
.site-header .btn--outline { margin-left: 64px; }
.burger { display: none; margin-left: auto; }

/* ---------- Мобильное меню ---------- */
.mmenu { position: fixed; inset: 0; z-index: 1050; background: var(--ink); overflow-y: auto; overscroll-behavior: contain; animation: fade-in .25s ease; }
.mmenu__inner { min-height: 100%; display: flex; flex-direction: column; padding: 20px 24px max(32px, env(safe-area-inset-bottom)); }
.mmenu__top { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.mmenu__top .logo { width: 100px; }
.mmenu__nav { padding-top: 64px; }
.mmenu__nav a { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 27px; line-height: 36px; font-weight: 500; color: var(--cream); }
.mmenu__nav a:hover { color: var(--white); }
.mmenu__bottom { margin-top: auto; padding-top: 48px; }
.mmenu__bottom .btn { min-height: 56px; padding: 0 20px 0 24px; font-size: 16px; }
.mmenu__contacts { display: grid; gap: 8px; padding-top: 24px; font-size: 14px; line-height: 22px; }
.mmenu__social { margin-top: 20px; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Мессенджеры ---------- */
.social { display: flex; flex-wrap: wrap; gap: 12px; }
.social__link { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 14px; border: 1px solid var(--line-2); border-radius: 40px; font-size: 15px; font-weight: 500; color: var(--cream); transition: background-color .2s, color .2s, border-color .2s; }
.social__link svg { width: 22px; height: 22px; color: var(--cream); }
.social__link:hover { background: var(--cream); color: var(--ink-2); border-color: var(--cream); }
.social__link:hover svg { color: var(--red); }

/* ---------- Первый экран ---------- */
.hero { min-height: max(100vh, 760px); min-height: max(100svh, 760px); display: flex; }
.hero__inner { display: flex; flex-direction: column; justify-content: space-between; padding-top: calc(160px + clamp(40px, 4.17vw, 80px)); padding-bottom: clamp(32px, 4.5vw, 96px); }
.hero__content { display: flex; flex-direction: column; gap: 24px; max-width: 920px; }
.hero__title { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: 800; color: var(--white); text-transform: uppercase; }
.hero__text { max-width: 750px; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--cream); }
.hero__cta { padding-top: 8px; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-top: 56px; }
.hero__scroll { display: grid; gap: 16px; justify-items: start; }
.hero__arrow { font-size: 30px; line-height: 40px; font-weight: 600; color: var(--cream); animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .hero__arrow { animation: none; } }
.hero__note { display: flex; align-items: center; gap: 16px; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--cream); margin-right: clamp(0px, 2.6vw, 49px); }
.dot { width: 8px; height: 8px; background: var(--red); flex: none; animation: rec 1.6s steps(1) infinite; }
@keyframes rec { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* ---------- Услуги ---------- */
.services { padding-block: var(--sec-pad) clamp(80px, 6.25vw, 120px); }
.services__grid { display: grid; grid-template-columns: minmax(0, 617fr) minmax(0, 875fr); gap: var(--gap); align-items: start; }
.services__statement { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 32px; }
.services__count { display: flex; gap: 24px; padding-top: 64px; }
.services__num { font-size: clamp(72px, 8.33vw, 160px); line-height: 1.05; font-weight: 800; color: var(--red); letter-spacing: -.01em; }
.services__caption { padding-top: clamp(14px, 4.17vw, 80px); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--cream); }
.services__list { border-top: 1px solid transparent; }
.svc { display: flex; align-items: flex-start; gap: 28px; padding: 24px 0 16px; border-bottom: 1px solid var(--line); min-height: 117px; }
.svc__copy { flex: 1; display: grid; gap: 4px; min-width: 0; }
.svc__name { font-size: var(--fs-h3); line-height: 1.333; font-weight: 600; color: var(--white); transition: color .2s; }
.svc__desc { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--muted); }
.svc .arrow-btn { margin-right: 37px; }
.svc:hover .arrow-btn, .svc:focus-visible .arrow-btn { background: var(--cream); border-color: var(--cream); color: var(--red); }
.svc:hover .arrow-btn svg { animation: poke .5s var(--ease); }
@keyframes poke { 50% { transform: translateX(4px); } }

/* ---------- Окно услуги ---------- */
.js .modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 32px; visibility: hidden; pointer-events: none; }
.js .modal.is-open { visibility: visible; pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(var(--shade), .78); opacity: 0; transition: opacity .3s ease; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel { position: relative; width: min(1040px, 100%); max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; background: var(--ink); border: 1px solid rgba(247, 242, 233, .12); border-radius: 24px; box-shadow: 0 40px 120px rgba(0, 0, 0, .55); text-shadow: none; outline: none; }
.js .modal__panel { opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .3s var(--ease), transform .35s var(--ease); }
.js .modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 20px; right: 20px; z-index: 2; background: rgba(16, 26, 32, .6); border-color: rgba(247, 242, 233, .5); }
.js .svc-detail:not(.is-active) { display: none; }
.no-js .modal { padding-block: 0 var(--sec-pad); }
.no-js .modal__panel { margin: 0 auto; width: calc(100% - 2 * var(--gutter)); max-width: 1520px; max-height: none; }
.no-js .modal__close, .no-js .modal__backdrop, .no-js .svc-detail__nav { display: none; }
.no-js .svc-detail + .svc-detail { border-top: 1px solid var(--line); }
.svc-detail__media { position: relative; aspect-ratio: 1200 / 440; overflow: hidden; }
.svc-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 26, 32, 0) 35%, rgba(16, 26, 32, 1) 100%); }
.svc-detail__body { position: relative; margin-top: -64px; padding: 0 48px 40px; display: grid; gap: 16px; }
.svc-detail__title { font-size: clamp(26px, 2.3vw, 40px); line-height: 1.15; font-weight: 800; color: var(--white); text-wrap: balance; padding-bottom: 4px; }
.svc-detail__lead { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 820px; }
.svc-detail__lead:first-of-type { color: var(--cream); }
.svc-detail__cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; padding-top: 16px; }
.svc-detail__h { font-size: 13px; line-height: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--line-2); margin-bottom: 14px; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; color: var(--cream); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg) translateY(-3px); }
.svc-detail__for { font-size: 16px; line-height: 1.55; color: var(--muted); padding-left: 16px; border-left: 3px solid var(--red); }
.svc-detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 16px; }
.svc-detail__phone { font-size: 18px; font-weight: 500; border-bottom: 1px solid rgba(247, 242, 233, .4); }
.svc-detail__phone:hover { border-color: var(--red); }
.svc-detail__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 20px; border-top: 1px solid rgba(126, 133, 137, .5); font-size: 14px; line-height: 20px; color: var(--line-3); }
.svc-detail__nav a { display: inline-flex; align-items: center; gap: 10px; max-width: 48%; }
.svc-detail__nav a:last-child { text-align: right; }
.svc-detail__nav svg { width: 16px; height: 16px; flex: none; color: var(--red); }
.svc-detail__nav a:hover { color: var(--white); }

/* ---------- Команда (фото) ---------- */
.team { padding-block: var(--sec-pad) clamp(56px, 3.6vw, 69px); }
.team__head { display: grid; grid-template-columns: minmax(0, 1004fr) minmax(0, 488fr); gap: var(--gap); align-items: end; margin-top: 32px; }
.team__note { align-self: stretch; display: flex; align-items: flex-end; min-height: 104px; padding-left: 24px; border-left: 2px solid var(--red); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--cream); }
.team__viewport { margin-top: 32px; }
.team__track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline-offset: 6px; }
.team__track::-webkit-scrollbar { display: none; }
.team__item { flex: 0 0 calc((100% - 3 * var(--gap)) / 4); scroll-snap-align: start; }
.team__photo { display: block; width: 100%; aspect-ratio: 359 / 539; overflow: hidden; background: var(--ink-2); }
.team__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.team__photo:hover img { transform: scale(1.04); }
.team__controls { display: grid; grid-template-columns: minmax(0, 1004fr) minmax(0, 488fr); gap: var(--gap); padding-top: 40px; }
.progress { display: flex; gap: 12px; padding-top: 24px; }
.progress span { flex: 1; height: 4px; background: #8a9093; transition: background-color .3s; }
.progress span.is-active { background: var(--red); }
.team__nav { display: flex; align-items: center; gap: 24px; justify-content: flex-start; padding-left: clamp(0px, 8.33vw, 160px); }
.team__index { font-size: 16px; line-height: 24px; font-weight: 500; min-width: 60px; font-variant-numeric: tabular-nums; }

/* ---------- Видео ---------- */
.videos { padding-block: var(--sec-pad); }
.videos__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 48px; }
.vcard { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); text-align: left; }
.vcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), 0) 50%, rgba(var(--shade), .75) 100%); }
.vcard:hover .vcard__img { transform: scale(1.04); }
.vcard__play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--cream); color: var(--red); transition: transform .3s var(--ease); }
.vcard:hover .vcard__play { transform: scale(1.08); }
.vcard__title { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 1; font-size: 18px; line-height: 1.35; font-weight: 600; color: var(--white); }
.videos__more { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Подход ---------- */
.approach { padding-block: var(--sec-pad) clamp(80px, 7.8vw, 150px); }
.approach .h2 { margin-top: 24px; }
.approach__promise { display: flex; gap: 20px; margin-top: 24px; margin-left: calc(774 / 1520 * 100%); font-size: var(--fs-h3); line-height: 1.333; font-weight: 600; color: var(--cream); }
.approach__promise::before { content: ""; width: 4px; flex: none; background: var(--red); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); padding-top: 112px; counter-reset: step; }
.step { display: flex; flex-direction: column; gap: 16px; }
.step:nth-child(2) { padding-top: 48px; }
.step:nth-child(3) { padding-top: 96px; }
.step { outline: none; border-radius: 4px; }
.step__num { font-size: clamp(64px, 6.25vw, 120px); line-height: 1.133; font-weight: 300; color: transparent; -webkit-text-stroke: 1px var(--cream); -webkit-text-stroke-color: var(--cream); text-shadow: none; transition: color .25s ease, -webkit-text-stroke-color .25s ease; }
.step__line { position: relative; height: 2px; background: #a7adb1; overflow: hidden; }
.step__line::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.step__title { transition: color .25s ease; }
/* Красный акцент — только при наведении мышью или фокусе с клавиатуры; на тач-экранах без «залипания» */
@media (hover: hover) and (pointer: fine) {
  .step:hover .step__num { color: var(--red); -webkit-text-stroke-color: var(--red); }
  .step:hover .step__line::after { transform: scaleX(1); }
}
.step:focus-visible .step__num { color: var(--red); -webkit-text-stroke-color: var(--red); }
.step:focus-visible .step__line::after { transform: scaleX(1); }
.step:focus-visible .step__title { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 6px; text-decoration-thickness: 2px; }
@media (prefers-reduced-motion: reduce) { .step__num, .step__line::after, .step__title { transition: none; } }
.step__title { font-size: var(--fs-h3); line-height: 1.333; font-weight: 600; color: var(--cream); }
.step__text { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--muted); }

/* ---------- География ---------- */
.geo { padding-block: var(--sec-pad) clamp(80px, 8vw, 160px); }
.geo__grid { display: grid; grid-template-columns: minmax(0, 617fr) minmax(0, 875fr); gap: var(--gap); }
.geo__statement { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.geo__text { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--cream); }
.geo__grid { align-items: center; row-gap: clamp(48px, 5vw, 96px); }
.geo__text { max-width: 560px; }
.geo-map { position: relative; margin: 0; }
.geo-map::before { content: ""; position: absolute; inset: -14% -10%; background: radial-gradient(closest-side, rgba(var(--shade), .82) 0%, rgba(var(--shade), .62) 55%, rgba(var(--shade), 0) 100%); pointer-events: none; }
.geo-map__svg { position: relative; display: block; width: 100%; height: auto; overflow: visible; }
.geo-map__dots { fill: none; stroke: rgba(247, 242, 233, .58); stroke-width: 5.6; stroke-linecap: round; }
.geo-map__glow { fill: none; stroke: var(--red); stroke-width: 6.4; stroke-linecap: round; }
.geo-map__sweep { animation: geo-sweep 6s linear infinite; }
@keyframes geo-sweep { 0% { transform: translateX(0); } 100% { transform: translateX(1840px); } }
@media (prefers-reduced-motion: reduce) {
  .geo-map__sweep { animation: none; transform: translateX(920px); }
}
.geo__points { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.geo-point { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid #707c85; }
.geo-point__title { position: relative; padding-left: 26px; font-size: var(--fs-h3); line-height: 1.333; font-weight: 600; color: var(--cream); }
.geo-point__title::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--red); transform: translateY(-2px); }
.geo-point__text { font-size: 18px; line-height: 28px; color: var(--muted); }

/* ---------- Контакты и форма ---------- */
.contact { padding-block: var(--sec-pad) clamp(80px, 7vw, 140px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 746fr) minmax(0, 617fr); gap: clamp(40px, 8.2vw, 157px); }
.contact__statement { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.contact__statement .h2 { margin-top: 0; }
.contact__text { display: flex; gap: 24px; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--cream); }
.contact__text::before { content: ""; width: 4px; flex: none; background: var(--red); }
.contact__direct { display: grid; gap: 16px; padding-top: 8px; font-size: var(--fs-body); line-height: var(--lh-body); }
.contact__direct a { width: fit-content; border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact__direct a:hover { border-color: var(--red); }

.form { position: relative; display: flex; flex-direction: column; gap: 40px; padding-top: 48px; text-shadow: none; }
.form__title { font-size: var(--fs-h3); line-height: 1.333; font-weight: 600; color: var(--cream); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.field { position: relative; padding-top: 8px; }
.field__input { display: block; width: 100%; height: 49px; padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--line-3); border-radius: 0; background: transparent; color: var(--white); font: inherit; font-size: 18px; line-height: 24px; font-weight: 500; outline: none; transition: border-color .2s; resize: none; -webkit-appearance: none; appearance: none; }
textarea.field__input { height: auto; min-height: 49px; padding-top: 12px; margin-top: 0; overflow: hidden; }
.field__input:focus { border-bottom-color: var(--cream); }
.field__input:-webkit-autofill { -webkit-text-fill-color: var(--white); box-shadow: 0 0 0 100px var(--ink-2) inset; transition: background-color 9999s; }
.field__label { position: absolute; left: 0; top: 8px; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--cream); pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s; }
.field--area .field__label { top: 20px; }
.field__input:focus + .field__label, .field__input:not(:placeholder-shown) + .field__label { transform: translateY(-22px) scale(.75); color: var(--line-3); }
.field--area .field__input:focus + .field__label, .field--area .field__input:not(:placeholder-shown) + .field__label { transform: translateY(-26px) scale(.75); }
.field__error { display: block; min-height: 0; font-size: 13px; line-height: 18px; color: #ff8a94; padding-top: 6px; }
.field__error:empty { padding: 0; }
.field.is-invalid .field__input { border-bottom-color: var(--red); }
.field--area { padding-bottom: 24px; }
.form__consent { order: 6; }
.form__submit { order: 5; }
.form__status { order: 7; }
.check { display: flex; gap: 16px; align-items: flex-start; cursor: pointer; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--muted); }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; }
.check__box { position: relative; flex: none; width: 24px; height: 24px; border: 1px solid var(--white); border-radius: 4px; transition: background-color .2s, border-color .2s; }
.check__box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 7px; height: 12px; border: solid var(--ink-2); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .2s var(--ease); }
.check input:checked + .check__box { background: var(--cream); border-color: var(--cream); }
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--red); outline-offset: 3px; }
.check a { color: var(--cream); text-decoration: underline; text-decoration-color: rgba(247, 242, 233, .45); text-underline-offset: 3px; }
.check a:hover { text-decoration-color: var(--red); }
.form__consent.is-invalid .check__box { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.form__consent .field__error { padding-left: 40px; }
.form .btn { align-self: flex-start; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form__status { font-size: 16px; line-height: 24px; font-weight: 500; margin-top: -16px; }
.form__status:empty { display: none; }
.form__status.is-ok { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: 16px; background: rgba(247, 242, 233, .1); border: 1px solid rgba(247, 242, 233, .3); color: var(--white); }
.form__status.is-ok::before { content: ""; flex: none; width: 10px; height: 18px; margin: 1px 6px 0 4px; border: solid var(--red); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.form__status.is-error { color: #ff8a94; }
.chip { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: -16px; padding: 6px 6px 6px 16px; border-radius: 40px; background: rgba(247, 242, 233, .1); border: 1px solid rgba(247, 242, 233, .35); font-size: 15px; line-height: 22px; color: var(--cream); }
.chip strong { font-weight: 600; color: var(--white); }
.chip button { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.chip button:hover { background: var(--cream); color: var(--ink-2); }
.chip svg { width: 16px; height: 16px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__social { margin-top: 8px; }

/* ---------- Подвал ---------- */
.site-footer { position: relative; padding: 0 0 55px; background: transparent; font-size: 16px; line-height: 24px; font-weight: 500; }
.is-front .site-footer { background: rgba(var(--shade), .78); }
.site-footer .container > .site-footer__row { border-top: 1px solid #899198; padding-top: 32px; }
.is-front .site-footer { padding-top: 48px; }
.is-inner .site-footer { padding-top: 48px; }
.site-footer__row { display: flex; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.site-footer__brand { display: block; flex: none; width: 112px; }
.site-footer__logo { display: block; width: 100%; height: auto; }
.site-footer__social { gap: 8px; }
.site-footer__social .social__link { height: 40px; padding: 0 14px 0 10px; font-size: 14px; }
.site-footer__legal { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 32px; color: var(--muted); }
.site-footer__legal a:hover { color: var(--white); }

/* ---------- Просмотр фото/видео ---------- */
.lb { position: fixed; inset: 0; z-index: 1100; display: grid; grid-template-rows: auto 1fr; background: rgba(10, 16, 21, .96); animation: fade-in .2s ease; }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; }
.lb__count { font-size: 16px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.lb__stage { position: relative; display: grid; place-items: center; padding: 0 112px 32px; min-height: 0; touch-action: pan-y; }
.lb__stage img, .lb__stage video { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; background: #000; }
.lb__stage .lb__frame { width: min(100%, calc((100dvh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.lb__stage iframe { width: 100%; height: 100%; border: 0; }
.lb__prev, .lb__next { position: absolute; top: 50%; margin-top: -32px; }
.lb__prev { left: 24px; }
.lb__next { right: 24px; }
.lb.is-single .lb__prev, .lb.is-single .lb__next { display: none; }

/* ---------- Юридические страницы ---------- */
.legal { padding: 64px 0 96px; }
.legal__inner { max-width: calc(860px + 2 * var(--gutter)); }
.legal__title { font-size: clamp(30px, 3vw, 48px); line-height: 1.15; font-weight: 800; color: var(--white); margin-bottom: 32px; text-wrap: balance; }
.prose { font-size: 17px; line-height: 1.65; color: var(--muted); }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 40px; font-size: 22px; line-height: 1.35; font-weight: 700; color: var(--white); }
.prose h3 { margin-top: 28px; font-size: 18px; line-height: 1.4; font-weight: 600; color: var(--cream); }
.prose ul, .prose ol { padding-left: 24px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.prose strong { color: var(--cream); font-weight: 600; }
.prose .lead { font-size: 19px; line-height: 1.6; color: var(--cream); }
.prose li::marker { color: var(--red); }
.prose .label { margin-bottom: 12px; }

/* ================= Адаптив ================= */
@media (max-width: 1599px) {
  .site-header .btn--outline { margin-left: auto; }
}
@media (max-width: 1199px) {
  .nav, .site-header .btn--outline { display: none; }
  .burger { display: inline-grid; }
  .logo { width: 120px; }
  .svc .arrow-btn { margin-right: 0; }
  .approach__promise { margin-left: 0; }
}
@media (max-width: 1023px) {
  :root { --gap: 20px; }
  .services__grid, .geo__grid, .contact__grid { grid-template-columns: 1fr; }
  .geo-map { max-width: 760px; }
  .services__statement { position: static; }
  .services__list { margin-top: 24px; }
  .team__head, .team__controls { grid-template-columns: 1fr; }
  .team__item { flex-basis: calc((100% - 2 * var(--gap)) / 3); }
  .team__nav { padding-left: 0; justify-content: space-between; }
  .steps { grid-template-columns: 1fr; padding-top: 48px; gap: 40px; }
  .step:nth-child(n) { padding-top: 0; }
  .svc-detail__cols { grid-template-columns: 1fr; gap: 28px; }
}

/* Мобильная версия (макет 390) */
@media (max-width: 899px) {
  :root { --gutter: 24px; --sec-pad: 64px; --gap: 12px; }
  .bg__shade { background: rgba(var(--shade), .42); }
  .site-header { padding-block: 20px; }
  .logo { width: 100px; }
  .btn { min-height: 56px; padding: 0 20px 0 24px; font-size: 16px; gap: 12px; }
  .hero__cta .btn, .geo__cta .btn, .form .btn { width: 100%; }
  .geo__cta { width: 100%; }

  .hero { min-height: max(100svh, 640px); }
  .hero::before { background: linear-gradient(180deg, rgba(var(--shade), .62) 0%, rgba(var(--shade), .52) 55%, rgba(var(--shade), .38) 80%, rgba(var(--shade), .6) 100%); }
  .hero__inner { padding-top: calc(120px + 72px); padding-bottom: 32px; }
  .hero__content { gap: 20px; }
  .hero__title { font-size: 40px; line-height: 44px; }
  .hero__text { font-size: 16px; line-height: 24px; max-width: 310px; }
  .hero__cta { padding-top: 0; }
  .hero__bottom { align-items: flex-end; }
  .hero__scroll { display: flex; align-items: center; gap: 12px; }
  .hero__scroll .label { font-size: 11px; line-height: 16px; }
  .hero__arrow { font-size: 20px; line-height: 24px; }
  .hero__note { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 10px; line-height: 16px; margin-right: 0; }
  .dot { width: 6px; height: 6px; }

  .label { font-size: 11px; line-height: 16px; }
  .section::before { background: linear-gradient(180deg, rgba(var(--shade), .64) 0%, rgba(var(--shade), .56) 100%); }
  .h2 { font-size: 34px; line-height: 40px; }
  .rule { width: 64px; height: 4px; }

  .services { padding-block: 64px; }
  .services__statement { gap: 20px; }
  .services__count { padding-top: 0; gap: 16px; align-items: center; }
  .services__num { font-size: 72px; line-height: 80px; }
  .services__caption { padding-top: 0; font-size: 15px; line-height: 22px; }
  .services__list { margin-top: 0; }
  .svc { align-items: center; gap: 16px; padding: 20px 0; min-height: 121px; }
  .svc__copy { gap: 8px; }
  .svc__name { font-size: 22px; line-height: 28px; }
  .svc__desc { font-size: 15px; line-height: 22px; }
  .svc .arrow-btn { width: 44px; height: 44px; }

  .js .modal { padding: 0; place-items: end stretch; }
  .modal__panel { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 24px 24px 0 0; border-bottom: 0; }
  .js .modal__panel { transform: translateY(100%); transition: transform .4s var(--ease), opacity .2s; opacity: 1; }
  .js .modal.is-open .modal__panel { transform: none; }
  .modal__panel::before { content: ""; position: sticky; top: 8px; z-index: 3; display: block; width: 44px; height: 4px; margin: 8px auto -12px; border-radius: 2px; background: rgba(247, 242, 233, .55); }
  .modal__close { top: 16px; right: 16px; width: 44px; height: 44px; }
  .svc-detail__media { aspect-ratio: 16 / 9; }
  .svc-detail__body { margin-top: -40px; padding: 0 24px max(28px, env(safe-area-inset-bottom)); gap: 14px; }
  .svc-detail__title { font-size: 26px; line-height: 32px; }
  .svc-detail__lead { font-size: 15px; line-height: 24px; }
  .ticks li, .svc-detail__for { font-size: 15px; }
  .svc-detail__actions { gap: 16px; }
  .svc-detail__actions .btn { width: 100%; }
  .svc-detail__nav { font-size: 13px; }
  .no-js .modal__panel { width: 100%; }

  .team { padding-block: 64px; }
  .team__head { margin-top: 24px; gap: 24px; }
  .team__note { min-height: 0; padding-left: 12px; border-left-width: 3px; font-size: 15px; line-height: 22px; align-items: flex-start; }
  .team__viewport { margin-top: 24px; padding-right: 0; }
  .team__track { scroll-padding-left: 24px; padding-right: 24px; }
  .team__item { flex: 0 0 280px; }
  .team__photo { aspect-ratio: 280 / 420; }
  .team__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; }
  .progress { flex: 0 1 164px; gap: 4px; padding-top: 0; }
  .progress span { height: 2px; background: var(--line); }
  .team__nav { gap: 12px; }
  .team__index { font-size: 11px; line-height: 16px; min-width: 46px; margin-right: 4px; }
  .team__nav .arrow-btn { width: 44px; height: 44px; }

  .videos__grid { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .vcard { aspect-ratio: 4 / 5; }
  .vcard__play { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .videos__more .btn { width: 100%; justify-content: center; }

  .approach .h2 { margin-top: 24px; }
  .approach__promise { gap: 14px; font-size: 20px; line-height: 26px; }
  .approach__promise::before { width: 3px; }
  .steps { padding-top: 16px; gap: 32px; }
  .step { display: grid; grid-template-columns: 96px 1fr; column-gap: 20px; row-gap: 14px; align-items: center; }
  .step__num { font-size: 64px; line-height: 72px; }
  .step__title { grid-column: 2; grid-row: 1; font-size: 21px; line-height: 28px; }
  .step__line { grid-column: 1 / -1; height: 1px; }
  .step__text { grid-column: 1 / -1; font-size: 16px; line-height: 24px; }
  .step__text br { display: none; }

  .geo { padding-block: 64px; }
  .geo .h2 { font-size: 36px; line-height: 42px; }
  .geo__text { font-size: 16px; line-height: 24px; }
  .geo__points { grid-template-columns: 1fr; gap: 24px; }
  .geo-point { padding-top: 18px; gap: 8px; }
  .geo-point__title { font-size: 19px; line-height: 26px; padding-left: 22px; }
  .geo-point__text { font-size: 15px; line-height: 22px; }
  .geo-map { margin-inline: -8px; }
  .geo__grid { gap: 24px; }

  .contact { padding-block: 64px 48px; }
  .contact__grid { gap: 24px; }
  .contact__statement { gap: 24px; }
  .contact__text { gap: 14px; font-size: 16px; line-height: 24px; }
  .contact__text::before { width: 3px; }
  .contact__direct { gap: 12px; padding-top: 4px; font-size: 18px; line-height: 26px; }
  .form { padding-top: 24px; gap: 24px; }
  .form__title { font-size: 24px; line-height: 32px; }
  .form__row { grid-template-columns: 1fr; gap: 24px; }
  .field { padding-top: 12px; }
  .field__label { top: 12px; }
  .field--area { padding-bottom: 0; }
  .field--area .field__label { top: 24px; }
  textarea.field__input { min-height: 85px; }
  .form__consent { order: 5; }
  .form__submit { order: 6; }
  .check { gap: 12px; font-size: 12px; line-height: 18px; }
  .form__consent .field__error { padding-left: 36px; }
  .form__status { margin-top: 0; }
  .chip { margin-top: 0; font-size: 14px; }

  .site-footer, .is-front .site-footer, .is-inner .site-footer { padding: 36px 0 32px; font-size: 12px; line-height: 18px; }
  .site-footer .container > .site-footer__row { padding-top: 20px; }
  .site-footer__row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .site-footer__legal { margin-left: 0; flex-direction: column; gap: 12px; }
  .site-footer__brand { width: 96px; }

  .lb__stage { padding: 0 0 88px; }
  .lb__prev, .lb__next { top: auto; bottom: 20px; margin-top: 0; }
  .lb__prev { left: calc(50% - 76px); }
  .lb__next { right: calc(50% - 76px); }
  .lb__stage img, .lb__stage video { max-height: calc(100dvh - 180px); }
  .lb__stage .lb__frame { width: 100%; }

  .legal { padding: 40px 0 64px; }
  .prose { font-size: 15px; }
  .prose .lead { font-size: 16px; }
  .prose h2 { font-size: 19px; }
}
@media (max-width: 374px) {
  .hero__title { font-size: 34px; line-height: 38px; }
  .h2 { font-size: 30px; line-height: 36px; }
  .team__item { flex-basis: 248px; }
  .hero__note { display: none; }
}

/* ---------- Силуэты героев в карточках услуг (1.2.0) ---------- */
.svc--hero { --hero-hmax: 164px; --hero-wmax: 200px; --hero-h: min(var(--hero-hmax), calc(var(--hero-wmax) / var(--hero-ar, .6))); --hero-w: calc(var(--hero-h) * var(--hero-ar, .6)); position: relative; min-height: 176px; isolation: isolate; }
.svc--hero .svc__copy { padding-right: calc(var(--hero-w) + 24px); align-self: center; }
.svc-hero { position: absolute; right: -14px; bottom: -1px; width: var(--hero-w); height: var(--hero-h); pointer-events: none; z-index: 1; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .45)); animation: svc-hero-in .8s cubic-bezier(.2, .7, .2, 1) both .15s; }
.svc-hero__fig { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(247, 242, 233, .96), rgba(247, 242, 233, .5)); -webkit-mask: var(--hero-src) right bottom / contain no-repeat; mask: var(--hero-src) right bottom / contain no-repeat; transform-origin: 70% 100%; transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .35s ease; }
.svc-hero__fig--accent { background: linear-gradient(180deg, #ff4352, #c80f1f); opacity: 0; }
/* «пол» под героем */
.svc-hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 2px; background: linear-gradient(90deg, rgba(255, 38, 56, 0), var(--red) 30%, var(--red) 70%, rgba(255, 38, 56, 0)); transform: scaleX(0); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.svc-hero::before { content: ""; position: absolute; left: 5%; right: 5%; bottom: -8px; height: 16px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 38, 56, .55), rgba(255, 38, 56, 0)); opacity: 0; transition: opacity .35s ease; }
@media (hover: hover) and (pointer: fine) {
  .svc--hero:hover .svc-hero__fig { transform: translateY(-6px) scale(1.03); }
  .svc--hero:hover .svc-hero__fig--accent { opacity: 1; }
  .svc--hero:hover .svc-hero::after { transform: scaleX(1); }
  .svc--hero:hover .svc-hero::before { opacity: 1; }
}
.svc--hero:focus-visible .svc-hero__fig--accent { opacity: 1; }
.svc--hero:focus-visible .svc-hero::after { transform: scaleX(1); }
.svc--hero:focus-visible .svc-hero::before { opacity: 1; }
@keyframes svc-hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 899px) {
  .svc--hero { --hero-hmax: 128px; --hero-wmax: 124px; min-height: 144px; }
  .svc--hero .svc__copy { padding-right: calc(var(--hero-w) + 12px); }
  .svc-hero { right: 0; }
}
@media (max-width: 374px) {
  .svc--hero { --hero-hmax: 112px; --hero-wmax: 100px; min-height: 132px; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-hero, .svc-hero__fig, .svc-hero::after, .svc-hero::before { animation: none; transition: none; }
}
/* 1.2.0: список услуг не шире колонки на узких экранах */
@media (max-width: 1023px) {
  .services__grid { grid-template-columns: minmax(0, 1fr); }
  .services__list { min-width: 0; }
}
.svc--hero .svc__copy > * { overflow-wrap: break-word; hyphens: auto; }
