/* Новая главная и маркетплейс решений (19.09.2026). Все классы с префиксом hm- — шаблон сайта не задевают.
   Исходник: bintegrator-seo/resheniya/site/include/hm/hm.css */
.hm { --blue:#0255a5; --sky:#098bcc; --ink:#16324a; --mute:#5d6f80; --line:#e3ebf1; --soft:#f4f7fb; --green:#0f7a45; color:var(--ink); font-family: 'Nunito', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
.hm a { text-decoration: none; }
.hm-sec { padding: 64px 0; }
.hm-soft { background: var(--soft); }
.hm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.hm-over { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0a6ea3; margin-bottom: 6px; }
.hm-h { font-size: 34px; font-weight: 800; margin: 0; line-height: 1.15; color: var(--ink); }
.hm-sub { color: var(--mute); font-size: 17px; margin: 10px 0 0; max-width: 720px; line-height: 1.5; }
.hm-pill { flex: none; border: 1px solid #d5e0ea; background: #fff; border-radius: 22px; padding: 9px 18px; font-weight: 700; color: var(--blue) !important; font-size: 15px; }
.hm-pill:hover { border-color: var(--blue); }

/* первый экран */
.hm-hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(9,139,204,.55), transparent 60%), linear-gradient(135deg, #0a2346 0%, #0b3a78 55%, #0255a5 100%); color: #fff; padding: 64px 0 56px; }
.hm-chipline { display: inline-block; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); border-radius: 20px; padding: 6px 14px; font-size: 13px; font-weight: 700; letter-spacing: .03em; margin-bottom: 20px; }
.hm-hero h1 { font-size: 48px; line-height: 1.1; font-weight: 900; margin: 0 0 18px; max-width: 920px; color: #fff; }
.hm-hero h1 span { color: #8fd8ff; }
.hm-lead { font-size: 19px; line-height: 1.55; max-width: 780px; color: rgba(255,255,255,.88); margin: 0; }
.hm-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 0; }
.hm-a1, .hm-a2 { display: inline-block; padding: 14px 24px; border-radius: 10px; font-weight: 800; font-size: 16px; }
.hm-a1 { background: var(--blue); color: #fff !important; }
.hm-a1-white { background: #fff; color: var(--blue) !important; }
.hm-a2 { border: 2px solid rgba(255,255,255,.6); color: #fff !important; }
.hm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.hm-stats div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 18px 20px; }
.hm-stats b { display: block; font-size: 30px; font-weight: 900; line-height: 1.1; }
.hm-stats span { font-size: 14px; color: rgba(255,255,255,.8); }

/* лента логотипов */
.hm-clients { background: var(--soft); padding: 40px 0 44px; }
.hm-clients .hm-head { margin-bottom: 22px; }
.hm-track { overflow: hidden; }
.hm-run { display: flex; gap: 16px; width: max-content; padding: 4px 0; animation: hmRun 50s linear infinite; }
.hm-track:hover .hm-run, .hm-track:focus-within .hm-run { animation-play-state: paused; }
@keyframes hmRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hm-run { animation: none; } .hm-track { overflow-x: auto; } }
.hm-logo { flex: none; width: 200px; height: 100px; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: flex; align-items: center; justify-content: center; padding: 12px 18px; box-sizing: border-box; }
.hm-logo:hover { border-color: var(--blue); }
.hm-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* фильтр и карточки маркетплейса */
.hm-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.hm-chip { border: 1px solid #d5e0ea; background: #fff; border-radius: 22px; padding: 8px 18px; min-height: 40px; font-size: 15px; font-weight: 700; cursor: pointer; color: var(--ink); font-family: inherit; }
.hm-chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.hm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hm-card { background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(22,50,74,.06), 0 8px 24px rgba(22,50,74,.06); transition: box-shadow .2s, transform .2s; }
.hm-card:hover { box-shadow: 0 14px 34px rgba(22,50,74,.14); transform: translateY(-2px); }
.hm-card[hidden] { display: none; }
.hm-pic { position: relative; display: block; aspect-ratio: 4/3; background: #eaf1f8; overflow: hidden; }
.hm-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.hm-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.hm-badge { font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 7px; color: #fff; }
.hm-b-ai { background: #5b34d6; } .hm-b-sub { background: var(--green); } .hm-b-soon { background: #9a5b00; } .hm-b-new { background: #c9303a; } .hm-b-svc { background: var(--ink); }
.hm-dots { display: flex; justify-content: flex-start; gap: 6px; margin: 0 0 2px; }
.hm-dot { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; cursor: pointer; background: rgba(22,50,74,.3); transition: width .2s; }
.hm-dot.on { width: 18px; background: var(--blue); }
.hm-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hm-price { font-size: 28px; font-weight: 900; line-height: 1.1; }
.hm-unit { font-size: 15px; font-weight: 700; color: var(--mute); }
.hm-note { font-size: 14px; font-weight: 700; color: var(--green); min-height: 19px; }
.hm-name { font-size: 19px; font-weight: 800; line-height: 1.25; color: var(--ink) !important; }
.hm-who { font-size: 14px; color: var(--mute); margin-top: -4px; }
.hm-fact { font-size: 14px; color: #2d4356; padding-left: 26px; position: relative; }
.hm-fact:before { content: ''; position: absolute; left: 2px; top: 3px; width: 13px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.hm-var-label { font-size: 13px; color: var(--mute); margin-top: 4px; }
.hm-var-label b { color: var(--ink); }
.hm-vars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hm-var { border: 1px solid #d5e0ea; background: #fff; color: var(--ink); border-radius: 10px; padding: 10px 8px; min-height: 44px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; }
.hm-var.on { border: 2px solid var(--blue); background: #e8f1fb; color: var(--blue); font-weight: 800; }
.hm-actions { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.hm-btn { display: block; text-align: center; background: var(--blue); color: #fff !important; border-radius: 12px; padding: 13px; font-weight: 800; font-size: 16px; }
.hm-btn:hover { background: #013f7a; }
.hm-btn2 { display: block; text-align: center; border: 2px solid var(--blue); color: var(--blue) !important; border-radius: 12px; padding: 11px; font-weight: 800; font-size: 15px; }
.hm-more { display: block; text-align: center; font-weight: 700; font-size: 15px; padding: 6px; color: var(--blue) !important; }

/* услуги */
.hm-svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 20px; }
@media (max-width: 1199.98px) { .hm-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hm-svc-col { background: #fff; border-radius: 18px; padding: 26px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.hm-svc-col h3 { font-size: 21px; font-weight: 800; margin: 0 0 4px; }
.hm-svc-col p { color: var(--mute); margin: 0 0 14px; font-size: 15px; }
.hm-svc-col ul { list-style: none; padding: 0; margin: 0 0 18px; }
.hm-svc-col li { border-top: 1px solid var(--line); margin: 0; padding: 0; }
.hm-svc-col li:before { display: none; }
.hm-svc-col li a { display: block; padding: 11px 0; color: var(--ink) !important; font-weight: 600; font-size: 15px; }
.hm-svc-col li a:after { content: '→'; float: right; color: var(--sky); }
.hm-svc-col li a:hover { color: var(--blue) !important; }
.hm-tag { margin-top: auto; align-self: flex-start; background: #e8f2fc; color: var(--blue); border-radius: 8px; padding: 6px 12px; font-weight: 800; font-size: 14px; }

/* проекты */
.hm-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hm-case { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; color: var(--ink) !important; transition: box-shadow .2s; }
.hm-case:hover { box-shadow: 0 14px 34px rgba(22,50,74,.12); }
.hm-case-top { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.hm-case-top img { width: 120px; height: 60px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); padding: 6px 10px; background: #fff; box-sizing: border-box; flex: none; }
.hm-case-top b { display: block; font-size: 17px; }
.hm-case-top span { font-size: 13px; color: var(--mute); }
.hm-case-k { font-size: 42px; font-weight: 900; color: var(--blue); line-height: 1; }
.hm-case-ku { font-size: 14px; color: var(--mute); margin: 4px 0 12px; }
.hm-case p { font-size: 15px; line-height: 1.5; color: #2d4356; margin: 0 0 16px; }
.hm-case .hm-more { margin-top: auto; text-align: left; padding: 0; font-weight: 800; }

/* основатель и команда */
.hm-founder { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; background: #fff; border-radius: 22px; padding: 36px; border: 1px solid var(--line); }
.hm-ava { aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg,#d7e7fa,#a9c9ee); display: flex; align-items: center; justify-content: center; font-weight: 900; color: var(--blue); }
.hm-ava-xl { border-radius: 22px; font-size: 72px; }
.hm-role { color: var(--mute); margin: 6px 0 18px; font-size: 16px; }
.hm-quote { margin: 0; border-left: 4px solid var(--sky); padding: 4px 0 4px 18px; font-size: 18px; line-height: 1.55; color: #2d4356; font-style: italic; }
.hm-pill-big { padding: 13px 22px; font-size: 16px; border-radius: 10px; }
.hm-team-page { padding: 8px 0 56px; }
.hm-team-page .hm-founder { margin-bottom: 40px; }
.hm-team-h { font-size: 22px; font-weight: 800; margin: 44px 0 18px; }

/* отзывы и статьи */
.hm-reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hm-review { margin: 0; background: var(--soft); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.hm-review blockquote { margin: 0 0 20px; font-size: 17px; line-height: 1.55; color: #2d4356; border: 0; padding: 0; }
.hm-review figcaption { margin-top: auto; display: flex; gap: 12px; align-items: center; }
.hm-review img { width: 96px; height: 48px; object-fit: contain; border-radius: 10px; background: #fff; padding: 4px; }
.hm-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hm-art-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); color: var(--ink) !important; transition: box-shadow .2s; }
.hm-art-card:hover { box-shadow: 0 14px 34px rgba(22,50,74,.12); }
.hm-art-card img { width: 100%; aspect-ratio: 1200/630; object-fit: cover; display: block; }
.hm-art-card div { padding: 16px 18px 20px; }
.hm-art-card span { font-size: 13px; color: var(--mute); }
.hm-art-card b { display: block; font-size: 17px; line-height: 1.35; margin-top: 6px; }

/* финальный блок с формой */
.hm-final { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; background: linear-gradient(135deg, #0a2346, #0255a5); color: #fff; border-radius: 24px; padding: 40px; }
.hm-final .hm-h { color: #fff; }
.hm-final p { color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.55; margin: 12px 0 20px; }
.hm-contacts { display: flex; flex-direction: column; gap: 6px; }
.hm-contacts a { color: #fff !important; font-weight: 800; font-size: 18px; }
.hm-contacts span { color: rgba(255,255,255,.75); font-size: 14px; }
.hm-formbox { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 28px; }
.hm-formbox span { font-size: 14px; color: rgba(255,255,255,.8); }

/* страница решения */
.hm-detail { padding: 8px 0 48px; }
.hm-d-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.hm-gal { display: flex; gap: 12px; }
.hm-thumbs { display: flex; flex-direction: column; gap: 10px; }
.hm-thumb { width: 72px; height: 72px; padding: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: #eaf1f8; border: 1px solid #d5e0ea; }
.hm-thumb.on { border: 2px solid var(--blue); }
.hm-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.hm-gal-main { cursor: zoom-in; position: relative; flex: 1; aspect-ratio: 4/3; border-radius: 18px; overflow: hidden; background: #eaf1f8; }
.hm-gal-main img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.hm-d-lead { font-size: 17px; line-height: 1.5; color: #2d4356; margin: 0 0 18px; }
.hm-tiles { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 22px; }
.hm-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 180px; padding: 12px 14px; border-radius: 14px; cursor: pointer; text-align: left; color: var(--ink); border: 1px solid #d5e0ea; background: #fff; font-family: inherit; }
.hm-tile svg { color: var(--blue); }
.hm-tile b { font-size: 15px; }
.hm-tile span { font-size: 13px; color: var(--mute); line-height: 1.35; }
.hm-tile.on { border: 2px solid var(--blue); background: #e8f1fb; }
.hm-specs h2 { font-size: 20px; font-weight: 800; margin: 0 0 8px; }
.hm-specs div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hm-specs div span:first-child { color: var(--mute); }
.hm-d-text { margin-top: 22px; font-size: 16px; line-height: 1.6; color: #2d4356; }
.hm-buy { border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 2px rgba(22,50,74,.08), 0 10px 30px rgba(22,50,74,.1); position: sticky; top: 20px; background: #fff; }
.hm-buy .hm-price { font-size: 34px; }
.hm-old { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.hm-old[hidden] { display: none; }
.hm-zero { background: #c9303a; color: #fff; font-weight: 800; padding: 2px 8px; border-radius: 6px; font-size: 13px; }
.hm-old s { color: var(--mute); }
.hm-btn-big { padding: 15px; font-size: 17px; }
.hm-checks { list-style: none; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); font-size: 14px; color: #2d4356; }
.hm-checks li { position: relative; padding-left: 24px; margin: 6px 0; }
.hm-checks li:before { content: ''; position: absolute; left: 2px; top: 5px; width: 12px; height: 6px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); background: none; }

/* адаптив */
@media (max-width: 1199.98px) {
	.hm-hero h1 { font-size: 40px; } .hm-team { grid-template-columns: repeat(3, 1fr); }
	.hm-d-grid { grid-template-columns: minmax(0, 1fr) 320px; } .hm-gal { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
	.hm-grid, .hm-cases, .hm-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hm-svc { grid-template-columns: 1fr; } .hm-stats { grid-template-columns: repeat(2, 1fr); }
	.hm-founder, .hm-final { grid-template-columns: 1fr; } .hm-founder .hm-ava-xl { max-width: 220px; margin: 0 auto; }
	.hm-d-grid { grid-template-columns: 1fr; } .hm-buy { position: static; }
}
@media (max-width: 575.98px) {
	.hm-sec { padding: 44px 0; } .hm-hero { padding: 40px 0; }
	.hm-hero h1 { font-size: 30px; } .hm-lead { font-size: 16px; } .hm-h { font-size: 26px; }
	.hm-head { flex-direction: column; align-items: flex-start; }
	.hm-cta a { flex: 1; text-align: center; }
	.hm-stats b { font-size: 24px; } .hm-stats div { padding: 14px; }
	.hm-logo { width: 150px; height: 76px; }
	/* вариант А (19.09.2026): две в ряд, своя квадратная картинка, текст крупнее */
	.hm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.hm-card { border-radius: 14px; } .hm-pic { aspect-ratio: 1; } .hm-body { padding: 10px; gap: 6px; }
	.hm-price { font-size: 21px; } .hm-unit { font-size: 13px; } .hm-note { font-size: 13px; min-height: 17px; }
	.hm-name { font-size: 15px; } .hm-who, .hm-fact, .hm-var-label, .hm-more { display: none; }
	.hm-vars { gap: 4px; } .hm-var { min-height: 36px; padding: 4px 2px; font-size: 13px; border-radius: 8px; }
	.hm-btn { padding: 11px 6px; font-size: 15px; border-radius: 10px; }
	.hm-badge { font-size: 10px; padding: 3px 6px; } .hm-badges { top: 8px; left: 8px; }
	.hm-cases, .hm-articles, .hm-reviews { grid-template-columns: 1fr; }
	.hm-team { grid-template-columns: repeat(2, 1fr); } .hm-founder, .hm-final { padding: 24px; }
	.hm-gal { flex-direction: column-reverse; } .hm-thumbs { flex-direction: row; }
	.hm-tile { width: calc(50% - 6px); } .hm-specs div { grid-template-columns: 110px minmax(0, 1fr); }
}

/* метки и категория теперь на самой обложке — поверх картинки не дублируем (19.09.2026) */
.hm-pic .hm-badges, .hm-gal-main .hm-badges { display: none; }

/* СТРАНИЦЫ НАПРАВЛЕНИЙ (20.09.2026) */
.hm-tbd { background: #fff3cd; border-bottom: 2px dotted #9a6b00; padding: 0 3px; border-radius: 3px; }
.hm-draftnote { background: #fff8e6; border: 1px solid #f0d089; border-radius: 12px; padding: 14px 18px; font-size: 15px; color: #6b4e00; margin: 18px 0 8px; }
.hm-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hm-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.hm-panel h3 { font-size: 21px; font-weight: 800; margin: 0 0 6px; }
.hm-panel .hm-tag { margin-top: 14px; }
.hm-panel ul { list-style: none; padding: 0; margin: 12px 0 0; }
.hm-panel li { position: relative; padding-left: 26px; margin: 9px 0; font-size: 15px; line-height: 1.45; }
.hm-panel li:before { content: ''; position: absolute; left: 2px; top: 6px; width: 12px; height: 6px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.hm-tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; font-size: 15px; }
.hm-tbl th, .hm-tbl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hm-tbl th { background: var(--soft); font-weight: 800; }
.hm-tbl td:first-child { font-weight: 700; color: var(--ink); }
.hm-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.hm-steps2 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.hm-steps2 div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.hm-steps2 div:before { counter-increment: s; content: counter(s); display: flex; width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 900; align-items: center; justify-content: center; margin-bottom: 10px; }
.hm-steps2 b { display: block; font-size: 16px; margin-bottom: 4px; }
.hm-steps2 span { font-size: 14px; color: #3b5063; line-height: 1.45; }
.hm-faq2 { display: flex; flex-direction: column; gap: 10px; }
.hm-faq2 details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.hm-faq2 summary { font-weight: 800; font-size: 17px; cursor: pointer; }
.hm-faq2 p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: #2d4356; }
.hm-links { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-links a { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 9px 16px; font-weight: 700; font-size: 15px; }
@media (max-width: 991.98px) { .hm-steps2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hm-two { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .hm-steps2 { grid-template-columns: 1fr; } .hm-panel { padding: 20px; } }

/* схемы на страницах направлений */
.hm-fig { margin: 0; overflow-x: auto; }
.hm-fig svg { width: 100%; min-width: 900px; height: auto; display: block; background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; box-sizing: border-box; }
.hm-cap { font-size: 14px; color: var(--mute); margin-top: 10px; }

/* портрет основателя */
.hm-photo { display: block; width: 100%; max-width: 280px; aspect-ratio: 3/4; object-fit: cover; object-position: center top; border-radius: 22px; }

/* просмотр фото решения в полный размер */
.hm-lb { position: fixed; inset: 0; z-index: 9999; background: rgba(12,28,42,.9); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.hm-lb img { max-width: 100%; max-height: 100%; border-radius: 12px; display: block; }
.hm-lb-x { position: absolute; top: 18px; right: 22px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
@media (max-width: 767.98px) { .hm-lb { padding: 12px; } }

/* «О решении» во всю ширину, со сворачиванием — как «О товаре» на маркетплейсах */
.hm-about { margin: 34px 0 0; }
.hm-about .hm-h { margin: 0 0 14px; }
.hm-about-body { position: relative; max-height: 320px; overflow: hidden; font-size: 17px; line-height: 1.65; color: #2d4356; column-gap: 40px; }
.hm-about-body.open { max-height: none; }
.hm-about-body:not(.open):after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, #fff); pointer-events: none; }
.hm-about-body.open:after { display: none; }
.hm-about-body p { margin: 0 0 12px; max-width: 900px; }
.hm-about-body ul { margin: 0 0 12px; padding-left: 22px; max-width: 900px; }
.hm-about-body li { margin: 6px 0; }
.hm-about-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 11px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-weight: 700; color: var(--blue); cursor: pointer; }
.hm-about-more:hover { background: #f2f7fc; }

/* «Рекомендуем» — другие решения витрины */
.hm-also { margin: 44px 0 0; }
.hm-also .hm-h { margin: 0 0 18px; }

/* вопросы посетителей */
.hm-qa { margin: 44px 0 0; }
.hm-qa .hm-h { margin: 0 0 18px; }
.hm-qa-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.hm-qa-item { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: #fff; }
.hm-qa-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.hm-qa-head b { font-size: 16px; }
.hm-qa-head span { font-size: 13px; color: var(--mute); }
.hm-qa-q { margin: 0; font-size: 16px; line-height: 1.55; color: #2d4356; }
.hm-qa-a { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: #f2f7fc; }
.hm-qa-a span { display: block; font-size: 13px; font-weight: 800; color: var(--blue); margin-bottom: 4px; }
.hm-qa-a p { margin: 0; font-size: 16px; line-height: 1.55; color: #2d4356; }
.hm-qa-empty { margin: 0 0 22px; color: var(--mute); }
.hm-qa-form { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: #fbfdff; max-width: 860px; }
.hm-qa-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.hm-qa-form input[type=text], .hm-qa-form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: #16324a; }
.hm-qa-form textarea { resize: vertical; min-height: 86px; }
.hm-qa-form input:focus, .hm-qa-form textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.hm-qa-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hm-qa-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.hm-qa-note { font-size: 13px; color: var(--mute); max-width: 460px; }
.hm-qa-msg { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 15px; background: #e8f6ee; color: #12804a; }
.hm-qa-msg.bad { background: #fdeceb; color: #c9303a; }
@media (max-width: 767.98px) { .hm-qa-row { grid-template-columns: 1fr; } }

/* витрина в два ряда: на широком экране четыре колонки, карточки уже */
@media (min-width: 1200px) {
	.hm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
	.hm-grid .hm-body { padding: 14px 16px; gap: 8px; }
	.hm-grid .hm-card h3 { font-size: 17px; }
	.hm-grid .hm-price { font-size: 22px; }
}
.hm-more-wrap { display: flex; justify-content: center; margin-top: 26px; }

/* компактная витрина на главной: один ряд, без плиток вариантов и кнопок */
.hm-compact .hm-vars, .hm-compact .hm-actions, .hm-compact .hm-var-label { display: none; }
.hm-compact .hm-pic { aspect-ratio: 16/10; }
.hm-compact .hm-body { padding: 14px 16px 16px; gap: 6px; }
.hm-compact .hm-dots { margin-bottom: 0; }
.hm-compact .hm-fact { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* снимок решения в блоке-примере */
.hm-shot { display: block; width: 100%; max-width: 420px; aspect-ratio: 4/3; object-fit: cover; object-position: top left; border-radius: 18px; border: 1px solid var(--line); }

/* команда: крупные фото и описание работы */
.hm-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.hm-person { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; text-align: left; }
.hm-person-photo { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center top; border-radius: 14px; margin-bottom: 14px; }
.hm-person-ava { display: flex; align-items: center; justify-content: center; font-size: 54px; font-weight: 900; color: #16324a;
	background: linear-gradient(135deg,#d7e7fa,#a9c9ee); }
.hm-person b { display: block; font-size: 19px; line-height: 1.25; }
.hm-person span { display: block; font-size: 14px; font-weight: 700; color: var(--blue); margin-top: 4px; }
.hm-person p { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: #2d4356; }
@media (max-width: 991.98px) { .hm-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (max-width: 575.98px) { .hm-team { grid-template-columns: 1fr; } .hm-person-photo { max-width: 260px; } }
