/* Страница 3D-макетов: блоки «Макеты заводов» на дизайн-системе ds.css (21.10.2026) */
.mk-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--ds-2, 16px); }
.mk-stats > div { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: var(--ds-r-md, 12px); background: var(--ds-accent-soft, #eff7f5); border: 1px solid var(--ds-accent-line, #cfe6de); }
.mk-stats b { font-size: 26px; line-height: 1.15; font-weight: 800; color: var(--ds-accent, #008060); white-space: nowrap; }
.mk-stats span { font-size: var(--ds-small, 14px); line-height: 1.4; color: var(--ds-muted, #5d6b66); }
.mk-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--ds-accent-soft, #eff7f5); color: var(--ds-accent, #008060); margin-bottom: 4px; }
.mk-factors .ds-card, .mk-levels .ds-card { gap: 8px; }
.mk-levels .ds-card { position: relative; padding-top: 22px; }
.mk-level { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ds-accent, #008060); color: #fff; font-weight: 800; }
.mk-level-main { box-shadow: 0 8px 24px rgba(0, 128, 96, .12); }
.mk-badge { position: absolute; top: 14px; right: 14px; padding: 3px 10px; border-radius: 999px; background: #f1810b; color: #fff; font-size: 12px; font-weight: 700; }
.mk-team { justify-content: center; }
.mk-team .ds-chip { font-size: 15px; padding: 8px 16px; }
.mk-cta { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ds-3, 24px); padding: 28px 32px; }
.mk-cta > div:first-child { flex: 1 1 380px; min-width: 0; }
.mk-cta .ds-actions { flex: 0 0 auto; }
.mk-cta .ds-h2 { margin-bottom: 8px; }
@media (max-width: 900px) { .mk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .mk-stats b { font-size: 22px; } .mk-cta { padding: 22px 18px; } .mk-cta .ds-actions { flex: 1 1 100%; min-width: 0; } .mk-cta .ds-btn { width: 100%; } }
.mk-level-img { display: block; width: calc(100% + 48px); max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: -22px -24px 6px; border-radius: 15px 15px 0 0; background: #eceeef; }
.mk-levels .ds-card .mk-badge { z-index: 1; }
.mk-tech { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--ds-3, 24px); align-items: center; }
.mk-tech + .mk-tech { margin-top: var(--ds-4, 32px); }
.mk-tech--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.mk-tech--rev .mk-tech-img { order: 2; }
.mk-tech-img { display: block; width: 100%; height: auto; border-radius: 16px; }
.mk-tech-list ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; line-height: 1.45; }
.mk-tech-list li::marker { color: var(--ds-accent, #008060); }
@media (max-width: 900px) { .mk-tech, .mk-tech--rev { grid-template-columns: minmax(0, 1fr); } .mk-tech--rev .mk-tech-img { order: 0; } }
.mk-kinds { margin-bottom: var(--ds-4, 32px); }
.mk-gal { display: flex; flex-direction: column; gap: 12px; max-width: 860px; margin: 0 auto; }
.mk-gal-main { aspect-ratio: 3 / 2; background: #1f2623; border-radius: 16px; overflow: hidden; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.mk-gal-main img { display: block; width: 100%; height: 100%; object-fit: contain; transition: opacity .2s ease; }
.mk-gal-thumbs { position: relative; }
.mk-gal-track { display: flex; gap: 10px; margin: 0 44px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.mk-gal-track::-webkit-scrollbar { display: none; }
.mk-gal-thumb { flex: 0 0 calc(20% - 8px); padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.mk-gal-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.mk-gal-thumb.is-active, .mk-gal-thumb:hover, .mk-gal-thumb:focus-visible { opacity: 1; }
.mk-gal-thumb.is-active { border-color: var(--ds-accent, #008060); }
.mk-gal-btn { position: absolute; top: 0; bottom: 0; width: 36px; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--ds-accent, #008060); color: #fff; cursor: pointer; }
.mk-gal-btn--prev { left: 0; }
.mk-gal-btn--next { right: 0; }
@media (max-width: 700px) { .mk-gal-thumb { flex-basis: calc(33.333% - 7px); } .mk-gal-track { margin: 0 40px; } }
