/* ============================================================
   HAPPIEST MINDS — Global Stylesheet
   Design: Enterprise AI-First, inspired by happiestminds.com
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  --navy:        #0B1E3D;
  --navy-light:  #152d55;
  --navy-dark:   #060F20;
  --green:       #00C389;
  --green-dark:  #00A872;
  --green-glow:  rgba(0, 195, 137, 0.15);
  --orange:      #FF6B2B;
  --orange-dark: #e05a20;
  --white:       #FFFFFF;
  --off-white:   #F8FAFB;
  --light-gray:  #F1F4F8;
  --border:      #E2E8F0;
  --text:        #1A1A2E;
  --text-muted:  #64748B;
  --text-light:  #94A3B8;

  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(11, 30, 61, 0.08);
  --shadow-md:   0 8px 40px rgba(11, 30, 61, 0.12);
  --shadow-lg:   0 16px 64px rgba(11, 30, 61, 0.18);
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, textarea, select { font-family: var(--font); }

/* ── Utilities ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }
.text-green  { color: var(--green); }
.text-orange { color: var(--orange); }
.text-muted  { color: var(--text-muted); }
.bg-navy     { background: var(--navy); color: var(--white); }
.bg-dark     { background: var(--navy-dark); color: var(--white); }
.bg-light    { background: var(--off-white); }
.bg-white    { background: var(--white); }

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal-left.visible, .reveal-right.visible { transform: translateX(0); opacity: 1; }

/* ── Section Labels ── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

/* ── Headings ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-title span { color: var(--green); }
.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}
.bg-navy .section-title,
.bg-dark .section-title { color: var(--white); }
.bg-navy .section-subtitle,
.bg-dark .section-subtitle { color: rgba(255,255,255,0.65); }
.bg-navy .label,
.bg-dark .label { color: var(--green); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--navy-dark);
}
.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 8px 24px rgba(0, 195, 137, 0.35);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}
.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover {
  background: var(--orange-dark);
  box-shadow: 0 8px 24px rgba(255,107,43,0.35);
  transform: translateY(-2px);
}
.btn svg { transition: transform var(--transition); }
.btn:hover svg { transform: translateX(4px); }

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(11, 30, 61, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 32px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.nav-logo .logo-mark {
  width: 36px; height: 36px;
  background: var(--green);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; color: var(--navy-dark);
}
.nav-logo .logo-text span { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: left var(--transition), right var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { left: 16px; right: 16px; }

.nav-cta { margin-left: 8px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--navy-dark);
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 999;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--green); }
.nav-mobile .btn { margin-top: 20px; width: 100%; justify-content: center; }

/* ══════════════════════════════════════════
   HERO — HOME
══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,195,137,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,195,137,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,195,137,0.18), transparent 70%);
  top: -150px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,107,43,0.12), transparent 70%);
  bottom: -100px; left: -80px;
}
/* Full-width hero — override container for hero only */
.hero .container {
  max-width: 1560px;
  padding: 0 80px;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 72px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;  /* visual gets ~56% of width */
  gap: 60px;
  align-items: start;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,195,137,0.12);
  border: 1px solid rgba(0,195,137,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}
.hero-title {
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.02;
  letter-spacing: -2.5px;
  margin-bottom: 0;
}
.hero-title .accent { color: var(--green); }
.hero-title .accent-orange { color: var(--orange); }

/* ══ CAPABILITY SHOWCASE — Fixed height, zero layout shift ══ */
.hero-cap {
  margin: 28px 0 32px;
  flex-shrink: 0;
}

/* Label row */
.hero-cap-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-cap-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
}

/* The animated word display — fixed height, prominent */
.hero-cap-word {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,195,137,0.1);
  border: 2px solid rgba(0,195,137,0.45);
  border-radius: 14px;
  padding: 14px 28px;
  min-width: 260px;          /* stable width — no layout shift */
  height: 64px;
  position: relative;
  box-shadow: 0 0 40px rgba(0,195,137,0.08), inset 0 1px 0 rgba(0,195,137,0.15);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.hero-cap-word:hover {
  border-color: rgba(0,195,137,0.7);
  box-shadow: 0 0 48px rgba(0,195,137,0.15);
}

/* Green pulsing dot */
.hero-cap-dot {
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2s infinite;
}

/* The typed word itself */
.hero-cap-word .hero-typing {
  font-size: 28px;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -0.8px;
  line-height: 1;
}

/* Blinking cursor — pure CSS, zero DOM mutation */
.hero-cap-word .hero-typing::after {
  content: '|';
  color: rgba(0,195,137,0.6);
  font-weight: 200;
  margin-left: 3px;
  animation: blink-cur 1s step-end infinite;
}
@keyframes blink-cur {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Chip strip ── */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hchip {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 13px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  transition: var(--transition);
}
.hchip:hover {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
}
.hchip-green {
  background: rgba(0,195,137,0.1);
  border-color: rgba(0,195,137,0.25);
  color: var(--green);
}

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.62);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-item .stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat-item .stat-num span { color: var(--green); }
.hero-stat-item .stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}
.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 640px;   /* wider than before */
}

/* ── 3-image AI Mosaic ── */
/* ── HERO MOSAIC — explicit height, bulletproof cross-browser ── */
.hero-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 500px;   /* ← explicit row height: the ONLY height source */
  gap: 10px;
  width: 100%;
}

/* Main left image — fills the full grid row height */
.hm-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 500px;
}
.hm-main img {
  width: 100%;
  height: 100%;    /* fills .hm-main exactly */
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.hm-main:hover img { transform: scale(1.03); }

/* Right column — same height as main, split into 2 equal rows */
.hm-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 500px;   /* matches .hm-main height */
}
.hm-sub {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  flex: 1;         /* each sub takes exactly half */
  min-height: 0;
}
.hm-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.hm-sub:hover img { transform: scale(1.05); }

/* Dark gradient overlay on each image */
.hm-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(6,15,32,0.06) 0%, rgba(6,15,32,0.55) 100%);
  pointer-events: none;
}

/* Small label badge on sub-images */
.hm-label {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  background: rgba(6,15,32,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 100px;
  pointer-events: none;
}

/* Hero image */
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
}
.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(6,15,32,0.1) 0%, transparent 50%, rgba(6,15,32,0.5) 100%);
  pointer-events: none;
}
.hero-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;   /* ← fixed ratio: no height changes ever */
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-img-badge {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(6,15,32,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,195,137,0.3);
  border-radius: 100px;
  padding: 6px 14px 6px 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.hero-img-badge .pulse-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Mini dashboard below image */
.hero-dash {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.hero-dash-item {
  text-align: center;
  padding: 4px 8px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.hero-dash-item:last-child { border-right: none; }
.hero-dash-item .d-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-dash-item .d-num span { color: var(--green); }
.hero-dash-item .d-label {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.hero-main-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.hmc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hmc-icon {
  width: 44px; height: 44px;
  background: var(--green);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.hmc-title { font-size: 16px; font-weight: 700; color: var(--white); }
.hmc-subtitle { font-size: 12px; color: rgba(255,255,255,0.5); }
.hmc-agents {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hmc-agent {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.hmc-agent-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-green  { background: var(--green);  box-shadow: 0 0 8px var(--green); }
.dot-orange { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.dot-blue   { background: #4F8EF7;       box-shadow: 0 0 8px #4F8EF7; }
.hmc-agent-name { font-size: 13px; font-weight: 600; color: var(--white); flex: 1; }
.hmc-agent-status {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
}
.status-active   { background: rgba(0,195,137,0.15); color: var(--green); }
.status-queued   { background: rgba(255,107,43,0.15); color: var(--orange); }
.status-standby  { background: rgba(79,142,247,0.15); color: #4F8EF7; }

/* ── Float Cards — positioned on hero-card-stack (overflow:visible) ── */
.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(11, 30, 61, 0.82);  /* dark navy, readable on any bg */
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  padding: 14px 18px;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  z-index: 10;
}
.hero-float-card-1 {
  bottom: 76px;     /* above the stats dashboard */
  left: -14px;
  animation: float1 4s ease-in-out infinite;
}
.hero-float-card-2 {
  top: 18px;
  right: -14px;
  animation: float2 5s ease-in-out infinite;
}
@keyframes float1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* Float icon */
.float-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Float text — each line on its own row */
.float-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.float-text .f-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.float-text .f-sub {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  line-height: 1.2;
}

/* ══════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════ */
.page-hero {
  background: var(--navy-dark);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,195,137,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,195,137,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-orb {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,195,137,0.14), transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  top: -200px; right: -100px;
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.page-hero h1 span { color: var(--green); }
.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  line-height: 1.75;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--green); }

/* ══════════════════════════════════════════
   STATS TICKER
══════════════════════════════════════════ */
.stats-bar {
  background: var(--navy);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-bar-item {
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stats-bar-item:last-child { border-right: none; }
.stats-bar-item .num {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stats-bar-item .num span { color: var(--green); }
.stats-bar-item .lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ══════════════════════════════════════════
   SERVICE CARDS
══════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0,195,137,0.2);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px; height: 60px;
  background: var(--green-glow);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--green); }
.service-icon svg { transition: var(--transition); }
.service-card:hover .service-icon svg path,
.service-card:hover .service-icon svg rect,
.service-card:hover .service-icon svg circle { stroke: var(--navy-dark) !important; }
.service-card:hover .service-icon svg { transform: scale(1.1); }

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--light-gray);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  transition: gap var(--transition);
}
.service-link:hover { gap: 12px; }

/* ══════════════════════════════════════════
   WHY US / FEATURES
══════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.feature-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  transition: var(--transition);
}
.feature-item:hover {
  background: rgba(0,195,137,0.06);
  border-color: rgba(0,195,137,0.2);
}
.feature-num {
  font-size: 42px;
  font-weight: 900;
  color: rgba(0,195,137,0.15);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.feature-text h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.feature-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   TECH STACK / LOGOS
══════════════════════════════════════════ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
}
.tech-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  transition: var(--transition);
}
.tech-item:hover {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 4px 16px rgba(0,195,137,0.1);
}

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 80px;
  font-weight: 900;
  color: var(--green);
  opacity: 0.12;
  line-height: 1;
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.star {
  color: #F59E0B;
  font-size: 14px;
}
.testimonial-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: var(--white);
  flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.author-title { font-size: 12px; color: var(--text-muted); }

/* ══════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,195,137,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,195,137,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-section .container { position: relative; z-index: 2; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-text h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-text h2 span { color: var(--green); }
.cta-text p { font-size: 16px; color: rgba(255,255,255,0.6); }
.cta-actions { display: flex; gap: 16px; flex-shrink: 0; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   ABOUT PAGE — TIMELINE
══════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--navy-dark);
  box-shadow: 0 0 0 3px rgba(0,195,137,0.2);
}
.timeline-year {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.timeline-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* ══════════════════════════════════════════
   VALUES CARDS
══════════════════════════════════════════ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}
.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.value-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.value-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.value-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ══════════════════════════════════════════
   TEAM CARDS
══════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0,195,137,0.2);
  transform: translateY(-4px);
}
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
}
.team-name  { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.team-role  { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.team-links { display: flex; justify-content: center; gap: 12px; }
.team-link  {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  transition: var(--transition);
}
.team-link:hover { background: var(--green); }

/* ══════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.contact-info p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ci-icon {
  width: 44px; height: 44px;
  background: var(--green-glow);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.ci-value  { font-size: 15px; color: var(--navy); font-weight: 500; }
.ci-value a { color: var(--navy); transition: color var(--transition); }
.ci-value a:hover { color: var(--green); }

.offices-list { margin-top: 40px; }
.offices-list h4 { font-size: 14px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.office-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.office-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  background: var(--light-gray);
  border-radius: 100px;
  color: var(--navy);
  border: 1px solid var(--border);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.contact-form .form-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,195,137,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { cursor: pointer; }
.form-submit { display: flex; justify-content: flex-end; margin-top: 8px; }
.form-submit .btn { min-width: 180px; justify-content: center; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  gap: 16px;
}
.form-success.show { display: flex; }
.form-success .success-icon {
  width: 64px; height: 64px;
  background: rgba(0,195,137,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.form-success h4 { font-size: 20px; font-weight: 700; color: var(--navy); }
.form-success p  { font-size: 14px; color: var(--text-muted); max-width: 300px; }

/* ══════════════════════════════════════════
   SERVICES PAGE — Detail Sections
══════════════════════════════════════════ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.sd-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.sd-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,195,137,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,195,137,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.sd-visual-number {
  font-size: 120px;
  font-weight: 900;
  color: rgba(0,195,137,0.08);
  line-height: 1;
  position: absolute;
  top: 10px; right: 20px;
}
.sd-visual-content { position: relative; z-index: 2; }
.sd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-chip {
  padding: 8px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.sd-content .label { margin-bottom: 12px; }
.sd-content h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.sd-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.sd-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.sd-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.check-dot {
  width: 20px; height: 20px;
  background: rgba(0,195,137,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-dot::after {
  content: '';
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
}

/* ══════════════════════════════════════════
   PROCESS STEPS
══════════════════════════════════════════ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(to right, var(--green), var(--navy));
  z-index: 0;
}
.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 22px;
  font-weight: 900;
  color: var(--green);
}
.process-step h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.process-step p  { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ══════════════════════════════════════════
   ACCORDION / FAQ
══════════════════════════════════════════ */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--white);
  transition: background var(--transition);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.accordion-header:hover { background: var(--off-white); }
.accordion-toggle {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 16px;
  color: var(--text-muted);
}
.accordion-item.open .accordion-header { background: var(--off-white); }
.accordion-item.open .accordion-toggle { background: var(--green); color: var(--navy-dark); transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.accordion-body.open { max-height: 500px; }
.accordion-body-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ══════════════════════════════════════════
   AWARDS / RECOGNITION
══════════════════════════════════════════ */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.award-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}
.award-card:hover {
  background: rgba(0,195,137,0.06);
  border-color: rgba(0,195,137,0.2);
}
.award-icon { font-size: 36px; margin-bottom: 12px; }
.award-title { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.award-org   { font-size: 12px; color: rgba(255,255,255,0.45); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-main {
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 300px;
  margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 12px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: var(--green); color: var(--navy-dark); border-color: var(--green); }

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-col li a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}
.footer-copy span { color: var(--green); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ══════════════════════════════════════════
   SCROLL TOP BUTTON
══════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--green);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 900;
  box-shadow: 0 4px 16px rgba(0,195,137,0.4);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--green-dark); transform: translateY(-2px); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1280px) {
  .hero .container { padding: 0 48px; }
}

@media (max-width: 1024px) {
  .hero .container { padding: 0 32px; }
  .hero-content   { gap: 48px; }
  /* Mosaic at 1024px */
  .hero-mosaic { grid-template-rows: 440px; }
  .hm-main     { height: 440px; }
  .hm-right    { height: 440px; }
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .tech-grid      { grid-template-columns: repeat(4, 1fr); }
  .team-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-main    { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .hero-content      { grid-template-columns: 1fr; gap: 40px; padding-top: 72px; }
  .hero-visual       { justify-content: center; }
  .hero-card-stack   { max-width: 100%; }
  /* Mosaic tablet: shrink height, keep 2 columns */
  .hero-mosaic { grid-template-columns: 1.3fr 1fr; grid-template-rows: 400px; gap: 8px; }
  .hm-main     { height: 400px; }
  .hm-right    { height: 400px; }
  .service-detail    { grid-template-columns: 1fr; gap: 40px; }
  .service-detail.reverse { direction: ltr; }
  .features-grid     { grid-template-columns: 1fr; }
  .contact-grid      { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .process-steps     { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
  .awards-grid       { grid-template-columns: repeat(2, 1fr); }
  .values-grid       { grid-template-columns: 1fr; }
  .form-row          { grid-template-columns: 1fr; }
  .cta-inner         { flex-direction: column; text-align: center; }
  /* Cap shrinks on tablet */
  .hero-cap-word { min-width: 220px; }
}

@media (max-width: 768px) {
  .hero .container   { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .section    { padding: 64px 0; }
  .section-sm { padding: 48px 0; }

  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-item:nth-child(2) { border-right: none; }
  .stats-bar-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stats-bar-item:nth-child(3),
  .stats-bar-item:nth-child(4) { border-bottom: none; }

  .services-grid { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: 1fr; }
  .tech-grid     { grid-template-columns: repeat(3, 1fr); }
  .awards-grid   { grid-template-columns: 1fr; }
  .footer-main   { grid-template-columns: 1fr; }
  .contact-form  { padding: 28px 20px; }
  .hero-float-card { display: none; }
  /* Mosaic mobile: single column, landscape height */
  .hero-mosaic { grid-template-columns: 1fr; grid-template-rows: 260px; }
  .hm-main     { height: 260px; }
  .hm-right    { display: none; }
  /* Cap on mobile */
  .hero-cap-word { min-width: 200px; height: 56px; padding: 12px 22px; }
  .hero-cap-word .hero-typing { font-size: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero .container { padding: 0 16px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { letter-spacing: -1px; }
  .hero-cap-word { min-width: 180px; height: 52px; }
  .hero-cap-word .hero-typing { font-size: 21px; }
}

/* ══════════════════════════════════════════
   PRODUCTION-GRADE UI POLISH
══════════════════════════════════════════ */

/* Selection colour */
::selection { background: rgba(0,195,137,0.25); color: var(--navy-dark); }

/* Improved focus outlines for accessibility */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Smooth font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Better input autofill styling */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px var(--off-white) inset !important;
  -webkit-text-fill-color: var(--text) !important;
}

/* Service card — refined hover state */
.service-card {
  will-change: transform;
}

/* Testimonial card polish */
.testimonial-card {
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Improved section label line */
.label::before {
  animation: labelLine 0.8s ease forwards;
}
@keyframes labelLine {
  from { width: 0; }
  to   { width: 24px; }
}

/* Smooth image loads — lazy only, eager images always visible */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}
img[loading="lazy"].loaded {
  opacity: 1;
}
img[loading="eager"],
img:not([loading]) {
  opacity: 1;
}

/* Stats bar numbers — tabular figures */
.stats-bar-item .num,
.hero-stat-item .stat-num,
.hero-dash-item .d-num {
  font-variant-numeric: tabular-nums;
}

/* Small phone hero cap */
@media (max-width: 400px) {
  .hero-cap-word { min-width: 160px; height: 50px; padding: 10px 18px; }
  .hero-cap-word .hero-typing { font-size: 20px; }
}

/* Award card icon — proper sizing */
.award-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(0,195,137,0.08);
  border-radius: 12px;
  margin: 0 auto 16px;
}

/* Value icon — proper sizing */
.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Process step numbers — tabular */
.step-circle {
  font-variant-numeric: tabular-nums;
}

/* Sticky nav backdrop fix on all browsers */
.nav.scrolled {
  -webkit-backdrop-filter: blur(12px);
}

/* Smooth page transitions */
a[href]:not([href^="#"]):not([href^="mailto"]):not([href^="tel"]) {
  transition: color var(--transition);
}

