/* ============================================================
   TERRACIS TECHNOLOGIES LIMITED — MASTER STYLESHEET
   Design System: Enterprise Intelligence
   ============================================================ */

/* ── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');

/* ── DESIGN TOKENS ───────────────────────────────────────── */
:root {
  /* Brand Colors — TerraCIS palette (extracted from actual logo) */
  --navy:          #2B3A4A;   /* dark slate — logo icon bg   */
  --navy-mid:      #374B5F;
  --navy-light:    #4A6277;
  --accent:        #CC1B1B;   /* red parcel highlight        */
  --accent-hover:  #A81515;
  --accent-glow:   rgba(204, 27, 27, 0.16);
  --teal:          #5A7FA5;   /* steel blue — secondary      */
  --teal-light:    rgba(90, 127, 165, 0.12);
  --amber:         #F59E0B;

  /* Neutrals */
  --white:         #FFFFFF;
  --light:         #F4F7FB;
  --light-border:  #E2E8F0;
  --muted:         #6B7FA3;   /* WCAG AA compliant on light bg */
  --text:          #1E293B;
  --text-secondary:#475569;

  /* Typography */
  --font-display:  'Manrope', 'Inter', sans-serif;
  --font-body:     'Inter', sans-serif;

  /* Spacing */
  --section-py:    7rem;
  --container:     1280px;
  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     32px;

  /* Shadows */
  --shadow-sm:     0 1px 3px rgba(10,22,40,0.08), 0 1px 2px rgba(10,22,40,0.04);
  --shadow:        0 4px 24px rgba(10,22,40,0.10);
  --shadow-lg:     0 12px 48px rgba(10,22,40,0.14);
  --shadow-accent: 0 8px 32px rgba(204,27,27,0.22);

  /* Transitions */
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --duration:      0.3s;
}

/* ── SKIP NAVIGATION (WCAG 2.4.1) ───────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; outline: 3px solid var(--accent); outline-offset: 2px; }

/* ── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── TYPOGRAPHY SCALE ────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1, .h1 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.2; }
h2, .h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.5vw, 2.25rem); font-weight: 700; line-height: 1.25; }
h3, .h3 { font-family: var(--font-display); font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 600; line-height: 1.35; }
h4, .h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.body-lg { font-size: 1.125rem; line-height: 1.75; }
.body-md { font-size: 1rem; line-height: 1.7; }
.body-sm { font-size: 0.875rem; line-height: 1.6; }
.label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* ── LAYOUT UTILITIES ────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 2rem; }
.section { padding: var(--section-py) 0; }
.section-sm { padding: 4rem 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-accent { color: var(--accent); }
.text-teal { color: var(--teal); }
.text-muted { color: var(--muted); }
.text-secondary { color: var(--text-secondary); }
.bg-navy { background: var(--navy); }
.bg-light { background: var(--light); }
.bg-white { background: var(--white); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* ── COMPONENTS ──────────────────────────────────────────── */

/* Pill / Label */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pill-accent { background: var(--accent-glow); color: var(--accent); }
.pill-teal { background: var(--teal-light); color: var(--teal); }
.pill-white { background: rgba(255,255,255,0.12); color: var(--white); }
.pill-navy { background: var(--navy); color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(29,111,242,0.35);
}
.btn-outline {
  border: 1.5px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-outline-accent {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--white);
}
.btn-ghost {
  color: var(--accent);
  padding: 0.85rem 0;
  font-weight: 600;
}
.btn-ghost:hover { gap: 0.75rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.875rem; }

/* Arrow icon in buttons */
.btn-arrow::after {
  content: '→';
  transition: transform var(--duration) var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
  padding: 2rem;
  transition: all var(--duration) var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}
.card-navy {
  background: var(--navy-mid);
  border-color: rgba(255,255,255,0.08);
  color: var(--white);
}
.card-accent-border { border-left: 4px solid var(--accent); }
.card-teal-border { border-left: 4px solid var(--teal); }

/* Section Header */
.section-header { margin-bottom: 4rem; }
.section-header.center { text-align: center; }
.section-header .pill { margin-bottom: 1rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-secondary); max-width: 640px; font-size: 1.05rem; line-height: 1.7; }
.section-header.center p { margin: 0 auto; }

/* Divider */
.divider { width: 60px; height: 4px; background: var(--accent); border-radius: 2px; margin: 1.25rem 0; }
.divider-center { margin: 1.25rem auto; }
.divider-teal { background: var(--teal); }

/* Icon Box */
.icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  box-shadow: 0 4px 14px rgba(43,58,74,0.22);
}
.icon-box-accent { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); }
.icon-box-teal   { background: linear-gradient(135deg, var(--navy-mid) 0%, #3A6080 100%); }
.icon-box-navy   { background: linear-gradient(135deg, #1A2A38 0%, var(--navy) 100%); }
.icon-box-lg { width: 72px; height: 72px; font-size: 2rem; border-radius: var(--radius-lg); }

/* Stat Block */
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 0.4rem;
}

/* Tag */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--light);
  color: var(--text-secondary);
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--light-border);
  box-shadow: 0 1px 12px rgba(10,22,40,0.07);
  transition: all var(--duration) var(--ease);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  max-width: var(--container);
  margin: 0 auto;
}
.nav.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(10,22,40,0.10);
}
.nav.scrolled .nav-inner { padding: 0.5rem 2rem; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 72px;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
  transform: rotate(0deg);
  vertical-align: middle;
  image-rendering: -webkit-optimize-contrast;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  position: relative;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-link:hover { color: var(--navy); background: var(--light); }
.nav-link.active { color: var(--navy); font-weight: 600; }
.nav-link .chevron { font-size: 0.65rem; transition: transform var(--duration) var(--ease); }
.nav-link:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-border);
  padding: 1rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s var(--ease);
  transform: translateX(-50%) translateY(-8px);
  pointer-events: none;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.nav-item { position: relative; }
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all 0.15s var(--ease);
}
.nav-dropdown a:hover { background: var(--light); color: var(--accent); }
.nav-dropdown a .dd-icon { font-size: 1rem; width: 1.5rem; text-align: center; color: var(--accent); }
.nav-dropdown-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.5rem 0.75rem 0.25rem;
}
.nav-dropdown-divider { height: 1px; background: var(--light-border); margin: 0.5rem 0; }

/* Mega dropdown for Solutions */
.nav-mega {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-border);
  padding: 1.5rem;
  min-width: 680px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s var(--ease);
  transform: translateX(-50%) translateY(-8px);
  pointer-events: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.nav-item:hover .nav-mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.nav-mega a {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  color: var(--text);
  border-radius: var(--radius);
  transition: all 0.15s var(--ease);
}
.nav-mega a:hover { background: var(--light); }
.nav-mega-icon { font-size: 1.25rem; margin-top: 0.1rem; flex-shrink: 0; }
.nav-mega-title { font-weight: 600; color: var(--text); margin-bottom: 0.2rem; }
.nav-mega-desc { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.4; }

.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-contact {
  padding: 0.55rem 1.25rem;
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--duration) var(--ease);
}
.nav-contact:hover { border-color: var(--navy); background: var(--light); }
.nav-cta-btn {
  padding: 0.55rem 1.4rem;
  background: var(--accent);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--duration) var(--ease);
}
.nav-cta-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  overflow-y: auto;
}
.nav-mobile.open { display: flex; flex-direction: column; gap: 0.5rem; }
.nav-mobile a {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-mobile-section { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 1rem 1rem 0.5rem; margin-top: 0.5rem; }

/* ── HERO SECTION ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(29,111,242,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 70%, rgba(0,194,168,0.12) 0%, transparent 70%),
    linear-gradient(160deg, #2B3A4A 0%, #1D2B3A 45%, #2B3A4A 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,111,242,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,111,242,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 5rem;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-left { }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  background: rgba(29,111,242,0.12);
  border: 1px solid rgba(29,111,242,0.25);
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
.hero-eyebrow span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 1.75rem;
}
.hero-headline .accent-word {
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.hero-badge::before {
  content: '✓';
  width: 18px; height: 18px;
  background: rgba(0,194,168,0.2);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 18px;
  text-align: center;
}

/* Hero right — visual platform card */
.hero-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero-visual {
  width: 100%;
  max-width: 520px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  backdrop-filter: blur(12px);
  position: relative;
}
.hero-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.hero-visual-title { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 0.9rem; }
.hero-visual-subtitle { font-size: 0.75rem; color: var(--muted); margin-top: 0.15rem; }
.hero-live-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: rgba(0,194,168,0.15);
  border: 1px solid rgba(0,194,168,0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-live-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}
.hero-metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.hero-metric-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1rem;
}
.hero-metric-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero-metric-value .unit { font-size: 1.1rem; color: var(--accent); }
.hero-metric-label { font-size: 0.72rem; color: var(--muted); font-weight: 500; }
.hero-metric-change {
  font-size: 0.7rem;
  color: var(--teal);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.35rem;
}
.hero-chart-bar {
  margin-bottom: 1.25rem;
}
.hero-chart-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.4rem;
}
.hero-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}
.hero-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transition: width 2s var(--ease);
}
.hero-visual-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-visual-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
}
.hero-visual-info { flex: 1; }
.hero-visual-name { font-size: 0.82rem; font-weight: 600; color: var(--white); }
.hero-visual-role { font-size: 0.72rem; color: var(--muted); }

/* ── STATS BAR ───────────────────────────────────────────── */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem 0;
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-item .stat-number { color: var(--white); }
.stat-item .stat-number .stat-accent { color: var(--accent); }
.stat-item .stat-label { color: rgba(255,255,255,0.5); margin-top: 0.35rem; font-size: 0.82rem; }

/* ── CAPABILITIES SECTION ────────────────────────────────── */
.capabilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cap-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.cap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}
.cap-card:hover::before { opacity: 1; }
.cap-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}
.cap-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.cap-icon { flex-shrink: 0; }
.cap-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 0; color: var(--text); line-height: 1.3; }
.cap-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }
.cap-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.cap-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  background: var(--light);
  color: var(--text-secondary);
}

/* ── GROUP STORY / ABOUT PREVIEW ─────────────────────────── */
.group-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.group-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(29,111,242,0.12), transparent 70%);
}
.group-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.group-left .pill { margin-bottom: 1.25rem; }
.group-left h2 { color: var(--white); margin-bottom: 1.25rem; }
.group-left p { color: rgba(255,255,255,0.65); font-size: 1rem; line-height: 1.75; margin-bottom: 1rem; }
.group-left p:last-of-type { margin-bottom: 2rem; }

.group-right { display: flex; flex-direction: column; gap: 1rem; }
.group-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all var(--duration) var(--ease);
}
.group-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(29,111,242,0.3);
}
.group-card-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.group-card-title { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1rem; margin-bottom: 0.35rem; }
.group-card-desc { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ── SOLUTIONS SECTION ───────────────────────────────────── */
.solutions-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.sol-tab {
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--light);
  border: 1px solid var(--light-border);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.sol-tab:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-glow); }
.sol-tab.active { color: var(--white); background: var(--accent); border-color: var(--accent); }

.solution-panel { display: none; }
.solution-panel.active { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.sol-content .pill { margin-bottom: 1rem; }
.sol-content h3 { font-size: 1.75rem; margin-bottom: 1rem; color: var(--text); }
.sol-content p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.5rem; }
.sol-capabilities { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.sol-cap-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}
.sol-cap-item::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.sol-outcomes { display: flex; flex-direction: column; gap: 1rem; }
.sol-outcome {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--light);
  border-radius: var(--radius);
}
.sol-outcome-icon { font-size: 1.25rem; flex-shrink: 0; }
.sol-outcome-title { font-weight: 600; font-size: 0.9rem; color: var(--text); margin-bottom: 0.2rem; }
.sol-outcome-desc { font-size: 0.82rem; color: var(--text-secondary); }

/* Solution visual card */
.sol-visual {
  background: var(--light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: sticky;
  top: 5rem;
}
.sol-visual-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.sol-visual-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.sol-visual-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text); }
.sol-visual-subtitle { font-size: 0.8rem; color: var(--text-secondary); }
.sol-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sol-metric {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.sol-metric-value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.sol-metric-label { font-size: 0.75rem; color: var(--text-secondary); margin-top: 0.25rem; }

/* ── INDUSTRIES SECTION ──────────────────────────────────── */
.industries-section { background: var(--navy); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.industry-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.industry-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29,111,242,0.15), rgba(0,194,168,0.08));
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
  border-radius: var(--radius-lg);
}
.industry-card:hover { border-color: rgba(29,111,242,0.35); transform: translateY(-4px); }
.industry-card:hover::after { opacity: 1; }
.industry-icon { font-size: 2.25rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.industry-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.6rem; position: relative; z-index: 1; }
.industry-desc { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 1rem; position: relative; z-index: 1; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; position: relative; z-index: 1; }
.industry-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
}

/* ── CASE STUDIES ────────────────────────────────────────── */
.case-studies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cs-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
}
.cs-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}
.cs-card-img {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.cs-card-img .cs-tech-overlay { z-index: 1; }
.cs-card-img .cs-card-tag { position: relative; z-index: 2; }
.cs-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.cs-region {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.cs-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 0.6rem; line-height: 1.4; }
.cs-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 1.25rem; flex: 1; }
.cs-impact { display: flex; gap: 1.25rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.cs-impact-item .value { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--text); }
.cs-impact-item .cs-label { font-size: 0.72rem; color: var(--text-secondary); }
.cs-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--duration) var(--ease);
}
.cs-link:hover { gap: 0.65rem; }

/* ── CASE STUDY IMPACT PHOTOS ────────────────────────────── */
.cs-impact-photo-wrap {
  margin-top: 2.25rem;
}
.cs-impact-photo-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cs-impact-photo-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.cs-impact-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.cs-impact-photo-grid.single { grid-template-columns: 1fr; }
.cs-impact-photo {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--light-border);
}
.cs-impact-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.cs-impact-photo-grid.single img { height: 280px; }
.cs-impact-photo:hover img { transform: scale(1.04); }
.cs-impact-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.65rem 0.9rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, transparent 100%);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  line-height: 1.4;
}

/* ── CMMI L5 BADGE ───────────────────────────────────────── */
.cmmi-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #1A2533 0%, #2B3A4A 100%);
  border: 1px solid rgba(204,27,27,0.35);
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cmmi-badge-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* CS card color themes */
.cs-img-1 {
  background:
    url('https://images.unsplash.com/photo-1560493676-04071c5f467b?w=1200&q=85&fit=crop&crop=center') center/cover no-repeat;
}
/* Smart City / ICCC — city skyline at night */
.cs-img-2 {
  background:
    linear-gradient(160deg, rgba(5,25,15,0.50) 0%, rgba(5,20,10,0.70) 100%),
    url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=1000&q=80&fit=crop') center/cover no-repeat;
}
/* Citizen Services — people using digital services */
.cs-img-3 {
  background:
    linear-gradient(160deg, rgba(25,10,55,0.52) 0%, rgba(15,5,35,0.70) 100%),
    url('https://images.unsplash.com/photo-1531482615713-2afd69097998?w=1000&q=80&fit=crop') center/cover no-repeat;
}
/* Utilities / Water — water infrastructure */
.cs-img-4 {
  background:
    linear-gradient(160deg, rgba(25,20,5,0.50) 0%, rgba(15,12,0,0.70) 100%),
    url('https://images.unsplash.com/photo-1504711331083-9c895941bf81?w=1000&q=80&fit=crop') center/cover no-repeat;
}
/* Urban Data Platform — aerial city / data analytics */
.cs-img-5 {
  background:
    linear-gradient(160deg, rgba(8,30,45,0.52) 0%, rgba(5,20,35,0.70) 100%),
    url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1000&q=80&fit=crop') center/cover no-repeat;
}
.cs-card-tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── INSIGHTS SECTION ────────────────────────────────────── */
.insights-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1.5rem; }
.insight-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}
.insight-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.insight-img {
  height: 180px;
  background: var(--light);
  position: relative;
}
.insight-img.featured { height: 240px; }
.insight-img-1 { background: linear-gradient(135deg, #1A2533, #CC1B1B); }
.insight-img-2 { background: linear-gradient(135deg, #1A2533, #5A7FA5); }
.insight-img-3 { background: linear-gradient(135deg, #1A0B3D, #7C3AED); }
.insight-body { padding: 1.25rem; }
.insight-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.65rem; }
.insight-cat { font-size: 0.72rem; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.insight-date { font-size: 0.75rem; color: var(--muted); }
.insight-title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--text); line-height: 1.4; margin-bottom: 0.5rem; }
.insight-title.lg { font-size: 1.15rem; }
.insight-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.insight-read { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; font-weight: 600; color: var(--accent); margin-top: 0.85rem; }

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #0A4DB8 50%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,194,168,0.15), transparent 70%);
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-inner p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-sub { margin-top: 1.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ── PARTNERS / LOGOS BAR ────────────────────────────────── */
.partners-section { padding: 3rem 0; border-top: 1px solid var(--light-border); border-bottom: 1px solid var(--light-border); }
.partners-label { text-align: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2rem; }
.partners-logos { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.partner-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: -0.02em;
  opacity: 0.65;
  transition: opacity var(--duration) var(--ease);
}
.partner-logo:hover { opacity: 1; }

/* ── QUANTELA BAND ───────────────────────────────────────── */
.quantela-band {
  background: linear-gradient(135deg, #2B3A4A 0%, #1D2B3A 100%);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.quantela-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.quantela-inner strong { color: var(--teal); font-weight: 700; }
.quantela-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.2); }

/* ── FOOTER ──────────────────────────────────────────────── */
/* ── FOOTER — light body, dark bottom bar ─────────────── */
.footer {
  background: var(--light);
  padding: 5rem 0 0;
  border-top: 1px solid var(--light-border);
}
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }

/* Brand column — logo on light bg, no hacks needed */
.footer-brand .footer-logo { margin-bottom: 1.25rem; }
.footer-brand .footer-logo a { display: inline-flex; align-items: center; }
.footer-brand .footer-logo .nav-logo-img { height: 52px; filter: none; opacity: 1; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 260px; margin-bottom: 1.5rem; color: var(--text-secondary); }

/* Social buttons */
.footer-socials { display: flex; gap: 0.75rem; }
.footer-social {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--duration) var(--ease);
  color: var(--white);
}
.footer-social:hover { background: var(--accent); color: var(--white); }

/* Nav columns */
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.875rem; color: var(--text-secondary); transition: color var(--duration) var(--ease); }
.footer-links a:hover { color: var(--accent); }

/* Dark bottom bar */
.footer-bottom {
  background: var(--navy);
  padding: 1.5rem 0;
  margin-top: 1rem;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom-left { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-bottom-right { display: flex; gap: 1.5rem; }
.footer-bottom-right a { font-size: 0.82rem; color: rgba(255,255,255,0.45); transition: color var(--duration) var(--ease); }
.footer-bottom-right a:hover { color: var(--white); }

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(29,111,242,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(0,194,168,0.1) 0%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .pill { margin-bottom: 1.25rem; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.1rem; max-width: 600px; line-height: 1.7; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.4); margin-bottom: 1.5rem; }
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--duration) var(--ease); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { font-size: 0.7rem; }

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--teal));
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -2.375rem;
  top: 0.25rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.timeline-year { font-size: 0.78rem; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 0.3rem; text-transform: uppercase; }
.timeline-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 0.4rem; }
.timeline-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

.vision-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.vm-card {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.vm-card-vision { background: var(--navy); }
.vm-card-mission { background: linear-gradient(135deg, #0F2A40, #0A3D2B); }
.vm-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent);
}
.vm-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.vm-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.vm-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.vm-card p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value-card {
  padding: 1.75rem;
  background: var(--light);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--duration) var(--ease);
}
.value-card:hover { background: var(--white); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.value-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.value-title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--text); margin-bottom: 0.4rem; }
.value-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }

/* Leadership styles removed — section no longer used */

/* ── SOLUTIONS PAGE ──────────────────────────────────────── */
.sol-grid-full { display: grid; grid-template-columns: 1fr; gap: 4rem; }
.sol-full-item { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.sol-full-item:nth-child(even) .sol-full-content { order: 2; }
.sol-full-item:nth-child(even) .sol-full-visual { order: 1; }
.sol-full-content .pill { margin-bottom: 1rem; }
.sol-full-content h2 { margin-bottom: 1rem; color: var(--text); }
.sol-full-content .lead { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.5rem; }
.sol-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin-bottom: 2rem; }
.sol-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.sol-feature-item .check {
  width: 20px; height: 20px;
  background: var(--accent-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}
.sol-full-visual {
  background: var(--light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: sticky;
  top: 5rem;
}

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-info-title { font-weight: 700; font-size: 0.9rem; color: var(--text); margin-bottom: 0.25rem; }
.contact-info-val { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }
.contact-offices { margin-top: 2rem; }
.contact-offices h4 { font-family: var(--font-display); font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.office-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.office-chip {
  padding: 0.4rem 1rem;
  background: var(--light);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--light-border);
}

.contact-form { background: var(--white); border: 1px solid var(--light-border); border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow); }
.contact-form h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--text); }
.contact-form p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.form-input, .form-select, .form-textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: all var(--duration) var(--ease);
  outline: none;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: all var(--duration) var(--ease);
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-accent); }

/* ── CAREERS PAGE ────────────────────────────────────────── */
.careers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.job-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--duration) var(--ease);
}
.job-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent); transform: translateY(-3px); }
.job-dept { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.job-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text); margin-bottom: 0.4rem; }
.job-location { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.35rem; }
.job-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.job-tag {
  padding: 0.2rem 0.65rem;
  background: var(--light);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.job-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 1rem; }
.job-apply { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; font-weight: 600; color: var(--accent); }
.job-apply:hover { gap: 0.65rem; }

/* ── INSIGHTS PAGE ───────────────────────────────────────── */
.insights-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.insight-full-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}
.insight-full-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.insight-full-img { height: 200px; }
.insight-full-body { padding: 1.5rem; }

/* ── ANIMATIONS & SCROLL FX ──────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }
.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.scale-in.visible { opacity: 1; transform: scale(1); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .stats-bar-inner { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 0; }
  .stat-item:nth-child(3) { border-right: none; }
}

@media (max-width: 900px) {
  :root { --section-py: 4.5rem; }
  .grid-3, .capabilities-grid, .case-studies-grid, .industries-grid, .careers-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .hero-inner, .group-inner, .about-story, .sol-full-item, .contact-grid, .solution-panel.active { grid-template-columns: 1fr; gap: 2.5rem; }
  .sol-full-item:nth-child(even) .sol-full-content,
  .sol-full-item:nth-child(even) .sol-full-visual { order: unset; }
  .vision-mission-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mega { min-width: 90vw; }
  .sol-feature-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  :root { --section-py: 3.5rem; }
  .container { padding: 0 1.25rem; }
  .grid-3, .capabilities-grid, .case-studies-grid, .industries-grid, .careers-grid,
  .values-grid, .insights-full-grid { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(5) { border-right: none; }
  .footer-main { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2.6rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
  .solutions-tabs { gap: 0.4rem; }
  .sol-tab { font-size: 0.8rem; padding: 0.5rem 0.9rem; }
}

/* ── SCROLL INDICATOR ────────────────────────────────────── */
.scroll-indicator {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── BACK TO TOP ─────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration) var(--ease);
  z-index: 100;
  box-shadow: var(--shadow-accent);
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); background: var(--accent-hover); }

/* ── COOKIE NOTICE ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 2rem;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-text { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-accept {
  padding: 0.5rem 1.25rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.cookie-accept:hover { background: var(--accent-hover); }
.cookie-decline { font-size: 0.82rem; color: rgba(255,255,255,0.45); cursor: pointer; padding: 0.5rem; }
.cookie-decline:hover { color: var(--white); }

/* Tech network overlay for case study image */
.cs-tech-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.cs-full-img-content { position: relative; z-index: 2; }
