/* ============================================================
   CLOUDPIRE IT SERVICES — Design System
   styles.css  |  Version 1.0  |  2025
   ============================================================

   TABLE OF CONTENTS
   1.  Custom Properties (tokens)
   2.  Reset & Base
   3.  Typography
   4.  Layout
   5.  Navigation
   6.  Mega Navigation
   7.  Mobile Menu
   8.  Buttons
   9.  Forms
   10. Animations
   11. Components — Cards
   12. Components — Hero
   13. Components — Sections
   14. Components — Page Heroes
   15. Components — Service Detail Pages
   16. Components — Insights
   17. Components — About
   18. Components — Contact
   19. Components — Footer
   20. Components — Back to Top
   21. Utilities
   22. Responsive
   ============================================================ */

/* ── 1. Custom Properties ─────────────────────────────────── */
:root {
  /* ── Backgrounds ─────────────────────────────────────── */
  --navy:       #05080F;   /* Deep Space — page base            */
  --navy-2:     #0A0F1A;   /* Dark Surface — alternate sections  */
  --navy-3:     #0F1729;   /* Panel — cards, inputs              */
  --slate:      #151E30;   /* Elevated surface                   */

  /* ── Primary: Signal Orange ──────────────────────────── */
  --blue:       #FF4500;   /* Signal Orange — primary CTAs       */
  --blue-lt:    #FF6A2F;   /* Orange Light — hover state         */
  --blue-xlt:   #FF8C5A;   /* Orange XLight — highlight          */

  /* ── Secondary: Electric Cyan ────────────────────────── */
  --teal:       #00C2FF;   /* Electric Cyan — secondary accent   */
  --teal-lt:    #33CFFF;   /* Cyan Light — hover                 */

  /* ── Supporting accents ──────────────────────────────── */
  --purple:     #8B5CF6;   /* Volt Purple — Academy / AI         */
  --purple-lt:  #A78BFA;   /* Purple light                       */
  --gold:       #F59E0B;   /* Amber — warnings / highlights      */
  --red:        #EF4444;   /* Alert red                          */
  --green:      #10B981;   /* Success green                      */

  /* ── Text ────────────────────────────────────────────── */
  --text:       #F0F6FC;   /* Primary — near white, warm         */
  --text-dim:   #8B9BB4;   /* Secondary                          */
  --text-muted: #4A5568;   /* De-emphasised                      */

  /* ── Surfaces ────────────────────────────────────────── */
  --bg-card:    rgba(15,23,41,0.7);
  --border:     rgba(240, 246, 252, 0.06);
  --border-h:   rgba(240, 246, 252, 0.14);
  --glow-blue:  0 8px 32px rgba(255, 69,  0, 0.28);
  --glow-teal:  0 8px 32px rgba(0,  194, 255, 0.22);

  /* ── Typography ──────────────────────────────────────── */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'IBM Plex Sans',  sans-serif;

  /* ── Spacing (unchanged) ─────────────────────────────── */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* ── Shape (unchanged) ───────────────────────────────── */
  --radius:    8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* ── Motion (unchanged) ──────────────────────────────── */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.2s ease;
}

/* ── 2. Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--blue);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── 3. Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.text-gradient {
  background: linear-gradient(135deg, #E03500 0%, #FF6A2F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-blue   { color: var(--blue-lt); }
.text-teal   { color: var(--teal); }
.text-muted  { color: var(--text-muted); }
.text-dim    { color: var(--text-dim); }

/* ── 4. Layout ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.container--narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--sp-6); }
.container--wide   { max-width: 1400px; margin: 0 auto; padding: 0 var(--sp-6); }

.section       { padding: var(--sp-24) 0; }
.section--sm   { padding: var(--sp-16) 0; }
.section--alt  { background: var(--navy-2); }
.section--dark { background: rgba(5,8,15,0.9); }

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-16);
}
.section__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(0,194,255,0.35);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: var(--sp-4);
}
.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.025em;
}
.section__sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ── 5. Navigation ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(5,8,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(5,8,15,0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: var(--sp-6);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo-icon { width: 30px; height: 28px; flex-shrink: 0; }
.nav__logo-word {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(90deg, #fff 20%, var(--blue-xlt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav__logo-word em {
  font-style: normal;
  background: linear-gradient(90deg, #FF4500 0%, #FF8C5A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav__logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
}

/* Desktop nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item--has-mega { display: flex; align-items: center; }
.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav__link:hover, .nav__link.active { color: var(--text); }
.nav__link.active { color: var(--blue-lt); }

/* Chevron button */
.nav__mega-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 6px;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
  flex-shrink: 0;
  padding: 0;
  margin-left: -4px;
}
.nav__mega-chevron svg {
  width: 14px; height: 14px;
  transition: transform 0.2s var(--ease);
  display: block;
}
.nav__mega-chevron:hover, .nav__mega-chevron.open {
  color: var(--blue-lt);
  background: rgba(255,106,47,0.1);
}
.nav__mega-chevron.open svg { transform: rotate(180deg); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  border-radius: var(--radius);
  padding: 6px;
  transition: background var(--transition);
}
.nav__burger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav__burger:hover { background: var(--border); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 6. Mega Navigation ───────────────────────────────────── */
.mega-menu {
  position: fixed;
  top: 68px; left: 0; right: 0;
  z-index: 996;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease);
}
.mega-menu.active { display: block; opacity: 1; pointer-events: all; }

.mega-menu__inner {
  background: rgba(5,8,15,0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.mega-menu__grid {
  display: grid;
  gap: var(--sp-8);
  padding: var(--sp-8) 0;
}
.mega-menu__grid--services  { grid-template-columns: 2fr 1fr 1fr; }
.mega-menu__grid--insights  { grid-template-columns: 2fr 1fr; }

.mega-col__title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
}

/* Stage group header in services mega */
.mega-stage-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-2);
}
.mega-stage-label:first-child { margin-top: 0; }

/* Mega service link — name + one-liner (Tasrie-style) */
.mega-link {
  display: flex;
  flex-direction: column;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--transition);
  margin-bottom: 2px;
}
.mega-link:hover { background: rgba(255, 255, 255, 0.04); }
.mega-link__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.mega-link__sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.mega-quick-link {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 0.3rem 0;
  transition: color var(--transition);
}
.mega-quick-link:hover { color: var(--blue-lt); }

/* Mega CTA card */
.mega-cta {
  background: rgba(255,69,0,0.07);
  border: 1px solid rgba(255,69,0,0.15);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.mega-cta__icon { font-size: 1.5rem; margin-bottom: var(--sp-3); display: block; }
.mega-cta__title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: var(--sp-2); }
.mega-cta__text  { font-size: 0.8rem; color: var(--text-dim); line-height: 1.6; margin-bottom: var(--sp-4); }
.mega-cta__link  { font-size: 0.78rem; color: var(--blue-lt); margin-top: var(--sp-3); display: block; }
.mega-cta__link:hover { color: var(--blue-xlt); }

/* Insight mega link */
.mega-insight-link {
  display: block;
  padding: 0.55rem 0.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--transition);
  margin-bottom: 2px;
}
.mega-insight-link:hover { background: rgba(255, 255, 255, 0.04); }
.mega-insight-cat {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  margin-bottom: 3px;
}
.mega-insight-cat.assess   { background: rgba(255,69,0,.12);  color: var(--blue-lt); }
.mega-insight-cat.build    { background: rgba(0,194,255,.12); color: var(--teal); }
.mega-insight-cat.secure   { background: rgba(220,38,38,.12);  color: #f87171; }
.mega-insight-cat.manage   { background: rgba(124,58,237,.12); color: #a78bfa; }
.mega-insight-title { font-size: 0.82rem; color: var(--text-dim); line-height: 1.4; }
.mega-insight-link:hover .mega-insight-title { color: var(--text); }

/* Backdrop */
.mega-backdrop {
  position: fixed; inset: 0; top: 68px;
  z-index: 995;
  display: none;
  cursor: default;
}
.mega-backdrop.active { display: block; }

/* ── 7. Mobile Menu ───────────────────────────────────────── */
.nav__mobile {
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: rgba(5,8,15,0.99);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--sp-4) var(--sp-6) var(--sp-8);
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
              visibility 0s linear 0.25s;
}
.nav__mobile.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
              visibility 0s linear 0s;
}

.nav__mobile-section { border-bottom: 1px solid var(--border); }
.nav__mobile-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__mobile-page-link {
  flex: 1;
  padding: 0.9rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color var(--transition);
}
.nav__mobile-page-link:hover { color: var(--text); }

.nav__mobile-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.nav__mobile-section-title svg { width: 16px; height: 16px; transition: transform 0.2s; }
.nav__mobile-section-title:hover { color: var(--blue-lt); background: rgba(255,106,47,.08); }
.nav__mobile-section.open .nav__mobile-section-title { color: var(--blue-lt); }
.nav__mobile-section.open .nav__mobile-section-title svg { transform: rotate(180deg); }

.nav__mobile-sub { display: none; padding: 0.25rem 0 0.75rem 0.5rem; }
.nav__mobile-section.open .nav__mobile-sub { display: block; }

.nav__mobile-stage-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0.5rem 0 0.25rem;
}
.nav__mobile-sublink {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav__mobile-sublink:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav__mobile-divider { border-bottom: 1px solid var(--border); margin: 0.5rem 0; }

.nav__mobile-direct {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
.nav__mobile-direct a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color var(--transition);
}
.nav__mobile-direct a:hover { color: var(--text); }
.nav__mobile-cta { margin-top: var(--sp-5); }

/* ── 8. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-lt);
  border-color: var(--blue-lt);
  box-shadow: 0 4px 20px rgba(255,69,0,0.4);
  transform: translateY(-1px);
}
.btn--teal {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn--teal:hover {
  background: var(--teal-lt);
  border-color: var(--teal-lt);
  box-shadow: var(--glow-teal);
  transform: translateY(-1px);
}
.btn--secondary {
  background: transparent;
  color: var(--blue-lt);
  border-color: rgba(255,106,47,0.4);
}
.btn--secondary:hover {
  background: rgba(255,69,0,0.1);
  border-color: var(--blue-lt);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-h);
}
.btn--sm  { padding: 0.5rem 1.1rem; font-size: 0.8rem; }
.btn--lg  { padding: 0.9rem 2rem;   font-size: 0.95rem; }

/* ── 9. Forms ─────────────────────────────────────────────── */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.form-label span { color: var(--red); margin-left: 2px; }
.form-input, .form-textarea, .form-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--blue-lt);
  box-shadow: 0 0 0 3px rgba(255,106,47,0.15);
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-select { cursor: pointer; }
.form-select option { background: var(--navy-3); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-2); }
.form-note { font-size: 0.75rem; color: var(--text-muted); }
.form-note a { color: var(--blue-lt); }
.form-success { display: none; text-align: center; padding: var(--sp-8); }
.form-success svg { width: 48px; height: 48px; color: var(--teal); margin: 0 auto var(--sp-4); }

/* ── 10. Animations ───────────────────────────────────────── */
.animate-in { opacity: 1; transform: none; }
.js-ready .animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js-ready .animate-in.visible { opacity: 1; transform: none; }
.js-ready .stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.stagger > *, .js-ready .stagger.visible > * { opacity: 1; transform: none; }
.js-ready .stagger.visible > *:nth-child(1) { transition-delay: 0.08s; }
.js-ready .stagger.visible > *:nth-child(2) { transition-delay: 0.16s; }
.js-ready .stagger.visible > *:nth-child(3) { transition-delay: 0.24s; }
.js-ready .stagger.visible > *:nth-child(4) { transition-delay: 0.32s; }
.js-ready .stagger.visible > *:nth-child(5) { transition-delay: 0.40s; }
.js-ready .stagger.visible > *:nth-child(6) { transition-delay: 0.48s; }

/* ── 11. Components — Cards ───────────────────────────────── */

/* Service card */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: var(--glow-blue);
}
.service-card__stage {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--sp-1);
}
.service-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.service-card__icon svg { width: 24px; height: 24px; display: block; flex-shrink: 0; }
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.service-card__desc { font-size: 0.875rem; color: var(--text-dim); line-height: 1.65; flex: 1; }
.service-card__link {
  font-size: 0.82rem;
  color: var(--blue-lt);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  transition: gap var(--transition);
}
.service-card:hover .service-card__link { gap: 0.5rem; }

/* Journey stage cards (homepage) */
.journey-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.journey-card:hover { border-color: var(--border-h); transform: translateY(-3px); }
.journey-card__num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  line-height: 1;
}
.journey-card__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: var(--sp-3);
}
.journey-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.02em;
}
.journey-card__desc { font-size: 0.875rem; color: var(--text-dim); line-height: 1.7; margin-bottom: var(--sp-5); }
.journey-card__services { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: var(--sp-5); }
.journey-card__services a {
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.journey-card__services a::before { content: '→'; color: var(--teal); font-size: 0.75rem; }
.journey-card__services a:hover { color: var(--text); }

/* Insight card */
.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.insight-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: var(--glow-blue);
}
.insight-card--featured { flex-direction: row; }
.insight-card--featured .insight-card__thumb { width: 42%; flex-shrink: 0; }
.insight-card__thumb {
  position: relative;
  overflow: hidden;
  background: var(--slate);
  height: 200px;
}
.insight-card--featured .insight-card__thumb { height: auto; min-height: 220px; }
.insight-card__thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,8,15,0.8));
  z-index: 1;
}
.insight-card--featured .insight-card__thumb::after {
  background: linear-gradient(90deg, transparent 50%, rgba(5,8,15,0.85));
}
.insight-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.insight-card:hover .insight-card__thumb img { transform: scale(1.04); }
.insight-card__body { padding: var(--sp-6); display: flex; flex-direction: column; flex: 1; }
.insight-card__meta { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-3); }
.insight-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}
.insight-tag--assess { background: rgba(255,69,0,.12);  color: var(--blue-lt); }
.insight-tag--build  { background: rgba(0,194,255,.12); color: var(--teal); }
.insight-tag--secure { background: rgba(220,38,38,.12);  color: #f87171; }
.insight-tag--manage { background: rgba(124,58,237,.12); color: #a78bfa; }
.insight-read-time { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }
.insight-read-time svg { width: 12px; height: 12px; }
.insight-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: var(--sp-3);
  color: var(--text);
}
.insight-card--featured .insight-card__title { font-size: 1.4rem; }
.insight-card__excerpt { font-size: 0.875rem; color: var(--text-dim); line-height: 1.7; flex: 1; margin-bottom: var(--sp-4); }
.insight-card__footer { display: flex; align-items: center; justify-content: space-between; padding-top: var(--sp-4); border-top: 1px solid var(--border); margin-top: auto; }

/* Stat card */
.stat-card { text-align: center; padding: var(--sp-6); }
.stat-card__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--blue-lt);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat-card__label { font-size: 0.875rem; color: var(--text-dim); line-height: 1.4; }

/* Differentiator card */
.diff-card {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
}
.diff-card:hover { border-color: var(--border-h); }
.diff-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.diff-card__icon svg { width: 22px; height: 22px; display: block; flex-shrink: 0; }
.diff-card__title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; }
.diff-card__desc  { font-size: 0.85rem; color: var(--text-dim); line-height: 1.65; }

/* ── 12. Components — Hero ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 var(--sp-20);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: rgba(255,69,0,0.08);
  top: -200px; left: -150px;
}
.hero__orb--2 {
  width: 500px; height: 500px;
  background: rgba(0,194,255,0.06);
  bottom: -100px; right: -100px;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
.hero__content {}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(0,194,255,0.3);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: var(--sp-5);
}
.hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-5);
}
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: var(--sp-8);
}
.hero__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-8); }
.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.hero__trust-label { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.hero__trust-badges { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.hero__trust-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}
.hero__canvas-wrap {
  position: relative;
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(15,23,41,0.4);
  border: 1px solid var(--border);
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

/* Page heroes (inner pages) */
.page-hero {
  position: relative;
  padding: 140px 0 var(--sp-16);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero__bg {
  position: absolute; inset: 0;
  background: rgba(255,69,0,0.05);
  pointer-events: none;
}
.page-hero__tag { margin-bottom: var(--sp-4); }
.page-hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: var(--sp-4);
  max-width: 720px;
}
.page-hero__sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: var(--sp-6);
}
.page-hero__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ── 13. Components — Sections ────────────────────────────── */

/* Journey section (homepage) */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

/* Services hub grid */
.services-hub-section { margin-bottom: var(--sp-12); }
.services-hub-section:last-child { margin-bottom: 0; }
.services-hub-header {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.services-hub-header__stage {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}
.services-hub-header__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}
.services-hub-header__desc { font-size: 0.875rem; color: var(--text-dim); margin-top: 0.2rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.services-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 680px; }

/* Industries strip */
.industries { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.industry-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: border-color var(--transition), color var(--transition);
}
.industry-badge:hover { border-color: var(--border-h); color: var(--text); }
.industry-badge svg { width: 16px; height: 16px; display: block; flex-shrink: 0; }

/* Credentials */
.creds-bar { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: all var(--transition);
}
.cred-badge:hover { border-color: var(--border-h); color: var(--blue-lt); }
.cred-badge svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; display: block; }

/* CTA section */
.cta-section {
  padding: var(--sp-20) 0;
  background: linear-gradient(135deg, rgba(255,69,0,0.1) 0%, rgba(0,194,255,0.06) 100%);
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-4);
}
.cta-section__sub { font-size: 1.05rem; color: var(--text-dim); margin-bottom: var(--sp-8); max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-section__actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

/* Process steps */
.process-steps { display: flex; flex-direction: column; gap: var(--sp-5); }
.process-step {
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
}
.process-step:hover { border-color: var(--border-h); }
.process-step__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-lt);
  flex-shrink: 0;
  width: 2.5rem;
  line-height: 1;
}
.process-step__title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.process-step__desc  { font-size: 0.875rem; color: var(--text-dim); line-height: 1.65; }

/* Deliverables */
.deliverables { display: flex; flex-direction: column; gap: var(--sp-3); }
.deliverable {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.deliverable svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; margin-top: 3px; display: block; }

/* Pricing card */
.pricing-card {
  background: rgba(255,69,0,0.06);
  border: 1px solid rgba(255,69,0,0.2);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
}
.pricing-card__range {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-lt);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.pricing-card__model { font-size: 0.875rem; color: var(--text-muted); margin-bottom: var(--sp-5); }
.pricing-card__includes { font-size: 0.8rem; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--sp-3); }

/* Coming soon banner */
.coming-soon-banner {
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(255,69,0,0.06));
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
  text-align: center;
}
.coming-soon-badge {
  display: inline-block;
  background: rgba(124,58,237,0.12);
  color: #a78bfa;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: var(--sp-4);
}

/* FAQ */
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}
.faq__q:hover { color: var(--blue-lt); }
.faq__q svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-muted); transition: transform 0.25s var(--ease); }
.faq__item.open .faq__q { color: var(--blue-lt); }
.faq__item.open .faq__q svg { transform: rotate(45deg); color: var(--blue-lt); }
.faq__a { display: none; padding: 0 0 var(--sp-5); }
.faq__item.open .faq__a { display: block; }
.faq__a p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.75; }

/* ── 14. Components — Service Detail ──────────────────────── */
.service-hero-img {
  height: 360px;
  position: relative;
  overflow: hidden;
  margin-top: 68px;
}
.service-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.service-hero-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,15,0.3) 0%, rgba(5,8,15,0.92) 100%);
}

/* ── 15. Components — About ───────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.team-card:hover { border-color: var(--border-h); transform: translateY(-3px); }
.team-card__photo {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--navy-3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.75;
}
.team-card__photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5,8,15,0.85));
  z-index: 1;
}
.team-card__initials {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  position: relative; z-index: 2;
}
.team-card__placeholder {
  position: absolute; bottom: 0.6rem; left: 50%; transform: translateX(-50%);
  font-size: 0.6rem; color: rgba(255,255,255,0.5);
  background: rgba(5,8,15,0.7); padding: 0.15rem 0.6rem;
  border-radius: 100px; white-space: nowrap; z-index: 3;
  backdrop-filter: blur(6px);
}
.team-card__body { padding: var(--sp-5); }
.team-card__name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.team-card__role { font-size: 0.75rem; color: var(--blue-lt); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: var(--sp-3); }
.team-card__bio  { font-size: 0.84rem; color: var(--text-dim); line-height: 1.65; }
.team-card__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: var(--sp-3); }
.team-tag {
  font-size: 0.66rem;
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  font-weight: 500;
}
.team-tag--blue   { background: rgba(255,69,0,.1);  border: 1px solid rgba(255,69,0,.2);  color: var(--blue-lt); }
.team-tag--teal   { background: rgba(0,194,255,.1); border: 1px solid rgba(0,194,255,.2); color: var(--teal); }
.team-tag--purple { background: rgba(124,58,237,.1); border: 1px solid rgba(124,58,237,.2); color: #a78bfa; }

.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.approach-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: border-color var(--transition);
}
.approach-card:hover { border-color: var(--border-h); }
.approach-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
  overflow: hidden;
}
.approach-card__icon svg { width: 22px; height: 22px; display: block; flex-shrink: 0; }
.approach-card__title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; margin-bottom: var(--sp-2); }
.approach-card__text  { font-size: 0.875rem; color: var(--text-dim); line-height: 1.65; }

/* ── 16. Components — Insights Article ───────────────────── */
.article-hero-img {
  height: 400px;
  position: relative;
  overflow: hidden;
  margin-top: 68px;
}
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,15,0.25) 0%, rgba(5,8,15,0.92) 100%);
}
.article-header { background: var(--navy); padding: var(--sp-10) 0 0; }
.article-body { background: var(--navy); padding: var(--sp-8) 0 var(--sp-16); }
.article-body p   { font-size: 0.975rem; color: var(--text-dim); line-height: 1.85; margin-bottom: var(--sp-5); }
.article-body h2  { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin: var(--sp-8) 0 var(--sp-4); letter-spacing: -0.02em; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-pullquote {
  background: rgba(255,69,0,0.06);
  border-left: 4px solid var(--blue-lt);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-5) var(--sp-6);
  margin: var(--sp-6) 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
}
.article-cta {
  background: rgba(255,69,0,0.07);
  border: 1px solid rgba(255,69,0,0.15);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  margin-top: var(--sp-8);
}
.article-cta__text h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; font-family: var(--font-display); }
.article-cta__text p  { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; }
.article-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; color: var(--text-muted);
  transition: color var(--transition);
}
.article-back:hover { color: var(--blue-lt); }
.article-back svg { width: 14px; height: 14px; display: block; }
.breadcrumb { display: flex; align-items: center; gap: var(--sp-2); font-size: 0.8rem; color: var(--text-muted); margin-bottom: var(--sp-5); }
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--blue-lt); }
.breadcrumb span { color: var(--border-h); }

/* ── 17. Components — Contact ─────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--sp-10); align-items: start; }
.contact-method { display: flex; align-items: flex-start; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.contact-method__icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: rgba(255,69,0,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-method__icon svg { width: 18px; height: 18px; color: var(--blue-lt); display: block; }
.contact-method__label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.contact-method__value { font-size: 0.9rem; color: var(--text-dim); }
.contact-method__value a { color: var(--blue-lt); }

/* ── 18. Components — Footer ──────────────────────────────── */
.footer {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  padding: var(--sp-16) 0 var(--sp-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-10);
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.02em;
}
.footer__logo em { font-style: normal; color: var(--teal-lt); }
.footer__tagline { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: var(--sp-4); }
.footer__social { display: flex; gap: var(--sp-3); }
.footer__social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: all var(--transition);
}
.footer__social-link:hover { background: rgba(255,69,0,0.15); border-color: var(--blue-lt); color: var(--blue-lt); }
.footer__social-link svg { width: 16px; height: 16px; display: block; }
.footer__col-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}
.footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__link { font-size: 0.875rem; color: var(--text-dim); transition: color var(--transition); }
.footer__link:hover { color: var(--blue-lt); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}
.footer__copy { font-size: 0.82rem; color: var(--text-muted); }
.footer__legal { display: flex; gap: var(--sp-5); }
.footer__legal a { font-size: 0.82rem; color: var(--text-muted); transition: color var(--transition); }
.footer__legal a:hover { color: var(--blue-lt); }

/* ── 19. Components — Back to Top ─────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 900;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #FF4500;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(255,69,0,0.4);
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s;
}
#back-to-top.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
#back-to-top:hover { box-shadow: 0 6px 28px rgba(255,69,0,0.6); transform: translateY(-2px) scale(1.05); }
#back-to-top svg { width: 18px; height: 18px; color: #fff; display: block; }

/* ── 20. Utilities ────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-8  { margin-bottom: var(--sp-8); }

/* Related services row */
.related-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition);
  display: block;
}
.related-card:hover { border-color: var(--border-h); transform: translateY(-2px); }
.related-card__stage { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.3rem; }
.related-card__name { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 0.3rem; }
.related-card__desc { font-size: 0.8rem; color: var(--text-dim); line-height: 1.55; }

/* Insights hub grid */
.insights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.insight-card--featured { grid-column: 1 / -1; }

/* ── 21. Responsive ───────────────────────────────────────── */
@media (max-width: 1200px) {
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  
  
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__canvas-wrap { display: none; }
  .hero { min-height: auto; padding: 120px 0 var(--sp-16); }
  .nav__links { display: none; }
  .nav__actions .btn:not(.nav__burger) { display: none; }
  .nav__burger { display: flex; }
  
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .related-services { grid-template-columns: 1fr 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .insight-card--featured { flex-direction: column; }
  .insight-card--featured .insight-card__thumb { width: 100%; height: 220px; }
}

@media (max-width: 768px) {
  .hero__title { font-size: clamp(2rem, 6vw, 2.8rem); }
  .journey-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid--2 { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .article-cta { flex-direction: column; }
  .related-services { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .cta-section__actions { flex-direction: column; align-items: center; }
  .service-hero-img { height: 240px; }
  .article-hero-img { height: 240px; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--sp-4); }
  .team-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  #back-to-top { bottom: 1rem; right: 1rem; width: 40px; height: 40px; }
  /* Keep IT Services label visible on all screen sizes */
}

/* ── WhatsApp Float Button ────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 0.7rem 1.2rem 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  max-width: 220px;
}
.whatsapp-float:hover {
  background: #20bd5a;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65);
  transform: translateY(-2px);
}
.whatsapp-float__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: block;
}
.whatsapp-float__pulse {
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border-radius: 50px;
  background: rgba(37, 211, 102, 0.25);
  animation: wa-pulse 2.5s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  70%  { transform: scale(1.08); opacity: 0; }
  100% { transform: scale(1.08); opacity: 0; }
}
@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 1rem;
    left: 1rem;
    padding: 0.65rem;
    border-radius: 50%;
    max-width: none;
  }
  .whatsapp-float__label { display: none; }
  .whatsapp-float__icon  { width: 28px; height: 28px; }
}

/* ============================================================
   LIGHT THEME OVERRIDE
   Applied when <html class="light"> — toggled by ThemeToggle class
   ============================================================ */
/* LIGHT THEME OVERRIDE */
html.light {
  --navy:      #F4F6FB;
  --navy-2:    #E8ECF5;
  --navy-3:    #D8DEF0;
  --slate:     #C8D0E8;
  --bg-card:   rgba(255,255,255,0.90);
  --border:    rgba(0,0,0,0.08);
  --border-h:  rgba(0,0,0,0.16);
  --text:      #0A0F1A;
  --text-dim:  #334155;
  --text-muted:#64748B;
  --glow-blue: 0 8px 32px rgba(255,69,0,0.15);
  --glow-teal: 0 8px 32px rgba(0,194,255,0.12);
}
html.light body               { background: var(--navy); }
html.light .nav               { background: rgba(244,246,251,0.92); border-bottom-color: rgba(0,0,0,0.08); }
html.light .nav.scrolled      { background: rgba(244,246,251,0.98); }
html.light .nav__link         { color: #475569; }
html.light .nav__link:hover,
html.light .nav__link.active  { color: var(--blue); }
html.light .nav__logo-word    { color: #0A0F1A; -webkit-text-fill-color: #0A0F1A; }
html.light .mega-menu__inner  { background: rgba(244,246,251,0.99); border-bottom-color: rgba(0,0,0,0.08); }
html.light .mega-link__name   { color: #0A0F1A; }
html.light .mega-link__sub    { color: #64748B; }
html.light .mega-link:hover   { background: rgba(0,0,0,0.04); }
html.light .mega-quick-link   { color: #475569; }
html.light .nav__mobile       { background: rgba(244,246,251,0.99); }
html.light .nav__mobile-page-link { color: #334155; }
html.light .nav__mobile-sublink   { color: #475569; }
html.light .hero__orb--1     { background: rgba(255,69,0,0.06); }
html.light .hero__orb--2     { background: rgba(255,69,0,0.04); }
html.light .section--alt     { background: var(--navy-2); }
html.light .section--dark    { background: rgba(200,208,232,0.6); }
html.light .footer           { background: #E8ECF5; border-top-color: rgba(0,0,0,0.08); }
html.light .footer__copy,
html.light .footer__legal a,
html.light .footer__tagline  { color: #64748B; }
html.light .footer__link     { color: #475569; }
html.light .footer__link:hover { color: var(--blue); }
html.light .footer__social-link { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); color: #475569; }
html.light .footer__bottom   { border-top-color: rgba(0,0,0,0.08); }
html.light .cta-section       { background: rgba(255,69,0,0.05); border-color: rgba(0,0,0,0.07); }
html.light .tech-card         { background: #fff; }
html.light .tech-filter-bar   { background: rgba(244,246,251,0.95); border-bottom-color: rgba(0,0,0,0.07); }
html.light .tech-filter-btn   { color: #475569; }
html.light .tech-filter-btn:hover { background: rgba(255,69,0,0.07); color: var(--blue); }
html.light .tech-filter-btn.active { background: var(--blue); color: #fff; }
html.light .approach-card,
html.light .diff-card,
html.light .process-step,
html.light .pricing-card,
html.light .form-card,
html.light .insight-card,
html.light .service-card,
html.light .journey-card,
html.light .related-card,
html.light .coming-soon-banner { background: rgba(255,255,255,0.9); }
html.light .hero__canvas-wrap  { background: rgba(255,69,0,0.03); border-color: rgba(0,0,0,0.08); }
html.light .faq__q             { color: #0A0F1A; }
html.light .cred-badge         { background: rgba(0,0,0,0.03); }
html.light .industry-badge     { background: rgba(255,255,255,0.8); }
html.light #back-to-top        { box-shadow: 0 4px 20px rgba(255,69,0,0.3); }
html.light .page-hero__bg      { background: rgba(255,69,0,0.04); }
html.light .form-input,
html.light .form-textarea,
html.light .form-select        { background: rgba(255,255,255,0.85); border-color: rgba(0,0,0,0.12); color: #0A0F1A; }
html.light .form-input::placeholder,
html.light .form-textarea::placeholder { color: #94A3B8; }
html.light .stat-card          { color: #0A0F1A; }
html.light .hero__trust-badge  { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); color: #475569; }
html.light .domain-acc__trigger { background: rgba(255,255,255,0.9); }
html.light .domain-acc__item.open .domain-acc__trigger { background: rgba(255,69,0,0.05); }

/* ── Theme Toggle Button ──────────────────────────────────── */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  color: var(--text-dim);
  flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(255,255,255,0.1); border-color: var(--border-h); color: var(--text); }
.theme-toggle svg   { width: 16px; height: 16px; display: block; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
html.light .theme-toggle .icon-sun  { display: block; }
html.light .theme-toggle .icon-moon { display: none; }

/* ── Technology Section ───────────────────────────────────── */
.tech-filter-bar {
  position: sticky;
  top: 68px;
  z-index: 100;
  background: rgba(5,8,15,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.tech-filter-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 var(--sp-6);
}
.tech-filter-inner::-webkit-scrollbar { display: none; }
.tech-filter-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  cursor: pointer;
  background: none;
  border-top: none; border-left: none; border-right: none;
  font-family: var(--font-body);
}
.tech-filter-btn:hover  { color: var(--text); }
.tech-filter-btn.active { color: var(--blue-lt); border-bottom-color: var(--blue-lt); }

.tech-section { padding: var(--sp-16) 0; }
.tech-section:not(:last-child) { border-bottom: 1px solid var(--border); }
.tech-section-header {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}
.tech-section-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tech-section-icon svg { width: 22px; height: 22px; display: block; }
.tech-section-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tech-section-desc { font-size: 0.875rem; color: var(--text-dim); margin-top: 0.2rem; }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.tech-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: var(--glow-blue);
}
.tech-card__logo {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  overflow: hidden;
}
.tech-card__logo svg { width: 32px; height: 32px; display: block; }
.tech-card__name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.tech-card__desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
  flex: 1;
}
.tech-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
}
.tech-card__link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-lt);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--transition);
}
.tech-card__link:hover { color: var(--teal); }
.tech-card__link svg { width: 10px; height: 10px; display: block; }

/* ── Footer Redesign ──────────────────────────────────────── */
.footer-top {
  padding: var(--sp-16) 0 var(--sp-10);
}
.footer-top__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--sp-10);
}
.footer-newsletter {
  margin-top: var(--sp-5);
}
.footer-newsletter p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-3);
}
.footer-newsletter-form {
  display: flex;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.footer-newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: none;
  padding: 0.6rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  min-width: 0;
}
.footer-newsletter-input::placeholder { color: var(--text-muted); }
.footer-newsletter-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.footer-newsletter-btn:hover { background: var(--blue-lt); }

.footer-bottom {
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--border);
}
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer-bottom__copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom__socials { display: flex; gap: var(--sp-3); align-items: center; }
.footer-bottom__legal  { display: flex; gap: var(--sp-5); }
.footer-bottom__legal a { font-size: 0.8rem; color: var(--text-muted); transition: color var(--transition); }
.footer-bottom__legal a:hover { color: var(--blue-lt); }

/* Responsive additions */
@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}
@media (max-width: 768px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .tech-grid { grid-template-columns: 1fr; }
  .footer-top__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   V16 → V17 FIXES
   ============================================================ */

/* Fix 1: services-grid--2 was missing display:grid and gap */
.services-grid--2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  max-width: none; /* remove old width constraint */
}
@media (max-width: 1024px) {
  .services-grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid--2 { grid-template-columns: 1fr; }
}

/* Fix 2: tech filter bar — centred on wide screens, scrollable on narrow */
.tech-filter-inner {
  justify-content: center;
}
@media (max-width: 900px) {
  .tech-filter-inner { justify-content: flex-start; }
}

/* Fix 3: nav z-index when mobile menu is open */
body.mobile-menu-open .nav {
  z-index: 9999;
}
/* Solid background on mobile menu — remove blur that causes stacking issues */
.nav__mobile {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgb(6, 14, 28) !important;
}
/* iOS dynamic viewport height so menu covers full screen below nav */
.nav__mobile {
  height: calc(100vh - 68px);
  height: calc(100dvh - 68px);
  overflow-y: auto;
}

/* Fix 4: Domain accordion styles */
.domain-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.domain-acc__item {
  border-bottom: 1px solid var(--border);
}
.domain-acc__item:last-child {
  border-bottom: none;
}
.domain-acc__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-6);
  background: var(--bg-card);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
  font-family: inherit;
  border: none;
}
.domain-acc__trigger:hover {
  background: rgba(255,255,255,0.04);
}
.domain-acc__item.open .domain-acc__trigger {
  background: rgba(255,69,0,0.06);
}
.domain-acc__header {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  flex: 1;
  min-width: 0;
}
.domain-acc__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.domain-acc__meta { flex: 1; min-width: 0; }
.domain-acc__tagline {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.domain-acc__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
  color: var(--text);
}
.domain-acc__desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.domain-acc__chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease), color 0.2s;
}
.domain-acc__item.open .domain-acc__chevron {
  transform: rotate(180deg);
  color: var(--blue-lt);
}
.domain-acc__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
  background: rgba(255,255,255,0.02);
}
.domain-acc__item.open .domain-acc__body {
  max-height: 800px; /* generous ceiling */
}
.domain-acc__body-inner {
  padding: 0 var(--sp-6) var(--sp-6);
  padding-left: calc(var(--sp-6) + 44px + var(--sp-4)); /* align with text */
}
.domain-acc__topics-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}
.domain-acc__topic {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.domain-acc__topic:last-child { border-bottom: none; }
.domain-acc__topic svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--teal);
  width: 13px; height: 13px; display: block;
}
.domain-acc__for {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  background: rgba(255,69,0,0.05);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.65;
}
.domain-acc__for strong { color: var(--text); }

/* Responsive: reduce accordion indent on mobile */
@media (max-width: 640px) {
  .domain-acc__trigger { padding: var(--sp-4); }
  .domain-acc__body-inner {
    padding: 0 var(--sp-4) var(--sp-4);
    padding-left: var(--sp-4);
  }
  .domain-acc__desc { display: none; } /* show only on open */
  .domain-acc__item.open .domain-acc__desc { display: block; }
}

/* General responsiveness improvements */
@media (max-width: 768px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { gap: var(--sp-3); }
  .journey-card { padding: var(--sp-6); }
  .service-card { padding: var(--sp-5); }
  .page-hero { padding: 100px 0 var(--sp-12); }
  .footer-top { padding: var(--sp-10) 0 var(--sp-8); }
  .footer-bottom__inner { gap: var(--sp-3); }
  .cta-section { padding: var(--sp-16) 0; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .insight-card--featured .insight-card__thumb { height: 180px; }
  .hero { padding: 100px 0 var(--sp-12); }
  .hero__title { font-size: 2rem; }
  .section { padding: var(--sp-16) 0; }
  .btn--lg { padding: 0.8rem 1.5rem; font-size: 0.875rem; }
  .whatsapp-float { bottom: 1rem; left: 1rem; }
  .domain-acc__icon { width: 36px; height: 36px; font-size: 1.1rem; }
}

/* ============================================================
   V18 — Signal Orange + Electric Cyan Colour System
   Space Grotesk (display) · IBM Plex Sans (body)
   ============================================================ */

/* ── Gradient text utility ────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, #E03500 0%, #FF6A2F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Orange primary button — refined glow ─────────────────── */
.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  position: relative;
}
.btn--primary::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--blue-lt);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
  z-index: -1;
}
.btn--primary:hover {
  background: var(--blue-lt);
  border-color: var(--blue-lt);
  box-shadow: 0 4px 24px rgba(255,69,0,0.45), 0 0 0 1px rgba(255,69,0,0.2);
  transform: translateY(-1px);
}

/* ── Cyan secondary button ────────────────────────────────── */
.btn--teal {
  background: var(--teal);
  color: #05080F;
  border-color: var(--teal);
  font-weight: 700;
}
.btn--teal:hover {
  background: var(--teal-lt);
  border-color: var(--teal-lt);
  box-shadow: 0 4px 20px rgba(0,194,255,0.4);
  transform: translateY(-1px);
}
.btn--secondary {
  background: transparent;
  color: var(--teal);
  border-color: rgba(0,194,255,0.35);
}
.btn--secondary:hover {
  background: rgba(0,194,255,0.08);
  border-color: var(--teal);
}

/* ── Section tag pill ─────────────────────────────────────── */
.section__tag {
  color: var(--teal);
  border-color: rgba(0,194,255,0.3);
}

/* ── Stat number — orange ─────────────────────────────────── */
.stat-card__num {
  color: var(--blue);
  -webkit-text-fill-color: var(--blue);
}

/* ── Service card hover glow — orange ─────────────────────── */
.service-card:hover {
  border-color: rgba(255,69,0,0.3);
  box-shadow: 0 8px 32px rgba(255,69,0,0.18);
}

/* ── Insight card hover ───────────────────────────────────── */
.insight-card:hover {
  border-color: rgba(0,194,255,0.25);
  box-shadow: 0 8px 32px rgba(0,194,255,0.12);
}

/* ── Journey card stage tags ──────────────────────────────── */
/* Handled via inline styles in HTML - using CSS vars */

/* ── Page hero gradient orbs — orange + cyan ──────────────── */
.hero__orb--1 {
  background: radial-gradient(circle, rgba(255,69,0,0.12) 0%, transparent 70%);
  filter: blur(60px);
}
.hero__orb--2 {
  background: radial-gradient(circle, rgba(255,69,0,0.05) 0%, transparent 70%);
  filter: blur(60px);
}

/* ── CTA section — orange-to-cyan gradient band ───────────── */
.cta-section {
  background: rgba(255,69,0,0.07);
}

/* ── Back to top — orange gradient ───────────────────────────*/
#back-to-top {
  background: #FF4500;
  box-shadow: 0 4px 20px rgba(255,69,0,0.4);
}
#back-to-top:hover {
  background: #FF6A2F;
  box-shadow: 0 6px 28px rgba(255,69,0,0.6);
}

/* ── Nav active link ──────────────────────────────────────── */
.nav__link.active { color: var(--blue) !important; }

/* ── Nav mega chevron active ──────────────────────────────── */
.nav__mega-chevron.open,
.nav__mega-chevron:hover {
  color: var(--blue);
  background: rgba(255,69,0,0.08);
}

/* ── Focus ring — cyan (more visible than orange on dark) ─── */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* ── WhatsApp button — unchanged (brand green) ────────────── */
/* (no changes — WhatsApp green is non-negotiable) */

/* ── Pricing / engagement card border ────────────────────────*/
.pricing-card {
  background: rgba(255,69,0,0.05);
  border-color: rgba(255,69,0,0.18);
}
.pricing-card__range {
  color: var(--blue);
}

/* ── Tech filter active tab ───────────────────────────────── */
.tech-filter-btn.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.tech-filter-btn:hover { color: var(--blue); }

/* ── Domain accordion open state ─────────────────────────── */
.domain-acc__item.open .domain-acc__trigger {
  background: rgba(255,69,0,0.05);
  border-left: 3px solid var(--blue);
}
.domain-acc__item.open .domain-acc__chevron { color: var(--blue); }

/* ── Article pull quote ───────────────────────────────────── */
.article-pullquote {
  border-left-color: var(--blue);
  background: rgba(255,69,0,0.05);
}

/* ── Credential badge hover ───────────────────────────────── */
.cred-badge:hover { color: var(--teal); border-color: rgba(0,194,255,0.3); }

/* ── Service link arrow ───────────────────────────────────── */
.service-card__link { color: var(--teal); }
.service-card__link:hover { color: var(--teal-lt); }

/* ── Logo word gradient — orange → cyan ──────────────────────*/
.nav__logo-word {
  color: var(--text);
  -webkit-text-fill-color: var(--text);
}
.nav__logo-word em {
  background: linear-gradient(90deg, #FF4500 0%, #FF8C5A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Mega CTA card ────────────────────────────────────────── */
.mega-cta {
  background: rgba(255,69,0,0.06);
  border-color: rgba(255,69,0,0.15);
}

/* ── Coming soon badge (Academy / Stage 5) ────────────────── */
.coming-soon-badge {
  background: rgba(255,69,0,0.12);
  color: var(--blue-lt);
}

/* ── Footer newsletter button ─────────────────────────────── */
.footer-newsletter-btn {
  background: var(--blue);
}
.footer-newsletter-btn:hover { background: var(--blue-lt); }

/* ── Deliverable check icons ──────────────────────────────── */
.deliverable svg { color: var(--teal); }
.domain-acc__topic svg { color: var(--teal); }

/* WhatsApp button — Cloudpire brand colours (v18) */
.whatsapp-float {
  background: #FF4500 !important;
  box-shadow: 0 4px 20px rgba(255,69,0,0.45) !important;
}
.whatsapp-float:hover {
  background: #FF6A2F !important;
  box-shadow: 0 6px 28px rgba(255,69,0,0.65) !important;
}
.whatsapp-float__pulse {
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border-radius: 50px;
  background: rgba(255,69,0,0.22) !important;
  animation: wa-pulse 2.5s ease-out infinite;
  pointer-events: none;
}

/* ============================================================
   V21 FIXES
   1. Equal-size WhatsApp + back-to-top buttons
   2. Mobile menu light/dark theme fix
   3. Mobile menu mini footer styles
   ============================================================ */

/* ── 1. Button size parity ────────────────────────────────────
   Back-to-top: 46×46px circle (unchanged)
   WhatsApp desktop: pill, explicit 46px height to match
   Both mobile: 44×44px circles at same corners             */

/* Force WhatsApp height to match back-to-top on desktop */
.whatsapp-float {
  height: 46px;
  padding: 0 1.2rem 0 0.9rem;
  align-items: center;
}

/* Mobile: identical 44×44 circles */
@media (max-width: 480px) {
  .whatsapp-float {
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    max-width: 44px !important;
    justify-content: center;
    bottom: 1rem;
    left: 1rem;
  }
  .whatsapp-float__label { display: none !important; }
  .whatsapp-float__icon  { width: 24px; height: 24px; }

  #back-to-top {
    width: 44px;
    height: 44px;
    bottom: 1rem;
    right: 1rem;
  }
}

/* ── 2. Mobile menu — full light/dark theme support ───────────
   The base rule uses !important on background; this overrides  */
html.light .nav__mobile {
  background: rgba(244,246,251,0.99) !important;
  border-top: 1px solid rgba(0,0,0,0.08);
}
html.light .nav__mobile-section {
  border-bottom-color: rgba(0,0,0,0.08) !important;
}
html.light .nav__mobile-page-link { color: #1E293B; }
html.light .nav__mobile-page-link:hover { color: var(--blue); }
html.light .nav__mobile-stage-label { color: var(--teal); }
html.light .nav__mobile-sublink { color: #475569; }
html.light .nav__mobile-sublink:hover {
  color: var(--blue) !important;
  background: rgba(255,69,0,0.05) !important;
}
html.light .nav__mobile-section-title { color: #64748B; }
html.light .nav__mobile-section-title:hover {
  color: var(--blue);
  background: rgba(255,69,0,0.06) !important;
}
html.light .nav__mobile-direct { border-bottom-color: rgba(0,0,0,0.08); }
html.light .nav__mobile-direct a { color: #1E293B; }
html.light .nav__mobile-direct a:hover { color: var(--blue); }

/* ── 3. Mobile menu — mini footer ────────────────────────────  */
.nav__mobile-footer {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
}
.nav__mobile-footer-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: var(--sp-4);
  font-style: italic;
}
.nav__mobile-footer-socials {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.nav__mobile-footer-socials .footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all var(--transition);
}
.nav__mobile-footer-socials .footer__social-link:hover {
  background: rgba(255,69,0,0.1);
  border-color: rgba(255,69,0,0.3);
  color: var(--blue);
}
.nav__mobile-footer-socials .footer__social-link svg {
  width: 16px; height: 16px; display: block;
}
.nav__mobile-footer-legal {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.nav__mobile-footer-legal a {
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav__mobile-footer-legal a:hover { color: var(--text-dim); }

/* Light mode mobile footer */
html.light .nav__mobile-footer { border-top-color: rgba(0,0,0,0.08); }
html.light .nav__mobile-footer-socials .footer__social-link {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
  color: #475569;
}
html.light .nav__mobile-footer-socials .footer__social-link:hover {
  background: rgba(255,69,0,0.08);
  border-color: rgba(255,69,0,0.25);
  color: var(--blue);
}
html.light .nav__mobile-footer-legal a { color: #94A3B8; }
html.light .nav__mobile-footer-legal a:hover { color: #64748B; }
