/* Анимированные сцены с каркасными деталями (static/m3d.js). У каждого раздела свой фон. */
[data-sc]{--sc:#14275a}
[data-sc="to-filtry"]{--sc:#0f3a57}
[data-sc="tormoza"]{--sc:#561520}
[data-sc="podveska"]{--sc:#22304a}
[data-sc="dvigatel"]{--sc:#2c1f63}
[data-sc="transmissiya"]{--sc:#5e2c09}
[data-sc="ohlazhdenie"]{--sc:#0a4752}
[data-sc="elektrika"]{--sc:#433609}
[data-sc="kuzov"]{--sc:#183a56}
[data-sc="toplivnaya"]{--sc:#0e4128}
[data-sc="vyhlop"]{--sc:#3d2e27}
[data-sc="konditsioner"]{--sc:#134577}
[data-sc="akpp"]{--sc:#b9480a}
[data-sc="krepezh"]{--sc:#363c46}
[data-sc="aksessuary"]{--sc:#1f4650}
[data-sc="kolesa"]{--sc:#23232b}
[data-sc="prochee"]{--sc:#3a3354}

.scene{position:relative;display:block;overflow:hidden;height:220px;border-radius:14px;color:#fff;text-decoration:none;isolation:isolate;
 background-color:var(--sc,#14275a);
 background-image:radial-gradient(90% 80% at 50% 42%,rgba(255,255,255,.11),transparent 62%),linear-gradient(180deg,rgba(255,255,255,.03),rgba(0,0,0,.3)),
  repeating-linear-gradient(0deg,rgba(255,255,255,.05) 0 1px,transparent 1px 26px),repeating-linear-gradient(90deg,rgba(255,255,255,.05) 0 1px,transparent 1px 26px);
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);transition:background-color .9s ease,box-shadow .2s}
.scene canvas{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:0}
.scene-caps{position:absolute;left:0;right:0;bottom:9px;height:18px;pointer-events:none;z-index:1}
.scene-caps span{position:absolute;top:0;transform:translateX(-50%);max-width:32%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 font-size:12px;line-height:18px;color:rgba(255,255,255,.82);background:rgba(0,0,0,.26);border-radius:4px;padding:0 7px}
.scene-name{position:absolute;top:10px;left:12px;z-index:1;font-weight:700;font-size:14px;line-height:1.2;background:rgba(0,0,0,.28);border-radius:999px;padding:5px 12px;transition:background .2s}
.scene-name::after{content:" →";opacity:.8}
a.scene:hover{box-shadow:inset 0 0 0 1px rgba(255,255,255,.32);color:#fff}
a.scene:hover .scene-name{background:rgba(0,0,0,.42)}
a.scene:focus-visible{outline:2px solid #fff;outline-offset:3px}

/* главная: правая колонка синего блока */
.hero{grid-template-columns:minmax(0,1fr) minmax(0,500px)}
.hero-side{display:grid;gap:12px;min-width:0}
.hero-side .hero-vin{max-width:none}
.scene-home{height:206px}

/* оранжевый блок АКПП на главной и шапка /akpp/ */
.band-side{display:grid;gap:12px;align-content:start;min-width:0;position:relative;z-index:1}
.scene-band{height:200px;background-color:rgba(70,20,0,.2);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.scene-akhero{height:176px;margin-bottom:14px;background-color:rgba(60,16,0,.22);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}

/* шапка раздела каталога и узла АКПП */
.cat-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,50%);align-items:stretch;margin:8px 0 16px;border-radius:14px;overflow:hidden;color:#fff;
 background:linear-gradient(100deg,rgba(0,0,0,.28),rgba(0,0,0,0) 60%),var(--sc,#14275a);transition:background-color .6s}
.cat-hero-txt{padding:22px 24px;align-self:center;min-width:0}
.cat-hero .cat-head .ic{color:#fff;opacity:.9}
.cat-hero .cat-head h1{color:#fff;margin:4px 0}
.cat-hero-txt p{margin:6px 0 0;color:rgba(255,255,255,.84);max-width:52ch}
.cat-hero .scene{height:auto;min-height:200px;border-radius:0;background-color:transparent;box-shadow:none}
.cat-hero.ak{background:linear-gradient(115deg,#7a2c05 0%,#c94a06 50%,#e8590c 100%)}

@media (max-width:980px){.hero{grid-template-columns:minmax(0,1fr) minmax(0,400px)}.scene-home{height:190px}}
@media (max-width:760px){
 .hero{grid-template-columns:minmax(0,1fr)}
 .scene-home{height:168px}.scene-band{height:168px}.scene-akhero{height:150px}
 .cat-hero{grid-template-columns:minmax(0,1fr)}
 .cat-hero-txt{padding:16px 16px 4px}
 .cat-hero .scene{min-height:160px}
 .scene-caps span{font-size:10px;padding:0 6px}
}
@media (prefers-reduced-motion:reduce){.scene,.cat-hero{transition:none}}
