/* ПРОТОТИП новой главной OwnCommerce, версия 2. Подключается после site.css.
   Цвета — только существующие переменные site.css: --bg, --bg2, --panel, --panel2, --line, --text, --muted, --accent,
   --green, --green2, --blue, --on-green, --focus. Зелёный — платформа и главные действия, синий (он уже есть в палитре
   сайта) — второе направление, индивидуальная разработка. Новых цветов нет. Без градиентов, свечения и анимаций:
   выразительность — через композицию, крупную типографику, схемы и чередование фонов. Шрифт Inter — локальный (OFL). */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/inter-Bold.woff2") format("woff2"); }

:root, [data-theme="dark"] { --h-shadow: 0 1px 0 rgba(255, 255, 255, .035) inset, 0 24px 48px -28px rgba(0, 0, 0, .75); --h-shadow-sm: 0 10px 24px -18px rgba(0, 0, 0, .8); }
[data-theme="light"] { --h-shadow: 0 1px 2px rgba(11, 26, 32, .06), 0 24px 48px -30px rgba(11, 26, 32, .22); --h-shadow-sm: 0 1px 2px rgba(11, 26, 32, .06), 0 10px 24px -18px rgba(11, 26, 32, .18); }

body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Georgian", Arial, sans-serif;
  font-size: 1.0625rem; font-feature-settings: "cv11", "ss03"; -webkit-font-smoothing: antialiased; letter-spacing: -.006em; }
h1, h2, h3 { letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.wrap { width: min(1200px, 100% - 48px); }
.h-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.h-anchor { position: relative; top: -90px; display: block; }

/* кнопки: плоский фирменный зелёный, ровные размеры */
.btn { border-radius: 12px; font-weight: 600; min-height: 48px; transition: background-color .15s, border-color .15s, color .15s; }
.btn.primary { background: var(--green); color: var(--on-green); }
.btn.primary:hover { filter: none; background: var(--green2); }
.btn.secondary { background: transparent; border-color: var(--line); color: var(--text); }
.btn.secondary:hover { border-color: var(--text); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.h-btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.04rem; }

/* ------------------------------------------------------------------ шапка: язык и тема — в составе меню */
.navlinks { align-items: center; gap: 22px; }
.navlinks a { font-weight: 500; }
.nav-tools { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
/* меню-кнопка уже с 1180 px (на планшете ссылки в одну строку не помещаются); на планшете в шапке остаётся «Обсудить проект» */
@media (min-width: 561px) and (max-width: 1180px) { .nav-cta { display: inline-flex; } }
@media (max-width: 1180px) {
  .menu { display: inline-flex; }
  .navlinks { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); }
  .navlinks.open { display: flex; }
  .navlinks a { border-bottom: 1px solid var(--line); }
  .navright, .navlinks + .navright { margin-left: auto; }
  .navlinks { align-items: stretch; padding: 8px 20px 20px; box-shadow: var(--h-shadow); max-height: calc(100vh - 64px); overflow-y: auto; }
  .navlinks a { padding: 16px 0; font-size: 1.12rem; font-weight: 600; color: var(--text); }
  .nav-tools { margin: 16px 0 0; gap: 10px; }
  .nav-tools .lang { flex: 1; max-width: none; height: 50px; font-size: 1rem; }
  .nav-tools .theme-toggle { height: 50px; padding: 0 16px; }
  .nav-tools #themeText { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* ------------------------------------------------------------------ общие элементы секций */
.h-sec { padding: 120px 0; }
.h-alt { background: var(--bg2); border-block: 1px solid var(--line); }
.h-head { margin-bottom: 56px; }
.h-head h2, .h-faq h2, .h-final h2 {
  font-size: clamp(2.05rem, 3.5vw, 3rem); line-height: 1.07; margin: 0; max-width: 20ch; }
.h-head-center { text-align: center; }
.h-head-center h2 { margin-inline: auto; }
.h-head-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: end; }
.h-head-split > p { margin: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.6; max-width: 46ch; }
.h-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: .82rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.h-kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.h-head-center .h-kicker::after { content: ""; width: 22px; height: 2px; background: currentColor; }
#development .h-kicker { color: var(--blue); }

.h-ico { width: 46px; height: 46px; border-radius: 13px; display: inline-grid; place-items: center; flex: none;
  background: var(--panel2); border: 1px solid var(--line); color: var(--accent); }
.h-ico .ic { width: 22px; height: 22px; }

.h-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.h-tags li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; background: var(--bg); }

/* ------------------------------------------------------------------ 1. первый экран */
.h-hero { padding: 80px 0 112px; }
.h-hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.15rem); line-height: 1.03; letter-spacing: -.045em; margin: 0 0 26px; max-width: 13ch; }

/* ------------------------------------------------------------------ 2. два направления */
.h-dirs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0; align-items: stretch; }
.h-dir { display: flex; flex-direction: column; gap: 20px; padding: 44px; border-radius: 26px; background: var(--panel); border: 1px solid var(--line);
  border-top: 4px solid var(--green); box-shadow: var(--h-shadow); min-width: 0; }
.h-dir-b { border-top-color: var(--blue); }
.h-dir-kind { display: flex; align-items: center; gap: 14px; margin: 0; font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.h-dir-b .h-ico { color: var(--blue); }
.h-dir h3 { margin: 0; font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1.1; }
.h-dir-text { margin: 0; color: var(--muted); font-size: 1.06rem; line-height: 1.6; }
.h-fit { margin: 0; padding: 16px 18px; border-radius: 14px; background: var(--panel2); border-left: 3px solid var(--green); line-height: 1.55; }
.h-dir-b .h-fit { border-left-color: var(--blue); }
.h-fit b { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.h-dir .btn { margin-top: auto; align-self: flex-start; }
.h-or { display: grid; place-items: center; width: 64px; position: relative; }
.h-or::before { content: ""; position: absolute; top: 12%; bottom: 12%; left: 50%; width: 1px; background: var(--line); }
.h-or span { position: relative; padding: 8px 10px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--muted); }

/* ------------------------------------------------------------------ сценарии клиента */
.h-hint { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; color: var(--text); font-weight: 600; font-size: .98rem; }
.h-hint .ic { color: var(--accent); margin-top: 2px; }
.h-tasks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.h-task { display: flex; flex-direction: column; gap: 12px; padding: 28px; min-height: 270px; border-radius: 22px; background: var(--panel);
  border: 1px solid var(--line); box-shadow: var(--h-shadow-sm); color: var(--text); text-decoration: none; transition: border-color .15s; min-width: 0; }
.h-task:hover { border-color: var(--accent); }
.h-task-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.h-task-tag { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--accent); }
.h-task[data-topic="custom"] .h-task-tag, .h-task[data-topic="custom"] .h-ico { color: var(--blue); }
.h-task[data-topic="custom"]:hover { border-color: var(--blue); }
.h-task h3 { margin: 0; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.02em; }
.h-task p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.h-task-go { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 600; font-size: .96rem; }
.h-go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background-color .15s, color .15s, border-color .15s; }
.h-task:hover .h-go { background: var(--green); border-color: var(--green); color: var(--on-green); }
.h-task-open { border: 2px solid var(--accent); background: var(--panel2); }
.h-task-open .h-task-tag { background: var(--panel); }
.h-task-btn { margin-top: auto; align-self: stretch; }

/* ------------------------------------------------------------------ 10. вопросы */
.h-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.h-faq-head { position: sticky; top: 96px; }
.h-faq-head > p:not(.h-kicker) { color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin: 20px 0 24px; max-width: 34ch; }
.h-faq .faq details { padding: 0 24px; margin-bottom: 12px; border-radius: 16px; box-shadow: var(--h-shadow-sm); }
.h-faq .faq summary { padding: 22px 0; font-size: 1.06rem; font-weight: 600; }
.h-faq .faq details p { margin: 0 0 22px; line-height: 1.65; }

/* ------------------------------------------------------------------ 11. финальный призыв и короткая заявка */
.h-final { background: var(--bg2); border-top: 1px solid var(--line); }
.h-final-box { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.h-final-copy > p:not(.h-kicker) { color: var(--muted); font-size: 1.1rem; line-height: 1.6; margin: 22px 0 0; max-width: 44ch; }
.h-form { padding: 26px 28px; gap: 14px; border-radius: 26px; box-shadow: var(--h-shadow); }
.h-form-step { margin: 0; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.h-form .field input, .h-form .field textarea { min-height: 46px; border-radius: 12px; font-size: 1rem; }
.h-form .field textarea { min-height: 70px; }
.h-form .field label { font-weight: 600; font-size: .92rem; }
.h-form .opt { color: var(--muted); font-weight: 400; }
.h-topics { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.h-topics legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: .88rem; }
.h-topics label { position: relative; display: flex; cursor: pointer; min-width: 0; }
.h-topics input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.h-topics label > span { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); font-size: .86rem; line-height: 1.25; font-weight: 600; color: var(--muted); transition: border-color .15s; }
.h-topics label > span .ic { color: var(--muted); width: 17px; height: 17px; flex: none; }
.h-topics label:hover > span { border-color: var(--muted); }
.h-topics input:checked + span { border: 2px solid var(--accent); padding: 9px 11px; color: var(--text); background: var(--panel2); }
.h-topics input:checked + span .ic { color: var(--accent); }
.h-topics input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.h-form .form-actions .btn { width: 100%; }
.h-form .full { grid-column: 1 / -1; }
.h-form-next { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.h-client { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.h-client > p { display: flex; align-items: center; gap: 14px; margin: 0; }
.h-client a { color: var(--accent); font-weight: 600; }
.h-support summary { cursor: pointer; font-weight: 600; color: var(--muted); list-style: none; }
.h-support summary::-webkit-details-marker { display: none; }
.h-support summary::after { content: " +"; color: var(--accent); }
.h-support[open] { flex-basis: 100%; }
.h-support[open] summary::after { content: " −"; }
.h-support .contact-form { margin-top: 18px; }

.h-foot-desc { margin: 6px 0 0; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* кнопка-панель для телефона */
.h-mbar { display: none; }

/* ------------------------------------------------------------------ планшет */
@media (max-width: 1100px) {
  .h-sec { padding: 96px 0; }
  .h-hero { padding: 56px 0 88px; }
  .h-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .h-hero h1 { max-width: 15ch; }
  .h-dirs { grid-template-columns: minmax(0, 1fr); }
  .h-or { width: auto; height: 56px; }
  .h-or::before { top: 50%; bottom: auto; left: 12%; right: 12%; width: auto; height: 1px; }
  .h-tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-head-split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .h-faq, .h-final-box { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .h-faq-head { position: static; }
}

/* ------------------------------------------------------------------ телефон: своя вертикальная композиция */
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .wrap { width: calc(100% - 40px); }
  .h-sec { padding: 72px 0; }
  .h-head { margin-bottom: 32px; }
  .h-head h2, .h-faq h2, .h-final h2 { font-size: clamp(1.75rem, 7.4vw, 2.1rem); line-height: 1.12; }
  .h-head-split > p, .h-final-copy > p:not(.h-kicker) { font-size: 1.02rem; }
  .h-kicker { font-size: .78rem; margin-bottom: 14px; }

  .h-hero { padding: 32px 0 64px; }
  .h-hero-grid { gap: 36px; }
  .h-desc { font-size: .72rem; letter-spacing: .08em; padding: 0; border: 0; background: none; margin-bottom: 18px; align-items: flex-start; }
  .h-hero h1 { font-size: clamp(2.15rem, 10vw, 2.6rem); line-height: 1.06; margin-bottom: 18px; }
  .h-lead { font-size: 1.06rem; }
  .h-actions { margin-top: 28px; gap: 18px; }
  .h-actions .btn { width: 100%; }
  .h-textlink { font-size: 1rem; }

  .h-dir { padding: 26px 22px; gap: 16px; border-radius: 22px; }
  .h-dir h3 { font-size: 1.65rem; }
  .h-dir-text { font-size: 1rem; }
  .h-dir .btn { align-self: stretch; }
  .h-tags li { font-size: .86rem; padding: 6px 11px; }
  .h-or { height: 48px; }

  .h-tasks { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .h-task { min-height: 0; padding: 20px; border-radius: 18px; gap: 8px; }
  .h-task-top { margin-bottom: 4px; }
  .h-task .h-ico { width: 42px; height: 42px; }
  .h-task h3 { font-size: 1.16rem; }
  .h-task p { font-size: .98rem; }
  .h-task-go { padding-top: 12px; margin-top: 6px; }
  .h-task-open { margin-top: 6px; }

  .h-faq .faq details { padding: 0 18px; }
  .h-faq .faq summary { padding: 18px 0; font-size: 1rem; }
  .h-form { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; border-radius: 22px; gap: 16px; }
  .h-topics { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .h-topics label > span { padding: 11px 14px; font-size: .93rem; }
  .h-topics input:checked + span { padding: 10px 13px; }
  .h-client { margin-top: 36px; }

  /* закреплённая кнопка: слева от круглой кнопки чата, чтобы не накрывать её */
.h-mbar { display: block; position: fixed; left: 12px; right: 84px; bottom: 12px; z-index: 60; transform: translateY(160%); transition: transform .2s; }
  .h-mbar.show { transform: none; }
  .h-mbar .btn { width: 100%; min-height: 54px; box-shadow: var(--h-shadow); }
}
@media (prefers-reduced-motion: reduce) { .h-mbar { transition: none; } }
@media (max-width: 560px) { .nav-login, .menu { width: 44px; height: 44px; min-height: 44px; } }

/* ================================================================== ВЕРСИЯ 3: первый экран и «Как мы работаем»
   Справа — условная система управления бизнесом: аналитика, показатели, учёт, процесс, сводка.
   Всё нарисовано вёрсткой и SVG на переменных темы; цифры демонстрационные, это подписано под рамкой. */
.btn .ic { width: 18px; height: 18px; margin-left: 8px; }
.h-hero { padding: 72px 0 64px; }
.h-hero h1 { font-size: clamp(2.5rem, 4.1vw, 3.85rem); max-width: 14ch; }

/* «Как мы работаем»: одна линия из пяти этапов */
.h-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.h-path li { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.h-path li:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 72px; right: -14px; height: 2px; background: var(--line); }
.h-path li:not(:last-child)::before { content: ""; position: absolute; top: 24px; right: -12px; width: 8px; height: 8px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); }
.h-path-node { width: 58px; height: 58px; margin-bottom: 12px; border-radius: 17px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); color: var(--accent); box-shadow: var(--h-shadow-sm); }
.h-path li:first-child .h-path-node { background: var(--green); border-color: var(--green); color: var(--on-green); }
.h-path-node .ic { width: 25px; height: 25px; }
.h-path-n { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.h-path b { font-size: 1.16rem; line-height: 1.25; letter-spacing: -.015em; }
.h-path-x { color: var(--muted); font-size: .96rem; line-height: 1.55; }

@media (max-width: 1100px) {
  .h-path { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 760px; }
  .h-path li { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 20px; row-gap: 4px; padding-bottom: 28px; }
  .h-path-node { grid-row: 1 / span 3; margin: 0; }
  .h-path li:not(:last-child)::after { top: 66px; bottom: 6px; left: 28px; right: auto; width: 2px; height: auto; }
  .h-path li:not(:last-child)::before { display: none; }
}
@media (max-width: 720px) {
  .h-hero { padding: 28px 0 48px; }
  .h-hero h1 { font-size: clamp(2.1rem, 9.6vw, 2.5rem); }
  .h-path li { grid-template-columns: 50px minmax(0, 1fr); column-gap: 16px; }
  .h-path-node { width: 50px; height: 50px; border-radius: 15px; }
  .h-path li:not(:last-child)::after { top: 58px; left: 24px; }
  .h-path b { font-size: 1.08rem; }
}

/* ================================================================== ВЕРСИЯ 4: панель справа — читаемее и спокойнее,
   график с двумя линиями, шкалой и периодами; таблица крупнее; блок «Единая система» — связь CRM, учёта, аналитики, операций */
.h-dash { padding: 16px; }
.h-tab { appearance: none; border: 0; background: none; font: inherit; font-size: .8rem; font-weight: 600; color: var(--muted); padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.h-tab:hover { color: var(--text); }
.h-tab.on { background: var(--green); color: var(--on-green); }
.h-tab:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }

/* Первый экран, версия 4: текст владельца. «Ваш бизнес.» — белым, вторая строка — переливом цветов,
   тем же классом .gradient, что на нынешнем сайте (зелёный → синий в тёмной теме, тёмно-зелёный → синий в светлой). */
.h-desc-g { padding: 0; border: 0; background: none; color: var(--accent); font-size: .86rem; letter-spacing: .08em; line-height: 1.5; }
/* версия 4, правки после просмотра: таблица не выходит за карточку, схема «Единая система» — в две колонки */
.h-tbl { font-size: .9rem; }

/* ================================================================== ВЕРСИЯ 5: панель справа уже и ниже — вровень с текстом слева.
   «Единая система» — рядом с таблицей, «Выполнение заказа» — узкой полосой внизу; показатели компактнее. */
.h-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; }
.h-tab { font-size: .76rem; padding: 4px 10px; }
.h-tab { font-size: .72rem; padding: 4px 8px; }

/* ================================================================== ВЕРСИЯ 6: фирменный логотип в шапке, панель ещё ниже */
.brand .h-brand-logo { width: auto; height: 44px; }
@media (max-width: 560px) { .brand .h-brand-logo { height: 36px; } }

/* ===== Premium Glass и экраны, утверждённые владельцем 07.11.2026 (прототип home-glass.css) ===== *//* «Premium Glass» — общий стиль карточек сайта (утверждён владельцем 07.11.2026 на экране «Два направления»).
   Тонкое стекло: полупрозрачная поверхность, граница 1 px, отражение света по кромке, мягкая тень.
   Цвет — только тонкая линия сверху и детали: --gl-accent (зелёный — платформа, синий — разработка).
   Фон секций ровный, без облаков и свечения. Первый экран (панель .h-dash) — утверждён отдельно, его не трогаем. */
.h-glass, .h-dir, .h-task, .h-faq .faq details, .h-form {
  --gl-accent: var(--green);
  position: relative; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(165deg, rgba(255, 255, 255, .045) 0%, rgba(255, 255, 255, .012) 45%, rgba(255, 255, 255, .025) 100%),
    color-mix(in srgb, var(--panel) 94%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 0 0 1px rgba(255, 255, 255, .02),
    0 1px 2px rgba(0, 0, 0, .25), 0 28px 56px -34px rgba(0, 0, 0, .8);
  transition: border-color .25s, box-shadow .25s;
}
.h-dir-b, .h-task[data-topic="custom"] { --gl-accent: var(--blue); }
/* отражение света по кромке */
.h-glass::before, .h-dir::before, .h-task::before, .h-form::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .06) 28%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .07) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* тонкая линия сверху цветом направления — без свечения */
.h-glass::after, .h-dir::after, .h-task::after, .h-form::after {
  content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 2px; border-radius: 0 0 2px 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--gl-accent) 18%, var(--gl-accent) 82%, transparent);
}
.h-dir:hover, .h-task:hover, .h-faq .faq details:hover { border-color: color-mix(in srgb, var(--gl-accent) 32%, rgba(255, 255, 255, .08)); }
/* у карточек прежняя толстая цветная кромка сверху больше не нужна — её заменяет тонкая линия */
.h-dir { border-top-width: 1px; overflow: hidden; }
.h-task-open { border-width: 1px; border-color: color-mix(in srgb, var(--green) 40%, rgba(255, 255, 255, .08)); }
.h-faq .faq details { border-radius: 16px; }

/* детали внутри карточек — нейтральное стекло */
.h-dir .h-tags li { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .09); }
.h-fit { background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); }
.h-dir .h-ico, .h-task .h-ico { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .10); }
.h-task-tag { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .10); }
.h-go { border-color: rgba(255, 255, 255, .12); }
.h-task-go { border-top-color: rgba(255, 255, 255, .07); }
.h-or::before { background: rgba(255, 255, 255, .07); }
.h-or span { background: var(--bg2); border-color: rgba(255, 255, 255, .08); }

/* светлая тема: «молочное» стекло, белое и чистое */
[data-theme="light"] :is(.h-glass, .h-dir, .h-task, .h-faq .faq details, .h-form) {
  border-color: rgba(11, 26, 32, .06);
  background: linear-gradient(165deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .82) 55%, rgba(255, 255, 255, .9) 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, .7), 0 1px 2px rgba(11, 26, 32, .05), 0 26px 52px -34px rgba(11, 26, 32, .22);
}
[data-theme="light"] :is(.h-glass, .h-dir, .h-task, .h-form)::before {
  background: linear-gradient(140deg, #fff 0%, rgba(255, 255, 255, .5) 30%, rgba(11, 26, 32, 0) 55%, rgba(11, 26, 32, .05) 100%);
}
[data-theme="light"] :is(.h-dir, .h-task, .h-faq .faq details):hover { border-color: color-mix(in srgb, var(--gl-accent) 30%, rgba(11, 26, 32, .06)); }
[data-theme="light"] .h-task-open { border-color: color-mix(in srgb, var(--accent) 40%, rgba(11, 26, 32, .06)); }
[data-theme="light"] :is(.h-dir .h-tags li, .h-dir .h-ico, .h-task .h-ico, .h-task-tag) { background: #fff; border-color: rgba(11, 26, 32, .08); }
[data-theme="light"] .h-fit { background: color-mix(in srgb, var(--bg2) 45%, #fff); box-shadow: none; }
[data-theme="light"] .h-go { border-color: rgba(11, 26, 32, .10); }
[data-theme="light"] .h-task-go { border-top-color: rgba(11, 26, 32, .07); }
[data-theme="light"] .h-or::before { background: rgba(11, 26, 32, .08); }
[data-theme="light"] .h-or span { border-color: rgba(11, 26, 32, .08); }

/* телефон: больше воздуха между карточками направлений, «или» маленькое и спокойное */
@media (max-width: 1100px) {
  .h-or { height: 72px; }
  .h-or::before { left: 30%; right: 30%; }
  .h-or span { padding: 2px 9px; font-size: .7rem; font-weight: 500; color: var(--muted); opacity: .8; }
}
@media (prefers-reduced-motion: reduce) { .h-dir, .h-task, .h-faq .faq details { transition: none; } }

/* Кнопки «Подробнее…» в карточках направлений (решение владельца 07.11.2026):
   в покое — подсвечены контуром и цветом своего направления (видно, что это кнопка),
   при наведении, фокусе и нажатии — загораются заливкой. На телефоне наведения нет:
   кнопка загорается, когда карточка доходит до середины экрана (класс .is-live ставит home-proto.js). */
.btn.h-soft { --sb: var(--green); --sb-ink: var(--on-green); color: var(--accent); background: color-mix(in srgb, var(--sb) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--sb) 55%, transparent); transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn.h-soft-b { --sb: var(--blue); --sb-ink: #071116; color: var(--blue); }
[data-theme="light"] .btn.h-soft-b { --sb-ink: #fff; }
.btn.h-soft .ic { transition: transform .2s; }
.btn.h-soft:hover, .btn.h-soft:focus-visible, .btn.h-soft:active { background: var(--sb); border-color: var(--sb); color: var(--sb-ink); }
.btn.h-soft:hover .ic, .btn.h-soft:focus-visible .ic { transform: translateX(3px); }
@media (hover: none) {
  .h-dir.is-live .btn.h-soft { background: var(--sb); border-color: var(--sb); color: var(--sb-ink); }
}

/* Экран 3 «С какой задачей вы пришли?» (решение владельца 07.11.2026): кнопки подсвечены, загораются при наведении.
   «Перейти к заявке» и круг со стрелкой — цветом направления карточки; заливка — при наведении на карточку,
   на телефоне — когда карточка в середине экрана (.is-live). «Описать задачу» — та же кнопка .h-soft, что на экране 2. */
.h-task { --ta: var(--accent); --ta-fill: var(--green); --ta-ink: var(--on-green); }
.h-task[data-topic="custom"] { --ta: var(--blue); --ta-fill: var(--blue); --ta-ink: #071116; }
[data-theme="light"] .h-task[data-topic="custom"] { --ta-ink: #fff; }
.h-task-go { color: var(--ta); }
.h-task .h-go { color: var(--ta); border-color: color-mix(in srgb, var(--ta-fill) 55%, transparent); background: color-mix(in srgb, var(--ta-fill) 8%, transparent); }
.h-task:hover .h-go, .h-task:focus-visible .h-go { background: var(--ta-fill); border-color: var(--ta-fill); color: var(--ta-ink); }
.h-task .h-go .ic { transition: transform .2s; }
.h-task:hover .h-go .ic { transform: translateX(2px); }
.h-task-open .btn.h-soft { align-self: stretch; }
.h-task-open:hover .btn.h-soft, .h-task-open:focus-visible .btn.h-soft { background: var(--sb); border-color: var(--sb); color: var(--sb-ink); }
@media (hover: none) {
  .h-task.is-live .h-go { background: var(--ta-fill); border-color: var(--ta-fill); color: var(--ta-ink); }
  .h-task-open.is-live .btn.h-soft { background: var(--sb); border-color: var(--sb); color: var(--sb-ink); }
}

/* Тема заявки над формой: видно, с какой кнопки или карточки человек пришёл */
.h-form-subj:not([hidden]) { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; font-size: .92rem;
  background: color-mix(in srgb, var(--green) 8%, transparent); border: 1px solid color-mix(in srgb, var(--green) 30%, transparent); }
.h-form-subj .ic { width: 18px; height: 18px; color: var(--accent); }
.h-form-subj span { color: var(--muted); }

/* Экран 4 «Платформа» одной полосой (07.11): без демо-витрины, только что входит в систему */
.h-band { padding: 0 0 96px; margin-top: -48px; }
.h-band-in { display: flex; align-items: center; gap: 36px; padding: 22px 32px; border-radius: 20px; }
.h-band-t { margin: 0; display: grid; gap: 2px; flex: none; padding-right: 32px; border-right: 1px solid var(--line); }
.h-band-t b { font-size: 1.02rem; letter-spacing: -.01em; }
.h-band-t span { color: var(--muted); font-size: .88rem; }
.h-band-list { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; justify-content: space-between; gap: 18px; }
.h-band-list li { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.h-band-list .ic { width: 20px; height: 20px; color: var(--accent); flex: none; }
@media (max-width: 1180px) {
  .h-band-in { flex-direction: column; align-items: stretch; gap: 18px; }
  .h-band-t { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .h-band-list { flex-wrap: wrap; justify-content: flex-start; column-gap: 28px; row-gap: 14px; }
}
@media (max-width: 560px) {
  .h-band { padding: 0 0 56px; margin-top: -32px; }
  .h-band-in { padding: 20px; }
  .h-band-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .h-band-list li { min-width: 0; font-size: .95rem; }
  .h-band-list li:first-child { grid-column: 1 / -1; }
}

/* Экран 5 «Разработка» — что реализуем (07.11): 8 коротких стеклянных плиток + строка «Не нашли свою задачу?».
   Без повторов CRM/сайтов — они уже есть выше. */
.h-can, .h-can-foot { --gl-accent: var(--blue); }
.h-cans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.h-can { display: grid; align-content: start; gap: 6px; padding: 24px 22px 22px; border-radius: 18px; }
.h-can .h-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 10px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .10); color: var(--blue); }
.h-can .h-ico .ic { width: 20px; height: 20px; }
.h-can b { font-size: 1.04rem; letter-spacing: -.01em; }
.h-can-x { color: var(--muted); font-size: .93rem; line-height: 1.45; }
.h-can-foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 26px; border-radius: 18px; }
.h-can-foot p { margin: 0; display: grid; gap: 3px; }
.h-can-foot b { font-size: 1.02rem; }
.h-can-foot p span { color: var(--muted); font-size: .94rem; }
.h-can-foot .btn { flex: none; }
[data-theme="light"] .h-can .h-ico { background: #fff; border-color: rgba(11, 26, 32, .08); }
@media (max-width: 1100px) { .h-cans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .h-cans { grid-template-columns: 1fr; gap: 10px; }
  .h-can { grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; padding: 16px 18px; }
  .h-can .h-ico { grid-row: span 2; margin: 0; }
  .h-can-foot { flex-direction: column; align-items: stretch; padding: 20px; }
  .h-can-foot .btn { justify-content: center; }
}
/* плитки — ссылки на заявку: в покое тихие, при наведении (на телефоне — в середине экрана) загораются синим и появляется стрелка */
.h-can { position: relative; color: inherit; text-decoration: none; height: 100%; transition: border-color .25s, transform .25s, box-shadow .25s; }
.h-can .h-ico { transition: background .25s, color .25s, border-color .25s; }
.h-can-go { position: absolute; top: 22px; right: 20px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, var(--blue) 45%, transparent); color: var(--blue); opacity: .45; transition: opacity .25s, background .25s, color .25s; }
.h-can-go .ic { width: 15px; height: 15px; }
.h-can:is(:hover, :focus-visible) { border-color: color-mix(in srgb, var(--blue) 55%, transparent); transform: translateY(-2px); }
.h-can:is(:hover, :focus-visible) .h-ico { background: color-mix(in srgb, var(--blue) 16%, transparent); border-color: color-mix(in srgb, var(--blue) 45%, transparent); }
.h-can:is(:hover, :focus-visible) .h-can-go { opacity: 1; background: var(--blue); color: #fff; }
.h-can:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (hover: none) {
  .h-can.is-live { border-color: color-mix(in srgb, var(--blue) 55%, transparent); }
  .h-can.is-live .h-can-go { opacity: 1; background: var(--blue); color: #fff; }
  .h-can-foot.is-live .h-soft { background: var(--sb); color: var(--sb-ink); border-color: var(--sb); }
}
@media (max-width: 560px) { .h-can-go { top: 50%; margin-top: -15px; right: 16px; } .h-can { padding-right: 58px; } }

/* «Соединим всё в одну систему» — длинная тонкая полоса под 8 плитками (07.11): заменила отдельный экран «Интеграции» */
.h-unite { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 32px; padding: 18px 22px 18px 28px; }
.h-unite-t { margin: 0; display: grid; gap: 3px; }
.h-unite-t b { font-size: 1.08rem; letter-spacing: -.01em; }
.h-unite-t span { color: var(--muted); font-size: .94rem; }
.h-unite-flow { position: relative; display: flex; align-items: center; gap: 8px; }
.h-unite-dot { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--panel) 90%, transparent); border: 1px solid color-mix(in srgb, var(--blue) 35%, var(--line)); color: var(--blue); }
.h-unite-dot .ic { width: 16px; height: 16px; }
.h-unite-line { width: 44px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--accent)); }
.h-unite-core { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  position: relative; z-index: 1; background: color-mix(in srgb, var(--accent) 14%, var(--panel)); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); color: var(--accent); white-space: nowrap; }
.h-unite-core .ic { width: 17px; height: 17px; }
.h-unite-flow::before { content: ""; position: absolute; left: 17px; right: 0; top: 50%; height: 1px; background: color-mix(in srgb, var(--blue) 30%, transparent); z-index: 0; }
@media (max-width: 1240px) { .h-unite-dot:nth-child(n+4) { display: none; } }
@media (max-width: 1100px) {
  .h-unite { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .h-unite-dot:nth-child(n+4) { display: grid; }
  .h-unite .btn { justify-self: start; }
}
@media (max-width: 560px) {
  .h-unite-dot { width: 30px; height: 30px; } .h-unite-dot .ic { width: 14px; height: 14px; }
  .h-unite-line { width: 18px; }
  .h-unite-flow { gap: 6px; min-width: 0; }
  .h-unite-dot:nth-child(5) { display: none; }
  .h-unite .btn { justify-self: stretch; justify-content: center; }
}
@media (max-width: 380px) { .h-unite-dot:nth-child(4) { display: none; } }

/* «Принципы работы» одной тонкой полосой под этапами (07.11): заменила отдельный экран «Принципы» */
.h-princ { margin-top: 56px; display: flex; align-items: center; gap: 32px; padding: 20px 28px; border-radius: 18px; }
.h-princ-t { margin: 0; display: grid; gap: 2px; flex: none; padding-right: 28px; border-right: 1px solid var(--line); }
.h-princ-t b { font-size: 1.02rem; letter-spacing: -.01em; }
.h-princ-t span { color: var(--muted); font-size: .88rem; }
.h-princ-list { list-style: none; margin: 0; padding: 0; flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.h-princ-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .93rem; line-height: 1.3; }
.h-princ-list .ic { width: 19px; height: 19px; color: var(--accent); flex: none; }
@media (max-width: 1180px) {
  .h-princ { flex-direction: column; align-items: stretch; gap: 16px; }
  .h-princ-t { padding: 0 0 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .h-princ-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
}
@media (max-width: 560px) {
  .h-princ { margin-top: 36px; padding: 20px; }
  .h-princ-list { grid-template-columns: 1fr; gap: 12px; }
}

/* Форма заявки (07.11): 4 поля как в анкете + подпись про кабинет; макет экрана «Готово» после отправки */
.h-form-next { display: flex; align-items: flex-start; gap: 10px; }
.h-form-next .ic { width: 17px; height: 17px; margin-top: 2px; color: var(--accent); flex: none; }
.h-done[hidden] { display: none !important; }
.h-done { display: block; text-align: left; }
.h-done-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 20px;
  background: color-mix(in srgb, var(--accent) 16%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); color: var(--accent); }
.h-done-ic .ic { width: 26px; height: 26px; }
.h-done h3 { margin: 0 0 12px; font-size: 1.45rem; line-height: 1.25; letter-spacing: -.015em; }
.h-done > p { margin: 0; color: var(--muted); line-height: 1.6; }
.h-done > p b { color: var(--text); }
.h-done-list { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.h-done-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .96rem; }
.h-done-list .ic { width: 18px; height: 18px; color: var(--accent); flex: none; }
.h-done-act { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .h-done-act .btn { width: 100%; justify-content: center; } .h-done h3 { font-size: 1.25rem; } }
#contactForm[hidden] { display: none !important; }
.h-done-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: .82rem; font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent); }
@media (min-width: 1101px) { .h-final-box > .h-done { grid-column: 2; grid-row: 1; } }

/* 1.42: длинные слова в других языках (греческий, немецкий…) — подпись «Выполнение заказа» над шагами, шаги на всю ширину карточки */
.h-dash-grid .h-c-flow { display: block; }
.h-band-list { flex-wrap: wrap; row-gap: 12px; }
.h-band-in { min-width: 0; }

/* 1.43: без размытия под стеклом (подвисало при наведении); на компьютере zoom .82; логотип со свечением; появление при прокрутке */
.h-hero-brand { position: relative; display: inline-block; margin: 0 0 30px; isolation: isolate;
  animation: hBrandIn 1.1s cubic-bezier(.2,.7,.2,1) both; }
.h-hero-brand::before { content: ""; position: absolute; z-index: -1; inset: -38% -14% -42% -10%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent 72%);
  pointer-events: none; animation: hGlow 6s ease-in-out infinite alternate; }
.h-hero-logo { height: 108px; width: auto; display: block; filter: drop-shadow(0 10px 26px rgba(0,0,0,.35)); }
[data-theme="light"] .h-hero-brand::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent 72%); }
[data-theme="light"] .h-hero-logo { filter: drop-shadow(0 8px 18px rgba(20,60,10,.16)); }
@keyframes hBrandIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hGlow { from { opacity: .65; } to { opacity: 1; } }
@media (max-width: 720px) { .h-hero-logo { height: 76px; } .h-hero-brand { margin-bottom: 22px; } }
@media (max-width: 380px) { .h-hero-logo { height: 66px; } }
@media (prefers-reduced-motion: reduce) { .h-hero-brand, .h-hero-brand::before { animation: none; } }
@media (min-width: 1100px) { body { zoom: .82; } }
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }
/* 1.44 (владелец 07.11.2026): форма заявки короче; слева — карточка «Уже знаете, что хотите? Заполните анкету»; подвал колонками
   со слоганом; кнопки подсвечены всегда, а заливкой загораются при наведении (на телефоне — в середине экрана, .is-live). */
.h-ank { margin-top: 34px; max-width: 470px; padding: 24px 26px; border-radius: 20px; box-shadow: var(--h-shadow);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  background: linear-gradient(135deg, color-mix(in srgb, var(--green) 11%, var(--panel)), var(--panel)); }
.h-ank-top { display: flex; align-items: center; gap: 14px; }
.h-ank-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--accent); }
.h-ank-ic .ic { width: 22px; height: 22px; }
.h-ank h3 { margin: 0; font-size: 1.2rem; }
.h-final-copy .h-ank > p { margin: 12px 0 0; font-size: 1rem; line-height: 1.55; }
.h-ank-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.h-ank-list li { font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); }
.h-ank-list li::before { content: "✓ "; color: var(--accent); }
.h-ank .btn { margin-top: 18px; }
.h-footer { position: relative; overflow: hidden; padding-top: 56px; }
.h-footer::before { content: ""; position: absolute; inset: -40% 30% auto -10%; height: 420px; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--green) 12%, transparent), transparent 70%); }
.h-footer .wrap { position: relative; }
.h-foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 3fr); gap: 40px; }
.h-foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.h-footer .footer-logo { width: 230px; }
.h-foot-slogan { margin: 18px 0 0; font-size: 1.35rem; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; max-width: 380px; }
.h-foot-sub { margin: 8px 0 18px; color: var(--muted); }
.h-foot-mail { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px;
  color: var(--accent); font-weight: 700; text-decoration: none; transition: border-color .2s; }
.h-foot-mail:hover { border-color: var(--accent); }
.h-foot-mail .ic { width: 17px; height: 17px; }
.h-foot-col h4 { margin: 4px 0 16px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.h-foot-col .h-foot-h2 { margin-top: 26px; }
.h-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.h-foot-col a { color: var(--muted); text-decoration: none; font-weight: 600; }
.h-foot-col a:hover { color: var(--text); }
.h-foot-col small { display: block; margin-top: 3px; font-size: .76rem; color: var(--accent); font-weight: 600; }
.h-foot-lang { margin: 0; color: var(--muted); }
.h-footer .footer-bottom { margin-top: 34px; }
.h-footer .footer-bottom .h-foot-desc { margin: 0; font-size: .74rem; }
@media (max-width: 900px) {
  .h-foot-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .h-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .h-footer .footer-bottom { flex-direction: column; padding-bottom: 72px; }
}
@media (max-width: 720px) { .h-ank { margin-top: 24px; padding: 20px; } .h-ank .btn { width: 100%; justify-content: center; } }
/* Кнопки: в покое — мягкая подсветка (видно, что можно нажать), заливка — при наведении, фокусе, нажатии.
   «Обсудить проект» в шапке — всегда залит (владелец: «сверху активная кнопка пускай будет»). */
.btn.primary:not(.h-mbar .btn):not(dialog .btn):not(.nav-cta):not(.hx-actions .btn):not(.h-menu-hero .h-pr-acts .btn) { background: color-mix(in srgb, var(--green) 12%, transparent); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--green) 60%, transparent); transition: background-color .2s, color .2s, border-color .2s; }
.btn.primary:not(.h-mbar .btn):not(dialog .btn):not(.nav-cta):is(:hover, :focus-visible, :active, .is-live) { background: var(--green); border-color: var(--green); color: var(--on-green); }
.btn.primary .ic { transition: transform .2s; }
.btn.primary:hover .ic { transform: translateX(3px); }
/* «Что вам нужно?» — все три варианта подсвечены зелёным контуром, выбранный — ярче */
.h-topics label > span { border-color: color-mix(in srgb, var(--green) 45%, var(--line)); background: color-mix(in srgb, var(--green) 6%, var(--bg)); color: var(--text); }
.h-topics label > span .ic { color: var(--accent); }
.h-topics label:hover > span { border-color: var(--accent); background: color-mix(in srgb, var(--green) 12%, var(--bg)); }
.h-topics input:checked + span { background: color-mix(in srgb, var(--green) 16%, var(--panel2)); }
/* Шапка на всю ширину (владелец: «растянуть на 100 %, чтобы всё поместилось в строку»), «Наши проекты» — ссылка-плашка */
@media (min-width: 1181px) { .topbar .wrap.nav { width: calc(100% - 64px); max-width: 1760px; } }
.navlinks .nav-proj { color: var(--accent); }
.navlinks .nav-proj[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
/* Страница «Наши проекты» (projects.html) */
.h-pr-hero h1 { margin: 10px 0 0; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; }
.h-pr-lead { color: var(--muted); font-size: 1.1rem; line-height: 1.6; max-width: 60ch; margin: 18px 0 0; }
.h-pr-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.h-pr-card, .h-pr-demo { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; border: 1px solid var(--line);
  background: var(--panel); box-shadow: var(--h-shadow); transition: border-color .2s, transform .2s; min-width: 0; }
.h-pr-card:hover, .h-pr-demo:hover { border-color: color-mix(in srgb, var(--green) 55%, var(--line)); transform: translateY(-2px); }
.h-pr-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.h-pr-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--accent); }
.h-pr-ic .ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.h-pr-badge { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.h-pr-badge.b-live { color: var(--on-green); background: var(--green); border-color: var(--green); }
.h-pr-badge.b-demo { color: var(--blue); border-color: color-mix(in srgb, var(--blue) 55%, transparent); }
.h-pr-card h3, .h-pr-demo h3 { margin: 4px 0 0; font-size: 1.15rem; }
.h-pr-card p, .h-pr-demo p { margin: 0; color: var(--muted); line-height: 1.55; }
.h-pr-li { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; font-size: .92rem; }
.h-pr-li li { position: relative; padding-left: 22px; }
.h-pr-li li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.h-pr-more { border-style: dashed; border-color: color-mix(in srgb, var(--green) 45%, var(--line)); }
.h-pr-more .btn, .h-pr-demo .btn { margin-top: auto; align-self: flex-start; }
.h-pr-demos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.h-pr-demo .h-pr-badge { margin-top: auto; align-self: flex-start; }
.h-pr-note { margin: 22px 0 0; color: var(--muted); font-size: .92rem; }
.h-pr-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 30px 34px; border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--green) 35%, var(--line)); background: linear-gradient(120deg, color-mix(in srgb, var(--green) 10%, var(--panel)), var(--panel)); }
.h-pr-cta h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.h-pr-cta p { margin: 8px 0 0; color: var(--muted); }
.h-pr-acts { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1100px) { .h-pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .h-pr-demos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .h-pr-grid, .h-pr-demos { grid-template-columns: minmax(0, 1fr); } .h-pr-cta { padding: 22px; } .h-pr-acts, .h-pr-acts .btn { width: 100%; justify-content: center; } }
/* Пример панели: красная линия расходов, кнопки периода подсвечены (видно, что их можно нажать), цифры меняются плавно */
.h-line3 { fill: none; stroke: var(--err); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.h-tab { color: var(--accent); background: color-mix(in srgb, var(--green) 9%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 40%, transparent); transition: background-color .2s, color .2s; }
.h-tab:hover { color: var(--on-green); background: var(--green); }
#demo .h-head p { margin: 14px 0 0; color: var(--muted); }
/* 1.45: «Наши проекты» — кнопка к демо; под демо-магазинами — полоса «Спецпредложение для кафе, ресторанов и заведений»;
   страница menu.html. Значок: QR-код белый, глобус зелёный со свечением (владелец: «чтобы было понятно, о чём речь»). */
.h-pr-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.h-offer-wrap { margin-top: 26px; }
.h-offer { position: relative; overflow: hidden; display: flex; align-items: center; gap: 26px; padding: 24px 28px; border-radius: 24px;
  text-decoration: none; color: var(--text); isolation: isolate;
  border: 1px solid color-mix(in srgb, var(--green) 45%, var(--line));
  background: linear-gradient(110deg, color-mix(in srgb, var(--green) 16%, var(--panel)) 0%, var(--panel) 55%, color-mix(in srgb, var(--blue) 10%, var(--panel)) 100%);
  box-shadow: var(--h-shadow); transition: border-color .25s, transform .25s, box-shadow .25s; }
.h-offer::before { content: ""; position: absolute; z-index: -1; left: -60px; top: -80px; width: 320px; height: 260px; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--green) 30%, transparent), transparent 75%); }
.h-offer:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 0 0 1px color-mix(in srgb, var(--green) 35%, transparent); }
.h-offer-txt { display: grid; gap: 6px; flex: 1; min-width: 0; }
.h-offer-badge { justify-self: start; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--on-green); background: var(--green);
  padding: 4px 12px; border-radius: 999px; }
.h-offer-txt b { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.2; letter-spacing: -.01em; }
.h-offer-txt > span[data-i="qr.x"] { color: var(--muted); font-size: .96rem; line-height: 1.5; max-width: 70ch; }
.fl { width: 21px; height: 14px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 2px 6px rgba(0,0,0,.3); }
.h-offer-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; max-width: 760px; }
.h-offer .h-offer-go { flex: none; }
.h-offer:hover .btn.primary { background: var(--green); border-color: var(--green); color: var(--on-green); }
.qr-ico { width: 84px; height: 84px; flex: none; filter: drop-shadow(0 10px 22px rgba(0,0,0,.35)); }
.qr-ico .q-bg { fill: #0f1d24; stroke: color-mix(in srgb, #ffffff 14%, transparent); }
.qr-ico .q-code rect { fill: none; stroke: #f4f7f5; stroke-width: 2.6; }
.qr-ico .q-code rect.q-f { fill: #f4f7f5; stroke: none; }
.qr-ico .q-glow { fill: color-mix(in srgb, var(--green) 30%, transparent); }
.qr-ico .q-b { fill: #0b2a12; stroke: var(--green); stroke-width: 2; }
.qr-ico .q-g { fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; }
[data-theme="light"] .qr-ico .q-bg { fill: #10202a; }
.h-menu-hero { position: relative; overflow: hidden; }
.h-menu-hero::before { content: ""; position: absolute; inset: -20% 40% auto -15%; height: 520px; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--green) 16%, transparent), transparent 72%); }
.h-menu-hero h1 { margin: 10px 0 0; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: -.02em; }
@media (max-width: 720px) { .h-offer { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px; } .h-offer .h-offer-go { width: 100%; justify-content: center; }
  .qr-ico { width: 70px; height: 70px; } }

/* 1.48: первый экран как на макете владельца — текст слева, ноутбук и телефон справа (картинка без надписей), живые стеклянные карточки, 6 карточек снизу */
.h-hero.hx { position: relative; padding: 34px 0 40px; overflow: hidden;
  background: radial-gradient(900px 520px at 78% 48%, color-mix(in srgb, var(--green) 20%, transparent), transparent 66%); }
.hx > .wrap { width: min(1440px, 100% - 64px); }
.hx-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 0; align-items: center; }
.hx-copy { position: relative; z-index: 2; }
.hx-kick { margin: 0 0 14px; font-size: .95rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: color-mix(in srgb, var(--green) 70%, #fff); }
[data-theme="light"] .hx-kick { color: #1f7a1f; }
.h-hero.hx h1.hx-h1 { margin: 0; max-width: none; font-size: clamp(2.2rem, 3.1vw, 3rem); line-height: 1.16; letter-spacing: -.03em; }
.hx-h1 em { font-style: normal; color: var(--green); position: relative; }   /* 1.51: без nowrap — на румынском «pentru afacerea dumneavoastră?» вылезал за колонку на картинку */
.hx-h1 em::after { content: ""; position: absolute; left: 2%; right: -2%; bottom: -.12em; height: .14em; border-radius: 9px;
  background: linear-gradient(90deg, transparent, var(--green) 12%, var(--green) 70%, transparent); transform: rotate(-1.2deg); box-shadow: 0 0 14px color-mix(in srgb, var(--green) 60%, transparent); }
.hx-lead { margin: 22px 0 0; max-width: 48ch; font-size: 1.12rem; line-height: 1.55; color: color-mix(in srgb, var(--text) 82%, transparent); }
.hx-checks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; row-gap: 12px; }
.hx-checks li { display: flex; gap: 11px; align-items: flex-start; padding: 0 22px; border-left: 1px solid var(--line); }
.hx-checks li:first-child { padding-left: 0; border-left: 0; }
.hx-checks i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--on-green); }
.hx-checks i .ic { width: 14px; height: 14px; stroke-width: 3; }
.hx-checks b { display: block; font-size: .98rem; } .hx-checks small { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.hx-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hx-actions .btn.primary.btn { background: var(--green); border-color: var(--green); color: var(--on-green); box-shadow: 0 0 30px color-mix(in srgb, var(--green) 40%, transparent); }
.hx-mini { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; color: color-mix(in srgb, var(--text) 82%, transparent); font-size: .94rem; }
.hx-mini li { display: flex; align-items: center; gap: 9px; } .hx-mini .ic { width: 20px; height: 20px; color: var(--green); }
.hx-vis { position: relative; z-index: 1; margin: 0 -48px 0 -150px; container-type: inline-size; aspect-ratio: 785 / 440; }
.hx-vis img { display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 5%, #000 14%, #000 96%, transparent), linear-gradient(180deg, transparent 0, #000 6%, #000 90%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, transparent 5%, #000 14%, #000 96%, transparent), linear-gradient(180deg, transparent 0, #000 6%, #000 90%, transparent); mask-composite: intersect; }
/* 1.53: возвращена утверждённая картинка 1.50 (ноутбук и телефон с наклоном) — живой блок 1.51 владелец не утверждал */
.hx-copy { position: relative; z-index: 2; }
.hx-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.hx-card { display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 132px; padding: 18px 12px; border-radius: 18px; text-align: center;
  text-decoration: none; color: var(--text); background: color-mix(in srgb, var(--panel) 92%, transparent); border: 1px solid var(--line); box-shadow: var(--h-shadow);
  transition: border-color .2s, transform .2s, box-shadow .2s; }
.hx-card:hover, .hx-card:focus-visible { border-color: color-mix(in srgb, var(--green) 60%, var(--line)); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.35), 0 0 24px color-mix(in srgb, var(--green) 18%, transparent); }
.hx-card .ic { width: 36px; height: 36px; color: var(--green); margin-bottom: 6px; stroke-width: 1.7; }
.hx-card b { font-size: 1rem; } .hx-card small { color: var(--muted); font-size: .86rem; line-height: 1.35; }
[data-theme="light"] .h-hero.hx { background: radial-gradient(900px 520px at 78% 48%, color-mix(in srgb, var(--green) 14%, transparent), transparent 66%); }
@media (max-width: 1180px) { .hx-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .hx-grid { grid-template-columns: minmax(0, 1fr); } .hx-vis { margin: 8px -12px 0; } .hx-h1 { max-width: none; } }
@media (max-width: 620px) { .h-hero.hx { padding: 28px 0 24px; } .hx-h1 { font-size: clamp(1.9rem, 8.6vw, 2.3rem); }
  .hx-h1 em { white-space: normal; } .hx-lead { font-size: 1rem; }
  .hx-checks { display: grid; gap: 12px; } .hx-checks li { padding: 0; border: 0; }
  .hx-actions .btn { flex: 1 1 100%; justify-content: center; } .hx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
  .hx-card { min-height: 118px; padding: 14px 10px; } }

/* 1.48: шапка как на макете — значок + «OwnCommerce / Software Development & Business Solutions», язык «🌐 RU ▾», кружки темы и входа */
.brand.hx-brand { gap: 10px; }
.hx-mark { width: 58px; height: auto; display: block; }
.hx-bname { display: grid; line-height: 1.1; color: var(--text); }
.hx-bname b { font-size: 1.32rem; font-weight: 700; letter-spacing: -.02em; }
.hx-bname b .hx-bc { font-style: normal; color: var(--green); }   /* 1.53: имя как на логотипе — «Own» белым, «Commerce» зелёным */
.hx-bname small { font-size: .66rem; font-weight: 500; color: color-mix(in srgb, var(--text) 78%, transparent); margin-top: 2px; white-space: nowrap; }
.navlinks a { color: color-mix(in srgb, var(--text) 92%, transparent); font-weight: 600; }
.hx-lang { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 8px; font-weight: 600; color: var(--text); }
.hx-lang svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hx-lang-ic { width: 20px; height: 20px; } .hx-lang-ch { width: 14px; height: 14px; }
.hx-lang select.lang { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; opacity: 0; cursor: pointer; }
.nav-tools .theme-toggle { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
.nav-tools .theme-toggle #themeText { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.navright .nav-login { width: 40px; height: 40px; min-height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
.navright .nav-login .nav-login-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.navright .nav-cta { border-radius: 14px; box-shadow: 0 0 26px color-mix(in srgb, var(--green) 35%, transparent); }
@media (max-width: 1180px) {
  .hx-lang { flex: 1; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; }
  .nav-tools .theme-toggle { width: auto; height: 50px; padding: 0 16px; border-radius: 12px; }
  .nav-tools .theme-toggle #themeText { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }
@media (max-width: 560px) { .hx-bname small { display: none; } .hx-mark { width: 50px; } .hx-bname b { font-size: 1.15rem; } }

/* 1.49: заголовок первого экрана — три вопроса; вторая строка и «для бизнеса?» переливаются фирменным зелёным (как прежний .gradient) */
.hx-h1 .hx-l1, .hx-h1 .hx-l2, .hx-h1 .hx-l3 { display: block; }
.hx-h1 .hx-shine { color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(100deg, var(--green) 0%, #b9ff8a 22%, #ffffff 34%, var(--green) 46%, var(--blue) 70%, var(--green) 100%);
  background-size: 250% 100%; animation: hxShine 7s ease-in-out infinite; }
.hx-h1 em.hx-shine { color: transparent; }
@keyframes hxShine { 0% { background-position: 100% 50%; } 50% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
[data-theme="light"] .hx-h1 .hx-shine { background-image: linear-gradient(100deg, #1a7a1a 0%, #2a9a2a 30%, #0b5fb4 60%, #1a7a1a 100%); }
@media (prefers-reduced-motion: reduce) { .hx-h1 .hx-shine { animation: none; background-position: 0 50%; } }
