/* ============================================================
   INSITE GROUP — главная страница
   Палитра: #3C3C3B (графит), #1F9A54 (акцент — зелёный)
   ============================================================ */

:root {
  --ink:        #1D1D1C;
  --graphite:   #3C3C3B;
  --muted:      #6E7275;
  --hairline:   #E3E5E8;
  --surface:    #FFFFFF;
  --canvas:     #F4F5F7;
  --canvas-2:   #ECEEF1;
  --accent:     #1F9A54;
  --accent-dk:  #167A41;
  --accent-soft:#E6F6EC;

  --max: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --radius:   18px;
  --radius-lg: 28px;

  --font-display: 'Unbounded', 'Golos Text', sans-serif;
  --font-text: 'Golos Text', 'Helvetica Neue', sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: -.025em; line-height: 1.08; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(72px, 10vw, 140px) 0; }

/* ── Типовые элементы ────────────────────────────────────────── */

.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow--light { color: rgba(255,255,255,.7); }

.section-title { font-size: clamp(30px, 4.2vw, 56px); }
.section-title--sm { font-size: clamp(24px, 2.8vw, 38px); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-lead { color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); max-width: 46ch; }

/* Кнопки */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 400; letter-spacing: -.01em;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--sm { --h: 42px; padding: 0 20px; font-size: 13px; }
.btn--lg { --h: 58px; padding: 0 32px; font-size: 15px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -10px rgba(31,154,84,.75); }
.btn--primary:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(31,154,84,.85); }

.btn--ghost { border: 1px solid var(--hairline); background: rgba(255,255,255,.6); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); transform: translateY(-2px); }

/* Появление при скролле */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Акционная полоска ───────────────────────────────────────── */

.promo { background: var(--graphite); color: #fff; }
.promo.is-hidden { display: none; }
.promo__inner {
  max-width: var(--max); margin: 0 auto; padding: 9px var(--pad);
  display: flex; align-items: center; gap: 12px;
}
.promo__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 4px rgba(31,154,84,.22); }
.promo__text { font-size: 13px; color: rgba(255,255,255,.82); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.promo__link { font-size: 13px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); flex: none; }
.promo__link:hover { border-color: #fff; }
.promo__close { margin-left: auto; flex: none; width: 26px; height: 26px; display: grid; place-items: center; opacity: .55; }
.promo__close:hover { opacity: 1; }
.promo__close svg { width: 10px; stroke: #fff; stroke-width: 1.6; fill: none; }

/* ── Хэдер ───────────────────────────────────────────────────── */

.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244,245,247,.82);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--hairline); background: rgba(255,255,255,.88); }
.header__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  height: var(--header-h);
  display: flex; align-items: center; gap: clamp(16px, 3vw, 44px);
}
.logo { flex: none; }
.logo img { width: 132px; height: auto; }

.nav { display: flex; gap: clamp(14px, 2vw, 30px); margin-right: auto; }
.nav a {
  position: relative; font-size: 14.5px; color: var(--graphite);
  padding: 6px 0; transition: color .2s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header__side { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 18px); margin-left: auto; }
.header__phone { font-family: var(--font-display); font-size: 14px; letter-spacing: -.02em; white-space: nowrap; }
.header__phone:hover { color: var(--accent); }

.msgr { display: flex; gap: 6px; }
.msgr__link {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--hairline); color: var(--graphite);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.msgr__link svg { width: 17px; }
.msgr__word { font-family: var(--font-display); font-size: 9.5px; font-weight: 500; letter-spacing: .02em; }
.msgr__link:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.msgr--footer .msgr__link { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.8); }
.msgr--footer .msgr__link:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

.burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Блок 1. Hero ────────────────────────────────────────────── */

.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(60px, 8vw, 120px); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(760px 480px at 78% 8%, rgba(31,154,84,.14), transparent 62%),
    radial-gradient(620px 420px at 6% 74%, rgba(60,60,59,.07), transparent 60%),
    linear-gradient(180deg, #F7F8FA, var(--canvas));
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 13px;
  border-radius: 100px;
  background: var(--accent-soft);
  border: 1px solid rgba(31,154,84,.18);
  color: var(--accent-dk);
  font-size: 13px; font-weight: 500;
  margin-bottom: clamp(22px, 3vw, 32px);
}
.badge__star { width: 12px; flex: none; }

.hero__title {
  font-size: clamp(30px, 3.5vw, 50px);
  line-height: 1.07;
  letter-spacing: -.035em;
  max-width: 15ch;
}
.hero__title .nowrap { white-space: nowrap; }
.hero__title em { font-style: normal; color: var(--accent); }

.hero__offer {
  margin-top: clamp(20px, 2.6vw, 30px);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55; max-width: 34ch;
}
.hero__offer span { color: var(--muted); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.4vw, 40px); }

.hero__media {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: 0 40px 80px -50px rgba(29,29,28,.5);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }

/* ── Блок 2. Шоурил ──────────────────────────────────────────── */

.showreel { padding-bottom: clamp(56px, 7vw, 100px); }
.showreel__head { margin-bottom: clamp(24px, 3vw, 40px); max-width: 44ch; }

.showreel__frame {
  position: relative; display: block; width: 100%; padding: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16 / 8.4;
  background: var(--graphite);
  box-shadow: 0 50px 90px -55px rgba(29,29,28,.7);
}
.showreel__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .5s var(--ease); }
.showreel__frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,.15) 0%, rgba(20,20,20,.55) 100%);
}
.showreel__frame:hover img { transform: scale(1.04); }

.showreel__play {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(64px, 7vw, 92px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.94); color: var(--ink);
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.showreel__play::before {
  content: ''; position: absolute; inset: -12px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45);
  animation: pulse 3s var(--ease) infinite;
}
.showreel__play svg { width: 22%; margin-left: 12%; }
.showreel__frame:hover .showreel__play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 70% { transform: scale(1.25); opacity: 0; } 100% { opacity: 0; } }

.showreel__caption {
  position: absolute; z-index: 2; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 36px);
  text-align: left; color: #fff;
}
.showreel__caption-main { display: block; font-family: var(--font-display); font-size: clamp(16px, 1.6vw, 21px); }
.showreel__caption-sub { display: block; margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.68); }

/* ── Блок 3. Услуги ──────────────────────────────────────────── */

.services { background: var(--surface); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.service {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(24px, 2.4vw, 34px);
  min-height: 254px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  transition: background .35s var(--ease);
}
.service::before {
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.service:hover { background: #FAFBFC; }
.service:hover::before { transform: scaleX(1); }

.service__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--canvas); color: var(--graphite);
  transition: background .35s var(--ease), color .35s var(--ease);
}
.service__icon svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service:hover .service__icon { background: var(--accent); color: #fff; }

.service__title { font-family: var(--font-display); font-size: clamp(16px, 1.4vw, 19px); letter-spacing: -.02em; margin-top: 26px; }
.service__desc { margin: 10px 0 24px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.service__arrow {
  margin-top: auto; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--hairline); display: grid; place-items: center;
  color: var(--graphite);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.service__arrow svg { width: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service:hover .service__arrow { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateX(4px); }

/* ── Блок 4. Social proof ────────────────────────────────────── */

.proof { background: var(--surface); padding-top: 0; }

.marquee { position: relative; overflow: hidden; padding: 8px 0 clamp(28px, 4vw, 44px); }
.marquee__track { display: flex; width: max-content; gap: clamp(38px, 5vw, 76px); animation: slide 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

.marquee__logo {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 26px);
  font-weight: 400; letter-spacing: .02em; text-transform: uppercase;
  color: #C6CAD0; white-space: nowrap;
  transition: color .3s var(--ease);
}
.marquee__logo:hover { color: var(--graphite); }

.marquee__fade { position: absolute; top: 0; bottom: 0; width: clamp(60px, 10vw, 160px); pointer-events: none; }
.marquee__fade--left { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.marquee__fade--right { right: 0; background: linear-gradient(270deg, var(--surface), transparent); }

.proof__cta { display: flex; justify-content: center; }

.awards { margin-top: clamp(56px, 7vw, 100px); }
.awards__head { text-align: center; }
.awards__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 64px);
  border-top: 1px solid var(--hairline);
}
.awards__list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: clamp(18px, 2vw, 24px) 0;
  border-bottom: 1px solid var(--hairline);
  font-size: clamp(14.5px, 1.2vw, 16.5px);
  line-height: 1.45;
}
.awards__list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.awards__star { color: var(--accent); font-size: 14px; line-height: 1.6; flex: none; }
.awards__list strong { font-weight: 600; }
.awards__list i {
  display: block; margin-top: 5px; font-style: normal;
  font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}

.metrics {
  margin-top: clamp(48px, 6vw, 88px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--canvas) 0%, var(--canvas-2) 100%);
}
.metrics__value { font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -.04em; line-height: 1; }
.metrics__value .counter { color: var(--accent); }
.metrics__label { margin-top: 12px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }

/* ── Блок 5. Проекты ─────────────────────────────────────────── */

.projects__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.project { grid-column: span 2; }
.project--wide { grid-column: span 6; }

.project__card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.project__card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 40px 70px -45px rgba(29,29,28,.42); }

.project__cover {
  position: relative; aspect-ratio: 16 / 10;
  display: grid; place-items: center; overflow: hidden;
  background: var(--canvas-2);
}
.project--wide .project__cover { aspect-ratio: 16 / 7; }
.project__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project__card:hover .project__cover img { transform: scale(1.05); }

.project__mark {
  position: relative; z-index: 1; text-align: center; padding: 20px;
}
.project__mark span {
  display: block; font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 34px); letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.92);
}
.project__mark small {
  display: block; margin-top: 8px; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6);
}

.project__result {
  position: absolute; z-index: 2; top: 16px; left: 16px;
  padding: 8px 14px; border-radius: 100px;
  background: rgba(255,255,255,.94);
  font-family: var(--font-display); font-size: 13px; letter-spacing: -.01em;
  color: var(--ink);
}
.project__result b { color: var(--accent); font-weight: 400; }

.project__body { padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project__site { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: clamp(17px, 1.6vw, 22px); letter-spacing: -.02em; }
.project__site svg { width: 14px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: translate(-4px, 4px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.project__card:hover .project__site svg { opacity: 1; transform: none; }
.project__who { font-size: 14.5px; color: var(--muted); }
.project__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.project__tag {
  padding: 6px 13px; border-radius: 100px;
  background: var(--canvas); font-size: 12.5px; color: var(--graphite);
}

.projects__more { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 52px); }

/* ── Блок 6. Подход ──────────────────────────────────────────── */

.approach { background: var(--surface); }
.approach__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(4px, 1vw, 12px) clamp(28px, 5vw, 80px); }
.approach__item { padding: clamp(26px, 3vw, 38px) 0; border-top: 1px solid var(--hairline); }
.approach__num {
  display: block; font-family: var(--font-display); font-size: 13px;
  letter-spacing: .1em; color: var(--accent); margin-bottom: 18px;
}
.approach__item h3 { font-size: clamp(19px, 1.9vw, 26px); }
.approach__item p { margin-top: 14px; color: var(--muted); font-size: clamp(14.5px, 1.15vw, 16.5px); max-width: 48ch; }

/* ── Блок 7. Форма ───────────────────────────────────────────── */

.capture { padding-top: clamp(56px, 7vw, 100px); }
.capture__card {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(30px, 4.5vw, 72px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(620px 420px at 88% 6%, rgba(31,154,84,.32), transparent 60%),
    linear-gradient(150deg, #2B2B2A 0%, #1B1B1A 100%);
  color: #fff;
}
.capture__title { font-size: clamp(28px, 3.4vw, 48px); }
.capture__note { margin-top: 20px; color: rgba(255,255,255,.62); font-size: 15px; max-width: 32ch; }
.capture__contacts { margin-top: clamp(28px, 4vw, 48px); display: grid; gap: 10px; font-size: 15px; color: rgba(255,255,255,.82); }
.capture__contacts a:hover { color: var(--accent); }

.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form--compact { margin-top: 24px; }

.field { display: block; }
.field__label { display: block; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.field__label i { font-style: normal; color: var(--accent); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px;
  font: inherit; font-size: 15px; color: #fff;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.32); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.09); }
.field__error { display: none; margin-top: 7px; font-size: 12.5px; color: #FF8A80; }
.field.has-error input, .field.has-error textarea { border-color: #FF8A80; }
.field.has-error .field__error { display: block; }

.form .btn { margin-top: 8px; }
.form__policy { font-size: 12.5px; color: rgba(255,255,255,.42); text-align: center; }
.form__policy a { border-bottom: 1px solid rgba(255,255,255,.25); }
.form__success { font-size: 14px; color: #6FDDA0; text-align: center; }

/* ── Блок 8. Футер ───────────────────────────────────────────── */

.footer { background: var(--graphite); color: rgba(255,255,255,.7); padding-top: clamp(56px, 7vw, 96px); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, .7fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 72px);
}
.footer__logo { width: 148px; height: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer__tagline { margin-top: 20px; color: #fff; font-family: var(--font-display); font-size: 15px; letter-spacing: -.02em; max-width: 24ch; }
.footer__contacts { margin-top: 24px; display: grid; gap: 10px; font-size: 14.5px; }
.footer__contacts a:hover { color: var(--accent); }
.msgr--footer { margin-top: 22px; }

.footer__title { font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer__links { display: grid; gap: 11px; font-size: 14.5px; }
.footer__links a:hover { color: #fff; }
.footer__ctatext { font-size: 14.5px; margin-bottom: 22px; max-width: 28ch; }

.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; padding-bottom: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px; color: rgba(255,255,255,.45);
}
.footer__bottom a:hover { color: #fff; }

/* ── Модальные окна ──────────────────────────────────────────── */

.modal {
  width: min(920px, calc(100vw - 32px));
  padding: clamp(24px, 3vw, 40px);
  border: 0; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #2B2B2A 0%, #1B1B1A 100%);
  color: #fff;
}
.modal--form { width: min(480px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(20,20,20,.62); backdrop-filter: blur(6px); }
.modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2);
}
.modal__close svg { width: 11px; stroke: #fff; stroke-width: 1.6; fill: none; }
.modal__close:hover { background: rgba(255,255,255,.12); }
.modal__title { font-size: clamp(22px, 2.4vw, 30px); }
.modal__note { margin-top: 12px; font-size: 14.5px; color: rgba(255,255,255,.6); }
.modal__video {
  margin-top: 8px; aspect-ratio: 16 / 9; border-radius: var(--radius);
  display: grid; place-items: center; text-align: center;
  background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.2);
  font-size: 15px; color: rgba(255,255,255,.7);
}
.modal__video span { font-size: 13px; color: rgba(255,255,255,.4); }

body.is-locked { overflow: hidden; }

/* ── Адаптив ─────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .nav {
    position: fixed; inset: calc(var(--header-h)) 0 auto 0;
    flex-direction: column; gap: 0;
    padding: 8px var(--pad) 22px;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--hairline);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .28s var(--ease), transform .28s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: 17px; font-family: var(--font-display); }
  .nav a::after { display: none; }
  .burger { display: flex; }
  .header__phone, .msgr { display: none; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 16 / 9.5; }
  .hero__media img { object-position: 58% 42%; }
  .hero__title { max-width: 22ch; }

  .section-head { grid-template-columns: 1fr; align-items: start; }
  .project { grid-column: span 3; }
  .capture__card { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { min-height: 220px; }
  .awards__list { grid-template-columns: 1fr; }
  .awards__list li:last-child:nth-child(odd) { grid-column: auto; }
  .metrics { grid-template-columns: 1fr; gap: 24px; }
  .project, .project--wide { grid-column: span 6; }
  .project--wide .project__cover { aspect-ratio: 16 / 10; }
  .approach__list { grid-template-columns: 1fr; }
  .promo__text { white-space: normal; }
}

@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .btn--lg { --h: 54px; }
  .promo__text { font-size: 12px; }
  .promo__link { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .showreel__play::before { animation: none; }
  * { transition-duration: .01ms !important; }
}
