/* ============================================================
   ONE EXPO — дизайн-система. Тёмная тема по умолчанию, светлая через [data-theme="light"]
   ============================================================ */
:root {
  --bg: #0b0c0c;
  --bg-2: #101212;
  --surface: #151817;
  --surface-2: #1b1f1e;
  --border: #232827;
  --border-2: #313837;
  --text: #f3f5f3;
  --text-2: #c2c9c6;
  --muted: #8b9592;
  --accent: #b8f03e;
  --accent-2: #cdf76a;
  --accent-soft: rgba(184, 240, 62, .12);
  --btn-bg: #b8f03e;
  --btn-text: #0b0c0c;
  --card-logo: #ffffff;
  --logo-x: #b8f03e;
  --strip-mix: #ffffff;
  --accent-3d: #7cb42a;
  --dot: #222827;
  --line: rgba(255, 255, 255, .045);
  --noise: .05;
  --shadow: 0 24px 60px rgba(0, 0, 0, .5);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, .35);
  --radius: 10px;
  --radius-lg: 16px;
  --header-h: 80px;
  --container: 1280px;
  --gutter: 24px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f5f6f4;
  --bg-2: #eef0ec;
  --surface: #ffffff;
  --surface-2: #f2f4f0;
  --border: #e2e6e1;
  --border-2: #cdd3cd;
  --text: #101312;
  --text-2: #3b4441;
  --muted: #667070;
  --accent: #5b9410;
  --accent-2: #4a7a0c;
  --accent-soft: rgba(91, 148, 16, .10);
  --btn-bg: #b8f03e;
  --btn-text: #0b0c0c;
  --card-logo: #ffffff;
  --logo-x: #6db312;
  --strip-mix: #000000;
  --accent-3d: #3d6c0b;
  --dot: #d6dbd4;
  --line: rgba(0, 0, 0, .05);
  --noise: .035;
  --shadow: 0 24px 60px rgba(20, 30, 10, .12);
  --shadow-sm: 0 8px 24px rgba(20, 30, 10, .08);
  color-scheme: light;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
main { overflow-x: clip; }
img, svg, video, iframe { 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; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #0b0c0c; }

body::before {
  content: ""; position: fixed; inset: -50%; z-index: 999; pointer-events: none; opacity: var(--noise); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* ---------- typography ---------- */
.h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 500; line-height: 1.06; letter-spacing: -.025em; }
.h2 { font-size: clamp(28px, 3.3vw, 42px); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; line-height: 1.2; letter-spacing: -.015em; }
.h4 { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.h5 { font-size: 16px; font-weight: 600; line-height: 1.35; }
.lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: var(--text-2); max-width: 60ch; }
.strong { font-weight: 600; color: var(--text); margin: 22px 0 12px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--accent); flex: none; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.prose p { color: var(--text-2); margin-bottom: 14px; font-size: 16.5px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(64px, 8vw, 104px); }
.section--alt { background: var(--bg-2); isolation: isolate; overflow: hidden; }
.section--alt::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 0%, #000 0%, transparent 100%); mask-image: radial-gradient(ellipse 60% 55% at 50% 0%, #000 0%, transparent 100%);
}
.section--alt::after {
  content: ""; position: absolute; z-index: -1; right: -8%; top: -10%; width: 46%; height: 70%; pointer-events: none;
  background: radial-gradient(closest-side, var(--accent-soft), transparent); filter: blur(30px); opacity: .55;
}
.section--works::after { display: none; }
.page-hero { position: relative; overflow: hidden; isolation: isolate; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head__text { color: var(--text-2); font-size: 17px; margin-top: 18px; max-width: 58ch; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; }
.section-head--row .link-arrow { margin-top: 18px; }
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split--services { grid-template-columns: minmax(280px, .9fr) 1.6fr; }
.split--why { grid-template-columns: minmax(280px, .8fr) 1.4fr; align-items: center; }
.split--media { grid-template-columns: 1.05fr 1fr; align-items: center; }
.split--media.split--rev .split__text { order: 2; }
.split--faq { grid-template-columns: minmax(280px, .8fr) 1.3fr; }
.split__text .section-head { margin-bottom: 26px; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--surface); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- медиа-блоки секций: single / stack / mosaic ---------- */
.media { position: relative; }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media__chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 78%, transparent); border: 1px solid var(--border-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm); animation: floaty 6s ease-in-out infinite;
}
.media__chip .ico { color: var(--accent); }
.media__chip b { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.media__chip small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
/* single: фото + точечный растр за углом */
.media--single .split__media { position: relative; z-index: 1; }
.media--single .media__chip { left: -18px; bottom: 28px; }
.media__dots { position: absolute; right: -28px; top: -28px; width: 46%; height: 46%; z-index: 0; pointer-events: none;
  background-image: radial-gradient(var(--accent) 1.2px, transparent 1.6px); background-size: 14px 14px; opacity: .25;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 100% 0%, #000 30%, transparent 75%); }
/* stack: большое фото + малое внахлёст + лаймовая рамка */
.media--stack { padding: 0 48px 56px 0; }
.media__main { position: relative; z-index: 1; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.media__sub { position: absolute; z-index: 3; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 4px solid var(--bg); background: var(--surface); animation: floaty 7s ease-in-out infinite; animation-delay: 1s; }
.section--alt .media__sub { border-color: var(--bg-2); }
.media__frame { position: absolute; z-index: 0; left: 28px; top: 28px; right: 20px; bottom: 28px; border: 1px solid var(--accent); border-radius: var(--radius-lg); opacity: .35; pointer-events: none; }
.media--stack .media__chip { left: -16px; top: 26px; }
/* mosaic: 1 большое + 2 малых */
.media--mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.media__m1 { grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.media__m2, .media__m3 { aspect-ratio: 4 / 3; }
.media__m1, .media__m2, .media__m3 { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.media__m3 { animation: floaty 7s ease-in-out infinite; animation-delay: .5s; }
.media--mosaic .media__chip { right: -14px; bottom: 34%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; cursor: pointer;
}
.btn__ico { flex: none; transition: transform .25s; }
.btn:hover .btn__ico { transform: translateX(3px); }
.btn--primary { position: relative; overflow: hidden; background: var(--btn-bg); color: var(--btn-text); }
.btn--primary::after { content: ""; position: absolute; top: -50%; bottom: -50%; left: -30%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-120%) skewX(-15deg); transition: transform .7s ease; }
.btn--primary:hover::after { transform: translateX(400%) skewX(-15deg); }
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary:hover { background: var(--accent-2); box-shadow: 0 10px 30px rgba(184, 240, 62, .25); }
[data-theme="light"] .btn--primary:hover { background: #a8e02e; }
.btn--outline { border-color: var(--accent); color: var(--accent); }
.btn--outline:hover { background: var(--accent-soft); }
.btn--ghost { border-color: var(--border-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; color: var(--text); padding-bottom: 4px; border-bottom: 1px solid var(--border-2); transition: border-color .2s, gap .2s; }
.link-arrow .ico { color: var(--accent); }
.link-arrow:hover { border-color: var(--accent); gap: 14px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-2); display: inline-grid; place-items: center; color: var(--text);
  transition: border-color .2s, color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.nav-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--text); transition: .2s; }
.nav-btn:hover { border-color: var(--accent); color: var(--accent); }
.nav-btn:disabled { opacity: .35; pointer-events: none; }
.arrow-circle { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); display: inline-grid; place-items: center; color: #fff; flex: none; transition: .25s; }
.ico { flex: none; }
.ico--lg { color: var(--accent); }

/* ---------- logo (векторный логотип из фирменного .cdr) ---------- */
.logo { display: inline-flex; align-items: center; line-height: 1; color: var(--text); }
.logo__svg { height: 46px; width: auto; display: block; transition: transform .25s; }
.logo:hover .logo__svg { transform: scale(1.03); }
.logo--footer .logo__svg { height: 58px; }

/* ---------- topbar (адрес, часы, почта, телефон, язык) ---------- */
.topbar { background: var(--bg-2); border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: var(--text-2); transition: color .2s; }
.topbar__item .ico { color: var(--accent); flex: none; }
a.topbar__item:hover { color: var(--text); }
.topbar__mail span { text-decoration: underline; text-decoration-color: var(--border-2); text-underline-offset: 3px; }
.topbar__phone { display: none; font-weight: 600; color: var(--text); }
.lang { display: inline-flex; align-items: center; gap: 6px; padding-left: 18px; border-left: 1px solid var(--border-2); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; }
.lang__cur { color: var(--accent); }
.lang__sep { color: var(--border-2); }
.lang__alt { color: var(--muted); transition: color .2s; }
.lang__alt:hover { color: var(--text); }
.header__phone-wrap { position: relative; }
.header__phone { padding: 11px 14px 11px 14px; font-size: 14px; font-weight: 600; gap: 8px; }
.header__phone-chev { color: var(--muted); transition: transform .2s; }
.header__phone-wrap:hover .header__phone-chev { transform: rotate(180deg); }
.phone-dd { position: absolute; top: calc(100% + 6px); right: 0; min-width: 230px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 5; }
.header__phone-wrap::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.header__phone-wrap:hover .phone-dd, .header__phone-wrap:focus-within .phone-dd { opacity: 1; visibility: visible; transform: none; }
.phone-dd a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: background .15s; }
.phone-dd a:hover { background: var(--surface-2); }
.phone-dd .ico { color: var(--accent); }
.topbar__social { display: inline-flex; align-items: center; gap: 4px; }
.topbar__social a { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); transition: color .2s, background .2s; }
.topbar__social a:hover { color: var(--accent); background: var(--accent-soft); }
.contact-card__line { display: block; }
.contact-card__line + .contact-card__line { margin-top: 4px; }
.contact-card__line:hover b { color: var(--accent); }
.header__phone .btn__ico--lead { color: var(--accent); }
.header__phone:hover { border-color: var(--accent); }
.header__phone:hover .btn__ico { transform: none; }
.mnav__contacts { display: grid; gap: 4px; margin-top: 24px; }
.mnav__contacts a { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--border); }
.mnav__contacts .ico { color: var(--accent); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s;
}
.header.is-scrolled { border-color: var(--border); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .3s; }
.header.is-scrolled .header__inner { height: calc(var(--header-h) - 12px); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 65; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: color .2s, background .2s; }
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link.is-active { background: var(--surface-2); }
.nav__chev { transition: transform .2s; color: var(--muted); }
.nav__item--dd:hover .nav__chev, .nav__item--dd:focus-within .nav__chev { transform: rotate(180deg); }
.nav__dd {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; padding: 8px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.nav__item--dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.nav__item--dd:hover .nav__dd, .nav__item--dd:focus-within .nav__dd { opacity: 1; visibility: visible; transform: none; }
.nav__dd-item { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; transition: background .15s; }
.nav__dd-item:hover { background: var(--surface-2); }
.nav__dd-item b { font-weight: 600; font-size: 14.5px; }
.nav__dd-item small { color: var(--muted); font-size: 13px; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__cta { padding: 12px 22px; font-size: 14px; }
.header__cta.btn--outline { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }
.header__cta.btn--outline:hover { background: var(--accent-2); }
[data-theme="light"] .header__cta.btn--outline:hover { background: #a8e02e; }
.theme-toggle { position: relative; overflow: hidden; }
.theme-toggle .ico { position: absolute; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), opacity .3s; }
.theme-toggle .ico--sun { transform: translateY(0) rotate(0); opacity: 1; }
.theme-toggle .ico--moon { transform: translateY(24px) rotate(-60deg); opacity: 0; }
[data-theme="light"] .theme-toggle .ico--sun { transform: translateY(-24px) rotate(60deg); opacity: 0; }
[data-theme="light"] .theme-toggle .ico--moon { transform: translateY(0) rotate(0); opacity: 1; }
.theme-toggle:hover { background: var(--accent-soft); }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .45s ease, color .45s ease, border-color .45s ease, fill .45s ease !important; }
.burger { display: none; }
.burger .ico--close, .burger[aria-expanded="true"] .ico--menu { display: none; }
.burger[aria-expanded="true"] .ico--close { display: block; }

/* mobile nav */
.mnav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 55; background: var(--bg); overflow-y: auto; padding-block: 24px 40px; display: none; }
.mnav.is-open { display: block; }
.mnav__list > li > a, .mnav__group > span { display: block; padding: 14px 0; font-size: 22px; font-weight: 500; border-bottom: 1px solid var(--border); }
.mnav__group > span { color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding-top: 24px; }
.mnav__group ul li a { display: block; padding: 12px 0 12px 16px; font-size: 18px; border-bottom: 1px solid var(--border); }
.mnav__actions { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.mnav__actions .btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 20%, #000 0%, transparent 100%); mask-image: radial-gradient(ellipse 70% 80% at 30% 20%, #000 0%, transparent 100%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero__glow--1 { width: 640px; height: 640px; left: -220px; top: -280px; background: radial-gradient(circle, var(--accent-soft), transparent 65%); animation: drift 14s ease-in-out infinite alternate; }
.hero__glow--2 { width: 520px; height: 520px; right: -160px; bottom: -260px; background: radial-gradient(circle, var(--accent-soft), transparent 65%); opacity: .35; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.12); } }
.hero__grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(320px, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__title { max-width: 13ch; margin-top: 8px; }
.hero__title .w { display: inline-block; opacity: 0; transform: translateY(28px) rotate(1.5deg); animation: wordIn .8s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(120ms + var(--i) * 75ms); }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero__in { opacity: 0; transform: translateY(18px); animation: fadeUp .9s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: var(--d, 0ms); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero__text .lead { margin-top: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__actions--center { justify-content: center; }
.hero__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow); background: var(--surface); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; will-change: opacity; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide.is-active img { animation: kenburns 7.5s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.hero__media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 45%), linear-gradient(to bottom, rgba(0, 0, 0, .25), transparent 30%); pointer-events: none; }
.hero__badge {
  position: absolute; left: 18px; top: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border-radius: 999px;
  background: rgba(10, 12, 12, .55); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font-size: 12.5px; font-weight: 500; letter-spacing: .01em;
}
.hero__badge .ico { color: #b8f03e; }
.hero__chip { position: absolute; right: 22px; bottom: 22px; z-index: 3; max-width: 220px; padding-left: 12px; border-left: 2px solid #b8f03e; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.hero__chip b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }
.hero__chip span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .75); margin-top: 3px; }
.hero__chip.is-switching b, .hero__chip.is-switching span { animation: chipIn .6s ease both; }
@keyframes chipIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero__media { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hero__media.is-dragging { cursor: grabbing; }
.hero__media.is-dragging .hero__slides { transition: transform .05s; }
.hero__slides { transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.hero__slide img { -webkit-user-drag: none; pointer-events: none; }
.hero__arrow { position: absolute; top: 50%; z-index: 4; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(10, 12, 12, .5); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s, background .2s, border-color .2s, transform .3s; }
.hero__arrow--prev { left: 16px; transform: translateX(-8px); }
.hero__arrow--next { right: 16px; transform: translateX(8px); }
.hero__media:hover .hero__arrow, .hero__media:focus-within .hero__arrow { opacity: 1; transform: none; }
.hero__arrow:hover { background: #b8f03e; color: #0b0c0c; border-color: #b8f03e; }
@media (hover: none) { .hero__arrow { display: none; } }
.hero__dots { position: absolute; left: 22px; bottom: 24px; z-index: 3; display: flex; gap: 6px; }
.hero__dot { position: relative; width: 26px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .3); overflow: hidden; transition: width .3s, background .3s; padding: 0; }
.hero__dot i { position: absolute; inset: 0; background: #b8f03e; transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active { width: 44px; }
.hero__dot.is-active i { animation: dotFill var(--slide-ms, 6000ms) linear forwards; }
.hero__media.is-paused .hero__dot.is-active i { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num { font-size: 32px; font-weight: 500; letter-spacing: -.02em; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 12.5px; color: var(--muted); max-width: 118px; line-height: 1.35; }
/* объёмное "3D": градиентная грань + слой выдавливания (::before) + тень */
.stat__num--3d {
  position: relative; display: inline-block; font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: .01em; margin-top: -6px;
  transform: perspective(240px) rotateX(14deg) rotateY(-18deg); transform-style: preserve-3d; animation: tilt3d 8s ease-in-out infinite;
}
.stat__num--3d > span { position: relative; z-index: 1; background: linear-gradient(165deg, #e2ff8a 0%, #b8f03e 45%, #8ccc23 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__num--3d::before {
  content: attr(data-text); position: absolute; left: 0; top: 0; z-index: 0; color: #5f9414;
  text-shadow: 1px 1px 0 #5f9414, 2px 2px 0 #588a12, 3px 3px 0 #518010, 4px 4px 0 #4a760e, 5px 5px 0 #436c0c, 6px 6px 0 #3c620a, 7px 7px 0 #355809, 10px 13px 14px rgba(0, 0, 0, .5);
}
[data-theme="light"] .stat__num--3d { transform: perspective(260px) rotateX(12deg) rotateY(-14deg); }
[data-theme="light"] .stat__num--3d > span { background: linear-gradient(165deg, #c6f55a 0%, #8fd626 50%, #63b012 100%); -webkit-background-clip: text; background-clip: text; }
[data-theme="light"] .stat__num--3d::before { color: #4a8f10; text-shadow: 1px 1px 0 #4a8f10, 2px 2px 0 #46880f, 3px 3px 0 #42800e, 4px 4px 0 #3e780d, 5px 5px 0 #3a700c, 8px 10px 12px rgba(40, 70, 10, .25); }
[data-theme="light"] .stat__num--3d { animation-name: tilt3dLight; }
@keyframes tilt3dLight {
  0%, 100% { transform: perspective(260px) rotateX(12deg) rotateY(-14deg); }
  50% { transform: perspective(260px) rotateX(7deg) rotateY(10deg); }
}
.stats--band .stat__num--3d { font-size: 60px; margin-top: -8px; }
@keyframes tilt3d {
  0%, 100% { transform: perspective(240px) rotateX(14deg) rotateY(-18deg); }
  50% { transform: perspective(240px) rotateX(8deg) rotateY(12deg); }
}
@media (prefers-reduced-motion: reduce) { .stat__num--3d { animation: none; transform: perspective(240px) rotateX(14deg) rotateY(-18deg); } }
.stats--band { margin: 0; padding: 0; border: 0; gap: 24px; }
.section--stats { padding-block: 0; }
.section--stats .stats--band { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats--band .stat__num { font-size: 44px; }
.stats--band .stat__label { max-width: 200px; font-size: 14px; }

/* ---------- ticker (бегущая строка клиентов) ---------- */
.ticker { position: relative; overflow: hidden; border-top: 1px solid var(--border); padding: 18px 0; background: var(--bg);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color .2s; }
.ticker__item:hover { color: var(--text); }
.ticker__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; opacity: .8; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- strip (иконки услуг) ---------- */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); }
.strip__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.strip__item { padding: 36px 28px; border-left: 1px solid var(--border); }
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__item:nth-child(2) { background: color-mix(in srgb, var(--bg) 98.2%, var(--strip-mix)); }
.strip__item:nth-child(3) { background: color-mix(in srgb, var(--bg) 96.4%, var(--strip-mix)); }
.strip__item:nth-child(4) { background: color-mix(in srgb, var(--bg) 94.6%, var(--strip-mix)); }
.strip__item:nth-child(5) { background: color-mix(in srgb, var(--bg) 92.8%, var(--strip-mix)); }
.strip__item .ico--lg { margin-bottom: 18px; }
.strip__item .h5 { margin-bottom: 8px; }
.strip__item p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---------- image cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card-img { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); isolation: isolate; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.card-img:hover img { transform: scale(1.06); }
.card-img::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); pointer-events: none; transition: box-shadow .3s; }
.card-img:hover::before { box-shadow: inset 0 0 0 1px rgba(184, 240, 62, .5); }
.card-img__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 40px 16px 14px; background: linear-gradient(to top, rgba(6, 8, 8, .9), rgba(6, 8, 8, 0)); color: #fff; font-weight: 500; font-size: 14.5px;
}
.card-img__cap--2 { padding-top: 48px; }
.card-img__cap--2 b { display: block; font-weight: 600; font-size: 15px; }
.card-img__cap--2 small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .7); margin-top: 2px; }
.card-img:hover .arrow-circle { background: var(--btn-bg); border-color: var(--btn-bg); color: #0b0c0c; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; }
.why__item { display: flex; gap: 18px; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--border); }
.why__item:nth-child(even) { border-left: 1px solid var(--border); padding-left: 28px; }
.why__item:nth-last-child(-n+2) { border-bottom: 0; }
.why__item .ico--lg { margin-top: 2px; }
.why__item .h5 { margin-bottom: 6px; }
.why__item p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- checklists ---------- */
.check { display: grid; gap: 12px; margin-top: 8px; }
.check li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 16px; line-height: 1.55; }
.check .ico { color: var(--accent); margin-top: 4px; }
.check--2col { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.check--num { counter-reset: n; }
.check--num li { counter-increment: n; }
.check--num .ico { display: none; }
.check--num li::before { content: counter(n, decimal-leading-zero); color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .1em; margin-top: 6px; flex: none; width: 24px; }
.pull { margin-top: 28px; padding: 22px 26px; border-left: 2px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; color: var(--text); font-size: 17px; line-height: 1.6; }

/* ---------- spotlight на карточках ---------- */
.spot { position: relative; overflow: hidden; }
.spot::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 45%); }
.spot:hover::after { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

/* ---------- features / tiles ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { padding: 30px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .25s, transform .25s; }
.feature:hover { border-color: var(--border-2); transform: translateY(-3px); }
.feature__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.feature__head .ico--lg { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.feature__num { display: block; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .16em; }
.tile .feature__num { margin-bottom: 20px; }
.feature .h4 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.tiles { display: grid; gap: 14px; }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
.tile { padding: 30px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .25s, transform .25s; }
.tile:hover { border-color: var(--border-2); transform: translateY(-3px); }
.tile .ico--lg { margin-bottom: 20px; }
.tile .h4 { margin-bottom: 10px; }
.tile p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.tile--accent { background: linear-gradient(160deg, var(--surface), var(--surface-2)); }
.tile--accent:hover { border-color: var(--accent); }
.tile__p { color: var(--text-2) !important; font-size: 15.5px !important; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { position: relative; padding: 30px 28px 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .25s; }
.step::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .35s; }
.step:hover { border-color: var(--border-2); transform: translateY(-3px); }
.step:hover::before { transform: scaleY(1); }
.step__num { display: block; font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--accent); margin-bottom: 22px; }
.step__big { position: absolute !important; right: 18px; top: 10px; z-index: 0 !important; font-size: 72px; font-weight: 700; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--border-2); opacity: .8; pointer-events: none; transition: color .3s; }
.step:hover .step__big { color: var(--accent-soft); }
.step .h4 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 500; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ico { color: var(--muted); transition: transform .25s, color .2s; }
.faq__item[open] summary .ico { transform: rotate(180deg); color: var(--accent); }
.faq__a { padding: 0 0 24px; }
.faq__a p { color: var(--text-2); font-size: 15.5px; line-height: 1.65; max-width: 60ch; }

/* ---------- slider ---------- */
.section--works .section-head--row { margin-bottom: 36px; }
.slider__nav { display: flex; gap: 8px; }
.slider__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__item { flex: 0 0 min(400px, 82vw); scroll-snap-align: start; }

/* ---------- logos ---------- */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.logo-card { aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 20px; background: var(--card-logo); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .25s, border-color .25s; }
.logo-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.logo-card img { max-height: 54px; max-width: 72%; width: auto; object-fit: contain; }

/* ---------- testimonials ---------- */
.testimonials-home { margin-top: 56px; }
.testimonials-home + .center { margin-top: 36px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quote-card { display: flex; flex-direction: column; gap: 18px; padding: 30px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.quote-card__ico { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: 56px; line-height: .6; height: 28px; font-weight: 700; }
.quote-card blockquote { color: var(--text-2); font-size: 15.5px; line-height: 1.65; flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--border); }
.quote-card figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.quote-card figcaption b { display: block; font-weight: 600; font-size: 15px; }
.quote-card figcaption span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }

/* ---------- partners (клиенты подробно) ---------- */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.partner { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); align-items: start; }
.partner__logo { aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 14px; background: var(--card-logo); border-radius: 8px; border: 1px solid var(--border); }
.partner__logo img { max-height: 56px; max-width: 90%; object-fit: contain; }
.partner .h4 { margin-bottom: 8px; }
.partner p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 8px 14px; border: 1px solid var(--border-2); border-radius: 999px; font-size: 13.5px; color: var(--text-2); transition: .2s; }
.tag:hover { border-color: var(--accent); color: var(--text); }
.tags--lg .tag { font-size: 15px; padding: 10px 18px; }

/* ---------- more (о компании) ---------- */
.mores { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.more { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.more__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.more__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.more:hover .more__media img { transform: scale(1.05); }
.more__body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.more__body p { color: var(--muted); font-size: 15px; }
.more__body .check li { font-size: 15px; }
.more__body .link-arrow { align-self: flex-start; margin-top: auto; }

/* ---------- page hero (внутренние) ---------- */
.page-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 5vw, 72px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 25% 10%, #000 0%, transparent 100%); mask-image: radial-gradient(ellipse 70% 90% at 25% 10%, #000 0%, transparent 100%);
}
.page-hero::after { content: ""; position: absolute; z-index: -1; left: -200px; top: -260px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 65%); filter: blur(60px); opacity: .5; pointer-events: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.crumbs a:hover { color: var(--text); }
.crumbs__sep { opacity: .5; }
.page-hero__grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(320px, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero__text .h1 { max-width: 14ch; }
.page-hero__text .lead { margin-top: 22px; max-width: 56ch; }
.page-hero__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--surface); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--case .page-hero__media { aspect-ratio: 3 / 2; }
.facts { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.fact small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.fact b { font-weight: 500; font-size: 16px; }

/* ---------- gallery ---------- */
.gal { display: grid; gap: 14px; }
.gal--3 { grid-template-columns: repeat(3, 1fr); }
.gal--2 { grid-template-columns: repeat(2, 1fr); }
.gal__item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface); }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.gal__item:hover img { transform: scale(1.05); }
.gal__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 40px 16px 14px; color: #fff; font-size: 14px; font-weight: 500; background: linear-gradient(to top, rgba(6, 8, 8, .85), transparent); opacity: 0; transition: opacity .3s; }
.gal__item:hover .gal__cap { opacity: 1; }
@media (hover: none) { .gal__cap { opacity: 1; } }
.gal-feature .gal--3 .gal__item:first-child { grid-column: span 2; aspect-ratio: auto; }
.quotes--single { grid-template-columns: 1fr; max-width: 760px; }

/* ---------- portfolio ---------- */
.section--portfolio { padding-top: 0; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border-2); font-size: 14px; font-weight: 500; color: var(--text-2); transition: .2s; }
.chip:hover { border-color: var(--text); color: var(--text); }
.chip.is-active { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.work { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.work:hover img { transform: scale(1.05); }
.work.is-hidden { display: none; }
.work__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 48px 16px 14px; color: #fff; background: linear-gradient(to top, rgba(6, 8, 8, .9), transparent); }
.work__cap b { display: block; font-weight: 600; font-size: 15px; }
.work__cap small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .7); margin-top: 2px; }
.work:hover .arrow-circle { background: var(--btn-bg); border-color: var(--btn-bg); color: #0b0c0c; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-text); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.works__empty { color: var(--muted); padding: 40px 0; text-align: center; }
.case-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- contacts ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contacts__info { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .25s; }
a.contact-card:hover { border-color: var(--accent); }
.contact-card small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.contact-card b { display: block; font-weight: 500; font-size: 16px; line-height: 1.45; }
.contact-card em { display: block; font-style: normal; color: var(--muted); font-size: 14px; margin-top: 2px; }
.contact-card--social { gap: 10px; }
.contact-card--social a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--border-2); border-radius: 999px; font-size: 14px; font-weight: 500; transition: .2s; }
.contact-card--social a:hover { border-color: var(--accent); color: var(--accent); }
.contacts__form { padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.contacts__form .h3 { margin-bottom: 24px; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.map iframe { width: 100%; height: 480px; border: 0; }
[data-theme="dark"] .map iframe { filter: grayscale(.2) contrast(1.05); }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 10px; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input.is-invalid, .field textarea.is-invalid { border-color: #e5533d; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form__consent { font-size: 12px; color: var(--muted); max-width: 300px; line-height: 1.4; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form__status { padding: 16px 18px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-2); }
.form__status b { display: block; margin-bottom: 4px; }
.form__status span { font-size: 14px; color: var(--text-2); }
.form__status a { color: var(--accent); font-weight: 500; }
.form__ok, .form__err { display: none; }
.form__status.is-ok { border-color: var(--accent); background: var(--accent-soft); padding: 22px 22px; }
.form__status.is-ok .form__ok { display: flex; align-items: center; gap: 18px; }
.form__status.is-ok b { font-size: 17px; }
.okmark { width: 52px; height: 52px; flex: none; }
.okmark__circle { stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 160; stroke-dashoffset: 160; animation: okdraw .7s ease-out forwards; }
.okmark__check { stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: okdraw .45s ease-out .5s forwards; }
@keyframes okdraw { to { stroke-dashoffset: 0; } }
.form__status.is-err { border-color: #e5533d; } .form__status.is-err .form__err { display: block; }
.form.is-sending { opacity: .6; pointer-events: none; }
.form.is-done .form__row, .form.is-done .field, .form.is-done .form__foot { display: none; }

/* ---------- cta ---------- */
.section--cta { padding-top: 0; }
.cta {
  position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 4vw, 56px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.cta::before { content: ""; position: absolute; width: 560px; height: 560px; left: -160px; top: -240px; background: radial-gradient(circle, var(--accent-soft), transparent 65%); pointer-events: none; animation: drift 12s ease-in-out infinite alternate; }
.cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(120deg, rgba(184, 240, 62, .45), transparent 35%, transparent 65%, rgba(184, 240, 62, .25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.cta__text { position: relative; }
.cta__text p { color: var(--text-2); margin-top: 16px; max-width: 46ch; }
.cta__contacts { display: grid; gap: 12px; margin-top: 28px; }
.cta__contact { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; transition: color .2s; }
.cta__contact .ico { color: var(--accent); }
.cta__contact:hover { color: var(--accent); }
.cta__form { position: relative; }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--border); padding: clamp(96px, 11vw, 150px) 0 0; background: var(--bg); }
.footer__wm { position: relative; width: min(70vw, 640px); margin: 64px auto -60px; pointer-events: none; user-select: none; opacity: .07; color: var(--text); }
[data-theme="light"] .footer__wm { opacity: .09; }
.footer__wm .logo__svg { width: 100%; height: auto; display: block; }
.footer__wm::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 35%, var(--bg)); }
.footer__bottom { margin-top: 64px; }
.footer .container { position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr .8fr; gap: 40px; }
.footer__brand p { margin-top: 20px; color: var(--muted); font-size: 14.5px; max-width: 34ch; line-height: 1.6; }
.footer h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { font-size: 14.5px; color: var(--text-2); transition: color .2s; }
.footer__links a:hover { color: var(--accent); }
.footer__contacts { display: grid; gap: 14px; }
.footer__contacts a, .footer__hours { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); transition: color .2s; }
.footer__contacts .ico { color: var(--accent); margin-top: 3px; }
.footer__contacts a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--text); transition: .2s; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.footer__site { margin-top: 24px; padding-left: 14px; border-left: 1px solid var(--border-2); font-size: 13px; }
.footer__site span { display: block; color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.footer__site a { color: var(--text); font-weight: 500; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--muted); }

/* ---------- плавающая кнопка Telegram ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 58; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-2); color: var(--text); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s, transform .35s, border-color .2s, color .2s; }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab .ico { color: var(--accent); }
.fab:hover { border-color: var(--accent); }
body.modal-open .fab, body.lb-open .fab, body.menu-open .fab { opacity: 0; pointer-events: none; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 16px; }
.modal.is-open { display: grid; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal__box { position: relative; width: min(600px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: clamp(24px, 4vw, 40px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); animation: pop .25s ease-out; }
.modal__close { position: absolute; top: 16px; right: 16px; }
.modal__text { color: var(--text-2); margin: 10px 0 24px; font-size: 15px; }
body.modal-open { overflow: hidden; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: rgba(4, 5, 5, .94); padding: 16px; }
.lb.is-open { display: grid; }
.lb__fig { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: 100%; }
.lb__fig img { max-width: min(1400px, 92vw); max-height: 82vh; width: auto; height: auto; border-radius: 8px; box-shadow: var(--shadow); }
.lb__fig figcaption { color: rgba(255, 255, 255, .8); font-size: 14px; text-align: center; }
.lb .icon-btn { position: absolute; color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .35); width: 48px; height: 48px; }
.lb .icon-btn:hover { border-color: #b8f03e; color: #b8f03e; }
.lb__close { top: 20px; right: 20px; }
.lb__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; top: 30px; left: 24px; color: rgba(255, 255, 255, .6); font-size: 13px; letter-spacing: .1em; }
body.lb-open { overflow: hidden; }

/* ---------- 404 ---------- */
.section--404 { padding-block: clamp(80px, 14vw, 160px); }
.section--404 .lead { margin: 20px auto 0; }

/* ---------- ленивые изображения: плавное появление ---------- */
.js img.lazy { opacity: 0; filter: blur(14px); transition: opacity .8s ease, filter 1s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js img.lazy.is-loaded { opacity: 1; filter: none; }
.js .reveal--img img.lazy { transition: opacity .8s ease, filter 1s ease, clip-path 1.1s cubic-bezier(.2, .7, .2, 1), transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.js .hero__slide img.lazy { transition: opacity .8s ease, filter 1s ease; }

/* ---------- служебный режим без анимаций (?noanim=1) ---------- */
html.no-anim *, html.no-anim *::before, html.no-anim *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; transition-delay: 0s !important; }
html.no-anim .hero__title .w, html.no-anim .hero__in { opacity: 1; transform: none; }
html.no-anim img.lazy { opacity: 1; filter: none; }

/* ---------- reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal--img { transform: none; opacity: 1; transition: none; }
.js .reveal--img img { clip-path: inset(0 0 100% 0); transform: scale(1.12); transition: clip-path 1.1s cubic-bezier(.2, .7, .2, 1), transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.js .reveal--img.is-in img { clip-path: inset(0 0 0 0); transform: none; }
.works.is-fading .work { opacity: 0; transform: scale(.96); }
.work { transition: opacity .3s, transform .3s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .reveal--img img { clip-path: none; transform: none; transition: none; }
  .hero__title .w, .hero__in { animation: none; opacity: 1; transform: none; }
  .ticker__track { animation: none; }
  html { scroll-behavior: auto; }
  * { animation: none !important; }
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1280px) {
  .header__phone span, .header__phone-chev { display: none; }
  .header__phone { padding: 0; width: 42px; height: 42px; border-radius: 50%; justify-content: center; }
  .header__phone .btn__ico { color: var(--text); }
}
@media (max-width: 1180px) {
  .strip__item { padding-inline: 20px; }
  .topbar__item--hours { display: none; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
  .footer__grid .footer__col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 1060px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .header__cta { display: none; }
  .header__phone { display: inline-flex; }
  .topbar__left { display: none; }
  .topbar__right { width: 100%; justify-content: space-between; gap: 12px; }
  .split--services, .split--why, .split--faq { grid-template-columns: 1fr; }
  .split--media { grid-template-columns: 1fr; }
  .split--media.split--rev .split__text { order: 0; }
  .split__media { max-width: 720px; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .tiles--4 { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero__grid, .page-hero__grid { grid-template-columns: 1fr; }
  .hero__media, .page-hero__media { order: -1; aspect-ratio: 16 / 10; }
  .page-hero__media { order: 0; }
  .hero__title { max-width: none; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__item { padding: 24px 20px; border-left: 0; border-top: 1px solid var(--border); }
  .strip__item:first-child { padding-left: 0; }
  .strip__item:nth-child(-n+2) { border-top: 0; }
  .strip__item:nth-child(even) { border-left: 1px solid var(--border); }
  .cards-3, .features, .tiles--3, .steps, .quotes, .works, .gal--3 { grid-template-columns: repeat(2, 1fr); }
  .gal-feature .gal--3 .gal__item:first-child { grid-column: span 2; }
  .mores { grid-template-columns: 1fr; }
  .section-head--row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .why { grid-template-columns: 1fr; }
  .why__item { padding: 22px 0; border-left: 0 !important; padding-left: 0 !important; }
  .why__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .why__item:last-child { border-bottom: 0; }
  .stats--band .stat__num { font-size: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid .footer__col:last-child { grid-column: auto; }
  .map iframe { height: 380px; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; --gutter: 18px; }
  .topbar__inner { min-height: 34px; }
  .topbar__mail span { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
  .lang { padding-left: 12px; }
  .media--single .media__chip, .media--stack .media__chip { left: 12px; }
  .media--single .media__chip { bottom: 12px; }
  .media--stack { padding: 0 20px 36px 0; }
  .media__frame { left: 14px; top: 14px; right: 8px; bottom: 14px; }
  .media__dots { display: none; }
  .media--mosaic { gap: 10px; }
  .media--mosaic .media__chip { right: 8px; bottom: 8px; }
  .media__chip b { font-size: 13px; } .media__chip small { font-size: 11px; }
  .logo__svg { height: 38px; }
  .hero__badge { font-size: 11px; padding: 7px 11px 7px 9px; left: 12px; top: 12px; }
  .hero__badge span { max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero__dots { left: 14px; bottom: 14px; }
  .hero__dot { width: 18px; } .hero__dot.is-active { width: 32px; }
  .fab { right: 14px; bottom: 14px; padding: 12px; }
  .fab span { display: none; }
  .footer__wm { width: 80vw; margin: 40px auto -36px; }
  .footer { padding-top: 72px; }
  .step__big { font-size: 56px; }
  .section { padding-block: 56px; }
  .logo__mark { font-size: 21px; }
  .logo__x { width: 18px; height: 18px; }
  .strip__grid { grid-template-columns: 1fr; }
  .strip__item, .strip__item:nth-child(even) { border-left: 0; padding: 20px 16px; border-top: 1px solid var(--border); }
  .strip__item:first-child { border-top: 0; }
  .cards-3, .features, .tiles, .steps, .quotes, .works, .gal, .logos, .partners, .mores, .form__row, .check--2col { grid-template-columns: 1fr !important; }
  .gal-feature .gal--3 .gal__item:first-child { grid-column: auto; aspect-ratio: 3 / 2; }
  .logos { grid-template-columns: repeat(2, 1fr) !important; }
  .partner { grid-template-columns: 1fr; }
  .partner__logo { max-width: 180px; }
  .hero__actions .btn { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .stat__num { font-size: 28px; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }
  .lb__prev, .lb__next { top: auto; bottom: 20px; transform: none; }
  .lb__prev { left: 20px; } .lb__next { right: 20px; }
  .lb__fig img { max-height: 70vh; }
  .case-nav .btn { width: 100%; }
  .hero__chip { max-width: 170px; right: 14px; bottom: 36px; }
  .hero__chip b { font-size: 13px; } .hero__chip span { font-size: 11px; }
}
