/* ============================================================
   Корса — точная рекреация лендинга fin.ai (RU). Локальный прототип.
   Типографика по WhatFont: Serrif 300 / 100px / lh95  → Cormorant
                            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:"Cormorant", Georgia, "Times New Roman", serif;
  --sans:"Inter", 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:23px; font-weight:400; 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:600; line-height:1.04; text-align:left; }
.hero .wrap{ max-width:1760px; margin:0 auto; padding:11vh 8vw 0; }
.hero-title{ font-size:clamp(46px,6.9vw,104px); font-weight:600; line-height:1.02; letter-spacing:-.022em; 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{ max-height:30px; max-width:72%; width:auto; height:auto; object-fit:contain; display:block;
  filter:drop-shadow(0 0 .5px rgba(0,0,0,.5)) drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.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-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:26px; font-weight:600; color:var(--orange); letter-spacing:-.02em; font-family:var(--sans); }

/* ===== 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(46px,7vw,108px); line-height:.92; font-weight:600; }
.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(5,1fr); gap:28px; }
.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; gap: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; }
.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-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 .btn-primary,.nav-right .nav-brand{ display:none; }
  .burger{ display:flex; margin-left:auto; }
  /* 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; }
  .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{ max-height:24px; }
  .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; }
}
