:root {
  /* Synced from the provided reference design palette */
  --yellow: #f5c400;
  --yellow-light: #f5c400;
  --navy: #0D1B2A;
  --navy-mid: #1A2E44;
  --blue: #2E75B6;
  --blue-light: #4A9FE0;
  --blue-pale: #D5E8F0;
  --white: #FFFFFF;
  --off-white: #F8F9FB;
  --gray: #6B7280;
  --gray-light: #E5E9EF;
  --text: #1A1A2E;
  --on-accent: #0D1B2A;
  /* Layout: fluid width + gutters for all viewports */
  --container-max: 1280px;
  --container-max-wide: 1360px;
  --gutter-x: clamp(1rem, 4vw, 2.5rem);
  --section-pad-y: clamp(2.75rem, 7vw, 6.25rem);
  /* Typography: scales smoothly phone → ultrawide desktop */
  --fs-page-title: clamp(1.75rem, 2.8vw + 1rem, 3.5rem);
  --fs-section-title: clamp(1.5rem, 2vw + 0.85rem, 2.75rem);
  --fs-body: clamp(0.875rem, 0.35vw + 0.8rem, 0.9375rem);
  --fs-card-title: clamp(1rem, 0.5vw + 0.9rem, 1.125rem);
  --fs-card-desc: clamp(0.875rem, 0.2vw + 0.82rem, 0.9375rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  overscroll-behavior-x: none;
  /* MIUI / Chrome Android: stop system font scaling from breaking flex/grid layouts */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Stronger than hidden on some Chromium builds — kills sideways rubber-band scroll */
@supports (overflow-x: clip) {
  html {
    overflow-x: clip;
  }
}

body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  max-width: 100%;
  overscroll-behavior-x: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Shared layout: fixed nav only; page + footer scroll with document */
html.site-layout-root {
  min-height: 100%;
}
body.site-layout {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  min-width: 0; /* allow flex/grid children to shrink without horizontal overflow */
}
.page-scroll {
  display: block;
  overflow-x: hidden;
}
.page-scroll:focus { outline: none; }

@supports (overflow-x: clip) {
  body {
    overflow-x: clip;
  }
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 2000;
  text-decoration: none;
  font-size: 0.85rem;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 8px; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 3px; }

/* ─── NAV ─── */
/* Avoid max-width:100vw — on Android it can be wider than the layout width and cause horizontal scroll */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  width: 100%;
  box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: max(var(--gutter-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter-x), env(safe-area-inset-right, 0px));
  padding-bottom: 0;
  min-height: calc(72px + env(safe-area-inset-top, 0px));
  height: auto;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.98) 0%, rgba(13, 27, 42, 0.94) 100%);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid rgba(245,196,0,0.22);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.35s ease, min-height 0.3s ease, border-color 0.3s ease;
}
nav.nav-compact {
  min-height: calc(60px + env(safe-area-inset-top, 0px));
}
.nav-logo {
  display: flex; align-items: center; gap: clamp(8px, 2vw, 12px);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 800;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--yellow); }
.nav-logo-mark {
  width: 52px; height: 52px; background: transparent;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800; color: var(--on-accent);
  overflow: hidden;
  flex-shrink: 0;
}
.nav-logo-mark img {
  /* Explicit size + max-width: none — avoids flex + global img { max-width:100%; height:auto } collapsing the image on narrow viewports */
  width: 52px;
  height: 52px;
  max-width: none;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}
.nav-links { display: flex; gap: clamp(1rem, 2.5vw, 2rem); list-style: none; flex-wrap: nowrap; }
.nav-links a {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,0.75); text-decoration: none; letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 100%;
  height: 2px; background: var(--yellow); transition: right 0.25s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { right: 0; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 10px; flex-shrink: 0;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
  box-sizing: border-box;
}
.hamburger span { width: 24px; height: 2px; background: var(--white); transition: all 0.3s; border-radius: 2px; }

/* Homepage hero: match .page-hero — clip glow layers (700px wide) so they do not widen the page and hide the nav hamburger */
.home-hero {
  position: relative;
  z-index: 0;
  overflow: hidden;
  /* dvh: stable height when mobile browser chrome shows/hides; avoids cut-off on Android */
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: max(7.5rem, calc(72px + 2.75rem + env(safe-area-inset-top, 0px)));
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--navy);
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,196,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,196,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute; top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245,196,0,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute; bottom: -10%; left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,196,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
  width: 100%;
  max-width: var(--container-max); margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter-x);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,196,0,0.12); border: 1px solid rgba(245,196,0,0.3);
  color: var(--yellow); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero-tag::before { content: ''; width: 6px; height: 6px; background: var(--yellow); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.3; } }
.hero-title {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1;
  color: var(--white); margin-bottom: 1.5rem;
  overflow-wrap: anywhere;
}
.hero-title .accent { color: var(--yellow); position: relative; }
.hero-title .accent::after {
  content: ''; position: absolute; left: 0; bottom: -4px; right: 0;
  height: 3px; background: var(--yellow); border-radius: 2px;
  transform: scaleX(0); animation: underline-in 0.6s 0.8s forwards ease;
}
@keyframes underline-in { to { transform: scaleX(1); } }
.hero-desc {
  color: rgba(255,255,255,0.65);
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.05rem);
  line-height: 1.75;
  margin-bottom: 2.5rem; max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--yellow); color: var(--on-accent);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; font-size: 0.9rem;
  padding: 14px 32px; border-radius: 8px; text-decoration: none;
  transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(245,196,0,0.35); background: var(--yellow-light); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 600; font-size: 0.9rem;
  padding: 14px 32px; border-radius: 8px; text-decoration: none;
  transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-dark { background: var(--navy); color: var(--white); font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; font-size: 0.9rem; padding: 14px 32px; border-radius: 8px; text-decoration: none; text-align: center; transition: all 0.25s; display: inline-flex; align-items: center; justify-content: center; }
.btn-dark:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(13,27,42,0.25); }
.btn-white { background: rgba(255,255,255,0.12); color: var(--white); font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 600; font-size: 0.9rem; padding: 14px 32px; border-radius: 8px; text-decoration: none; text-align: center; border: 1.5px solid rgba(255,255,255,0.45); transition: all 0.25s; display: inline-flex; align-items: center; justify-content: center; }
.btn-white:hover { background: rgba(255,255,255,0.22); }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-num {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 800; font-size: 2rem; color: var(--yellow);
}
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 2px; }
.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-card-stack { position: relative; width: 100%; max-width: 460px; }
.hero-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px); border-radius: 20px; padding: 2rem;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-card-inner-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.hero-card-icon {
  width: 48px; height: 48px; background: var(--yellow);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.hero-card-title { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; color: var(--white); font-size: 0.95rem; }
.hero-card-sub { color: rgba(255,255,255,0.5); font-size: 0.8rem; margin-top: 2px; }
.hero-bar-row { display: flex; flex-direction: column; gap: 12px; }
.hero-bar-label { display: flex; justify-content: space-between; font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.hero-bar-track { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.hero-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--yellow)); animation: barGrow 1.5s ease forwards; }
@keyframes barGrow { from { width: 0; } }
.hero-float-badge {
  position: absolute; bottom: -20px; left: -30px;
  background: var(--yellow); color: var(--on-accent);
  padding: 10px 18px; border-radius: 12px;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; font-size: 0.8rem;
  box-shadow: 0 10px 30px rgba(245,196,0,0.4);
  animation: float 5s 1s ease-in-out infinite;
}
.hero-float-badge-2 {
  position: absolute; top: -15px; right: -20px;
  background: var(--navy-mid); border: 1px solid rgba(245,196,0,0.3); color: var(--white);
  padding: 10px 18px; border-radius: 12px;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 600; font-size: 0.78rem;
  animation: float 7s 0.5s ease-in-out infinite;
}

/* ─── SECTION SHARED ─── */
section { position: relative; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 0.75rem;
}
.section-tag::before { content: ''; width: 20px; height: 2px; background: var(--blue); border-radius: 1px; }
.section-title {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 800;
  font-size: var(--fs-section-title); line-height: 1.15;
  color: var(--navy); margin-bottom: 1rem;
  overflow-wrap: anywhere;
}
.section-title.white { color: var(--white); }
.section-desc {
  color: var(--gray); font-size: var(--fs-body); line-height: 1.75; max-width: 580px;
  overflow-wrap: anywhere; word-wrap: break-word; min-width: 0;
}
/* min(100%, …) keeps wide copy inside the container on phones; desktop gets full width cap */
.section-desc-wide { max-width: min(100%, 60rem); min-width: 0; overflow-wrap: anywhere; }
.section-desc.white { color: rgba(255,255,255,0.65); }
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: max(var(--gutter-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter-x), env(safe-area-inset-right, 0px));
}
.section-pad { padding: var(--section-pad-y) 0; }

/* ─── ABOUT / STRATEGIC PARTNER ─── */
#about { background: var(--off-white); }
.about-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5rem; align-items: center;
}
.about-content {}
.about-visual {
  position: relative;
}
.about-visual-card {
  background: var(--white); border-radius: 20px;
  padding: 2.5rem; box-shadow: 0 20px 60px rgba(13,27,42,0.08);
  border: 1px solid var(--gray-light);
}
.about-pillars { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.about-pillar {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem; background: var(--off-white); border-radius: 12px;
  border-left: 3px solid var(--blue);
  transition: all 0.2s ease;
}
.about-pillar-offset { margin-top: 1rem; }
.about-pillar:hover { background: var(--blue-pale); border-left-color: var(--yellow); transform: translateX(4px); }
.about-pillar-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.about-pillar-title { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; font-size: var(--fs-card-title); color: var(--navy); margin-bottom: 4px; }
.about-pillar-desc { font-size: var(--fs-card-desc); color: var(--gray); line-height: 1.6; }
.about-badge {
  position: absolute; top: -34px; right: -20px;
  background: var(--yellow); color: var(--on-accent);
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 800; box-shadow: 0 8px 24px rgba(245,196,0,0.4);
}
.about-badge-num { font-size: 1.6rem; line-height: 1; }
.about-badge-text { font-size: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.about-approach-bullets {
  color: var(--gray);
  font-size: 0.85rem;
  line-height: 1.75;
  margin: 0.35rem 0 0;
  padding-left: 0;
  list-style: none;
}
.about-approach-bullets li {
  position: relative;
  margin-bottom: 0.55rem;
  padding-left: 2.35rem;
  min-height: 1.5rem;
}
.about-approach-bullets li:last-child { margin-bottom: 0; }
/* Pointing-hand marker — yellow disc matches site accent */
.about-approach-bullets li::before {
  content: "👉";
  position: absolute;
  left: 0;
  top: 0.08em;
  width: 1.85rem;
  height: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  line-height: 1;
  background: linear-gradient(145deg, #fce67a 0%, var(--yellow) 55%, #e6b000 100%);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(245, 196, 0, 0.38);
  border: 1px solid rgba(13, 27, 42, 0.08);
  flex-shrink: 0;
}
.about-approach-bullets strong { color: var(--navy); font-weight: 700; }

/* ─── EXPERTISE ─── */
#expertise { background: var(--white); }
.expertise-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
  align-items: end;
  margin-bottom: 3rem;
}
.expertise-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem; margin-top: 4rem;
}
.expertise-showcase .expertise-grid { margin-top: 0; }
.expertise-showcase .services-header { margin-bottom: 2.25rem; }

/* Expertise page — technical expertise infographic */
.expertise-infographic-wrap {
  position: relative;
  width: min(100%, 640px);
  margin: 0 auto 2.5rem;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--yellow) 45%, var(--blue-light) 100%);
  box-shadow:
    0 28px 80px rgba(13, 27, 42, 0.14),
    0 12px 32px rgba(46, 117, 182, 0.12);
}
.expertise-infographic-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse 55% 45% at 50% 35%, rgba(245, 196, 0, 0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.expertise-infographic-frame {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  border: 2px solid rgba(13, 27, 42, 0.08);
}
.expertise-infographic-frame img {
  display: block;
  width: min(100%, 600px);
  margin: 0 auto;
  height: auto;
  vertical-align: middle;
  filter: contrast(1.08) saturate(1.08);
}
@media (prefers-reduced-motion: no-preference) {
  .expertise-infographic-wrap {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  .expertise-infographic-wrap:hover {
    transform: translateY(-6px);
    box-shadow:
      0 36px 100px rgba(13, 27, 42, 0.18),
      0 16px 40px rgba(46, 117, 182, 0.16);
  }
}
.expertise-card {
  background: var(--white); border: 1.5px solid var(--gray-light);
  border-radius: 16px; padding: 2rem;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.expertise-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--blue), var(--yellow));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.expertise-card:hover { border-color: transparent; transform: translateY(-4px); box-shadow: 0 20px 50px rgba(13,27,42,0.1); }
.expertise-card:hover::before { transform: scaleX(1); }
.expertise-icon {
  width: 52px; height: 52px; background: var(--blue-pale); border: 1px solid rgba(245,196,0,0.2);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem; transition: all 0.3s;
}
.expertise-card:hover .expertise-icon { background: var(--yellow); border-color: transparent; }
.expertise-card-title { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; color: var(--navy); font-size: var(--fs-card-title); margin-bottom: 0.75rem; }
.expertise-card-desc { color: var(--gray); font-size: var(--fs-card-desc); line-height: 1.7; }

/* ─── SKILLS / TECHNOLOGIES ─── */
#skills { background: var(--white); }
.skills-header { text-align: center; margin-bottom: 4rem; }
.skills-header .section-desc { margin: 0 auto; }
.skills-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.skill-chip {
  background: var(--off-white); border: 1.5px solid var(--gray-light);
  border-radius: 14px; padding: 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  text-align: center; transition: all 0.25s ease; cursor: default;
}
.skill-chip:hover { background: var(--blue-pale); border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(245,196,0,0.12); }
.skill-chip-icon { font-size: 2rem; }
.skill-chip-name { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; font-size: var(--fs-card-title); color: var(--navy); overflow-wrap: anywhere; }
.skill-chip-desc { font-size: var(--fs-card-desc); color: var(--gray); line-height: 1.6; }

/* ─── STRATEGY ─── */
#strategy { background: var(--off-white); }
.strategy-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5rem; align-items: center; margin-top: 0;
}
.strategy-steps { display: flex; flex-direction: column; gap: 0; }
.strategy-step {
  display: flex; gap: 1.5rem; position: relative; padding-bottom: 2rem;
}
.strategy-step:last-child { padding-bottom: 0; }
.strategy-step-left { display: flex; flex-direction: column; align-items: center; gap: 0; flex-shrink: 0; }
.strategy-step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 800; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  position: relative; z-index: 1;
}
.strategy-step.active .strategy-step-num { background: var(--yellow); color: var(--on-accent); }
.strategy-step-line {
  width: 2px; flex: 1; background: linear-gradient(to bottom, var(--blue), transparent);
  margin-top: 4px;
}
.strategy-step:last-child .strategy-step-line { display: none; }
.strategy-step-content { padding-bottom: 0.5rem; min-width: 0; }
.strategy-step-title { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; color: var(--navy); font-size: var(--fs-card-title); margin-bottom: 0.4rem; }
.strategy-step-desc { color: var(--gray); font-size: var(--fs-card-desc); line-height: 1.65; }
.strategy-visual-card {
  background: var(--white); border-radius: 20px; padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(13,27,42,0.08); border: 1px solid var(--gray-light);
}
.strategy-visual-title { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; color: var(--navy); margin-bottom: 1.5rem; font-size: var(--fs-card-title); }
.strategy-kpi-list { display: flex; flex-direction: column; gap: 1.25rem; }
.strategy-kpi { }
.strategy-kpi-header { display: flex; justify-content: space-between; gap: 0.5rem; margin-bottom: 6px; font-size: 0.82rem; min-width: 0; }
.strategy-kpi-label { color: var(--navy); font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.strategy-kpi-val { color: var(--blue); font-weight: 700; font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.strategy-kpi-bar { height: 8px; background: var(--gray-light); border-radius: 4px; overflow: hidden; }
.strategy-kpi-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--blue-light)); animation: barGrow 1.5s ease forwards; }

/* ─── SECTORS ─── */
#sectors { background: var(--off-white); }
.sectors-intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; align-items: start; margin-bottom: 4rem; }
.sectors-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.sector-card {
  background: var(--white); border: 1.5px solid var(--gray-light);
  border-radius: 20px; padding: 2rem; overflow: hidden; position: relative;
  transition: all 0.3s; cursor: default;
}
.sector-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(245,196,0,0.06) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.sector-card:hover { border-color: transparent; box-shadow: 0 20px 50px rgba(13,27,42,0.1); transform: translateY(-4px); }
.sector-card:hover::after { opacity: 1; }
.sector-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.sector-title { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; color: var(--navy); font-size: var(--fs-card-title); margin-bottom: 0.75rem; }
.sector-desc { color: var(--gray); font-size: var(--fs-card-desc); line-height: 1.7; }

/* ─── SERVICES ─── */
#services { background: var(--white); }
.services-header { text-align: center; margin-bottom: 4rem; }
.services-header .section-desc { margin: 0 auto; }
.services-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.service-card {
  border: 1.5px solid var(--gray-light); border-radius: 20px; padding: 2.5rem;
  transition: all 0.3s ease; position: relative; overflow: hidden; background: var(--white);
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--blue), var(--yellow));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.service-card:hover { border-color: transparent; box-shadow: 0 20px 50px rgba(13,27,42,0.1); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--blue-pale); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.5rem; transition: all 0.3s;
}
.service-card:hover .service-icon { background: var(--yellow); }
.service-title { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; color: var(--navy); font-size: var(--fs-card-title); margin-bottom: 0.75rem; }
.service-desc { color: var(--gray); font-size: var(--fs-card-desc); line-height: 1.7; }

/* ─── PARTNERSHIP ─── */
#partnership { background: var(--off-white); }
.partnership-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5rem; align-items: start;
}
.partnership-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.partnership-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--white); border-radius: 14px; padding: 1.5rem;
  border: 1px solid var(--gray-light); transition: all 0.25s;
}
.partnership-item:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(245,196,0,0.1); }
.partnership-item-icon {
  width: 40px; height: 40px; background: var(--blue-pale); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.partnership-item-title { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; color: var(--navy); font-size: var(--fs-card-title); margin-bottom: 4px; }
.partnership-item-desc { color: var(--gray); font-size: var(--fs-card-desc); line-height: 1.6; }
.partnership-visual { }
.partnership-visual-card {
  background: var(--navy); border-radius: 20px; padding: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--white); position: sticky; top: 100px;
}
.partnership-visual-title { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; font-size: var(--fs-card-title); color: var(--white); margin-bottom: 1.5rem; }
.engagement-models { display: flex; flex-direction: column; gap: 1rem; }
.engagement-model {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 1.25rem; cursor: default; transition: all 0.2s;
}
.engagement-model:hover { background: rgba(245,196,0,0.1); border-color: rgba(245,196,0,0.3); }
.engagement-model-name { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; color: var(--yellow); font-size: var(--fs-card-title); margin-bottom: 4px; }
.engagement-model-desc { color: rgba(255,255,255,0.55); font-size: var(--fs-card-desc); line-height: 1.6; }

/* ─── CLOUD & IOT ─── */
#cloud { background: var(--white); }
.cloud-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5rem; align-items: center;
}
.cloud-visual {
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: 24px; padding: 2.5rem; position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(13,27,42,0.08);
}
.cloud-visual::before {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245,196,0,0.1) 0%, transparent 70%);
}
.cloud-tech-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.cloud-tech-badge {
  background: var(--off-white); border: 1px solid var(--gray-light);
  border-radius: 10px; padding: 0.75rem; text-align: center;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; color: var(--navy); font-size: 0.78rem;
  transition: all 0.2s;
}
.cloud-tech-badge:hover { background: var(--blue-pale); border-color: var(--blue); color: var(--blue); }
.cloud-features { display: flex; flex-direction: column; gap: 1rem; }
.cloud-feature {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem; background: var(--off-white); border-radius: 12px;
  border: 1px solid var(--gray-light); border-left: 3px solid var(--blue); transition: all 0.25s;
}
.cloud-feature:hover { border-left-color: var(--yellow); background: var(--blue-pale); border-color: rgba(245,196,0,0.2); }
.cloud-feature-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.cloud-feature-title { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; color: var(--navy); font-size: var(--fs-card-title); margin-bottom: 4px; }
.cloud-feature-desc { color: var(--gray); font-size: var(--fs-card-desc); line-height: 1.6; }

/* ─── INTEGRATION ─── */
#integration { background: var(--off-white); }
.integration-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5rem; align-items: center;
}
.integration-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.integration-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem; background: var(--white); border-radius: 14px;
  border: 1px solid var(--gray-light); transition: all 0.25s;
}
.integration-item:hover { border-color: var(--blue); transform: translateX(4px); }
.integration-dot {
  width: 10px; height: 10px; background: var(--blue); border-radius: 50%; flex-shrink: 0; margin-top: 5px;
}
.integration-item-title { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; color: var(--navy); font-size: var(--fs-card-title); margin-bottom: 4px; }
.integration-item-desc { color: var(--gray); font-size: var(--fs-card-desc); line-height: 1.6; }
.integration-visual {
  background: var(--white); border-radius: 24px; padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(13,27,42,0.08); border: 1px solid var(--gray-light);
}
.integration-hub {
  position: relative;
  width: 100%;
  height: clamp(220px, 38vw, 280px);
  display: flex; align-items: center; justify-content: center;
}
.hub-center {
  width: 80px; height: 80px; background: var(--blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; z-index: 2; position: relative;
  box-shadow: 0 0 0 12px rgba(245,196,0,0.15), 0 0 0 24px rgba(245,196,0,0.07);
  animation: hubPulse 3s ease-in-out infinite;
}
@keyframes hubPulse { 0%,100% { box-shadow: 0 0 0 12px rgba(245,196,0,0.15), 0 0 0 24px rgba(245,196,0,0.07); } 50% { box-shadow: 0 0 0 16px rgba(245,196,0,0.2), 0 0 0 32px rgba(245,196,0,0.08); } }
.hub-node {
  position: absolute; width: 54px; height: 54px; background: var(--off-white);
  border: 2px solid var(--gray-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  transition: all 0.25s; cursor: default;
}
.hub-node:hover { border-color: var(--yellow); background: var(--yellow); color: var(--on-accent); transform: scale(1.1); }
.hub-line {
  position: absolute; background: linear-gradient(90deg, var(--blue), transparent);
  height: 1.5px; transform-origin: left center; opacity: 0.4;
}
.integration-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.int-tag {
  background: var(--blue-pale); color: var(--blue); font-size: 0.75rem; font-weight: 600;
  padding: 5px 12px; border-radius: 100px; font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ─── MATURITY FRAMEWORK ─── */
#maturity { background: var(--white); }
.maturity-intro-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5rem; align-items: center; margin-bottom: 2.5rem;
}
.maturity-header { text-align: left; margin-bottom: 0; }
.maturity-header .section-desc { margin: 0; }
.maturity-timeline {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0; position: relative;
}
.maturity-timeline::before {
  content: ''; position: absolute; top: 44px; left: 10%; right: 10%;
  height: 2px; background: linear-gradient(90deg, var(--blue), var(--yellow));
  z-index: 0;
}
.maturity-phase { text-align: center; position: relative; padding: 0 1rem; }
.maturity-phase-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--blue);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; position: relative; z-index: 1;
  transition: all 0.3s;
}
.maturity-phase:hover .maturity-phase-num { background: var(--blue); color: var(--white); transform: scale(1.1); }
.maturity-phase:nth-child(4) .maturity-phase-num { border-color: var(--yellow); color: var(--yellow); }
.maturity-phase:nth-child(4):hover .maturity-phase-num { background: var(--yellow); color: var(--on-accent); }
.maturity-phase-card {
  background: var(--off-white); border: 1px solid var(--gray-light);
  border-radius: 16px; padding: 1.5rem; transition: all 0.3s;
}
.maturity-phase:hover .maturity-phase-card { background: var(--blue-pale); border-color: var(--blue); box-shadow: 0 10px 30px rgba(245,196,0,0.1); }
.maturity-phase-title { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; color: var(--navy); font-size: var(--fs-card-title); margin-bottom: 0.5rem; }
.maturity-phase-desc { color: var(--gray); font-size: var(--fs-card-desc); line-height: 1.6; }

/* ─── STATS ─── */
#stats {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative; overflow: hidden;
}
#stats::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(245,196,0,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem; position: relative; z-index: 1;
}
.stat-card {
  text-align: center; padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 20px;
  background: rgba(255,255,255,0.03); transition: all 0.3s;
}
.stat-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(245,196,0,0.2); transform: translateY(-4px); }
.stat-number {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 800;
  font-size: clamp(2.25rem, 6vw + 1rem, 4rem);
  color: var(--yellow); line-height: 1; margin-bottom: 0.5rem;
}
.stat-label { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; color: var(--white); font-size: 1rem; margin-bottom: 0.75rem; }
.stat-desc { color: rgba(255,255,255,0.5); font-size: 0.82rem; line-height: 1.65; }

/* ─── FOOTER ─── */
footer.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 0;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.99) 0%, var(--navy) 40%);
  color: rgba(255,255,255,0.62);
  padding: 0.5rem 0 max(0.45rem, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(245, 196, 0, 0.22);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.35rem 1.1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}
/* Brand: logo + name first, full blurb directly below */
.footer-grid > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}
.footer-grid > div:first-child .footer-brand-title {
  margin-bottom: 0;
  width: 100%;
}
.footer-brand-title { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 800; color: var(--white); font-size: 0.88rem; display: flex; align-items: center; gap: 6px; }
.footer-brand-mark { width: 28px; height: 28px; background: transparent; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; color: var(--on-accent); overflow: hidden; flex-shrink: 0; }
.footer-brand-mark img {
  width: 28px;
  height: 28px;
  max-width: none;
  object-fit: contain;
  border-radius: 5px;
  display: block;
  flex-shrink: 0;
}
.footer-brand-desc {
  flex: none;
  width: 100%;
  margin: 0;
  max-width: none;
  font-size: 12.4px;
  line-height: 1.32;
  display: block;
  overflow: visible;
  color: rgba(255,255,255,0.58);
}
.footer-col-title { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; color: var(--white); font-size: 0.62rem; margin-bottom: 0.2rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.12rem; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 12.4px;
  line-height: 1.28;
  padding: 0.1rem 0;
  display: inline-block;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.35rem 0.75rem; padding-top: 0.35rem; font-size: 0.6rem; }
.footer-bottom-right { display: flex; flex-wrap: wrap; gap: 0.4rem 0.75rem; justify-content: flex-end; }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--yellow); }

/* ─── ANIMATIONS ─── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── MOBILE NAV ─── */
.mobile-menu {
  position: fixed; inset: 0; background: var(--navy); z-index: 1002;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  padding: max(1rem, env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
  transform: translateX(100%);
  transition: transform 0.35s ease;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}

/* Prefer clip-path on capable browsers: some Android Chromium builds inflate scrollWidth from translated fixed layers (e.g. newer MIUI WebView) */
@supports (clip-path: inset(0)) {
  .mobile-menu {
    transform: none;
    transition: clip-path 0.35s ease;
    clip-path: inset(0 0 0 100%);
  }
  .mobile-menu.open {
    transform: none;
    clip-path: inset(0);
  }
}
.mobile-menu a {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700;
  font-size: clamp(1.125rem, 4.5vw, 1.5rem);
  color: var(--white); text-decoration: none;
  text-align: center; max-width: 90vw; padding: 0.35rem 0;
}
.mobile-menu a:hover { color: var(--yellow); }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--navy);
  /* Clear fixed nav + notch/status bar; avoids title sitting under bar on Android */
  padding-top: calc(48px + 72px + env(safe-area-inset-top, 0px));
  padding-bottom: 3.25rem;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,196,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,196,0,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-glow {
  position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,196,0,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--container-max); margin: 0 auto;
  padding-left: max(var(--gutter-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter-x), env(safe-area-inset-right, 0px));
}
.page-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,196,0,0.12); border: 1px solid rgba(245,196,0,0.28);
  color: var(--yellow-light); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 0.9rem;
  text-transform: uppercase;
}
.page-hero-tag::before { content: ''; width: 6px; height: 6px; background: var(--yellow); border-radius: 50%; }
.page-hero-title {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700;
  font-size: var(--fs-page-title); line-height: 1.12;
  color: var(--white); margin-bottom: 0.85rem;
  overflow-wrap: anywhere;
}
.page-hero-title .accent { color: var(--yellow-light); }
.page-hero-desc {
  color: rgba(255,255,255,0.65); font-size: var(--fs-body); line-height: 1.75;
  max-width: 580px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--yellow-light); }
.breadcrumb span { color: rgba(255,255,255,0.6); }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-form {
  background: var(--white); border-radius: 20px;
  padding: clamp(1.35rem, 4vw, 2.5rem);
  box-shadow: 0 20px 60px rgba(13,27,42,0.08); border: 1px solid var(--gray-light);
}
.form-group { margin-bottom: 1.5rem; }
.form-label {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 600; font-size: 0.82rem; color: var(--navy); display: block; margin-bottom: 0.5rem;
}
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--gray-light); border-radius: 10px;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 0.9rem; color: var(--text);
  background: var(--off-white); transition: all 0.2s; outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(245,196,0,0.12);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-form button.btn-primary { cursor: pointer; border: none; }
.contact-info-items { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon {
  width: 44px; height: 44px; background: var(--blue-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-title {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--navy); margin-bottom: 3px;
}
.contact-info-val { color: var(--gray); font-size: 0.83rem; }

/* ─── RESPONSIVE ─── */
@media (min-width: 1440px) {
  .container,
  .hero-inner,
  .page-hero-inner { max-width: var(--container-max-wide); }
}
@media (min-width: 1536px) {
  /* Large / ultrawide laptops: keep line length readable */
  :root {
    --fs-body: clamp(0.9rem, 0.25vw + 0.82rem, 1rem);
  }
}
@media (max-width: 1200px) {
  .nav-links a { font-size: clamp(0.78rem, 1.1vw, 0.85rem); }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { display: none; }
  .about-grid, .strategy-grid, .sectors-intro, .cloud-grid, .integration-grid, .partnership-grid, .contact-grid, .expertise-intro-grid, .maturity-intro-grid { grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3rem); }
  .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .maturity-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .maturity-timeline::before { display: none; }
  .partnership-visual-card { position: static; top: auto; }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 1rem;
    padding-bottom: 0.35rem;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}
/* Tablet + small laptop: hamburger menu so nav never crowds the logo */
@media (max-width: 992px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-logo {
    min-width: min-content;
    flex: 1 1 auto;
    overflow: visible;
  }
}
@media (max-width: 900px) {
  :root { --section-pad-y: clamp(2.5rem, 9vw, 4.25rem); }
  .hero-inner { padding-top: clamp(2.5rem, 10vw, 5rem); padding-bottom: clamp(2rem, 8vw, 4rem); }
  .hero-title { font-size: clamp(2rem, 6vw, 3rem); }
}
@media (max-width: 768px) {
  :root {
    --section-pad-y: clamp(2.35rem, 8vw, 3.75rem);
    --gutter-x: clamp(0.875rem, 4.5vw, 1.35rem);
    --fs-page-title: clamp(1.65rem, 5vw + 0.5rem, 2.25rem);
    --fs-section-title: clamp(1.4rem, 3.5vw + 0.45rem, 1.85rem);
  }
  .expertise-infographic-wrap {
    margin-bottom: 2.25rem;
    border-radius: 18px;
    padding: 2px;
  }
  .expertise-infographic-frame { border-radius: 16px; }
  .page-hero {
    padding-top: calc(34px + 72px + env(safe-area-inset-top, 0px));
    padding-bottom: 2.5rem;
  }
  .page-hero-desc { font-size: var(--fs-body); }
  .form-input, .form-textarea, .form-select {
    font-size: 1rem; /* 16px — reduces forced zoom on focus (iOS / some Android) */
  }
  .expertise-grid, .sectors-grid, .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .maturity-timeline { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 0.45rem; padding-bottom: 0.35rem; }
  .footer-grid > div:first-child {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
  .footer-grid > div:first-child .footer-brand-desc {
    flex: none;
    width: 100%;
  }
  .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.85rem;
    text-align: center;
  }
  footer.site-footer {
    padding: 0.45rem 0 max(0.45rem, env(safe-area-inset-bottom, 0px));
  }
  footer.site-footer .footer-bottom {
    padding-top: 0.3rem;
  }
  .cloud-tech-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row { grid-template-columns: 1fr; }
  .about-badge { top: -26px; right: -12px; }
  .about-pillar-offset { margin-top: 0.6rem; }
  .services-header,
  .skills-header { margin-bottom: clamp(2rem, 8vw, 3rem); }
  .about-approach-bullets li {
    padding-left: 2.1rem;
  }
  .about-approach-bullets li::before {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.65rem;
    top: 0.12em;
  }
}
@media (max-width: 576px) {
  :root {
    --section-pad-y: clamp(2rem, 9vw, 3.15rem);
    --gutter-x: clamp(0.75rem, 4vw, 1.1rem);
    --fs-page-title: clamp(1.45rem, 6.5vw + 0.35rem, 1.9rem);
    --fs-section-title: clamp(1.25rem, 5vw + 0.3rem, 1.6rem);
  }
  /* Small phones: full footer copy visible, dense 3-col links */
  footer.site-footer {
    padding: 0.42rem 0 max(0.42rem, env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 22px rgba(0, 0, 0, 0.26);
  }
  footer.site-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem 0.4rem;
    padding-bottom: 0.32rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  footer.site-footer .footer-grid > div:first-child {
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 0.18rem;
  }
  footer.site-footer .footer-brand-desc {
    display: block;
    width: 100%;
    flex: none;
    font-size: 0.62rem;
    line-height: 1.3;
  }
  footer.site-footer .footer-brand-title {
    font-size: 0.82rem;
    margin-bottom: 0;
  }
  footer.site-footer .footer-brand-mark {
    width: 26px;
    height: 26px;
  }
  footer.site-footer .footer-brand-mark img {
    width: 26px;
    height: 26px;
    max-width: none;
  }
  footer.site-footer .footer-col-title {
    font-size: 0.58rem;
    margin-bottom: 0.15rem;
    letter-spacing: 0.05em;
  }
  footer.site-footer .footer-links {
    gap: 0.08rem;
  }
  footer.site-footer .footer-links a {
    font-size: 0.6rem;
    line-height: 1.26;
  }
  footer.site-footer .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem 0.55rem;
    padding-top: 0.28rem;
    font-size: 0.56rem;
    text-align: center;
  }
  footer.site-footer .footer-bottom-right {
    gap: 0.35rem 0.65rem;
    justify-content: center;
  }
  nav {
    padding-left: max(var(--gutter-x), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter-x), env(safe-area-inset-right, 0px));
  }
  .skills-grid { grid-template-columns: 1fr; }
  .cloud-tech-row { grid-template-columns: 1fr; }
  .hero-actions { width: 100%; }
  .btn-primary, .btn-outline, .btn-dark, .btn-white { width: 100%; justify-content: center; }
  .hero-stats { gap: 1rem; }
  .hero-stat-num { font-size: 1.5rem; }
  .about-badge { top: -18px; right: -8px; width: 72px; height: 72px; }
  .about-badge-num { font-size: 1.4rem; }
  .about-pillar-offset { margin-top: 0.4rem; }
  .about-approach-bullets li {
    padding-left: 1.95rem;
    margin-bottom: 0.5rem;
  }
  .about-approach-bullets li::before {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.58rem;
    top: 0.15em;
  }
}

.nav-links a.active { color: var(--yellow); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

