/* STR-MOS 2026 — главная (макет B «Каталог решений»). Только классы .h-*; общие компоненты — в sm26.css. */

.h-nw { white-space: nowrap; }
/* заголовок секции и подводка справа помещаются в одну строку и при длинном заголовке */
.sm26-home .sm-sechead__title { max-width: 720px; }

/* ---------- первый экран ---------- */
.h-hero { padding: 48px 0 64px; }
.h-hero__head { display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: flex-end; justify-content: space-between; }
.h-hero__title { flex: 1 1 620px; min-width: 0; max-width: 820px; }
.h-hero__title .sm-eyebrow { margin-bottom: 20px; }
.h-hero__side { flex: 1 1 360px; min-width: 0; max-width: 430px; display: flex; flex-direction: column; gap: 22px; }
.h-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.h-hero__call { font-size: 16px; }
.h-hero__call:hover { color: var(--navy); border-color: var(--navy); }
.h-hero__pick { display: none; }

.h-mosaic { margin-top: 48px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); grid-auto-rows: 250px; }
.h-mosaic--n4 { grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 270px 230px; }
.h-mosaic--n4 > :nth-child(1) { grid-row: 1 / span 2; }
.h-mosaic--n4 > :nth-child(2) { grid-column: 2 / span 2; }
.h-mosaic__tile { display: block; border-radius: 20px; color: var(--ink); }
.h-mosaic__tile:hover { color: var(--ink); }
.h-mosaic__tile > img { transition: transform .6s ease; }
a.h-mosaic__tile:hover > img { transform: scale(1.04); }
.h-mosaic__card { position: absolute; left: 20px; bottom: 20px; max-width: calc(100% - 40px); display: inline-flex; flex-direction: column; gap: 2px; background: var(--white); border-radius: 14px; padding: 12px 16px; }
.h-mosaic__name { font-size: 16px; line-height: 1.3; font-weight: 800; }
.h-mosaic__card .sm-price { font-size: 14px; font-weight: 600; }
.h-mosaic__pill { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); display: block; }

.h-paths { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.h-path { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--white); border-radius: 20px; padding: 26px 28px; color: var(--ink); }
.h-path:hover { color: var(--ink); }
.h-path__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.h-path__label { font-size: 13px; font-weight: 700; color: var(--navy); }
.h-path__title { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
.h-path__text { font-size: 14px; line-height: 1.5; color: var(--muted); }
.h-path__icon { flex: 0 0 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.h-path:hover .h-path__icon { background: var(--ink); color: var(--white); }
.h-facts { padding: 22px 28px; background: var(--white); border-radius: 20px; align-content: center; }
.h-facts li { font-size: 14px; line-height: 1.35; gap: 8px; }
.h-facts .sm-icon { width: 18px; height: 18px; flex-basis: 18px; }

/* ---------- «Что остекляем?» ---------- */
.h-vybor .sm-sechead { margin-bottom: 32px; }
.h-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.h-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.2; transition: background .2s, color .2s, border-color .2s; }
.h-chip:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.h-chip .sm-icon { display: none; }
.h-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); font-weight: 700; }
.h-chip[aria-pressed="true"] .sm-icon { display: inline-block; }

.h-vybor__panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 24px; }
.h-scene { margin: 0; position: relative; min-height: 520px; border-radius: 20px; overflow: hidden; background: var(--ph); }
.h-scene__img { position: absolute; inset: 0; }
.h-scene__badge { position: absolute; top: 20px; left: 20px; z-index: 1; font-size: 13px; font-weight: 800; padding: 8px 14px; }
.h-scene__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: 0 0 8px; }
.h-scene__cap { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; background: var(--white); border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.h-scene__label { font-size: 13px; font-weight: 700; color: var(--navy); }
.h-scene__title { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
.h-scene__text { font-size: 15px; line-height: 1.55; color: var(--muted); }

.h-recs { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-content: start; }
.h-rec { display: flex; flex-direction: column; height: 100%; background: var(--bg); border-radius: var(--r); overflow: hidden; color: var(--ink); }
.h-rec:hover { color: var(--ink); }
.h-rec__img { display: block; position: relative; height: 150px; }
.h-rec__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-rec__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.h-rec__group { font-size: 13px; font-weight: 600; color: var(--muted); }
.h-rec__name { font-size: 18px; line-height: 1.3; font-weight: 800; }
.h-rec__price { margin-top: 4px; font-size: 15px; }
.h-rec__chev { display: none; }
.h-vybor__foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.h-vybor__foot .sm-note { font-size: 14px; }

/* ---------- «Какая технология?» ---------- */
.h-all__btn { border: 0; background: none; padding: 0; min-height: 44px; align-self: flex-start; text-align: left; font-family: inherit; }
.h-all__btn:hover { color: var(--ink); }
.h-all__btn .sm-icon { transition: transform .2s; }
.h-all__btn:hover .sm-icon { transform: translateY(2px); }
.h-all__btn[aria-expanded="true"] .sm-icon { transform: rotate(180deg); }
.h-all { margin: -8px 0 40px; background: var(--white); border-radius: var(--r-xl); padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 28px 40px; }
.h-all__head { margin-bottom: 10px; font-size: 18px; line-height: 1.3; }
.h-all__head a { color: var(--ink); }
.h-all__head a:hover { color: var(--navy); }
.h-all__count { margin-left: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.h-all ul { list-style: none; display: flex; flex-direction: column; }
.h-all li a { display: block; padding: 7px 0; font-size: 15px; line-height: 1.35; color: var(--ink); border-bottom: 1px solid var(--line); }
.h-all li:last-child a { border-bottom: 0; }
.h-all li a:hover { color: var(--navy); }

.h-fire { margin-top: 56px; display: flex; flex-wrap: wrap; background: var(--white); border-radius: var(--r-xl); overflow: hidden; }
.h-fire__img { flex: 1 1 440px; min-height: 340px; }
.h-fire__body { flex: 1.2 1 520px; min-width: 0; padding: 40px 44px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; }
.h-fire__body .sm-eyebrow { margin: 0; }
.h-fire__title { font-size: 30px; line-height: 1.15; letter-spacing: -0.015em; }
.h-fire__text { font-size: 16px; line-height: 1.6; color: var(--muted); }
.h-kat__note { margin-top: 20px; font-size: 14px; }

/* ---------- как мы работаем ---------- */
.h-steps__cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.h-step { background: var(--bg); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.h-step__icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; background: var(--white); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.h-step__body { display: flex; flex-direction: column; gap: 14px; }
.h-step__title { font-size: 24px; line-height: 1.25; }
.h-step__text { font-size: 16px; line-height: 1.6; color: var(--muted); }
.h-process { list-style: none; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(118px, 100%), 1fr)); gap: 24px 16px; }
.h-process li { display: flex; flex-direction: column; gap: 8px; }
.h-process__num { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.h-process li:last-child .h-process__num { background: var(--red); }
.h-process__title { font-size: 16px; font-weight: 800; line-height: 1.3; }
.h-process__text { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ---------- профильные системы ---------- */
.h-sys__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: 24px; }
.h-brand { background: var(--white); border-radius: var(--r-xl); padding: 32px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.h-brand__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.h-brand__name { font-size: 26px; letter-spacing: 0.02em; line-height: 1.2; }
.h-brand__count { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.h-profs { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.h-prof { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.h-prof__img { width: 100%; height: auto; aspect-ratio: 420 / 381; object-fit: contain; background: var(--tint); border-radius: 14px; }
.h-prof__text { display: flex; flex-direction: column; gap: 2px; }
.h-prof__name { font-size: 16px; font-weight: 800; line-height: 1.3; }
.h-prof__meta { font-size: 13px; line-height: 1.45; color: var(--muted); }
.h-brand__dl { font-size: 14px; gap: 10px 16px; }
.h-brand__dl dd { font-weight: 700; }
.h-brand__link { margin-top: auto; }

/* ---------- объекты ---------- */
.h-obj__grid { display: flex; flex-wrap: wrap; gap: 20px; }
.h-proj--main { flex: 2 1 620px; min-width: 0; position: relative; min-height: 500px; border-radius: var(--r-xl); overflow: hidden; background: var(--ph); }
.h-proj--main .h-proj__img { position: absolute; inset: 0; }
.h-proj__card { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; max-width: 560px; background: var(--white); border-radius: 18px; padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.h-proj__title { font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; }
.h-proj__text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.h-proj__card .sm-chips { margin-top: 4px; }
.h-proj__card .sm-chip { font-size: 13px; padding: 6px 12px; }
.h-obj__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.h-proj--row { display: flex; gap: 16px; align-items: center; background: var(--bg); border-radius: 20px; padding: 16px; }
.h-proj--row .h-proj__img { flex: 0 0 88px; height: 88px; border-radius: 14px; }
.h-proj--row .h-proj__title { font-size: 16px; line-height: 1.3; letter-spacing: 0; }
.h-proj__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.h-proj__meta { font-size: 14px; line-height: 1.5; color: var(--muted); }
.h-objcta { flex: 1 1 auto; background: var(--ink); color: var(--white); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 14px; }
.h-objcta__icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: center; margin-bottom: auto; }
.h-objcta__title { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; margin-top: 24px; }
.h-objcta__text { font-size: 16px; line-height: 1.6; color: #C9D2DC; }
.h-objcta .sm-btn { margin-top: 6px; }

/* ---------- компания и клиенты ---------- */
.h-about__title { margin-bottom: 32px; }
.h-nums { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 16px; }
.h-num { background: var(--white); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.h-num__value { font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.h-num__label { font-size: 14px; line-height: 1.4; color: var(--muted); }
.h-docs { list-style: none; margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.h-doc { display: flex; align-items: center; gap: 14px; min-height: 76px; background: var(--white); border-radius: var(--r); padding: 18px 22px; color: var(--ink); }
.h-doc:hover { color: var(--navy); }
.h-doc__icon { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--bg); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.h-doc__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.h-doc__title { font-size: 16px; line-height: 1.3; font-weight: 800; }
.h-doc__meta { font-size: 13px; color: var(--muted); }
.h-clients__title { margin: 48px 0 16px; font-size: 22px; line-height: 1.25; }
.h-clients__title--h2 { margin: 0 0 32px; font-size: 34px; }
.h-logos { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 16px; }
.h-logos li { background: var(--white); border-radius: 16px; height: 120px; display: flex; align-items: center; justify-content: center; padding: 10px; }
.h-logos img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* ---------- планшет ---------- */
@media (min-width: 900px) {
	.h-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
	.h-mosaic--n4 { grid-template-rows: 240px 200px; }
	.h-fire__body { padding: 32px; }
	.h-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.h-facts.sm-checks--grid { grid-column: 1 / -1; grid-template-columns: repeat(4, auto); justify-content: space-between; }
}

/* ---------- телефон ---------- */
@media (max-width: 760px) {
	.h-hero { padding: 24px 0 40px; }
	.h-hero__head { gap: 12px; }
	.h-hero__title .sm-eyebrow { margin-bottom: 10px; }
	.h-hero__title .sm-eyebrow--dot::before, .h-hero__company { display: none; }
	.h-hero__side { gap: 18px; max-width: none; }
	.h-hero__actions { flex-direction: column; align-items: stretch; gap: 10px; }
	.h-hero__actions .sm-btn { min-height: 52px; white-space: normal; }
	.h-hero__actions .sm-btn .sm-icon { display: none; }
	.h-hero__call { display: none; }
	.h-hero__pick { display: inline-flex; }

	.h-mosaic { margin-top: 20px; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; }
	.h-mosaic--n4 { grid-template-rows: repeat(3, 100px); }
	.h-mosaic--n4 > :nth-child(1) { grid-row: 1 / span 3; }
	.h-mosaic--n4 > :nth-child(2) { grid-column: auto; }
	.h-mosaic__tile { border-radius: 16px; }
	.h-mosaic__card { left: 10px; right: 10px; bottom: 10px; max-width: none; padding: 8px 10px; border-radius: 12px; }
	.h-mosaic__name { font-size: 13px; }
	.h-mosaic__card .sm-price { font-size: 12px; font-weight: 700; white-space: normal; }
	.h-mosaic__pill { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 4px 10px; font-size: 12px; border-radius: 10px; }
	.h-mosaic__pp { display: none; }

	.h-paths { margin-top: 12px; gap: 8px; grid-template-columns: 1fr; }
	.h-path { min-height: 76px; padding: 14px 18px; border-radius: 16px; gap: 12px; }
	.h-path__body { gap: 0; }
	.h-path__label { font-size: 12px; }
	.h-path__title { font-size: 19px; }
	.h-path__text { display: none; }
	.h-path__icon { flex-basis: 40px; height: 40px; }
	.h-facts.sm-checks--grid { margin-top: 6px; padding: 0; background: none; border-radius: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
	.h-facts li { font-size: 13px; gap: 6px; }
	.h-facts .sm-icon { width: 16px; height: 16px; flex-basis: 16px; }

	.h-vybor .sm-sechead { margin-bottom: 16px; }
	.h-chips { gap: 8px; margin-bottom: 16px; }
	.h-chip { min-height: 44px; padding: 0 16px; font-size: 14px; }
	.h-chip[aria-pressed="true"] .sm-icon { display: none; }
	.h-vybor__panel { gap: 16px; }
	.h-scene { min-height: 0; overflow: visible; border-radius: 0; background: none; display: flex; flex-direction: column; gap: 12px; }
	.h-scene__img { position: relative; inset: auto; display: block; height: 220px; border-radius: 18px; }
	.h-scene__badge { top: 12px; left: 12px; font-size: 12px; padding: 6px 12px; gap: 6px; }
	.h-scene__cap { position: static; padding: 0; background: none; border-radius: 0; gap: 4px; }
	.h-scene__label { display: none; }
	.h-scene__title { font-size: 20px; }
	.h-scene__text { font-size: 14px; line-height: 1.5; }
	.h-recs { grid-template-columns: 1fr; gap: 8px; }
	.h-rec { flex-direction: row; align-items: center; gap: 14px; min-height: 80px; padding: 8px 14px 8px 8px; border-radius: 16px; }
	.h-rec__img { flex: 0 0 84px; width: 84px; height: 64px; border-radius: 10px; overflow: hidden; }
	.h-rec__body { flex: 1 1 auto; padding: 0; gap: 1px; }
	.h-rec__group { font-size: 12px; }
	.h-rec__name { font-size: 16px; line-height: 1.25; }
	.h-rec__price { margin-top: 0; font-size: 14px; }
	.h-rec__chev { display: block; flex: 0 0 18px; }
	.h-vybor__foot { margin-top: 14px; flex-direction: column; align-items: flex-start; gap: 4px; }
	.h-vybor__foot .sm-note { font-size: 13px; }
	.h-vybor__foot .sm-arrowlink { min-height: 44px; }

	.h-all { margin: 0 0 24px; padding: 20px; gap: 20px; border-radius: 20px; }
	.h-all__head { font-size: 17px; }
	.h-all li a { padding: 10px 0; }
	.h-fire { margin-top: 24px; border-radius: 20px; }
	.h-fire__img { flex-basis: 100%; min-height: 0; height: 150px; }
	.h-fire__body { padding: 20px; gap: 10px; }
	.h-fire__title { font-size: 20px; line-height: 1.2; }
	.h-fire__text { font-size: 14px; line-height: 1.55; }
	.h-fire .sm-chip { font-size: 13px; padding: 6px 12px; }
	.h-kat__note { margin-top: 12px; font-size: 13px; }

	.h-steps__cards { gap: 10px; }
	.h-step { flex-direction: row; align-items: flex-start; gap: 14px; padding: 16px; border-radius: 16px; }
	.h-step__icon { flex-basis: 44px; width: 44px; height: 44px; border-radius: 12px; }
	.h-step__icon .sm-icon { width: 22px; height: 22px; }
	.h-step__body { gap: 2px; }
	.h-step__title { font-size: 17px; }
	.h-step__text { font-size: 14px; line-height: 1.5; }
	.h-process { margin-top: 24px; padding-top: 20px; grid-template-columns: 1fr; gap: 12px; }
	.h-process li { display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; row-gap: 0; align-items: center; }
	.h-process__num { grid-row: span 2; align-self: start; }
	.h-process__title { font-size: 15px; }
	.h-process__text { grid-column: 2; font-size: 13px; }

	.h-sys__grid { gap: 10px; }
	.h-brand { padding: 20px; gap: 14px; border-radius: 20px; }
	.h-brand__name { font-size: 20px; }
	.h-profs { grid-template-columns: 1fr; gap: 10px; }
	.h-prof { flex-direction: row; align-items: center; gap: 14px; }
	.h-prof__img { flex: 0 0 96px; width: 96px; border-radius: 10px; }
	.h-prof__name { font-size: 15px; }
	.h-brand__link { min-height: 44px; }

	.h-obj__grid { gap: 10px; }
	.h-proj--main { flex-basis: 100%; min-height: 0; display: flex; flex-direction: column; background: var(--bg); border-radius: 20px; }
	.h-proj--main .h-proj__img { position: relative; inset: auto; height: 220px; }
	.h-proj__card { position: static; max-width: none; background: none; border-radius: 0; padding: 18px 20px 20px; gap: 8px; }
	.h-proj__title { font-size: 20px; }
	.h-proj__text { font-size: 14px; line-height: 1.55; }
	.h-proj__card .sm-chip { background: var(--white); }
	.h-obj__side { gap: 10px; }
	.h-objcta { padding: 22px 20px; gap: 10px; }
	.h-objcta__icon { width: 44px; height: 44px; margin-bottom: 4px; }
	.h-objcta__title { font-size: 22px; margin-top: 0; }
	.h-objcta__text { font-size: 15px; }
	.h-objcta .sm-btn { width: 100%; }

	.h-about__title { margin-bottom: 16px; }
	.h-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.h-num { padding: 14px 12px; border-radius: 14px; gap: 2px; }
	.h-num__value { font-size: 20px; }
	.h-num__label { font-size: 12px; line-height: 1.35; }
	.h-docs { gap: 8px; margin-top: 8px; }
	.h-doc { min-height: 64px; padding: 12px 14px; }
	.h-clients__title { margin: 28px 0 12px; font-size: 20px; }
	.h-clients__title--h2 { margin: 0 0 16px; font-size: 24px; }
	.h-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.h-logos li { height: 72px; border-radius: 12px; padding: 6px; }
}
@media (max-width: 360px) {
	.h-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.h-chip { padding: 0 14px; }
}
