/* ============================================================
   CUBED ANALYTICS — Global Styles
   Design: Adapted from CubedNet v5 refined editorial system
   Fonts: Playfair Display (headings) + Plus Jakarta Sans (body) + Space Mono
   Palette: Deep navy · Electric blue · Gold · White
   Address: Sentinel House, Ancells Business Park, Fleet GU51 2UZ
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,600;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --navy:        #071630;
  --navy-mid:    #0d2252;
  --navy-lite:   #1a3a7a;
  --blue:        #1b4fd8;
  --blue-bright: #2962ff;
  --cobalt:      #4d7cfe;
  --gold:        #c8922a;
  --gold-light:  #e8b45a;
  --gold-pale:   #fdf3e3;
  --white:       #ffffff;
  --off:         #f8f9fc;
  --g100:        #eef1f8;
  --g200:        #d4daea;
  --g400:        #8596b2;
  --g600:        #4a5878;
  --text:        #071630;
  --muted:       #4a5878;
  --r:           12px;
  --r-sm:        6px;
  --nav-h:       88px;
  --sh:          0 4px 24px rgba(7,22,48,.08);
  --sh-lg:       0 16px 56px rgba(7,22,48,.14);
  --fh:          'Playfair Display', Georgia, serif;
  --fb:          'Plus Jakarta Sans', sans-serif;
  --fm:          'Space Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--fh); line-height: 1.1; }

/* ── NAV — always white, logo always prominent ── */
/* ═══════════════════════════════════════════════════
   NAV — single consistent navy bar, all pages
   ═══════════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 2px 24px rgba(0,0,0,.28);
  display: flex; align-items: center;
}

/* All links — always white on navy */
.site-nav .nav-links a        { color: rgba(255,255,255,.8); background: transparent; font-family: var(--fb); font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: var(--r-sm); transition: color .18s, background .18s; letter-spacing: .01em; white-space: nowrap; }
.site-nav .nav-links a:hover  { color: #fff; background: rgba(255,255,255,.1); }
.site-nav .nav-links a.active { color: #fff; background: rgba(255,255,255,.1); }
.site-nav .btn-nav            { background: var(--gold); color: var(--navy); font-family: var(--fb); font-size: 14px; font-weight: 700; padding: 10px 22px; border-radius: var(--r-sm); border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: all .2s; }
.site-nav .btn-nav:hover      { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(200,146,42,.35); }
.site-nav .nav-burger span    { background: #fff; }

/* Logo — always show the white-text version on navy */
.site-nav .logo-for-dark-bg  { display: block; }
.site-nav .logo-for-light-bg { display: none; }

/* Mobile drawer stays white with dark text for readability */

/* Testimonial carousel */
.testi-carousel { position: relative; overflow: hidden; margin-top: 56px; }
.testi-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.testi-slide { flex: 0 0 33.333%; padding: 0 12px; box-sizing: border-box; }
.testi-carousel-ctrl {
  display: flex; justify-content: center; align-items: center;
  gap: 16px; margin-top: 32px;
}
.testi-arr {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--g100); border: none; cursor: pointer;
  font-size: 17px; color: var(--navy); transition: all .2s;
  display: flex; align-items: center; justify-content: center;
}
.testi-arr:hover { background: var(--navy); color: #fff; }
.testi-dots { display: flex; gap: 7px; }
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--g200); border: none; cursor: pointer;
  padding: 0; transition: all .25s;
}
.testi-dot.active { background: var(--navy); transform: scale(1.3); }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--navy); color: #fff;
  padding: 18px 32px; z-index: 2000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  border-top: 2px solid var(--gold);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-text { font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.6; max-width: 700px; }
.cookie-text a { color: var(--gold-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  background: var(--gold); color: var(--navy); border: none;
  padding: 10px 22px; border-radius: var(--r-sm); font-family: var(--fb);
  font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s;
}
.cookie-accept:hover { background: var(--gold-light); }
.cookie-decline {
  background: transparent; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.25);
  padding: 10px 18px; border-radius: var(--r-sm); font-family: var(--fb);
  font-size: 14px; cursor: pointer; transition: all .2s;
}
.cookie-decline:hover { color: #fff; border-color: rgba(255,255,255,.5); }

/* Legal pages */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-size: clamp(22px,2.5vw,30px); color: var(--navy); margin: 44px 0 14px; }
.legal-content h3 { font-size: 18px; color: var(--navy); margin: 28px 0 10px; font-family: var(--fb); font-weight: 700; }
.legal-content p  { margin-bottom: 14px; font-size: 15px; }
.legal-content ul { margin: 12px 0 16px 24px; display: flex; flex-direction: column; gap: 8px; }
.legal-content ul li { font-size: 15px; color: var(--muted); }
.legal-content a  { color: var(--blue-bright); }
.legal-toc { background: var(--g100); border-radius: var(--r); padding: 24px 28px; margin-bottom: 40px; }
.legal-toc h4 { font-family: var(--fh); font-size: 16px; color: var(--navy); margin-bottom: 12px; }
.legal-toc ol { margin-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.legal-toc li a { font-size: 14px; color: var(--blue-bright); }

.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
}

.nav-logo { display: flex; align-items: center; gap: 0; text-decoration: none; flex-shrink: 0; }
/* Logo: transparent background, 62px height so it reads bolder and larger */
.nav-logo-img {
  height: 62px; width: auto; display: block;
  /* Remove any browser-added background */
  background: transparent;
}

.nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none; flex: 1; justify-content: center;
}
/* Base: layout and typography only — colour set entirely by state rules above */
.nav-links a {
  font-family: var(--fb); font-size: 14px; font-weight: 600;
  padding: 8px 16px; border-radius: var(--r-sm);
  transition: color 0.18s, background 0.18s;
  letter-spacing: 0.01em; white-space: nowrap;
  background: transparent;
  /* colour intentionally NOT set here — handled by .site-nav state rules */
}


/* nav-inner, logo, nav-links base styles follow below */

.nav-cta-wrap { flex-shrink: 0; }
.btn-nav {
  background: var(--navy); color: white;
  padding: 10px 22px; border-radius: var(--r-sm);
  font-family: var(--fb); font-size: 14px; font-weight: 600;
  border: none; cursor: pointer; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
}
.btn-nav:hover { background: var(--blue-bright); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(41,98,255,.3); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; flex-shrink: 0;
}
.nav-burger span { display: block; width: 26px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.25s; }

.nav-drawer {
  display: none; position: fixed; inset: 0; background: var(--white);
  z-index: 999; flex-direction: column; padding: 100px 40px 40px; gap: 4px;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-family: var(--fh); font-size: 26px; font-weight: 700;
  color: var(--navy); padding: 12px 0; border-bottom: 1px solid var(--g100);
  transition: color 0.2s;
}
.nav-drawer a:hover { color: var(--blue-bright); }
.nav-drawer-close { position: absolute; top: 22px; right: 28px; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--navy); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fb); font-size: 15px; font-weight: 600;
  padding: 14px 30px; border-radius: var(--r-sm); border: none;
  cursor: pointer; transition: all 0.22s; text-decoration: none; letter-spacing: 0.01em;
}
.btn-primary { background: var(--navy); color: white; box-shadow: 0 4px 16px rgba(7,22,48,.2); }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(41,98,255,.35); }
.btn-gold { background: var(--gold); color: white; box-shadow: 0 4px 16px rgba(200,146,42,.3); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,146,42,.4); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: white; transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { background: white; color: var(--navy); transform: translateY(-2px); }
.btn-lg { padding: 17px 36px; font-size: 16px; }
.arrow-right { transition: transform 0.2s; }
.btn:hover .arrow-right { transform: translateX(4px); }

/* ── LAYOUT ── */
.container  { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }
.pt-nav     { padding-top: calc(var(--nav-h) + 0px); }

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-family: var(--fm); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--blue-bright);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--blue-bright); flex-shrink: 0; }
.eyebrow-gold  { color: var(--gold); }
.eyebrow-gold::before  { background: var(--gold); }
.eyebrow-white { color: rgba(255,255,255,.65); }
.eyebrow-white::before { background: rgba(255,255,255,.4); }

h1 { font-size: clamp(40px, 5.5vw, 74px); font-weight: 900; }
h2 { font-size: clamp(32px, 3.8vw, 52px); font-weight: 700; }
h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 700; }
.section-title { color: var(--navy); line-height: 1.08; margin-bottom: 18px; }
.section-title em { font-style: italic; color: var(--blue-bright); }
.section-sub { font-size: 17px; color: var(--muted); line-height: 1.75; max-width: 560px; font-weight: 300; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── HERO SLIDER ── */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; margin-top: var(--nav-h); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; display: flex; align-items: center; }
.slide.active { opacity: 1; z-index: 2; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.07); transition: transform 8s ease; }
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(7,22,48,.88) 0%, rgba(7,22,48,.62) 55%, rgba(7,22,48,.3) 100%); }
.slide-content { position: relative; z-index: 3; max-width: 1280px; margin: 0 auto; padding: 0 40px; width: 100%; }
.slide-tag {
  font-family: var(--fm); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-light); display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px; opacity: 0; transform: translateY(14px); transition: all 0.55s 0.15s ease;
}
.slide-tag::before { content: ''; width: 26px; height: 2px; background: var(--gold-light); }
.slide.active .slide-tag { opacity: 1; transform: translateY(0); }
.slide-h1 {
  font-family: var(--fh); font-size: clamp(40px, 5.8vw, 78px); font-weight: 900;
  color: white; line-height: 1.02; max-width: 720px; margin-bottom: 22px;
  opacity: 0; transform: translateY(22px); transition: all 0.65s 0.3s ease;
}
.slide-h1 em { font-style: italic; color: var(--gold-light); }
.slide.active .slide-h1 { opacity: 1; transform: translateY(0); }
.slide-p {
  font-size: 17px; color: rgba(255,255,255,.7); max-width: 520px;
  line-height: 1.75; margin-bottom: 36px; font-weight: 300;
  opacity: 0; transform: translateY(18px); transition: all 0.6s 0.48s ease;
}
.slide.active .slide-p { opacity: 1; transform: translateY(0); }
.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(16px); transition: all 0.55s 0.62s ease; }
.slide.active .slide-actions { opacity: 1; transform: translateY(0); }

.slider-ctrl { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; align-items: center; gap: 18px; }
.slider-dots { display: flex; gap: 8px; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; border: none; padding: 0; transition: all 0.3s; }
.slider-dot.active { background: white; transform: scale(1.3); }
.slider-arr { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: white; font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.slider-arr:hover { background: rgba(255,255,255,.22); }
.slide-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--gold); width: 0%; z-index: 10; transition: width .1s linear; }

/* ── SERVICE CARDS ── */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.svc-card { background: white; border: 1.5px solid var(--g100); border-radius: var(--r); padding: 36px 30px; transition: all 0.3s; position: relative; overflow: hidden; }
.svc-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue-bright), var(--cobalt)); transform: scaleX(0); transform-origin: left; transition: transform 0.35s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-num { font-family: var(--fm); font-size: 11px; color: var(--cobalt); opacity: 0.5; margin-bottom: 16px; letter-spacing: 0.1em; }
.svc-icon { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, rgba(27,79,216,.08), rgba(77,124,254,.12)); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.svc-name { font-family: var(--fh); font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.svc-desc { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tag { font-family: var(--fm); font-size: 10px; background: var(--g100); color: var(--blue-bright); padding: 3px 9px; border-radius: 4px; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--blue-bright); margin-top: 16px; transition: gap 0.2s; }
.svc-link:hover { gap: 10px; }

/* ── STATS BAND ── */
.stats-band { background: var(--navy); padding: 60px 0; position: relative; overflow: hidden; }
.stats-band::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,.015) 0px, rgba(255,255,255,.015) 1px, transparent 1px, transparent 48px); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); position: relative; }
.stat-item { text-align: center; padding: 0 20px; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--fh); font-size: 58px; font-weight: 900; color: white; line-height: 1; display: block; }
.stat-num em { font-style: normal; color: var(--gold-light); }
.stat-lbl { font-size: 13px; color: rgba(255,255,255,.45); margin-top: 6px; }

/* ── ABOUT SPLIT ── */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; height: 540px; object-fit: cover; border-radius: var(--r); display: block; }
.about-badge { position: absolute; bottom: 28px; left: 28px; background: white; border-radius: 12px; padding: 18px 24px; box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 14px; }
.about-badge-num { font-family: var(--fh); font-size: 34px; font-weight: 900; color: var(--blue-bright); line-height: 1; }
.about-badge-num em { font-style: normal; color: var(--gold); }
.about-badge-lbl { font-size: 12px; color: var(--muted); line-height: 1.4; }
.about-accent { position: absolute; top: 28px; right: -20px; background: var(--navy); color: white; font-family: var(--fm); font-size: 10px; letter-spacing: 0.1em; padding: 10px 16px; border-radius: 8px; box-shadow: var(--sh-lg); }

.check-list { list-style: none; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--muted); }
.check-list li::before { content: '✓'; width: 22px; height: 22px; background: rgba(41,98,255,.1); color: var(--blue-bright); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ── PROCESS ── */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 60px; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 1px; background: var(--g200); z-index: 0; }
.process-step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.step-circle { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--g200); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: var(--fm); font-size: 13px; font-weight: 700; color: var(--g400); }
.step-circle.live { background: var(--navy); border-color: var(--navy); color: white; box-shadow: 0 0 0 8px rgba(7,22,48,.08); }
.step-icon { font-size: 22px; margin-bottom: 12px; }
.step-name { font-family: var(--fh); font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.testi-card { background: white; border: 1.5px solid var(--g100); border-radius: var(--r); padding: 36px; transition: box-shadow 0.3s; }
.testi-card:hover { box-shadow: var(--sh-lg); }
.testi-stars { color: var(--gold); font-size: 15px; margin-bottom: 16px; letter-spacing: 2px; }
.testi-quote { font-family: var(--fh); font-size: 17px; font-style: italic; color: var(--text); line-height: 1.65; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--g100); }
.testi-av { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--fh); font-size: 15px; font-weight: 700; color: white; flex-shrink: 0; }
.testi-name { font-size: 14px; font-weight: 600; color: var(--navy); }
.testi-role { font-size: 12px; color: var(--muted); }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background: var(--navy); padding: 60px 0 72px; margin-top: var(--nav-h); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 56px 56px; }
.page-hero::after { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(41,98,255,.18) 0%, transparent 65%); top: -200px; right: -100px; pointer-events: none; }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { color: white; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.6); max-width: 580px; font-size: 18px; font-weight: 300; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.5); transition: color .2s; }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,.3); }
.breadcrumb .cur { color: var(--gold-light); }

/* ── TECH GRID ── */
.tech-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; margin-top: 48px; }
.tech-tile { background: white; border: 1.5px solid var(--g100); border-radius: var(--r-sm); padding: 20px 14px; text-align: center; transition: all 0.22s; }
.tech-tile:hover { border-color: var(--blue-bright); box-shadow: 0 4px 16px rgba(41,98,255,.1); transform: translateY(-2px); }
.tech-icon { font-size: 28px; margin-bottom: 8px; }
.tech-name { font-family: var(--fm); font-size: 10px; color: var(--muted); }

/* ── CONTACT ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.c-info-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.c-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--g100); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.c-label { font-family: var(--fm); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 4px; }
.c-val { font-size: 15px; font-weight: 500; color: var(--navy); }
.c-val a { color: var(--blue-bright); }

.form-card { background: white; border: 1.5px solid var(--g100); border-radius: var(--r); padding: 44px; box-shadow: var(--sh); }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-label .req { color: var(--blue-bright); }
.form-input, .form-select, .form-textarea { width: 100%; background: var(--off); border: 1.5px solid var(--g200); border-radius: var(--r-sm); padding: 12px 16px; font-family: var(--fb); font-size: 14px; color: var(--text); transition: all 0.2s; outline: none; -webkit-appearance: none; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--g400); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue-bright); background: white; box-shadow: 0 0 0 3px rgba(41,98,255,.1); }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5878' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
.form-select option { background: white; color: var(--text); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-notice { font-size: 12px; color: var(--muted); margin-top: 14px; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.form-notice::before { content: '🔒'; font-size: 13px; flex-shrink: 0; margin-top: 1px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.success-icon { font-size: 52px; margin-bottom: 16px; }
.success-title { font-family: var(--fh); font-size: 28px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }

/* ── CASE STUDY CARDS ── */
.work-card { background: white; border: 1.5px solid var(--g100); border-radius: var(--r); overflow: hidden; margin-bottom: 40px; display: grid; grid-template-columns: 480px 1fr; transition: box-shadow 0.3s; }
.work-card:nth-child(even) { direction: rtl; }
.work-card:nth-child(even) > * { direction: ltr; }
.work-card:hover { box-shadow: var(--sh-lg); }
.work-img { position: relative; overflow: hidden; }
.work-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.work-card:hover .work-img img { transform: scale(1.04); }
.work-img-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7,22,48,.5), rgba(27,79,216,.25)); }
.work-sector-badge { position: absolute; top: 20px; left: 20px; background: white; font-family: var(--fm); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-bright); padding: 6px 12px; border-radius: 4px; }
.work-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.work-title { font-family: var(--fh); font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.work-desc { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 24px; }
.work-results { display: flex; gap: 28px; padding: 20px 0; border-top: 1px solid var(--g100); border-bottom: 1px solid var(--g100); margin-bottom: 20px; flex-wrap: wrap; }
.result-val { font-family: var(--fh); font-size: 28px; font-weight: 900; color: var(--blue-bright); }
.result-lbl { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ── SERVICES FULL PAGE ── */
.svc-section { padding: 72px 0; border-bottom: 1px solid var(--g100); }
.svc-section:last-of-type { border-bottom: none; }
.svc-section:nth-child(even) { background: var(--off); }
.svc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.svc-layout.rev { direction: rtl; }
.svc-layout.rev > * { direction: ltr; }
.svc-img { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-lg); }
.svc-img img { width: 100%; height: 380px; object-fit: cover; display: block; transition: transform 0.5s; }
.svc-img:hover img { transform: scale(1.03); }
.deliverables { background: var(--g100); border-radius: var(--r-sm); padding: 20px 24px; margin: 22px 0; border-left: 3px solid var(--blue-bright); }
.deliverables-label { font-family: var(--fm); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 12px; }
.deliverables ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.deliverables li { font-size: 14px; color: var(--muted); display: flex; align-items: flex-start; gap: 8px; line-height: 1.6; }
.deliverables li::before { content: '›'; color: var(--blue-bright); font-weight: 700; flex-shrink: 0; font-size: 16px; line-height: 1.35; }

/* ── STACK BADGES ── */
.stack-grid { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.stack-badge { font-family: var(--fm); font-size: 10px; background: rgba(27,79,216,.08); color: var(--blue-bright); border: 1px solid rgba(27,79,216,.2); padding: 4px 10px; border-radius: 4px; letter-spacing: .04em; }
.stack-badge.azure { background: rgba(0,120,212,.08); color: #0078d4; border-color: rgba(0,120,212,.2); }
.stack-badge.spark { background: rgba(229,104,19,.08); color: #e56813; border-color: rgba(229,104,19,.2); }
.stack-badge.pbi   { background: rgba(243,163,0,.08);  color: #f3a300; border-color: rgba(243,163,0,.2); }
.stack-badge.kafka { background: rgba(35,35,35,.08);   color: #555;    border-color: rgba(0,0,0,.15); }
.stack-badge.aws   { background: rgba(255,153,0,.08);  color: #e07900; border-color: rgba(255,153,0,.2); }
.stack-badge.db    { background: rgba(255,51,0,.08);   color: #ff3300; border-color: rgba(255,51,0,.15); }
.stack-badge.ai    { background: rgba(124,58,237,.08); color: #7c3aed; border-color: rgba(124,58,237,.2); }

/* ── VALUES ── */
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.value-card { background: white; border: 1.5px solid var(--g100); border-radius: var(--r); padding: 32px; transition: all 0.3s; }
.value-card:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
.value-num  { font-family: var(--fm); font-size: 11px; color: var(--blue-bright); opacity: 0.5; margin-bottom: 10px; }
.value-name { font-family: var(--fh); font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }

/* ── TEAM ── */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 48px; }
.team-card { text-align: center; }
.team-photo { width: 100%; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; margin-bottom: 18px; background: var(--g100); position: relative; display: flex; align-items: center; justify-content: center; }
.team-initials { font-family: var(--fh); font-size: 44px; font-weight: 900; color: var(--blue-bright); opacity: 0.25; }
.team-name { font-family: var(--fh); font-size: 20px; font-weight: 700; color: var(--navy); }
.team-role { font-size: 13px; color: var(--muted); margin-bottom: 10px; }

/* ── VISUAL PANELS ── */
.work-visual { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 28px; flex-direction: column; gap: 12px; }
.arch-diagram { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.arch-row { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.arch-box { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 7px 12px; font-family: var(--fm); font-size: 10px; color: rgba(255,255,255,.85); letter-spacing: .04em; text-align: center; white-space: nowrap; }
.arch-arrow { color: rgba(255,255,255,.4); font-size: 14px; flex-shrink: 0; }

/* Sector gradient backgrounds */
.bg-bi    { background: linear-gradient(135deg, #3d1a00 0%, #7a3800 50%, #f3a300 100%); }
.bg-azure { background: linear-gradient(135deg, #001a3d 0%, #003878 50%, #0078d4 100%); }
.bg-arch  { background: linear-gradient(135deg, #1a1040 0%, #2d1a6e 50%, #6d28d9 100%); }
.bg-onp   { background: linear-gradient(135deg, #071630 0%, #0d2252 40%, #0078d4 70%, #e07900 100%); }
.bg-aws   { background: linear-gradient(135deg, #e07900 0%, #003878 50%, #0078d4 100%); }
.bg-train { background: linear-gradient(135deg, #0b2010 0%, #134024 50%, #16a34a 100%); }
.bg-meta  { background: linear-gradient(135deg, #001a3d 0%, #003060 50%, #2962ff 100%); }
.work-tech { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--g100); }
.work-tech-label { font-family: var(--fm); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 8px; }

/* ── CONSULTANT TIERS ── */
.consult-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0; }
.consult-tier { border-radius: var(--r); padding: 28px; position: relative; overflow: hidden; }
.consult-tier.managed   { background: linear-gradient(135deg, rgba(7,22,48,.04), rgba(27,79,216,.06)); border: 1.5px solid rgba(27,79,216,.2); }
.consult-tier.placement { background: linear-gradient(135deg, rgba(7,22,48,.04), rgba(200,146,42,.06)); border: 1.5px solid rgba(200,146,42,.2); }
.tier-badge { display: inline-block; font-family: var(--fm); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 12px; border-radius: 4px; margin-bottom: 14px; }
.tier-badge.m { background: rgba(27,79,216,.1); color: var(--blue-bright); }
.tier-badge.p { background: rgba(200,146,42,.1); color: var(--gold); }
.tier-title { font-family: var(--fh); font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.tier-desc  { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }

.level-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; margin: 28px 0; }
.level-card { border: 1.5px solid var(--g100); border-radius: var(--r-sm); padding: 16px 12px; text-align: center; background: white; transition: all .25s; }
.level-card:hover { border-color: var(--blue-bright); box-shadow: 0 4px 16px rgba(41,98,255,.1); transform: translateY(-2px); }
.level-icon { font-size: 22px; margin-bottom: 8px; }
.level-name { font-family: var(--fh); font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1.2; }
.level-rate { font-family: var(--fm); font-size: 10px; color: var(--blue-bright); margin-bottom: 6px; }
.level-tags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.level-tag  { font-size: 9px; background: var(--g100); color: var(--muted); padding: 2px 6px; border-radius: 3px; }

/* ── AI BADGE ── */
.ai-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(124,58,237,.1), rgba(41,98,255,.1));
  border: 1px solid rgba(124,58,237,.25);
  border-radius: 20px; padding: 6px 14px; margin-bottom: 20px;
}
.ai-badge-dot { width: 7px; height: 7px; background: #7c3aed; border-radius: 50%; animation: aiBlink 2s infinite; }
@keyframes aiBlink { 0%,100%{opacity:1} 50%{opacity:.3} }
.ai-badge span { font-family: var(--fm); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: #7c3aed; }

/* ── FOOTER ── */
.site-footer { background: var(--navy); color: white; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { margin-bottom: 18px; }
.footer-logo img { height: 40px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 280px; }
.footer-address { font-size: 13px; color: rgba(255,255,255,.35); line-height: 1.8; margin-top: 14px; }
.footer-col-title { font-family: var(--fm); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.6); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy  { font-size: 13px; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 20px; list-style: none; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.3); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .svc-grid, .team-grid { grid-template-columns: repeat(2,1fr); }
  .tech-grid { grid-template-columns: repeat(4,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-split, .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .stat-item { border-right: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .work-card, .work-card:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .work-img { height: 260px; }
  .svc-layout, .svc-layout.rev { grid-template-columns: 1fr; direction: ltr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .level-grid { grid-template-columns: repeat(3,1fr); }
  .consult-tiers { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .nav-links, .nav-cta-wrap { display: none; }
  .nav-burger { display: flex; }
  .nav-inner { padding: 0 20px; }
  .svc-grid, .values-grid, .team-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row2 { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .level-grid { grid-template-columns: repeat(2,1fr); }
  .about-accent { display: none; }
}
