:root{
  /* IN2 brand: red + white */
  --red:#d6263c;
  --red-dark:#b21d31;
  --red-soft:#fdedef;
  /* HubSpot-style structural pattern uses orange semantically here as a non-brand accent */
  --orange:#d6263c;
  --orange-dark:#b21d31;
  --orange-soft:#fdedef;
  --coral:#ff7a59;
  --coral-soft:#fff1ec;
  --teal:#00bda5;
  --teal-soft:#e0f7f3;
  --blue:#0091ae;
  --blue-soft:#e3f2f6;
  --purple:#a73bce;
  --purple-soft:#f4e7fa;
  --yellow:#f5c26b;
  --yellow-soft:#fdf3df;

  --ink:#213343;       /* headlines */
  --body:#33475b;      /* body */
  --muted:#516f90;
  --muted-2:#7c98b6;
  --line:#cbd6e2;
  --line-soft:#dfe3eb;
  --bg:#ffffff;
  --bg-soft:#f5f8fa;
  --bg-2:#eaf0f6;

  --max:1200px;
  --gutter:24px;
  --r:8px;
  --r-lg:14px;
  --shadow-sm:0 2px 6px rgba(33,51,67,.06);
  --shadow:0 12px 32px -8px rgba(33,51,67,.12);
  --shadow-lg:0 30px 60px -20px rgba(33,51,67,.18);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;overflow-x:hidden}
/* Note: `overflow-x:hidden` on <body> propagates to the viewport scroll
   container and breaks `position:sticky` on header.site. Keep the clip on
   <html> only — that's enough to absorb the off-screen mobile drawer. */
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  color:var(--body);
  background:var(--bg);
  font-size:17px;line-height:1.6;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none;transition:color .2s ease}
button{font-family:inherit;cursor:pointer;border:0;background:none;color:inherit}

h1,h2,h3,h4,h5,h6{color:var(--ink);font-weight:700;letter-spacing:-0.02em;line-height:1.15}
h1{font-size:clamp(40px,5.5vw,64px);letter-spacing:-0.03em}
h2{font-size:clamp(30px,3.6vw,46px)}
h3{font-size:clamp(22px,2vw,28px);letter-spacing:-0.015em}
h4{font-size:18px;letter-spacing:-0.01em}
p{margin:0}
::selection{background:var(--orange);color:#fff}

.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:14px 24px;border-radius:var(--r);
  font-weight:600;font-size:15px;
  transition:transform .15s ease,background .2s ease,box-shadow .2s ease,color .2s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--orange);color:#fff;box-shadow:0 4px 12px -4px rgba(255,92,53,.4)}
.btn-primary:hover{background:var(--orange-dark);transform:translateY(-1px);box-shadow:0 8px 18px -4px rgba(255,92,53,.5)}
.btn-ghost{color:var(--ink);background:transparent;border:1px solid var(--line)}
.btn-ghost:hover{border-color:var(--ink);background:var(--bg-soft)}
.btn-link{padding:0;color:var(--orange);font-weight:600;font-size:15px;display:inline-flex;align-items:center;gap:6px}
.btn-link:hover{color:var(--orange-dark);gap:10px}
.btn .arr{transition:transform .15s ease;display:inline-block}
.btn:hover .arr{transform:translateX(3px)}

/* ---------- Header ---------- */
header.site{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line-soft);
}
/* `backdrop-filter` creates a new containing block for `position:fixed`
   descendants — that would trap the mobile side-drawer inside the 72px
   header. Apply it only at widths where the drawer doesn't open. */
@media (min-width:781px){
  header.site{backdrop-filter:saturate(180%) blur(10px);-webkit-backdrop-filter:saturate(180%) blur(10px)}
}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  height:72px;gap:24px;
}
.logo{
  display:flex;align-items:center;gap:8px;
  font-weight:800;font-size:22px;color:var(--ink);letter-spacing:-0.02em;
}
.logo .brand-2{color:var(--orange)}
.logo .mark{
  width:36px;height:36px;border-radius:8px;
  background:var(--ink);
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:800;font-size:18px;letter-spacing:-0.02em;
}
.logo .brand-text{
  display:inline-flex;flex-direction:column;line-height:1;
  font-weight:800;font-size:22px;color:var(--ink);letter-spacing:-0.02em;
}
.logo .brand-text small{
  display:block;margin-top:4px;
  font-size:10.5px;font-weight:500;color:var(--muted);
  letter-spacing:.04em;text-transform:none;
}
.logo .brand-text small b{font-weight:700;color:var(--ink)}
[data-theme="dark"] .logo .brand-text{color:#e8eef5}
[data-theme="dark"] .logo .brand-text small b{color:#e8eef5}
/* In dark theme, --ink is near-white (so the mark background becomes light).
   A white L on a near-white square is invisible — flip the L to dark for contrast. */
[data-theme="dark"] .logo .mark{color:var(--bg)}

/* ---------- Language switcher ---------- */
.lang-switch{
  display:inline-flex;align-items:center;gap:4px;
  font-size:13px;font-weight:600;color:var(--muted);
  border:1px solid var(--line-soft);border-radius:999px;
  padding:4px 6px;background:transparent;
}
.lang-switch .lang-btn{
  padding:4px 9px;border-radius:999px;
  font:inherit;color:var(--muted);cursor:pointer;
  background:transparent;border:0;letter-spacing:.04em;
  transition:background .15s ease,color .15s ease;
}
.lang-switch .lang-btn:hover{color:var(--ink)}
.lang-switch .lang-btn.active{
  background:var(--ink);color:#fff;
}
.lang-switch .lang-sep{color:var(--line);user-select:none}
[data-theme="dark"] .lang-switch{border-color:var(--line)}
[data-theme="dark"] .lang-switch .lang-btn.active{background:var(--orange);color:#fff}
nav.primary{display:flex;align-items:center;gap:6px;flex:1;justify-content:center}
nav.primary > a,nav.primary > .has-mega > .trigger{
  padding:10px 14px;border-radius:6px;
  font-size:15px;font-weight:500;color:var(--ink);
  cursor:pointer;display:inline-flex;align-items:center;gap:6px;
  transition:background .15s ease,color .15s ease;
}
nav.primary > a:hover,nav.primary > .has-mega:hover > .trigger{
  background:var(--bg-soft);color:var(--orange);
}
nav.primary > .has-mega > .trigger svg{transition:transform .2s ease}
nav.primary > .has-mega:hover > .trigger svg{transform:rotate(180deg)}

/* Mega menu */
.has-mega{position:relative}
.has-mega::after{
  content:"";position:absolute;top:100%;left:-12px;right:-12px;height:14px;
}
.mega{
  position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%) translateY(8px);
  background:#fff;border:1px solid var(--line-soft);
  border-radius:var(--r-lg);padding:24px;
  box-shadow:var(--shadow-lg);
  min-width:680px;
  display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .2s ease,transform .2s ease,visibility 0s linear .2s;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.open .mega{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0);transition:opacity .2s ease,transform .2s ease,visibility 0s linear 0s}
.has-mega.open > .trigger svg{transform:rotate(180deg)}
.mega-card{
  display:flex;gap:14px;padding:14px;border-radius:var(--r);
  transition:background .15s ease;
}
.mega-card:hover{background:var(--bg-soft)}
.mega-icon{
  width:42px;height:42px;border-radius:8px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
}
.mega-text strong{display:block;color:var(--ink);font-size:15px;font-weight:600;margin-bottom:2px}
.mega-text small{color:var(--muted);font-size:13px;line-height:1.4;display:block}

.nav-actions{display:flex;align-items:center;gap:14px}
.nav-actions a.text-link{font-size:15px;color:var(--ink);font-weight:500;padding:8px 12px}
.nav-actions a.text-link:hover{color:var(--orange)}
.menu-toggle{display:none;border:0;background:none;font-size:24px;color:var(--ink);cursor:pointer}

/* ---------- Hero ---------- */
.hero{
  padding:80px 0 100px;
  background:
    radial-gradient(ellipse 800px 400px at 80% 0%,rgba(255,92,53,.08),transparent 70%),
    var(--bg);
  position:relative;overflow:hidden;
}
.hero-grid{
  display:grid;grid-template-columns:6fr 6fr;gap:60px;align-items:center;
}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 14px;border-radius:999px;
  background:var(--orange-soft);color:var(--orange);
  font-size:13px;font-weight:600;letter-spacing:.02em;margin-bottom:24px;
}
.eyebrow .dot{width:6px;height:6px;border-radius:50%;background:var(--orange)}
.hero h1{margin-bottom:20px}
.hero h1 em{color:var(--orange);font-style:normal}
.hero-lead{font-size:19px;color:var(--body);margin-bottom:32px;max-width:540px;line-height:1.55}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:32px}
.hero-trust{
  display:flex;align-items:center;gap:14px;font-size:13.5px;color:var(--muted);
}
.hero-trust .stars{color:var(--orange);font-size:14px;letter-spacing:1px}
.hero-trust b{color:var(--ink);font-weight:600}

/* Hero illustration */
.hero-visual{position:relative;height:520px}
.window{
  position:absolute;background:#fff;border:1px solid var(--line-soft);
  border-radius:14px;box-shadow:var(--shadow-lg);overflow:hidden;
}
.window-bar{
  display:flex;align-items:center;gap:6px;padding:12px 16px;
  background:var(--bg-soft);border-bottom:1px solid var(--line-soft);
}
.window-bar .dot{width:10px;height:10px;border-radius:50%}
.window-bar .d1{background:#ff5f57}.window-bar .d2{background:#febc2e}.window-bar .d3{background:#28c840}
.window-bar .url{
  margin-left:14px;flex:1;height:24px;background:#fff;
  border:1px solid var(--line-soft);border-radius:6px;
  font-size:11px;color:var(--muted);padding:0 10px;display:flex;align-items:center;
  font-family:monospace;
}
.win-main{
  position:relative;width:100%;height:520px;left:0;top:0;
  width:560px;
}
.win-content{padding:24px;display:flex;flex-direction:column;gap:16px;height:calc(100% - 49px)}

.dash-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.dash-card{
  background:#fff;border:1px solid var(--line-soft);border-radius:10px;padding:16px;
}
.dash-card.feature{background:linear-gradient(135deg,var(--red) 0%,#ff5b6e 100%);color:#fff;border:0}
.dash-card.feature .v{color:#fff}
.dash-card.feature .lbl{color:rgba(255,255,255,.85)}
.dash-card .lbl{font-size:11px;color:var(--muted);font-weight:600;letter-spacing:.05em;text-transform:uppercase;margin-bottom:8px}
.dash-card .v{font-size:28px;font-weight:800;color:var(--ink);letter-spacing:-0.02em;line-height:1}
.dash-card .delta{font-size:11.5px;font-weight:600;color:var(--teal);margin-top:8px;display:flex;align-items:center;gap:4px}
.dash-card.feature .delta{color:rgba(255,255,255,.95)}

.dash-bars{display:flex;align-items:flex-end;gap:6px;height:56px;margin-top:10px}
.dash-bars span{flex:1;background:var(--orange-soft);border-radius:3px 3px 0 0;position:relative}
.dash-bars span.on{background:var(--orange)}

.chart-card{
  background:#fff;border:1px solid var(--line-soft);border-radius:10px;padding:18px;
  flex:1;display:flex;flex-direction:column;gap:14px;
}
.chart-head{display:flex;justify-content:space-between;align-items:flex-start}
.chart-head h5{font-size:14px;color:var(--ink);font-weight:600;margin-bottom:2px}
.chart-head small{font-size:12px;color:var(--muted)}
.chart-head .pill{padding:3px 10px;border-radius:999px;font-size:11px;font-weight:600;background:var(--teal-soft);color:var(--teal)}
.chart-svg{width:100%;height:100px}

/* Floating side cards */
.float-card{
  position:absolute;background:#fff;border:1px solid var(--line-soft);
  border-radius:12px;box-shadow:var(--shadow);padding:14px 18px;
  display:flex;align-items:center;gap:12px;
  z-index:2;
}
.float-card .ico{
  width:36px;height:36px;border-radius:8px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;color:#fff;
}
.float-card .text strong{display:block;color:var(--ink);font-size:14px;font-weight:600}
.float-card .text small{color:var(--muted);font-size:12px}
.fc-1{top:30px;right:-20px;animation:floatY 6s ease-in-out infinite}
.fc-2{bottom:60px;left:-30px;animation:floatY 7s ease-in-out infinite -3s}
@keyframes floatY{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-12px)}
}

/* ---------- Logo strip ---------- */
.logos{padding:48px 0;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);background:var(--bg)}
.logos-head{
  text-align:center;font-size:13px;color:var(--muted);
  font-weight:600;letter-spacing:.06em;text-transform:uppercase;margin-bottom:32px;
}
.logos-grid{
  display:grid;grid-template-columns:repeat(5,1fr);gap:32px;align-items:center;
}
.logo-cell{
  height:48px;display:flex;align-items:center;justify-content:center;
  filter:grayscale(100%);opacity:.55;transition:all .25s ease;
}
.logo-cell:hover{filter:grayscale(0);opacity:1}
.logo-cell img{max-height:40px;max-width:140px;object-fit:contain}
.logo-cell .fb{
  font-weight:800;color:var(--muted);letter-spacing:-0.01em;
  font-size:18px;
}

/* ---------- Section common ---------- */
section{padding:96px 0}
.sec-head{text-align:center;max-width:740px;margin:0 auto 56px}
.sec-head .eyebrow{margin-left:auto;margin-right:auto}
.sec-head p{color:var(--body);font-size:18px;margin-top:14px}

/* ---------- Hubs ---------- */
.hubs{
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
}
.hub{
  position:relative;background:#fff;border:1px solid var(--line-soft);
  border-radius:var(--r-lg);padding:32px 28px;
  transition:transform .25s cubic-bezier(.22,.61,.36,1),box-shadow .25s ease,border-color .25s ease;
  display:flex;flex-direction:column;
}
.hub:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow);border-color:var(--line);
}
.hub .badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 12px;border-radius:999px;
  font-size:12px;font-weight:700;letter-spacing:.04em;
  margin-bottom:24px;align-self:flex-start;
}
.hub-blue{background:var(--blue-soft);color:var(--blue)}
.hub-purple{background:var(--purple-soft);color:var(--purple)}
.hub-orange{background:var(--coral-soft);color:var(--coral)}
.hub-teal{background:var(--teal-soft);color:var(--teal)}
.hub-yellow{background:var(--yellow-soft);color:#a87223}
.hub-ink{background:#e3eaf2;color:var(--ink)}
.hub h3{font-size:24px;margin-bottom:10px}
.hub h3 em{font-style:normal}
.hub-blue h3 em{color:var(--blue)}
.hub-purple h3 em{color:var(--purple)}
.hub-orange h3 em{color:var(--coral)}
.hub-orange ul li svg{color:var(--coral)}
.hub-orange .more{color:var(--coral)}
.hub-teal h3 em{color:var(--teal)}
.hub-yellow h3 em{color:#a87223}
.hub p{font-size:15px;color:var(--body);margin-bottom:20px;line-height:1.55}
.hub ul{list-style:none;display:grid;gap:8px;margin-bottom:24px}
.hub ul li{font-size:14px;color:var(--body);display:flex;gap:8px;align-items:flex-start}
.hub ul li svg{flex-shrink:0;margin-top:3px;color:var(--orange)}
.hub-blue ul li svg{color:var(--blue)}
.hub-purple ul li svg{color:var(--purple)}
.hub-teal ul li svg{color:var(--teal)}
.hub-yellow ul li svg{color:#a87223}
.hub .more{margin-top:auto;font-size:14px;font-weight:600;color:var(--orange);display:inline-flex;align-items:center;gap:6px;transition:gap .15s ease}
.hub:hover .more{gap:10px}
.hub-blue .more{color:var(--blue)}
.hub-purple .more{color:var(--purple)}
.hub-teal .more{color:var(--teal)}
.hub-yellow .more{color:#a87223}

/* ---------- Spotlight ---------- */
.spotlight{background:var(--bg-soft);padding:96px 0}
.spotlight-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.spotlight-img{
  position:relative;border-radius:var(--r-lg);overflow:hidden;aspect-ratio:4/3;
  background:linear-gradient(135deg,var(--ink),#3a4f63);
  box-shadow:var(--shadow-lg);
}
.spotlight-img img{width:100%;height:100%;object-fit:cover;opacity:.85}
.spotlight-img .overlay{
  position:absolute;left:24px;bottom:24px;right:24px;z-index:1;
  display:flex;justify-content:space-between;align-items:flex-end;gap:18px;
  color:#fff;
}
.spotlight-img .overlay .badge-pill{
  background:rgba(255,255,255,.92);color:var(--ink);
  padding:6px 14px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.04em;
}
.spotlight-img .overlay .stat-pill{
  background:var(--orange);color:#fff;
  padding:8px 14px;border-radius:10px;font-size:13px;font-weight:600;
}
.spotlight-img .overlay .stat-pill b{font-size:18px;display:block}
.spotlight h2 em{color:var(--orange);font-style:normal}
.spotlight p{font-size:18px;margin:18px 0 28px}
.spotlight .features{display:grid;gap:14px;margin-bottom:32px}
.spotlight .features li{
  list-style:none;display:flex;gap:14px;align-items:flex-start;
  font-size:15.5px;color:var(--body);
}
.spotlight .features li .ic{
  width:24px;height:24px;border-radius:50%;background:var(--orange-soft);color:var(--orange);
  flex-shrink:0;display:flex;align-items:center;justify-content:center;margin-top:2px;
}
.spotlight .features li b{color:var(--ink);display:block;margin-bottom:2px;font-weight:600}

/* ---------- Customer story ---------- */
.story{background:var(--bg)}
.story-card{
  background:linear-gradient(135deg,#1d2d3e,#2d4054);
  border-radius:var(--r-lg);padding:64px;color:#fff;
  display:grid;grid-template-columns:1.4fr 1fr;gap:64px;align-items:center;
  position:relative;overflow:hidden;
}
.story-card::before{
  content:"";position:absolute;width:500px;height:500px;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,92,53,.3),transparent 70%);
  top:-100px;right:-100px;filter:blur(40px);
}
.story-card .quote-mark{
  font-size:80px;line-height:.8;color:var(--orange);font-family:Georgia,serif;
  margin-bottom:14px;
}
.story-card blockquote{
  font-size:clamp(22px,2.2vw,28px);line-height:1.4;font-weight:500;letter-spacing:-0.01em;
  color:#fff;margin-bottom:32px;position:relative;z-index:1;
}
.story-author{display:flex;align-items:center;gap:14px;position:relative;z-index:1}
.story-avatar{
  width:48px;height:48px;border-radius:50%;flex-shrink:0;
  background:linear-gradient(135deg,var(--red),#e84a5b);
  display:flex;align-items:center;justify-content:center;
  font-weight:700;color:#fff;font-size:16px;
}
.story-author .who strong{display:block;color:#fff;font-weight:600;font-size:15px}
.story-author .who small{color:rgba(255,255,255,.7);font-size:13px}
.story-stats{
  display:grid;grid-template-columns:1fr 1fr;gap:18px;
  position:relative;z-index:1;
}
.story-stat{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;padding:20px;backdrop-filter:blur(10px);
}
.story-stat .v{font-size:36px;font-weight:800;letter-spacing:-0.02em;color:#fff;line-height:1}
.story-stat .v sub{font-size:.5em;color:var(--orange);font-weight:600;vertical-align:baseline;margin-left:2px}
.story-stat .lbl{font-size:12.5px;color:rgba(255,255,255,.7);margin-top:8px;line-height:1.45}
.story-cta{
  position:relative;z-index:1;
  margin-top:24px;display:inline-flex;align-items:center;gap:8px;
  font-size:14px;font-weight:600;color:#fff;
  padding-bottom:6px;border-bottom:1px solid rgba(255,255,255,.3);
  transition:all .2s ease;
}
.story-cta:hover{border-color:var(--orange);color:var(--orange);gap:12px}

/* ---------- Stats ---------- */
.stats{padding:80px 0;background:var(--bg-soft)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.stat{text-align:center}
.stat .v{font-size:clamp(48px,5vw,64px);font-weight:800;color:var(--ink);letter-spacing:-0.03em;line-height:1}
.stat .v sup{font-size:.45em;color:var(--orange);vertical-align:top;font-weight:700}
.stat .lbl{font-size:14px;color:var(--muted);margin-top:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}

/* ---------- Pillars ---------- */
.pillars{background:var(--bg)}
.pillars-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:48px}
.pillar{padding:40px 32px;background:#fff;border-radius:var(--r-lg);border:1px solid var(--line-soft);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.pillar:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--line)}
.pillar .ic{
  width:56px;height:56px;border-radius:14px;
  background:var(--orange-soft);color:var(--orange);
  display:flex;align-items:center;justify-content:center;margin-bottom:20px;
}
.pillar h3{font-size:22px;margin-bottom:10px}
.pillar p{font-size:15.5px;color:var(--body);line-height:1.6}

/* ---------- Process ---------- */
.process{background:var(--bg-soft)}
.process-steps{
  display:grid;grid-template-columns:repeat(4,1fr);gap:24px;
  margin-top:48px;position:relative;
}
.process-steps::before{
  content:"";position:absolute;top:32px;left:8%;right:8%;height:2px;
  background:repeating-linear-gradient(90deg,var(--line) 0 6px,transparent 6px 12px);
  z-index:0;
}
.step{position:relative;text-align:center;padding:0 12px}
.step .num{
  width:64px;height:64px;border-radius:50%;background:#fff;
  border:2px solid var(--line);color:var(--ink);
  font-size:22px;font-weight:800;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 18px;position:relative;z-index:1;letter-spacing:-0.02em;
  transition:all .25s ease;
}
.step:hover .num{background:var(--orange);border-color:var(--orange);color:#fff;transform:scale(1.05)}
.step h4{font-size:18px;margin-bottom:8px}
.step p{font-size:14.5px;color:var(--body);line-height:1.55}

/* ---------- Resources ---------- */
.resources{background:var(--bg)}
.res-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:48px}
.res-card{
  background:#fff;border:1px solid var(--line-soft);border-radius:var(--r-lg);
  overflow:hidden;display:flex;flex-direction:column;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.res-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--line)}
.res-card .img{
  aspect-ratio:16/10;position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--ink),#3a4f63);
}
.res-card .img.r-orange{background:linear-gradient(135deg,#ff8a59,var(--coral))}
.res-card .img.r-teal{background:linear-gradient(135deg,#26d4bc,var(--teal))}
.res-card .img.r-blue{background:linear-gradient(135deg,#3eb0c8,var(--blue))}
.res-card .img svg{position:absolute;inset:0;margin:auto;color:rgba(255,255,255,.85)}
.res-card .body{padding:24px;display:flex;flex-direction:column;flex:1}
.res-card .tag{
  display:inline-block;padding:4px 10px;border-radius:6px;
  background:var(--bg-soft);color:var(--muted);
  font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  align-self:flex-start;margin-bottom:14px;
}
.res-card h4{font-size:19px;margin-bottom:10px;line-height:1.3}
.res-card p{font-size:14.5px;color:var(--body);line-height:1.55;margin-bottom:18px}
.res-card .meta{
  margin-top:auto;display:flex;justify-content:space-between;align-items:center;
  padding-top:14px;border-top:1px solid var(--line-soft);
  font-size:13px;color:var(--muted);
}
.res-card .read{color:var(--orange);font-weight:600}

/* ---------- CTA banner ---------- */
.cta-banner{
  padding:88px 0;
  background:linear-gradient(135deg,#0a2540 0%,#0f2d4f 60%,#15355a 100%);
  position:relative;overflow:hidden;
}
.cta-banner::before{
  content:"";position:absolute;
  width:400px;height:400px;border-radius:50%;
  background:radial-gradient(closest-side,rgba(214,38,60,.3),transparent 70%);
  top:50%;right:-150px;transform:translateY(-50%);
}
.cta-grid{
  display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:center;
  position:relative;z-index:1;
}
.cta-banner h2{color:#fff;letter-spacing:-0.025em;font-size:clamp(30px,3.8vw,48px)}
.cta-banner p{color:rgba(255,255,255,.9);font-size:18px;margin-top:14px;max-width:520px}
.cta-actions{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.cta-actions .btn-primary{background:#fff;color:var(--ink)}
.cta-actions .btn-primary:hover{background:var(--ink);color:#fff;box-shadow:0 8px 18px -4px rgba(0,0,0,.3)}
.cta-actions .btn-ghost{color:#fff;border-color:rgba(255,255,255,.4)}
.cta-actions .btn-ghost:hover{background:rgba(255,255,255,.1);border-color:#fff}

/* ---------- Footer ---------- */
footer.site{
  background:var(--ink);color:rgba(255,255,255,.75);
  padding:80px 0 32px;font-size:14px;
}
.foot-grid{
  display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1fr;gap:48px;
  padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,.1);
}
.foot-brand .logo{color:#fff}
.foot-brand p{margin-top:18px;line-height:1.6;color:rgba(255,255,255,.6)}
.foot-brand .socials{display:flex;gap:10px;margin-top:24px}
.foot-brand .socials a{
  width:38px;height:38px;border-radius:50%;
  border:1px solid rgba(255,255,255,.15);
  display:flex;align-items:center;justify-content:center;color:#fff;
  transition:all .2s ease;
}
.foot-brand .socials a:hover{background:var(--orange);border-color:var(--orange);transform:translateY(-2px)}
footer h6{
  color:#fff;font-size:13px;font-weight:700;letter-spacing:.06em;
  text-transform:uppercase;margin-bottom:18px;
}
footer ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
footer ul a{color:rgba(255,255,255,.6);font-size:14px;transition:color .2s ease}
footer ul a:hover{color:var(--orange)}
.foot-bottom{
  padding-top:24px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;
  font-size:13px;color:rgba(255,255,255,.45);
}
.foot-bottom .links{display:flex;gap:22px}
.foot-bottom a:hover{color:#fff}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  .hubs,.res-grid{grid-template-columns:repeat(2,1fr)}
  .hero-grid,.spotlight-grid,.story-card,.cta-grid{grid-template-columns:1fr;gap:48px}
  .story-card{padding:48px}
  .hero-visual{height:auto;min-height:480px}
  .win-main{width:100%;max-width:560px;margin:0 auto;position:relative}
  .foot-grid{grid-template-columns:1.5fr 1fr 1fr;gap:32px}
}
@media (max-width:780px){
  .nav-actions a.text-link{display:none}
  .menu-toggle{display:block;flex-shrink:0}
  /* Tighten the header so the drawer fits and the hamburger never overflows. */
  .nav{gap:10px}
  .nav-actions{gap:8px}
  .nav-actions .btn-primary{padding:10px 14px;font-size:14px;white-space:nowrap}
  .logo .brand-text small{display:none}
  .pillars-grid,.process-steps,.stats-grid{grid-template-columns:repeat(2,1fr)}
  .process-steps::before{display:none}
  .logos-grid{grid-template-columns:repeat(3,1fr);gap:20px}
  .foot-grid{grid-template-columns:1fr 1fr;gap:32px}
  section{padding:64px 0}
  .hero{padding:48px 0 64px}
  .cta-actions{justify-content:flex-start}
  .float-card{display:none}
}
@media (max-width:480px){
  /* Drop the header CTA entirely on very narrow phones — the drawer has a
     "Kontakt" link in the Company section, so the header CTA is redundant. */
  .nav-actions .btn-primary{display:none}
  .lang-switch{padding:3px 4px}
  .lang-switch .lang-btn{padding:3px 7px;font-size:12px}
}
@media (max-width:540px){
  .hubs,.res-grid,.pillars-grid,.process-steps,.stats-grid{grid-template-columns:1fr}
  .logos-grid{grid-template-columns:repeat(2,1fr)}
  .story-stats{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr}
  .story-card{padding:32px 24px}
  h1{font-size:36px}
  h2{font-size:28px}
}

/* ---------- Reveal on scroll ---------- */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .8s ease,transform .8s ease}
.reveal.in-view{opacity:1;transform:none}
.reveal.d1{transition-delay:.1s}.reveal.d2{transition-delay:.2s}.reveal.d3{transition-delay:.3s}.reveal.d4{transition-delay:.4s}
@media (prefers-reduced-motion:reduce){
  .reveal,.float-card{animation:none !important;transform:none !important;opacity:1 !important;transition:none !important}
  html{scroll-behavior:auto}
  .marquee-track{animation:none !important}
}

/* ======================================================
   CLIENT ROTOR — 3-up paged carousel
   ====================================================== */
.logos{padding:72px 0}
.rotor{
  position:relative;overflow:hidden;
  max-width:1080px;margin:0 auto;
}
.rotor-track{
  display:flex;width:100%;
  transition:transform .9s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
}
.rotor-page{
  flex:0 0 100%;min-width:0;
  /* minmax(0,1fr) so columns can shrink below their image's intrinsic width;
     a plain 1fr expands to fit the widest logo and the cells end up unequal. */
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;
  padding:0 24px;align-items:stretch;
}
.rotor-cell{
  height:118px;
  display:flex;align-items:center;justify-content:center;
  padding:14px 18px;
  background:#fff;border:1px solid var(--line-soft);
  border-radius:14px;
  opacity:.95;
  transition:opacity .3s ease,transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.rotor-cell:hover{
  opacity:1;transform:translateY(-3px);
  box-shadow:var(--shadow-sm);border-color:var(--line);
}
.rotor-cell img{max-height:84px;max-width:100%;object-fit:contain;width:auto;height:auto}
.rotor-cell .fb{
  font-weight:800;color:var(--ink);font-size:18px;letter-spacing:-0.015em;
  text-align:center;line-height:1.2;
  display:inline-flex;align-items:center;gap:10px;
}
.rotor-cell .fb::before{
  content:"";width:8px;height:8px;border-radius:50%;background:var(--red);flex-shrink:0;
}
.rotor-cell.more{
  background:transparent;border:1px dashed var(--line);
  color:var(--muted);font-weight:600;font-size:14.5px;
  letter-spacing:.02em;
}
.rotor-cell.more:hover{border-color:var(--red);color:var(--red)}
.rotor-arrow{
  position:absolute;top:50%;transform:translateY(-50%);z-index:5;
  width:44px;height:44px;border-radius:50%;
  background:#fff;border:1px solid var(--line);color:var(--ink);
  font-size:22px;line-height:1;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-sm);
  transition:all .25s ease;
}
.rotor-arrow:hover{
  background:var(--red);border-color:var(--red);color:#fff;
  transform:translateY(-50%) scale(1.06);
  box-shadow:0 8px 18px -4px rgba(214,38,60,.35);
}
.rotor-arrow:active{transform:translateY(-50%) scale(.98)}
.rotor-prev{left:8px}
.rotor-next{right:8px}
[data-theme="dark"] .rotor-arrow{background:var(--bg-2);border-color:var(--line);color:var(--ink)}
[data-theme="dark"] .rotor-arrow:hover{background:var(--red);border-color:var(--red);color:#fff}

.rotor-dots{
  display:flex;gap:8px;justify-content:center;margin-top:36px;
}
.rotor-dots .d{
  width:10px;height:10px;border-radius:50%;
  background:var(--line);border:0;cursor:pointer;
  transition:all .25s ease;padding:0;
}
.rotor-dots .d.on{background:var(--red);width:32px;border-radius:5px}
.rotor-dots .d:hover{background:var(--muted)}

/* On mobile, switch the rotor from a 3-up paged carousel (JS-driven) to a
   native horizontally-scrollable strip with one large logo per screen. */
@media (max-width:780px){
  .rotor-track{
    overflow-x:auto;overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    transform:none !important;
    transition:none;
  }
  .rotor-track::-webkit-scrollbar{display:none}
  /* Flatten each page so individual cells become the track's flex items. */
  .rotor-page{
    display:contents;
  }
  .rotor-cell{
    flex:0 0 calc(100% - 32px);
    height:200px;
    margin:0 8px;
    scroll-snap-align:center;
  }
  .rotor-cell:first-child{margin-left:16px}
  .rotor-cell:last-child{margin-right:16px}
  .rotor-cell img{max-height:120px}
  /* Keep the arrows on mobile so the user can step through manually; they
     overlay the slide on each edge. The page dots are too dense for 21 cells
     so we hide them — the JS will handle wrap-around. */
  .rotor-arrow{width:36px;height:36px;font-size:18px}
  .rotor-prev{left:8px}
  .rotor-next{right:8px}
  .rotor-dots{display:none}
}

/* ======================================================
   THEME TOGGLE
   ====================================================== */
.theme-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;
  border:1px solid var(--line-soft);background:transparent;color:var(--ink);
  cursor:pointer;transition:all .25s ease;
}
.theme-toggle:hover{background:var(--bg-soft);border-color:var(--line);color:var(--red)}
.theme-toggle svg{width:16px;height:16px}
.theme-toggle .icon-moon{display:none}
.theme-toggle .icon-sun{display:block}
[data-theme="dark"] .theme-toggle .icon-moon{display:block}
[data-theme="dark"] .theme-toggle .icon-sun{display:none}

/* ======================================================
   DARK THEME
   ====================================================== */
[data-theme="dark"]{
  --ink:#f0f4f8;
  --body:#aebac9;
  --muted:#7e8fa3;
  --muted-2:#5b6c80;
  --line:#243144;
  --line-soft:#1a2533;
  --bg:#0a1018;
  --bg-soft:#111a26;
  --bg-2:#162133;
  --shadow-sm:0 2px 6px rgba(0,0,0,.3);
  --shadow:0 14px 36px -10px rgba(0,0,0,.45);
  --shadow-lg:0 30px 60px -20px rgba(0,0,0,.55);
  --red-soft:rgba(214,38,60,.16);
  --teal-soft:rgba(0,189,165,.16);
  --blue-soft:rgba(0,145,174,.16);
  --purple-soft:rgba(167,59,206,.18);
  --yellow-soft:rgba(245,194,107,.16);
  --coral-soft:rgba(255,122,89,.16);
}
[data-theme="dark"] body{background:var(--bg);color:var(--body)}
[data-theme="dark"] header.site{
  background:rgba(10,16,24,.92);
  border-bottom-color:var(--line-soft);
}
[data-theme="dark"] .logo,
[data-theme="dark"] nav.primary > a,
[data-theme="dark"] nav.primary > .has-mega > .trigger,
[data-theme="dark"] .nav-actions a.text-link{color:var(--ink)}
[data-theme="dark"] nav.primary > a:hover,
[data-theme="dark"] nav.primary > .has-mega:hover > .trigger,
[data-theme="dark"] .nav-actions a.text-link:hover{background:var(--bg-soft);color:var(--red)}
[data-theme="dark"] .menu-toggle{color:var(--ink)}
[data-theme="dark"] .mega{background:var(--bg-soft);border-color:var(--line)}
[data-theme="dark"] .mega-card:hover{background:var(--bg-2)}
[data-theme="dark"] .mega-text strong{color:var(--ink)}

/* Hero in dark */
[data-theme="dark"] .hero{
  background:
    radial-gradient(ellipse 800px 400px at 80% 0%,rgba(214,38,60,.18),transparent 70%),
    var(--bg);
}
[data-theme="dark"] .hero h1{color:var(--ink)}
[data-theme="dark"] .hero-trust b{color:var(--ink)}
[data-theme="dark"] .window{background:var(--bg-2);border-color:var(--line)}
[data-theme="dark"] .window-bar{background:var(--bg-soft);border-bottom-color:var(--line)}
[data-theme="dark"] .window-bar .url{background:var(--bg-2);border-color:var(--line);color:var(--muted)}
[data-theme="dark"] .dash-card{background:var(--bg-2);border-color:var(--line)}
[data-theme="dark"] .dash-card .v{color:var(--ink)}
[data-theme="dark"] .chart-card{background:var(--bg-2);border-color:var(--line)}
[data-theme="dark"] .chart-head h5{color:var(--ink)}
[data-theme="dark"] .float-card{background:var(--bg-2);border-color:var(--line)}
[data-theme="dark"] .float-card .text strong{color:var(--ink)}
[data-theme="dark"] .dash-bars span{background:rgba(214,38,60,.2)}
[data-theme="dark"] .dash-bars span.on{background:var(--red)}

/* Sections in dark */
[data-theme="dark"] .logos{background:var(--bg);border-color:var(--line-soft)}
[data-theme="dark"] .rotor-cell{
  background:#fff;
  border-color:transparent;
  opacity:.95;
}
[data-theme="dark"] .rotor-cell:hover{
  background:#fff;opacity:1;
  box-shadow:0 12px 28px -12px rgba(0,0,0,.45);
}
[data-theme="dark"] .rotor-cell .fb{color:#213343}
[data-theme="dark"] .rotor-cell.more{
  background:transparent;border:1px dashed var(--line);color:var(--muted);
  filter:none;opacity:1;
}
[data-theme="dark"] .rotor-cell.more:hover{background:transparent;border-color:var(--red);color:var(--red)}
[data-theme="dark"] .rotor-dots .d{background:var(--line)}
[data-theme="dark"] .rotor-dots .d.on{background:var(--red)}

[data-theme="dark"] h1,[data-theme="dark"] h2,[data-theme="dark"] h3,[data-theme="dark"] h4{color:var(--ink)}
[data-theme="dark"] .sec-head p,[data-theme="dark"] .hub p,[data-theme="dark"] .hub ul li{color:var(--body)}
[data-theme="dark"] .hub{background:var(--bg-soft);border-color:var(--line)}
[data-theme="dark"] .hub:hover{background:var(--bg-2);border-color:var(--line)}
[data-theme="dark"] .hub-ink{background:var(--bg-2);color:var(--ink)}
[data-theme="dark"] .hub-ink .more,[data-theme="dark"] .hub-ink ul li svg{color:var(--ink)}

/* Spotlight / story / stats in dark */
[data-theme="dark"] .spotlight{background:var(--bg-soft)}
[data-theme="dark"] .spotlight h2{color:var(--ink)}
[data-theme="dark"] .spotlight p,[data-theme="dark"] .spotlight .features li{color:var(--body)}
[data-theme="dark"] .spotlight .features li b{color:var(--ink)}
[data-theme="dark"] .story{background:var(--bg)}
[data-theme="dark"] .stats{background:var(--bg-soft)}
[data-theme="dark"] .stat .v{color:var(--ink)}

/* Pillars / process / resources in dark */
[data-theme="dark"] .pillars{background:var(--bg)}
[data-theme="dark"] .pillar{background:var(--bg-soft);border-color:var(--line)}
[data-theme="dark"] .pillar:hover{background:var(--bg-2);border-color:var(--line)}
[data-theme="dark"] .pillar p{color:var(--body)}
[data-theme="dark"] .process{background:var(--bg-soft)}
[data-theme="dark"] .step .num{background:var(--bg-2);border-color:var(--line);color:var(--ink)}
[data-theme="dark"] .step:hover .num{background:var(--red);border-color:var(--red);color:#fff}
[data-theme="dark"] .step p{color:var(--body)}
[data-theme="dark"] .resources{background:var(--bg)}
[data-theme="dark"] .res-card{background:var(--bg-soft);border-color:var(--line)}
[data-theme="dark"] .res-card:hover{background:var(--bg-2);border-color:var(--line)}
[data-theme="dark"] .res-card p{color:var(--body)}
[data-theme="dark"] .res-card .meta{color:var(--muted);border-top-color:var(--line)}
[data-theme="dark"] .res-card .tag{background:var(--bg-2);color:var(--muted)}

/* Footer already dark; tweak slightly */
[data-theme="dark"] footer.site{background:#06090e;border-top:1px solid var(--line-soft)}

/* Buttons in dark */
[data-theme="dark"] .btn-ghost{color:var(--ink);border-color:var(--line)}
[data-theme="dark"] .btn-ghost:hover{background:var(--bg-soft);border-color:var(--ink)}

/* Dark theme overrides for buttons sitting on the navy CTA banner — keep white-on-navy contrast */
[data-theme="dark"] .cta-actions .btn-primary{background:#fff;color:#0a2540}
[data-theme="dark"] .cta-actions .btn-primary:hover{background:#0a2540;color:#fff}
[data-theme="dark"] .cta-actions .btn-ghost{color:#fff;border-color:rgba(255,255,255,.45)}
[data-theme="dark"] .cta-actions .btn-ghost:hover{background:rgba(255,255,255,.12);border-color:#fff;color:#fff}

/* Dark theme: keep dark text on the white badge-pill that sits over the spotlight image */
[data-theme="dark"] .spotlight-img .overlay .badge-pill{color:#0a2540}

/* Eyebrow pill stays red-soft via --red-soft override */

/* ======================================================
   USLUGE — Services grid
   ====================================================== */
.usluge{background:var(--bg)}
.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:64px}
.svc{
  position:relative;padding:36px 30px;
  background:#fff;border:1px solid var(--line-soft);
  border-radius:var(--r-lg);
  display:flex;flex-direction:column;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.svc:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--line)}
.svc .num{
  font-size:11.5px;font-weight:700;color:var(--red);
  letter-spacing:.18em;text-transform:uppercase;margin-bottom:18px;
  font-family:'JetBrains Mono','Courier New',monospace;
}
.svc .ic{
  width:52px;height:52px;border-radius:12px;
  background:var(--red-soft);color:var(--red);
  display:flex;align-items:center;justify-content:center;margin-bottom:18px;
}
.svc h3{font-size:20px;margin-bottom:10px;letter-spacing:-0.015em}
.svc p{font-size:15px;color:var(--body);line-height:1.55;margin-bottom:18px}
.svc .tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}
.svc .tags span{
  font-size:11.5px;background:var(--bg-soft);color:var(--muted);
  padding:4px 10px;border-radius:6px;font-weight:600;
}

/* 4-step process embedded in usluge */
.process-bar{
  background:var(--bg-soft);border-radius:var(--r-lg);padding:48px;
  border:1px solid var(--line-soft);
}
.process-bar h3{font-size:24px;margin-bottom:8px}
.process-bar > p{color:var(--body);font-size:16px;margin-bottom:36px;max-width:680px}
.process-row{
  display:grid;grid-template-columns:repeat(4,1fr);gap:20px;position:relative;
}
.process-row::before{
  content:"";position:absolute;top:24px;left:8%;right:8%;height:2px;
  background:repeating-linear-gradient(90deg,var(--line) 0 6px,transparent 6px 12px);z-index:0;
}
.proc-step{position:relative;text-align:center;padding:0 8px}
.proc-step .num{
  width:48px;height:48px;border-radius:50%;
  background:#fff;border:2px solid var(--line);
  color:var(--ink);font-weight:800;font-size:16px;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 16px;position:relative;z-index:1;
  transition:all .25s ease;
}
.proc-step:hover .num{background:var(--red);border-color:var(--red);color:#fff;transform:scale(1.06)}
.proc-step h4{font-size:16px;margin-bottom:6px}
.proc-step p{font-size:13.5px;color:var(--body);line-height:1.5}

/* ======================================================
   PROLIFICS section
   ====================================================== */
.prolifics{background:var(--bg-soft);padding:96px 0}
.prolifics-grid{
  display:grid;grid-template-columns:5fr 7fr;gap:48px;align-items:start;
  margin-bottom:48px;
}
.prolifics-intro h2 em{color:var(--red);font-style:normal}
.prolifics-intro p{font-size:17px;color:var(--body);line-height:1.65;margin-top:18px}
.prolifics-badge{
  display:inline-flex;align-items:center;gap:10px;
  background:#fff;border:1px solid var(--line-soft);border-radius:999px;
  padding:8px 16px 8px 8px;font-size:13px;font-weight:600;color:var(--ink);
  margin-top:24px;
}
.prolifics-badge .b-mark{
  width:32px;height:32px;border-radius:50%;
  background:linear-gradient(135deg,var(--red),#e84a5b);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:800;letter-spacing:-0.02em;
}
.prolifics-badge .arrow{color:var(--red);font-size:18px;line-height:1;margin:0 4px}

.areas{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.area{
  padding:24px;background:#fff;border:1px solid var(--line-soft);
  border-radius:12px;display:flex;gap:16px;align-items:flex-start;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.area:hover{transform:translateY(-2px);border-color:var(--line);box-shadow:var(--shadow-sm)}
.area .ic{
  width:42px;height:42px;border-radius:10px;flex-shrink:0;
  background:var(--red-soft);color:var(--red);
  display:flex;align-items:center;justify-content:center;
}
.area h4{font-size:16px;margin-bottom:4px}
.area p{font-size:13.5px;color:var(--body);line-height:1.5;margin:0}

/* ======================================================
   ABOUT — extended with map
   ====================================================== */
.about{background:var(--bg);padding:96px 0}
.about-intro{
  display:grid;grid-template-columns:6fr 4fr;gap:64px;align-items:start;
  margin-bottom:64px;
}
.about-intro p{font-size:17px;color:var(--body);line-height:1.7;margin-bottom:14px}
.about-intro p strong{color:var(--ink);font-weight:600}
.about-card{
  padding:32px;background:var(--bg-soft);border-radius:var(--r-lg);
  border:1px solid var(--line-soft);
}
.about-card h6{
  font-size:11.5px;font-weight:700;letter-spacing:.18em;
  color:var(--red);text-transform:uppercase;margin-bottom:14px;
}
.about-card .row{
  display:flex;justify-content:space-between;gap:18px;
  padding:11px 0;border-bottom:1px solid var(--line-soft);font-size:14px;
}
.about-card .row:last-child{border-bottom:0}
.about-card .row span:first-child{color:var(--muted);font-weight:500}
.about-card .row span:last-child{color:var(--ink);font-weight:600;text-align:right}

.about-stats{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;
  margin-bottom:64px;padding:32px 0;
  border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);
}
.about-stat .v{
  font-size:40px;font-weight:800;color:var(--ink);
  letter-spacing:-0.02em;line-height:1;margin-bottom:6px;
}
.about-stat .v sup{font-size:.45em;color:var(--red);font-weight:700;vertical-align:top}
.about-stat .lbl{font-size:13px;color:var(--muted);font-weight:600;letter-spacing:.04em;text-transform:uppercase}

.map-wrap{
  position:relative;border-radius:var(--r-lg);overflow:hidden;
  aspect-ratio:21/9;border:1px solid var(--line-soft);
  background:var(--bg-soft);
}
.map-wrap iframe{
  position:absolute;inset:0;width:100%;height:100%;border:0;
  transition:filter .3s ease;
}
.map-pin{
  position:absolute;top:18px;left:18px;z-index:2;
  background:var(--red);color:#fff;
  padding:9px 16px;border-radius:999px;
  font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  display:inline-flex;align-items:center;gap:9px;pointer-events:none;
  box-shadow:0 8px 24px -8px rgba(0,0,0,.25);
}
.map-pin::before{
  content:"";width:6px;height:6px;border-radius:50%;background:#fff;
  animation:pulse 2s ease-in-out infinite;
}
@keyframes pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.6);opacity:.4}}
.map-link{
  position:absolute;bottom:18px;right:18px;z-index:2;
  background:#fff;color:var(--ink);
  padding:10px 16px;border-radius:999px;
  font-size:13px;font-weight:600;
  display:inline-flex;align-items:center;gap:8px;
  border:1px solid var(--line-soft);
  box-shadow:var(--shadow-sm);
  transition:all .25s ease;
}
.map-link:hover{background:var(--red);color:#fff;border-color:var(--red)}

/* Dark mode overrides for new sections */
[data-theme="dark"] .usluge{background:var(--bg)}
[data-theme="dark"] .svc{background:var(--bg-soft);border-color:var(--line)}
[data-theme="dark"] .svc:hover{background:var(--bg-2);border-color:var(--line)}
[data-theme="dark"] .svc h3{color:var(--ink)}
[data-theme="dark"] .svc p{color:var(--body)}
[data-theme="dark"] .svc .tags span{background:var(--bg-2);color:var(--muted)}
[data-theme="dark"] .process-bar{background:var(--bg-soft);border-color:var(--line)}
[data-theme="dark"] .process-bar h3{color:var(--ink)}
[data-theme="dark"] .process-bar > p{color:var(--body)}
[data-theme="dark"] .proc-step .num{background:var(--bg-2);border-color:var(--line);color:var(--ink)}
[data-theme="dark"] .proc-step:hover .num{background:var(--red);border-color:var(--red);color:#fff}
[data-theme="dark"] .proc-step h4{color:var(--ink)}
[data-theme="dark"] .proc-step p{color:var(--body)}

[data-theme="dark"] .prolifics{background:var(--bg-soft)}
[data-theme="dark"] .prolifics-intro h2{color:var(--ink)}
[data-theme="dark"] .prolifics-intro p{color:var(--body)}
[data-theme="dark"] .prolifics-badge{background:var(--bg-2);border-color:var(--line);color:var(--ink)}
[data-theme="dark"] .area{background:var(--bg-2);border-color:var(--line)}
[data-theme="dark"] .area:hover{border-color:var(--line)}
[data-theme="dark"] .area h4{color:var(--ink)}
[data-theme="dark"] .area p{color:var(--body)}

[data-theme="dark"] .about{background:var(--bg)}
[data-theme="dark"] .about-intro p{color:var(--body)}
[data-theme="dark"] .about-intro p strong{color:var(--ink)}
[data-theme="dark"] .about-card{background:var(--bg-soft);border-color:var(--line)}
[data-theme="dark"] .about-card .row{border-bottom-color:var(--line)}
[data-theme="dark"] .about-card .row span:last-child{color:var(--ink)}
[data-theme="dark"] .about-stats{border-color:var(--line)}
[data-theme="dark"] .about-stat .v{color:var(--ink)}
[data-theme="dark"] .map-wrap{background:var(--bg-soft);border-color:var(--line)}
[data-theme="dark"] .map-wrap iframe{filter:invert(.92) hue-rotate(180deg) saturate(.5)}
[data-theme="dark"] .map-link{background:var(--bg-2);color:var(--ink);border-color:var(--line)}
[data-theme="dark"] .map-link:hover{background:var(--red);color:#fff;border-color:var(--red)}

/* Responsive */
@media (max-width:1100px){
  .svc-grid{grid-template-columns:repeat(2,1fr)}
  .prolifics-grid,.about-intro{grid-template-columns:1fr;gap:32px}
  .areas{grid-template-columns:1fr}
}
@media (max-width:780px){
  .svc-grid,.process-row{grid-template-columns:1fr;gap:14px}
  .process-row::before{display:none}
  .about-stats{grid-template-columns:1fr;gap:18px}
  .about-stat{text-align:center}
  .process-bar{padding:32px 24px}
  .map-wrap{aspect-ratio:4/3}
}

/* ---------- Hero v2 — Partner na vašem digitalnom putu ---------- */
.hero{isolation:isolate}
.hero .wrap{position:relative;z-index:2}
.hero-pattern{
  position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:
    linear-gradient(rgba(33,51,67,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(33,51,67,.05) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 70% 60% at 50% 50%,#000 40%,transparent 80%);
  -webkit-mask-image:radial-gradient(ellipse 70% 60% at 50% 50%,#000 40%,transparent 80%);
}
[data-theme="dark"] .hero-pattern{
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
}
.float-shape{position:absolute;pointer-events:none;z-index:0}
.float-shape.s1{
  top:14%;right:6%;width:96px;height:96px;
  border-radius:20px;background:linear-gradient(135deg,var(--orange),#ff7a59);
  opacity:.18;animation:floatRot 22s linear infinite;
}
.float-shape.s2{
  bottom:14%;left:5%;width:64px;height:64px;
  border-radius:50%;border:3px solid var(--ink);
  opacity:.16;animation:floatRot 28s linear infinite reverse;
}
.float-shape.s3{
  top:55%;right:14%;width:48px;height:48px;
  background:var(--ink);transform:rotate(45deg);
  opacity:.10;animation:floatBob 14s ease-in-out infinite;
}
[data-theme="dark"] .float-shape.s2{border-color:#e8eef5;opacity:.14}
[data-theme="dark"] .float-shape.s3{background:#e8eef5;opacity:.08}
@keyframes floatRot{
  from{transform:rotate(0) translateY(0)}
  50%{transform:rotate(180deg) translateY(-20px)}
  to{transform:rotate(360deg) translateY(0)}
}
@keyframes floatBob{
  0%,100%{transform:rotate(45deg) translateY(0)}
  50%{transform:rotate(45deg) translateY(-30px)}
}

.hero-card{
  background:#fff;border:1px solid var(--line-soft);border-radius:14px;
  padding:32px;box-shadow:var(--shadow-lg);
  position:relative;
}
.hero-card .pill{
  display:inline-block;background:var(--orange-soft);color:var(--orange);
  font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  padding:6px 12px;border-radius:999px;margin-bottom:14px;
}
.hero-card h3{font-size:22px;margin:0 0 10px;color:var(--ink);font-weight:700;letter-spacing:-0.015em}
.hero-card p{margin:0 0 20px;color:var(--muted);font-size:15.5px;line-height:1.55}
.hero-card ul{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.hero-card li{display:flex;align-items:center;gap:12px;font-size:15px;color:var(--ink);font-weight:500}
.hero-card li svg{flex-shrink:0;color:var(--orange)}
[data-theme="dark"] .hero-card{background:var(--bg-soft);border-color:var(--line)}
[data-theme="dark"] .hero-card h3,
[data-theme="dark"] .hero-card li{color:var(--ink)}

@media (max-width:980px){
  .hero-card{padding:26px}
}
@media (prefers-reduced-motion:reduce){
  .float-shape{animation:none !important}
}

/* ======================================================
   v2 additions — shared product-page styles, mobile nav,
   focus rings, accessibility helpers
   ====================================================== */

/* Button reset for nav .trigger (now a real <button>) */
nav.primary > .has-mega > button.trigger{
  font:inherit;background:transparent;border:0;cursor:pointer;
}

/* Visible focus styles */
:focus-visible{outline:2px solid var(--orange);outline-offset:2px;border-radius:4px}
.btn:focus-visible{outline-offset:3px}

/* Footer link color helper (replaces inline style="color:rgba(255,255,255,.85)") */
.foot-link-light{color:rgba(255,255,255,.85)}
.foot-link-light:hover{color:#fff}
.foot-legal-id{opacity:.7;font-size:12.5px;line-height:1.5;color:rgba(255,255,255,.45);margin-top:6px;list-style:none}

/* The drawer-only CTA is hidden everywhere by default; the mobile media query
   below reveals it inside the drawer. We need the higher-specificity
   `nav.primary > a.drawer-cta` selector because the base
   `nav.primary > a` rule above sets display:inline-flex. */
nav.primary > a.drawer-cta{display:none}

/* ---------- Mobile side-drawer nav (<=780px) ---------- */
@media (max-width:780px){
  /* Drawer: full-height panel that slides in from the right, occupying ~80% of viewport.
     A strip of the dimmed page stays visible on the left, like a native app drawer.
     Menu items start at the very top of the panel — no header chrome. */
  nav.primary{
    display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;
    position:fixed;top:0;right:0;bottom:0;
    width:min(360px,82vw);
    background:var(--bg);
    padding:0;
    gap:0;overflow-y:auto;z-index:65;
    transform:translateX(100%);
    transition:transform .28s cubic-bezier(.22,.61,.36,1),visibility 0s linear .28s;
    visibility:hidden;
    border-left:1px solid var(--line-soft);
    box-shadow:-24px 0 48px -16px rgba(0,0,0,.22);
  }
  [data-theme="dark"] nav.primary{
    background:var(--bg-soft);border-left-color:var(--line);
    box-shadow:-24px 0 48px -16px rgba(0,0,0,.55);
  }
  body.nav-open nav.primary{
    transform:translateX(0);
    visibility:visible;
    transition:transform .28s cubic-bezier(.22,.61,.36,1),visibility 0s linear 0s;
  }

  /* Backdrop dims the page. Closing happens via backdrop tap, Escape, the
     hamburger toggle, or the Kontaktirajte nas CTA navigating away. */
  .nav-backdrop{
    position:fixed;inset:0;
    background:rgba(15,23,42,.5);
    opacity:0;visibility:hidden;
    transition:opacity .28s ease,visibility 0s linear .28s;
    z-index:60;
  }
  body.nav-open{overflow:hidden}
  body.nav-open .nav-backdrop{
    opacity:1;visibility:visible;
    transition:opacity .28s ease;
  }
  /* The drawer (nav.primary) lives inside header.site, whose z-index of 50
     creates a stacking context that traps the drawer below the body-level
     backdrop. Raise the header above the backdrop while the drawer is open so
     the drawer's items receive clicks. */
  body.nav-open header.site{z-index:70}
  body.nav-open header.demo-head{z-index:70;position:relative}

  /* Top-level drawer items: full-width tap targets with subtle dividers. */
  nav.primary > a:not(.drawer-cta),
  nav.primary > .has-mega > .trigger{
    width:100%;justify-content:space-between;
    padding:16px 20px;font-size:16px;font-weight:500;
    color:var(--ink);border-radius:0;
    border-bottom:1px solid var(--line-soft);
  }
  [data-theme="dark"] nav.primary > a:not(.drawer-cta),
  [data-theme="dark"] nav.primary > .has-mega > .trigger{border-bottom-color:var(--line)}
  nav.primary > a:not(.drawer-cta):hover,
  nav.primary > .has-mega > .trigger:hover{
    background:var(--bg-soft);color:var(--orange);
  }
  nav.primary > .has-mega{position:static;border-bottom:1px solid var(--line-soft)}
  [data-theme="dark"] nav.primary > .has-mega{border-bottom-color:var(--line)}
  nav.primary > .has-mega > .trigger{border-bottom:0}
  nav.primary > .has-mega.open > .trigger{color:var(--orange);background:var(--bg-soft)}

  /* Mega menu becomes an inline expander inside the drawer. */
  nav.primary .mega{
    position:static;transform:none !important;
    opacity:1;visibility:visible;pointer-events:auto;
    min-width:0;width:100%;box-shadow:none;border:0;
    grid-template-columns:1fr;gap:0;background:var(--bg-soft);
    padding:4px 0;border-radius:0;
    display:none;
  }
  [data-theme="dark"] nav.primary .mega{background:var(--bg-2)}
  nav.primary .has-mega.open .mega{display:grid}
  nav.primary .mega-card{padding:12px 20px 12px 36px;border-radius:0}
  nav.primary .mega-card .mega-icon{width:32px;height:32px}
  nav.primary .mega-card:hover{background:rgba(0,0,0,.04)}
  [data-theme="dark"] nav.primary .mega-card:hover{background:rgba(255,255,255,.04)}

  /* Drawer CTA — appears as a prominent button at the bottom of the menu list.
     Uses the higher-specificity selector so it wins over the desktop hide rule. */
  nav.primary > a.drawer-cta{
    display:inline-flex;align-items:center;justify-content:center;
    margin:18px 20px 4px;padding:14px 20px;
    background:var(--orange);color:#fff;
    border-radius:8px;font-size:15px;font-weight:600;
    text-align:center;
    transition:background .2s ease,transform .15s ease,box-shadow .2s ease;
    box-shadow:0 4px 12px -4px rgba(214,38,60,.4);
    border-bottom:0;
  }
  nav.primary > a.drawer-cta:hover,
  nav.primary > a.drawer-cta:focus-visible{
    background:var(--orange-dark);color:#fff;transform:translateY(-1px);
    box-shadow:0 8px 18px -4px rgba(214,38,60,.5);
  }

  .menu-toggle[aria-expanded="true"]{color:var(--orange)}
}

/* ---------- Mobile centering (<=780px) ---------- */
@media (max-width:780px){
  /* Index hero text block */
  .hero-grid > div{text-align:center}
  .hero-grid .eyebrow,
  .hero-grid .hero-cta,
  .hero-grid .hero-trust{justify-content:center}
  .hero-lead{margin-left:auto;margin-right:auto}
  .hero-cta,.cta-actions{justify-content:center}

  /* Product-page heroes (lims, metrica, dna, pl, hygia) */
  .product-hero .wrap{text-align:center}
  .product-hero .lead{margin-left:auto;margin-right:auto}
  .product-hero .cta-row{justify-content:center}

  /* CTA banner copy block */
  .cta-banner .cta-grid > div:first-child{text-align:center}
}

/* Shared product-page (subpage) styles — moved out of inline <style> blocks */
.product-hero{
  position:relative;overflow:hidden;
  padding:96px 0 80px;
  border-bottom:1px solid var(--line-soft);
}
.product-hero .hero-bg{
  position:absolute;inset:0;z-index:0;
  background-size:cover;background-position:center;
  filter:brightness(.9) saturate(1.05);
}
.product-hero::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.78) 0%,rgba(255,255,255,.94) 60%,#fff 100%);
}
[data-theme="dark"] .product-hero::after{
  background:linear-gradient(180deg,rgba(10,15,28,.74) 0%,rgba(10,15,28,.92) 60%,var(--bg) 100%);
}
.product-hero .wrap{position:relative;z-index:2}
.product-hero .pkg{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 14px;border-radius:999px;
  font-size:13px;font-weight:600;
  margin-bottom:24px;letter-spacing:.02em;
}
.product-hero .pkg .dot{width:6px;height:6px;border-radius:50%}
.product-hero.hub-blue .pkg{color:var(--blue);background:var(--blue-soft)}
.product-hero.hub-blue .pkg .dot{background:var(--blue)}
.product-hero.hub-purple .pkg{color:var(--purple);background:var(--purple-soft)}
.product-hero.hub-purple .pkg .dot{background:var(--purple)}
.product-hero.hub-teal .pkg{color:var(--teal);background:var(--teal-soft)}
.product-hero.hub-teal .pkg .dot{background:var(--teal)}
.product-hero.hub-coral .pkg{color:var(--coral);background:var(--coral-soft)}
.product-hero.hub-coral .pkg .dot{background:var(--coral)}
.product-hero.hub-yellow .pkg{color:#a8741a;background:var(--yellow-soft)}
.product-hero.hub-yellow .pkg .dot{background:var(--yellow)}
.product-hero h1{
  font-size:clamp(40px,5.6vw,72px);font-weight:800;
  letter-spacing:-0.03em;line-height:1.05;margin-bottom:18px;color:var(--ink);
}
.product-hero h1 .em{color:var(--red);font-style:normal}
.product-hero .lead{font-size:19px;color:var(--body);max-width:680px;line-height:1.55;margin-bottom:32px}
.product-hero .cta-row{display:flex;gap:14px;flex-wrap:wrap}

.product-section{padding:80px 0}
.product-section .sec-head{text-align:left;margin:0 0 48px}

.feat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.feat-grid.cols-3{grid-template-columns:repeat(3,1fr)}
.feat-card{
  padding:32px 28px;background:#fff;
  border:1px solid var(--line-soft);border-radius:14px;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.feat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--line)}
[data-theme="dark"] .feat-card{background:var(--bg-soft);border-color:var(--line)}
[data-theme="dark"] .feat-card:hover{background:var(--bg-2)}
.feat-card .num{
  font-size:11px;font-weight:700;color:var(--red);
  letter-spacing:.16em;text-transform:uppercase;margin-bottom:14px;
  font-family:'JetBrains Mono','Courier New',monospace;
}
.feat-card h3{font-size:18px;margin-bottom:10px}
.feat-card p{font-size:14.5px;color:var(--body);line-height:1.55}

.std-panel{padding:48px;background:var(--bg-soft);border:1px solid var(--line-soft);border-radius:14px}
[data-theme="dark"] .std-panel{background:var(--bg-2);border-color:var(--line)}
.std-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:32px}
.std{display:flex;gap:14px;align-items:flex-start}
.std .ic{
  width:42px;height:42px;border-radius:10px;flex-shrink:0;
  background:#fff;color:var(--red);
  border:1px solid var(--line-soft);
  display:flex;align-items:center;justify-content:center;
}
[data-theme="dark"] .std .ic{background:var(--bg-soft);border-color:var(--line)}
.std h4{font-size:16px;margin-bottom:6px;color:var(--ink)}
.std p{font-size:13.5px;color:var(--body);line-height:1.5}

.industries-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.industry-tile{
  padding:22px 20px;background:#fff;border:1px solid var(--line-soft);
  border-radius:12px;display:flex;gap:14px;align-items:flex-start;
}
[data-theme="dark"] .industry-tile{background:var(--bg-soft);border-color:var(--line)}
.industry-tile .ic{
  width:36px;height:36px;border-radius:8px;flex-shrink:0;
  background:var(--blue-soft);color:var(--blue);
  display:flex;align-items:center;justify-content:center;
}
.industry-tile h5{font-size:15px;color:var(--ink);margin-bottom:4px;font-weight:700}
.industry-tile p{font-size:13px;color:var(--muted);line-height:1.45}

.modules-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.module-row{
  display:flex;gap:14px;padding:18px 20px;
  background:#fff;border:1px solid var(--line-soft);border-radius:12px;
  align-items:flex-start;
}
[data-theme="dark"] .module-row{background:var(--bg-soft);border-color:var(--line)}
.module-row .badge{
  flex-shrink:0;font-size:11px;font-weight:700;letter-spacing:.06em;
  background:var(--blue-soft);color:var(--blue);
  padding:4px 10px;border-radius:6px;text-transform:uppercase;
}
.module-row .body strong{display:block;color:var(--ink);font-size:15px;margin-bottom:4px}
.module-row .body p{font-size:13.5px;color:var(--body);line-height:1.5}

.prose{max-width:780px;margin:0 auto;font-size:17.5px;line-height:1.75;color:var(--body)}
.prose p{margin-bottom:1.4em}
.prose p:first-child::first-letter{
  font-size:3.4em;float:left;line-height:.95;
  margin:6px 12px 0 -2px;font-weight:800;color:var(--red);
}
.prose strong{color:var(--ink);font-weight:600}
.prose em{
  color:var(--red);font-style:normal;font-weight:600;
  font-family:'JetBrains Mono','Courier New',monospace;font-size:.92em;letter-spacing:-.01em;
}

.answers{background:var(--bg-soft);border:1px solid var(--line-soft);border-radius:14px;padding:40px}
[data-theme="dark"] .answers{background:var(--bg-soft);border-color:var(--line)}
.answers h3{font-size:20px;margin-bottom:24px}
.answers ul{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:16px 32px;margin:0;padding:0}
.answers li{display:flex;gap:12px;align-items:flex-start;font-size:14.5px;color:var(--body);line-height:1.5}
.answers li svg{flex-shrink:0;color:var(--red);margin-top:4px}

@media (max-width:880px){
  .feat-grid,.feat-grid.cols-3,.std-grid,.industries-grid,.modules-list{grid-template-columns:1fr}
  .std-panel{padding:32px 24px}
  .answers{padding:32px 24px}
  .answers ul{grid-template-columns:1fr}
  .prose p:first-child::first-letter{font-size:2.6em}
}

