/* ============ RESET / BASE ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; color: inherit; font-family: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

:root {
  --accent: #123FC7;
  --menu-blue: #133FC6;
  --navy-card: #020617;
  --panel: #0C0D2F;
  --gray: #9D9EA1;
  --light-bg: #F9F8FD;
  --header-h: 72px;
  --cw: min(1100px, 86vw); /* single alignment width - everything matches the hero slider */
}

.container { width: var(--cw); margin: 0 auto; }

/* ============ HEADER (dark) ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #000; height: var(--header-h);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: height .3s ease, background .3s ease;
}
.site-header.scrolled {
  height: 62px;
  background: rgba(6,6,10,.92);
  backdrop-filter: blur(10px);
}
.header-inner {
  height: 100%; display: flex; align-items: center;
  width: var(--cw); margin: 0 auto; position: relative;
}
.logo { display: flex; align-items: center; margin-right: 20px; }
.logo img { height: 26px; width: auto; }
.main-nav {
  display: flex; align-items: stretch; height: 100%;
  margin: 0 auto; transition: opacity .25s ease;
}
.nav-item { position: relative; display: flex; align-items: stretch; }
.nav-link {
  font-size: 15px; font-weight: 500; letter-spacing: .1px; color: #fff;
  display: flex; align-items: center; gap: 6px; padding: 0 20px;
  transition: background .22s ease, color .22s ease, box-shadow .22s ease;
}
.caret {
  width: 10px; height: 6px; stroke: currentColor; fill: none; stroke-width: 1.5;
  margin-top: 2px; transition: transform .25s ease;
}
.nav-item.open > .nav-link {
  background: rgba(255,255,255,.04); color: #fff;
  box-shadow: inset 0 -2px 0 #2a6bff;
}
.nav-item.open > .nav-link .caret { transform: rotate(180deg); }
.nav-item:not(.has-mega):not(.has-drop) > .nav-link:hover { color: #9db4ff; }

/* Contact: plain nav link by default; becomes a button once the header is stuck */
.nav-contact {
  background: transparent; color: #fff !important;
  margin: 0; padding: 0 20px !important; align-self: stretch; height: 100%;
  border-radius: 0; display: flex; align-items: center;
  transition: background .28s ease, color .28s ease, height .3s ease, margin .3s ease, padding .3s ease, border-radius .28s ease;
}
.nav-contact:hover { background: transparent; color: #9db4ff !important; }
.site-header.scrolled .nav-contact {
  background: #fff; color: #000 !important;
  margin: 12px 0 12px 14px; padding: 0 26px !important;
  height: calc(100% - 24px); border-radius: 4px;
}
.site-header.scrolled .nav-contact:hover { background: #d9d9de; color: #000 !important; }

.header-icons { margin-left: 20px; display: flex; align-items: center; gap: 20px; }
.icon-btn { width: 24px; height: 24px; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { opacity: .65; }

/* call button (plain icon, matches search/bookmark) */
.call-btn {
  width: 24px; height: 24px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff;
  transition: color .25s ease, transform .25s ease;
}
.call-btn svg { width: 20px; height: 20px; }
.call-btn:hover { color: #9db4ff; transform: translateY(-1px); }

/* ============ EXPANDING SEARCH BAR ============ */
.header-search {
  position: absolute; top: 50%; right: 0; transform: translateY(-50%);
  left: 60px; height: calc(100% - 20px);
  display: flex; align-items: center; gap: 14px;
  background: #0b0b12; border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px; padding: 0 16px;
  opacity: 0; visibility: hidden;
  clip-path: inset(0 0 0 calc(100% - 44px) round 12px);
  transition: clip-path .5s cubic-bezier(.7,0,.2,1), opacity .3s ease, visibility .5s;
  z-index: 5;
}
body.search-open .header-search {
  opacity: 1; visibility: visible;
  clip-path: inset(0 0 0 0 round 12px);
}
.hs-icon { color: #7d8091; display: grid; place-items: center; flex-shrink: 0; }
.hs-icon svg { width: 20px; height: 20px; }
.hs-input {
  flex: 1; min-width: 0; height: 100%; border: none; background: none; outline: none;
  color: #fff; font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 500;
}
.hs-input::placeholder { color: #6d6d78; }
.hs-close {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #cfcfd6;
  transition: background .2s ease, color .2s ease;
}
.hs-close svg { width: 18px; height: 18px; }
.hs-close:hover { background: rgba(255,255,255,.1); color: #fff; }
/* hide the rest of the bar while searching */
body.search-open .main-nav,
body.search-open .header-icons { opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.hamburger .ic-close { display: none; }
body.menu-open .hamburger .ic-open { display: none; }
body.menu-open .hamburger .ic-close { display: block; }
body.menu-open .main-nav { opacity: 0; pointer-events: none; }

/* region picker */
.region { position: relative; }
.region-btn {
  display: flex; align-items: center; gap: 9px;
  background: #111118; color: #fff; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  padding: 8px 17px 8px 11px; font-size: 14px; font-weight: 700;
  transition: box-shadow .22s ease;
}
.region-btn:hover, .region.open .region-btn { box-shadow: 0 0 0 2px rgba(18,63,199,.55); }
.flag-dot {
  width: 21px; height: 21px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; flex-shrink: 0;
}
.flag-dot svg, .flag-dot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.region-drop {
  position: absolute; top: calc(100% + 12px); right: 0; min-width: 190px;
  background: #101018; border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; padding: 12px 8px;
  box-shadow: 0 24px 60px rgba(0,0,10,.45);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.region.open .region-drop { opacity: 1; visibility: visible; transform: none; }
.region-opt {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 11px 16px; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: #b7b7c2; letter-spacing: .5px;
  transition: background .18s ease, color .18s ease;
}
.region-opt:hover, .region-opt.is-active { color: #fff; background: rgba(255,255,255,.06); }

/* ============ NAV MEGA PANELS ============ */
.mega-panel {
  position: fixed; left: 0; right: 0; top: var(--header-h);
  background:
    radial-gradient(560px 420px at 88% 90%, rgba(35,55,180,.45), transparent 62%),
    #000;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
  box-shadow: 0 40px 80px rgba(0,0,15,.5);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.nav-item.open .mega-panel { opacity: 1; visibility: visible; transform: none; }
.mega-panel-inner {
  width: var(--cw); margin: 0 auto;
  display: flex; gap: clamp(32px, 4vw, 60px);
  padding: clamp(14px, 2.6vh, 54px) 0 clamp(16px, 2.8vh, 64px);
}
.mp-links { flex: 1; min-width: 0; }
.mp-title { font-size: clamp(19px, 2.4vh, 24px); font-weight: 700; margin-bottom: clamp(18px, 3vh, 34px); }
.mp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; max-width: 780px; }
.mp-cols ul li a, .mp-group ul li a {
  display: block; font-size: clamp(13.5px, 1.75vh, 15.5px); font-weight: 500; color: #e8e8ee;
  padding: clamp(5px, 0.9vh, 9px) 0; transition: color .18s ease, transform .18s ease;
}
.mp-cols ul li a:hover, .mp-group ul li a:hover { color: #7da2ff; transform: translateX(4px); }
.mp-aside { width: 335px; flex-shrink: 0; padding-top: 2px; }
.mp-aside .mp-title { font-size: clamp(18px, 2.2vh, 22px); margin-bottom: clamp(14px, 2.4vh, 26px); }
.mp-aside > p { font-size: clamp(13.5px, 1.7vh, 15px); line-height: 1.55; color: #c9c9d4; }

/* services grid */
.mp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vh, 34px) clamp(24px, 2.6vw, 44px); }
.mp-group h4 { font-size: clamp(15px, 1.9vh, 18px); font-weight: 700; margin-bottom: clamp(7px, 1.2vh, 16px); }
.mp-group ul li a { font-size: clamp(12.5px, 1.6vh, 14.5px); padding: clamp(3px, 0.55vh, 7px) 0; color: #d4d4de; }
.mp-enquiry {
  margin-top: clamp(12px, 3vh, 40px); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
  padding: clamp(18px, 2.6vh, 28px) 26px clamp(20px, 2.8vh, 30px);
}
.mp-enquiry h4 { font-size: clamp(17px, 2.1vh, 20px); font-weight: 700; margin-bottom: 8px; }
.mp-enquiry p { font-size: 14px; color: #c9c9d4; margin-bottom: clamp(14px, 2.2vh, 22px); }
.mp-contact { display: block; text-align: center; padding: clamp(10px, 1.4vh, 13px) 0; border-radius: 4px; }

/* ---- minimal elegant Services mega ---- */
.svc-mega { display: grid; grid-template-columns: 1fr 300px; gap: clamp(30px, 4vw, 64px); align-items: stretch; }
.svc-mega-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(6px, 1vh, 14px) clamp(14px, 1.6vw, 26px);
}
.svc-mini {
  display: flex; align-items: flex-start; gap: 14px;
  padding: clamp(10px, 1.5vh, 16px) 14px; border-radius: 12px;
  transition: background .22s ease, transform .22s ease;
}
.svc-mini:hover { background: rgba(255,255,255,.05); transform: translateY(-2px); }
.svc-mini-ic {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
  display: grid; place-items: center; color: #9db4ff;
  background: rgba(120,150,255,.08); border: 1px solid rgba(120,150,255,.2);
  transition: background .22s ease, border-color .22s ease;
}
.svc-mini-ic svg { width: 20px; height: 20px; }
.svc-mini:hover .svc-mini-ic { background: rgba(120,150,255,.16); border-color: rgba(120,150,255,.45); }
.svc-mini-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.svc-mini-tx strong { font-size: 15px; font-weight: 700; color: #fff; }
.svc-mini-tx em { font-size: 12.5px; font-style: normal; color: #9a9aa6; line-height: 1.4; }
.svc-mega-aside {
  border-radius: 18px; padding: clamp(24px, 3vh, 34px) 28px;
  background:
    radial-gradient(300px 240px at 80% 90%, rgba(40,60,190,.4), transparent 65%),
    linear-gradient(150deg, rgba(90,120,255,.1), rgba(20,24,48,.5));
  border: 1px solid rgba(120,150,255,.18);
  display: flex; flex-direction: column; justify-content: center;
}
.svc-mega-aside h3 { font-size: clamp(20px, 2.4vh, 24px); font-weight: 700; margin-bottom: 14px; }
.svc-mega-aside p { font-size: 14px; line-height: 1.6; color: #c4c4cf; margin-bottom: 26px; }
.svc-mega-aside .mp-contact { border: 1px solid rgba(255,255,255,.85); }

/* simple dropdown (Products) */
.drop-panel {
  position: absolute; top: 100%; left: 0; min-width: 235px;
  background: #000; padding: 14px 0;
  border: 1px solid rgba(255,255,255,.08); border-top: 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  box-shadow: 0 30px 60px rgba(0,0,15,.45);
}
.nav-item.open .drop-panel { opacity: 1; visibility: visible; transform: none; }
.drop-panel a {
  display: block; padding: 13px 26px; font-size: 16px; font-weight: 500;
  color: #ececf2; transition: color .18s ease, background .18s ease, padding-left .18s ease;
}
.drop-panel a:hover { color: #7da2ff; background: rgba(255,255,255,.04); padding-left: 32px; }

/* dim page behind open mega menu */
.nav-backdrop {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 80;
  background: rgba(2,2,8,.55); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s;
}
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

/* ============ MEGA MENU (hamburger, dark + blue glow) ============ */
.mega-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
  background:
    radial-gradient(900px 560px at 50% 4%, rgba(150,185,255,.28), transparent 60%),
    radial-gradient(1000px 640px at 90% 108%, rgba(140,180,255,.32), transparent 64%),
    var(--light-bg);
  opacity: 0; visibility: hidden; transform: translateY(-14px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
  overflow: hidden;
}
body.menu-open .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner {
  position: relative; height: 100%; display: flex; align-items: center;
  width: var(--cw); margin: 0 auto; gap: 40px;
}
.mega-content { flex: 1; min-width: 0; max-width: 760px; }
.mega-panel-h { display: none; }
.mega-panel-h.is-active { display: block; animation: solFade .45s cubic-bezier(.22,.61,.36,1) both; }
.mega-title {
  font-family: 'Nunito', sans-serif; font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700; line-height: 1.2; color: #0c0c10; margin-bottom: 14px;
}
.mega-desc {
  color: #45485c; font-size: 16px; font-weight: 500;
  line-height: 1.6; margin-bottom: 30px; max-width: 520px;
}
.mega-logos { width: 100%; max-width: 480px; }
.mega-logowall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px 0; align-items: center; justify-items: center; max-width: 760px; }
.mega-logowall .lw { min-height: 72px; padding: 0; border-radius: 0; box-shadow: none; width: 100%; display: grid; place-items: center; }
.mega-logowall .lw img, .mega-logowall .lw svg { max-height: 70px; max-width: 100%; }
.mega-list { display: flex; flex-direction: column; gap: 14px; }
.mega-list li { font-size: 17px; color: #55566a; font-weight: 500; }
.mega-list a { color: #26262c; font-weight: 600; transition: color .2s ease; }
.mega-list a:hover { color: var(--accent); }
.mega-links {
  margin-left: auto; display: flex; flex-direction: column;
  align-items: flex-start; gap: clamp(16px, 2.6vh, 32px); padding-right: 2vw;
}
.mega-link {
  font-size: clamp(40px, 5.4vw, 72px); font-weight: 500; line-height: 1.2;
  color: rgba(20,21,28,.32); transition: color .25s ease, transform .25s ease;
}
.mega-link.is-active, .mega-link:hover { color: #0c0c10; transform: translateX(6px); }

/* ============ HERO ============ */
.hero {
  height: 100vh; height: 100svh; min-height: 560px;
  background:
    radial-gradient(900px 700px at -5% 55%, rgba(45,45,120,.5), transparent 60%),
    radial-gradient(700px 500px at 30% 90%, rgba(30,30,90,.35), transparent 60%),
    #020205;
  display: flex; flex-direction: column;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-inner {
  flex: 1; display: flex; align-items: center; gap: 40px;
  width: var(--cw);
  padding-top: clamp(8px, 3vh, 42px);
  min-height: 0;
}
.hero-copy { flex: 1 1 52%; max-width: 620px; }
.hero-copy.swap-out { opacity: 0; transform: translateY(14px); transition: opacity .22s ease, transform .22s ease; }
.hero-copy.swap-in { animation: heroSwapIn .5s cubic-bezier(.22,.61,.36,1) both; }
@keyframes heroSwapIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
.hero-title {
  font-size: clamp(34px, 4.4vw, 56px); font-weight: 400; letter-spacing: .5px;
  margin-bottom: clamp(16px, 3.2vh, 34px);
}
.hero-sub {
  font-size: clamp(16px, 1.9vw, 19px); font-weight: 400; color: #e9e9ee; line-height: 1.5;
  max-width: 462px; margin-bottom: clamp(20px, 4.2vh, 44px);
}
.btn-outline {
  display: inline-block; border: 1px solid rgba(255,255,255,.85); color: #fff;
  font-size: 13px; font-weight: 500; padding: 14px 38px;
  transition: background .25s, color .25s;
}
.btn-outline:hover { background: #fff; color: #000; }
.hero-media {
  flex: 0 1 auto;
  height: min(447px, 56vh); width: auto; aspect-ratio: 424 / 447;
  max-width: 44%;
  position: relative; border-radius: 10px; overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: scale(.98); transition: opacity .6s ease, transform .9s ease;
}
.hero-img.is-active { opacity: 1; transform: scale(1); }
.hero-media:hover .hero-img.is-active { transform: scale(1.04); }

/* hero tabs */
.hero-tabs {
  width: var(--cw);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2vw, 30px);
  padding: clamp(16px, 3.2vh, 38px) 0 clamp(16px, 3vh, 34px);
}
.hero-tab { text-align: left; display: block; }
.tab-bar {
  display: block; height: 2px; background: rgba(255,255,255,.28);
  margin-bottom: clamp(8px, 1.4vh, 14px); position: relative; overflow: hidden;
}
.tab-progress {
  position: absolute; inset: 0; width: 0%;
  background: linear-gradient(90deg, #2a6bff, var(--accent));
}
.hero-tab.is-active .tab-progress { width: 65%; }
.tab-name {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: .2px;
  color: #86868c; margin-bottom: 9px;
}
.tab-desc { display: block; font-size: 12.5px; font-weight: 400; color: #86868c; line-height: 1.45; }
.hero-tab.is-active .tab-name { color: #fff; }
.hero-tab.is-active .tab-desc { color: #d9d9de; }

/* ============ STATEMENT (pinned scroll sweep) ============ */
.statement { background: #000; height: 280vh; position: relative; }
.statement-pin {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden;
}
.statement-chevron { color: #ddd; width: 40px; margin-bottom: clamp(40px, 9vh, 110px); }
.statement-text {
  position: relative; max-width: 760px; text-align: center;
  font-size: clamp(28px, 3.6vw, 46px); font-weight: 300; line-height: 1.45;
  padding: 0 20px; color: #45454b;
}
.statement-text .sw { color: #45454b; will-change: color; }
body.no-anim .statement-text, body.no-anim .statement-text .sw { color: #fff; }
body.no-anim .statement { height: auto; padding: 120px 0 160px; }
body.no-anim .statement-pin { height: auto; position: static; }

.learn-more {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 500; color: #fff;
}
.learn-more svg { width: 8px; height: 12px; }
.learn-more:hover { opacity: .75; }

/* ============ PHASES - pinned scroll sequence (Assess / Hack / Report) ============ */
.phase-scroll {
  position: relative; height: 360vh; background: #000;
}
.phase-stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center;
  background:
    radial-gradient(760px 560px at 82% 60%, rgba(35,55,180,.28), transparent 62%),
    #000;
}
.phase-stage-inner {
  display: grid; grid-template-columns: 250px 1fr; gap: clamp(40px, 6vw, 90px);
  align-items: center; width: var(--cw);
}

/* left stepper rail */
.phase-rail { position: relative; padding-left: 34px; }
.phase-rail-line {
  position: absolute; left: 4px; top: 8px; bottom: 8px; width: 2px;
  background: rgba(255,255,255,.14); border-radius: 2px; overflow: hidden;
}
.phase-rail-fill {
  position: absolute; left: 0; top: 0; width: 100%; height: 0%;
  background: linear-gradient(#4f7cff, var(--accent));
}
.phase-step {
  display: flex; align-items: baseline; gap: 14px; width: 100%;
  padding: 18px 0; text-align: left; cursor: pointer;
  opacity: .4; transition: opacity .4s ease, transform .4s ease;
}
.phase-step .ps-num { display: none; }
.phase-step .ps-name { font-size: 22px; font-weight: 400; color: #fff; }
.phase-step.is-active { opacity: 1; transform: translateX(4px); }
.phase-step:not(.is-active):hover { opacity: .7; }

/* panels (crossfade stack) */
.phase-panels { position: relative; min-height: 440px; }
.phase-panel {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; max-width: none;
  opacity: 0; visibility: hidden; transform: translateY(40px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1), visibility .6s;
}
.phase-panel.is-active { opacity: 1; visibility: visible; transform: none; }
.pp-index { display: none; }
.pp-title {
  font-size: clamp(48px, 6vw, 84px); font-weight: 300; letter-spacing: .5px;
  color: #fff; line-height: 1; margin-bottom: 26px; width: fit-content; max-width: 560px;
}
.pp-desc { font-size: 17px; line-height: 1.65; color: #c2c2cc; margin-bottom: 32px; max-width: 500px; }
.pp-cta {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 15px; font-weight: 600; color: #fff; width: fit-content;
}
.pp-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  display: grid; place-items: center;
  transition: background .35s ease, border-color .35s ease, transform .35s ease;
}
.pp-arrow svg { width: 17px; height: 17px; transition: transform .35s ease, color .35s ease; }
.pp-cta:hover .pp-arrow { background: #fff; border-color: #fff; transform: translateX(5px); }
.pp-cta:hover .pp-arrow svg { color: #000; }
.pp-icon {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%) translateX(30px);
  width: clamp(160px, 16vw, 240px); pointer-events: none;
  opacity: 0; transition: opacity .7s ease .1s, transform .7s cubic-bezier(.22,.61,.36,1) .1s;
}
.phase-panel.is-active .pp-icon { opacity: 1; transform: translateY(-50%) translateX(0); }
.pp-icon img { width: 100%; height: auto; filter: drop-shadow(0 22px 50px rgba(0,0,0,.6)); }

/* ---- vector phase icons + scroll-based animation ---- */
.pp-svg { width: 100%; height: auto; filter: drop-shadow(0 26px 55px rgba(0,0,0,.55)); overflow: visible; }
.pp-icon .pp-svg { animation: ppFloat 6s ease-in-out infinite; }
@keyframes ppFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* pulsing gold glow */
.pp-glow { transform-origin: center; animation: ppPulse 3.4s ease-in-out infinite; }
@keyframes ppPulse { 0%,100% { opacity: .5; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.06); } }

/* draw-in the gold line work when the panel becomes active */
.pp-draw { stroke-dasharray: 240; stroke-dashoffset: 240; }
.phase-panel.is-active .pp-draw { animation: ppDraw 1.1s cubic-bezier(.22,.61,.36,1) .25s forwards; }
@keyframes ppDraw { to { stroke-dashoffset: 0; } }

/* magnifier glass subtle scale on active */
.pp-glass { transform-origin: center; }
.phase-panel.is-active .pp-glass { animation: ppGlass 1s cubic-bezier(.22,.61,.36,1) .3s both; }
@keyframes ppGlass { 0% { opacity: 0; transform: scale(.6); } 100% { opacity: 1; transform: scale(1); } }

/* gold streaks slide/fade in, staggered, then shimmer */
.pp-streaks path { opacity: 0; transform: translateX(-14px); }
.phase-panel.is-active .pp-streaks path { animation: ppStreak .6s ease forwards; }
.phase-panel.is-active .pp-streaks path:nth-child(1) { animation-delay: .4s; }
.phase-panel.is-active .pp-streaks path:nth-child(2) { animation-delay: .55s; }
.phase-panel.is-active .pp-streaks path:nth-child(3) { animation-delay: .7s; }
@keyframes ppStreak { to { opacity: 1; transform: translateX(0); } }

@media (prefers-reduced-motion: reduce) {
  .pp-icon .pp-svg, .pp-glow { animation: none; }
  .pp-draw { stroke-dashoffset: 0; }
  .pp-streaks path { opacity: 1; transform: none; }
}
body.no-anim .pp-draw { stroke-dashoffset: 0; }
body.no-anim .pp-streaks path { opacity: 1; transform: none; }
body.no-anim .pp-icon .pp-svg, body.no-anim .pp-glow { animation: none; }

/* bottom progress bar removed */
.phase-progress { display: none; }
.phase-progress-fill { display: none; }

/* static / reduced-motion fallback: stack the three panels */
body.no-anim .phase-scroll { height: auto; }
body.no-anim .phase-stage { position: static; height: auto; display: block; padding: 80px 0; }
body.no-anim .phase-panels { min-height: 0; }
body.no-anim .phase-panel { position: relative; opacity: 1; visibility: visible; transform: none; margin-bottom: 70px; }
body.no-anim .pp-icon { position: static; transform: none; opacity: .9; margin-top: 24px; }

/* ============ STATS ============ */
.stats {
  background:
    radial-gradient(700px 420px at 50% 115%, rgba(40,60,160,.45), transparent 65%),
    #000;
  padding: 40px 0 120px;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; width: var(--cw); margin: 0 auto; }
.stat-card {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, rgba(46,52,86,.4), rgba(14,14,24,.85));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px; padding: 24px 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.stat-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px;
  background: linear-gradient(180deg, #4f7cff, var(--accent));
  opacity: .85;
}
.stat-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px;
  background: radial-gradient(circle, rgba(60,90,220,.28), transparent 70%);
  opacity: 0; transition: opacity .4s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(90,120,255,.4);
  box-shadow: 0 16px 40px rgba(20,40,140,.22);
}
.stat-card:hover::after { opacity: 1; }
.stat-num {
  font-size: clamp(34px, 3.4vw, 44px); font-weight: 700; letter-spacing: .5px;
  line-height: 1;
  background: linear-gradient(120deg, #ffffff 30%, #9db4ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #eaeaf0;
}
.stat-text { font-size: 14px; line-height: 1.55; color: #c2c2cc; font-family: 'Nunito', sans-serif; font-weight: 400; max-width: 300px; }

/* ============ LIGHT SECTIONS ============ */
.light-section { background: var(--light-bg); color: #0c0c10; }
.section-title-dark {
  font-family: 'Nunito', sans-serif;
  text-align: center; font-size: clamp(30px, 3.2vw, 42px); font-weight: 500;
  padding-top: 96px; margin-bottom: 26px;
}
.section-sub-dark {
  text-align: center; font-size: 17px; line-height: 1.55; color: #26262c;
  margin-bottom: 60px;
}

/* industry grid */
.industry {
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(120,150,255,.28), transparent 60%),
    radial-gradient(1100px 700px at 50% 100%, rgba(140,180,255,.35), transparent 65%),
    var(--light-bg);
}
.industry-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid #e4e4ea; background: #fff;
}
.industry-card {
  padding: 44px 56px 52px; border: 1px solid #ececf2;
  background: linear-gradient(160deg, #fdfdfe 60%, #f4f6fc);
  transition: box-shadow .3s ease, transform .3s ease;
}
.industry-card:hover { box-shadow: 0 18px 40px rgba(30,60,160,.10); transform: translateY(-2px); z-index: 1; position: relative; }
.industry-card h3 {
  font-family: 'Nunito', sans-serif; font-size: 20px; font-weight: 600;
  margin-bottom: 34px; color: #101014;
}
.industry-card p { font-size: 15px; line-height: 1.6; color: #7c7c84; font-weight: 500; }

/* custom security solutions */
.custom {
  background:
    radial-gradient(1000px 600px at 50% 30%, rgba(150,185,255,.30), transparent 65%),
    var(--light-bg);
  padding-bottom: 130px;
}
.custom-btn-row { text-align: center; margin: 44px 0 56px; }
.btn-outline-dark {
  display: inline-block; border: 1.5px solid #0c0c10; color: #0c0c10;
  font-size: 13.5px; font-weight: 600; padding: 13px 30px;
  transition: background .25s, color .25s;
}
.btn-outline-dark:hover { background: #0c0c10; color: #fff; }
/* ============ Custom Security Solutions - elegant gold-themed panel ============ */
.solutions-panel {
  position: relative; display: flex; gap: 0; overflow: hidden;
  background:
    radial-gradient(680px 480px at 88% 88%, rgba(193,144,44,.16), transparent 62%),
    radial-gradient(600px 460px at 8% 6%, rgba(40,60,150,.4), transparent 60%),
    linear-gradient(150deg, #10131f, #070912 60%);
  border-radius: 22px; padding: 40px 40px 46px;
  border: 1px solid rgba(255,225,150,.1);
  box-shadow: 0 40px 90px rgba(6,10,30,.45);
  color: #fff;
}
.solutions-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.014) 0 1px, transparent 1px 30px);
  mask-image: radial-gradient(600px 400px at 80% 100%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(600px 400px at 80% 100%, #000, transparent 70%);
}
.solutions-tabs { position: relative; z-index: 1; width: 300px; flex-shrink: 0; border-right: 1px solid rgba(255,255,255,.08); padding-right: 28px; }
.sol-tab {
  display: flex; align-items: center; gap: 13px;
  font-size: 15.5px; font-weight: 500; color: #a9adc0; white-space: nowrap;
  padding: 12px 14px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; margin-bottom: 4px;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}
.sol-tab-ic {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px;
  display: grid; place-items: center; color: #8a8ea3;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.sol-tab-ic svg { width: 18px; height: 18px; }
.sol-tab-tx { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sol-tab-arrow { width: 15px; height: 15px; flex-shrink: 0; color: #ffcf5f; opacity: 0; transform: translateX(-6px); transition: opacity .25s ease, transform .25s ease; }
.sol-tab:hover { color: #fff; background: rgba(255,255,255,.03); transform: translateX(3px); }
.sol-tab:hover .sol-tab-ic { color: #cfd2e0; }
.sol-tab.is-active {
  color: #fff;
  background: linear-gradient(100deg, rgba(193,144,44,.16), rgba(193,144,44,.02));
  border-color: rgba(255,215,130,.35);
  box-shadow: inset 3px 0 0 #e9b64a, 0 8px 22px rgba(120,90,20,.16);
}
.sol-tab.is-active .sol-tab-ic {
  color: #ffe6a0; background: rgba(255,214,120,.14); border-color: rgba(255,214,120,.4);
}
.sol-tab.is-active .sol-tab-arrow { opacity: 1; transform: translateX(0); }

.solutions-content { position: relative; z-index: 1; flex: 1; min-width: 0; padding: 4px 6px 0 52px; }
.sol-cat { display: none; }
.sol-cat.is-active { display: flex; gap: 44px; align-items: flex-start; animation: solFade .5s cubic-bezier(.22,.61,.36,1) both; }
@keyframes solFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.sol-graphic {
  order: 2; flex-shrink: 0; margin-left: auto; position: relative;
  width: 140px; height: 140px; border-radius: 30px;
  display: grid; place-items: center;
  background:
    radial-gradient(120px 120px at 32% 22%, rgba(255,220,140,.25), transparent 72%),
    linear-gradient(150deg, rgba(255,214,120,.14), rgba(40,32,10,.14));
  border: 1px solid rgba(255,214,120,.32);
  box-shadow: 0 0 60px rgba(220,170,60,.2) inset, 0 22px 55px rgba(30,22,4,.4);
  animation: solFloat 6s ease-in-out infinite;
}
@keyframes solFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.sol-graphic::after {
  content: ""; position: absolute; inset: -1px; border-radius: 30px; pointer-events: none;
  background: radial-gradient(80px 60px at 72% 92%, rgba(255,214,120,.28), transparent 70%);
}
.sol-graphic svg { width: 78px; height: 78px; position: relative; z-index: 1; filter: drop-shadow(0 6px 16px rgba(180,130,40,.5)); }
.sol-graphic svg [fill^="rgba"] { color: #ffd772; }
.sol-cat.is-active .sol-graphic svg { animation: solIconIn .6s cubic-bezier(.22,.61,.36,1) both; }
@keyframes solIconIn { from { opacity: 0; transform: scale(.65) rotate(-10deg); } to { opacity: 1; transform: none; } }

.sol-blocks { order: 1; flex: 1; min-width: 0; max-width: 620px; }
.sol-cat-title { position: relative; font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 16px; padding-bottom: 14px; }
.sol-cat-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #ffe6a0, #c1902c); }
.sol-cat-intro { font-size: 15px; line-height: 1.65; color: #b6bacb; margin-bottom: 28px; }
.sol-block { position: relative; margin-bottom: 24px; }
.sol-block:last-child { margin-bottom: 0; }
.sol-block h4 { font-size: 18px; font-weight: 700; margin-bottom: 9px; color: #fff; }
.sol-block p { font-size: 14.5px; line-height: 1.65; color: #c3c6d6; }

/* ============ SERVICES ============ */
.services {
  background:
    radial-gradient(600px 300px at 8% 100%, rgba(60,40,140,.30), transparent 60%),
    #000;
  padding: 10px 0 110px;
}
.section-title-light {
  text-align: center; font-size: clamp(34px, 3.6vw, 46px); font-weight: 300;
  padding-top: 110px; margin-bottom: 90px; color: #fff;
}
.services .section-title-light { margin-bottom: 22px; }
.services-sub { max-width: 760px; margin: 0 auto 74px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  background: var(--navy-card);
  border: 1px solid rgba(85, 110, 220, .38);
  border-radius: 14px; padding: 10px 10px 26px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(30,60,220,.18); }
.svc-img { border-radius: 8px 8px 0 0; overflow: hidden; margin-bottom: 26px; }
.svc-img img { width: 100%; height: 168px; object-fit: cover; transition: transform .4s ease; }
.svc-card:hover .svc-img img { transform: scale(1.04); }
.svc-card h3 { font-size: 20px; font-weight: 600; margin: 0 14px 18px; }
.svc-card p { font-size: 14.5px; line-height: 1.55; color: #b9bcc9; margin: 0 14px 22px; }
.svc-card .learn-more { margin-left: 14px; font-size: 13.5px; }

/* ============ FORTUNE ============ */
.fortune {
  background:
    radial-gradient(900px 560px at 50% 6%, rgba(150,185,255,.28), transparent 60%),
    var(--light-bg);
  padding-bottom: clamp(60px, 8vh, 96px);
}
.section-sub-light {
  text-align: center; font-size: 17px; line-height: 1.55; color: #e6e6ec;
  margin-bottom: 100px;
}
.fortune .section-title-dark { padding-top: 96px; margin-bottom: 22px; }
.fortune .section-sub-dark { margin-bottom: clamp(50px, 8vh, 90px); }
.logo-wall {
  width: var(--cw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: clamp(24px, 3.4vh, 44px) 16px; align-items: center; justify-items: center;
}
.lw {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 90px;
}
.lw img, .lw svg {
  width: auto; height: auto; max-height: 90px; max-width: 210px; object-fit: contain;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), filter .35s ease, opacity .35s ease;
}
/* Fortune section (light bg): logos in full brand colour, gentle hover pop */
.fortune .lw img, .fortune .lw svg { filter: none; opacity: 1; }
.fortune .lw:hover img, .fortune .lw:hover svg { transform: scale(1.1) translateY(-4px); filter: drop-shadow(0 12px 22px rgba(20,30,80,.16)); }
/* Mega menu (light bg): full-colour logos, subtle hover lift */
.mega-logowall .lw img, .mega-logowall .lw svg { filter: none; opacity: 1; transition: transform .25s ease, filter .25s ease; }
.mega-logowall .lw:hover img, .mega-logowall .lw:hover svg { transform: scale(1.08) translateY(-2px); filter: drop-shadow(0 8px 16px rgba(20,30,80,.16)); }

/* ============ BLOGS ============ */
.blogs {
  background:
    radial-gradient(1100px 640px at 55% 60%, rgba(165,195,255,.28), transparent 60%),
    var(--light-bg);
  padding: clamp(50px, 7vh, 84px) 0 120px;
  overflow: hidden;
}
.blogs-inner { display: flex; gap: 54px; position: relative; width: var(--cw); }
.blogs-intro { width: 270px; flex-shrink: 0; padding-top: 10px; }
.blogs-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.blogs-title {
  font-family: 'Nunito', sans-serif; font-size: clamp(38px, 3.6vw, 48px);
  font-weight: 600; margin-bottom: 24px;
}
.blogs-lead { font-size: 14.5px; line-height: 1.65; color: #6f6f78; font-weight: 500; margin-bottom: 36px; }
.blogs-carousel-wrap { flex: 1; min-width: 0; position: relative; }
.blogs-nav { position: absolute; top: 6px; right: 0; display: flex; gap: 16px; z-index: 2; }
.carousel-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--accent);
  color: #0c0c10; display: grid; place-items: center; background: transparent;
  transition: background .25s ease, color .25s ease, transform .25s ease, opacity .25s ease;
}
.carousel-btn svg { width: 9px; height: 13px; }
.carousel-btn:hover { background: var(--accent); color: #fff; transform: scale(1.08); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel-btn:disabled:hover { background: transparent; color: #0c0c10; transform: none; }

.blogs-viewport { overflow: hidden; margin-top: 84px; }
.blogs-track {
  display: flex; gap: 20px;
  transform: translateX(0);
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.blog-card {
  flex: 0 0 calc((100% - 40px) / 3); background: #fff; border-radius: 10px; overflow: hidden;
  border: 1px solid #ececf2; box-shadow: 0 8px 30px rgba(20,40,120,.06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(20,40,120,.14); }
.blog-card > img { width: 100%; height: 150px; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover > img { transform: scale(1.05); }
.blog-body { padding: 22px 20px 24px; }
.blog-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent);
  background: rgba(18,63,199,.08); padding: 5px 12px; border-radius: 20px; margin-bottom: 16px;
}
.blog-body h3 { font-family: 'Nunito', sans-serif; font-size: 21px; font-weight: 700; margin-bottom: 14px; color: #0c0c10; line-height: 1.3; }
.blog-body p { font-size: 14px; line-height: 1.6; color: #7c7c84; font-weight: 500; margin-bottom: 22px; }
.read-more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #1741d8; }
.read-more svg { width: 8px; height: 12px; transition: transform .25s ease; }
.read-more:hover svg { transform: translateX(4px); }

/* ============ FOOTER ============ */
.site-footer {
  background:
    radial-gradient(500px 380px at 96% 100%, rgba(30,50,170,.4), transparent 65%),
    #000;
  padding: 72px 0 40px; color: #fff;
}
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 72px; }
.footer-divider { height: 1px; background: rgba(255,255,255,.14); margin-bottom: 64px; }
.cta-title { font-size: clamp(26px, 2.6vw, 34px); font-weight: 400; margin-bottom: 24px; }
.cta-sub { font-size: 15px; color: #d6d6dc; }
.btn-contact { margin-top: 8px; padding: 15px 44px; font-size: 14px; }
/* --- elegant footer --- */
.footer-main {
  display: grid; grid-template-columns: 1.5fr 1.1fr 1.2fr 1fr 1fr;
  gap: clamp(24px, 2.6vw, 46px);
  margin-bottom: 64px;
}
.footer-brand { max-width: 320px; }
.f-logo { height: 26px; width: auto; margin-bottom: 22px; }
.footer-headline { font-size: 16px; font-weight: 700; line-height: 1.4; color: #fff; margin-bottom: 12px; }
.footer-tagline { font-size: 14.5px; line-height: 1.65; color: #9a9aa4; }
.footer-cols { display: contents; }
.f-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: #6f7280; margin-bottom: 22px;
}
.f-col h4.f-col-stack { margin-top: 38px; }
.f-col a:not(.f-contact) {
  display: block; width: fit-content; max-width: 100%; font-size: 14.5px; color: #b4b4bc;
  margin-bottom: 14px; position: relative; line-height: 1.4;
  transition: color .22s ease, padding-left .22s ease;
}
.f-col > a:not(.f-contact)::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px;
  background: #7da2ff; opacity: 0; transition: width .25s ease, opacity .25s ease;
}
.f-col > a:not(.f-contact):hover { color: #fff; padding-left: 16px; }
.f-col > a:not(.f-contact):hover::before { width: 10px; opacity: 1; }

/* contact rows */
.f-contact {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 14.5px; color: #c2c2ca; margin-bottom: 20px; line-height: 1.5;
  transition: color .22s ease;
}
.f-contact:hover { color: #fff; }
.f-ci {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center; color: #9db4ff;
  background: rgba(120,150,255,.08); border: 1px solid rgba(120,150,255,.2);
  transition: background .25s ease, border-color .25s ease;
}
.f-ci svg { width: 17px; height: 17px; }
.f-contact:hover .f-ci { background: rgba(120,150,255,.16); border-color: rgba(120,150,255,.45); }
.f-ct-label {
  display: block; font-size: 11px; letter-spacing: .8px; text-transform: uppercase;
  color: #6f7280; margin-bottom: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px;
  display: flex; align-items: center; gap: 30px;
}
.f-copy { font-size: 12.5px; color: #7f7f88; }
.f-links { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.f-link { font-size: 12.5px; color: #a9a9b2; transition: color .2s ease; }
.f-link:hover { color: #fff; }
.f-social { display: flex; align-items: center; gap: 22px; }
.f-social a {
  color: #cfcfd6; display: grid; place-items: center;
  transition: color .3s ease, filter .3s ease, transform .3s ease;
}
.f-social svg { width: 20px; height: 20px; }
.f-social a:hover { transform: translateY(-2px); }
.soc-ig:hover {
  color: #E1306C;
  filter: drop-shadow(0 0 7px rgba(225,48,108,.9)) drop-shadow(0 0 15px rgba(193,53,132,.55));
}
.soc-li:hover {
  color: #0A66C2;
  filter: drop-shadow(0 0 7px rgba(10,102,194,.95)) drop-shadow(0 0 15px rgba(10,102,194,.55));
}

/* ============ SCROLL ANIMATIONS ============ */
.anim { opacity: 0; transform: translateY(46px); transition: opacity .8s ease, transform .8s ease; }
.anim.in { opacity: 1; transform: none; }

body.no-anim .anim { opacity: 1; transform: none; transition: none; }
body.no-anim *, body.no-anim *::before, body.no-anim *::after { transition: none !important; animation: none !important; }

/* ============ RESPONSIVE ============ */

/* --- Tablet / laptop --- */
@media (max-width: 1024px) {
  :root { --cw: min(1100px, 90vw); }
  .hero { height: auto; min-height: 100svh; }
  .hero-inner { flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 40px); padding: clamp(30px, 6vh, 60px) 0 20px; }
  .hero-copy { max-width: 640px; width: 100%; }
  .hero-media { order: -1; height: auto; width: 100%; max-width: 520px; aspect-ratio: 424 / 340; }
  .hero-tabs { grid-template-columns: repeat(3, 1fr); gap: 26px 24px; padding: 30px 0 44px; }
  .industry-grid, .services-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .blogs-inner { flex-direction: column; }
  .blogs-intro { width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 44px 30px; }
  .footer-brand { grid-column: 1 / -1; max-width: 480px; }
  /* phase sequence: single stacked column on tablet */
  .phase-stage-inner { grid-template-columns: 1fr; gap: 30px; }
  .phase-rail { display: flex; gap: 8px; padding-left: 0; }
  .phase-rail-line { display: none; }
  .phase-step { padding: 8px 0; }
  .phase-step .ps-name { font-size: 18px; }
  .phase-panels { min-height: 400px; }
  .pp-icon { width: clamp(120px, 22vw, 180px); right: 0; opacity: .5; }
  .mega-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 46px; padding: 0 34px; }
  .mega-links { margin-left: 0; }
}

/* --- Hide desktop nav, show hamburger --- */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .header-icons { margin-left: auto; }
}

/* --- Small tablet / large phone --- */
@media (max-width: 760px) {
  .hero-tabs { grid-template-columns: repeat(2, 1fr); }
  .section-title-dark, .section-title-light { padding-top: 70px; }
  .services .section-title-light { margin-bottom: 54px; }
  /* phase sequence: unpin and stack on phones */
  .phase-scroll { height: auto; }
  .phase-stage { position: static; height: auto; display: block; padding: 64px 0; }
  .phase-panels { min-height: 0; }
  .phase-panel { position: relative; opacity: 1; visibility: visible; transform: none; margin-bottom: 56px; }
  .phase-panel .pp-icon { position: static; transform: none; opacity: .8; margin-top: 20px; }
  .phase-rail { flex-wrap: wrap; }
  .phase-progress { display: none; }
  .solutions-panel { flex-direction: column; padding: 30px 22px 36px; }
  .solutions-tabs { width: 100%; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); padding: 0 0 16px; margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
  .sol-tab { margin-bottom: 0; padding: 8px 12px; }
  .sol-tab-arrow { display: none; }
  .sol-tab.is-active { box-shadow: 0 6px 18px rgba(120,90,20,.16); }
  .solutions-content { padding: 4px 0 0; }
  .sol-cat.is-active { flex-direction: column-reverse; gap: 24px; }
  .sol-graphic { margin-left: 0; width: 110px; height: 110px; }
  .sol-graphic svg { width: 62px; height: 62px; }
}

/* --- Phone --- */
@media (max-width: 640px) {
  :root { --cw: 90vw; --header-h: 62px; }
  .header-inner { width: 92vw; }
  .logo img { height: 22px; }
  .region-code { display: none; }
  .region-btn { padding: 8px; gap: 0; }
  .header-icons { gap: 16px; }

  .hero-title { font-size: clamp(30px, 8vw, 42px); }
  .hero-tabs { grid-template-columns: 1fr 1fr; gap: 18px 18px; }
  .tab-desc { font-size: 12px; }

  .statement-chevron { margin-bottom: 40px; }
  .statement-text { font-size: clamp(24px, 7vw, 34px); }

  .industry-grid, .services-grid, .stats-grid { grid-template-columns: 1fr; }
  .industry-card { padding: 34px 28px; }
  .stat-card { padding: 26px 26px 28px; }
  .stat-num { font-size: 34px; }

  .section-title-dark { font-size: clamp(26px, 7vw, 34px); }
  .section-sub-dark, .section-sub-light { font-size: 15px; margin-bottom: 44px; }
  .section-sub-light br, .section-sub-dark br { display: none; }

  .cta-row { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 70px; }
  .cta-title { font-size: 26px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px 20px; margin-bottom: 44px; }
  .footer-bottom { flex-wrap: wrap; align-items: flex-start; gap: 18px 26px; }
  .f-links { flex-wrap: wrap; gap: 20px; margin-left: 0; }
  .f-social { margin-left: auto; }

  .pp-desc { font-size: 15px; }
  .statement { height: 220vh; }

  .blog-card { flex-basis: 82vw; }
  .blogs-nav { position: static; margin-bottom: 24px; }
  .blogs { padding: 70px 0 84px; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); gap: 26px 14px; }
  .lw { min-height: 64px; }
  .lw img, .lw svg { max-height: 62px; }
}

/* --- Small phone --- */
@media (max-width: 400px) {
  .footer-main { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .hero-tabs { grid-template-columns: 1fr; }
  .mega-link { font-size: 40px; }
}

/* --- Fullscreen hamburger menu: allow scroll on short screens --- */
@media (max-height: 620px) {
  .mega-menu { overflow-y: auto; }
  .mega-inner { padding-top: 30px; padding-bottom: 30px; }
}
