/* ============================================================
   Корса — точная рекреация лендинга fin.ai (RU). Локальный прототип.
   Типографика по WhatFont: Serrif 300 / 100px / lh95  → Playfair Display
                            Saans 400 / 18px / lh25     → Inter
                            метрики Saans 400 / 24px / #FF5600
   ============================================================ */

:root{
  --paper:#FCFBF8; --paper-2:#F4F2EC; --ink:#000; --body:rgba(0,0,0,.80);
  --muted:rgba(0,0,0,.55); --faint:rgba(0,0,0,.32);
  --line:rgba(0,0,0,.12); --line-soft:rgba(0,0,0,.07);
  --orange:#FF5600; --blue:#000CE1; --white:#fff;
  --green:#2FA86A;
  --tint-amber:radial-gradient(120% 120% at 30% 0%, #FFE9C7 0%, #FBD9A6 45%, #F2C896 100%);
  --tint-peach:linear-gradient(160deg, #FCE7DC 0%, #F7D9C9 100%);
  --tint-rose:radial-gradient(120% 120% at 70% 10%, #F7E4E8 0%, #F1D7DE 60%, #ECE2E6 100%);
  --tint-gray:linear-gradient(180deg, #F1F1EF 0%, #E9E9E6 100%);
  --serif:"Playfair Display", Georgia, "Times New Roman", serif;
  --sans:"Onest", system-ui, -apple-system, sans-serif;
  --mono:"IBM Plex Mono", ui-monospace, monospace;
  --maxw:1180px; --gut:40px; --radius:14px;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; background:var(--paper); color:var(--body); font-family:var(--sans);
  font-size:18px; line-height:25px; font-weight:400; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
a{ color:inherit; }
img{ max-width:100%; display:block; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 var(--gut); }

h1,h2,h3{ font-family:var(--serif); font-weight:300; color:var(--ink); margin:0; letter-spacing:-.015em; }
.serif{ font-family:var(--serif); font-weight:300; }
.label{ font-family:var(--mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); }
.metric{ font-family:var(--sans); font-weight:600; color:var(--orange); font-size:24px; line-height:1; }
.accent{ color:var(--orange); }

/* Кнопки */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; font-family:var(--sans);
  font-size:15px; font-weight:500; padding:12px 20px; border-radius:8px; cursor:pointer; border:1px solid transparent;
  text-decoration:none; line-height:1; transition:transform .15s, background .2s, color .2s, border-color .2s; white-space:nowrap; }
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--ink); color:var(--white); }
.btn-primary:hover{ background:var(--orange); }
.btn-outline{ background:transparent; color:var(--ink); border-color:rgba(0,0,0,.45); }
.btn-outline:hover{ border-color:var(--ink); background:rgba(0,0,0,.03); }
.btn-sm{ padding:9px 14px; font-size:14px; }
/* увеличенная (невидимая) область тапа — удобнее попадать пальцем, размер кнопки визуально не меняется */
.btn{ position:relative; }
.btn::after{ content:""; position:absolute; inset:-10px; border-radius:inherit; }
.fp-close, .att-x, .burger, .bar-send, .bar-more{ position:relative; }
.fp-close::after, .att-x::after, .burger::after{ content:""; position:absolute; inset:-10px; }
.bar-send::after, .bar-more::after{ content:""; position:absolute; top:-11px; bottom:-11px; left:-5px; right:-5px; }

/* ===== ШАПКА (full-width, одна строка) ===== */
header.site{ position:sticky; top:0; z-index:50; background:var(--paper);
  border-bottom:1px solid var(--line-soft); }
.nav{ display:flex; align-items:center; gap:30px; height:70px; max-width:1760px; margin:0 auto; padding:0 34px; }
.logo{ display:flex; align-items:center; gap:9px; font-family:var(--serif); font-size:25px; font-weight:600; letter-spacing:-.01em; color:var(--ink); text-decoration:none; }
.logo-mark{ width:26px; height:26px; display:block; }
.logo .dots{ display:grid; grid-template-columns:repeat(3,7px); grid-template-rows:repeat(3,7px); gap:2px; }
.logo .dots i{ width:7px; height:7px; border-radius:50%; background:var(--ink); }
.nav-menu{ display:flex; gap:22px; }
.nav-menu a{ font-size:15px; color:var(--ink); text-decoration:none; display:flex; align-items:center; gap:5px; white-space:nowrap; }
.nav-menu a:hover{ color:var(--orange); }
.nav-menu .caret{ font-size:9px; opacity:.5; }
.nav-right{ display:flex; align-items:center; gap:20px; margin-left:auto; }
.nav-right a.link{ font-size:15px; color:var(--ink); text-decoration:none; white-space:nowrap; }
.nav-right a.link:hover{ color:var(--orange); }
.nav-brand{ gap:8px; padding:10px 16px; }
.nav-brand .arr{ font-size:13px; }
.burger{ display:none; }
@media (max-width:1280px){ .nav-right{ gap:14px; } .nav{ gap:20px; padding:0 22px; } .nav-menu{ gap:16px; } }

/* ===== HERO (sticky: блюрится/исчезает, контент наезжает поверх) ===== */
.hero{ position:sticky; top:0; height:100vh; padding:0; overflow:hidden; z-index:1; }
.hero-fade{ position:relative; height:100%; will-change:filter, opacity, transform; }
/* скроллящийся слой: подпись «22 причины» — на прозрачном фоне; белая «шторка» начинается ниже неё */
.after-hero{ position:relative; z-index:2; margin-top:-26vh; background:transparent; }
.reasons-head{ padding:0 0 26px; background:transparent; }
.curtain{ background:var(--paper); }
.reasons-head .wrap{ max-width:1760px; margin:0 auto; padding:0 8vw; }
.reasons-head h2{ font-size:clamp(32px,3.6vw,52px); font-weight:300; line-height:1.04; text-align:left; }
.hero .wrap{ max-width:1760px; margin:0 auto; padding:9.9vh 8vw 0; }
.hero-title{ font-size:clamp(43px,6.4vw,94px); font-weight:300; line-height:1.02; letter-spacing:-.006em; max-width:none; position:relative; z-index:2; white-space:nowrap; }
.hero-title em{ font-style:normal; }
.hero .actions{ margin-top:34px; display:flex; gap:14px; flex-wrap:wrap; position:relative; z-index:2;
  animation:hero-rise .7s cubic-bezier(.22,1,.36,1) 1s both; }
.reasons-head h2{ animation:hero-rise .7s cubic-bezier(.22,1,.36,1) 1.2s both; }
@keyframes hero-rise{ from{ opacity:0; transform:translateY(22px); } to{ opacity:1; transform:none; } }
.btn-lg{ padding:15px 26px; font-size:16px; border-radius:9px; }
/* фигура: ПОЛНАЯ (не обрезана), крупная, внизу-справа; нижняя часть прячется за наезжающим слоем.
   крутится при скролле (rotate задаётся в JS на .hero-knot) */
.hero-knot{ position:absolute; right:-8vw; bottom:-52vh; width:60vw; z-index:1; pointer-events:none; will-change:transform; transition:transform .08s linear; }
.knot-photo{ width:100%; height:auto; display:block; }
/* фото-фигура проявляется после печати заголовка */
#heroFlower{ opacity:0; transform:scale(.92) translateY(12px); transition:opacity .9s ease, transform .9s cubic-bezier(.22,1,.36,1); }
#heroFlower.in{ opacity:1; transform:none; }
/* Печатающийся заголовок */
.hero-title .tch{ opacity:0; }
.hero-title.typing .tch{ transition:opacity .04s linear; }
.hero-title .tch.vis{ opacity:1; }
.type-caret{ display:inline-block; width:.05em; height:.74em; background:var(--ink); margin-left:.015em;
  vertical-align:baseline; transform:translateY(.04em); animation:caret-blink 1.05s steps(1) infinite; }
@keyframes caret-blink{ 50%{ opacity:0; } }
@media (prefers-reduced-motion:reduce){ .hero-title .tch{ opacity:1; } .type-caret{ display:none; } }

/* ===== Блоки 01–22 ===== */
.block{ padding:74px 0; border-top:1px solid var(--line-soft); position:relative; }
.block-grid{ display:grid; grid-template-columns:40% 1fr; gap:52px; align-items:start; }
.block-num{ font-family:var(--serif); font-weight:300; font-size:34px; line-height:1; color:var(--ink); margin-bottom:14px; }
.block h3{ font-size:clamp(28px,3.2vw,38px); line-height:1.05; margin-bottom:18px; max-width:18ch; }
.block .copy p{ margin:0 0 14px; color:var(--body); font-size:18px; line-height:26px; }
.block .copy a.inline{ color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.block-media{ position:relative; }
.block.tint-amber{ background:var(--tint-amber); border-top-color:transparent; }
.block.tint-peach{ background:var(--tint-peach); border-top-color:transparent; }
.block.tint-rose{ background:var(--tint-rose); border-top-color:transparent; }
.block.tint-gray{ background:var(--tint-gray); border-top-color:transparent; }
.block.tint-amber .copy p, .block.tint-peach .copy p, .block.tint-rose .copy p{ color:rgba(0,0,0,.78); }

/* Зерно */
.grain::after{ content:""; position:absolute; inset:0; pointer-events:none; opacity:.5;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E"); }
.grain{ position:relative; }

/* Рамка с угловыми реперами */
.frame{ position:relative; background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:16px; }
.frame.bare{ background:transparent; border:none; padding:0; }
.reticle{ position:relative; }
.reticle::before,.reticle::after,.reticle>.tick-tl,.reticle>.tick-br{ content:""; position:absolute; width:8px; height:8px; border:1px solid rgba(0,0,0,.35); z-index:3; }
.reticle::before{ top:-1px; left:-1px; border-right:0; border-bottom:0; }
.reticle::after{ top:-1px; right:-1px; border-left:0; border-bottom:0; }
.reticle .tick-tl{ bottom:-1px; left:-1px; border-right:0; border-top:0; }
.reticle .tick-br{ bottom:-1px; right:-1px; border-left:0; border-top:0; }

/* Картинки-заглушки (подгружаются с placehold.co, легко заменить на реальный скрин) */
.shot{ width:100%; border-radius:10px; border:1px solid var(--line); background:#ECE9E2; }
.shot.tall{ aspect-ratio:auto; }
.media-note{ font-family:var(--mono); font-size:10px; letter-spacing:.1em; color:var(--faint); text-transform:uppercase; margin-top:8px; }
.side-video{ margin-top:22px; }
.side-video .label{ margin-bottom:8px; display:block; }
.side-video p{ font-size:14px; color:var(--muted); margin:0 0 10px; max-width:200px; }
.playbtn{ position:relative; display:block; }
.playbtn .pill{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); background:#fff;
  border-radius:8px; padding:7px 13px; font-size:13px; font-weight:500; color:var(--ink); display:flex; gap:6px; align-items:center; box-shadow:0 4px 14px rgba(0,0,0,.18); }

/* ===== Area-chart (01) ===== */
.areachart{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px 14px 8px; }
.areachart .yax{ display:flex; }
.ac-svg{ width:100%; height:230px; display:block; }
.ac-x{ display:flex; justify-content:space-between; font-family:var(--mono); font-size:9px; color:var(--muted); letter-spacing:.04em; padding:6px 4px 0; }

/* ===== Бар-чарты (03) ===== */
.bargroups{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.bargroup{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:16px; }
.bargroup .cap{ font-size:14px; line-height:18px; color:var(--ink); margin-bottom:14px; min-height:36px; }
.bargroup .cap b{ color:var(--orange); font-weight:600; }
.bars{ display:flex; align-items:flex-end; gap:10px; height:150px; }
.bar{ flex:1; background:#E4E2DC; border-radius:5px 5px 0 0; position:relative; }
.bar.win{ background:var(--orange); }
.bar span{ position:absolute; top:-19px; left:50%; transform:translateX(-50%); font-family:var(--sans); font-weight:600; font-size:11px; color:var(--ink); white-space:nowrap; }
.bar small{ position:absolute; bottom:-24px; left:50%; transform:translateX(-50%); font-family:var(--mono); font-size:8px; color:var(--muted); white-space:nowrap; }
.bargroup{ padding-bottom:34px; }

/* ===== Чат-мокап ===== */
.mock-window{ background:#fff; border-radius:12px; border:1px solid var(--line); overflow:hidden; }
.mock-bar{ display:flex; align-items:center; gap:8px; padding:10px 14px; border-bottom:1px solid var(--line-soft); font-size:13px; color:var(--muted); }
.mock-bar .dots3{ display:flex; gap:5px; }
.mock-bar .dots3 i{ width:9px; height:9px; border-radius:50%; background:#ddd; }
.mock-bar .brand{ display:flex; align-items:center; gap:7px; font-weight:500; color:var(--ink); font-family:var(--sans); }
.mock-bar .brand .g{ display:grid; grid-template-columns:repeat(3,3px); grid-template-rows:repeat(3,3px); gap:1.5px; }
.mock-bar .brand .g i{ width:3px; height:3px; background:var(--orange); border-radius:1px; }
.mock-body{ padding:16px; }
.chat-line{ display:flex; gap:10px; margin-bottom:12px; align-items:flex-start; }
.chat-line.right{ justify-content:flex-end; }
.chat-line .av{ width:26px; height:26px; border-radius:50%; background:var(--ink); flex:0 0 26px; }
.chat-line.bot .av{ background:var(--orange); }
.chat-line .bubble{ background:var(--paper-2); border-radius:12px; padding:9px 12px; font-size:14px; line-height:19px; color:var(--ink); max-width:80%; }
.chat-line.bot .bubble{ background:#FFF1EA; }
.chat-line.right .bubble{ background:var(--ink); color:#fff; }

/* ===== Табы (04) ===== */
.tabs{ display:flex; gap:0; margin-bottom:0; border-top:1px solid var(--line); }
.tab{ flex:1; text-align:left; font-family:var(--sans); padding:16px 14px; background:transparent; border:none; border-top:2px solid transparent; cursor:pointer; color:var(--ink); }
.tab b{ display:flex; align-items:center; gap:8px; font-size:15px; font-weight:500; }
.tab b::before{ content:""; width:8px; height:8px; background:#ccc; border-radius:2px; }
.tab small{ display:block; color:var(--muted); font-size:13px; margin-top:4px; }
.tab.active{ border-top-color:var(--orange); }
.tab.active b::before{ background:var(--orange); }
.banner-strip{ height:210px; border-radius:12px; margin-bottom:0; background:
  linear-gradient(120deg,#F3C9A0,#E8855A 40%,#C9402B 70%,#E8855A); position:relative; overflow:hidden; }
.banner-strip::after{ content:""; position:absolute; inset:0; background:
  repeating-linear-gradient(115deg, rgba(255,255,255,.10) 0 2px, transparent 2px 14px); }
.tab-panel{ display:none; }
.tab-panel.active{ display:block; }

/* ===== Логотипы ===== */
.clientgrid{ display:grid; grid-template-columns:repeat(6,1fr); gap:1px; background:var(--line-soft); border:1px solid var(--line-soft); }
.clientgrid .lg{ background:var(--paper); height:78px; display:flex; align-items:center; justify-content:center;
  font-family:var(--sans); font-size:14px; letter-spacing:.02em; color:#6b6862; filter:grayscale(1); text-align:center; padding:6px; }
.marquee{ overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.marquee .track{ display:flex; gap:46px; width:max-content; animation:scroll-x 32s linear infinite; align-items:center; }
.marquee .track span{ font-family:var(--serif); font-size:26px; color:var(--faint); white-space:nowrap; }
@keyframes scroll-x{ to{ transform:translateX(-50%); } }

/* helpdesk/integration animated grid (09) */
.intgrid{ display:grid; grid-template-columns:repeat(3,1fr); grid-auto-rows:90px; gap:8px; }
.ig-cell{
  border:1px solid var(--line); border-radius:12px; background:#fff;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:7px; padding:12px; transition:background .6s ease; }
.ig-cell img{ height:var(--h,28px); max-width:var(--mw,62%); width:auto; object-fit:contain; display:block;
  filter:grayscale(1); opacity:.42; transition:filter .6s ease, opacity .6s ease; }
.ig-cell.lg-bx{ --h:20px; --mw:56%; }
.ig-cell.lg-amo{ --h:22px; --mw:58%; }
.ig-cell.lg-tg{ --h:36px; }
.ig-cell.lg-wa{ --h:40px; }
.ig-cell.lg-vk{ --h:32px; }
.ig-cell.lg-gm{ --h:33px; }
.ig-cell.lg-av{ --h:27px; --mw:64%; }
.ig-cell.lg-max{ --h:42px; }
.ig-cell.lg-1c{ --h:33px; }
.ig-cell.lg-mango{ --h:32px; --mw:62%; }
.ig-cell > span{ font-size:11px; color:var(--muted); font-family:var(--mono); letter-spacing:.04em; text-align:center; }
.ig-cell.lit{ background:#ECEAE5; border-color:rgba(0,0,0,.18); }
.ig-cell.lit img{ filter:none; opacity:1; }
.ig-cell.lit > span{ color:var(--ink); }
.ig-hub{
  grid-column:2; grid-row:2 / span 2;
  border:1px solid #FFD3BD; border-radius:16px; background:#FFF4EE;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:20px; }
.ig-hub .g{ display:grid; grid-template-columns:repeat(3,5px); grid-template-rows:repeat(3,5px); gap:2.5px; }
.ig-hub .g i{ width:5px; height:5px; background:var(--orange); border-radius:1.5px; }
.ig-brand{ font-size:30px; font-weight:600; color:var(--orange); letter-spacing:-.01em; font-family:var(--serif); }

/* ===== Dropdown data connector (07) ===== */
.dd{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:8px; box-shadow:0 12px 30px rgba(0,0,0,.08); }
.dd .row{ display:flex; align-items:center; gap:10px; padding:11px 12px; border-radius:8px; font-size:14px; color:var(--ink); }
.dd .row .ic{ width:18px; height:18px; border-radius:4px; background:#eee; display:flex; align-items:center; justify-content:center; font-size:11px; }
.dd .row.sel{ background:#F2F0EB; }
.dd .row.add{ color:var(--muted); }
.dd-head{ font-size:14px; color:var(--ink); padding:6px 12px 12px; border-bottom:1px solid var(--line-soft); margin-bottom:6px; }
.dd-head .pill{ background:#000; color:#fff; border-radius:5px; padding:2px 8px; font-size:12px; }

/* ===== Каналы / телефон (08) ===== */
.channels{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:18px; }
.channels .ch{ width:46px; height:46px; border-radius:12px; border:1px solid #FFCDB6; background:#fff; display:flex; align-items:center; justify-content:center; font-size:20px; color:var(--orange); }
.phone{ width:210px; margin:0 auto; background:#0e0e0e; border-radius:30px; padding:12px; box-shadow:0 20px 50px rgba(0,0,0,.25); }
.phone .screen{ background:#161616; border-radius:22px; height:320px; padding:20px 16px; display:flex; flex-direction:column; align-items:center; color:#fff; }
.phone .who{ margin-top:30px; text-align:center; }
.phone .who .t{ font-family:var(--mono); font-size:13px; opacity:.6; }
.phone .who .n{ font-size:17px; margin-top:6px; }
.phone .ctrls{ margin-top:auto; display:flex; gap:18px; justify-content:center; }
.phone .ctrls i{ width:46px; height:46px; border-radius:50%; background:rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; font-size:18px; }
.phone .end{ width:54px; height:54px; border-radius:50%; background:#E5342B; margin:18px auto 0; display:flex; align-items:center; justify-content:center; font-size:20px; }

/* ===== Guidance (10) ===== */
.ui-card{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:18px; box-shadow:0 12px 30px rgba(0,0,0,.05); }
.ui-card .top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.ui-card .top b{ font-family:var(--sans); font-size:17px; color:var(--ink); }
.ui-card .top .acts{ display:flex; gap:8px; }
.ui-card .chip{ border:1px solid var(--line); border-radius:7px; padding:5px 10px; font-size:13px; color:var(--ink); }
.gd-item{ border:1px solid var(--line-soft); border-radius:10px; padding:14px; margin-bottom:14px; background:#FBFAF8; }
.gd-item .h{ display:flex; align-items:center; gap:8px; font-size:14px; font-weight:500; color:var(--ink); }
.gd-item .live{ background:#E7F6ED; color:var(--green); font-size:11px; padding:2px 7px; border-radius:5px; font-weight:500; }
.gd-item .stats{ font-family:var(--mono); font-size:11px; color:var(--muted); margin-top:6px; }
.gd-item p{ font-size:13px; color:var(--muted); margin:10px 0 0; }
.gd-foot{ display:flex; gap:14px; align-items:center; font-size:13px; color:var(--ink); }
.gd-foot .right{ margin-left:auto; color:var(--muted); }

/* ===== Процедура (13,14) ===== */
.proc{ background:#fff; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.proc .ph{ display:flex; align-items:center; gap:10px; padding:13px 16px; border-bottom:1px solid var(--line-soft); font-size:15px; font-weight:500; color:var(--ink); }
.proc .ph .acts{ margin-left:auto; display:flex; gap:8px; font-size:13px; color:var(--muted); align-items:center; }
.proc .ph .live{ background:#1E7F47; color:#fff; border-radius:6px; padding:4px 10px; font-size:12px; }
.proc .pb{ padding:16px; font-size:13.5px; line-height:21px; color:var(--ink); }
.proc .step{ display:flex; gap:8px; margin-bottom:10px; }
.proc .step .n{ color:var(--muted); font-family:var(--mono); font-size:11px; flex:0 0 18px; }
.proc .tagk{ background:#F0EEE9; border-radius:5px; padding:1px 7px; font-family:var(--mono); font-size:11px; color:#7a6a3a; }
.proc .codeline{ font-family:var(--mono); font-size:12px; background:#FBF9F4; border:1px solid var(--line-soft); border-radius:6px; padding:8px 10px; color:#444; margin:6px 0; }

/* ===== Дашборд (15) ===== */
.dash{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.dcard{ background:#fff; border:1px solid var(--line); border-radius:10px; padding:14px; }
.dcard .t{ display:flex; justify-content:space-between; font-size:12px; color:var(--muted); margin-bottom:8px; }
.dcard .v{ font-family:var(--sans); font-weight:600; font-size:26px; color:var(--ink); }
.dcard .v .up{ font-size:12px; color:var(--green); margin-left:6px; font-weight:500; }
.dcard .pbar{ height:6px; border-radius:4px; background:#ECEAE4; margin-top:10px; overflow:hidden; }
.dcard .pbar i{ display:block; height:100%; border-radius:4px; }
.funnel{ grid-column:1/-1; background:#fff; border:1px solid var(--line); border-radius:10px; padding:14px; }
.funnel .t{ font-size:12px; color:var(--muted); margin-bottom:12px; }
.funnel .flow{ display:flex; gap:6px; height:90px; align-items:stretch; }
.funnel .col{ flex:1; display:flex; flex-direction:column; gap:4px; }
.funnel .seg{ border-radius:4px; font-family:var(--mono); font-size:8px; color:#fff; padding:3px 5px; display:flex; align-items:flex-end; }

/* ===== Operator (16) ===== */
.opr{ display:grid; grid-template-columns:140px 1fr; background:#fff; border:1px solid var(--line); border-radius:12px; overflow:hidden; min-height:300px; }
.opr .side{ background:#FAF9F6; border-right:1px solid var(--line-soft); padding:14px; font-size:12px; color:var(--muted); }
.opr .side .it{ padding:7px 6px; color:var(--ink); font-size:13px; }
.opr .side .it.dim{ color:var(--muted); }
.opr .main{ padding:26px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.opr .main .g{ display:grid; grid-template-columns:repeat(3,6px); grid-template-rows:repeat(3,6px); gap:3px; margin-bottom:16px; }
.opr .main .g i{ width:6px; height:6px; background:var(--orange); border-radius:1px; }
.opr .main h4{ font-family:var(--serif); font-weight:300; font-size:26px; color:var(--ink); margin:0 0 18px; }
.opr .input{ width:100%; border:1px solid var(--line); border-radius:10px; padding:12px 14px; color:var(--muted); font-size:13px; text-align:left; }
.opr .sug{ width:100%; border:1px solid var(--line-soft); border-radius:9px; padding:10px 12px; margin-top:8px; text-align:left; font-size:13px; color:var(--ink); }
.opr .sug small{ display:block; color:var(--muted); font-size:11px; }

/* ===== Blueprint (17) ===== */
.blueprint{ background:linear-gradient(160deg,#F4F6FF,#E7ECFF); border:1px solid #D8DEFF; border-radius:14px; padding:26px; position:relative; overflow:hidden; min-height:300px; }
.blueprint .bigword{ font-family:var(--serif); font-weight:300; font-size:64px; color:transparent; -webkit-text-stroke:1px var(--blue); line-height:.9; }
.blueprint h4{ font-family:var(--serif); font-weight:300; color:var(--blue); font-size:24px; margin:14px 0 8px; }
.blueprint .card{ background:var(--blue); color:#fff; border-radius:10px; padding:14px; margin-top:14px; transform:rotate(-3deg); box-shadow:0 12px 30px rgba(0,12,225,.2); }
.blueprint .card.b{ transform:rotate(2deg); margin-top:-6px; margin-left:30px; }
.blueprint .card .lab{ font-size:11px; opacity:.7; }
.blueprint .card .ti{ font-family:var(--serif); font-size:22px; }

/* ===== Люди (18) ===== */
.people{ display:grid; grid-template-columns:repeat(5,1fr); gap:12px; }
.person .ph{ aspect-ratio:1/1.2; border-radius:6px; filter:grayscale(1); object-fit:cover; width:100%; background:#cfccc6; }
.person b{ display:block; font-family:var(--mono); font-size:11px; letter-spacing:.04em; text-transform:uppercase; color:var(--ink); margin-top:8px; }
.person small{ color:var(--muted); font-size:12px; line-height:15px; display:block; }
.people-ctrls{ display:flex; gap:8px; margin-bottom:18px; }
.people-ctrls button{ width:34px; height:30px; border:1px solid var(--line); background:#fff; border-radius:7px; cursor:pointer; }

/* ===== Исследования (19) ===== */
.research{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.rcard{ background:#fff; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.rcard .art{ height:130px; }
.rcard:nth-child(1) .art{ background:linear-gradient(135deg,#FFB07C,#7C9CFF,#FF5600); }
.rcard:nth-child(2) .art{ background:linear-gradient(135deg,#9FB4FF,#FF8AB0,#000CE1); }
.rcard:nth-child(3) .art{ background:linear-gradient(135deg,#FFD6E0,#FFB07C,#E86A8E); }
.rcard:nth-child(4) .art{ background:linear-gradient(135deg,#CDE3FF,#B8C4FF,#3B5BD9); }
.rcard .meta{ padding:14px; }
.rcard .meta b{ font-family:var(--serif); font-weight:400; font-size:18px; line-height:1.1; color:var(--ink); display:block; margin-bottom:8px; }
.rcard .meta a{ font-size:14px; color:var(--ink); text-decoration:underline; text-underline-offset:3px; }

/* ===== События (20) ===== */
.events{ display:grid; grid-template-columns:1fr 120px; gap:12px; }
.events .thumbs{ display:flex; flex-direction:column; gap:8px; }
.events .thumbs img{ width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:6px; filter:grayscale(.2); }

/* ===== Отзывы ===== */
.quote{ padding:60px 0; border-top:1px solid var(--line-soft); }
.quote-inner{ background:#fff; border:1px solid var(--line-soft); border-radius:16px; padding:46px; display:grid; grid-template-columns:1fr 200px; gap:40px; align-items:center; position:relative; }
.quote .brandmark{ position:absolute; top:30px; left:46px; font-family:var(--mono); font-size:12px; letter-spacing:.18em; color:var(--faint); text-transform:uppercase; }
.quote blockquote{ margin:18px 0 0; font-family:var(--serif); font-weight:400; font-size:clamp(24px,2.9vw,34px); line-height:1.22; color:var(--ink); }
.quote blockquote mark{ background:var(--orange); color:#fff; padding:0 4px; border-radius:2px; }
.quote .who{ margin-top:26px; }
.quote .who b{ font-weight:600; color:var(--ink); font-size:14px; display:block; }
.quote .who span{ color:var(--muted); font-size:13px; }
.quote .portrait{ aspect-ratio:1/1.15; border-radius:10px; filter:grayscale(1); object-fit:cover; width:100%; background:#bdbab3; }

/* inline mini-quote (как [PERSONIO]) */
.miniquote{ margin-top:24px; }
.miniquote .label{ display:block; margin-bottom:8px; }
.miniquote p{ font-size:13px; color:var(--muted); line-height:19px; margin:0 0 8px; }
.miniquote .src{ font-family:var(--mono); font-size:10px; letter-spacing:.06em; color:var(--ink); text-transform:uppercase; }

/* ===== Сертификаты (11) ===== */
.certs-row{ display:grid; grid-template-columns:repeat(5,1fr); gap:10px; margin-top:6px; }
.cert{ display:flex; flex-direction:column; align-items:center; gap:10px; }
.cert .seal{ width:100%; aspect-ratio:1.3; border:1px solid var(--line); border-radius:8px; background:#FBFAF8; display:flex; align-items:center; justify-content:center; }
.cert .seal svg{ width:54px; height:54px; }
.cert span{ font-family:var(--mono); font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }

/* ===== Финальный CTA ===== */
.final{ padding:120px 0 130px; text-align:center; position:relative; }
.final h2{ font-size:clamp(39px,5.95vw,92px); line-height:.92; font-weight:300; }
.final .final-flower{ width:380px; max-width:78%; margin:-36px auto -28px; position:relative; z-index:1; }
.final .actions{ margin-top:42px; display:flex; gap:12px; justify-content:center; }

/* ===== Футер ===== */
footer.site{ background:var(--paper); border-top:1px solid var(--line-soft); padding:64px 0 40px; }
.foot-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; max-width:760px; }
.foot-col h4{ font-family:var(--mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); margin:0 0 16px; font-weight:500; }
.foot-col a{ display:block; color:var(--ink); text-decoration:none; font-size:14px; margin-bottom:11px; opacity:.85; }
.foot-col a:hover{ color:var(--orange); opacity:1; }
.foot-bottom{ display:flex; justify-content:space-between; align-items:center; margin-top:54px; padding-top:24px; border-top:1px solid var(--line-soft); flex-wrap:wrap; gap:16px; }
.foot-bottom .logo{ font-size:20px; }
.foot-bottom .links{ display:flex; flex-wrap:wrap; gap:14px 20px; }
.foot-bottom a{ color:var(--muted); text-decoration:none; font-size:13px; }
.foot-bottom a:hover{ color:var(--ink); }

/* ===== Cookie + scroll-top ===== */
.cookie{ position:fixed; left:18px; bottom:18px; z-index:80; width:min(434px,calc(100vw - 28px)); background:#fff;
  border:1px solid var(--line); border-radius:14px; padding:15px 17px; box-shadow:0 24px 70px rgba(0,0,0,.22);
  font-size:12.5px; line-height:17px; color:var(--muted); text-align:left;
  animation:cookie-in .6s cubic-bezier(.22,1,.36,1) 2.3s backwards; }
.cookie a{ color:var(--ink); font-weight:600; }
.cookie .row{ display:flex; gap:8px; align-items:center; margin-top:12px; flex-wrap:wrap; }
.cookie .row .btn{ padding:8px 13px; font-size:13px; white-space:nowrap; }
.cookie .row a.manage{ font-size:12.5px; text-decoration:underline; white-space:nowrap; }
.cookie.hide{ display:none; }
@keyframes cookie-in{ from{ opacity:0; transform:translateY(22px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce){ .cookie{ animation:none; } }
/* ===== ЧАТ-ВИДЖЕТ (3 состояния: строка → подсказки → панель) ===== */
.fin-widget{ position:fixed; left:50%; bottom:24px; transform:translateX(-50%); z-index:70; width:240px;
  transition:width .55s cubic-bezier(.34,1.3,.5,1); }
.fin-widget.expanded, .fin-widget.open, .fin-widget.has-attach{ width:min(600px,92vw); }
.av .g{ display:grid; grid-template-columns:repeat(3,5px); grid-template-rows:repeat(3,5px); gap:2.5px; }
.av .g i{ width:5px; height:5px; border-radius:50%; background:#fff; }
.fin-backdrop{ position:fixed; inset:0; z-index:69; background:rgba(20,18,16,.04); opacity:0; pointer-events:none; transition:opacity .4s ease; }
.fin-backdrop.show{ opacity:1; pointer-events:auto; }

/* строка ввода — всегда внизу; появляется после загрузки фигуры */
.fin-bar{ display:flex; flex-direction:column; align-items:stretch; background:#fff; border-radius:26px; padding:7px;
  box-shadow:0 18px 50px rgba(0,0,0,.16), 0 2px 8px rgba(0,0,0,.05); position:relative; z-index:2;
  opacity:0; transform:translateY(28px) scale(.96);
  transition:transform .5s cubic-bezier(.34,1.4,.5,1), opacity .38s ease; }
.fin-widget.ready .fin-bar{ opacity:1; transform:none; }
.bar-row{ display:flex; align-items:center; gap:8px; padding-left:17px; }
.fin-bar input[type=text]{ flex:1; min-width:0; border:none; outline:none; background:transparent; font-family:var(--sans); font-size:17px; color:var(--ink); padding:7px 0; }
.fin-bar input::placeholder{ color:#9a968f; }
.bar-more{ display:none; align-items:center; justify-content:center; width:32px; height:32px; flex:0 0 32px; border:none; border-radius:50%;
  background:transparent; color:var(--muted); font-size:18px; cursor:pointer; letter-spacing:1px; transition:background .2s, color .2s; }
.bar-more:hover{ background:#F1EEE8; color:var(--ink); }
.bar-more svg{ width:18px; height:18px; }
/* прикреплённые файлы — превью над полем (в стиле Claude/ChatGPT) */
.fin-attach{ display:flex; gap:12px; flex-wrap:wrap; align-items:flex-start; padding:14px 14px 4px 12px; }
.fin-attach:empty{ display:none; }
.att-card{ position:relative; overflow:visible; }
/* единая высота карточек независимо от формата; клиппинг — на внутренней миниатюре, чтобы крестик не обрезался */
.att-thumb{ width:56px; height:56px; border-radius:12px; overflow:hidden; border:1px solid var(--line); background:#eee; }
.att-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.att-file{ height:56px; box-sizing:border-box; display:flex; align-items:center; gap:10px; background:#F4F1EB; border:1px solid var(--line-soft);
  border-radius:12px; padding:0 14px 0 8px; max-width:230px; }
.att-ic{ width:36px; height:36px; flex:0 0 36px; border-radius:8px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:10px; font-weight:700; }
.att-meta{ min-width:0; }
.att-meta b{ display:block; font-size:13px; font-weight:600; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.att-meta small{ font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; }
.att-x{ position:absolute; top:-8px; right:-8px; width:20px; height:20px; border-radius:50%; background:var(--ink); color:#fff; border:2px solid #fff;
  display:flex; align-items:center; justify-content:center; font-size:10px; line-height:1; cursor:pointer; padding:0; z-index:3; }
/* вложения внутри сообщения */
.fp-atts{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:8px; }
.fp-att-img{ max-width:200px; max-height:180px; border-radius:12px; display:block; }
.fp-msg.user .att-file{ background:rgba(255,255,255,.16); border-color:transparent; }
.fp-msg.user .att-meta b{ color:#fff; }
.fp-msg.user .att-meta small{ color:rgba(255,255,255,.72); }
.bar-send{ width:38px; height:38px; flex:0 0 38px; border-radius:50%; border:none; background:#EFECE4; color:var(--ink);
  display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background .2s, color .2s, transform .15s; }
.bar-send svg{ width:18px; height:18px; }
.bar-send:hover{ background:var(--ink); color:#fff; transform:translateY(-1px); }
.fin-widget.expanded .bar-more, .fin-widget.open .bar-more{ display:flex; }

/* подсказки (над строкой) */
.fin-suggest{ position:absolute; left:0; bottom:calc(100% + 14px); z-index:1; display:flex; flex-direction:column; gap:12px; align-items:flex-start; pointer-events:none; }
.fin-suggest button{ background:rgba(110,103,97,.86); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); color:#fff; border:none;
  border-radius:26px; padding:13px 22px; font-family:var(--sans); font-size:16px; cursor:pointer; box-shadow:0 8px 24px rgba(0,0,0,.16);
  opacity:0; transform:translateY(16px); pointer-events:none; transition:transform .5s cubic-bezier(.34,1.36,.5,1), opacity .4s ease, background .2s; }
.fin-suggest button:hover{ background:rgba(90,84,78,.92); }
.fin-widget.expanded:not(.open) .fin-suggest button{ opacity:1; transform:none; pointer-events:auto; }
.fin-widget.expanded:not(.open) .fin-suggest button:nth-child(1){ transition-delay:.04s; }
.fin-widget.expanded:not(.open) .fin-suggest button:nth-child(2){ transition-delay:.10s; }
.fin-widget.expanded:not(.open) .fin-suggest button:nth-child(3){ transition-delay:.16s; }

/* согласие (под строкой) */
.fin-consent{ position:absolute; left:0; right:0; top:calc(100% + 12px); text-align:center; font-size:13px; color:var(--muted);
  opacity:0; transform:translateY(-6px); pointer-events:none; transition:opacity .4s ease .12s, transform .4s ease .12s; }
.fin-consent a{ color:var(--ink); text-decoration:underline; text-underline-offset:2px; }
.fin-widget.expanded:not(.open) .fin-consent{ opacity:1; transform:none; pointer-events:auto; }

/* компактное уведомление над виджетом (на страницах отраслей) */
.fin-notice{ position:absolute; left:50%; bottom:calc(100% + 14px); transform:translateX(-50%) translateY(8px); display:flex; align-items:center; gap:9px; width:max-content; max-width:300px; text-align:left; background:#fff; border:1px solid var(--line); border-radius:16px; padding:11px 15px; font-size:13.5px; line-height:1.35; color:var(--ink); box-shadow:0 14px 38px rgba(0,0,0,.16); opacity:0; pointer-events:none; transition:opacity .45s ease, transform .45s ease; z-index:2; }
.fin-notice-ic{ font-size:16px; line-height:1; flex:none; }
.fin-widget.ready .fin-notice{ opacity:1; transform:translateX(-50%) translateY(0); }
.fin-widget.expanded .fin-notice, .fin-widget.open .fin-notice{ opacity:0; transform:translateX(-50%) translateY(8px); pointer-events:none; }
@media(max-width:560px){ .fin-notice{ max-width:calc(100vw - 32px); font-size:13px; padding:10px 13px; } }

/* панель (после отправки) */
.fin-panel{ position:absolute; left:0; right:0; bottom:calc(100% + 14px); height:min(520px,62vh);
  border-radius:26px; overflow:hidden; display:flex; flex-direction:column;
  background:linear-gradient(180deg, rgba(70,66,62,.92), rgba(116,108,101,.86) 55%, rgba(150,140,131,.82));
  backdrop-filter:blur(34px) saturate(140%); -webkit-backdrop-filter:blur(34px) saturate(140%);
  box-shadow:0 30px 80px rgba(0,0,0,.34), 0 4px 14px rgba(0,0,0,.12);
  transform-origin:50% 100%; transform:translateY(24px) scale(.94); opacity:0; filter:blur(10px);
  pointer-events:none; transition:transform .55s cubic-bezier(.34,1.3,.5,1), opacity .42s ease, filter .42s ease; }
.fin-widget.open .fin-panel{ transform:none; opacity:1; filter:blur(0); pointer-events:auto; }
/* при открытом чате подсказки/согласие не должны перехватывать клики поверх панели (форма, кнопки выбора) */
.fin-widget.open .fin-suggest, .fin-widget.open .fin-consent{ display:none; }
.fp-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:15px 16px; border-bottom:1px solid rgba(255,255,255,.12); }
.fp-brand{ display:flex; align-items:center; gap:11px; color:#fff; font-family:var(--sans); font-weight:600; font-size:16px; line-height:1; }
.fp-brand .av{ width:34px; height:34px; flex:0 0 34px; border-radius:50%; background:#0b0b0b; display:flex; align-items:center; justify-content:center; }
.fp-close{ width:34px; height:34px; flex:0 0 34px; border-radius:50%; background:rgba(255,255,255,.16); border:none; color:#fff;
  cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .2s; }
.fp-close svg{ width:18px; height:18px; }
.fp-close:hover{ background:rgba(255,255,255,.28); }
.fp-body{ flex:1; padding:22px 22px 16px; overflow-y:auto; overflow-x:hidden; display:flex; flex-direction:column;
  -webkit-overflow-scrolling:touch; overscroll-behavior:contain; touch-action:pan-y; }
/* форматирование от бота */
.fp-msg strong{ font-weight:700; } .fp-msg em{ font-style:italic; }
.fp-msg{ max-width:80%; padding:12px 16px; border-radius:18px; font-size:15px; line-height:21px; margin-bottom:14px;
  overflow-wrap:break-word; word-break:break-word; min-width:0;
  animation:fp-pop .4s cubic-bezier(.34,1.3,.5,1); }
@keyframes fp-pop{ from{ opacity:0; transform:translateY(10px) scale(.96); } to{ opacity:1; transform:none; } }
.fp-msg.bot{ color:#fff; background:rgba(255,255,255,.10); align-self:flex-start; border-bottom-left-radius:6px; max-width:88%; }
.fp-msg.user{ background:rgba(255,255,255,.20); color:#fff; align-self:flex-end; border-bottom-right-radius:6px; }
.fp-typing{ display:inline-flex !important; gap:5px; align-items:center; width:fit-content;
  background:rgba(255,255,255,.14); border-radius:16px; padding:13px 16px !important; }
.fp-typing span{ width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.75); animation:fp-dot 1s infinite ease-in-out; }
.fp-typing span:nth-child(2){ animation-delay:.15s; }
.fp-typing span:nth-child(3){ animation-delay:.3s; }
@keyframes fp-dot{ 0%,60%,100%{ transform:translateY(0); opacity:.5; } 30%{ transform:translateY(-4px); opacity:1; } }
/* Rich card — форма контакта */
.fp-rich-card{
  align-self:flex-start; margin-bottom:14px; width:min(300px,86%);
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.18);
  border-radius:16px; padding:16px; animation:fp-pop .4s cubic-bezier(.34,1.3,.5,1);
  position:relative; z-index:1; touch-action:manipulation; }
.fp-contact-form{ display:flex; flex-direction:column; gap:10px; }
.fc-label{ font-size:11px; color:rgba(255,255,255,.55); font-family:var(--mono); letter-spacing:.05em; margin-bottom:3px; display:block; }
.fc-field input{
  display:block; width:100%; box-sizing:border-box;
  border:1px solid rgba(255,255,255,.18); border-radius:9px; padding:9px 12px;
  background:rgba(0,0,0,.28); color:#fff; font-size:16px; font-family:var(--sans);
  outline:none; transition:border-color .15s;
  touch-action:manipulation; -webkit-user-select:text; user-select:text; pointer-events:auto; position:relative; z-index:1; }
.fc-field input::placeholder{ color:rgba(255,255,255,.35); }
.fc-field input:focus{ border-color:var(--orange); }
.fc-field input:disabled{ opacity:.5; }
.fc-submit{
  width:100%; border:none; border-radius:9px; padding:10px;
  background:var(--orange); color:#fff; font-size:14px; font-weight:500;
  font-family:var(--sans); cursor:pointer; transition:opacity .15s;
  touch-action:manipulation; pointer-events:auto; position:relative; z-index:1; }
.fc-submit:hover{ opacity:.86; }
.fc-submit:disabled{ opacity:.5; cursor:default; }
.fc-success{ color:rgba(255,255,255,.82); font-size:14px; text-align:center; padding:6px 0; }
.fc-success b{ color:#fff; }
/* Запись на демо: выбор даты/времени */
.fp-book{ width:min(340px,90%); display:flex; flex-direction:column; gap:10px; }
.book-step{ font-size:10px; letter-spacing:.06em; text-transform:uppercase; color:rgba(255,255,255,.45); font-family:var(--mono); }
.book-chosen{ display:flex; align-items:center; gap:8px; font-size:14px; color:#fff; background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15); border-radius:10px; padding:9px 12px; }
.book-chosen b{ font-weight:600; }
.book-back{ margin-left:auto; background:none; border:none; color:var(--orange); font-size:13px; cursor:pointer;
  font-family:var(--sans); text-decoration:underline; text-underline-offset:2px; padding:0; touch-action:manipulation; }
.book-label{ font-size:11px; color:rgba(255,255,255,.55); font-family:var(--mono); letter-spacing:.05em; margin:2px 0 -2px; }
.book-row{ display:flex; gap:7px; overflow-x:auto; padding-bottom:4px; scrollbar-width:thin; -webkit-overflow-scrolling:touch; }
.book-row::-webkit-scrollbar{ height:4px; }
.book-row::-webkit-scrollbar-thumb{ background:rgba(255,255,255,.2); border-radius:3px; }
.book-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }
.book-chip{
  border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.08); color:#fff;
  border-radius:10px; cursor:pointer; font-family:var(--sans); transition:background .15s, border-color .15s;
  touch-action:manipulation; pointer-events:auto; }
.book-row .book-chip{ flex:0 0 auto; display:flex; flex-direction:column; align-items:center; gap:1px; padding:8px 12px; line-height:1.1; }
.book-row .book-chip small{ font-size:10px; color:rgba(255,255,255,.5); text-transform:uppercase; }
.book-row .book-chip b{ font-size:18px; font-weight:600; }
.book-row .book-chip span{ font-size:10px; color:rgba(255,255,255,.6); }
.book-time{ padding:9px 0; font-size:14px; text-align:center; }
.book-chip:hover{ background:rgba(255,255,255,.16); }
.book-chip.sel{ background:var(--orange); border-color:var(--orange); color:#fff; }
.book-chip.sel small, .book-chip.sel span{ color:rgba(255,255,255,.85); }
.fp-book.book-need .book-row, .fp-book.book-need .book-grid{ outline:1px solid rgba(255,120,60,.6); outline-offset:3px; border-radius:10px; }
/* Quick reply buttons */
.fp-choices{
  align-self:flex-start; display:flex; flex-wrap:wrap; gap:7px;
  margin-bottom:14px; max-width:92%; animation:fp-pop .4s cubic-bezier(.34,1.3,.5,1);
  position:relative; z-index:1; }
.fp-choice-btn{
  border:1px solid rgba(255,255,255,.22); background:rgba(255,255,255,.10);
  border-radius:20px; padding:8px 16px; font-size:13px; color:#fff;
  cursor:pointer; font-family:var(--sans); transition:background .15s, border-color .15s;
  touch-action:manipulation; pointer-events:auto; position:relative; z-index:1; }
.fp-choice-btn:hover{ background:rgba(255,255,255,.22); border-color:rgba(255,255,255,.4); }

@media (max-width:560px){ .fin-bar input{ font-size:16px; } }
@media (prefers-reduced-motion:reduce){ .fin-bar,.fin-panel,.fin-suggest button,.fin-consent{ transition:opacity .2s ease; } }

/* ===== Reveal ===== */
html.js .reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html.js .reveal.in{ opacity:1; transform:none; }

/* ===== Адаптив ===== */
@media (max-width:920px){
  body{ font-size:17px; }
  .nav{ padding:0 20px; height:62px; }
  .nav-menu,.nav-right .link,.nav-right .nav-brand{ display:none; }
  .burger{ display:flex; margin-left:0; }
  .nav-right{ gap:10px; }
  .nav-right .btn-primary{ display:inline-flex; padding:8px 12px; font-size:13px; }
  /* hero как на fin.ai: обычный поток — заголовок сверху, кнопки, цветок по центру целиком, затем «22 причины» */
  .hero{ position:static; height:auto; overflow:visible; }
  .hero-fade{ height:auto; will-change:auto; filter:none !important; opacity:1 !important; }
  .hero .wrap{ padding:29px 20px 0; }
  .reasons-head .wrap{ padding:0 20px; }
  .hero-title{ white-space:normal; }
  /* цветок: в потоке, по центру, полностью видимый (не обрезан и не уезжает вбок) */
  .hero-knot{ position:relative; right:auto; bottom:auto; width:88vw; margin:14px auto 0; }
  .after-hero{ margin-top:0; }
  .reasons-head{ padding:30px 0 40px; }
  .block-grid{ grid-template-columns:1fr; gap:22px; }
  .bargroups{ grid-template-columns:1fr; }
  .tabs{ flex-direction:column; }
  /* inline-стиль на одной из цитат форсит 2 колонки — перебиваем, иначе распирает страницу вбок */
  .quote-inner{ grid-template-columns:1fr !important; }
  .quote .portrait{ max-width:200px; }
  /* защита от «распирания» grid: дочерние элементы могут сжиматься */
  .block-grid>*, .quote-inner>*, .opr>*, .events>*, .dash>*, .bargroups>*{ min-width:0; }
  .block-media{ min-width:0; }
  .block-media svg, .block-media img, .block-media canvas{ max-width:100%; height:auto; }
  .foot-grid{ grid-template-columns:1fr 1fr; }
  .research{ grid-template-columns:repeat(2,1fr); }
  .people{ grid-template-columns:repeat(2,1fr); }
  .clientgrid{ grid-template-columns:repeat(3,1fr); }
  .certs-row{ grid-template-columns:repeat(2,1fr); }
  .dash{ grid-template-columns:1fr; }
  .opr{ grid-template-columns:1fr; }
  .events{ grid-template-columns:1fr; }
  /* ВИДЖЕТ ЧАТА. Свёрнут/подсказки — компактный бар снизу (как на fin.ai). */
  .fin-backdrop.show{ background:rgba(20,18,16,.45); }   /* тёмный оверлей под нижним листом */
  .fin-widget{ width:208px; bottom:16px; transition:width .42s cubic-bezier(.34,1.2,.5,1), bottom .26s ease; }
  .fin-widget.expanded, .fin-widget.has-attach:not(.open){ width:calc(100vw - 28px); max-width:440px; }
  .fin-bar{ padding:6px; border-radius:24px; box-shadow:none; }              /* без теней на мобиле */
  .bar-row{ padding-left:14px; gap:6px; }
  .bar-send{ width:34px; height:34px; flex:0 0 34px; }
  .bar-more{ width:30px; height:30px; flex:0 0 30px; }
  .fin-suggest button{ -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:none; background:rgba(80,74,68,.95); padding:11px 18px; font-size:15px; }
  .fp-msg{ font-size:14px; padding:10px 13px; margin-bottom:11px; }

  /* ОТКРЫТЫЙ ЧАТ = нижний лист 80%: закруглён сверху, прижат к низу экрана (выше клавиатуры).
     bottom:0 на position:fixed следует за visual viewport — лист сам уходит над клавиатурой. */
  .fin-widget.open{
    left:0; right:0; bottom:0; top:auto; width:100%; max-width:none; transform:none; z-index:100;
    height:80dvh; display:flex; flex-direction:column; transition:none;
    border-radius:20px 20px 0 0; overflow:hidden;
    box-shadow:0 -6px 40px rgba(0,0,0,.22); }
  .fin-widget.open .fin-suggest, .fin-widget.open .fin-consent{ display:none; }
  .fin-widget.open .fin-panel{
    position:static; flex:1 1 auto; min-height:0; height:auto; max-height:none; width:100%;
    border-radius:0; transform:none; opacity:1; filter:none; box-shadow:none;
    backdrop-filter:none; -webkit-backdrop-filter:none;
    background:linear-gradient(180deg, #4b4642 0%, #5f5852 70%, #6c645d 100%); }
  .fin-widget.open .fp-head{ padding:14px 16px; }
  .fin-widget.open .fp-body{ flex:1 1 auto; min-height:0; overflow-y:auto; padding:16px 16px 14px; }
  .fin-widget.open .fin-bar{
    border-radius:0; box-shadow:none; background:#fff; border-top:1px solid rgba(0,0,0,.08);
    padding:8px 14px calc(8px + env(safe-area-inset-bottom)); }
}
/* ===== Телефоны ===== */
@media (max-width:600px){
  :root{ --gut:20px; }
  .hero .wrap{ padding:24px 20px 0; }
  .hero-title{ font-size:clamp(36px,9.5vw,60px); line-height:1.05; }
  .hero .actions{ margin-top:22px; gap:12px; justify-content:flex-start; }
  /* кнопки hero компактнее десктопа, но ещё на ~15% крупнее */
  .hero .actions .btn{ padding:11.5px 19.5px; font-size:14.5px; border-radius:8px; }
  .hero-knot{ width:90vw; margin:16px auto 0; }
  .reasons-head h2{ font-size:clamp(26px,7.4vw,40px); }
  .block{ padding:48px 0; }
  .block h3{ font-size:clamp(24px,6.6vw,30px); }
  .block .copy p{ font-size:16px; line-height:24px; }
  .foot-grid{ grid-template-columns:1fr; }
  .foot-bottom{ flex-direction:column; align-items:flex-start; gap:14px; }
  .foot-bottom .links{ gap:10px 18px; }
  footer.site{ overflow:hidden; }
  .research,.people,.certs-row{ grid-template-columns:1fr 1fr; }
  .clientgrid{ grid-template-columns:repeat(2,1fr); }
  .intgrid{ grid-auto-rows:72px; gap:6px; }
  .ig-cell > span{ font-size:10px; }
  .ig-cell img{ height:calc(var(--h,28px) * .78); }
  .ig-brand{ font-size:20px; }
  .ig-hub{ gap:8px; }
  /* финальный CTA — цветок плотно вложен между строк, как на референсе Fin */
  .final{ padding:70px 0 84px; }
  .final .final-flower{ width:300px; max-width:64%; margin:-46px auto -40px; }
  .final .actions{ margin-top:30px; }
}

/* ===== Модалка «Смотреть демо» (стиль лендинга) ===== */
.demo-modal{ position:fixed; inset:0; z-index:200; display:none; }
.demo-modal.open{ display:block; }
.dm-backdrop{ position:absolute; inset:0; background:rgba(20,18,16,.5); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px);
  animation:dm-fade .25s ease; }
@keyframes dm-fade{ from{ opacity:0 } to{ opacity:1 } }
.dm-card{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:min(460px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); overflow-y:auto;
  background:var(--paper); border:1px solid var(--line); border-radius:18px; padding:30px 30px 26px;
  box-shadow:0 30px 90px rgba(0,0,0,.3); animation:dm-pop .3s cubic-bezier(.34,1.3,.5,1); }
@keyframes dm-pop{ from{ opacity:0; transform:translate(-50%,-46%) scale(.96) } to{ opacity:1; transform:translate(-50%,-50%) scale(1) } }
.dm-x{ position:absolute; top:14px; right:14px; width:32px; height:32px; border-radius:50%; border:none;
  background:var(--paper-2); color:var(--muted); font-size:14px; cursor:pointer; transition:background .15s, color .15s; }
.dm-x:hover{ background:#eae7df; color:var(--ink); }
.dm-title{ font-family:var(--serif); font-weight:400; font-size:32px; line-height:1.05; color:var(--ink); margin:0 0 8px; }
.dm-sub{ font-size:15px; color:var(--muted); margin:0 0 22px; line-height:1.45; }
.dm-form{ display:flex; flex-direction:column; gap:14px; }
.dm-row2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.dm-field{ display:flex; flex-direction:column; gap:6px; }
.dm-field > span{ font-size:13px; color:var(--body); font-weight:500; }
.dm-field input, .dm-field select{
  width:100%; box-sizing:border-box; font-family:var(--sans); font-size:16px; color:var(--ink);
  background:#fff; border:1px solid var(--line); border-radius:10px; padding:11px 13px; outline:none;
  transition:border-color .15s, box-shadow .15s; }
.dm-field input:focus, .dm-field select:focus{ border-color:var(--orange); box-shadow:0 0 0 3px rgba(255,86,0,.12); }
.dm-field input.err, .dm-field select.err{ border-color:#E5484D; box-shadow:0 0 0 3px rgba(229,72,77,.12); }
.dm-field select{ appearance:none; -webkit-appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
  background-repeat:no-repeat; background-position:right 14px center; padding-right:34px; }
.dm-check{ display:flex; align-items:flex-start; gap:10px; font-size:13px; color:var(--muted); line-height:1.4; cursor:pointer; margin-top:2px; }
.dm-check input{ width:17px; height:17px; flex:0 0 17px; margin-top:1px; accent-color:var(--orange); cursor:pointer; }
.dm-check.err span{ color:#E5484D; }
.dm-check a{ color:var(--ink); text-decoration:underline; text-underline-offset:2px; }
.dm-submit{ width:100%; margin-top:6px; padding:13px; font-size:15px; }
.dm-success{ text-align:center; padding:20px 6px; }
.dm-success .ok{ font-size:40px; color:var(--orange); line-height:1; }
.dm-success h4{ font-family:var(--serif); font-weight:400; font-size:26px; color:var(--ink); margin:12px 0 8px; }
.dm-success p{ font-size:15px; color:var(--muted); margin:0; }
@media (max-width:560px){
  .dm-card{ padding:26px 20px 22px; border-radius:16px; }
  .dm-title{ font-size:27px; }
  .dm-row2{ grid-template-columns:1fr; gap:14px; }
}

/* ===== Страница входа (личный кабинет) ===== */
.auth-page{ min-height:100dvh; display:grid; grid-template-columns:1.05fr 1fr; background:var(--paper); }
/* левая брендовая панель */
.auth-aside{ position:relative; display:flex; flex-direction:column; justify-content:space-between;
  padding:40px 48px; color:#fff; overflow:hidden;
  background:linear-gradient(155deg,#2c2723 0%,#3b352f 55%,#4d443c 100%); }
.auth-aside::before{ content:""; position:absolute; right:-14%; top:-12%; width:70%; height:70%;
  background:radial-gradient(circle, rgba(255,86,0,.28), transparent 68%); pointer-events:none; }
.auth-aside::after{ content:""; position:absolute; left:-20%; bottom:-25%; width:60%; height:60%;
  background:radial-gradient(circle, rgba(255,150,80,.12), transparent 70%); pointer-events:none; }
.auth-brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:#fff; position:relative; z-index:1; }
.auth-brand img{ width:30px; height:30px; }
.auth-brand b{ font-family:var(--serif); font-weight:700; font-size:22px; }
.auth-aside-mid{ position:relative; z-index:1; max-width:440px; }
.auth-flower{ width:188px; max-width:54%; display:block; margin:0 0 26px;
  filter:drop-shadow(0 22px 55px rgba(255,86,0,.4)); animation:auth-float 6s ease-in-out infinite; }
@keyframes auth-float{ 0%,100%{ transform:translateY(0) rotate(0) } 50%{ transform:translateY(-12px) rotate(3deg) } }
.auth-aside-mid h2{ font-family:var(--serif); font-weight:400; font-size:clamp(30px,3vw,44px); line-height:1.04; color:#fff; margin:0 0 14px; }
.auth-aside-mid p{ font-size:16px; line-height:1.55; color:rgba(255,255,255,.68); margin:0; }
.auth-aside-foot{ position:relative; z-index:1; font-size:12.5px; color:rgba(255,255,255,.4); font-family:var(--mono); letter-spacing:.04em; }
/* правая часть с формой */
.auth-main{ display:flex; align-items:center; justify-content:center; padding:48px 28px; }
.auth-card{ width:min(384px,100%); animation:auth-in .45s ease both; }
@keyframes auth-in{ from{ opacity:0; transform:translateY(14px) } to{ opacity:1; transform:none } }
.auth-logo{ display:none; align-items:center; gap:9px; justify-content:center; margin-bottom:18px; text-decoration:none; }
.auth-logo img{ width:30px; height:30px; }
.auth-logo b{ font-family:var(--serif); font-weight:700; font-size:22px; color:var(--ink); }
.auth-title{ font-family:var(--serif); font-weight:400; font-size:32px; line-height:1.06; color:var(--ink); margin:0 0 6px; }
.auth-lead{ font-size:14.5px; color:var(--muted); margin:0 0 24px; }
.auth-form{ display:flex; flex-direction:column; gap:15px; }
.auth-forgot{ text-align:right; margin-top:-7px; }
.auth-forgot a{ font-size:12.5px; color:var(--muted); text-decoration:none; }
.auth-forgot a:hover{ color:var(--ink); }
.auth-submit{ width:100%; padding:13px; font-size:15px; margin-top:4px; }
.auth-msg{ font-size:13.5px; line-height:1.45; text-align:center; padding:2px 0; min-height:0; }
.auth-msg.err{ color:#E5484D; }
.auth-msg.info{ color:var(--body); background:var(--paper-2); border-radius:10px; padding:11px 13px; }
.auth-foot{ text-align:center; font-size:14px; color:var(--muted); margin-top:22px; padding-top:20px; border-top:1px solid var(--line-soft); }
.auth-foot a{ color:var(--orange); font-weight:500; text-decoration:none; cursor:pointer; }
.auth-foot a:hover{ text-decoration:underline; }
@media (max-width:860px){
  .auth-page{ grid-template-columns:1fr; }
  .auth-aside{ display:none; }
  .auth-logo{ display:flex; }
  .auth-main{ padding:32px 20px; }
  .auth-title{ text-align:center; }
  .auth-lead{ text-align:center; }
}

/* ===== Channel animation (block 08) ===== */
.ch-stage{ position:relative; width:100%; min-height:0; }
.ch-tabs{ display:flex; justify-content:center; gap:16px; margin:0 0 54px; position:relative; z-index:6; }
.ch-tab{ width:60px; height:60px; border-radius:16px; border:1px solid rgba(0,0,0,.07); background:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0; box-shadow:0 2px 8px rgba(0,0,0,.06); opacity:.5; transition:transform .35s ease, box-shadow .35s ease, opacity .35s ease; }
.ch-tab img{ width:30px; height:30px; object-fit:contain; }
.ch-tab .ch-ico{ width:30px; height:30px; color:var(--orange); }
.ch-tab .ch-ico svg{ width:100%; height:100%; display:block; }
.ch-tab.on{ opacity:1; transform:translateY(-3px); box-shadow:0 10px 24px rgba(0,0,0,.14); }
.ch-tab:hover{ opacity:.85; }
.ch-link{ position:absolute; left:0; top:0; width:100%; z-index:1; pointer-events:none; overflow:visible; }
.ch-link path{ fill:none; stroke:var(--orange); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; opacity:.9; }
.ch-deck{ position:relative; height:445px; overflow:hidden; }
.ch-win{ position:absolute; top:0; left:50%; width:300px; height:520px; margin-left:-150px; display:flex; flex-direction:column; border-radius:24px; background:#fff; border:1px solid rgba(0,0,0,.07); box-shadow:0 26px 60px rgba(0,0,0,.20); overflow:hidden; transition:transform .55s cubic-bezier(.2,.7,.2,1), opacity .5s ease, filter .5s ease; will-change:transform,opacity,filter; }
.cw-phone{ background:#000; border:0; }
.cw-phone img{ width:100%; height:100%; object-fit:cover; object-position:center center; display:block; }
.cw-head{ display:flex; align-items:center; gap:10px; padding:14px 16px; border-bottom:1px solid rgba(0,0,0,.07); background:#fff; flex:none; }
.cw-head img{ width:30px; height:30px; object-fit:contain; }
.cw-head b{ font-size:14px; color:var(--ink); display:block; line-height:1.2; }
.cw-head span{ font-size:11px; color:var(--muted); }
.cw-body{ flex:1; padding:16px; display:flex; flex-direction:column; gap:10px; background:#F4F2EC; }
.cw-b{ max-width:80%; padding:9px 12px; border-radius:14px; font-size:12.5px; line-height:1.45; }
.cw-b.in{ align-self:flex-start; background:#fff; border:1px solid rgba(0,0,0,.05); color:var(--ink); border-bottom-left-radius:5px; }
.cw-b.out{ align-self:flex-end; background:var(--ac,#25D366); color:#fff; border-bottom-right-radius:5px; }
.cw-mailbody{ flex:1; padding:18px; background:#fff; }
.cw-mailbody p{ font-size:13px; line-height:1.5; color:var(--body); margin:0 0 12px; }
.cw-mailbody .cw-from{ font-size:12px; color:var(--muted); margin-bottom:4px; }
.cw-mailbody .cw-from b{ color:var(--ink); }
@media(max-width:920px){
  .ch-stage{ min-height:0; }
  .ch-tabs{ gap:12px; margin-bottom:44px; }
  .ch-tab{ width:52px; height:52px; }
  .ch-deck{ height:400px; }
  .ch-win{ width:260px; height:460px; margin-left:-130px; }
}


/* ===== Channel block background ===== */
.block.ch-block{
  background:
    radial-gradient(38% 46% at 12% 16%, rgba(255,168,86,.52), transparent 72%),
    radial-gradient(34% 42% at 88% 10%, rgba(255,118,150,.40), transparent 72%),
    radial-gradient(44% 54% at 84% 86%, rgba(150,138,255,.34), transparent 74%),
    radial-gradient(40% 48% at 16% 92%, rgba(255,190,120,.48), transparent 74%),
    radial-gradient(30% 36% at 52% 48%, rgba(255,236,205,.34), transparent 70%),
    var(--tint-amber);
}


/* ===== Channel block fit ===== */
.block.ch-block{ overflow-x:clip; padding:105px 0 0; }
@media (max-width:560px){
  .ch-tabs{ gap:8px; margin-bottom:40px; }
  .ch-tab{ width:44px; height:44px; border-radius:13px; }
  .ch-tab img, .ch-tab .ch-ico{ width:24px; height:24px; }
  .ch-deck{ height:325px; }
  .ch-win{ width:230px; height:380px; margin-left:-115px; }
}


/* ===== Executive summary / суть продукта (белый фон) ===== */
.block.exec{ background:#fff; padding:88px 0; }
.exec-title{ font-family:var(--serif); font-weight:300; font-size:clamp(28px,3.2vw,38px); line-height:1.08; letter-spacing:-.01em; color:var(--ink); margin:0; max-width:24ch; }
/* анимации блока 01 — GPU-композитинг (transform/opacity), плавно. Триггер .reveal.in */
.block.exec .hl{ background:var(--orange); color:var(--ink); padding:.05em .26em; border-radius:5px; -webkit-box-decoration-break:clone; box-decoration-break:clone; }
html.js .block.exec .hl{ clip-path:inset(0 100% 0 0 round 5px); transition:clip-path .8s cubic-bezier(.16,1,.3,1); will-change:clip-path; }
html.js .block.exec .wrap.reveal.in .hl{ clip-path:inset(0 0 0 0 round 5px); }
html.js .block.exec .wrap.reveal.in .exec-title .hl{ transition-delay:.35s; }
html.js .block.exec .wrap.reveal.in .exec-card:nth-child(1) .hl{ transition-delay:.8s; }
html.js .block.exec .wrap.reveal.in .exec-card:nth-child(2) .hl{ transition-delay:1.25s; }
html.js .block.exec .wrap.reveal.in .exec-card:nth-child(3) .hl{ transition-delay:1.7s; }

html.js .block.exec .wrap.reveal{ opacity:1; transform:none; }
html.js .block.exec .exec-top > *,
html.js .block.exec .exec-card{ opacity:0; transform:translate3d(0,14px,0); transition:opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); will-change:opacity, transform; }
html.js .block.exec .wrap.reveal.in .exec-top > *,
html.js .block.exec .wrap.reveal.in .exec-card{ opacity:1; transform:none; }
html.js .block.exec .wrap.reveal.in .exec-title{ transition-delay:.07s; }
html.js .block.exec .wrap.reveal.in .exec-lead{ transition-delay:.14s; }
html.js .block.exec .wrap.reveal.in .exec-card:nth-child(1){ transition-delay:.22s; }
html.js .block.exec .wrap.reveal.in .exec-card:nth-child(2){ transition-delay:.30s; }
html.js .block.exec .wrap.reveal.in .exec-card:nth-child(3){ transition-delay:.38s; }
.cu{ display:inline-block; font-variant-numeric:tabular-nums; }
@media (prefers-reduced-motion: reduce){
  html.js .block.exec .exec-top > *,
  html.js .block.exec .exec-card{ opacity:1 !important; transform:none !important; transition:none; }
  html.js .block.exec .hl{ clip-path:none !important; transition:none; }
}
.exec-lead{ font-size:18px; line-height:26px; color:var(--body); max-width:60ch; margin:18px 0 0; }
.exec-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:34px; margin-top:58px; }
.exec-card{ padding-top:22px; border-top:1px solid var(--line); }
.exec-k{ font-family:var(--mono); font-size:12px; letter-spacing:.14em; color:var(--orange); }
.exec-card h3{ font-family:var(--serif); font-weight:400; font-size:clamp(21px,2.5vw,27px); line-height:1.1; color:var(--ink); margin:14px 0 11px; }
.exec-card p{ font-size:16px; line-height:1.62; color:var(--body); margin:0; }
.exec-card p b{ color:var(--ink); font-weight:600; }
@media(max-width:760px){
  .block.exec{ padding:52px 0; }
  .exec-grid{ grid-template-columns:1fr; gap:0; margin-top:34px; }
  .exec-card{ padding:24px 0; }
  .exec-card:last-child{ padding-bottom:0; }
}

/* ===== Номер причины — в левом поле, без сдвига заголовка (fin.ai-стиль) ===== */
.curtain{ --numoff: min(88px, calc(var(--gut) + max(0px, (100vw - var(--maxw)) / 2))); }
.curtain .copy,
.block.exec .exec-top,
.block.clients .cl-head,
.block.usecases .wrap{ position:relative; }
.curtain .copy > .block-num,
.block.exec .exec-top > .block-num,
.block.clients .cl-head > .block-num{ position:absolute; top:4px; margin:0; left:calc(-1 * var(--numoff)); }
.block.usecases .wrap > .block-num{ position:absolute; top:4px; margin:0; left:calc(var(--gut) - var(--numoff)); }
@media(max-width:760px){
  .curtain .copy > .block-num,
  .block.exec .exec-top > .block-num,
  .block.clients .cl-head > .block-num,
  .block.usecases .wrap > .block-num{ position:static; left:auto; margin:0 0 12px; }
}

/* ===== Клиенты / кейсы (тёплый градиент со вспышками + зерно) ===== */
.block.clients{ position:relative; overflow:hidden; border-top-color:transparent;
  background:
    radial-gradient(46% 56% at 12% 14%, rgba(255,150,168,.54), transparent 70%),
    radial-gradient(42% 52% at 90% 12%, rgba(228,104,124,.46), transparent 72%),
    radial-gradient(48% 58% at 88% 90%, rgba(255,182,158,.50), transparent 72%),
    radial-gradient(44% 54% at 8% 92%, rgba(246,158,176,.52), transparent 74%),
    radial-gradient(34% 40% at 52% 50%, rgba(255,236,226,.48), transparent 70%),
    linear-gradient(155deg, #FBE5E5 0%, #F7D2D4 55%, #F9DDD2 100%); }
/* крупное, заметное зерно — только для этого блока */
.block.clients.grain::after{ opacity:.6; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.42' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)' opacity='.16'/%3E%3C/svg%3E"); }
.cl-head{ max-width:60ch; position:relative; z-index:1; }
.cl-head h2{ font-family:var(--serif); font-weight:300; font-size:clamp(30px,4.4vw,52px); line-height:1.04; letter-spacing:-.02em; color:var(--ink); margin:14px 0 0; max-width:20ch; }
.cl-head p{ font-size:18px; line-height:1.55; color:rgba(0,0,0,.76); margin:16px 0 0; max-width:60ch; }
.cl-aside{ color:rgba(0,0,0,.5); }
.cl-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:44px; position:relative; z-index:1; }
.cl-card{ position:relative; background:rgba(255,255,255,.93); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); border:1px solid rgba(255,255,255,.7); border-radius:22px; padding:34px 32px; box-shadow:0 26px 60px rgba(150,80,30,.16); display:flex; flex-direction:column; }
.cl-badge{ position:absolute; top:32px; right:32px; z-index:3; background:linear-gradient(135deg,#ff8a4d 0%,#ff5600 100%); color:#111; font-family:var(--sans); font-size:13px; font-weight:600; padding:7px 14px; border-radius:999px; white-space:nowrap; box-shadow:0 6px 16px rgba(255,86,0,.28); }
@media(max-width:560px){ .cl-badge{ font-size:12px; padding:6px 12px; top:26px; right:24px; } }
.cl-logo{ height:34px; width:auto; max-width:78%; object-fit:contain; object-position:left center; display:block; align-self:flex-start; margin:0 0 20px; }
.cl-hapny-img{ border-radius:8px; height:29px; }
.cl-tags{ font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--orange); margin-bottom:14px; }
.cl-card p{ font-size:16px; line-height:1.62; color:var(--body); margin:0; }
.cl-card p b{ color:var(--ink); font-weight:600; }
.cl-desc{ font-size:16px; line-height:1.5; color:var(--ink); font-weight:500; margin:0 0 18px; }
.cl-points{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.cl-points li{ position:relative; padding-left:22px; font-size:15px; line-height:1.5; color:var(--body); }
.cl-points li::before{ content:""; position:absolute; left:1px; top:.5em; width:7px; height:7px; border-radius:50%; background:var(--orange); }
.cl-points li b{ color:var(--ink); font-weight:600; }
.cl-text{ font-size:16px; line-height:1.66; color:var(--body); margin:0; }
.cl-card .cl-text b{ color:var(--ink); font-weight:700; }
.cl-card .cl-text mark{ background:var(--orange); color:#fff; padding:1px 5px; border-radius:3px; }
.cl-quote{ margin:26px auto 0; max-width:860px; padding:0; border-top:0; position:relative; z-index:1; }
.cl-quote .quote-inner{ padding:30px 34px; grid-template-columns:1fr 140px; gap:28px; }
.cl-quote .brandmark{ top:24px; left:34px; }
.cl-quote blockquote{ font-size:clamp(19px,2vw,25px); line-height:1.28; margin-top:14px; }
.cl-quote .who{ margin-top:20px; }
.cl-quote .portrait{ aspect-ratio:1/1.05; }
@media(max-width:860px){ .cl-grid{ grid-template-columns:1fr; gap:16px; } }


/* ===== Use cases by industry (auto-rotating) ===== */
.usecases{ padding-bottom:0; }
.usecases .wrap{ text-align:left; display:flex; flex-direction:column; }
.uc-eyebrow{ font-family:var(--mono); font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); margin-bottom:16px; }
.usecases h3{ max-width:20ch; margin:0 0 16px; }
.uc-sub{ color:var(--body); font-size:18px; line-height:26px; max-width:56ch; margin:0 0 70px; }

/* компактные раскрывающиеся плашки отраслей (серые, полупрозрачные, с зерном) */
.uc-deck{ display:flex; align-items:flex-end; gap:0; height:250px; overflow:visible; }
.uc-card{ flex:1 1 0; min-width:0; min-height:96px; position:relative;
  background:
    radial-gradient(72% 82% at 16% 10%, rgba(255,255,255,.78), transparent 70%),
    radial-gradient(64% 74% at 90% 20%, rgba(0,0,0,.14), transparent 72%),
    radial-gradient(58% 66% at 82% 94%, rgba(0,0,0,.10), transparent 74%),
    radial-gradient(54% 62% at 8% 96%, rgba(255,255,255,.55), transparent 72%),
    rgba(124,121,117,.12);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); border:1px solid rgba(0,0,0,.08); border-radius:0; padding:20px 22px; cursor:pointer; text-align:left; overflow:hidden; box-shadow:0 8px 22px rgba(0,0,0,.05); transition:transform .6s cubic-bezier(.22,1,.36,1), box-shadow .6s ease; }
/* у каждой карточки свой градиент (серо-бело-чёрная гамма) */
.uc-card:nth-child(1){ background:
  radial-gradient(76% 86% at 14% 8%, rgba(255,255,255,.84), transparent 70%),
  radial-gradient(66% 76% at 92% 26%, rgba(0,0,0,.16), transparent 72%),
  radial-gradient(60% 68% at 80% 96%, rgba(0,0,0,.10), transparent 74%),
  rgba(126,123,119,.12); }
.uc-card:nth-child(2){ background:
  radial-gradient(80% 84% at 90% 8%, rgba(255,255,255,.82), transparent 70%),
  radial-gradient(64% 74% at 8% 22%, rgba(0,0,0,.17), transparent 72%),
  radial-gradient(58% 66% at 20% 96%, rgba(0,0,0,.10), transparent 74%),
  rgba(120,118,116,.13); }
.uc-card:nth-child(3){ background:
  radial-gradient(72% 80% at 10% 16%, rgba(0,0,0,.15), transparent 72%),
  radial-gradient(68% 76% at 88% 90%, rgba(255,255,255,.74), transparent 72%),
  radial-gradient(54% 62% at 92% 10%, rgba(255,255,255,.55), transparent 70%),
  rgba(128,125,121,.12); }
.uc-card:nth-child(4){ background:
  radial-gradient(84% 72% at 50% 6%, rgba(255,255,255,.8), transparent 68%),
  radial-gradient(60% 72% at 6% 94%, rgba(0,0,0,.15), transparent 72%),
  radial-gradient(60% 72% at 94% 92%, rgba(0,0,0,.12), transparent 72%),
  rgba(122,120,117,.13); }
.uc-card:hover{ box-shadow:0 14px 32px rgba(0,0,0,.09); }
.uc-card.on{ box-shadow:0 24px 50px rgba(0,0,0,.16); }
.uc-card-title{ font-family:var(--serif); font-weight:300; font-size:clamp(17px,1.45vw,21px); line-height:1.15; letter-spacing:-.01em; color:var(--ink); margin:0; position:relative; z-index:1; }
.uc-body{ position:relative; z-index:1; max-height:0; opacity:0; overflow:hidden; transition:max-height .7s cubic-bezier(.16,1,.3,1), opacity .55s ease, margin-top .7s cubic-bezier(.16,1,.3,1); }
.uc-card.on .uc-body{ max-height:280px; opacity:1; margin-top:14px; }
.uc-text{ font-size:14px; line-height:1.55; color:var(--body); margin:0 0 16px; }
.uc-more{ display:inline-flex; align-items:center; gap:7px; font-family:var(--sans); font-weight:600; font-size:13.5px; color:var(--orange); background:none; border:0; padding:0; cursor:pointer; }
.uc-more .a{ transition:transform .2s ease; }
.uc-more:hover .a{ transform:translateX(4px); }
.uc-prog{ position:absolute; left:0; right:0; bottom:0; height:3px; overflow:hidden; opacity:0; transition:opacity .4s ease; z-index:2; }
.uc-card.on .uc-prog{ opacity:1; }
.uc-prog-fill{ position:absolute; inset:0; background:var(--orange); transform:scaleX(0); transform-origin:left; }
.uc-card.on .uc-prog-fill{ animation:uc-fill var(--uc-dur,4.5s) linear forwards; }
.uc-paused .uc-card.on .uc-prog-fill{ animation-play-state:paused; }
@keyframes uc-fill{ from{ transform:scaleX(0); } to{ transform:scaleX(1); } }
@media(max-width:760px){
  .usecases{ padding-bottom:0; }
  .usecases .wrap{ min-height:0; }
  .uc-sub{ margin:0 0 28px; }
  /* мобайл: инлайн-раскрытие. Высота блока постоянна — активная всегда одного размера;
     при переключении одна ужимается, другая раскрывается СИНХРОННО (анимация по height карточки) */
  .uc-deck{ flex-direction:column; flex:none; height:auto; align-items:stretch; gap:0; margin-bottom:0; overflow:visible; }
  .uc-card{ position:relative; width:100%; flex:none; height:62px; min-height:0; border-radius:0; padding:16px 18px; text-align:left; display:flex; flex-direction:column; justify-content:flex-start; overflow:hidden; transition:height .5s cubic-bezier(.4,0,.2,1); transform:none; }
  .uc-card.on{ height:262px; box-shadow:inset 3px 0 0 var(--orange); }
  .uc-body{ display:block; position:static; height:auto; max-height:none; margin-top:10px; padding:0; opacity:0; overflow:visible; transition:opacity .4s ease .12s; pointer-events:none; }
  .uc-card.on .uc-body{ opacity:1; pointer-events:auto; }
  .uc-prog{ display:block; position:absolute; left:0; right:0; bottom:0; height:3px; }
  .block.ch-block{ margin-top:0; padding-top:48px; }
}
@media (prefers-reduced-motion:reduce){ .uc-prog-fill{ display:none; } .uc-card{ transition:background .3s ease; } }
@media (prefers-reduced-motion:reduce){ .uc-prog-fill{ display:none; } .uc-card,.uc-card.on{ transition:none; transform:none; } }


/* ===== CRM grid logos ===== */
.ig-cell.lg-mp{ --h:19px; --mw:60%; }
.ig-cell.lg-rcrm{ --h:18px; --mw:62%; }
.ig-cell.lg-ms{ --h:17px; --mw:62%; }
.ig-cell.lg-1ccrm{ --h:34px; }


/* ===== Global no horizontal scroll ===== */
html, body { overflow-x: clip; max-width: 100%; }

/* ===== Pricing section ===== */
.price-card{ background:var(--white); border:1px solid var(--line); border-radius:20px; padding:34px 32px; box-shadow:0 26px 60px rgba(0,0,0,.10); max-width:440px; }
.pc-label{ font-family:var(--mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); }
.pc-amount{ display:flex; align-items:baseline; gap:10px; margin:14px 0 24px; font-family:var(--serif); font-weight:400; font-size:60px; line-height:1; color:var(--orange); letter-spacing:-.02em; }
.pc-amount span{ font-family:var(--sans); font-size:15px; font-weight:500; color:var(--muted); }
.pc-list{ list-style:none; margin:0 0 28px; padding:0; display:flex; flex-direction:column; gap:13px; }
.pc-list li{ position:relative; padding-left:26px; font-size:15px; color:var(--body); line-height:1.5; }
.pc-list li::before{ content:"\2713"; position:absolute; left:0; top:0; color:var(--orange); font-weight:700; }
.pc-cta{ width:100%; }
@media(max-width:920px){ .price-card{ max-width:none; } .pc-amount{ font-size:48px; } }


/* ===== Pricing green bg ===== */
.block.price-bg{
  background:
    radial-gradient(38% 46% at 12% 16%, rgba(240,212,84,.58), transparent 72%),
    radial-gradient(34% 42% at 88% 10%, rgba(245,224,116,.50), transparent 72%),
    radial-gradient(46% 56% at 84% 88%, rgba(216,205,92,.44), transparent 74%),
    radial-gradient(40% 48% at 16% 92%, rgba(238,210,96,.52), transparent 74%),
    radial-gradient(30% 36% at 52% 48%, rgba(247,239,176,.46), transparent 70%),
    linear-gradient(180deg,#F8F2D2,#F1EBBF);
  border-top-color:transparent;
}
.block.price-bg .copy p{ color:rgba(0,0,0,.78); }
.pc-free{ display:inline-flex; align-items:center; gap:6px; background:rgba(28,150,84,.12); color:#1c7a44; font-size:13px; font-weight:500; padding:7px 13px; border-radius:999px; margin:0 0 24px; }
.pc-free b{ font-weight:700; }


/* ===== Pricing two cards ===== */
.price-cards{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.price-cards .price-card{ max-width:none; padding:28px 26px; box-shadow:0 18px 44px rgba(0,0,0,.08); display:flex; flex-direction:column; }
.price-cards .pc-amount{ font-size:55px; font-weight:600; margin:12px 0 16px; }
.pc-desc{ font-size:14px; color:var(--muted); line-height:1.55; margin:0 0 22px; flex:1; }
.price-cards .pc-cta{ margin-top:auto; }
@media(max-width:920px){ .price-cards{ grid-template-columns:1fr; } .price-cards .pc-amount{ font-size:48px; } }


/* ===== Pricing steps ===== */
.pc-step{ font-family:var(--serif); font-weight:700; font-size:24px; color:rgba(0,0,0,.85); letter-spacing:-.01em; margin-bottom:8px; }


/* ===== Pricing single CTA ===== */
.price-cta{ margin-top:18px; display:flex; justify-content:center; }
.price-cta .btn{ min-width:260px; }

/* ===== pc-num ===== */
.pc-step{ display:flex; align-items:baseline; gap:8px; }
.pc-num{ font-size:24px; font-weight:700; line-height:1; }
