
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#090909;color:#eee;font:16px Arial,sans-serif}a{color:inherit;text-decoration:none}a:focus-visible{outline:2px solid #ff5100;outline-offset:4px}em{color:#ff5100;font-style:inherit}.wrap{max-width:1600px;margin:auto;padding:0 3%}header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:90px;border-bottom:1px solid #333}.brand{display:flex;align-items:center;gap:18px}.brand img{width:76px;height:76px;object-fit:contain}.brand strong{font-size:clamp(24px,3.2vw,48px);font-style:italic;font-weight:900;white-space:nowrap}.brand small{display:block;letter-spacing:.24em;font-size:11px;margin-top:5px}nav,.icons{display:flex;align-items:center;gap:18px}nav a{font-size:14px;white-space:nowrap}nav a:hover,.active{color:#ff5100}.icons img{width:30px;height:30px;display:block}.hero{position:relative;min-height:380px;background:linear-gradient(90deg,#090909 0%,#090909 27%,#09090900 63%),url(../assets/hero.webp) right center/auto 100% no-repeat;display:flex;align-items:center;border-bottom:1px solid #333}.hero .wrap{width:100%;padding-top:40px;padding-bottom:40px}.hero h1{font-size:clamp(38px,5vw,70px);font-style:italic;margin:0 0 8px;line-height:1;font-weight:900}.hero h2{font-size:clamp(20px,2.4vw,34px);font-weight:400;max-width:570px;margin:0 0 18px}.hero p{border-left:5px solid #ff5100;padding:5px 16px;max-width:520px}.btn{display:inline-flex;align-items:center;gap:10px;border:2px solid #ff5100;border-radius:12px;padding:13px 24px;font-weight:bold;background:#100b08e8}.btn:hover{background:#ff5100;color:#fff}.vk{position:absolute;right:3%;top:16px;font-size:13px;padding:8px 13px}.vk img{width:28px}.section{padding-top:20px;padding-bottom:8px}.heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:12px}.heading h2{margin:0;font-size:25px}.heading h2:before{content:'';display:inline-block;width:10px;height:26px;background:#ff5100;transform:skew(-20deg);margin-right:15px;vertical-align:middle}.heading span{color:#aaa;font-size:14px;font-style:italic}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.card{display:flex;align-items:center;gap:18px;background:linear-gradient(130deg,#191919,#111);border:1px solid #343434;border-radius:10px;padding:20px;min-height:110px}.card svg{width:58px;height:58px;flex:none;stroke:#ff5100;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.card h3{font-size:17px;margin:0 0 6px}.card p{font-size:14px;color:#bbb;margin:0;line-height:1.4}.portfolio{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.tile{min-height:125px;border:1px solid #343434;border-radius:9px;background:linear-gradient(145deg,#181818,#0c0c0c);display:flex;flex-direction:column;justify-content:flex-end;padding:16px;gap:8px}.tile small{color:#ff5100;font-weight:bold;letter-spacing:2px}.tile span{font-size:14px;color:#aaa}.about{color:#bbb;line-height:1.6;max-width:850px;margin:0 0 12px}footer{margin-top:24px;border-top:1px solid #ff5100}.foot{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:18px;padding-bottom:18px;flex-wrap:wrap}.foot .brand img{width:65px;height:65px}.foot .brand strong{font-size:23px}.links{display:flex;gap:18px;flex-wrap:wrap}.links a{display:flex;align-items:center;gap:8px;font-size:13px}.links img{width:32px;height:32px}.links small{display:block;color:#aaa}.bottom{border-top:1px solid #333;padding:14px 3%;font-size:12px;color:#aaa;text-align:right}@media(max-width:1150px){header{flex-wrap:wrap;padding-top:12px;padding-bottom:12px}nav{order:3;width:100%;justify-content:center}.cards{grid-template-columns:repeat(2,1fr)}.hero{background-position:right center}.hero h2{max-width:460px}}@media(max-width:650px){header{gap:12px}.brand img{width:52px;height:52px}.brand small{font-size:8px}.icons{gap:8px}.icons img{width:24px;height:24px}nav{justify-content:flex-start;overflow:auto;gap:16px;padding-bottom:6px}.hero{min-height:540px;align-items:flex-end;background:linear-gradient(0deg,#090909 12%,#090909e0 35%,transparent 80%),url(../assets/hero.webp) 70% top/auto 62% no-repeat}.hero .wrap{padding-bottom:25px}.hero h2{font-size:23px}.cards{grid-template-columns:1fr}.portfolio{grid-template-columns:repeat(2,1fr)}.heading span{display:none}.card{min-height:90px}.foot{gap:18px}.vk{top:12px}.hero p{font-size:14px}}

@media(min-width:1151px){.wrap{max-width:none;padding-left:3%;padding-right:3%}header{min-height:100px}.brand img{width:100px;height:100px}.brand strong{font-size:clamp(34px,3.4vw,54px)}.brand small{font-size:13px}nav{gap:24px}nav a{font-size:16px;padding:25px 0}nav a.active{border-bottom:3px solid #ff5100}.icons img{width:34px;height:34px}.hero{min-height:clamp(420px,32vw,620px);background:linear-gradient(90deg,#090909 0%,#090909 34%,#090909b8 39%,#09090945 48%,transparent 60%),url(../assets/hero.webp) right center/auto 100% no-repeat;background-color:#090909}.hero h1{font-size:clamp(52px,4.5vw,76px)}.hero h2{max-width:650px;font-size:clamp(26px,2.2vw,36px)}.hero p{font-size:18px;max-width:650px}.hero .btn:not(.vk){padding:16px 32px}.hero .vk{right:3%;top:12px;transform:translateY(-2px);font-size:11px;background:#090909dc}.card{min-height:112px}.card svg{width:66px;height:66px}.card h3{font-size:19px}.card p{font-size:15px}.heading h2{font-size:28px}.tile{min-height:155px}.foot .brand img{width:84px;height:84px}.foot .brand small{letter-spacing:0;font-size:14px}}
@media(min-width:651px) and (max-width:1150px){.hero{background:linear-gradient(90deg,#090909ed,#09090975 38%,transparent 75%),url(../assets/hero.webp) right center/auto 100% no-repeat}}
@media(min-width:1151px){.hero{background-size:100% 100%,90% auto;background-position:center,right center;background-image:linear-gradient(90deg,#090909 0%,#090909 19%,#090909d9 26%,#09090966 35%,transparent 49%),url(../assets/hero.webp);}}
.tile-electronics{background:linear-gradient(0deg,rgba(0,0,0,.88),transparent 65%),url(../assets/electronics.webp) center/cover no-repeat;text-shadow:0 1px 4px #000}
.tile-calibrations{background:linear-gradient(0deg,rgba(0,0,0,.88),transparent 65%),url(../assets/calibrations.webp) center/cover no-repeat;text-shadow:0 1px 4px #000}
.tile-cars{background:linear-gradient(0deg,rgba(0,0,0,.88),transparent 65%),url(../assets/cars.webp) center/cover no-repeat;text-shadow:0 1px 4px #000}
.tile-ecu{background:linear-gradient(0deg,rgba(0,0,0,.88),transparent 65%),url(../assets/ecu.webp) center/cover no-repeat;text-shadow:0 1px 4px #000}

.tile[data-preview]{cursor:zoom-in;transition:border-color .2s}.tile[data-preview]:hover{border-color:#ff5100}
#preview{border:1px solid #444;border-radius:12px;background:#090909;color:white;padding:0;max-width:96vw;max-height:94vh;overflow:visible}#preview::backdrop{background:#000d}#preview img{display:block;max-width:94vw;max-height:90vh;object-fit:contain;border-radius:11px}#preview button{position:absolute;right:8px;top:8px;width:40px;height:40px;border:1px solid #ff5100;border-radius:50%;background:#090909dd;color:white;font-size:26px;cursor:pointer}


@media (max-width: 900px) and (orientation: portrait) {
header.wrap {display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:8px;min-height:0;padding:8px 12px;}
header .brand {justify-content:center;gap:10px;max-width:100%;}
header .brand img {width:46px;height:46px;flex:none;}
header .brand strong {font-size:clamp(20px,5.8vw,32px);}
header .brand small {font-size:clamp(7px,1.9vw,10px);letter-spacing:.13em;}
header .icons {justify-content:center;gap:16px;}
header .icons img {width:26px;height:26px;}
header nav {order:3;width:100%;justify-content:space-between;gap:4px;overflow:visible;padding:0;}
header nav a {font-size:clamp(10px,3.2vw,15px);padding:7px 0;}
}

/* Portrait mobile hero only */
@media (max-width:900px) and (orientation:portrait) {
.hero {display:flex;flex-direction:column;align-items:stretch;min-height:0;background:#090909;gap:0;padding-bottom:16px;}
.hero::before {content:"";display:block;order:0;width:100%;aspect-ratio:1.85;background:url(../assets/hero.webp) right center / 125% auto no-repeat;}
.hero .wrap {order:1;padding:6px 5% 9px;width:100%;}
.hero h1 {font-size:clamp(30px,8vw,52px);margin-bottom:8px;}
.hero h2 {font-size:clamp(18px,4.8vw,26px);line-height:1.3;max-width:none;margin-bottom:9px;}
.hero h2 br {display:none;}
.hero p {font-size:15px;line-height:1.45;margin:9px 0 12px;}
.hero .btn:not(.vk) {display:flex;justify-content:center;width:100%;padding:8px 16px;}
.hero .vk {order:2;position:static;transform:none;align-self:stretch;margin:0 5%;justify-content:center;padding:8px 16px;font-size:13px;}
}

.project-copy p{margin:0 0 12px}.project-copy strong{color:#eee}.project-copy ul{padding-left:22px;margin:0 0 16px}.project-copy li{margin-bottom:5px}.project-copy li::marker{color:#ff5100}.project-copy .project-note{border-left:3px solid #ff5100;background:#141414;padding:12px 16px;border-radius:0 6px 6px 0}

/* v24 interactive tools */
[hidden]{display:none!important}#progress{position:fixed;top:0;left:0;height:3px;background:#ff5100;z-index:99;width:0}#top{position:fixed;bottom:18px;right:18px;z-index:10;background:#171717;color:#ff5100;border:1px solid #ff5100;border-radius:8px;width:44px;height:44px;font-size:25px;cursor:pointer}.card,.tile{transition:border-color .2s,transform .2s}.card:hover,.tile:hover{border-color:#ff5100;transform:translateY(-2px)}.reveal{opacity:0;transform:translateY(12px);transition:opacity .4s,transform .4s}.reveal.visible{opacity:1;transform:none}.panel{background:linear-gradient(130deg,#191919,#111);border:1px solid #343434;border-radius:10px;padding:20px;min-width:0}.panel h3{margin:0 0 15px}.toolgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px}.formgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}.panel label{display:block;color:#bbb;font-size:14px;margin:0 0 10px}.panel input,.panel select,.panel textarea{display:block;width:100%;margin-top:5px;padding:10px;border:1px solid #444;border-radius:6px;background:#0b0b0b;color:#eee;font:inherit;color-scheme:dark}.panel input:focus,.panel select:focus,.panel textarea:focus{outline:2px solid #ff5100}.panel output{display:block;border-top:1px solid #444;padding-top:12px;color:#ff8a50;line-height:1.5}.panel .btn{color:#eee;cursor:pointer;font:inherit;margin:5px 0}.muted{color:#aaa;font-size:14px;line-height:1.5}#regionMap{width:100%;max-width:560px;display:block;margin:12px 0}#regionMap text{fill:#ddd;font-size:12px}#regionMap circle{fill:#777}#regionMap g{cursor:pointer}#regionMap .selected circle{fill:#ff5100}#preview img{max-height:76vh}#preview .gallerybar{display:flex;align-items:center;justify-content:center;gap:12px;padding:10px}#preview .gallerybar button{position:static;flex:none;width:36px;height:36px}#galleryCaption{font-size:14px;text-align:center}header nav{flex-wrap:wrap;justify-content:center;gap:12px}header nav a{padding:8px 0}@media(min-width:1151px){header{flex-wrap:wrap}header nav{order:3;width:100%;padding-bottom:8px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}.reveal{opacity:1;transform:none}}

#dealerResult{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;margin:16px 0}.dealer-card{border:1px solid #444;border-left:3px solid #ff5900;border-radius:8px;padding:16px;background:#151515;min-width:0}.dealer-card h3{margin:0 0 8px}.dealer-card .btn{white-space:normal;text-align:center}

.hq{border:1px solid #ff5900;border-left:5px solid #ff5900;background:#21160f;padding:18px;border-radius:8px;margin:18px 0}.hq-label{color:#ff8a40;font-size:12px;font-weight:700;letter-spacing:1px}.hq h3{margin:8px 0}.map-scroll{overflow-x:auto;border:1px solid #444;border-radius:8px;background:#101010}#regionMap{display:block;width:100%;min-width:900px;height:auto;max-height:none;background:repeating-linear-gradient(0deg,transparent 0 49px,#ffffff0a 49px 50px),repeating-linear-gradient(90deg,transparent 0 49px,#ffffff0a 49px 50px)}#regionMap g{cursor:pointer;outline:none}#regionMap g circle{fill:#999;stroke:#101010;stroke-width:2}#regionMap g text{fill:#ddd;font-size:12px;pointer-events:none}#regionMap g.main-location circle{fill:#ff5900}#regionMap g.main-location text{fill:#ff8a40;font-weight:bold;font-size:15px}#regionMap g.selected circle,#regionMap g:focus circle,#regionMap g:hover circle{stroke:#fff;stroke-width:3;fill:#ff5900}#regionMap g.selected text{fill:#ff8a40;font-weight:bold}.map-legend{font-size:13px;color:#bbb}.map-legend span:first-child{color:#ff8a40}

#regionMap{width:100%;min-width:0;max-width:none;height:clamp(340px,55vw,560px);margin:0;background:#171717;z-index:0}.map-scroll{overflow:hidden}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#202020;color:#eee}.leaflet-popup-content a{color:#ff8a40}.leaflet-tooltip{background:#202020;color:#fff;border-color:#ff7629}.leaflet-container .leaflet-control-attribution{background:#222;color:#ddd}.leaflet-control-attribution a{color:#ffad80}

/* Dark OpenStreetMap tiles only; markers and labels remain unchanged. */
#regionMap .osm-dark-tiles{filter:invert(1) hue-rotate(180deg) saturate(.55) brightness(.85) contrast(.9)}
#regionMap{position:relative;background:#141e25;overflow:hidden}#regionMap svg{display:block;touch-action:none;cursor:grab}#regionMap svg g circle{fill:#ff5900;stroke:#171717;stroke-width:1.5}#regionMap svg g.selected circle{stroke:#fff;stroke-width:3}#regionMap svg g text{fill:#fff;font-size:12px;paint-order:stroke;stroke:#141e25;stroke-width:3px;stroke-linejoin:round}#regionMap svg g[role=button]{cursor:pointer}.local-controls{position:absolute;top:10px;left:10px;display:flex;gap:5px;flex-wrap:wrap}.local-controls button,.local-popup button{background:#202020;color:#fff;border:1px solid #666;border-radius:5px;padding:8px;cursor:pointer}.local-popup{position:absolute;bottom:30px;left:10px;max-width:85%;background:#202020;border:1px solid #ff5900;border-radius:7px;padding:14px 40px 14px 14px}.local-popup a{display:block;color:#ff9955;margin-top:8px}.local-popup button{position:absolute;right:5px;top:5px}.local-credit{position:absolute;bottom:4px;right:8px;color:#ccc;background:#141e25;font-size:10px}

/* v30 atlas */
#regionMap{height:clamp(380px,65vw,650px);background:#102b40}#regionMap svg g text.country-label{font-size:15px;letter-spacing:1.6px;font-weight:700;fill:#d1dce7;opacity:.85;stroke:#203747;stroke-width:3px}#regionMap svg g text.region-label{font-size:11px;fill:#a9c5d5;stroke:#203747;stroke-width:2px}#regionMap svg .hq-star{fill:#ff6500;stroke:#fff;stroke-width:2;stroke-linejoin:round}#regionMap svg g[role=button]:hover text{display:block!important;fill:#ffb16e;font-weight:bold}#regionMap svg g[role=button]:hover circle{stroke:#fff;stroke-width:3}#regionMap svg g[role=button] text{font-size:12px;fill:#fff} @media(max-width:600px){#regionMap{height:460px}#regionMap svg g text.country-label{font-size:11px}}

#regionMap .admin-region{stroke:#82939d;stroke-width:.7;cursor:grab}#regionMap .admin-region.covered{filter:brightness(1.38);stroke:#b1a184;stroke-width:1}#regionMap .admin-region:hover{filter:brightness(1.65);stroke:#ffc18c;stroke-width:1.5}

/* v32 atlas */
#regionMap .admin-region.covered{filter:brightness(1.58);stroke:#c5b69a;stroke-width:1}#regionMap .admin-region:hover{filter:brightness(1.8)}#regionMap svg g text.region-label{font-size:13px;fill:#d4e5ef;stroke:#263b49;stroke-width:2.5px}#regionMap svg g text.country-label{font-size:17px;fill:#e2edf6;opacity:.95}#regionMap svg g text.sea-label{font-size:12px;fill:#a4c9e5;font-style:italic;letter-spacing:.5px;stroke:#102b40} .atlas-legend{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:13px;color:#ccc;margin:10px 0}.atlas-legend span{display:inline-flex;align-items:center;gap:7px}.atlas-legend i{width:15px;height:12px;background:var(--swatch);border:1px solid #82939d;border-radius:3px}.atlas-legend .coverage-swatch{background:#4c7899;border-color:#c5b69a}@media(max-width:600px){#regionMap svg g text.country-label{font-size:12px}#regionMap svg g text.region-label{font-size:11px}}

#regionMap .admin-region.disputed{stroke:#e2c6a0;stroke-width:1.4;stroke-dasharray:5 3}

/* v46: main navigation, matching technical pages */
body#home > header.wrap {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding-top:12px;padding-bottom:14px;background:linear-gradient(165deg,#303336,#101112 55%);border-bottom:2px solid #ff781f;box-shadow:0 4px 18px #ff650033,inset 0 1px #ffffff22;}
body#home > header.wrap .brand {justify-self:start;min-width:0;}
body#home > header.wrap .icons {grid-column:2;grid-row:1;justify-self:end;}
body#home > header.wrap nav {grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:100%;padding:0;overflow:visible;}
body#home > header.wrap nav a {display:flex;align-items:center;justify-content:center;gap:7px;color:#f5f5f5;text-decoration:none;font-weight:750;font-size:16px;padding:11px 15px;border:1px solid #525458;border-radius:12px;background:linear-gradient(#25282b,#101112);transition:box-shadow .2s,border-color .2s;white-space:nowrap;}
body#home > header.wrap nav a:hover,body#home > header.wrap nav a.active {color:#ff9b40;border:1px solid #ff781f;box-shadow:inset 0 0 16px #ff650033,0 0 10px #ff650055;}
body#home > header.wrap nav svg {width:22px;height:22px;flex:none;}
@media(max-width:900px){body#home > header.wrap {grid-template-columns:minmax(0,1fr);justify-items:center;gap:9px;}body#home > header.wrap .brand {justify-self:center;}body#home > header.wrap .icons {grid-column:1;grid-row:2;justify-self:center;}body#home > header.wrap nav {grid-row:3;gap:6px;}body#home > header.wrap nav a {font-size:13px;padding:8px 10px;gap:5px;}body#home > header.wrap nav svg {width:17px;height:17px;}}

/* Technical portal cards */
#resources .card > svg {display:block; width:58px; height:58px; flex:0 0 58px; stroke:#ff5100; fill:none; stroke-width:1.15;}
#resources .card > div {min-width:0;}
@media (min-width:1600px){#resources .card > svg{width:66px;height:66px;flex-basis:66px;}}

/* v49: interactive services */
#services .service-trigger{font:inherit;color:inherit;text-align:left;width:100%;cursor:pointer;min-width:0;}
.service-copy{display:block;min-width:0}.service-title{display:block;font-size:17px;font-weight:700;margin-bottom:6px}.service-summary{display:block;font-size:14px;color:#bbb;line-height:1.4}.service-more{display:block;color:#ff651c;font-size:12px;font-weight:700;margin-top:8px}.service-trigger:focus-visible,#serviceDialog button:focus-visible,#serviceDialog a:focus-visible{outline:2px solid #ff8a42;outline-offset:3px}
#serviceDialog{box-sizing:border-box;width:min(620px,calc(100% - 32px));max-height:85dvh;overflow:auto;margin:auto;padding:30px;color:#eee;background:linear-gradient(145deg,#222,#101010);border:1px solid #ff5100;border-radius:14px;box-shadow:0 0 24px #ff510044;position:fixed;inset:0;text-align:left}
#serviceDialog::backdrop{background:#000b;backdrop-filter:blur(4px)}#serviceDialog[open]{animation:service-in .2s ease-out}#serviceDialog h2{color:#ff651c;font-size:25px;margin:0 35px 16px 0}#serviceDialog p,#serviceDialog li{line-height:1.55}#serviceDialog ul{padding-left:22px;margin:16px 0}#serviceDialog li{margin:8px 0}#serviceDialog li::marker{color:#ff5100}#serviceDialog .service-note{color:#bbb;font-size:14px;border-top:1px solid #444;padding-top:14px;margin:18px 0}#serviceDialog .service-close{position:absolute;top:10px;right:12px;background:#171717;color:#fff;border:1px solid #555;border-radius:8px;width:36px;height:36px;font-size:25px;cursor:pointer}#serviceDialog .service-close:hover{border-color:#ff5100;color:#ff5100}#serviceDialog [hidden]{display:none!important}body:has(#serviceDialog[open]){overflow:hidden}@keyframes service-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){#serviceDialog{padding:22px 18px}#serviceDialog h2{font-size:21px}}@media(prefers-reduced-motion:reduce){#serviceDialog[open]{animation:none}}

/* v53: project information panels */
.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px;align-items:stretch}.project-grid .project-panel{min-width:0;margin:0;padding:24px;background:linear-gradient(135deg,#202020,#111);border:1px solid #80401f;border-radius:12px;box-shadow:inset 0 1px 0 #ffffff0c}.project-grid .heading{margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid #493022}.project-grid .heading h2{display:flex;align-items:center;gap:12px;font-size:25px}.project-grid .heading h2:before{display:none}.project-grid .heading svg{width:36px;height:36px;color:#ff5100;flex:none}.project-grid .project-copy{max-width:none;width:100%;font-size:16px;line-height:1.65;margin:0;color:#d0d0d0}.project-grid .project-copy p{margin:0 0 14px}.project-grid .project-copy p:last-child{margin-bottom:0}.project-grid .project-copy li{margin-bottom:8px}.project-grid .project-note{background:#101010;border-radius:0 8px 8px 0;padding:14px 16px}@media(max-width:900px){.project-grid{grid-template-columns:1fr}.project-grid .project-panel{padding:18px}}

/* Country flags */
.project-copy .project-countries{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:18px 0}.project-copy .project-countries li{display:flex;align-items:center;gap:9px;margin:0;padding:9px 13px;border:1px solid #704020;border-radius:8px;background:#191919;color:#eee;font-weight:600}.project-countries img{width:36px;height:26px;object-fit:contain;flex:none}

/* v55 — Visual Effects, homepage only */
@keyframes iv55-glow{0%,100%{text-shadow:0 0 7px #ff510044}50%{text-shadow:0 0 19px #ff510099}}
@keyframes iv55-enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
@keyframes iv55-pulse{0%,100%{stroke-opacity:.35;stroke-width:2}50%{stroke-opacity:.95;stroke-width:5}}
@keyframes iv55-boot{0%{opacity:1}72%{opacity:1}100%{opacity:0}}
#iv55-boot{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:#090909;color:#eee;pointer-events:none;animation:iv55-boot .85s both;font-family:system-ui,sans-serif}
#iv55-boot>div{width:min(85vw,420px);text-align:center}#iv55-boot strong{font-size:clamp(28px,6vw,48px);letter-spacing:3px}#iv55-boot em{color:#ff651c;font-style:normal}#iv55-boot p{font:12px monospace;color:#aaa;letter-spacing:2px}#iv55-boot span{display:block;height:2px;background:#ff651c;box-shadow:0 0 15px #ff5100;transform-origin:left;animation:iv55-load .65s ease-out both}@keyframes iv55-load{from{transform:scaleX(0)}to{transform:scaleX(1)}}
header .brand strong em{animation:iv55-glow 4s ease-in-out infinite}.hero .wrap{animation:iv55-enter .65s ease-out both}.hero h1 em{animation:iv55-glow 5s ease-in-out infinite}
#progress{box-shadow:0 0 9px #ff5100aa}header nav a,.icons a,.btn{transition:box-shadow .25s,border-color .25s,background-color .25s,color .25s}
#services .card,#resources .card,.portfolio .tile{position:relative;overflow:hidden;transition:opacity .4s,transform .3s,border-color .3s,box-shadow .3s}
#services .card::after,#resources .card::after,.portfolio .tile::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 35%,#ffffff12 49%,transparent 63%);transform:translateX(-120%);transition:transform .65s}
#services .card svg,#resources .card svg{transition:transform .3s,filter .3s}
.iv55-heading{animation:iv55-enter .45s ease-out both}.iv55-heading h2{filter:drop-shadow(0 0 5px #ff510033)}
#regionMap g.selected>circle,#regionMap g.selected>.hq-star{stroke:#ff651c;animation:iv55-pulse 2.5s ease-in-out infinite}
@media(hover:hover) and (pointer:fine){header nav a:hover,.btn:hover{box-shadow:0 0 15px #ff510044}#services .card:hover,#resources .card:hover,.portfolio .tile:hover{transform:translateY(-4px);box-shadow:0 5px 22px #ff510033;border-color:#ff651c}#services .card:hover::after,#resources .card:hover::after,.portfolio .tile:hover::after{transform:translateX(120%)}#services .card:hover svg,#resources .card:hover svg{transform:scale(1.08);filter:drop-shadow(0 0 6px #ff510088)}.icons a:hover{filter:drop-shadow(0 0 7px #ff510088)}.icons a[href*="t.me"]:hover{filter:drop-shadow(0 0 7px #29a9eb)}.icons a[href*="vk.ru"]:hover{filter:drop-shadow(0 0 7px #2787f5)}.icons a[href*="youtube"]:hover{filter:drop-shadow(0 0 7px #ff2222)}}
@media(max-width:900px),(prefers-reduced-motion:reduce){header .brand strong em,.hero h1 em,#regionMap g.selected>circle,#regionMap g.selected>.hq-star{animation:none}}
@media(prefers-reduced-motion:reduce){#iv55-boot{display:none}.hero .wrap,.iv55-heading{animation:none}#services .card:hover,#resources .card:hover,.portfolio .tile:hover{transform:none}}

/* v56 — illuminated header */
@keyframes iv56-logo{0%,100%{filter:drop-shadow(0 0 3px #ff8b38) drop-shadow(0 0 9px #ff5100aa)}50%{filter:drop-shadow(0 0 5px #ffb064) drop-shadow(0 0 16px #ff5100ee)}}
body#home > header.wrap .brand > img{filter:drop-shadow(0 0 4px #ff8b38) drop-shadow(0 0 12px #ff5100cc);animation:iv56-logo 3.5s ease-in-out infinite}
body#home > header.wrap nav a{position:relative;overflow:hidden;isolation:isolate;border-color:#785039;background:linear-gradient(180deg,#383330 0%,#232120 46%,#171717 48%,#101010 100%);box-shadow:inset 0 1px 0 #ffffff25,inset 0 -2px 0 #ff651c66,0 2px 6px #0008;transition:color .22s,border-color .22s,box-shadow .22s,transform .22s}
body#home > header.wrap nav a::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 30%,#ffb47735 50%,transparent 70%);transform:translateX(-130%);transition:transform .65s ease}
body#home > header.wrap nav a svg{transition:color .22s,filter .22s; color:#ff9557}
body#home > header.wrap nav a.active,body#home > header.wrap nav a:focus-visible{color:#ffb36b;border-color:#ff781f;background:linear-gradient(180deg,#50301c,#231710 52%,#17110d);box-shadow:inset 0 0 13px #ff650044,inset 0 -2px #ff781f,0 0 12px #ff650066}
body#home > header.wrap nav a:focus-visible{outline:2px solid #ffb36b;outline-offset:3px}
@media(hover:hover) and (pointer:fine){body#home > header.wrap nav a:hover{color:#ffb36b;border-color:#ff781f;transform:translateY(-2px);box-shadow:inset 0 0 16px #ff650044,0 0 15px #ff650077}body#home > header.wrap nav a:hover::after{transform:translateX(130%)}body#home > header.wrap nav a:hover svg,body#home > header.wrap nav a.active svg{color:#ffb36b;filter:drop-shadow(0 0 4px #ff6500)}body#home > header.wrap nav a:active{transform:translateY(1px)}}
@media(max-width:900px),(prefers-reduced-motion:reduce){body#home > header.wrap .brand > img{animation:none}}
@media(prefers-reduced-motion:reduce){body#home > header.wrap nav a,body#home > header.wrap nav a::after,body#home > header.wrap nav a svg{transition:none}body#home > header.wrap nav a:hover,body#home > header.wrap nav a:active{transform:none}body#home > header.wrap nav a::after{display:none}}

/* v57: desktop car cursor; preserve precision controls */
@media (hover:hover) and (pointer:fine) {
 body {cursor:url('../assets/cursor-normal.png') 10 6,auto;}
 a,button,summary,[role="button"],label[for] {cursor:url('../assets/cursor-hover.png') 10 6,pointer;}
 a:active,button:active,summary:active,[role="button"]:active {cursor:url('../assets/cursor-press.png') 10 6,pointer;}
 input:not([type]),input[type="text"],input[type="number"],input[type="search"],textarea,[contenteditable="true"] {cursor:text;}
 select,input[type="checkbox"],input[type="radio"],input[type="file"] {cursor:pointer;}
 input[type="range"] {cursor:ew-resize;}
 .map-scroll {cursor:grab;}
 .map-scroll:active {cursor:grabbing;}
 canvas {cursor:crosshair;}
}
