/* ==========================================================================
   CLICK WEB DESIGN — дизайн-система
   Сигнатура: «Ток» — оранжевая линия энергии (#FD8904), liquid glass выборочно.
   ========================================================================== */

/* ---------- 1. Токены ---------- */
:root {
  --pulse: #FD8904;               /* фирменный оранжевый — дозированно */
  --pulse-soft: rgba(253, 137, 4, .14);
  --ink: #080808;                 /* глубокий чёрный */
  --graphite: #121212;
  --graphite-2: #1B1B1B;
  --paper: #FFF9F3;               /* тёплый светлый */
  --white: #FFFFFF;
  --sand: #F1EDE7;
  --grey: #8B8B8B;

  --glass-light: rgba(255, 255, 255, .10);
  --glass-dark: rgba(15, 15, 15, .50);
  --border-light: rgba(255, 255, 255, .20);
  --border-dark: rgba(10, 10, 10, .12);

  --font-display: 'Unbounded', 'Arial Black', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --fs-hero: clamp(2.2rem, 1.2rem + 4.5vw, 5rem);
  --fs-h1: clamp(2rem, 1.2rem + 3.4vw, 4rem);
  --fs-h2: clamp(1.5rem, 1rem + 2.2vw, 2.6rem);
  --fs-h3: clamp(1.12rem, 1rem + .6vw, 1.4rem);
  --fs-body: clamp(1rem, .96rem + .2vw, 1.125rem);
  --fs-small: .875rem;
  --fs-statement: clamp(1.5rem, 1rem + 2.6vw, 3rem);

  --pad-x: clamp(1.25rem, 4vw, 5rem);
  --sec-y: clamp(4rem, 8vw, 8.5rem);
  --radius: 20px;
  --radius-s: 12px;
  --speed: .45s;
  --ease: cubic-bezier(.22, .8, .3, 1);
  --header-h: 76px;
}

/* ---------- 2. Reset / база ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  overflow-x: clip; /* сохраняет sticky-стек панелей */
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--pulse); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--font-mono); font-size: var(--fs-small); letter-spacing: .04em; }

.skip-link { position: fixed; top: -60px; left: 1rem; z-index: 300; background: var(--pulse); color: var(--ink); padding: .6rem 1.2rem; border-radius: 0 0 10px 10px; font-weight: 600; transition: top .25s; }
.skip-link:focus { top: 0; }

::selection { background: var(--pulse); color: var(--ink); }

/* ---------- 3. Liquid glass ---------- */
.glass, .glass-deep, .glass-panel, .glass-chip, .cookie-banner {
  background: var(--glass-dark);
  border: 1px solid var(--border-light);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .glass { background: rgba(12, 12, 12, .55); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
  .glass-deep { background: rgba(15, 15, 15, .5); -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5); }
  .glass-panel { -webkit-backdrop-filter: blur(20px) saturate(1.35); backdrop-filter: blur(20px) saturate(1.35); }
  .glass-chip { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.glass-panel {
  position: relative;
  background: var(--glass-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 20px 50px rgba(0,0,0,.35);
  overflow: hidden;
}
.glass-panel::before { /* блик по верхней кромке */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 42%;
  background: linear-gradient(180deg, rgba(255,255,255,.12), transparent);
  pointer-events: none;
}
/* стекло на светлых секциях */
.section-sand .glass-panel, .page-home .price-preview .glass-panel, body:not(.dark) .contacts-form.glass-panel {
  background: rgba(255, 255, 255, .55); border-color: var(--border-dark); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 16px 40px rgba(20,10,0,.08);
}
.glass-chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .45em 1em; border-radius: 999px;
  background: var(--glass-light); border: 1px solid var(--border-light);
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .03em;
  text-decoration: none; white-space: nowrap;
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease), transform var(--speed) var(--ease);
}
a.glass-chip:hover, button.glass-chip:hover { border-color: var(--pulse); transform: translateY(-2px); }
.glass-chiplist { display: flex; flex-wrap: wrap; gap: .5rem; }

@media (prefers-reduced-transparency: reduce) {
  .glass, .glass-deep, .glass-panel, .glass-chip, .cookie-banner {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
    background: var(--graphite-2) !important;
  }
  .section-sand .glass-panel { background: var(--white) !important; }
}
@media (forced-colors: active) {
  .glass, .glass-deep, .glass-panel, .glass-chip { background: Canvas !important; border: 1px solid CanvasText !important; }
}

/* ---------- 4. Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.7em; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease), border-color var(--speed) var(--ease), color var(--speed) var(--ease);
  will-change: transform;
}
.btn-primary { background: var(--pulse); color: var(--ink); box-shadow: 0 8px 30px rgba(253, 137, 4, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(253, 137, 4, .45); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { border-color: var(--border-light); color: inherit; background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: var(--pulse); color: var(--pulse); transform: translateY(-2px); }
.section-sand .btn-ghost, .page-legal .btn-ghost, .light-context .btn-ghost { border-color: var(--border-dark); background: transparent; }
.btn-s { padding: .55em 1.15em; font-size: .9rem; }
.btn-l { padding: 1em 2.1em; font-size: 1.06rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.text-link { font-weight: 600; text-decoration-color: var(--pulse); }
.text-link:hover { color: var(--pulse); }

/* ---------- 5. Секции / сетка ---------- */
main { display: block; }
section { padding: var(--sec-y) var(--pad-x); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark a { color: inherit; }
.section-sand { background: var(--sand); }
.section-head { max-width: 60rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.eyebrow { color: var(--pulse); text-transform: uppercase; font-size: .78rem; letter-spacing: .18em; margin-bottom: 1rem; }
.section-title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -.01em; }
.section-lead { margin-top: 1.1rem; max-width: 46rem; color: inherit; opacity: .82; font-size: 1.06em; }
.section-more { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
h1, h2, h3 { text-wrap: balance; }
h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); line-height: 1.25; }

.hl { font-style: normal; color: var(--pulse); position: relative; white-space: nowrap; }
.statement-section, .mission-section { padding-block: clamp(4rem, 9vw, 9rem); }
.statement { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-statement); line-height: 1.3; letter-spacing: -.01em; max-width: 62rem; }

/* ---------- 6. Прогресс «ток» ---------- */
.tok-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 210; pointer-events: none; }
.tok-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--pulse), #ffb75e);
  transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 12px rgba(253, 137, 4, .8);
}

/* ---------- 7. Шапка ---------- */
.site-header {
  position: fixed; top: 10px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 2rem), 1280px);
  z-index: 200; border-radius: 999px; color: var(--paper);
  transition: box-shadow var(--speed) var(--ease), top var(--speed) var(--ease);
}
.header-inner { display: flex; align-items: center; gap: 1.2rem; padding: .55rem 1.1rem .55rem 1.3rem; }
.logo { display: inline-flex; color: var(--paper); }
.logo-svg { height: 34px; width: auto; }
.nav-desktop { margin-inline: auto; }
.nav-desktop ul { display: flex; gap: .2rem; }
.nav-desktop a {
  display: block; padding: .5rem .85rem; border-radius: 999px;
  font-size: .92rem; font-weight: 500; text-decoration: none; opacity: .85;
  transition: opacity .3s, background .3s;
}
.nav-desktop a:hover { opacity: 1; background: rgba(255,255,255,.08); }
.nav-desktop a[aria-current="page"] { opacity: 1; color: var(--pulse); }
.header-actions { display: flex; align-items: center; gap: .7rem; }
.lang-switch { text-decoration: none; opacity: .8; padding: .4rem .5rem; }
.lang-switch:hover { opacity: 1; color: var(--pulse); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.burger-lines { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; }
.burger-lines i { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .35s; }
.burger[aria-expanded="true"] .burger-lines i:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines i:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-desktop, .header-cta { display: none; }
  .burger { display: block; }
  .header-inner { padding: .4rem .6rem .4rem 1rem; }
}

/* Полноэкранное меню */
.fullmenu { position: fixed; inset: 0; z-index: 190; display: grid; }
.fullmenu[hidden] { display: none; }
.fullmenu-glass {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-content: center;
  padding: calc(var(--header-h) + 3rem) var(--pad-x) 3rem; color: var(--paper);
  background: rgba(8,8,8,.78);
}
.fullmenu-nav a {
  display: flex; align-items: baseline; gap: 1.2rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.6rem, 4.5vw, 3.2rem); line-height: 1.25; text-decoration: none; padding: .35rem 0;
  transition: color .3s, transform .4s var(--ease);
}
.fullmenu-nav a:hover { color: var(--pulse); transform: translateX(10px); }
.fm-num { font-size: .8rem; color: var(--pulse); }
.fullmenu li { opacity: 0; transform: translateY(24px); }
.fullmenu.is-open li { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.fullmenu-side { display: grid; gap: 2rem; align-content: center; justify-items: start; }
.fullmenu-contacts { display: grid; gap: .6rem; }
.fullmenu-contacts a { text-decoration: none; opacity: .85; }
.fullmenu-contacts a:hover { color: var(--pulse); opacity: 1; }
.fullmenu-social { display: flex; gap: 1.1rem; margin-top: .4rem; }
@media (max-width: 800px) { .fullmenu-glass { grid-template-columns: 1fr; overflow-y: auto; align-content: start; } }
body.menu-open { overflow: hidden; }

/* ---------- 8. Hero + ядро ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-content: center; padding-top: calc(var(--header-h) + 2rem); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem; align-items: center; }
.hero-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-hero); line-height: 1.06; letter-spacing: -.015em; margin-bottom: 1.4rem; max-width: 13em; }
.hero-lead { font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); opacity: .85; max-width: 34rem; }
.hero-tertiary { display: inline-block; margin-top: 1.6rem; opacity: .75; text-decoration-color: var(--pulse); }
.hero-tertiary:hover { opacity: 1; color: var(--pulse); }
.hero-scroll { position: absolute; bottom: 1.4rem; left: var(--pad-x); opacity: .5; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }

.hero-core { position: relative; min-height: 340px; }
.hero-core svg { width: 100%; height: auto; overflow: visible; }
.core-grid line { stroke: rgba(255,255,255,.05); stroke-width: 1; }
.core-links { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1; }
.core-tok {
  fill: none; stroke: var(--pulse); stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 90 910; filter: drop-shadow(0 0 8px rgba(253,137,4,.9));
  animation: tokflow 9s linear infinite;
}
@keyframes tokflow { to { stroke-dashoffset: -1000; } }
.core-mod-glass { }
.core-mod-stroke { fill: none; stroke: var(--border-light); stroke-width: 1; }
.core-mod-dot { fill: var(--pulse); }
.core-mod-label { font-family: var(--font-mono); font-size: 13px; fill: rgba(255,255,255,.85); letter-spacing: .04em; }
.core-mod { animation: modfloat 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes modfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.core-layer { transition: transform .2s ease-out; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-core { order: -1; min-height: 0; max-width: 460px; margin-inline: auto; opacity: .9; }
  .hero { padding-top: calc(var(--header-h) + 1rem); }
}

/* Интро-вуаль */
.intro-veil {
  position: fixed; inset: 0; z-index: 400; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s;
}
.intro-veil.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-veil[hidden] { display: none; }
.intro-inner { display: grid; justify-items: center; gap: 1.4rem; }
.intro-logo .logo-svg { height: 52px; color: var(--paper); }
.intro-line { opacity: .6; }
.intro-bar { width: 180px; height: 2px; background: rgba(255,255,255,.15); overflow: hidden; border-radius: 2px; }
.intro-bar i { display: block; height: 100%; width: 100%; background: var(--pulse); transform-origin: 0 50%; animation: introbar 1.4s var(--ease) forwards; }
@keyframes introbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.intro-skip { opacity: .55; text-decoration: underline; text-underline-offset: 4px; }
.intro-skip:hover { opacity: 1; color: var(--pulse); }

/* ---------- 9. Статистика ---------- */
.stats-strip { padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--border-dark); }
.stats-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.6rem 2rem; }
.stat-value { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem); display: block; }
.stat-label { color: var(--grey); font-size: .92rem; display: block; margin-top: .3rem; max-width: 15em; }
.stats-demo-note { color: var(--grey); font-size: .72rem; margin-top: 1.6rem; }
.section-dark .stats-strip { border-color: var(--border-light); }

/* ---------- 10. Фильтры и проекты ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.2rem; }
.filter-chip { cursor: pointer; }
.filter-chip.is-active { background: var(--pulse); color: var(--ink); border-color: var(--pulse); font-weight: 600; }
.projects-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.6rem; }
.project-card { grid-column: span 4; border-radius: var(--radius); overflow: hidden; background: var(--graphite); border: 1px solid var(--border-light); display: flex; flex-direction: column; transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease); }
.project-card:hover { transform: translateY(-6px); border-color: rgba(253,137,4,.55); }
.project-card-l { grid-column: span 6; }
.project-card.is-hidden { display: none; }
.projects-grid-2 { grid-template-columns: repeat(2, 1fr); }
.projects-grid-2 .project-card { grid-column: auto; }
.project-card-media { position: relative; display: block; }
.project-year { position: absolute; top: .9rem; right: .9rem; }
.project-card-body { padding: 1.4rem 1.5rem 1.6rem; display: grid; gap: .8rem; color: var(--paper); }
.project-card-name a { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; text-decoration: none; }
.project-card-name a:hover { color: var(--pulse); }
.project-card-industry { color: var(--grey); font-size: .74rem; }
.project-card-result { opacity: .82; font-size: .95rem; }
.project-card-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-chip { display: inline-block; padding: .3em .8em; border: 1px solid var(--border-light); border-radius: 999px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .03em; }
.section-sand .tag-chip, .light-context .tag-chip, .page-about .industries-section .tag-chip { border-color: var(--border-dark); }
@media (max-width: 1000px) { .project-card, .project-card-l { grid-column: span 6; } }
@media (max-width: 640px) { .project-card, .project-card-l { grid-column: span 12; } .projects-grid-2 { grid-template-columns: 1fr; } }

/* Генеративные обложки */
.cover-art { width: 100%; height: auto; }
.ca-bg { fill: var(--graphite-2); }
.ca-grid line { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.ca-glass { fill: rgba(255,255,255,.08); stroke: var(--border-light); }
.ca-glass2 { fill: rgba(255,255,255,.045); stroke: rgba(255,255,255,.14); }
.ca-tok { fill: none; stroke: var(--pulse); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(253,137,4,.7)); }
.ca-num { font-family: var(--font-mono); font-size: 12px; fill: rgba(255,255,255,.4); letter-spacing: .1em; }
.ca-label { font-family: var(--font-mono); font-size: 11px; fill: rgba(255,255,255,.55); letter-spacing: .12em; text-transform: uppercase; }

/* ---------- 11. Индекс услуг ---------- */
.sindex { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: start; }
.sindex-item { border-bottom: 1px solid var(--border-dark); }
.sindex-link { display: flex; align-items: center; gap: 1.4rem; padding: 1.15rem .4rem; text-decoration: none; transition: padding-left var(--speed) var(--ease); }
.sindex-num { color: var(--grey); }
.sindex-name { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem, 1rem + 1vw, 1.7rem); }
.sindex-arrow { margin-left: auto; opacity: 0; transform: translateX(-8px); transition: .35s var(--ease); color: var(--pulse); }
.sindex-item:hover .sindex-link, .sindex-item.is-active .sindex-link { padding-left: 1rem; }
.sindex-item:hover .sindex-name, .sindex-item.is-active .sindex-name { color: var(--pulse); }
.sindex-item:hover .sindex-arrow, .sindex-item.is-active .sindex-arrow { opacity: 1; transform: none; }
.sindex-panel { position: sticky; top: calc(var(--header-h) + 1rem); padding: 2rem; min-height: 260px; color: var(--ink); }
.sindex-detail { display: none; }
.sindex-detail.is-active { display: grid; gap: 1.1rem; animation: fadein .4s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; } }
.sindex-detail-lead { font-size: 1.02rem; }
.sindex-detail-case a { color: var(--pulse); }
.sindex-mobile-body { display: none; }
@media (max-width: 860px) {
  .sindex { grid-template-columns: 1fr; }
  .sindex-panel { display: none; }
  .sindex-mobile-body { display: none; padding: 0 .4rem 1.2rem; color: var(--grey); }
  .sindex-item.is-open .sindex-mobile-body { display: block; }
}

/* ---------- 12. Процесс ---------- */
.process-line { position: relative; display: grid; gap: 2rem; max-width: 46rem; counter-reset: p; padding-left: 2.6rem; }
.process-line::before { content: ""; position: absolute; left: 1.05rem; top: .6rem; bottom: .6rem; width: 2px; background: linear-gradient(180deg, var(--pulse), rgba(253,137,4,.15)); }
.process-step { position: relative; display: grid; gap: .35rem; }
.process-marker { position: absolute; left: -2.6rem; top: 0; width: 2.2rem; height: 2.2rem; justify-content: center; padding: 0; }
.process-name { font-size: 1.15rem; }
.process-text { opacity: .75; font-size: .95rem; }
.process-timeline-note { margin-top: 2rem; opacity: .7; }

/* ---------- 13. Результаты / метрики ---------- */
.results-grid, .case-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.4rem; }
.result-card, .case-metric { padding: 1.8rem 1.6rem; border-radius: var(--radius); border: 1px solid var(--border-dark); display: grid; gap: .5rem; background: var(--white); }
.result-value, .metric-value { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.8rem); color: var(--pulse); }
.result-label, .metric-label { font-size: .92rem; color: var(--ink); opacity: .8; }
.result-demo { font-size: .68rem; color: var(--grey); }
.case-metric { background: var(--glass-light); border-color: var(--border-light); color: var(--paper); }
.case-metric .metric-label { color: var(--paper); }

/* ---------- 14. Цены ---------- */
.price-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.price-card { position: relative; border: 1px solid var(--border-dark); border-radius: var(--radius); padding: 1.9rem 1.7rem; background: var(--white); display: flex; flex-direction: column; gap: 1rem; transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease); }
.price-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(20, 10, 0, .1); }
.price-card-featured { border-color: var(--pulse); box-shadow: 0 14px 40px rgba(253, 137, 4, .18); }
.price-flag { position: absolute; top: -0.9rem; left: 1.4rem; background: var(--pulse); color: var(--ink); border-color: var(--pulse); }
.price-name { font-size: 1.25rem; }
.price-suits { color: var(--grey); font-size: .92rem; min-height: 2.6em; }
.price-line { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.price-value { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.price-monthly { font-size: 1.15rem; }
.price-plus { color: var(--grey); }
.price-spend-note { color: var(--grey); font-size: .7rem; }
.price-includes { display: grid; gap: .45rem; font-size: .93rem; }
.price-includes li { padding-left: 1.3rem; position: relative; }
.price-includes li::before { content: ""; position: absolute; left: 0; top: .5em; width: .55em; height: .55em; border-radius: 50%; background: var(--pulse); }
.price-meta { display: grid; gap: .4rem; font-size: .74rem; color: var(--grey); border-top: 1px solid var(--border-dark); padding-top: 1rem; margin-top: auto; }
.price-meta div { display: flex; justify-content: space-between; gap: 1rem; }
.price-meta dd { margin: 0; text-align: right; color: var(--ink); }
.price-group-note { color: var(--grey); margin: -1rem 0 1.6rem; }
.price-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.price-preview-card { background: var(--white); border: 1px solid var(--border-dark); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: .7rem; align-content: start; }
.payment-stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.3rem; counter-reset: pay; }
.payment-stage { padding: 1.6rem; display: grid; gap: .5rem; }
.payment-pct { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--pulse); }
.payment-note { margin-top: 1.6rem; color: var(--grey); max-width: 46rem; }
.custom-project-inner { padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.1rem; max-width: 56rem; color: var(--paper); }

/* ---------- 15. Почему мы ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 2rem 2.4rem; }
.why-item { display: grid; gap: .5rem; padding-top: 1.1rem; border-top: 1px solid var(--border-dark); }
.section-dark .why-item { border-color: var(--border-light); }
.why-num { color: var(--pulse); }
.why-item p { font-size: .95rem; opacity: .8; }

/* ---------- 16. Блог ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.blog-card { border: 1px solid var(--border-dark); border-radius: var(--radius); background: var(--white); transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease); }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(20, 10, 0, .09); }
.blog-card-link { display: grid; gap: .8rem; padding: 1.7rem; text-decoration: none; height: 100%; }
.blog-card-meta { color: var(--grey); font-size: .74rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.blog-card-title { font-size: 1.2rem; }
.blog-card-excerpt { color: var(--ink); opacity: .75; font-size: .95rem; }
.blog-card-more { color: var(--pulse); font-weight: 600; font-size: .9rem; }

.article-hero { padding-bottom: 3rem; }
.article-hero .article-title { margin-top: 7.5rem; }
.article-title { max-width: 20em; }
.article-meta { opacity: .7; margin-top: 1rem; }
.article-author { display: flex; gap: .9rem; align-items: center; margin-top: 1.6rem; }
.article-author-avatar { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(253,137,4,.8), rgba(253,137,4,.2)); border: 1px solid var(--border-light); }
.article-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 3rem; padding: var(--sec-y) var(--pad-x); align-items: start; }
.article-toc { position: sticky; top: calc(var(--header-h) + 1rem); padding: 1.4rem 1.5rem; color: var(--ink); }
.toc-title { color: var(--grey); margin-bottom: .8rem; }
.article-toc ol { display: grid; gap: .55rem; counter-reset: t; }
.article-toc a { text-decoration: none; font-size: .9rem; opacity: .8; }
.article-toc a:hover { color: var(--pulse); opacity: 1; }
.article-body { max-width: 44rem; display: grid; gap: 1.1rem; }
.article-excerpt { font-size: 1.15rem; font-weight: 500; }
.article-body h2 { font-size: var(--fs-h3); font-family: var(--font-display); margin-top: 1.6rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.article-body section { display: grid; gap: .9rem; }
.article-service-inner { max-width: 56rem; padding: clamp(1.8rem, 4vw, 3rem); display: grid; gap: .9rem; color: var(--ink); }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .article-toc { position: static; } }

/* ---------- 17. FAQ ---------- */
.faq-list { max-width: 50rem; display: grid; gap: .8rem; }
.faq-item { border: 1px solid var(--border-dark); border-radius: var(--radius-s); background: var(--white); overflow: hidden; }
.section-dark .faq-item { background: var(--glass-light); border-color: var(--border-light); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; cursor: pointer; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 14px; height: 14px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; inset: 50% auto auto 0; width: 100%; height: 2px; background: var(--pulse); transform: translateY(-50%); transition: transform .3s var(--ease); }
.faq-icon::after { transform: translateY(-50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translateY(-50%) rotate(0); }
.faq-body { padding: 0 1.3rem 1.2rem; opacity: .82; font-size: .96rem; }
.faq-group { padding-block: 2.4rem; }
.services-group-title { font-family: var(--font-display); font-size: var(--fs-h3); margin-bottom: 1.4rem; color: var(--grey); }

/* ---------- 18. Контакты ---------- */
.contacts-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: start; }
.contacts-list { display: grid; gap: 1.2rem; margin-bottom: 2rem; }
.contacts-list li { display: grid; gap: .25rem; }
.contacts-label { color: var(--grey); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; }
.contacts-value { font-size: 1.15rem; font-weight: 600; text-decoration: none; }
a.contacts-value:hover { color: var(--pulse); }
.map-placeholder { padding: 1.4rem; display: grid; gap: 1rem; justify-items: center; color: var(--grey); }
.map-grid line { stroke: var(--border-dark); }
.map-pin { fill: var(--pulse); }
.map-pulse { fill: none; stroke: var(--pulse); opacity: .5; animation: mappulse 2.4s ease-out infinite; transform-origin: 200px 110px; }
@keyframes mappulse { from { transform: scale(.4); opacity: .7; } to { transform: scale(1.4); opacity: 0; } }
.contacts-form { padding: clamp(1.6rem, 3vw, 2.4rem); }
@media (max-width: 900px) { .contacts-layout { grid-template-columns: 1fr; } }

/* ---------- 19. Кейс ---------- */
.case-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2rem; margin: 1.8rem 0; }
.case-facts dt { color: var(--grey); font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; }
.case-facts dd { margin: .25rem 0 0; }
.case-cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-light); margin-top: 1.5rem; }
.case-metrics-section { padding-block: 3rem; }
.case-metrics-section .case-metric { background: var(--white); border-color: var(--border-dark); color: var(--ink); }
.case-metrics-section .metric-label { color: var(--ink); }
.case-story { padding: 1rem var(--pad-x) var(--sec-y); display: grid; gap: 3rem; max-width: 62rem; }
.case-chapter { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 2rem; align-items: start; border-top: 1px solid var(--border-dark); padding-top: 2rem; }
.case-chapter-num { color: var(--pulse); }
.case-chapter h2 { font-size: 1.25rem; margin-top: .4rem; }
.case-chapter-text { font-size: 1.05rem; }
@media (max-width: 760px) { .case-chapter { grid-template-columns: 1fr; gap: .8rem; } }
.case-quote-inner { max-width: 52rem; padding: clamp(1.8rem, 4vw, 3rem); display: grid; gap: 1rem; color: var(--ink); }
.case-quote-inner blockquote p { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; line-height: 1.5; }
.case-next { text-align: left; }
.case-next-link { display: grid; gap: .4rem; text-decoration: none; margin: 1.4rem 0 1rem; }
.case-next-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.6rem); transition: color .3s; }
.case-next-link:hover .case-next-name { color: var(--pulse); }
.case-next-industry { color: var(--grey); }
.case-next-arrow { font-size: 2rem; color: var(--pulse); }

/* ---------- 20. Услуги ---------- */
.services-group { padding-block: 2.6rem; }
.services-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card { border: 1px solid var(--border-dark); border-radius: var(--radius); padding: 1.8rem 1.6rem; background: var(--white); display: grid; gap: .8rem; align-content: start; transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(20,10,0,.08); }
.service-card-num { color: var(--pulse); }
.service-card-name a { text-decoration: none; }
.service-card-name a:hover { color: var(--pulse); }
.service-card-lead { font-size: .95rem; opacity: .8; }
.service-card-meta { display: grid; gap: .3rem; font-size: .74rem; color: var(--grey); }
.service-card-meta div { display: flex; gap: .6rem; }
.service-card-meta dd { margin: 0; color: var(--ink); }
.service-hero-meta { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.4rem; }
.service-explain-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: start; }
.service-explain-text { display: grid; gap: 1rem; max-width: 42rem; }
.service-explain-text h2 { font-family: var(--font-display); font-size: var(--fs-h3); }
.service-problems { padding: 1.8rem; color: var(--ink); position: sticky; top: calc(var(--header-h) + 1rem); }
.aside-title { font-size: 1.05rem; margin-bottom: 1rem; }
.service-problems ul { display: grid; gap: .7rem; font-size: .95rem; }
.service-problems li { padding-left: 1.4rem; position: relative; }
.service-problems li::before { content: "—"; position: absolute; left: 0; color: var(--pulse); }
@media (max-width: 880px) { .service-explain-grid { grid-template-columns: 1fr; } .service-problems { position: static; } }
.for-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.1rem; }
.for-item { background: var(--white); border: 1px solid var(--border-dark); border-radius: var(--radius-s); padding: 1.2rem 1.3rem; font-size: .96rem; }
.scope-chips { display: flex; flex-wrap: wrap; gap: .55rem; max-width: 60rem; }
.scope-chips .tag-chip { font-size: .8rem; padding: .5em 1em; border-color: var(--border-dark); }
.outcomes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.1rem; }
.outcome-item { display: flex; gap: .8rem; align-items: baseline; font-size: 1rem; border-top: 1px solid var(--border-dark); padding-top: 1rem; }
.outcome-dot { flex: none; width: .6em; height: .6em; border-radius: 50%; background: var(--pulse); }
.related-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.related-links .glass-chip { border-color: var(--border-dark); }
.service-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .service-form-grid { grid-template-columns: 1fr; } }
.service-form-grid .glass-panel { padding: clamp(1.5rem, 3vw, 2.2rem); }

/* ---------- 21. Команда / об агентстве ---------- */
.approach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.approach-card { padding: 1.8rem 1.6rem; display: grid; gap: .7rem; color: var(--paper); }
.approach-card p { opacity: .82; font-size: .95rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.6rem; }
.team-card { display: grid; gap: .6rem; justify-items: start; }
.team-photo { width: 100%; aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(160deg, var(--sand), #e7e0d6); border: 1px solid var(--border-dark); display: grid; place-items: center; overflow: hidden; }
.team-photo svg { width: 60%; fill: none; stroke: var(--grey); stroke-width: 3; opacity: .55; }
.team-name { font-size: 1.02rem; }
.team-role { color: var(--grey); font-size: .72rem; }
.industries-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 800px) { .industries-grid { grid-template-columns: 1fr; } }
.list-title { color: var(--grey); margin-bottom: 1rem; text-transform: uppercase; font-size: .72rem; letter-spacing: .14em; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: .55rem; }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 760px) { .join-grid { grid-template-columns: 1fr; } }
.join-card { padding: 2rem; display: grid; gap: .8rem; color: var(--ink); }

/* ---------- 22. Юридические ---------- */
.legal-body { max-width: 46rem; padding: var(--sec-y) var(--pad-x); display: grid; gap: 2rem; }
.legal-body section { display: grid; gap: .8rem; }
.legal-body h2 { font-size: 1.15rem; font-family: var(--font-display); }
.legal-note { color: var(--grey); border-top: 1px solid var(--border-dark); padding-top: 1.4rem; }

/* ---------- 23. Финальный CTA + формы ---------- */
.cta-final { min-height: 88svh; display: grid; align-content: center; }
.cta-final-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.cta-final-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 1.2rem + 3vw, 3.6rem); line-height: 1.12; max-width: 14em; }
.cta-contacts { margin-top: 2rem; }
.cta-final-form { padding: clamp(1.6rem, 3vw, 2.4rem); color: var(--paper); }
.cta-form-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 1.2rem; }
@media (max-width: 900px) { .cta-final-inner { grid-template-columns: 1fr; gap: 2rem; } }

.short-form { display: grid; gap: 1rem; }
.sf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .sf-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem 1rem; border-radius: var(--radius-s);
  border: 1px solid var(--border-dark); background: var(--white); color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
}
.short-form-dark .field input, .short-form-dark .field textarea,
.section-dark .field input, .section-dark .field textarea, .section-dark .field select {
  background: rgba(255,255,255,.07); border-color: var(--border-light); color: var(--paper);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--pulse); box-shadow: 0 0 0 3px var(--pulse-soft); }
.field textarea { resize: vertical; min-height: 90px; }
.sf-trap { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.sf-bottom { display: grid; gap: .9rem; }
.privacy-note { font-size: .74rem; opacity: .65; }
.privacy-note a { color: inherit; }
.sf-alt { font-size: .85rem; color: var(--pulse); text-decoration: none; font-weight: 600; }
.sf-alt:hover { text-decoration: underline; }
.form-error { color: #ff6b57; font-size: .85rem; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff6b57; }

/* ---------- 24. Футер ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: var(--sec-y) var(--pad-x) 2rem; }
.footer-cta { border-bottom: 1px solid var(--border-light); padding-bottom: 3rem; margin-bottom: 3rem; }
.footer-cta-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1rem + 2.6vw, 3rem); max-width: 16em; line-height: 1.15; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo .logo-svg { height: 30px; color: var(--paper); margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; opacity: .75; max-width: 20rem; }
.footer-geo { margin-top: .8rem; color: var(--pulse); }
.footer-h { color: var(--grey); text-transform: uppercase; font-size: .7rem; letter-spacing: .16em; margin-bottom: 1.1rem; font-weight: 500; }
.footer-links { display: grid; gap: .55rem; font-size: .92rem; }
.footer-links a { text-decoration: none; opacity: .8; }
.footer-links a:hover { opacity: 1; color: var(--pulse); }
.footer-contacts { display: flex; }
.footer-addr { margin-top: 1.2rem; font-size: .85rem; opacity: .7; }
.footer-legal { border-top: 1px solid var(--border-light); padding-top: 1.6rem; display: grid; gap: 1rem; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .8rem; }
.footer-legal .mono { opacity: .5; font-size: .72rem; }

/* Cookie */
.cookie-banner { position: fixed; z-index: 220; left: auto; right: 1rem; bottom: 5.2rem; max-width: 400px; border-radius: var(--radius); padding: 1.2rem 1.4rem; color: var(--paper); display: grid; gap: .9rem; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: .85rem; }
.cookie-banner a { color: var(--pulse); }
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
@media (max-width: 480px) {
  .cookie-banner { left: 1rem; right: 1rem; max-width: none; }
}

/* Motion toggle */
.motion-toggle { position: fixed; z-index: 215; right: 1rem; bottom: 1rem; width: 46px; height: 46px; border-radius: 50%; color: var(--paper); display: grid; place-items: center; opacity: .75; overflow: visible; }
.motion-toggle:hover { opacity: 1; color: var(--pulse); }
.motion-toggle[aria-pressed="true"] { color: var(--pulse); opacity: 1; }
.motion-toggle svg { grid-area: 1/1; transition: opacity .25s, transform .25s; }
.motion-icon-off { opacity: 0; transform: scale(.6); }
.motion-toggle[aria-pressed="false"] .motion-icon-on { opacity: 0; transform: scale(.6); }
.motion-toggle[aria-pressed="false"] .motion-icon-off { opacity: 1; transform: scale(1); }
html.no-motion .motion-toggle svg { transition: none; }
.motion-toast {
  position: absolute; right: 0; bottom: calc(100% + 10px);
  padding: .5em .9em; border-radius: 999px; white-space: nowrap;
  background: var(--ink); border: 1px solid var(--border-light); color: var(--paper);
  font-size: .72rem; letter-spacing: .04em;
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.motion-toast.is-shown { opacity: 1; transform: translateY(0); }
html.no-motion .motion-toast { transition: none; }

/* ---------- 25. Страничные hero, крошки ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)); }
.article-hero, .legal .page-hero { padding-left: var(--pad-x); padding-right: var(--pad-x); }
.page-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -.015em; max-width: 17em; }
.page-lead { margin-top: 1.3rem; font-size: 1.1rem; opacity: .85; max-width: 44rem; }
.breadcrumbs { position: absolute; z-index: 5; padding: 0 var(--pad-x); transform: translateY(calc(var(--header-h) + 1.1rem)); font-size: .78rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; color: var(--grey); font-family: var(--font-mono); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .5rem; opacity: .5; }
.breadcrumbs a { text-decoration: none; color: inherit; }
.breadcrumbs a:hover { color: var(--pulse); }
main { position: relative; }

/* thank / 404 */
.thank-hero, .notfound-hero { min-height: 82svh; display: grid; align-content: center; }
.notfound-code { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 18vw, 12rem); color: transparent; -webkit-text-stroke: 2px var(--pulse); line-height: 1; }
.thank-note { margin-top: 2rem; opacity: .75; }
.thank-note a { color: var(--pulse); }

/* ---------- 26. Конфигуратор ---------- */
.conf-hero { padding-bottom: 2.5rem; }
.configurator { padding-top: 2rem; }
.conf-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 2rem; align-items: start; }
.conf-main { padding: clamp(1.4rem, 3vw, 2.4rem); color: var(--ink); background: rgba(255,255,255,.6); border-color: var(--border-dark); }
.conf-progress { height: 4px; border-radius: 4px; background: var(--border-dark); overflow: hidden; margin-bottom: 1rem; }
.conf-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pulse), #ffb75e); transition: width .5s var(--ease); }
.conf-stepcount { color: var(--grey); margin-bottom: 1.4rem; }
.conf-step-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1rem + 1.4vw, 1.8rem); margin-bottom: .6rem; }
.conf-hint { color: var(--grey); font-size: .92rem; margin-bottom: 1.4rem; }
.conf-q { margin-bottom: 1.6rem; }
.conf-q-label { font-weight: 700; font-size: .95rem; margin-bottom: .8rem; }
.conf-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .7rem; }
.conf-opt { position: relative; }
.conf-opt input { position: absolute; opacity: 0; inset: 0; }
.conf-opt label, .conf-opt .conf-opt-body {
  display: flex; align-items: center; gap: .7rem; min-height: 100%;
  padding: .85rem 1rem; border-radius: var(--radius-s); cursor: pointer;
  border: 1px solid var(--border-dark); background: var(--white);
  font-size: .92rem; line-height: 1.35;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.conf-opt label:hover { border-color: var(--pulse); transform: translateY(-2px); }
.conf-opt input:checked + label { border-color: var(--pulse); background: var(--pulse-soft); font-weight: 600; }
.conf-opt input:focus-visible + label { outline: 2px solid var(--pulse); outline-offset: 2px; }
.conf-opt-price { margin-left: auto; color: var(--grey); font-family: var(--font-mono); font-size: .7rem; white-space: nowrap; }
.conf-nav { display: flex; gap: .8rem; justify-content: space-between; margin-top: 2rem; flex-wrap: wrap; }
.conf-note { background: var(--pulse-soft); border: 1px solid rgba(253,137,4,.4); border-radius: var(--radius-s); padding: .9rem 1.1rem; font-size: .88rem; margin-top: 1rem; }
.conf-summary { position: sticky; top: calc(var(--header-h) + 1rem); border-radius: var(--radius); padding: 1.6rem; color: var(--paper); max-height: calc(100vh - var(--header-h) - 2rem); overflow: auto; }
.conf-summary-title { color: var(--grey); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; margin-bottom: 1.2rem; }
.conf-estimate { border-bottom: 1px solid var(--border-light); padding-bottom: 1.2rem; margin-bottom: 1.2rem; display: grid; gap: .5rem; }
.conf-estimate-label { color: var(--pulse); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.conf-estimate-onetime { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; }
.conf-estimate-monthly { opacity: .85; }
.conf-estimate-note { font-size: .74rem; opacity: .6; }
.conf-estimate-adnote { font-size: .68rem; color: var(--pulse); opacity: .85; }
.conf-summary-list { display: grid; gap: .8rem; font-size: .85rem; }
.conf-summary-list li { display: grid; gap: .15rem; border-bottom: 1px dashed rgba(255,255,255,.12); padding-bottom: .7rem; }
.conf-summary-k { color: var(--grey); font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; display: flex; justify-content: space-between; gap: 1rem; }
.conf-summary-edit { color: var(--pulse); background: none; border: none; cursor: pointer; font-size: .68rem; font-family: var(--font-mono); text-transform: uppercase; }
.conf-summary-edit:hover { text-decoration: underline; }
.conf-recs { margin-top: 1.4rem; display: grid; gap: .7rem; }
.conf-recs-title { color: var(--pulse); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.conf-recs ul { display: grid; gap: .6rem; font-size: .8rem; opacity: .85; }
.conf-recs li { padding-left: 1.1rem; position: relative; }
.conf-recs li::before { content: "→"; position: absolute; left: 0; color: var(--pulse); }
.conf-review { display: grid; gap: 1rem; }
.conf-review-item { border: 1px solid var(--border-dark); border-radius: var(--radius-s); padding: 1rem 1.2rem; display: grid; gap: .3rem; background: var(--white); }
.conf-review-k { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-mono); font-size: .7rem; color: var(--grey); text-transform: uppercase; }
.conf-mobilebar { display: none; position: fixed; z-index: 180; left: .8rem; right: .8rem; bottom: .8rem; border-radius: var(--radius); color: var(--paper); }
.conf-mobilebar-est { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.2rem; }
.conf-mobilebar-est strong { color: var(--pulse); font-family: var(--font-display); }
@media (max-width: 980px) {
  .conf-layout { grid-template-columns: 1fr; }
  .conf-summary { position: static; max-height: none; display: none; }
  .conf-summary.is-open { display: block; }
  .conf-mobilebar { display: block; }
  .page-enquiry .motion-toggle { bottom: 4.6rem; }
}
.conf-noscript { max-width: 40rem; margin-inline: auto; padding: 2rem; display: grid; gap: 1rem; color: var(--ink); background: var(--white); border-color: var(--border-dark); }
input[type="date"].conf-date { max-width: 240px; }
.conf-file-list { display: grid; gap: .4rem; font-size: .8rem; color: var(--grey); margin-top: .6rem; }

/* ---------- 27. Reveal-анимации ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-splitlines] .sl-line { display: block; overflow: hidden; }
[data-splitlines] .sl-inner { display: block; transform: translateY(110%); transition: transform .9s var(--ease); }
[data-splitlines].is-in .sl-inner { transform: none; }
html.no-motion [data-reveal], html.no-motion [data-splitlines] .sl-inner { opacity: 1 !important; transform: none !important; transition: none !important; }
html.no-motion .core-tok, html.no-motion .core-mod, html.no-motion .map-pulse, html.no-motion .intro-bar i, html.no-motion .panel-media { animation: none !important; }

/* Кастомный курсор — только desktop с точным указателем */
.cursor-dot { position: fixed; z-index: 500; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--pulse); pointer-events: none; mix-blend-mode: difference; transform: translate(-50%, -50%); transition: width .25s, height .25s, opacity .25s; opacity: 0; }
.cursor-dot.is-on { opacity: 1; }
.cursor-dot.is-link { width: 34px; height: 34px; }
@media (hover: none), (pointer: coarse) { .cursor-dot { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], [data-splitlines] .sl-inner { opacity: 1 !important; transform: none !important; }
  .intro-veil { display: none !important; }
}

/* ---------- 28. Печать ---------- */
@media print {
  .site-header, .fullmenu, .tok-progress, .cookie-banner, .motion-toggle, .intro-veil, .cursor-dot, .conf-mobilebar, .cta-final-form, .hero-core { display: none !important; }
  body { background: #fff; color: #000; }
  .section-dark { background: #fff; color: #000; }
  a { text-decoration: underline; }
  section { padding: 1.2rem 0; }
}

/* ==========================================================================
   29. КИНЕМАТОГРАФИЧНЫЙ РЕЖИМ (референс: upp.cz)
   Полноэкранные медиа-панели, image-first плитки кейсов, баннеры услуг.
   ========================================================================== */

/* ---------- Полноэкранные панели ---------- */
.page-cinematic { background: var(--ink); color: var(--paper); }
.page-cinematic .site-footer { border-top: 1px solid var(--border-light); }

.panels { position: relative; }
/* Карточный стек: каждая панель прилипает к верху, следующая наезжает поверх */
.panels .panel {
  position: sticky; top: 0;
  transform: scale(calc(1 - var(--cover, 0) * .06));
  filter: brightness(calc(1 - var(--cover, 0) * .42));
  transform-origin: 50% 12%;
  will-change: transform, filter;
}
.panels .panel + .panel {
  border-radius: clamp(18px, 3vw, 34px) clamp(18px, 3vw, 34px) 0 0;
  box-shadow: 0 -30px 70px rgba(0, 0, 0, .55);
}
@media (prefers-reduced-motion: reduce) {
  .panels .panel { position: static; transform: none !important; filter: none !important; border-radius: 0; box-shadow: none; }
}
html.no-motion .panels .panel { transform: none !important; filter: none !important; }

.panel {
  position: relative; min-height: clamp(520px, 78svh, 840px);
  display: grid; align-content: end;
  padding: calc(var(--header-h) + 1.2rem) var(--pad-x) clamp(2.2rem, 5vh, 3.6rem);
  background: var(--ink); color: var(--paper);
  overflow: hidden; isolation: isolate;
}
.panel-hero { min-height: 100svh; }
.panel-media {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.2s var(--ease);
}
.panel.is-in .panel-media { transform: scale(1); animation: ambientDrift 22s ease-in-out 1.2s infinite; }
@keyframes ambientDrift {
  0%, 100% { transform: scale(1) translate3d(0, 0, 0); }
  50% { transform: scale(1.045) translate3d(-0.6%, -0.6%, 0); }
}
.panel-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,8,8,.55) 0%, rgba(8,8,8,.05) 34%, rgba(8,8,8,.12) 55%, rgba(8,8,8,.88) 100%),
    linear-gradient(90deg, rgba(8,8,8,.5) 0%, rgba(8,8,8,0) 55%);
}
.panel-content { max-width: 62rem; display: grid; gap: .85rem; justify-items: start; }
.panel-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 1rem + 4.2vw, 4.4rem);
  line-height: 1.04; letter-spacing: -.02em; margin: 0;
  text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.45);
}
.panel-hero .panel-title { font-size: clamp(2.4rem, 1.1rem + 5.4vw, 5.6rem); }
.panel-hero .panel-title { max-width: 12em; }
.panel-line {
  font-size: clamp(1.02rem, 1rem + .5vw, 1.35rem);
  max-width: 36rem; opacity: .92; text-shadow: 0 1px 18px rgba(0,0,0,.5);
}
.panel-more {
  display: inline-flex; align-items: center; gap: .6em;
  margin-top: .4rem; padding-bottom: .3rem;
  font-weight: 700; font-size: 1.02rem; text-decoration: none;
  border-bottom: 2px solid var(--pulse);
  transition: gap .35s var(--ease), color .3s;
}
.panel-more:hover { color: var(--pulse); gap: 1em; }
.panel .btn-row { margin-top: .6rem; }


/* Дополнительный контент панелей */
.panel-desc {
  max-width: 42rem; opacity: .8;
  font-size: clamp(.94rem, .9rem + .25vw, 1.06rem); line-height: 1.6;
  text-shadow: 0 1px 14px rgba(0,0,0,.55);
}
.panel-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .2rem; max-width: 44rem; }
.panel-chips .glass-chip { background: rgba(10,10,10,.42); font-size: .72rem; }
.hero-mini { display: flex; flex-wrap: wrap; gap: 1.6rem 2.6rem; margin-top: 1.2rem; }
.hero-mini li { display: grid; gap: .1rem; }
.hero-mini strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); }
.hero-mini span { font-size: .74rem; opacity: .65; }
@media (max-width: 640px) { .panel-chips li:nth-child(n+5) { display: none; } }

/* панель без изображения — градиентный фолбэк с сеткой */
.panel:not(:has(.panel-media)) {
  background:
    radial-gradient(90rem 50rem at 85% 20%, rgba(253,137,4,.14), transparent 55%),
    linear-gradient(160deg, #101010, var(--ink) 70%);
}

/* ---------- Интро: счётчик процентов ---------- */
.intro-counter {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3rem, 10vw, 6rem); line-height: 1; color: var(--paper);
  display: flex; align-items: baseline; gap: .1em;
}
.intro-counter .intro-pct { font-size: .35em; color: var(--pulse); }

/* ---------- Image-first плитки кейсов ---------- */
.project-tile { position: relative; border: 1px solid var(--border-light); background: var(--graphite); }
.project-tile-link { display: block; position: relative; height: 100%; min-height: 340px; text-decoration: none; color: var(--paper); isolation: isolate; }
.project-card-l .project-tile-link { min-height: 440px; }
.project-tile-media { position: absolute; inset: 0; z-index: -2; }
.project-tile-media img, .project-tile-media svg {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.001);
  transition: transform .8s var(--ease), filter .8s var(--ease);
}
.project-tile:hover .project-tile-media img, .project-tile:hover .project-tile-media svg { transform: scale(1.05); }
.project-tile-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(185deg, rgba(8,8,8,.18) 30%, rgba(8,8,8,.9) 88%);
  transition: background .5s;
}
.project-tile-body {
  position: absolute; inset: auto 0 0 0;
  display: grid; gap: .45rem; padding: 1.5rem 1.6rem 1.6rem;
}
.project-tile-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15;
}
.project-tile .project-card-result {
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .55s var(--ease), opacity .45s var(--ease);
}
.project-tile:hover .project-card-result, .project-tile:focus-within .project-card-result { max-height: 6em; opacity: .85; }
.project-tile-more { color: var(--pulse); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.project-tile:hover { border-color: rgba(253,137,4,.55); }
.project-tile .project-year { z-index: 1; }
@media (hover: none) { .project-tile .project-card-result { max-height: 6em; opacity: .85; } }

/* ---------- Кинематографичный баннер услуги / about ---------- */
.service-visual {
  margin: 0 var(--pad-x); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-dark); background: var(--ink);
  aspect-ratio: 21 / 9; max-height: 66svh;
}
.section-dark + .service-visual, .page-service .service-visual, .page-about .service-visual {
  margin-top: calc(-1 * clamp(1.5rem, 3vw, 3rem));
  transform: translateY(clamp(1.5rem, 3vw, 3rem));
  margin-bottom: clamp(3rem, 6vw, 5rem);
  border-color: var(--border-light); box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.service-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Обложка кейса-фото ---------- */
.case-cover-photo { aspect-ratio: 21 / 9; max-height: 70svh; }
.case-cover-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Тёмная сетка блога на главной ---------- */
.page-cinematic .blog-card { background: var(--glass-light); border-color: var(--border-light); }
.page-cinematic .blog-card .blog-card-title, .page-cinematic .blog-card .blog-card-excerpt { color: var(--paper); }
.page-cinematic .blog-card .blog-card-excerpt { opacity: .78; }
.page-cinematic .stats-strip { border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); padding-inline: var(--pad-x); }
.page-cinematic .stat-label { color: rgba(255,249,243,.6); }

/* reduced-motion / no-motion: без зума и снапа */
html.no-motion .panel-media, .no-motion .project-tile-media img { transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .panel-media { transform: none !important; }
}
