/* Витрина четырёх направлений. Все 16 ссылок остаются в исходном HTML. */
.tech-tabs[hidden],.tech-preview[hidden],.tech-panel[hidden],.tech-media[hidden],#technology-showcase .svc[hidden]{display:none}
.tech-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;border-bottom:1px solid var(--line);margin-bottom:32px}
.tech-tab{font-family:inherit;font-size:15px;font-weight:500;line-height:1.4;color:var(--silver-dim);background:none;border:0;border-bottom:2px solid transparent;padding:0 0 17px;text-align:left;cursor:pointer;min-height:56px;transition:color .2s,border-color .2s}
.tech-tab small{display:block;font-size:10px;letter-spacing:.08em;margin-bottom:8px;color:var(--silver-dim)}
.tech-tab[aria-selected="true"]{color:#fff;border-bottom-color:#fff}
.tech-tab:hover{color:#fff}
.tech-panel{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:32px 48px;align-items:center;animation:tech-enter .22s ease}
.tech-copy{min-width:0}
.tech-copy>h3{font-size:clamp(1.5rem,2.4vw,2.1rem);font-weight:600;line-height:1.2;letter-spacing:-.025em;max-width:20ch}
.tech-description{margin:18px 0 24px;color:var(--silver);font-size:15px;line-height:1.65;max-width:43ch}
.tech-service-list>h3{display:none}
.tech-service-list ul{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
.tech-service-list li{min-width:0;border-bottom:1px solid var(--line)}
.tech-service-list a{display:flex;align-items:center;min-height:48px;padding-block:9px;font-size:13px;font-weight:500;line-height:1.5;color:var(--silver);transition:color .2s}
.tech-service-list a:hover{color:#fff}
.tech-media{position:relative;min-width:0;aspect-ratio:1.48;border:1px solid var(--line-strong);border-radius:18px;overflow:hidden;background:linear-gradient(135deg,#11163f,#05082d);isolation:isolate}
.tech-media>img{width:100%;height:100%;object-fit:cover}
.tech-media::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;box-shadow:inset 0 0 0 1px #ffffff05;border-radius:inherit}
.tech-image-caption{position:absolute;z-index:2;bottom:0;left:0;right:0;padding:46px 24px 22px;background:linear-gradient(transparent,#02041fd9);font-size:12px;letter-spacing:.02em;color:#fff;pointer-events:none}
.tech-photo .tech-image-caption{display:flex;justify-content:space-between;gap:12px}
.tech-photo .tech-image-caption span+span{color:var(--silver)}
.tech-photo>img{transition:transform .7s ease}
@media(hover:hover) and (pointer:fine){.tech-photo:hover>img{transform:scale(1.035)}}
.tech-demo-label{position:absolute;top:18px;left:18px;z-index:3;padding:7px 10px;border:1px solid #ffffff25;border-radius:7px;background:#030736b8;font-size:10px;font-weight:500;letter-spacing:.025em;color:var(--silver)}
.tech-compare{--split:50%;cursor:ew-resize;touch-action:pan-y}
.tech-compare>img,.tech-compare-layer,.tech-compare-layer img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tech-compare-layer{clip-path:inset(0 calc(100% - var(--split)) 0 0);pointer-events:none}
.tech-compare-divider{position:absolute;top:0;bottom:0;left:var(--split);width:1px;background:#ffffffbd;pointer-events:none;z-index:2}
.tech-compare-divider span{position:absolute;top:50%;left:0;transform:translate(-50%,-50%);width:46px;height:32px;display:grid;place-items:center;border:1px solid #ffffff80;background:#0a0e36dd;border-radius:9px;color:#fff;font-family:inherit;font-size:18px;font-weight:500;line-height:1}
.tech-compare input{position:absolute;z-index:4;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;touch-action:pan-y}
.tech-compare:focus-within{outline:2px solid #fff;outline-offset:4px}
.tech-compare-labels{position:absolute;z-index:3;left:18px;right:18px;bottom:18px;display:flex;justify-content:space-between;gap:12px;pointer-events:none;font-size:11px;color:var(--silver)}
.tech-compare-labels span{padding:6px 9px;border-radius:6px;background:#030736b8;border:1px solid #ffffff15}
.tech-note{color:var(--silver-dim);font-size:11px;line-height:1.6;margin-top:12px}
.tech-note a{text-decoration:underline;text-underline-offset:3px}
.tech-vr>img{object-position:center}
.tech-point{position:absolute;z-index:3;top:48%;left:37%;width:36px;height:36px;border:1px solid #fff;border-radius:50%;background:#030736b8;color:#fff;font-family:inherit;font-size:22px;font-weight:400;line-height:1;cursor:pointer;box-shadow:0 0 0 7px #03073625;transition:background .2s,box-shadow .2s}
.tech-point+ .tech-point{top:54%;left:74%}
.tech-point[aria-pressed="true"]{background:#fff;color:var(--navy);box-shadow:0 0 0 7px #ffffff18}
.tech-point-info{position:absolute;z-index:3;left:20px;right:20px;bottom:20px;background:#030736e8;border:1px solid var(--line-strong);border-radius:10px;padding:13px 16px;font-size:12px;line-height:1.6;color:var(--silver);pointer-events:none}
.tech-point-info b{display:block;font-weight:600;color:#fff;margin-bottom:4px}
.tech-vr.is-open .tech-image-caption{display:none}
.tech-device-controls{position:absolute;z-index:3;right:16px;top:16px;display:flex;padding:3px;border:1px solid var(--line-strong);border-radius:9px;background:#030736d9;gap:2px}
.tech-device-controls button{font-family:inherit;font-size:10px;border:0;border-radius:6px;min-height:32px;padding:0 10px;background:none;color:var(--silver);cursor:pointer}
.tech-device-controls button[aria-pressed="true"]{background:#ffffff17;color:#fff}
.tech-web{display:flex;align-items:center;justify-content:center;padding:62px 30px 28px}
.tech-site{width:100%;height:100%;max-height:300px;border:1px solid var(--line-strong);border-radius:10px;overflow:hidden;background:#05082b;position:relative;transition:width .45s var(--ease-out),border-radius .45s ease}
.tech-site-hero{position:relative;height:100%;padding:18px 22px;display:flex;flex-direction:column;justify-content:space-between;isolation:isolate}
.tech-site-hero>img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover}
.tech-site-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#030736e8,#03073655),linear-gradient(0deg,#030736a8,transparent)}
.tech-site-brand{font-size:9px;font-weight:600;letter-spacing:.04em}
.tech-site-brand span{float:right;color:var(--silver);font-size:8px;font-weight:400}
.tech-site-title{font-size:clamp(16px,2.5vw,32px);font-weight:600;line-height:1.15;letter-spacing:-.03em;max-width:14ch;margin-block:15px}
.tech-site-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:7px;color:var(--silver)}
.tech-site-cta{font-family:inherit;font-size:inherit;border:0;cursor:pointer;min-height:32px;padding:8px 12px;border-radius:20px;background:#fff;color:var(--navy);font-weight:600;white-space:nowrap}
.tech-web.is-phone .tech-site{width:150px;max-height:310px;border-radius:20px}
.tech-web.is-phone .tech-site-hero{padding:18px 13px}
.tech-web.is-phone .tech-site-brand{font-size:7px}
.tech-web.is-phone .tech-site-brand span{display:none}
.tech-web.is-phone .tech-site-title{font-size:22px;max-width:8ch}
.tech-web.is-phone .tech-site-bottom{flex-direction:column;align-items:flex-start;gap:8px}
.tech-noscript-note{color:var(--silver-dim);font-size:13px;margin-bottom:22px}
@keyframes tech-enter{from{opacity:.4}to{opacity:1}}
@media(max-width:860px){
 .tech-panel{grid-template-columns:1fr;gap:24px}
 .tech-media-wrap{grid-row:1}
 .tech-media{aspect-ratio:1.6}
 .tech-copy>h3{font-size:25px;max-width:28ch}
 .tech-description{max-width:60ch;margin-block:12px 18px}
 .tech-service-list ul{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tech-site-title{font-size:clamp(23px,5vw,38px)}
}
@media(max-width:540px){
 .tech-tabs{grid-template-columns:1fr 1fr;gap:0 20px;margin-bottom:24px}
 .tech-tab{padding-block:12px;font-size:12px;min-height:60px;line-height:1.3}
 .tech-tab small{display:inline;margin-right:7px;margin-bottom:0;font-size:9px}
 .tech-media{border-radius:12px;aspect-ratio:1.38}
 .tech-demo-label{top:12px;left:12px;font-size:9px;padding:6px 8px}
 .tech-copy>h3{font-size:23px}
 .tech-description{font-size:14px}
 .tech-service-list a{font-size:12px;min-height:48px}
 .tech-image-caption{padding:40px 15px 15px;font-size:10px}
 .tech-photo .tech-image-caption span+span{display:none}
 .tech-point-info{left:12px;right:12px;bottom:12px;padding:10px 12px;font-size:10px}
 .tech-compare-labels{left:10px;right:10px;bottom:12px;font-size:9px}
 .tech-point{width:34px;height:34px}
 .tech-device-controls{top:12px;right:12px}
 .tech-device-controls button{font-size:9px;padding-inline:8px}
 .tech-web{padding:52px 16px 18px}
 .tech-site-hero{padding:13px}
 .tech-site-brand{font-size:8px}
 .tech-site-brand span{display:none}
 .tech-site-title{font-size:24px}
 .tech-web.is-phone .tech-site{width:116px}
 .tech-web.is-phone .tech-site-title{font-size:18px}
 .tech-site-bottom>span{display:none}
 .tech-site-cta{font-size:7px;padding:6px 9px}
 .tech-note{font-size:10px}
}
@media(max-width:360px){
 .tech-web.is-phone .tech-site{width:94px}
 .tech-web.is-phone .tech-site-hero{padding:10px 8px}
 .tech-web.is-phone .tech-site-title{font-size:14px;margin-block:9px}
 .tech-web.is-phone .tech-site-brand{font-size:6px}
 .tech-web.is-phone .tech-site-cta{font-size:6px;padding:6px 8px}
}
@media(prefers-reduced-motion:reduce){
 .tech-panel{animation:none}
 .tech-site,.tech-photo>img,.tech-tab,.tech-point{transition:none}
}

/* Три вида одной архитектурной сцены. План загружается по запросу. */
.tech-house-controls{display:flex;gap:6px;margin-bottom:12px}
.tech-house-controls button{font-family:inherit;font-size:12px;font-weight:500;padding:11px 14px;border:1px solid var(--line-strong);border-radius:8px;background:transparent;color:var(--silver);cursor:pointer;min-height:44px}
.tech-house-controls button[aria-pressed="true"]{background:#ffffff12;color:#fff;border-color:#ffffff60}
.tech-house-controls button:focus-visible,.tech-site-cta:focus-visible{outline:2px solid #fff;outline-offset:3px}
.tech-compare,.tech-house-plan{aspect-ratio:48/31}
.tech-house-plan>img{object-fit:contain}
@media(max-width:540px){.tech-house-controls button{font-size:11px;padding-inline:12px}.tech-compare,.tech-house-plan{aspect-ratio:48/31}}

.bb-unsure{display:inline-block;margin:16px 0 0 16px;font-size:12px;line-height:1.6;color:var(--silver);text-decoration:underline;text-underline-offset:4px}
@media(max-width:540px){.bb-unsure{margin-left:0;display:block;padding-block:6px}}

/* Let translated content shrink inside the mobile grid track. */
@media(max-width:860px){.tech-panel{grid-template-columns:minmax(0,1fr)}.tech-media-wrap{min-width:0}.tech-service-list a{overflow-wrap:anywhere}}
