/* sumisno. — основа всех страниц: палитра, типографика, сетка, курсор, шапка и меню, подвал, чат,
   блоки внутренних страниц и формы. Главная добавляет home.css, демонстрации — demos.css */
:root {
  --ink: #0c0c0b;
  --ink-2: #161615;
  --paper: #f2f2ed;
  --paper-2: #e6e5de;
  --accent: #ccf46b;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --ease: cubic-bezier(.7, 0, .2, 1);
  /* Совместимость: кабинет и демо-блоки используют прежние имена */
  --bg: var(--ink); --panel: var(--ink-2); --text: var(--paper); --muted: #a3a39b; --line: rgb(242 242 237 / .12);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 16px/1.5 Onest, Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { font-weight: 600; letter-spacing: -.04em; line-height: .95; overflow-wrap: break-word; }
h2 { font-size: clamp(2.4rem, 5.6vw, 5rem); }
h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.muted { opacity: .42; }
/* На светлом фоне приглушённая строка заголовка держит контраст не ниже 3:1 */
.theme-light .muted, .folder-paper .muted { opacity: .52; }
.eyebrow { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; margin-bottom: 1.1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 10002; background: var(--accent); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.smooth-wheel { scroll-behavior: auto; }

.theme-light { background: var(--paper); color: var(--ink); color-scheme: light; }
.theme-dark { background: var(--ink); color: var(--paper); color-scheme: dark; }
main:not(.admin-shell) > section, .footer { position: relative; padding-inline: var(--gutter); }
@media (min-width: 900px) { main:not(.admin-shell) > section { padding-left: max(var(--gutter), 4.5rem); } }
.head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; z-index: 1; }
.head-lead { max-width: 36rem; margin-top: 1.4rem; font-size: 1.05rem; opacity: .7; }
.head-more { margin-top: 1.6rem; }
.section-more { margin-top: 2.5rem; }
.note { font-size: .85rem; opacity: .6; }

/* Тонкие линии колонок поверх всей страницы — видны и на светлом, и на тёмном */
.grid-lines { position: fixed; inset: 0; z-index: 50; pointer-events: none; display: grid; grid-template-columns: repeat(6, 1fr); padding-inline: var(--gutter); mix-blend-mode: difference; }
/* Подвал лежит выше общей сетки и повторяет её своим слоем — те же колонки и цвет */
.footer-lines { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: grid; grid-template-columns: repeat(6, 1fr); padding-inline: var(--gutter); mix-blend-mode: difference; }
.grid-lines i, .footer-lines i { border-left: 1px solid rgb(255 255 255 / .055); }
.grid-lines i:last-child, .footer-lines i:last-child { border-right: 1px solid rgb(255 255 255 / .055); }
/* Планшет: колонок три — в каждой помещается своя колонка подвала */
@media (min-width: 761px) and (max-width: 1249px) {
  .grid-lines, .footer-lines { grid-template-columns: repeat(3, 1fr); }
  .grid-lines i:nth-child(n+4), .footer-lines i:nth-child(n+4) { display: none; }
  .grid-lines i:nth-child(3), .footer-lines i:nth-child(3) { border-right: 1px solid rgb(255 255 255 / .055); }
}
.scroll-meter { position: fixed; right: 18px; top: 50%; translate: 0 -50%; width: 1px; height: 180px; z-index: 60; background: rgb(255 255 255 / .25); mix-blend-mode: difference; pointer-events: none; }
.scroll-meter i { position: absolute; inset: 0 0 auto; height: 100%; background: #fff; transform-origin: top; transform: scaleY(var(--p, 0)); }
@media (max-width: 700px) { .scroll-meter { display: none; } }

/* Курсор: кольцо с инверсией и подписью. Только мышь, включается из JS */
.cursor { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity .3s; }
.has-cursor .cursor.is-visible { opacity: 1; }
.cursor-ring { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid #fff; border-radius: 50%; transition: transform .35s var(--ease), background-color .35s; }
.cursor-label { position: absolute; left: 30px; top: -8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #fff; white-space: nowrap; opacity: 0; translate: -6px 0; transition: opacity .25s, translate .35s var(--ease); }
.cursor.is-hover .cursor-ring { transform: scale(1.7); background: #fff; }
.cursor.is-hover .cursor-label:not(:empty) { opacity: 1; translate: 20px 0; }
.cursor.is-down .cursor-ring { transform: scale(.7); }

/* Кнопки и ссылки */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: 0 1.3rem; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font-size: .9rem; font-weight: 500; line-height: 1.1; white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s; }
.pill:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.pill-accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.pill-accent:hover { background: var(--paper); border-color: var(--paper); }
.pill-ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill-ink:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.pill-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.pill:disabled { opacity: .5; cursor: progress; }
.link-arrow { display: inline-flex; align-items: baseline; gap: .35rem; padding: 0 0 2px; border: 0; border-bottom: 1px solid currentColor; background: none; font-size: .95rem; opacity: .8; transition: opacity .3s; }
.link-arrow:hover { opacity: 1; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; margin-top: 2rem; }
.tags i { font-style: normal; }
.tags i + i::before { content: " · "; }
/* Совместимость с кабинетом */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: 0 1.4rem; border: 0; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 500; }
.text-button { border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.brand-mark { display: inline-block; width: 1em; height: 1em; margin-right: .35em; vertical-align: -.12em; background: url("/assets/favicon.svg") center / contain no-repeat; }
.fineprint { font-size: .8rem; opacity: .6; }
.fineprint a { text-decoration: underline; text-underline-offset: 3px; }
.form-error { color: #c2410c; font-size: .9rem; }
.form-error:empty { display: none; }
.theme-dark .form-error, .chat-dialog .form-error, .admin-shell .form-error { color: #ff9f7f; }

/* Перекатывание букв (JS разбивает текст на буквы) */
.roll { display: inline-flex; overflow: hidden; line-height: 1.25; }
.roll .ch { position: relative; display: inline-block; white-space: pre; transition: transform .55s var(--ease) calc(var(--i) * 22ms); }
.roll .ch::after { content: attr(data-c); position: absolute; left: 0; top: 100%; }
.roll:hover .ch, .roll:focus-visible .ch { transform: translateY(-100%); }

/* Шапка с инверсией цвета: логотип слева, меню по центру, кнопка справа */
.topbar { position: fixed; inset: 0 0 auto; z-index: 100; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 1.1rem var(--gutter); mix-blend-mode: difference; color: #fff; }
.brand { justify-self: start; font-weight: 700; font-size: 1.35rem; letter-spacing: -.05em; }
.brand b { color: #fff; }
.topmenu { display: flex; align-items: center; gap: 2.2rem; }
.topnav { display: flex; gap: 2rem; font-size: .9rem; }
.topnav a[aria-current="page"] { box-shadow: inset 0 -1px currentColor; }
.language-switch { display: flex; gap: .1rem; font-size: .72rem; letter-spacing: .08em; }
.language-switch a { padding: .35rem .4rem; opacity: .5; transition: opacity .3s; }
.language-switch a:hover, .language-switch a[aria-current="page"] { opacity: 1; }
.topbar-pill { justify-self: end; }
.topbar .pill:hover { background: #fff; border-color: #fff; color: #000; }
.menu-toggle { display: none; }
@media (max-width: 960px) {
  .topbar { grid-template-columns: 1fr auto auto; }
  .js .menu-toggle { display: inline-grid; place-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; border: 1px solid currentColor; border-radius: 999px; background: none; color: inherit; }
  .menu-toggle span { display: block; width: 16px; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .js .topmenu { position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2rem; padding: 6.5rem var(--gutter) 2rem; background: var(--ink); color: var(--paper); visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; overflow-y: auto; overscroll-behavior: contain; }
  .js .topmenu.is-open { visibility: visible; opacity: 1; transition: opacity .35s; }
  .js .topnav { flex-direction: column; gap: .5rem; font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 600; letter-spacing: -.04em; }
  .js .language-switch { font-size: .95rem; gap: .6rem; }
  .menu-open { overflow: hidden; }
  .menu-open .topbar { mix-blend-mode: normal; color: var(--paper); }
  /* Без JS меню не открыть — навигация и языки стоят второй строкой шапки, шапка не закреплена */
  html:not(.js) .topbar { position: absolute; grid-template-columns: 1fr auto; }
  html:not(.js) .topmenu { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: .4rem 1.2rem; }
  html:not(.js) .topnav { flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .85rem; }
  html:not(.js) main > section:first-child { padding-top: 8.5rem; }
}

/* Подвал ровно на экран, слово во всю ширину уходит в фон.
   Всё стоит на колонках общей сетки (--cols): каждый блок начинается сразу справа от линии и не пересекает её.
   Подвал выше общей сетки (z-index) и рисует свои линии тем же слоем, поэтому карточка призыва закрывает линии под собой */
.footer { --cols: 6; --cell: clamp(.9rem, 1.2vw, 1.4rem); z-index: 55; min-height: 100svh; display: flex; flex-direction: column; padding-block: 7rem 1rem; overflow: hidden; background: radial-gradient(120% 55% at 50% 115%, rgb(204 244 107 / .2), transparent 62%), var(--ink); color: var(--paper); }
.footer-top { position: relative; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); row-gap: 3rem; }
.footer-top > * { position: relative; z-index: 1; padding-inline: var(--cell); }
.footer-cta { grid-column: 1 / span 3; z-index: 3; align-self: start; margin-right: var(--cell); padding: clamp(1.6rem, 2.6vw, 2.6rem); border: 1px solid rgb(242 242 237 / .1); border-radius: 22px; background: var(--ink-2); }
.footer-cta h2 { font-size: clamp(1.9rem, 3.2vw, 4.4rem); }
.footer-cta .actions { margin-top: 1.8rem; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding-top: .3rem; }
.footer-col .eyebrow { margin-bottom: .7rem; }
.footer-services a, .footer-contact a { opacity: .75; transition: opacity .3s, color .3s; }
.footer-services a:hover, .footer-services a[aria-current="page"], .footer-contact a:hover { opacity: 1; color: var(--accent); }
.footer-contact a[href^="tel:"] { white-space: nowrap; }
.footer-contact .link-arrow { margin-top: .6rem; }
.wordmark { position: relative; margin-top: auto; padding-top: 3rem; }
.wordmark > svg { display: block; width: 100%; height: auto; overflow: visible; -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 98%); mask-image: linear-gradient(to bottom, #000 30%, transparent 98%); }
.wordmark text { font: 650 265px Onest, Arial, sans-serif; letter-spacing: -.06em; fill: var(--paper); }
.wordmark tspan { fill: var(--accent); }
.measure { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; }
.measure.is-on { opacity: 1; }
.m-box { position: absolute; left: 0; top: 0; width: 70px; height: 70px; border: 1px solid rgb(242 242 237 / .55); transition: transform .5s var(--ease); }
.m-box-2 { width: 52px; height: 52px; border-color: rgb(204 244 107 / .7); transition-duration: .9s; }
.m-box em { position: absolute; left: 5px; bottom: 3px; font: 10px/1 ui-monospace, Consolas, monospace; font-style: normal; opacity: .75; }
.m-link { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.m-link line { stroke: rgb(242 242 237 / .45); stroke-dasharray: 3 4; }
/* Нижняя строка тоже по колонкам: © — в первой, остальное — под колонками разделов, услуг и связи */
.footer-bottom { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: .4rem 0; padding-top: 1rem; border-top: 1px solid rgb(242 242 237 / .12); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-bottom > * { justify-self: start; padding-inline: var(--cell); opacity: .6; transition: opacity .3s, color .3s; }
.footer-bottom > span { text-transform: none; letter-spacing: .02em; }
.footer-bottom a:hover { opacity: 1; color: var(--accent); }
.footer-bottom > :nth-child(2) { grid-column: 4; }
.footer-bottom > :nth-child(3) { grid-column: 5; }
.footer-bottom > :nth-child(4) { grid-column: 6; }
@media (max-width: 1249px) {
  .footer { --cols: 3; }
  .footer-cta { grid-column: 1 / -1; margin-right: 0; }
  .footer-bottom > :nth-child(2) { grid-column: 2; grid-row: 1; }
  .footer-bottom > :nth-child(3) { grid-column: 1; grid-row: 2; }
  .footer-bottom > :nth-child(4) { grid-column: 3; grid-row: 1; }
}

/* Чат со специалистом */
.chat-launch { position: fixed; right: var(--gutter); bottom: 1.2rem; z-index: 95; display: inline-flex; align-items: center; gap: .65rem; min-height: 48px; padding: 0 1.2rem 0 1rem; border: 1px solid rgb(242 242 237 / .18); border-radius: 999px; background: rgb(22 22 21 / .9); color: var(--paper); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .9rem; box-shadow: 0 16px 36px -16px rgb(0 0 0 / .6); transition: background-color .3s, color .3s; }
.chat-launch:hover { background: var(--accent); color: var(--ink); }
.chat-launch { transition: background-color .3s, color .3s, opacity .35s, translate .45s var(--ease), visibility 0s; }
.chat-launch.is-tucked:not([aria-expanded="true"]) { opacity: 0; translate: 0 1.5rem; visibility: hidden; pointer-events: none; transition: background-color .3s, color .3s, opacity .35s, translate .45s var(--ease), visibility 0s .45s; }
.chat-symbol { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(204 244 107 / .2); }
.chat-launch:hover .chat-symbol { background: var(--ink); box-shadow: none; }
.chat-dialog { position: fixed; inset: auto var(--gutter) 5rem auto; z-index: 96; width: min(24rem, calc(100vw - 2rem)); max-height: calc(100svh - 7rem); margin: 0; padding: 0; overflow: auto; border: 1px solid rgb(242 242 237 / .14); border-radius: 18px; background: var(--ink-2); color: var(--paper); color-scheme: dark; box-shadow: 0 30px 80px -20px rgb(0 0 0 / .7); }
.chat-top { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.2rem .8rem; border-bottom: 1px solid var(--line); }
.chat-top h2 { font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.2; }
.chat-top p { margin-top: .2rem; font-size: .8rem; color: var(--muted); }
.icon-button { flex: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: none; font-size: 1.3rem; line-height: 1; }
.icon-button:hover { background: var(--paper); color: var(--ink); }
.chat-messages { display: flex; flex-direction: column; gap: .6rem; height: 13rem; padding: 1rem 1.2rem; overflow-y: auto; overscroll-behavior: contain; }
.chat-message { max-width: 88%; padding: .6rem .8rem; border-radius: 12px; background: #20211f; font-size: .9rem; overflow-wrap: anywhere; }
.chat-message small { display: block; margin-bottom: .15rem; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.chat-message.system { background: none; padding: 0; color: var(--muted); }
.chat-message.visitor { align-self: flex-end; background: var(--accent); color: var(--ink); }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1.2rem .8rem; }
.chat-suggestions button { min-height: 36px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 999px; background: none; font-size: .8rem; }
.chat-suggestions button:hover { border-color: var(--accent); color: var(--accent); }
.chat-form { display: grid; gap: .6rem; padding: 0 1.2rem 1.2rem; }
.chat-form .pill { justify-self: stretch; }
.chat-form textarea { min-height: 5.5rem; }
/* Чат и демо-магазин работают только с JavaScript */
html:not(.js) [data-chat-open], html:not(.js) .contact-chat { display: none !important; }
.js .playground-noscript { display: none; }
.playground-noscript { margin: 0; padding: .8rem 22px; font-size: .85rem; color: var(--accent); }

/* Формы */
label { display: grid; gap: .45rem; font-size: .85rem; }
input, select, textarea { width: 100%; min-height: 48px; padding: .75rem .95rem; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 12px; background: color-mix(in srgb, currentColor 4%, transparent); font-size: 1rem; line-height: 1.4; transition: border-color .25s, background-color .25s; }
input::placeholder, textarea::placeholder { color: inherit; opacity: .45; }
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, currentColor 40%, transparent); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea { resize: vertical; min-height: 8rem; }
select { appearance: none; padding-right: 2.6rem; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 1.3rem) 55%, calc(100% - .95rem) 55%; background-size: .35rem .35rem; background-repeat: no-repeat; cursor: pointer; }
/* Непрозрачные пункты нужны и системному меню: оно не наследует фон поля. */
select option, select optgroup { background: var(--ink-2); color: var(--paper); background: light-dark(var(--paper), var(--ink-2)); color: light-dark(var(--ink), var(--paper)); }
select:disabled { opacity: .5; cursor: not-allowed; }
/* Настоящий select сохраняет клавиатуру, формы и работу без JS.
   На сенсорных устройствах остаётся системный picker. */
@supports (appearance: base-select) {
  @media (hover: hover) and (pointer: fine) {
    select:not([multiple]):not([size]), select:not([multiple]):not([size])::picker(select) { appearance: base-select; }
    select:not([multiple]):not([size]) { align-items: center; gap: 1rem; padding-right: .95rem; background-image: none; }
    select:not([multiple]):not([size]):open { border-color: currentColor; }
    select:not([multiple]):not([size])::picker-icon { content: ''; flex: 0 0 .45rem; width: .45rem; height: .45rem; margin-inline: auto .15rem; border-right: 1.5px solid; border-bottom: 1.5px solid; rotate: 45deg; translate: 0 -.12rem; }
    select:not([multiple]):not([size]):open::picker-icon { rotate: 225deg; translate: 0 .12rem; }
    select:not([multiple]):not([size])::picker(select) {
      margin-block: .45rem; padding: .35rem; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 14px;
      background: light-dark(var(--paper), var(--ink-2)); color: light-dark(var(--ink), var(--paper));
      box-shadow: 0 16px 40px rgb(0 0 0 / .25); font: inherit;
      max-block-size: min(22rem, 60dvh); max-inline-size: calc(100vw - 2rem); overflow: auto; overscroll-behavior: contain;
    }
    select:not([multiple]):not([size]) option { display: flex; align-items: center; gap: 1rem; min-height: 44px; padding: .65rem .8rem; border-radius: 8px; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
    select:not([multiple]):not([size]) option:checked { background: var(--accent); color: var(--ink); font-weight: 500; }
    select:not([multiple]):not([size]) option:not(:checked):is(:hover, :focus-visible) { background: light-dark(var(--paper-2), #2c2c28); }
    select:not([multiple]):not([size]) option:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
    select:not([multiple]):not([size]) option::checkmark { order: 1; margin-inline-start: auto; }
    select:not([multiple]):not([size]) option:disabled { opacity: .5; cursor: not-allowed; }
  }
}
.theme-light input:focus-visible, .theme-light select:focus-visible, .theme-light textarea:focus-visible { outline-color: var(--ink); }
.conditions-note { max-width: 48rem; margin-top: 2rem; opacity: .8; }
.case-figure, .article-illustration { max-width: 75rem; margin-inline: auto; overflow: hidden; border-radius: 20px; }
.case-figure img, .article-illustration img { width: 100%; height: auto; }
.case-prose { max-width: 52rem; margin: clamp(2rem, 5vw, 4rem) auto 0; }
.article-meta a { text-decoration: underline; text-underline-offset: .2em; }
.consent { display: flex; align-items: flex-start; gap: .7rem; font-size: .9rem; }
.consent input { flex: none; width: 20px; height: 20px; min-height: 0; margin: .1rem 0 0; padding: 0; accent-color: var(--ink); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ===== Внутренние страницы ===== */
.page-hero { min-height: min(88svh, 54rem); display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; padding-block: 6.2rem clamp(4rem, 9vw, 7rem); overflow: hidden; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .3rem .6rem; font-size: .78rem; letter-spacing: .04em; }
.crumbs li { opacity: .6; }
.crumbs li:last-child { opacity: .9; }
.crumbs li + li::before { content: "/"; margin-right: .6rem; opacity: .5; }
.crumbs a:hover { color: var(--accent); }
.page-hero-copy { position: relative; z-index: 1; max-width: 64rem; }
.page-hero h1 { font-size: clamp(2.6rem, 6.6vw, 6.2rem); }
.kicker { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.6rem; font-size: .75rem; font-weight: 400; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; opacity: .7; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgb(204 244 107 / .6); animation: beat 2s infinite; }
@keyframes beat { 70% { box-shadow: 0 0 0 10px rgb(204 244 107 / 0); } 100% { box-shadow: 0 0 0 0 rgb(204 244 107 / 0); } }
.lead { max-width: 34rem; margin-top: 1.8rem; font-size: 1.1rem; opacity: .75; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.2rem; }
.hero-tags li { padding: .35rem .85rem; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 999px; font-size: .8rem; }
.page-word { position: absolute; right: -.05em; bottom: -.24em; margin: 0; font-size: clamp(7rem, 22vw, 24rem); font-weight: 700; letter-spacing: -.07em; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgb(242 242 237 / .08); pointer-events: none; user-select: none; }
.section { padding-block: clamp(5rem, 10vw, 8.5rem); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.split .head { margin-bottom: 0; position: sticky; top: 6rem; }
.split h2 { font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1; }
.split-body { display: grid; gap: 1.8rem; }
.split-body > p:not(.body-large) { opacity: .75; max-width: 40rem; }
.body-large { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.45; letter-spacing: -.01em; }
.situations li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); padding: 1.2rem 0; border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent); font-size: 1.05rem; }
.situations .num, .factors .num { font-size: .75rem; opacity: .62; padding-top: .25rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .head { position: static; } }

/* Плитки: услуги, возможности, принципы */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem; min-height: 15rem; padding: 1.6rem; border-radius: 18px; background: var(--paper-2); border: 1px solid rgb(12 12 11 / .07); overflow: hidden; transition: background-color .45s, color .45s, transform .6s var(--ease); }
.tile p { opacity: .7; max-width: 24rem; }
a.tile:hover { background: var(--ink); color: var(--paper); transform: translateY(-4px); }
.tile .num { position: absolute; top: 1.3rem; left: 1.6rem; font-size: .75rem; letter-spacing: .1em; opacity: .65; }
.tile .tags { margin-top: .6rem; font-size: .8rem; opacity: .7; }
.tile-link { margin-top: .8rem; font-size: .85rem; opacity: .75; }
.tile-static { justify-content: flex-start; padding-top: 3.6rem; }
.theme-dark .tile { background: var(--ink-2); border-color: rgb(242 242 237 / .08); }
.theme-dark a.tile:hover { background: var(--accent); color: var(--ink); }
@media (max-width: 1100px) { .tiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiles, .tiles-4 { grid-template-columns: 1fr; } .tile { min-height: 12rem; } }
@media (hover: none) {
  a.tile:hover, .theme-dark a.tile:hover { background: var(--paper-2); color: inherit; transform: none; }
  .theme-dark a.tile:hover { background: var(--ink-2); }
  a.tile:active { transform: scale(.98); }
}

/* Шаги работы */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1.5rem; }
.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps li { position: relative; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.theme-light .steps li::before { background: var(--ink); box-shadow: 0 0 0 3px var(--accent); }
.steps .num { display: inline-block; margin-bottom: 1.4rem; padding: .2rem .55rem; border: 1px solid currentColor; border-radius: 999px; font-size: .75rem; opacity: .8; }
.steps h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: .7rem; }
.steps p { max-width: 22rem; opacity: .7; }
.steps-mini { grid-template-columns: 1fr; gap: 1rem; }
.steps-mini li { padding: 0 0 0 3rem; border: 0; }
.steps-mini li::before { display: none; }
.steps-mini .num { position: absolute; left: 0; top: 0; margin: 0; }
.steps-mini h3 { font-size: 1.05rem; margin-bottom: .2rem; }
@media (max-width: 1000px) { .steps, .steps-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; } }
@media (max-width: 600px) { .steps, .steps-5 { grid-template-columns: 1fr; } }

/* Списки с галочками и факторы стоимости */
.checks li { position: relative; padding: .85rem 0 .85rem 2rem; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.checks li::before { content: ""; position: absolute; left: .15rem; top: 1.2rem; width: .8rem; height: .42rem; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.theme-dark .checks li::before, .deliverables .checks li::before { border-color: var(--accent); }
.deliverables { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1rem 3rem; margin-top: 12px; padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: 18px; background: var(--ink); color: var(--paper); }
.deliverables h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.04em; }
.deliverables .note { grid-column: 2; }
@media (max-width: 760px) { .deliverables { grid-template-columns: 1fr; } .deliverables .note { grid-column: auto; } }
.factors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.factors li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); padding: 1.6rem; border-radius: 14px; background: #faf9f4; font-size: clamp(1.05rem, 1.6vw, 1.25rem); letter-spacing: -.01em; line-height: 1.35; }
.folder .note { margin-top: 2rem; }
@media (max-width: 700px) { .factors { grid-template-columns: 1fr; } }

/* Список услуг */
.service-list { border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); }
.service-row { display: grid; grid-template-columns: 4rem minmax(0, 1.5fr) minmax(0, 1fr) 2.5rem; gap: 1rem 2rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent); border-radius: 0; transition: padding .5s var(--ease), background-color .4s, color .4s, border-radius .4s; }
.service-row h3 { margin-bottom: .5rem; font-size: clamp(1.6rem, 3.2vw, 2.8rem); letter-spacing: -.04em; }
.service-row p { max-width: 40rem; opacity: .65; }
.service-row .num { align-self: start; padding-top: .8rem; font-size: .8rem; opacity: .62; }
.service-row .tags { font-size: .82rem; opacity: .6; }
.service-row-arrow { font-size: 1.6rem; transition: transform .5s var(--ease); }
.service-row:hover { padding-inline: 1.4rem; border-radius: 16px; background: var(--ink); color: var(--paper); }
.service-row:hover .service-row-arrow { transform: rotate(45deg); color: var(--accent); }
@media (max-width: 860px) { .service-row { grid-template-columns: 2.5rem minmax(0, 1fr) 1.5rem; } .service-row .tags { grid-column: 2; } .service-row-arrow { grid-column: 3; grid-row: 1; } }
@media (hover: none) { .service-row:hover { padding-inline: 0; background: none; color: inherit; } }

/* Баннер решения, примеры, CSS-рисунки демонстраций */
.banner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; }
.banner-copy .head { margin-bottom: 2rem; }
.banner > .art { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; }
@media (max-width: 860px) { .banner { grid-template-columns: 1fr; } }
.examples { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: 12px; }
.example { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--ink-2); border: 1px solid rgb(242 242 237 / .08); transition: transform .6s var(--ease); }
.theme-light .example { background: var(--paper-2); border-color: rgb(12 12 11 / .07); }
.example:hover { transform: translateY(-4px); }
.example-art { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #20211f; }
.example-art > img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.example:hover .example-art > img, .example:hover .art { transform: scale(1.04); }
.example-meta { display: grid; gap: .5rem; padding: 1.4rem 1.5rem 1.6rem; }
.example-meta .eyebrow { margin: 0; }
.example-meta h3 { display: flex; justify-content: space-between; gap: 1rem; font-size: 1.45rem; }
.example-meta p { opacity: .7; }
@media (hover: none) { .example:hover { transform: none; } }
.art { position: absolute; inset: 0; display: block; width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.art-store { background: #d8d8d0; }
.art-store i:first-child { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); left: 42%; top: 18%; }
.art-store i:last-child { position: absolute; width: 9%; height: 34%; background: var(--accent); left: 56%; top: 48%; border-radius: 4px; }
.art-report { background: var(--ink-2); display: flex; align-items: flex-end; gap: 4%; padding: 20% 12% 30%; }
.art-report i { flex: 1; height: 40%; background: #3a3a37; border-radius: 3px; }
.art-report i:nth-child(1) { height: 30%; } .art-report i:nth-child(2) { height: 55%; } .art-report i:nth-child(3) { height: 42%; }
.art-report i:nth-child(4) { height: 78%; background: var(--accent); } .art-report i:nth-child(5) { height: 64%; }
.art-atelier { background: #d9d3c1; }
.art-atelier i { position: absolute; display: block; }
.art-atelier i:nth-child(1) { left: 14%; top: 0; width: 34%; height: 68%; background: linear-gradient(135deg, #ece6d0, #f7f2e3); box-shadow: 18px 14px 40px #f3ecd26b; }
.art-atelier i:nth-child(2) { left: 0; right: 0; bottom: 0; height: 26%; background: #a39c86; }
.art-atelier i:nth-child(3) { left: 58%; bottom: 20%; width: 12%; height: 34%; border-radius: 40% 40% 8px 8px; background: linear-gradient(90deg, #6f6a52, #a09b7b 55%, #67654c); }

/* Подход: инструменты и итоговая фраза */
.tools { padding: clamp(1.4rem, 3vw, 2rem); border-radius: 18px; background: var(--paper-2); }
.tools h3 { margin-bottom: .4rem; }
.tools p { opacity: .7; }
.tools .hero-tags { margin-top: 1.2rem; }
.statement-text { max-width: 62rem; font-size: clamp(2.2rem, 5.4vw, 5rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }

/* Контакты */
/* Порядок в разметке: вступление → форма → подсказки; на широком экране форма справа на всю высоту */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "intro form" "aside form"; grid-template-rows: auto 1fr; gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-intro { grid-area: intro; display: grid; gap: 1.2rem; }
.contact-intro h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
.contact-intro > p { opacity: .75; max-width: 30rem; }
.contact-grid > .inquiry-form { grid-area: form; position: sticky; top: 6rem; }
.contact-aside { grid-area: aside; display: grid; gap: 1.8rem; }
.contact-block .eyebrow { margin-bottom: .5rem; }
.contact-block .steps p { font-size: .92rem; }
.contact-chat { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; }
.inquiry-form { position: relative; display: grid; gap: 1.2rem; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 22px; background: #faf9f4; box-shadow: 0 40px 70px -45px rgb(0 0 0 / .35); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.inquiry-form > .pill { justify-self: start; min-height: 52px; padding: 0 1.8rem; font-size: 1rem; }
.form-success { display: grid; gap: .4rem; padding: 1.4rem; border-radius: 14px; background: var(--accent); color: var(--ink); }
.form-success .eyebrow { margin: 0; }
.form-success h3 { font-size: 1.5rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "aside"; grid-template-rows: none; } .contact-grid > .inquiry-form { position: static; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .inquiry-form > .pill { justify-self: stretch; } }

/* Связь напрямую: телефон и Viber — дополнительно к форме */
.contact-phone { display: inline-block; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -.03em; }
.contact-direct .actions { margin-top: 1rem; }
.contact-direct .note { margin-top: .9rem; max-width: 26rem; }

/* Статьи: список, оглавление, текст */
.guide-list { border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); }
.guide-row { display: grid; grid-template-columns: 4rem minmax(0, 1fr) 8rem 2.5rem; gap: 1rem 2rem; align-items: center; padding: 2.2rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent); transition: padding .5s var(--ease), background-color .4s, color .4s, border-radius .4s; }
.guide-row h2 { margin-bottom: .6rem; font-size: clamp(1.5rem, 3vw, 2.5rem); letter-spacing: -.04em; line-height: 1.05; }
.guide-row p { max-width: 44rem; opacity: .65; }
.guide-row .num { align-self: start; padding-top: .6rem; font-size: .8rem; opacity: .62; }
.guide-meta { font-size: .8rem; opacity: .6; white-space: nowrap; }
.guide-row:hover { padding-inline: 1.4rem; border-radius: 16px; background: var(--ink); color: var(--paper); }
.guide-row:hover .service-row-arrow { transform: rotate(45deg); color: var(--accent); }
@media (max-width: 860px) { .guide-row { grid-template-columns: 2.5rem minmax(0, 1fr) 1.5rem; } .guide-meta { grid-column: 2; } .guide-row .service-row-arrow { grid-column: 3; grid-row: 1; } }
@media (hover: none) { .guide-row:hover { padding-inline: 0; background: none; color: inherit; } }
.article-meta { display: flex; flex-wrap: wrap; gap: .3rem .6rem; margin-top: 1.8rem; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.article-grid { display: grid; grid-template-columns: minmax(12rem, 16rem) minmax(0, 46rem); gap: 2rem clamp(2rem, 7vw, 7rem); align-items: start; }
.toc { position: sticky; top: 6rem; }
.toc ol { display: grid; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 2rem minmax(0, 1fr); padding: .5rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent); font-size: .9rem; opacity: .65; transition: opacity .3s; }
.toc a::before { content: counter(toc, decimal-leading-zero); padding-top: .15rem; font-size: .72rem; opacity: .6; }
.toc a:hover { opacity: 1; }
.prose h2 { scroll-margin-top: 6rem; }
.prose .checks { margin-top: 1rem; }
.guide-links { display: grid; justify-items: start; gap: .8rem; margin-top: 2.5rem; }
.guide-links .eyebrow { margin: 0; }
@media (max-width: 860px) { .article-grid { grid-template-columns: 1fr; } .toc { position: static; } }

/* Текст документа */
.prose { max-width: 46rem; }
.prose h2 { margin: 3rem 0 1rem; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; line-height: 1.1; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.08rem; line-height: 1.7; opacity: .82; }
.prose p + p { margin-top: 1rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .fineprint { margin-top: 3rem; font-size: .85rem; }

/* Папки с вкладками, которые наезжают друг на друга */
main > .folder { margin-top: -2rem; border-radius: 28px 28px 0 0; padding-block: 6rem; background-size: 26px 26px; }
.folder-tab { position: absolute; top: -2.5rem; left: max(var(--gutter), 4.5rem); height: 2.6rem; display: flex; align-items: center; padding: 0 1.6rem; border-radius: 16px 16px 0 0; background: inherit; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.folder-paper { z-index: 2; background-color: var(--paper-2); color: var(--ink); color-scheme: light; background-image: linear-gradient(rgb(12 12 11 / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(12 12 11 / .045) 1px, transparent 1px); }
.folder-ink { z-index: 3; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; padding-bottom: 8rem; background-color: var(--ink-2); color: var(--paper); background-image: linear-gradient(rgb(242 242 237 / .03) 1px, transparent 1px), linear-gradient(90deg, rgb(242 242 237 / .03) 1px, transparent 1px); }
main > .folder-ink { padding-bottom: 8rem; }
.folder-ink .folder-tab { left: auto; right: var(--gutter); }
@media (max-width: 860px) { .folder-ink { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .folder-tab { left: var(--gutter); } }

/* Вопросы */
.faq details { border-top: 1px solid rgb(242 242 237 / .12); }
.faq details:last-child { border-bottom: 1px solid rgb(242 242 237 / .12); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; font-size: clamp(1.05rem, 1.8vw, 1.35rem); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; transition: rotate .4s var(--ease), color .3s; }
.faq details[open] summary::after { rotate: 45deg; color: var(--accent); }
.faq details p { max-width: 42rem; padding-bottom: 1.5rem; opacity: .7; }

/* Появление блоков при прокрутке (классы ставит ui.js; без JS и при reduced motion всё видно сразу) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal:not(.is-in) { opacity: 0; }
  .js .reveal.is-in { animation: reveal-up .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms); }
}
@keyframes reveal-up { from { opacity: 0; translate: 0 28px; } }
@media print { .js .reveal { opacity: 1 !important; animation: none !important; } .grid-lines, .cursor, .chat-launch, .topbar, .scroll-meter { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ===== Телефон ===== */
@media (max-width: 760px) {
  /* Шапка: без инверсии, фон мягко растворяется снизу, прячется при прокрутке вниз (класс ставит ui.js) */
  .topbar { mix-blend-mode: normal; color: var(--paper); padding-block: .7rem; transition: transform .45s var(--ease); }
  .topbar::before { content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; background: linear-gradient(to bottom, rgb(12 12 11) 0%, rgb(12 12 11) 66%, rgb(12 12 11 / 0) 100%); pointer-events: none; }
  .topbar .brand b { color: var(--accent); }
  .topbar .pill { min-height: 38px; padding: 0 1rem; font-size: .85rem; }
  .topbar .pill:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
  .js .menu-toggle { width: 38px; height: 38px; }
  .topbar.is-hidden { transform: translateY(-100%); }

  /* Сетка: две колонки — линии по краям и по центру, совпадают с колонками подвала */
  .grid-lines, .footer-lines { grid-template-columns: repeat(2, 1fr); }
  .grid-lines i:nth-child(n+3), .footer-lines i:nth-child(n+3) { display: none; }
  .grid-lines i:nth-child(2), .footer-lines i:nth-child(2) { border-right: 1px solid rgb(255 255 255 / .055); }

  .page-hero { min-height: auto; padding-top: 5.6rem; gap: 2.4rem; }
  .lead { font-size: 1rem; }

  /* Подвал: две колонки по линиям сетки — разделы слева, услуги справа, связь под разделами */
  .footer { --cols: 2; --cell: .8rem; padding-top: 5.5rem; }
  .footer-top { row-gap: 2.2rem; }
  .footer-cta { padding: 1.5rem; }
  .footer-contact a[href^="tel:"] { font-size: .9rem; }
  .wordmark { padding-top: 1.5rem; }
  .wordmark > svg { margin-top: .8rem; }
  .footer-bottom { letter-spacing: .06em; }
  .footer-bottom > :nth-child(2) { grid-column: 2; grid-row: 1; }
  .footer-bottom > :nth-child(3) { grid-column: 1; grid-row: 2; }
  .footer-bottom > :nth-child(4) { grid-column: 2; grid-row: 2; }

  /* Очень узкие экраны (320–400 px): логотип, кнопка и меню помещаются в одну строку */
  @media (max-width: 400px) {
    .topbar { gap: .5rem; }
    .topbar .pill { padding: 0 .75rem; font-size: .78rem; }
  }

  /* Чат: круглая кнопка без подписи, окно на всю ширину */
  .chat-launch { right: 1rem; bottom: 1rem; width: 48px; padding: 0; justify-content: center; }
  .chat-launch > span:last-child { display: none; }
  .chat-dialog { inset: auto .75rem 4.6rem; width: auto; }
}
/* Картинка на своей странице из кабинета */
.page-figure { margin: 0; display: grid; gap: .8rem; }
.page-figure img { width: 100%; height: auto; border-radius: 22px; }
.page-figure figcaption { font-size: .85rem; opacity: .62; }
