:root{
  --paper:#f1f0eb;
  --paper-2:#fbfaf7;
  --ink:#0f1722;
  --muted:#607088;
  --line:rgba(15,23,34,.14);
  --line-strong:rgba(15,23,34,.28);
  --blue:#355fdd;
  --red:#d95850;
  --navy:#0d1727;
  --navy-2:#13233a;
  --max:1540px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--paper);color:var(--ink);line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.progress-rail{position:fixed;top:0;left:0;right:0;height:3px;background:rgba(15,23,34,.05);z-index:100}
.progress-rail i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--red),var(--blue))}

.site-header{position:sticky;top:3px;z-index:80;background:rgba(241,240,235,.90);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.header-inner{max-width:var(--max);min-height:78px;padding:0 22px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand img{height:44px;width:auto}
.header-contact{font-size:12px;font-weight:700;letter-spacing:.10em;text-transform:uppercase;color:var(--muted)}
.header-contact:hover{color:var(--red)}

.section-rail{position:fixed;left:16px;top:118px;z-index:35;width:112px;display:flex;flex-direction:column;gap:8px}
.section-rail a{display:grid;grid-template-columns:26px 1fr;align-items:center;gap:7px;padding:8px 10px;border-left:2px solid transparent;color:#718096;font-size:10px;letter-spacing:.13em;text-transform:uppercase}
.section-rail a span{color:#9aa5b5;font-weight:700}.section-rail a b{font-weight:700}
.section-rail a:hover,.section-rail a.active{color:var(--ink);border-left-color:var(--red);background:rgba(255,255,255,.35)}

main{padding:18px 18px 0 132px}
.hero,.content-section,.references-inner,.competence-section,.contact-inner,.site-footer{max-width:var(--max);margin-left:auto;margin-right:auto}

.blueprint{border:1px solid var(--line-strong);background:
linear-gradient(rgba(15,23,34,.045) 1px,transparent 1px),
linear-gradient(90deg,rgba(15,23,34,.045) 1px,transparent 1px),
var(--paper);
background-size:34px 34px,34px 34px,auto}
.drawing-head{min-height:42px;padding:0 18px;border-bottom:1px solid var(--line-strong);display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#728199}
.hero-layout{display:grid;grid-template-columns:minmax(0,.92fr) minmax(500px,.88fr);gap:42px;align-items:center;padding:34px 18px 24px}
.kicker{margin:0 0 16px;font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--red)}
.hero h1{margin:0;font-size:clamp(56px,5.8vw,102px);line-height:.94;letter-spacing:-.07em;max-width:860px}
.hero h1 span,.hero h1 em{display:block}.hero h1 em{font-style:normal;color:var(--blue)}
.lead{margin:28px 0 0;max-width:780px;color:var(--muted);font-size:17px;line-height:1.85}
.hero-cta{display:flex;gap:28px;flex-wrap:wrap;margin-top:30px}
.text-link{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;padding-bottom:7px;border-bottom:2px solid var(--ink)}
.text-link.accent{color:var(--red);border-color:rgba(217,88,80,.55)}
.text-link span{margin-left:8px}

.system-drawing{position:relative;min-height:560px;border:1px solid var(--line-strong);background:rgba(255,255,255,.16);overflow:hidden}
.system-drawing svg{width:100%;height:auto;color:var(--ink)}
.wire{fill:none;stroke:#294eaa;stroke-width:3}.wire.strong{stroke-width:4}.wire.red{stroke:var(--red)}
.node{fill:var(--paper);stroke:var(--ink);stroke-width:2}.node.core{fill:var(--blue);stroke:var(--paper)}
.terminal{fill:rgba(255,255,255,.30);stroke:var(--ink);stroke-width:2}.corebox{fill:rgba(53,95,221,.08);stroke:var(--blue)}
.diagram-label,.drawing-code{position:absolute;font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;background:var(--paper);padding:4px 6px}
.diagram-label{border:1px solid var(--line)}.drawing-code{right:18px;bottom:16px;color:#6f7e92}
.dl1{left:36px;top:70px}.dl2{left:205px;top:132px}.dl3{right:150px;top:70px}.dl4{right:36px;top:132px}.dl5{left:50%;top:186px;transform:translateX(-50%);text-align:center;color:var(--blue)}.dl6{left:36px;bottom:168px}.dl7{right:44px;bottom:168px}

.content-section{padding:100px 18px 104px}
.section-marker{display:flex;align-items:center;gap:12px;margin-bottom:28px;color:#728199;font-size:10px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.section-marker span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid var(--line);color:var(--ink)}
.section-marker.on-dark{color:#91a2b9}.section-marker.on-dark span{color:#fff;border-color:rgba(255,255,255,.16)}
.section-intro h2{margin:0;font-size:clamp(36px,4vw,60px);line-height:1.03;letter-spacing:-.05em}.section-intro h2 em{font-style:normal;color:var(--blue)}
.airy-intro{max-width:1100px;margin-bottom:46px}

.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 72px}
.service-grid article{padding:28px 0 32px;border-top:1px solid var(--line);min-height:210px}
.service-grid h3{margin:0 0 12px;font-size:29px;line-height:1.05;letter-spacing:-.04em}
.service-grid p{margin:0;max-width:640px;color:var(--muted);font-size:15px;line-height:1.75}
.service-grid span{display:block;margin-top:22px;color:#8390a2;font-size:10px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}

.references-section{margin:0 0 100px;background:linear-gradient(160deg,var(--navy),#09111d);color:#fff;position:relative;overflow:hidden}
.references-section::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 86% 20%,rgba(53,95,221,.16),transparent 26%),radial-gradient(circle at 14% 90%,rgba(217,88,80,.09),transparent 20%);pointer-events:none}
.references-inner{position:relative;z-index:1;padding:86px 18px 78px}
.references-intro{display:grid;grid-template-columns:1.15fr .85fr;gap:42px;align-items:end;margin-bottom:44px}
.references-intro h2{color:#fff}.references-intro h2 em{color:#7fa2ff}.references-intro>p{margin:0;color:#a8b7cb;max-width:520px;justify-self:end}
.reference-featured{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.reference-featured article{padding:24px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08);min-height:290px;display:flex;flex-direction:column;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.reference-featured article:hover{transform:translateY(-3px);border-color:rgba(126,160,255,.34);background:rgba(255,255,255,.065)}
.ref-logo{height:86px;display:flex;align-items:center;margin-bottom:24px}.ref-logo img{max-width:170px;max-height:72px;filter:grayscale(1) brightness(1.9);opacity:.78}.reference-featured article:hover .ref-logo img{filter:none;opacity:1}
.reference-featured h3{margin:0 0 8px;font-size:25px;letter-spacing:-.04em}.reference-featured p{margin:0;color:#adbbcf;line-height:1.7;flex:1}.reference-featured>article>span{margin-top:22px;color:#8192aa;font-size:10px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.reference-more{display:flex;justify-content:flex-end;margin-top:34px}.reference-more a{display:inline-flex;align-items:center;gap:10px;padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.38);font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#dfe7f3}.reference-more a:hover{color:#fff;border-color:#fff}

.competence-section{padding:0 18px 110px;background:var(--paper-2)}
.competence-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:76px;align-items:start}
.competence-copy h2{margin:0;font-size:clamp(36px,3.7vw,56px);line-height:1.04;letter-spacing:-.05em}.competence-copy p:last-child{margin:18px 0 0;max-width:520px;color:var(--muted);font-size:16px;line-height:1.8}
.technology-stack{display:grid;gap:30px}
.technology-stack>div{padding-top:16px;border-top:1px solid var(--line)}
.technology-stack small{display:block;margin-bottom:18px;color:#7c899b;font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.tech-logos{display:flex;flex-wrap:wrap;align-items:center;gap:20px 32px}
.tech-logos img{max-width:148px;max-height:46px;width:auto;height:auto;object-fit:contain;filter:grayscale(1);opacity:.48;transition:filter .18s ease,opacity .18s ease,transform .18s ease}
.tech-logos img:hover{filter:none;opacity:1;transform:translateY(-2px) scale(1.02)}

.contact-section{background:linear-gradient(135deg,var(--navy-2),var(--navy));color:#fff;padding:76px 18px 82px}
.contact-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:start}.contact-layout h2{margin:0;font-size:clamp(38px,4vw,62px);line-height:1.02;letter-spacing:-.05em}.contact-note{margin:18px 0 0;max-width:520px;color:#a9b8cc;font-size:16px;line-height:1.75}
.contact-data{display:grid}.contact-data a,.contact-data div{display:grid;grid-template-columns:100px 1fr 24px;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid rgba(255,255,255,.14)}.contact-data div{grid-template-columns:100px 1fr}.contact-data small{color:#8394ad;font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.contact-data strong{font-size:19px;letter-spacing:-.02em}.contact-data span{justify-self:end;color:#ff746c;font-weight:700}

.site-footer{margin-top:0;border-top:1px solid var(--line);background:var(--paper)}
.footer-inner{min-height:86px;padding:18px 20px;display:grid;grid-template-columns:auto 1fr auto auto;gap:20px;align-items:center}.footer-inner img{height:32px;width:auto}.footer-inner span,.footer-inner a{font-size:12px;color:#69788d}.footer-inner a{font-weight:700}

/* Referencia aloldal */
.references-page{background:var(--navy);color:#fff}
.refs-header{max-width:1180px;margin:0 auto;padding:24px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.12)}.refs-header .brand img{height:42px;filter:brightness(2) grayscale(1)}.refs-header>a:last-child{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#b6c4d7}
.refs-page-main{max-width:1180px;margin:0 auto;padding:72px 20px 100px}.refs-page-head{max-width:760px;margin-bottom:54px}.refs-page-head h1{margin:0;font-size:clamp(50px,7vw,96px);line-height:.94;letter-spacing:-.07em}.refs-page-head>p:last-child{color:#adbbcf;font-size:17px;line-height:1.8}
.refs-page-list{display:grid}.refs-page-list article{display:grid;grid-template-columns:64px 1fr 180px;gap:24px;align-items:center;padding:22px 0;border-top:1px solid rgba(255,255,255,.14)}.refs-page-list article:last-child{border-bottom:1px solid rgba(255,255,255,.14)}.refs-page-list article>span{color:#6f82a0;font-size:11px;letter-spacing:.16em}.refs-page-list h2{margin:0;font-size:24px;letter-spacing:-.03em}.refs-page-list p{margin:6px 0 0;color:#a8b7cb}.refs-page-list b{justify-self:end;color:#90a2ba;font-size:11px;letter-spacing:.12em;text-transform:uppercase}

@media(max-width:1450px){.section-rail{left:8px}.hero,.content-section,.references-inner,.competence-section,.contact-inner,.site-footer{max-width:calc(100vw - 160px)}}
@media(max-width:1200px){
  .section-rail{display:none}main{padding-left:18px}.hero,.content-section,.references-inner,.competence-section,.contact-inner,.site-footer{max-width:var(--max)}
  .hero-layout,.references-intro,.competence-layout,.contact-layout{grid-template-columns:1fr}.hero h1{font-size:clamp(50px,8vw,84px)}.references-intro>p{justify-self:start}.reference-featured{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:860px){
  .header-inner{min-height:68px}.header-contact{font-size:10px}.brand img{height:38px}
  .section-rail{display:flex;position:fixed;left:10px;right:10px;top:auto;bottom:10px;width:auto;flex-direction:row;justify-content:space-between;gap:4px;padding:6px;background:rgba(241,240,235,.94);backdrop-filter:blur(12px);border:1px solid var(--line);z-index:90}
  .section-rail a{flex:1;display:flex;justify-content:center;gap:5px;padding:8px 4px;border-left:0;border-bottom:2px solid transparent;font-size:9px}.section-rail a.active{border-left:0;border-bottom-color:var(--red)}.section-rail a b{display:none}
  main{padding:12px 10px 78px}.hero-layout{padding-top:24px}.system-drawing{min-height:470px}.service-grid{grid-template-columns:1fr}.reference-featured{grid-template-columns:1fr 1fr}.competence-layout{gap:40px}.contact-data a,.contact-data div{grid-template-columns:1fr}.footer-inner{grid-template-columns:1fr 1fr}.footer-inner img{grid-column:1/-1}
  .refs-page-list article{grid-template-columns:50px 1fr}.refs-page-list b{grid-column:2;justify-self:start}
}
@media(max-width:640px){
  .header-contact{display:none}.drawing-head{font-size:9px;padding:0 12px}.hero-layout{padding:18px 12px 16px}.hero h1{font-size:clamp(38px,11.3vw,56px);line-height:.96}.lead{font-size:16px}.system-drawing{min-height:auto}.diagram-label{font-size:8px;padding:3px 4px}.dl1{left:22px;top:52px}.dl2{left:132px;top:96px}.dl3{right:86px;top:52px}.dl4{right:22px;top:96px}.dl5{top:132px}.dl6{left:22px;bottom:118px}.dl7{right:24px;bottom:118px}
  .content-section,.competence-section{padding-left:4px;padding-right:4px;padding-bottom:76px}.references-inner,.contact-inner{padding-left:4px;padding-right:4px}.service-grid h3{font-size:25px}.reference-featured{grid-template-columns:1fr}.tech-logos{gap:16px 22px}.tech-logos img{max-width:118px;max-height:38px}.footer-inner{grid-template-columns:1fr;gap:8px}.refs-page-list article{grid-template-columns:1fr}.refs-page-list article>span,.refs-page-list b{grid-column:1}.refs-page-list b{justify-self:start}
}

/* v3.5 CMS + languages */
.header-actions{display:flex;align-items:center;gap:22px}
.language-switch{display:flex;align-items:center;gap:5px}
.language-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:30px;padding:0 8px;border:1px solid transparent;font-size:10px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#7a8798}
.language-switch a:hover,.language-switch a.active{border-color:var(--line-strong);background:rgba(255,255,255,.42);color:var(--ink)}
.language-switch.dark a{color:#8294ae}.language-switch.dark a:hover,.language-switch.dark a.active{color:#fff;border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.06)}

.service-card.featured{position:relative;grid-column:span 2;padding:34px 36px 38px!important;margin:8px 0 12px;border:1px solid rgba(53,95,221,.26)!important;background:
linear-gradient(rgba(53,95,221,.045) 1px,transparent 1px),
linear-gradient(90deg,rgba(53,95,221,.045) 1px,transparent 1px),
linear-gradient(120deg,rgba(53,95,221,.075),rgba(255,255,255,.25));background-size:28px 28px,28px 28px,auto;overflow:hidden}
.service-card.featured::after{content:"";position:absolute;width:240px;height:240px;border:1px solid rgba(53,95,221,.16);border-radius:50%;right:-68px;top:-98px;box-shadow:0 0 0 34px rgba(53,95,221,.035),0 0 0 70px rgba(53,95,221,.025)}
.service-feature-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.service-feature-top img{max-width:150px;max-height:42px;object-fit:contain;filter:grayscale(1);opacity:.68;transition:.18s ease}
.service-card.featured:hover .service-feature-top img{filter:none;opacity:1}
.service-badge{margin:0!important;padding:7px 10px;border:1px solid rgba(53,95,221,.26);background:rgba(255,255,255,.55);color:var(--blue)!important;font-size:10px!important;letter-spacing:.15em!important;position:relative;z-index:1}
.service-card.featured h3{position:relative;z-index:1;font-size:clamp(32px,3.2vw,48px);max-width:850px}
.service-card.featured p{position:relative;z-index:1;max-width:900px;font-size:16px}
.service-card.featured .service-tag{position:relative;z-index:1}

.ref-wordmark{font-size:25px;letter-spacing:.02em;color:#fff}
.refs-header-actions{display:flex;align-items:center;gap:22px}
.refs-header-actions>a{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#b6c4d7}
.refs-client{display:flex;align-items:center;gap:16px}.refs-client img{width:100px;max-height:42px;object-fit:contain;filter:grayscale(1) brightness(1.8);opacity:.75}.refs-client h2{min-width:0}

.editor-preview [data-editor-section]{outline:1px dashed transparent;outline-offset:-7px;transition:outline-color .15s ease}
.editor-preview [data-editor-section]:hover{outline-color:rgba(217,88,80,.48);cursor:pointer}
.editor-preview .section-rail,.editor-preview .site-header{pointer-events:none}

.lang-zh{font-family:Arial,"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif}
.lang-zh .hero h1{letter-spacing:-.04em;line-height:1.02}
.lang-zh .kicker,.lang-zh .section-marker,.lang-zh .text-link,.lang-zh .header-contact{letter-spacing:.08em}

@media(max-width:860px){
  .header-actions{gap:10px}.language-switch a{min-width:30px;padding:0 6px}
  .service-card.featured{grid-column:auto;padding:28px 22px 30px!important}
  .refs-header-actions{gap:12px}.refs-header-actions>a{font-size:10px}
}
@media(max-width:640px){
  .header-actions{margin-left:auto}.language-switch{gap:2px}.language-switch a{min-width:28px;font-size:9px}
  .service-feature-top{align-items:flex-start;flex-direction:column}.service-feature-top img{max-width:130px}
  .refs-header{align-items:flex-start;gap:16px}.refs-header-actions{align-items:flex-end;flex-direction:column}
}
