:root{--bg:#07101a;--bg-soft:#0b1726;--panel:rgba(12,29,45,.78);--text:#f5f9ff;--muted:#a9b8cb;--line:rgba(170,207,235,.14);--accent:#52e0ea;--accent-2:#4b8cff;--radius:24px;--shadow:0 24px 70px rgba(0,0,0,.34);--max:1220px}
body{font-family:Inter,"Segoe UI",Arial,sans-serif;background:#07101a;overflow-x:hidden}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 82% 18%,rgba(75,140,255,.14),transparent 28%),radial-gradient(circle at 12% 54%,rgba(82,224,234,.07),transparent 23%)}
.container{width:min(calc(100% - 40px),var(--max))}
.site-header{background:rgba(7,16,26,.76);backdrop-filter:blur(20px) saturate(140%)}
.nav-wrap{min-height:92px;gap:24px}.brand-logo{width:86px;height:72px;transform:scale(1.55);transform-origin:center;filter:drop-shadow(0 7px 20px rgba(82,224,234,.32))}
.brand-text strong{font-size:17px;letter-spacing:-.2px}.brand-text small{font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.site-nav{gap:24px}.site-nav a{font-size:14px;font-weight:600}.site-nav>a{position:relative}.site-nav>a:not(.nav-cta)::after{content:"";position:absolute;right:0;bottom:-9px;left:0;height:2px;background:var(--accent);transform:scaleX(0);transition:.2s ease}.site-nav>a:hover::after,.site-nav>a.active::after{transform:scaleX(1)}
.nav-cta{padding:10px 17px;border-color:rgba(82,224,234,.3)}.lang-switch{gap:5px;padding:4px;margin-left:0;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.03)}.lang-link{min-width:34px;height:30px;padding:0 9px;border:0;font-size:11px}.lang-link.active{background:linear-gradient(135deg,var(--accent),#9af5f1)}
.hero{position:relative;min-height:720px;padding:118px 0 72px;isolation:isolate;overflow:hidden}.hero::before{content:"";position:absolute;inset:0;z-index:-2;background:url("../images/hero-automation.png") center/cover no-repeat}.hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,12,20,.98) 0%,rgba(5,12,20,.92) 39%,rgba(5,12,20,.52) 65%,rgba(5,12,20,.18) 100%),linear-gradient(0deg,var(--bg),transparent 28%)}
.hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(320px,.65fr);gap:70px}.hero-copy{max-width:760px}.badge{display:inline-flex;align-items:center;gap:9px;padding:8px 13px;margin-bottom:22px;background:rgba(6,17,27,.58);color:#9bf5f4;font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;backdrop-filter:blur(12px)}.badge::before{content:"";width:7px;height:7px;border-radius:50%;background:#ffb45b;box-shadow:0 0 16px #ffb45b}
h1{max-width:870px;font-size:clamp(42px,5.3vw,72px);letter-spacing:-.045em;text-wrap:balance}h2{font-size:clamp(30px,4vw,46px);letter-spacing:-.035em;text-wrap:balance}h3{letter-spacing:-.02em}.lead{max-width:680px;line-height:1.75}
.btn{min-height:50px;border-radius:14px;transition:transform .2s ease,box-shadow .2s ease}.btn:hover{transform:translateY(-3px)}.btn-primary{box-shadow:0 13px 32px rgba(75,140,255,.22)}.btn-secondary{background:rgba(8,18,29,.62);backdrop-filter:blur(12px)}
.hero-stats{gap:10px}.stat-card{padding:15px 16px;border-radius:16px;background:rgba(7,17,28,.56);box-shadow:none;backdrop-filter:blur(12px)}.stat-card strong{color:var(--accent);font-size:17px}.stat-card span{font-size:12px;line-height:1.45}
.card,.hero-panel,.step-card{background:linear-gradient(145deg,rgba(18,36,55,.84),rgba(9,22,35,.76))}.hero-panel{background:rgba(7,17,28,.68);backdrop-filter:blur(18px)}.hero-panel h3::before{content:"+";margin-right:10px;color:var(--accent)}.focus-list{gap:8px}.focus-item{padding:13px 15px;border-left:2px solid rgba(82,224,234,.38);border-radius:4px;background:rgba(255,255,255,.025);transition:.25s ease}.focus-item:hover{transform:translateX(4px);border-color:var(--accent)}.focus-item strong{margin-bottom:3px;font-size:14px}.focus-item span{font-size:12px;line-height:1.5}

.section{padding:88px 0}.section-head{max-width:720px;margin:0 auto 38px}.section-head p{font-size:17px}.two-col{gap:64px}
.service-card,.detail-card{transition:transform .25s ease,border-color .25s ease}.service-card:hover,.detail-card:hover{transform:translateY(-7px);border-color:rgba(82,224,234,.38)}
.icon-box{width:52px;height:52px;margin-bottom:22px;border-radius:16px;box-shadow:inset 0 1px rgba(255,255,255,.1)}
.tick-list{padding:0;list-style:none}.tick-list li{position:relative;padding:8px 0 8px 30px}.tick-list li::before{content:"✓";position:absolute;left:0;color:var(--accent);font-weight:900}
.step-card{position:relative;padding:28px;overflow:hidden}.step-number{border-radius:12px;color:var(--accent);background:rgba(82,224,234,.1);border:1px solid rgba(82,224,234,.35)}
.cta-box{padding:42px;background:radial-gradient(circle at 10% 0%,rgba(82,224,234,.16),transparent 42%),linear-gradient(135deg,rgba(18,40,58,.95),rgba(9,23,38,.9));box-shadow:var(--shadow)}
.page-hero{position:relative;padding:105px 0 66px;overflow:hidden}.page-hero::after{content:"";position:absolute;top:-160px;right:-90px;width:520px;height:520px;border:1px solid rgba(82,224,234,.12);border-radius:50%;box-shadow:0 0 100px rgba(75,140,255,.08),inset 0 0 100px rgba(82,224,234,.04)}.page-hero .container{position:relative;z-index:1}.page-hero p{max-width:770px;font-size:19px}
.contact-form input:focus,.contact-form textarea:focus{border-color:var(--accent);box-shadow:0 0 0 4px rgba(82,224,234,.08)}
.reveal{opacity:0;transform:translateY(22px);transition:opacity .65s ease,transform .65s ease}.reveal.visible{opacity:1;transform:none}
@media(max-width:1080px){.brand-text{display:none}.site-nav{gap:17px}.hero-grid{grid-template-columns:1fr .58fr;gap:32px}}
@media(max-width:900px){.nav-wrap{min-height:72px}.brand-logo{width:58px;height:58px}.menu-toggle{margin-left:auto}.site-nav{top:72px;background:rgba(8,20,33,.98);box-shadow:var(--shadow)}.site-nav>a::after{display:none}.hero{min-height:auto;padding:88px 0 54px}.hero::before{background-position:64% center}.hero::after{background:linear-gradient(90deg,rgba(5,12,20,.97),rgba(5,12,20,.8)),linear-gradient(0deg,var(--bg),transparent 35%)}.hero-panel{display:none}.two-col{gap:24px}}
@media(max-width:640px){.container{width:min(calc(100% - 28px),var(--max))}.lang-switch{display:none}h1{font-size:clamp(38px,11.5vw,53px)}.hero{padding-top:68px}.hero-stats{grid-template-columns:1fr}.stat-card{display:grid;grid-template-columns:90px 1fr;align-items:center}.section{padding:64px 0}.cta-box{padding:28px}.btn{width:100%}.page-hero{padding:76px 0 45px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}.reveal{opacity:1;transform:none}}


/* Navigation refresh */
@media (min-width: 901px) {
  .site-nav {
    gap: 5px;
    padding: 5px;
    border: 1px solid rgba(170, 207, 235, .11);
    border-radius: 16px;
    background: rgba(7, 20, 32, .48);
    box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 10px 34px rgba(0, 0, 0, .14);
  }

  .site-nav > a,
  .site-nav > .nav-products {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 13px;
    border-radius: 11px;
    overflow: hidden;
    isolation: isolate;
    transition: color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease;
  }

  .site-nav > a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(82, 224, 234, .13), rgba(75, 140, 255, .11));
    opacity: 0;
    transform: scale(.88);
    transition: opacity .22s ease, transform .22s ease;
  }

  .site-nav > a:hover {
    color: #fff;
    transform: translateY(-2px);
  }

  .site-nav > a:hover::before {
    opacity: 1;
    transform: scale(1);
  }

  .site-nav > a:not(.nav-cta)::after {
    right: 13px;
    bottom: 4px;
    left: 13px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), #8baeff);
    box-shadow: 0 0 12px rgba(82, 224, 234, .55);
  }

  .site-nav > a.active:not(.nav-cta) {
    color: #eaffff;
    background: linear-gradient(135deg, rgba(82, 224, 234, .15), rgba(75, 140, 255, .13));
    box-shadow: inset 0 0 0 1px rgba(82, 224, 234, .12);
  }

  .site-nav > .nav-cta {
    min-height: 40px;
    margin-left: 4px;
    padding-inline: 18px;
    border-color: rgba(82, 224, 234, .42);
    background: linear-gradient(135deg, rgba(82, 224, 234, .17), rgba(75, 140, 255, .14));
    box-shadow: inset 0 1px rgba(255,255,255,.08), 0 7px 24px rgba(37, 154, 202, .12);
  }

  .site-nav > .nav-cta:hover {
    border-color: rgba(82, 224, 234, .75);
    background: linear-gradient(135deg, rgba(82, 224, 234, .28), rgba(75, 140, 255, .22));
    box-shadow: 0 10px 30px rgba(45, 178, 221, .2), 0 0 0 4px rgba(82, 224, 234, .055);
  }
}


/* Editorial imagery */
.service-card{padding:0;overflow:hidden}
.service-card .icon-box,.service-card h3,.service-card p{margin-left:26px;margin-right:26px}
.service-card p{margin-bottom:28px}
.service-image{position:relative;height:210px;margin-bottom:24px;overflow:hidden;border-bottom:1px solid var(--line);background:#0a1624}
.service-image::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(7,16,26,.54))}
.service-image img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.8,.2,1),filter .3s ease}
.service-card:hover .service-image img{transform:scale(1.055);filter:saturate(1.1)}
.page-hero[class*="page-hero--"]{min-height:390px;display:flex;align-items:center;isolation:isolate}
.page-hero[class*="page-hero--"]::before{content:"";position:absolute;inset:0;z-index:-2;background-position:center;background-size:cover}
.page-hero[class*="page-hero--"]::after{inset:0;top:0;right:0;width:auto;height:auto;border:0;border-radius:0;z-index:-1;background:linear-gradient(90deg,rgba(5,13,22,.97) 0%,rgba(5,13,22,.84) 46%,rgba(5,13,22,.34) 100%),linear-gradient(0deg,var(--bg),transparent 45%);box-shadow:none}
.page-hero--about::before,.page-hero--contact::before{background-image:url("../images/engineering-team.png")}
.page-hero--industries::before{background-image:url("../images/service-plc.png")}
.page-hero--services::before{background-image:url("../images/service-eplan.png")}
.page-hero--products::before,.page-hero--account::before{background-image:url("../images/service-software.png")}
.page-hero[class*="page-hero--"] .container{width:min(calc(100% - 40px),var(--max))}
.page-hero[class*="page-hero--"] h1,.page-hero[class*="page-hero--"] p{max-width:760px;text-shadow:0 3px 24px rgba(0,0,0,.4)}
@media(max-width:700px){.service-image{height:190px}.page-hero[class*="page-hero--"]{min-height:330px}.page-hero[class*="page-hero--"]::before{background-position:65% center}.page-hero[class*="page-hero--"]::after{background:linear-gradient(90deg,rgba(5,13,22,.95),rgba(5,13,22,.7)),linear-gradient(0deg,var(--bg),transparent 45%)}}


/* Session-aware admin navigation */
.site-nav>.nav-admin{color:#07101a!important;border-color:transparent;background:linear-gradient(135deg,#ffba61,#52e0ea);box-shadow:0 8px 24px rgba(82,224,234,.18)}
.site-nav>.nav-admin::after{display:none!important}
.site-nav>.nav-admin:hover{color:#07101a!important;box-shadow:0 11px 30px rgba(82,224,234,.3)}


/* Illustrated service and industry tiles */
.page-hero--services + .section .grid-3 > .card,
.page-hero--industries + .section .grid-3 > .card{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:250px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  background-image:
    linear-gradient(180deg,rgba(4,15,26,.28) 0%,rgba(4,15,26,.78) 48%,rgba(4,15,26,.97) 100%),
    var(--tile-image);
  background-size:cover;
  background-position:center;
  border-color:rgba(98,193,224,.25);
  box-shadow:0 16px 34px rgba(0,0,0,.2);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.page-hero--services + .section .grid-3 > .card:hover,
.page-hero--industries + .section .grid-3 > .card:hover{
  transform:translateY(-5px);
  border-color:rgba(77,215,239,.58);
  box-shadow:0 22px 45px rgba(0,0,0,.34);
}
.page-hero--services + .section .grid-3 > .card h3,
.page-hero--industries + .section .grid-3 > .card h3{
  color:#fff;
  text-shadow:0 2px 14px rgba(0,0,0,.9);
}
.page-hero--services + .section .grid-3 > .card p,
.page-hero--industries + .section .grid-3 > .card p{
  color:#d5e2ee;
  text-shadow:0 1px 9px rgba(0,0,0,.95);
}
.page-hero--services + .section .grid-3 > .card:nth-child(1){--tile-image:url("../images/service-plc.png")}
.page-hero--services + .section .grid-3 > .card:nth-child(2){--tile-image:url("../images/service-eplan.png")}
.page-hero--services + .section .grid-3 > .card:nth-child(3){--tile-image:url("../images/service-eplan.png");background-position:65% center}
.page-hero--services + .section .grid-3 > .card:nth-child(4){--tile-image:url("../images/service-software.png")}
.page-hero--services + .section .grid-3 > .card:nth-child(5){--tile-image:url("../images/service-software.png");background-position:70% center}
.page-hero--services + .section .grid-3 > .card:nth-child(6){--tile-image:url("../images/engineering-team.png")}
.page-hero--services + .section .grid-3 > .card:nth-child(7){--tile-image:url("../images/industry-machinery.png")}
.page-hero--services + .section .grid-3 > .card:nth-child(8){--tile-image:url("../images/engineering-team.png");background-position:70% center}
.page-hero--services + .section .grid-3 > .card:nth-child(9){--tile-image:url("../images/engineering-team.png");background-position:30% center}
.page-hero--industries + .section .grid-3 > .card:nth-child(1){--tile-image:url("../images/industry-machinery.png")}
.page-hero--industries + .section .grid-3 > .card:nth-child(2){--tile-image:url("../images/hero-automation.png")}
.page-hero--industries + .section .grid-3 > .card:nth-child(3){--tile-image:url("../images/industry-logistics.png")}
.page-hero--industries + .section .grid-3 > .card:nth-child(4){--tile-image:url("../images/industry-machinery.png");background-position:70% center}
.page-hero--industries + .section .grid-3 > .card:nth-child(5){--tile-image:url("../images/service-eplan.png")}
.page-hero--industries + .section .grid-3 > .card:nth-child(6){--tile-image:url("../images/service-software.png")}
@media(max-width:720px){
  .page-hero--services + .section .grid-3 > .card,
  .page-hero--industries + .section .grid-3 > .card{min-height:220px}
}

/* Logo and mobile language switch */
@media(min-width:901px){
  .nav-wrap{min-height:108px}
  .brand-logo{width:110px;height:88px;transform:scale(1.75);transform-origin:center}
}
@media(max-width:900px){
  .nav-wrap{min-height:82px;gap:10px}
  .brand{flex-shrink:1}
  .brand-logo{width:78px;height:64px;transform:scale(1.65);transform-origin:center}
  .menu-toggle{margin-left:auto}
  .lang-switch{display:flex!important;flex:0 0 auto;gap:3px;margin-left:0;padding:3px;order:2}
  .lang-link{min-width:31px;height:29px;padding:0 7px;font-size:10px}
  .site-nav{top:82px}
}
@media(max-width:390px){
  .brand-logo{width:68px;height:58px}
  .nav-wrap{gap:7px}
  .lang-link{min-width:29px;padding:0 6px}
}
