:root {
  --bg: #050507;
  --bg-soft: #0a0a10;
  --panel: rgba(255,255,255,.055);
  --panel-strong: rgba(255,255,255,.09);
  --line: rgba(255,255,255,.12);
  --line-soft: rgba(255,255,255,.07);
  --text: #f7f7fb;
  --muted: #a7a7b3;
  --muted-2: #71717f;
  --accent: #7c5cff;
  --accent-2: #30d7ff;
  --accent-3: #c8ff4d;
  --danger: #ff5f7e;
  --radius: 26px;
  --radius-sm: 16px;
  --container: min(1240px, calc(100vw - 40px));
  --shadow: 0 30px 90px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 84% 2%, rgba(124,92,255,.18), transparent 30rem),
    radial-gradient(circle at 6% 30%, rgba(48,215,255,.08), transparent 28rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { color: #0a0a0d; background: var(--accent-3); }

.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .055; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.container { width: var(--container); margin-inline: auto; }
.section { position: relative; padding: 130px 0; }
.section-tight { padding: 82px 0; }
.section-head { display: grid; grid-template-columns: .65fr 1.35fr; gap: 48px; align-items: end; margin-bottom: 62px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #d7d6df; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.display { margin: 0; font-size: clamp(52px, 8.5vw, 132px); line-height: .88; letter-spacing: -.075em; font-weight: 730; }
.display .stroke { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.7); }
.display .gradient, .gradient-text { color: transparent; background: linear-gradient(100deg, #fff 15%, var(--accent-2) 52%, var(--accent) 84%); -webkit-background-clip: text; background-clip: text; }
.h2 { margin: 0; max-width: 1000px; font-size: clamp(42px, 5.6vw, 82px); line-height: .98; letter-spacing: -.055em; font-weight: 670; }
.h3 { margin: 0; font-size: clamp(26px, 2.6vw, 42px); line-height: 1.05; letter-spacing: -.035em; }
.lead { color: #c5c4cf; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.65; max-width: 720px; }
.muted { color: var(--muted); line-height: 1.7; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 90; padding: 18px 0; transition: .35s ease; }
.site-header.scrolled { padding: 10px 0; background: rgba(5,5,7,.72); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line-soft); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 160px; }
.brand img { width: 120px; height: 58px; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); opacity: .95; }
.brand-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--accent-3); box-shadow: 0 0 20px var(--accent-3); }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 14px; color: #c9c8d0; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 1px; background: #fff; transition: width .3s ease; }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); transition: .3s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.085); }
.btn-primary { color: #07070a; border: 0; background: linear-gradient(120deg, var(--accent-3), #fff); font-weight: 750; }
.btn-primary:hover { box-shadow: 0 12px 45px rgba(200,255,77,.2); }
.btn-icon { width: 52px; padding: 0; }
.menu-toggle { display: none; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.mobile-nav { display: none; }
.menu-toggle span { display:block; width: 19px; height: 1px; background:#fff; margin:5px auto; transition:.3s; }

.hero { min-height: 100svh; display: flex; align-items: center; padding: 150px 0 62px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 40px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; color: #d4d3dc; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.status-pulse { position: relative; width: 10px; height: 10px; border-radius:50%; background:var(--accent-3); }
.status-pulse::after { content:""; position:absolute; inset:-6px; border:1px solid var(--accent-3); border-radius:50%; animation:pulse 1.8s infinite; }
@keyframes pulse { 0%{transform:scale(.5);opacity:.9} 100%{transform:scale(1.5);opacity:0} }
.hero-copy .lead { margin: 32px 0 34px; max-width: 640px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; }
.hero-meta { display:flex; gap:34px; margin-top:52px; padding-top:24px; border-top:1px solid var(--line-soft); max-width:680px; }
.meta-item span { display:block; color:var(--muted-2); text-transform:uppercase; letter-spacing:.13em; font-size:10px; margin-bottom:8px; }
.meta-item strong { font-size:14px; font-weight:560; }
.hero-visual { position:relative; min-height:640px; display:grid; place-items:center; perspective:1200px; }
#neural-canvas { position:absolute; inset:-15%; width:130%; height:130%; opacity:.92; }
.orbit-shell { position:relative; width:min(470px, 85vw); aspect-ratio:1; border:1px solid rgba(255,255,255,.13); border-radius:50%; transform-style:preserve-3d; animation:float 7s ease-in-out infinite; }
.orbit-shell::before, .orbit-shell::after { content:""; position:absolute; inset:10%; border-radius:50%; border:1px dashed rgba(255,255,255,.15); transform:rotateX(68deg) rotateZ(18deg); }
.orbit-shell::after { inset:25%; transform:rotateY(64deg) rotateZ(-28deg); border-style:solid; border-color:rgba(48,215,255,.25); }
.core { position:absolute; inset:33%; border-radius:50%; background:radial-gradient(circle at 30% 20%, #fff, var(--accent-2) 16%, var(--accent) 52%, #111 78%); box-shadow:0 0 70px rgba(124,92,255,.45), inset -20px -24px 40px rgba(0,0,0,.45); }
.floating-ui { position:absolute; width:210px; padding:16px; border:1px solid var(--line); border-radius:18px; background:rgba(12,12,18,.75); backdrop-filter:blur(14px); box-shadow:var(--shadow); transform-style:preserve-3d; }
.floating-ui.a { top:14%; right:-8%; transform:rotateY(-18deg) rotateX(8deg); }
.floating-ui.b { left:-11%; bottom:16%; transform:rotateY(18deg) rotateX(-8deg); }
.floating-ui.c { right:1%; bottom:4%; width:165px; transform:rotateY(-12deg); }
.ui-top { display:flex; justify-content:space-between; align-items:center; color:#c7c6d1; font-size:11px; margin-bottom:14px; }
.ui-dot { width:7px; height:7px; border-radius:50%; background:var(--accent-3); box-shadow:0 0 14px var(--accent-3); }
.ui-bars { display:grid; gap:7px; }
.ui-bars i { height:6px; border-radius:99px; background:linear-gradient(90deg,var(--accent),var(--accent-2)); opacity:.8; }
.ui-bars i:nth-child(2){width:72%}.ui-bars i:nth-child(3){width:48%}
@keyframes float { 50% { transform:translateY(-14px) rotateZ(2deg); } }

.logo-rail { border-block:1px solid var(--line-soft); overflow:hidden; background:rgba(255,255,255,.018); }
.rail-track { display:flex; width:max-content; animation:marquee 28s linear infinite; }
.rail-item { display:flex; align-items:center; gap:16px; padding:25px 38px; color:#dad9e2; font-size:16px; letter-spacing:.04em; white-space:nowrap; }
.rail-item::before { content:"✦"; color:var(--accent-3); font-size:11px; }
@keyframes marquee { to { transform:translateX(-50%); } }

.ecosystem { display:grid; grid-template-columns:repeat(6,1fr); border:1px solid var(--line-soft); border-radius:var(--radius); overflow:hidden; }
.eco-card { min-height:150px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:15px; padding:20px; border-right:1px solid var(--line-soft); background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.015)); transition:.35s ease; }
.eco-card:last-child{border-right:0}.eco-card:hover{background:rgba(255,255,255,.07);transform:translateY(-3px)}
.eco-mark { width:42px; height:42px; display:grid; place-items:center; border:1px solid var(--line); border-radius:13px; font-weight:800; font-size:13px; background:#0f0f15; }
.eco-card strong { font-size:14px; letter-spacing:.02em; }
.eco-card span { color:var(--muted-2); font-size:11px; }
.ecosystem-note { margin-top:18px; color:var(--muted-2); font-size:12px; }

.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.service-card { position:relative; min-height:360px; padding:32px; border:1px solid var(--line-soft); border-radius:var(--radius); background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.015)); overflow:hidden; transition:.4s cubic-bezier(.2,.8,.2,1); }
.service-card:hover { transform:translateY(-8px); border-color:rgba(255,255,255,.22); box-shadow:0 30px 80px rgba(0,0,0,.3); }
.service-card::after { content:""; position:absolute; width:220px; height:220px; right:-120px; top:-120px; border-radius:50%; background:radial-gradient(circle,var(--glow,rgba(124,92,255,.34)),transparent 65%); transition:.4s; }
.service-card:hover::after{transform:scale(1.35)}
.service-index { color:var(--muted-2); font-size:12px; letter-spacing:.16em; }
.service-icon { width:64px; height:64px; display:grid; place-items:center; margin:60px 0 30px; border-radius:20px; border:1px solid var(--line); background:rgba(0,0,0,.2); font-size:26px; }
.service-card h3 { font-size:28px; line-height:1.08; letter-spacing:-.035em; margin:0 0 14px; }
.service-card p { color:var(--muted); line-height:1.65; margin:0; }
.service-link { position:absolute; right:28px; bottom:28px; width:48px; height:48px; display:grid; place-items:center; border-radius:50%; border:1px solid var(--line); transition:.3s; }
.service-card:hover .service-link { background:#fff; color:#000; transform:rotate(45deg); }

.automation-lab { display:grid; grid-template-columns:.9fr 1.1fr; min-height:720px; border:1px solid var(--line-soft); border-radius:34px; overflow:hidden; background:linear-gradient(135deg,#09090d,#0d0d14); }
.lab-copy { padding:70px 58px; display:flex; flex-direction:column; justify-content:center; }
.lab-list { display:grid; gap:12px; margin:34px 0; }
.lab-list div { display:flex; align-items:center; gap:12px; color:#d5d4dc; }
.lab-list i { width:26px; height:26px; display:grid; place-items:center; border-radius:50%; background:rgba(200,255,77,.12); color:var(--accent-3); font-style:normal; font-size:12px; }
.flow-stage { position:relative; min-height:650px; background:radial-gradient(circle at 50% 40%,rgba(124,92,255,.18),transparent 48%); overflow:hidden; }
.flow-line { position:absolute; height:1px; transform-origin:left center; background:linear-gradient(90deg,transparent,rgba(48,215,255,.65),transparent); animation:flow 4s linear infinite; }
@keyframes flow { 0%{opacity:.15;filter:blur(0)}50%{opacity:1;filter:blur(.2px)}100%{opacity:.15} }
.flow-node { position:absolute; width:112px; height:112px; display:grid; place-items:center; text-align:center; border:1px solid rgba(255,255,255,.16); border-radius:28px; background:rgba(10,10,16,.78); backdrop-filter:blur(12px); box-shadow:0 20px 50px rgba(0,0,0,.35); font-size:13px; line-height:1.3; transition:.3s; }
.flow-node:hover { transform:scale(1.07); border-color:var(--accent-2); }
.flow-node.center { left:50%; top:50%; transform:translate(-50%,-50%); width:150px; height:150px; border-radius:50%; background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.2),rgba(124,92,255,.18) 45%,rgba(9,9,15,.9)); font-weight:700; font-size:15px; }
.flow-node.center:hover{transform:translate(-50%,-50%) scale(1.05)}
.flow-node.n1{left:8%;top:14%}.flow-node.n2{right:8%;top:15%}.flow-node.n3{left:8%;bottom:13%}.flow-node.n4{right:8%;bottom:13%}.flow-node.n5{left:50%;top:6%;transform:translateX(-50%)}.flow-node.n6{left:50%;bottom:5%;transform:translateX(-50%)}

.portfolio-toolbar { display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:28px; }
.filters { display:flex; flex-wrap:wrap; gap:8px; }
.filter-btn { min-height:42px; padding:0 17px; border:1px solid var(--line-soft); border-radius:99px; background:transparent; color:var(--muted); cursor:pointer; transition:.25s; }
.filter-btn.active,.filter-btn:hover{color:#fff;background:rgba(255,255,255,.07);border-color:var(--line)}
.portfolio-grid { display:grid; grid-template-columns:repeat(12,1fr); gap:18px; }
.project-card { position:relative; min-height:560px; grid-column:span 6; border-radius:28px; overflow:hidden; border:1px solid var(--line-soft); background:#111; perspective:1000px; transform-style:preserve-3d; transition:opacity .3s,transform .35s; }
.project-card.wide{grid-column:span 8}.project-card.narrow{grid-column:span 4}.project-card.hidden{display:none}
.project-media { position:absolute; inset:0; transition:transform .7s cubic-bezier(.2,.8,.2,1); }
.project-media img { width:100%; height:100%; object-fit:cover; filter:saturate(.85) contrast(1.03); }
.project-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 34%,rgba(3,3,5,.15) 55%,rgba(3,3,5,.96) 100%); }
.project-card:hover .project-media { transform:scale(1.055); }
.project-info { position:absolute; inset:auto 0 0; z-index:2; padding:34px; transform:translateZ(30px); }
.project-meta { display:flex; gap:10px; align-items:center; margin-bottom:14px; color:#d4d3dc; font-size:11px; text-transform:uppercase; letter-spacing:.12em; }
.project-meta i { width:6px; height:6px; border-radius:50%; background:var(--accent-3); }
.project-title { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; }
.project-title h3 { margin:0; font-size:clamp(30px,3vw,54px); line-height:.98; letter-spacing:-.055em; }
.project-arrow { width:52px; height:52px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.3); border-radius:50%; backdrop-filter:blur(10px); flex:none; }
.project-card:hover .project-arrow{background:#fff;color:#000}

.process { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line); }
.process-step { min-height:290px; padding:30px 28px; border-right:1px solid var(--line-soft); }
.process-step:last-child{border-right:0}.process-step b{display:block;color:var(--accent-3);font-size:12px;letter-spacing:.15em;margin-bottom:75px}.process-step h3{font-size:25px;margin:0 0 14px}.process-step p{color:var(--muted);line-height:1.65;margin:0}

.results-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.result-card { min-height:240px; padding:30px; border:1px solid var(--line-soft); border-radius:var(--radius); background:rgba(255,255,255,.025); }
.result-card strong { display:block; font-size:clamp(38px,4.5vw,70px); letter-spacing:-.06em; margin-bottom:36px; }
.result-card span { color:var(--muted); line-height:1.55; }

.cta-panel { position:relative; min-height:540px; display:flex; align-items:center; justify-content:center; text-align:center; padding:70px 30px; border-radius:36px; overflow:hidden; border:1px solid var(--line); background:linear-gradient(135deg,rgba(124,92,255,.16),rgba(48,215,255,.07),rgba(200,255,77,.05)); }
.cta-panel::before { content:""; position:absolute; inset:-50%; background:conic-gradient(from 90deg,transparent,rgba(124,92,255,.2),transparent 30%,rgba(48,215,255,.18),transparent 65%); animation:spin 18s linear infinite; }
@keyframes spin{to{transform:rotate(360deg)}}
.cta-inner { position:relative; z-index:2; max-width:890px; }
.cta-inner h2 { margin:0 0 24px; font-size:clamp(52px,7vw,110px); line-height:.9; letter-spacing:-.07em; }
.cta-inner p { max-width:630px; margin:0 auto 30px; color:#c8c7d2; font-size:18px; line-height:1.65; }

.contact-grid { display:grid; grid-template-columns:.78fr 1.22fr; gap:55px; }
.contact-details { display:grid; align-content:start; gap:20px; }
.contact-item { padding:24px 0; border-bottom:1px solid var(--line-soft); }
.contact-item span { display:block; color:var(--muted-2); text-transform:uppercase; font-size:10px; letter-spacing:.15em; margin-bottom:9px; }
.contact-item a,.contact-item strong { font-size:18px; font-weight:560; }
.contact-form { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field { display:grid; gap:9px; }
.field.full { grid-column:1/-1; }
.field label { color:#aaa9b4; font-size:12px; letter-spacing:.08em; text-transform:uppercase; }
.field input,.field textarea,.field select { width:100%; color:#fff; border:1px solid var(--line); border-radius:15px; background:rgba(255,255,255,.035); outline:none; padding:17px 18px; transition:.25s; }
.field textarea{min-height:150px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--accent-2);box-shadow:0 0 0 3px rgba(48,215,255,.08)}
.form-status{grid-column:1/-1;color:var(--accent-3);font-size:13px;min-height:18px}

.site-footer { padding:68px 0 28px; border-top:1px solid var(--line-soft); background:#040406; }
.footer-top { display:grid; grid-template-columns:1.4fr repeat(3,.6fr); gap:38px; padding-bottom:58px; }
.footer-brand img { width:130px; filter:grayscale(1) brightness(0) invert(1); margin-bottom:22px; }
.footer-brand p{max-width:390px;color:var(--muted);line-height:1.7}
.footer-col h4{font-size:12px;text-transform:uppercase;letter-spacing:.15em;color:#fff;margin:0 0 20px}.footer-col a{display:block;color:var(--muted);margin:12px 0;transition:.2s}.footer-col a:hover{color:#fff;transform:translateX(4px)}
.footer-bottom { display:flex; justify-content:space-between; gap:20px; align-items:center; padding-top:26px; border-top:1px solid var(--line-soft); color:var(--muted-2); font-size:12px; }

.reveal { opacity:0; transform:translateY(28px); transition:opacity .75s ease,transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity:1; transform:none; }
.modal { position:fixed; inset:0; z-index:120; display:none; align-items:center; justify-content:center; padding:24px; background:rgba(0,0,0,.72); backdrop-filter:blur(20px); }
.modal.open{display:flex}.modal-card{position:relative;width:min(980px,100%);max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:28px;background:#0b0b10;box-shadow:var(--shadow)}.modal-card img{width:100%;max-height:440px;object-fit:cover}.modal-body{padding:34px}.modal-close{position:absolute;z-index:3;right:16px;top:16px;width:46px;height:46px;border:1px solid var(--line);border-radius:50%;background:rgba(0,0,0,.55);cursor:pointer}.modal-tags{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.tag{padding:8px 12px;border:1px solid var(--line);border-radius:99px;color:#c8c7d0;font-size:12px}

@media (max-width: 1024px) {
  .nav-links { display:none; }
  .menu-toggle { display:block; }
  .nav-actions .btn-primary { display:none; }
  .mobile-nav { position:fixed; inset:0; z-index:85; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:24px; background:rgba(5,5,7,.97); transform:translateY(-105%); transition:.45s cubic-bezier(.2,.8,.2,1); }
  .mobile-nav.open{transform:none}.mobile-nav a{font-size:clamp(34px,8vw,70px);letter-spacing:-.05em}
  .hero-grid,.automation-lab,.contact-grid { grid-template-columns:1fr; }
  .hero-visual { min-height:540px; }
  .section-head { grid-template-columns:1fr; }
  .services-grid { grid-template-columns:repeat(2,1fr); }
  .ecosystem { grid-template-columns:repeat(3,1fr); }
  .eco-card:nth-child(3){border-right:0}.eco-card:nth-child(-n+3){border-bottom:1px solid var(--line-soft)}
  .project-card,.project-card.wide,.project-card.narrow { grid-column:span 6; }
  .process,.results-grid { grid-template-columns:repeat(2,1fr); }
  .process-step:nth-child(2){border-right:0}.process-step:nth-child(-n+2){border-bottom:1px solid var(--line-soft)}
  .footer-top{grid-template-columns:1.3fr 1fr 1fr}.footer-col:last-child{grid-column:2/4}
}

@media (max-width: 700px) {
  :root { --container: min(100% - 26px, 1240px); --radius:22px; }
  .section { padding:92px 0; }
  .site-header { padding-top:10px; }
  .brand img { width:90px; }
  .hero { padding-top:118px; }
  .hero-grid { gap:12px; }
  .display { font-size:clamp(50px,17vw,82px); }
  .hero-meta { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
  .hero-visual { min-height:470px; margin-top:-15px; }
  .orbit-shell{width:330px}.floating-ui{width:160px;padding:12px}.floating-ui.a{right:-2%}.floating-ui.b{left:-2%}.floating-ui.c{display:none}
  .section-head { margin-bottom:38px; }
  .services-grid,.ecosystem,.results-grid { grid-template-columns:1fr; }
  .eco-card{border-right:0;border-bottom:1px solid var(--line-soft)!important}.eco-card:last-child{border-bottom:0!important}
  .service-card{min-height:330px}.service-icon{margin-top:50px}
  .lab-copy{padding:48px 25px}.flow-stage{min-height:540px}.flow-node{width:86px;height:86px;border-radius:22px;font-size:11px}.flow-node.center{width:126px;height:126px}.flow-node.n1,.flow-node.n3{left:3%}.flow-node.n2,.flow-node.n4{right:3%}
  .portfolio-toolbar{align-items:flex-start;flex-direction:column}.project-card,.project-card.wide,.project-card.narrow{grid-column:span 12;min-height:500px}.project-info{padding:25px}.project-title h3{font-size:37px}
  .process { grid-template-columns:1fr; }.process-step{border-right:0;border-bottom:1px solid var(--line-soft)!important;min-height:auto}.process-step b{margin-bottom:42px}
  .contact-form{grid-template-columns:1fr}.field{grid-column:1/-1}
  .footer-top{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-col:last-child{grid-column:auto}.footer-bottom{align-items:flex-start;flex-direction:column}
  .cta-panel{min-height:460px;padding-inline:18px}
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; scroll-behavior:auto!important; transition-duration:.01ms!important; }
  .reveal{opacity:1;transform:none}
}

/* Dynamic client logo carousel */
.client-section { position:relative; padding:70px 0 95px; overflow:hidden; border-block:1px solid var(--line-soft); background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.008)); }
.client-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; margin-bottom:34px; }
.client-heading .h3 { max-width:760px; margin-top:18px; }
.client-heading > .muted { max-width:290px; font-size:12px; text-align:right; }
.client-carousel { width:100%; overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.client-track { display:flex; width:max-content; gap:14px; padding-inline:14px; animation:clientMarquee 36s linear infinite; }
.client-carousel:hover .client-track { animation-play-state:paused; }
.client-logo-card { width:230px; height:126px; flex:none; display:grid; place-items:center; padding:24px; border:1px solid var(--line-soft); border-radius:22px; background:linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.015)); transition:.3s ease; }
.client-logo-card:hover { border-color:rgba(255,255,255,.22); background:rgba(255,255,255,.075); transform:translateY(-4px); }
.client-logo-card a { width:100%; height:100%; display:grid; place-items:center; }
.client-logo-card img { width:100%; height:72px; object-fit:contain; filter:grayscale(1) brightness(0) invert(1); opacity:.76; transition:.3s ease; }
.client-logo-card:hover img { filter:none; opacity:1; }
.client-wordmark strong { max-width:100%; text-align:center; font-size:18px; letter-spacing:-.02em; color:#d7d6df; }
@keyframes clientMarquee { to { transform:translateX(calc(-50% - 7px)); } }

/* Office locations */
.locations-section { overflow:hidden; }
.office-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.office-card { position:relative; min-height:330px; display:flex; flex-direction:column; justify-content:flex-end; padding:42px; border:1px solid var(--line-soft); border-radius:30px; overflow:hidden; background:radial-gradient(circle at 85% 15%,rgba(48,215,255,.14),transparent 32%),linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.015)); }
.office-card::before { content:""; position:absolute; width:180px; height:180px; left:-60px; top:-70px; border:1px solid rgba(255,255,255,.09); border-radius:50%; box-shadow:0 0 0 26px rgba(124,92,255,.025),0 0 0 52px rgba(124,92,255,.018); }
.office-number { position:absolute; top:34px; left:40px; color:var(--accent-3); font-size:11px; font-weight:750; letter-spacing:.18em; text-transform:uppercase; }
.office-card h3 { position:relative; max-width:560px; margin:0 0 22px; font-size:clamp(28px,3vw,46px); line-height:1.08; letter-spacing:-.045em; }
.office-card > a:not(.office-map) { position:relative; color:#d8d7df; margin-bottom:14px; }
.office-map { position:relative; display:inline-flex; align-items:center; gap:10px; align-self:flex-start; color:#fff; font-size:13px; padding-bottom:5px; border-bottom:1px solid rgba(255,255,255,.35); }

/* Portfolio and form enhancements */
.modal-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.form-honeypot { position:absolute!important; width:1px!important; height:1px!important; overflow:hidden!important; clip:rect(1px,1px,1px,1px)!important; white-space:nowrap!important; }
.footer-cookie-link { display:block; appearance:none; padding:0; border:0; background:none; color:var(--muted); margin:12px 0; cursor:pointer; transition:.2s; text-align:left; }
.footer-cookie-link:hover { color:#fff; transform:translateX(4px); }

/* Floating WhatsApp button */
.whatsapp-float { position:fixed; right:24px; bottom:24px; z-index:82; display:flex; align-items:center; gap:10px; min-height:58px; padding:0 20px 0 15px; border:1px solid rgba(255,255,255,.2); border-radius:999px; color:#07110b; background:linear-gradient(135deg,#78f7a2,#25d366); box-shadow:0 20px 55px rgba(0,0,0,.42),0 8px 30px rgba(37,211,102,.2); font-size:13px; font-weight:800; transition:.3s cubic-bezier(.2,.8,.2,1); }
.whatsapp-float:hover { transform:translateY(-5px) scale(1.02); box-shadow:0 26px 70px rgba(0,0,0,.48),0 12px 38px rgba(37,211,102,.3); }
.whatsapp-float svg { width:29px; height:29px; }

/* Cookie consent */
.cookie-banner { position:fixed; left:22px; right:22px; bottom:22px; z-index:150; display:grid; grid-template-columns:1fr auto; align-items:center; gap:28px; width:min(1100px,calc(100vw - 44px)); margin-inline:auto; padding:24px 26px; border:1px solid rgba(255,255,255,.16); border-radius:24px; background:rgba(10,10,15,.94); backdrop-filter:blur(24px); box-shadow:0 28px 90px rgba(0,0,0,.58); }
.cookie-banner[hidden],.cookie-preferences[hidden] { display:none!important; }
.cookie-copy strong { display:block; margin-bottom:7px; font-size:18px; }
.cookie-copy p { margin:0; max-width:720px; color:var(--muted); font-size:13px; line-height:1.6; }
.cookie-copy a { color:#fff; text-decoration:underline; text-underline-offset:3px; }
.cookie-actions,.cookie-dialog-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:9px; }
.cookie-btn { min-height:43px; padding:0 16px; border:1px solid var(--line); border-radius:999px; cursor:pointer; font-size:12px; font-weight:750; transition:.25s; }
.cookie-btn.secondary { background:rgba(255,255,255,.035); color:#fff; }
.cookie-btn.secondary:hover { background:rgba(255,255,255,.09); }
.cookie-btn.primary { border-color:transparent; color:#07070a; background:linear-gradient(120deg,var(--accent-3),#fff); }
.cookie-preferences { position:fixed; inset:0; z-index:160; display:grid; place-items:center; padding:22px; background:rgba(0,0,0,.76); backdrop-filter:blur(18px); }
.cookie-dialog { position:relative; width:min(620px,100%); max-height:90vh; overflow:auto; padding:38px; border:1px solid var(--line); border-radius:28px; background:#0b0b11; box-shadow:var(--shadow); }
.cookie-dialog h2 { margin:20px 0 12px; font-size:clamp(31px,4vw,50px); line-height:1; letter-spacing:-.05em; }
.cookie-close { position:absolute; top:16px; right:16px; width:42px; height:42px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; background:rgba(255,255,255,.035); cursor:pointer; font-size:24px; }
.cookie-option { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 0; border-top:1px solid var(--line-soft); cursor:pointer; }
.cookie-option:first-of-type { margin-top:26px; }
.cookie-option span { display:grid; gap:6px; }
.cookie-option small { color:var(--muted); line-height:1.45; }
.cookie-option input { appearance:none; position:relative; width:48px; height:27px; flex:none; border:1px solid var(--line); border-radius:999px; background:#24242d; cursor:pointer; transition:.25s; }
.cookie-option input::after { content:""; position:absolute; top:3px; left:3px; width:19px; height:19px; border-radius:50%; background:#fff; transition:.25s; }
.cookie-option input:checked { background:var(--accent); border-color:var(--accent); }
.cookie-option input:checked::after { transform:translateX(21px); }
.cookie-option input:disabled { opacity:.65; cursor:not-allowed; }
.cookie-dialog-actions { margin-top:28px; padding-top:22px; border-top:1px solid var(--line-soft); }
body.cookie-modal-open { overflow:hidden; }

@media (max-width: 1024px) {
  .client-heading { align-items:flex-start; flex-direction:column; }
  .client-heading > .muted { text-align:left; }
  .office-card { min-height:300px; }
  .cookie-banner { grid-template-columns:1fr; }
  .cookie-actions { justify-content:flex-start; }
}

@media (max-width: 700px) {
  .client-section { padding:58px 0 75px; }
  .client-logo-card { width:190px; height:108px; padding:20px; }
  .client-logo-card img { height:62px; }
  .office-grid { grid-template-columns:1fr; }
  .office-card { min-height:290px; padding:34px 26px; }
  .office-number { left:26px; top:28px; }
  .whatsapp-float { right:14px; bottom:14px; width:58px; height:58px; min-height:58px; padding:0; justify-content:center; }
  .whatsapp-float span { display:none; }
  .cookie-banner { left:12px; right:12px; bottom:12px; width:calc(100vw - 24px); padding:21px; border-radius:20px; gap:18px; }
  .cookie-actions { display:grid; grid-template-columns:1fr 1fr; }
  .cookie-actions .primary { grid-column:1/-1; }
  .cookie-btn { width:100%; }
  .cookie-dialog { padding:32px 20px 22px; border-radius:22px; }
  .cookie-dialog-actions { display:grid; grid-template-columns:1fr; }
}

/* DTEK v2 dynamic manager and full-color brand assets */
.brand img,
.footer-brand img { filter:none; opacity:1; }

.ecosystem {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(165px,1fr));
  gap:14px;
  border:0;
  border-radius:0;
  overflow:visible;
}
.eco-card,
a.eco-card {
  min-height:178px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:22px 16px;
  border:1px solid var(--line-soft)!important;
  border-radius:22px;
  color:inherit;
  text-decoration:none;
  background:
    radial-gradient(circle at 50% 0%,color-mix(in srgb,var(--tool-color) 22%,transparent),transparent 48%),
    linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015));
  transition:transform .35s ease,border-color .35s ease,background .35s ease,box-shadow .35s ease;
}
.eco-card:hover {
  transform:translateY(-7px);
  border-color:color-mix(in srgb,var(--tool-color) 70%,rgba(255,255,255,.2))!important;
  box-shadow:0 24px 55px color-mix(in srgb,var(--tool-color) 16%,transparent);
}
.eco-logo {
  width:132px;
  height:66px;
  display:grid;
  place-items:center;
  border-radius:16px;
  overflow:hidden;
  background:rgba(255,255,255,.03);
}
.eco-logo img { width:100%; height:100%; object-fit:contain; }
.eco-logo strong { font-size:22px; color:var(--tool-color); }
.eco-card > strong { font-size:14px; letter-spacing:.02em; text-align:center; }
.eco-card > span { color:var(--muted-2); font-size:11px; text-align:center; }
.eco-empty { grid-column:1/-1; padding:28px; border:1px dashed var(--line); border-radius:20px; color:var(--muted); text-align:center; }

.client-logo-card {
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(238,240,246,.94));
  border-color:rgba(255,255,255,.35);
}
.client-logo-card:hover { background:#fff; border-color:#fff; }
.client-logo-card img,
.client-logo-card:hover img { filter:none; opacity:1; }
.client-wordmark strong { color:#17171d; }

/* Portfolio case-study templates */
.case-study-hero { padding:150px 0 70px; }
.case-study-back { display:inline-flex; gap:9px; align-items:center; margin-bottom:34px; color:var(--muted); font-size:13px; }
.case-study-title { max-width:1050px; margin:0; font-size:clamp(54px,8vw,112px); line-height:.88; letter-spacing:-.065em; }
.case-study-intro { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr); gap:70px; margin-top:48px; align-items:start; }
.case-study-summary { max-width:780px; color:var(--muted); font-size:clamp(18px,2vw,24px); line-height:1.55; }
.case-study-facts { display:grid; gap:0; border-top:1px solid var(--line-soft); }
.case-study-fact { display:grid; grid-template-columns:95px 1fr; gap:20px; padding:15px 0; border-bottom:1px solid var(--line-soft); font-size:13px; }
.case-study-fact span { color:var(--muted-2); }
.case-study-cover { margin-top:58px; border-radius:32px; overflow:hidden; border:1px solid var(--line-soft); box-shadow:var(--shadow); }
.case-study-cover img { width:100%; height:auto; display:block; }
.case-study-content { width:min(900px,calc(100% - 40px)); margin:0 auto; padding:90px 0 120px; }
.case-study-content > * { max-width:780px; margin-left:auto; margin-right:auto; }
.case-study-content h2 { margin-top:70px; font-size:clamp(34px,5vw,58px); letter-spacing:-.04em; }
.case-study-content h3 { margin-top:44px; font-size:30px; }
.case-study-content p,.case-study-content li { color:var(--muted); font-size:18px; line-height:1.8; }
.case-study-content img,.case-study-content .wp-block-image { max-width:1100px; }
.portfolio-archive { padding:150px 0 110px; }
.portfolio-archive-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:55px; }
.archive-project { display:block; color:inherit; border:1px solid var(--line-soft); border-radius:26px; overflow:hidden; background:rgba(255,255,255,.025); transition:.35s ease; }
.archive-project:hover { transform:translateY(-7px); border-color:var(--line); }
.archive-project img { width:100%; aspect-ratio:16/11; object-fit:cover; }
.archive-project-copy { padding:26px; }
.archive-project-copy h2 { margin:8px 0 0; font-size:30px; letter-spacing:-.04em; }

@media(max-width:820px){
  .case-study-intro{grid-template-columns:1fr;gap:40px}
  .portfolio-archive-grid{grid-template-columns:1fr}
}
