/* ENERGOKOD 1.2 — shared navigation, industry links and team experience. */
:root { --nav-blue:#16428a; --nav-line:#c5d9f6; --ui-ease:cubic-bezier(.2,.7,.2,1); }
html {scroll-padding-top:120px}
.ui-icon {display:block;width:24px;height:24px;flex:none}
.site-header .header-inner {min-height:98px;gap:26px}
.site-header .main-nav {gap:10px;flex-shrink:0}
.site-header .main-nav > a.nav-tile {
 position:relative;display:flex;align-items:center;justify-content:center;gap:9px;
 min-height:56px;padding:13px 14px;margin:0;border:1px solid var(--nav-line);
 border-radius:16px;background:linear-gradient(150deg,#f6faff,#e7f0fd);color:var(--nav-blue);
 font-size:17px!important;font-weight:700;line-height:1.25;text-decoration:none;white-space:nowrap;
 box-shadow:0 3px 0 #dce7f67a,inset 0 1px 0 #fff;
 transition:background .2s var(--ui-ease),color .2s,transform .2s,box-shadow .2s,border-color .2s;
}
.nav-symbol {display:grid;place-items:center;flex:none;color:#2661c3}
.site-header .main-nav>a.nav-tile:hover,
.site-header .main-nav>a.nav-tile[aria-current=page],
.site-header .main-nav>a.nav-tile[data-section-current=true] {
 background:linear-gradient(125deg,#174caa,#266bdb);border-color:#215dcc;color:#fff;
 box-shadow:0 8px 20px #1c5bbe30,inset 0 1px 0 #ffffff30;
}
.site-header .main-nav>a.nav-tile:hover {transform:translateY(-2px)}
.main-nav>a.nav-tile:hover .nav-symbol,.main-nav>a.nav-tile[aria-current] .nav-symbol,
.main-nav>a.nav-tile[data-section-current] .nav-symbol {color:#d8ebff}
.site-header .main-nav>a.nav-contact {
 background:linear-gradient(125deg,#ffea8b,#ffd247);border-color:#edc131;
 color:#102347!important;box-shadow:0 6px 20px #cfa81e24,inset 0 1px 0 #fff4c5;
}
.main-nav>a.nav-contact .nav-symbol {color:#1a4385}
.site-header .main-nav>a.nav-contact:hover,.site-header .main-nav>a.nav-contact[aria-current] {
 background:linear-gradient(125deg,#ffe477,#ffcb32);color:#102347!important;border-color:#e0b225;
}
.main-nav>a.nav-contact:hover .nav-symbol,.main-nav>a.nav-contact[aria-current] .nav-symbol {color:#102347}
.nav-tile:focus-visible,.sector-link:focus-visible,.hero-scroll:focus-visible,
.experience-link:focus-visible {outline:3px solid #144dcc;outline-offset:4px}
.hero-scroll:focus-visible {outline-color:#ffde55}
/* The downward arrow is an actual section link, not a decorative caption. */
.hero .hero-scroll {
 display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:16px;
 width:390px;max-width:calc(100% - 40px);min-height:64px;padding:12px 18px;
 margin:32px auto 0;border:1px solid #789dde;border-radius:18px;
 background:linear-gradient(115deg,#164284,#1c54a0);color:#fff;
 font-size:18px;font-weight:700;letter-spacing:0;line-height:1.35;
 box-shadow:0 12px 25px #041c4833,inset 0 1px 0 #ffffff2e;
 transition:transform .22s,background .22s,border-color .22s,box-shadow .22s;
}
.hero-scroll .scroll-label {text-align:center}
.scroll-symbol,.scroll-arrow {display:grid;place-items:center;min-width:0;width:36px;height:36px;border-radius:11px}
.scroll-symbol {background:#e5f0ff;color:#1a4b91}
.scroll-arrow {background:#ffdf59;color:#102347;transition:transform .22s}
.hero .hero-scroll:hover {transform:translateY(-2px);background:linear-gradient(115deg,#1c4e98,#2663b5);border-color:#afccff;box-shadow:0 16px 34px #031a4b4d}
.hero-scroll:hover .scroll-arrow {transform:translateY(3px)}
/* Each industry has a real destination and equal-size clickable surface. */
.sector-links {padding:18px 0;background:linear-gradient(105deg,#ffe783,#ffd84f);border-block:1px solid #edc443}
.sector-links > .container.sector-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.sector-link {
 display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:13px;
 min-width:0;min-height:80px;padding:14px 16px;background:#fff5ca;border:1px solid #e1b936;
 border-radius:18px;color:#17355f;font-size:17px;font-weight:700;line-height:1.3;letter-spacing:0;
 box-shadow:0 3px 0 #cda92b30,inset 0 1px 0 #fff;transition:color .22s,background .22s,border-color .22s,transform .22s,box-shadow .22s;
}
.sector-symbol {display:grid;place-items:center;width:42px;height:42px;flex:none;background:#194b9c;color:#ffe171;border-radius:12px;box-shadow:0 5px 12px #15377624}
.sector-label {display:block;min-width:0}
.sector-arrow .ui-icon {width:18px;height:18px;transition:transform .22s}
.sector-link:hover {background:#17428e;color:#fff;border-color:#17428e;transform:translateY(-3px);box-shadow:0 9px 20px #18366f24}
.sector-link:hover .sector-symbol {background:#ffdf59;color:#153567}
.sector-link:hover .sector-arrow .ui-icon {transform:translateX(3px)}
.industry-block[id],#experience,#solutions {scroll-margin-top:124px}
.industry-block:focus {outline:none}
.industry-block:target {outline:2px solid #8fb5f0;outline-offset:12px;border-radius:16px}
/* The dates below describe experience, not the age of the legal entity. */
.team-experience {position:relative;background:#f2f7ff;border-block:1px solid #dce7f7}
.experience-layout {display:grid;grid-template-columns:1.06fr 1fr 1fr;gap:24px;align-items:stretch}
.experience-layout>* {min-width:0}
.experience-intro {align-self:center;padding-right:16px}
.experience-intro h2 {font-size:clamp(30px,3vw,42px);line-height:1.16;max-width:100%;color:#102347;margin:0 0 22px}
.experience-intro>p:not(.eyebrow) {font-size:17px;color:#455d7b;line-height:1.65;margin:0 0 22px}
.experience-link {display:inline-flex;align-items:center;gap:14px;min-height:48px;font-size:17px;font-weight:700;color:#194fba;text-decoration:none}
.experience-link .ui-icon {width:20px;height:20px;transition:transform .2s}
.experience-link:hover .ui-icon {transform:translateX(4px)}
.experience-card {position:relative;display:flex;flex-direction:column;gap:0;padding:28px;border-radius:24px;border:1px solid #c2d7f5;min-width:0;isolation:isolate;overflow:hidden;background:#fff;box-shadow:0 14px 35px #183d6a0b}
.experience-card::before {content:"";position:absolute;z-index:-1;right:-34px;top:-36px;width:145px;height:145px;border:24px solid #e9f2ff;border-radius:50%;pointer-events:none}
.experience-card--engineering {background:#112f5e;border-color:#264f89;color:#fff}
.experience-card--engineering::before {border-color:#254c7f}
.experience-card-top {display:flex;align-items:center;gap:12px;min-height:48px;margin-bottom:28px}
.experience-icon {display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:13px;background:#e5efff;color:#2058ae}
.experience-card--engineering .experience-icon {background:#ffdf59;color:#143667}
.experience-tag {font-size:11px;font-weight:700;letter-spacing:.04em;color:#466184;line-height:1.4;overflow-wrap:normal}
.experience-card--engineering .experience-tag {color:#cadef8}
.experience-number {margin:0 0 20px;color:#194da5}
.experience-prefix {display:block;font-size:16px;font-weight:700;line-height:1.35;margin-bottom:2px}
.experience-number strong {display:block;font-size:68px;line-height:1.07;letter-spacing:-.045em;font-weight:750;white-space:nowrap}
.experience-number strong>span {font-size:28px;letter-spacing:-.015em;font-weight:700}
.experience-card--engineering .experience-number {color:#ffe06a}
.experience-card h3 {font-size:24px;line-height:1.25;margin:0 0 12px;color:#122b50}
.experience-card--engineering h3 {color:#f6faff}
.experience-card>p:last-child {font-size:16px;line-height:1.65;color:#48607e;margin:0;flex:1}
.experience-card--engineering>p:last-child {color:#d5e3f7}
.contact-card .button {margin-bottom:0}
.footer-bottom {font-size:14px;line-height:1.5}
/* Optional browser-native cross-document transitions, always progressive. */
@media(prefers-reduced-motion:no-preference){
 @view-transition {navigation:auto}
 ::view-transition-old(root){animation:ui-page-out .14s ease-out both}
 ::view-transition-new(root){animation:ui-page-in .23s ease-out both}
 @keyframes ui-page-out{to{opacity:.5}}
 @keyframes ui-page-in{from{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:none}}
}
@media(max-width:1199px){
 .site-header .header-inner {min-height:86px;position:relative;gap:22px;flex-wrap:wrap}
 .site-header .menu-toggle {display:flex;flex-direction:column;justify-content:center;gap:7px;padding:12px;margin-left:auto;border:1px solid #bfd3f2;border-radius:14px;background:#eaf2ff}
 .site-header .menu-toggle span {display:block;width:22px;height:2px;background:#163966}
 .site-header .main-nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;padding:14px 0;position:static}
 .site-header .main-nav>a.nav-tile {justify-content:flex-start;white-space:normal;font-size:18px!important;min-height:58px;padding:15px 18px}
 .site-header .main-nav>a.nav-contact {grid-column:1/-1;justify-content:center}
 .js .site-header .main-nav {display:none;position:absolute;left:auto;right:0;top:calc(100% + 8px);width:min(640px,100%);padding:18px;max-height:calc(100dvh - 120px);overflow-y:auto;border:1px solid #bfd3f2;border-radius:22px;background:#fff;box-shadow:0 20px 60px #0b23413d;z-index:45}
 .js .site-header .main-nav.is-open {display:grid}
 html:not(.js) .site-header .menu-toggle {display:none}
 html:not(.js) .site-header .main-nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));position:static;box-shadow:none;gap:10px;padding:12px 0 18px}
 .sector-links > .container.sector-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .experience-layout {grid-template-columns:repeat(2,minmax(0,1fr))}
 .experience-intro {grid-column:1/-1;max-width:750px;padding:0}
 .experience-intro h2 br {display:none}
}
@media(max-width:760px){
 .site-header .header-inner {min-height:78px;gap:12px}
 .site-header .main-nav>a.nav-tile {font-size:17px!important;padding:13px 10px;gap:9px}
 .js .site-header .main-nav {width:100%;top:calc(100% + 5px);padding:14px;border-radius:18px;gap:10px}
 .nav-symbol .ui-icon {width:22px;height:22px}
 .hero .hero-scroll {font-size:16px;grid-template-columns:32px minmax(0,1fr) 32px;gap:10px;padding:12px;min-height:60px;width:350px;max-width:calc(100% - 40px);margin-top:28px}
 .scroll-symbol,.scroll-arrow {width:32px;height:32px}
 .sector-links {padding:15px 0}
 .sector-links > .container.sector-grid {gap:12px}
 .sector-link {grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;gap:10px;padding:16px 10px;min-height:146px;font-size:16px}
 .sector-label {min-height:62.4px;display:flex;align-items:center;justify-content:center;line-height:1.3}
 .sector-arrow {display:none}
 .experience-layout {grid-template-columns:minmax(0,1fr);gap:20px}
 .experience-intro {grid-column:auto}
 .experience-intro h2 {font-size:32px;margin-bottom:16px}
 .experience-card {padding:26px}
 .experience-card-top {margin-bottom:20px}
 .experience-number strong {font-size:64px}
 .experience-card h3 {font-size:25px}
 .experience-card>p:last-child {font-size:17px}
 .footer-bottom {font-size:14px}
}
@media(max-width:370px){
 .site-header .main-nav>a.nav-tile {font-size:16px!important;gap:7px;padding:12px 8px}
 .js .site-header .main-nav {padding:10px;gap:8px}
 .nav-symbol .ui-icon {width:20px;height:20px}
 .hero .hero-scroll {max-width:calc(100% - 30px)}
 .experience-tag {font-size:10px}
}
@media(prefers-reduced-motion:reduce){
 .nav-tile,.sector-link,.hero-scroll,.scroll-arrow,.ui-icon {transition:none!important;animation:none!important}
 html {scroll-behavior:auto!important}
 ::view-transition-old(root),::view-transition-new(root){animation:none!important}
}
@media print{
 .sector-links,.hero-scroll,.experience-link{display:none!important}
 .team-experience,.experience-card{background:white!important;color:black!important;box-shadow:none}
 .experience-card *{color:black!important}.experience-card::before{display:none}
}
