/* =====================================================================
   VISCAP Consultancy Services — Redesign Design System
   Author: JR Creatives
   ---------------------------------------------------------------------
   BRAND COLORS (single source of truth).
   The original VISCAP theme is a deep corporate blue + SAP "gold partner"
   gold accent. These CSS variables are the ONLY place colors are defined.
   To match the exact original brand hex values, change them HERE once and
   every page updates. See WORDPRESS-IMPLEMENTATION-GUIDE.md.
   ===================================================================== */

:root {
  /* --- Core brand palette --- */
  --navy-900: #061533;   /* deepest background ink */
  --navy-800: #0a2350;   /* dark hero band */
  --navy-700: #0e3076;   /* primary deep blue */
  --brand-600: #1457d6;  /* primary brand blue (buttons, links) */
  --brand-500: #2f7bf0;  /* lighter brand blue */
  --cyan-400: #38c6f4;   /* tech accent / glow */
  --gold-500: #f5a623;   /* SAP gold accent */
  --gold-400: #ffc24b;   /* gold highlight */

  /* --- Neutrals --- */
  --ink: #0c1733;
  --slate-700: #334063;
  --slate-500: #5a678a;
  --slate-400: #8893b0;
  --line: #e6ebf5;
  --mist: #f4f7fd;
  --paper: #ffffff;

  /* --- Semantic --- */
  --bg: #ffffff;
  --text: #1a2342;
  --muted: #5a678a;

  /* --- Gradients --- */
  --grad-hero: radial-gradient(1200px 600px at 15% -10%, #16399a 0%, transparent 55%),
               radial-gradient(900px 500px at 100% 0%, #0b58c9 0%, transparent 50%),
               linear-gradient(135deg, #061533 0%, #0a2350 55%, #0e3076 100%);
  --grad-gold: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  --grad-blue: linear-gradient(135deg, var(--brand-600), var(--cyan-400));
  --grad-band: linear-gradient(120deg, #081a3d 0%, #0e2f73 60%, #14409a 100%);

  /* --- Typography --- */
  --font-head: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* --- Shape & motion --- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 4px 16px rgba(10, 35, 80, .08);
  --shadow-md: 0 14px 40px rgba(10, 35, 80, .12);
  --shadow-lg: 0 30px 70px rgba(8, 26, 61, .22);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --maxw: 1200px;
}

/* ----------------------- Reset & base ----------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1rem; color: var(--muted); }
a { color: var(--brand-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-500); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(60px, 9vw, 120px) 0; }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ----------------------- Eyebrow / kicker ----------------------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-600);
  background: linear-gradient(135deg, rgba(20,87,214,.1), rgba(56,198,244,.12));
  padding: 7px 16px; border-radius: 100px; margin-bottom: 18px;
  border: 1px solid rgba(20,87,214,.18);
}
.kicker.on-dark { color: var(--gold-400); background: rgba(245,166,35,.12); border-color: rgba(245,166,35,.3); }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-gold); }

.gold-text { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.blue-text { background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ----------------------- Buttons ----------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 28px; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: 0 10px 26px rgba(20,87,214,.35); }
.btn-primary:hover { color: #fff; box-shadow: 0 16px 36px rgba(20,87,214,.45); }
.btn-gold { background: var(--grad-gold); color: #2a1a00; box-shadow: 0 10px 26px rgba(245,166,35,.4); }
.btn-gold:hover { color: #2a1a00; }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-outline { background: transparent; color: var(--brand-600); border-color: rgba(20,87,214,.4); }
.btn-outline:hover { background: var(--brand-600); color: #fff; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ----------------------- Top bar + Nav ----------------------- */
.topbar {
  background: var(--navy-900); color: #c8d4ec; font-size: .82rem;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #c8d4ec; }
.topbar a:hover { color: var(--gold-400); }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; }
.topbar .tb-badge { color: var(--gold-400); font-weight: 600; }

header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
header.site.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--ink); letter-spacing: -.02em; }
.brand .logo-mark {
  width: 42px; height: 42px; border-radius: 12px; background: var(--grad-band);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(14,48,118,.35);
}
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .62rem; letter-spacing: .12em; color: var(--gold-500); text-transform: uppercase; }

.menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.menu > li { position: relative; }
.menu > li > a {
  display: flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: 10px;
  color: var(--ink); font-weight: 600; font-size: .95rem; font-family: var(--font-head);
}
.menu > li > a:hover { background: var(--mist); color: var(--brand-600); }
.menu > li > a .chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; opacity: .55; }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 10px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease);
}
.menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--slate-700); font-size: .92rem; font-weight: 500; }
.dropdown a:hover { background: var(--mist); color: var(--brand-600); padding-left: 18px; }
.dropdown .grp-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-400); padding: 12px 14px 4px; font-weight: 700; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* mobile nav */
.mobile-nav { display: none; }

/* ----------------------- HERO ----------------------- */
.hero { position: relative; background: var(--grad-hero); color: #fff; overflow: hidden; padding: clamp(70px, 11vw, 150px) 0 clamp(80px, 10vw, 130px); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.hero-orb.a { width: 420px; height: 420px; background: radial-gradient(circle, var(--brand-500), transparent 70%); top: -120px; right: -80px; animation: float 14s ease-in-out infinite; }
.hero-orb.b { width: 360px; height: 360px; background: radial-gradient(circle, var(--gold-500), transparent 70%); bottom: -140px; left: -60px; opacity: .35; animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px,-26px); } }

.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero h1 .accent { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: rgba(233,240,255,.85); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 44px; align-items: center; }
.hero-badge { display: flex; align-items: center; gap: 10px; color: rgba(233,240,255,.78); font-size: .9rem; font-weight: 500; }
.hero-badge b { color: #fff; font-family: var(--font-head); }
.hero-badge .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero-visual { position: relative; }
.glass-stack { display: grid; gap: 16px; }

/* ----------------------- Glass cards ----------------------- */
.glass {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-lg); backdrop-filter: blur(14px); padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18); transition: transform .35s var(--ease), background .3s;
}
.glass:hover { transform: translateY(-6px); background: rgba(255,255,255,.13); }
.glass h3 { color: #fff; margin-bottom: 6px; font-size: 1.1rem; }
.glass p { color: rgba(233,240,255,.78); font-size: .92rem; margin: 0; }
.glass .gi { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-gold); display: grid; place-items: center; margin-bottom: 14px; font-size: 1.3rem; }

/* ----------------------- Stat band ----------------------- */
.statband { background: var(--grad-band); color: #fff; position: relative; overflow: hidden; }
.statband::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 24px 24px; }
.stat-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat .lbl { color: rgba(233,240,255,.82); font-size: .95rem; margin-top: 8px; }

/* ----------------------- Feature / solution cards ----------------------- */
.grid { display: grid; gap: 26px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-blue); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .ci {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(20,87,214,.12), rgba(56,198,244,.16));
  color: var(--brand-600); font-size: 1.6rem; margin-bottom: 20px;
  transition: transform .35s var(--ease);
}
.card:hover .ci { transform: scale(1.08) rotate(-4deg); }
.card.gold .ci { background: linear-gradient(135deg, rgba(245,166,35,.16), rgba(255,194,75,.2)); color: var(--gold-500); }
.card h3 { font-size: 1.22rem; }
.card .tagline { font-family: var(--font-head); font-weight: 600; color: var(--brand-600); font-size: .95rem; margin: -2px 0 10px; }
.card p { font-size: .96rem; margin-bottom: 14px; }
.card .more { font-family: var(--font-head); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.card .chip-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.chip { font-size: .76rem; font-weight: 600; color: var(--slate-700); background: var(--mist); border: 1px solid var(--line); padding: 5px 11px; border-radius: 100px; }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; background: var(--grad-band); min-height: 340px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--slate-700); }
.feature-list li .tick { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--grad-gold); display: grid; place-items: center; color: #2a1a00; font-size: .75rem; font-weight: 800; margin-top: 2px; }
.feature-list li b { color: var(--ink); font-family: var(--font-head); }

/* mist section */
.bg-mist { background: var(--mist); }
.bg-dark { background: var(--navy-900); color: #fff; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: rgba(233,240,255,.8); }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* ----------------------- Process / steps ----------------------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); transition: .3s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step .sn { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h4 { margin: 8px 0 6px; font-size: 1.05rem; }
.step p { font-size: .88rem; margin: 0; }
.bg-dark .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.bg-dark .step h4 { color: #fff; }
.bg-dark .step p { color: rgba(233,240,255,.72); }

/* ----------------------- Logo wall ----------------------- */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.logo-wall .lw {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  height: 92px; display: grid; place-items: center; padding: 16px;
  font-family: var(--font-head); font-weight: 700; color: var(--slate-500); font-size: .95rem;
  transition: .3s var(--ease); text-align: center;
}
.logo-wall .lw:hover { color: var(--brand-600); border-color: var(--brand-500); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.logo-wall .lw img { max-height: 56px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(100%); opacity: .72; transition: .3s var(--ease); }
.logo-wall .lw:hover img { filter: grayscale(0); opacity: 1; }

/* ----------------------- Real image helpers ----------------------- */
.brand .logo-img { height: 46px; width: auto; display: block; border-radius: 8px; }
footer.site .brand .logo-img { height: 44px; }
.split-media > img.media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .ci img { width: 34px; height: 34px; object-fit: contain; }
.hero-badge .ic img { width: 24px; height: 24px; object-fit: contain; }
.badge-img { height: 64px; width: auto; object-fit: contain; }
.card-media { margin: -32px -32px 22px; height: 200px; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media .tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(6,21,51,.78); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .74rem; padding: 5px 12px; border-radius: 100px; backdrop-filter: blur(6px); }

/* ----------------------- Testimonial / quote ----------------------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px; box-shadow: var(--shadow-sm); position: relative; }
.quote-card::before { content: "\201C"; position: absolute; top: 10px; left: 26px; font-family: Georgia, serif; font-size: 5rem; color: rgba(20,87,214,.12); line-height: 1; }
.quote-card p { font-size: 1.08rem; color: var(--slate-700); position: relative; z-index: 1; }
.quote-meta { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.quote-meta .av { width: 48px; height: 48px; border-radius: 50%; background: var(--grad-band); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote-meta b { display: block; color: var(--ink); font-family: var(--font-head); }
.quote-meta span { font-size: .85rem; color: var(--muted); }

/* ----------------------- CTA band ----------------------- */
.cta-band { background: var(--grad-hero); color: #fff; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 70px); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 24px 24px; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(233,240,255,.85); position: relative; max-width: 600px; margin: 0 auto 28px; }
.cta-band .hero-cta { justify-content: center; position: relative; }

/* ----------------------- Page hero (interior) ----------------------- */
.page-hero { background: var(--grad-hero); color: #fff; padding: clamp(60px, 9vw, 110px) 0 clamp(50px,7vw,80px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 26px 26px; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 800px; }
.page-hero p { color: rgba(233,240,255,.85); max-width: 680px; font-size: 1.15rem; }
.crumbs { font-size: .85rem; color: rgba(233,240,255,.65); margin-bottom: 18px; display: flex; gap: 8px; }
.crumbs a { color: rgba(233,240,255,.8); }
.crumbs a:hover { color: var(--gold-400); }

/* ----------------------- Accordion ----------------------- */
.acc { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.acc + .acc { margin-top: 14px; }
.acc summary { cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.4rem; color: var(--brand-600); transition: .3s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding: 0 24px 22px; color: var(--muted); }

/* ----------------------- Footer ----------------------- */
footer.site { background: var(--navy-900); color: #aebbd6; padding: 70px 0 30px; position: relative; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
footer.site h4 { color: #fff; font-size: 1rem; letter-spacing: .04em; margin-bottom: 18px; text-transform: uppercase; font-size: .82rem; }
footer.site a { color: #aebbd6; font-size: .92rem; }
footer.site a:hover { color: var(--gold-400); }
.f-links { list-style: none; display: grid; gap: 11px; }
.f-brand .brand { color: #fff; margin-bottom: 14px; }
.f-brand .brand small { color: var(--gold-400); }
.f-brand p { color: #8fa0c2; font-size: .92rem; }
.f-offices { display: grid; gap: 14px; }
.f-office b { color: #fff; font-family: var(--font-head); font-size: .9rem; display: block; margin-bottom: 3px; }
.f-office span { font-size: .84rem; color: #8fa0c2; line-height: 1.45; }
.f-social { display: flex; gap: 12px; margin-top: 18px; }
.f-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.1); transition: .3s; }
.f-social a:hover { background: var(--grad-gold); transform: translateY(-3px); }
.f-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #7e8fb3; }

/* ----------------------- Reveal animation ----------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* =====================================================================
   ITRANSITION-STYLE COMPONENTS (cinematic hero, tabbed services,
   case showcase, industries list, glance stats) — blue+gold theme
   ===================================================================== */

/* --- Cinematic / "video" hero --- */
.vhero { position: relative; min-height: 92vh; display: flex; align-items: center; background: var(--navy-900); color: #fff; overflow: hidden; }
.vhero canvas#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.vhero .vhero-bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 600px at 18% 20%, rgba(20,87,214,.55), transparent 60%),
    radial-gradient(800px 600px at 85% 30%, rgba(56,198,244,.32), transparent 55%),
    radial-gradient(700px 500px at 70% 90%, rgba(245,166,35,.28), transparent 60%),
    linear-gradient(135deg, #061533 0%, #0a2350 60%, #0e3076 100%);
  background-size: 200% 200%, 200% 200%, 200% 200%, 100% 100%;
  animation: heroPan 18s ease-in-out infinite; }
@keyframes heroPan { 0%,100% { background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; } 50% { background-position: 40% 60%, 60% 40%, 30% 70%, 0 0; } }
.vhero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, transparent 40%, rgba(6,21,51,.55) 100%),
              linear-gradient(180deg, rgba(6,21,51,.25), rgba(6,21,51,.65));
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: auto, auto, 28px 28px; }
.vhero .container { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 40px; }
.vhero .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--gold-400); margin-bottom: 22px; }
.vhero .eyebrow .ln { width: 36px; height: 1px; background: linear-gradient(90deg, var(--gold-400), transparent); }
.vhero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 16ch; margin-bottom: 18px; }
.vhero h1 .accent { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vhero h1 .word { display: inline-block; }
.vhero p.sub { color: rgba(233,240,255,.86); font-size: 1.2rem; max-width: 640px; margin-bottom: 30px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 100px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; backdrop-filter: blur(8px); transition: .25s var(--ease); }
.pill:hover { background: var(--grad-gold); color: #2a1a00; border-color: transparent; transform: translateY(-3px); }
.pill::before { content: "→"; opacity: .7; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.6); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; text-align: center; }
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; margin: 0 auto 8px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; background: var(--gold-400); border-radius: 2px; transform: translateX(-50%); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0%{ opacity:0; transform: translate(-50%,0); } 40%{ opacity:1; } 100%{ opacity:0; transform: translate(-50%,12px); } }

/* --- Interactive vertical-tab services --- */
.svc-wrap { display: grid; grid-template-columns: .9fr 1.6fr; gap: 40px; align-items: start; }
.svc-nav { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--line); }
.svc-nav button { text-align: left; background: none; border: 0; cursor: pointer; padding: 18px 22px; margin-left: -2px;
  border-left: 2px solid transparent; font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; color: var(--slate-500); transition: .25s var(--ease); }
.svc-nav button:hover { color: var(--ink); }
.svc-nav button.active { color: var(--brand-600); border-left-color: var(--brand-600); }
.svc-panel { position: relative; }
.svc-pane { display: none; animation: fadeUp .5s var(--ease); }
.svc-pane.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.svc-pane > p.intro { font-size: 1.12rem; color: var(--slate-700); max-width: 640px; }
.svc-pane .svc-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.svc-sub a { display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: .3s var(--ease); }
.svc-sub a:hover { border-color: var(--brand-500); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.svc-sub a b { font-family: var(--font-head); color: var(--ink); display: block; margin-bottom: 5px; font-size: 1.02rem; }
.svc-sub a span { font-size: .9rem; color: var(--muted); }

/* --- Big case-study showcase --- */
.case-list { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.case-row { display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: 30px; align-items: center; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.12); transition: .3s var(--ease); }
.case-row:hover { padding-left: 12px; }
.case-row .ch { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem,2.4vw,1.9rem); color: #fff; line-height: 1.15; }
.case-row .ch .gold-text { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-row p { color: rgba(233,240,255,.74); margin: 0; font-size: .98rem; }
.case-row .go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); display: grid; place-items: center; color: #fff; font-size: 1.2rem; transition: .3s var(--ease); flex: none; }
.case-row:hover .go { background: var(--grad-gold); color: #2a1a00; border-color: transparent; transform: rotate(-45deg); }

/* --- Industries list (itransition-style rows) --- */
.ind-list { border-top: 1px solid var(--line); }
.ind-row { display: grid; grid-template-columns: .8fr 1.6fr auto; gap: 28px; align-items: center; padding: 28px 16px; border-bottom: 1px solid var(--line); border-radius: var(--r-md); transition: .3s var(--ease); }
.ind-row:hover { background: var(--mist); padding-left: 26px; }
.ind-row h3 { margin: 0; font-size: 1.3rem; display: flex; align-items: center; gap: 12px; }
.ind-row h3 .ei { font-size: 1.5rem; }
.ind-row p { margin: 0; color: var(--muted); font-size: .98rem; }
.ind-row .more { font-family: var(--font-head); font-weight: 600; font-size: .9rem; white-space: nowrap; }

/* --- At a glance stat row --- */
.glance-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.glance-grid .g { padding: 10px 20px; border-left: 1px solid rgba(255,255,255,.14); }
.glance-grid .g:first-child { border-left: 0; }
.glance-grid .g .gn { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem,4vw,3rem); background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.glance-grid .g .gl { color: rgba(233,240,255,.75); font-size: .86rem; margin-top: 8px; }

@media (max-width: 900px) {
  .svc-wrap { grid-template-columns: 1fr; gap: 22px; }
  .svc-nav { flex-direction: row; flex-wrap: wrap; border-left: 0; border-bottom: 2px solid var(--line); gap: 0; }
  .svc-nav button { font-size: 1rem; padding: 12px 16px; border-left: 0; border-bottom: 2px solid transparent; margin-left: 0; margin-bottom: -2px; }
  .svc-nav button.active { border-left: 0; border-bottom-color: var(--brand-600); }
  .svc-pane .svc-sub { grid-template-columns: 1fr; }
  .case-row { grid-template-columns: 1fr; gap: 10px; }
  .case-row .go { display: none; }
  .ind-row { grid-template-columns: 1fr; gap: 8px; }
  .ind-row .more { }
  .glance-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .glance-grid .g:nth-child(odd) { border-left: 0; }
}

/* ----------------------- Responsive ----------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu, .nav-cta .btn { display: none; }
  .burger { display: flex; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .split-media { order: 0; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .mobile-nav.open { display: block; position: fixed; inset: 76px 0 0; background: #fff; z-index: 90; padding: 20px 24px; overflow-y: auto; }
  .mobile-nav.open a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; color: var(--ink); }
  .mobile-nav.open .grp-label { color: var(--brand-600); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 18px; }
}
