/* ==========================================================================
   IBK International — Design System
   ========================================================================== */

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

/* -------------------- Tokens -------------------- */
:root {
  /* Neutrals */
  --ink: #0a1128;
  --navy-900: #060b1c;
  --navy-800: #0b1530;
  --navy-700: #101e42;
  --white: #ffffff;
  --gray-50: #f7f8fc;
  --gray-100: #eef1f7;
  --gray-200: #e1e6f0;
  --gray-300: #c7cfdf;
  --gray-500: #6b7590;
  --gray-600: #4a5372;
  --gray-700: #313a58;

  /* Brand — sampled directly from the IBK International logo
     (navy + gold petals, teal accent petal) */
  --brand-navy: #123b67;
  --brand-blue: #1e63a8;
  --brand-blue-light: #4a8fcc;
  --brand-teal: #5ac8ce;
  --brand-gold: #f4c430;

  /* Division gradients */
  --grad-realty: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  --grad-technology: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-teal) 100%);
  --grad-agropastoral: linear-gradient(135deg, #0f5132 0%, #84cc16 100%);
  --grad-ngo: linear-gradient(135deg, #9d174d 0%, #fb7185 100%);
  --grad-transport: linear-gradient(135deg, #9a3412 0%, #fb923c 100%);
  --grad-telecom: linear-gradient(135deg, #5b21b6 0%, #3b82f6 100%);
  --grad-finance: linear-gradient(135deg, #065f46 0%, #10b981 100%);
  --grad-shop: linear-gradient(135deg, #86198f 0%, #ec4899 100%);
  --grad-brand: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 45%, var(--brand-teal) 100%);
  --grad-cta: linear-gradient(135deg, var(--brand-teal) 0%, var(--brand-gold) 100%);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(10, 17, 40, 0.06), 0 1px 3px rgba(10, 17, 40, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 17, 40, 0.10);
  --shadow-lg: 0 20px 48px rgba(10, 17, 40, 0.16);
  --shadow-glow: 0 12px 40px rgba(30, 99, 168, 0.28);

  /* Type */
  --font-display: 'Sora', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Layout */
  --container: 1240px;
  --header-h: 84px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.section {
  padding: 96px 0;
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-top: 12px; }
.section-head p { color: var(--gray-600); font-size: 17px; margin-top: 14px; }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--grad-brand);
  background-size: 180% 180%;
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(30,99,168,.38); background-position: 100% 0; }

.btn-cta {
  background: var(--grad-cta);
  color: var(--navy-900);
  box-shadow: 0 14px 32px rgba(244, 196, 48, 0.35);
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(244, 196, 48, 0.45); }

.btn-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
}
.btn-light:hover { background: rgba(255,255,255,0.22); transform: translateY(-3px); }

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--gray-300);
}
.btn-outline:hover { border-color: var(--brand-blue); color: var(--brand-blue); transform: translateY(-3px); }

.btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* -------------------- Header / Nav -------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(10,17,40,0.06);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10,17,40,0.08); }

.header-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--navy-900);
}
.brand-mark-img { height: 38px; width: auto; display: block; }
.brand-mark-icon { height: 40px; width: 40px; display: block; }
.footer-brand .logo-chip {
  display: inline-flex; align-items: center;
  background: #fff; padding: 10px 16px; border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.footer-brand .logo-chip img { height: 30px; width: auto; }
.brand small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 10px; letter-spacing: 0.14em; color: var(--gray-500); margin-top: 1px; }

.nav-primary {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy-700);
  transition: color .25s ease, background .25s ease;
}
.nav-link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); opacity: .6; }
.nav-item:hover .nav-link, .nav-link.active { color: var(--brand-blue); background: rgba(30,99,168,0.08); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn-primary { padding: 11px 22px; font-size: 14px; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  background: var(--gray-100);
}
.menu-toggle svg { width: 20px; height: 20px; }

/* Mega menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: min(560px, 90vw);
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  z-index: 40;
}
.nav-item:hover .mega-menu, .nav-item.menu-open .mega-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.mega-menu.mega-wide { width: min(760px, 92vw); }
.mega-menu-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .mega-menu-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
.mega-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-sm);
  transition: background .2s ease, transform .2s ease;
}
.mega-menu-link:hover { background: var(--gray-50); transform: translateX(2px); }
.mega-menu-link .mm-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
  color: #fff;
}
.mega-menu-link .mm-icon svg { width: 18px; height: 18px; }
.mega-menu-link .mm-text strong { display: block; font-family: var(--font-display); font-size: 14px; color: var(--navy-900); }
.mega-menu-link .mm-text span { font-size: 12.5px; color: var(--gray-500); }
.mega-menu-view-all {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px; padding: 12px 14px;
  border-top: 1px solid var(--gray-100);
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  color: var(--brand-blue);
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--navy-900);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  overflow-y: auto;
  padding: 24px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mobile-nav-close { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.08); display: grid; place-items: center; }
.mobile-nav-close svg { width: 20px; height: 20px; color: #fff; }
.mobile-accordion { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-accordion-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px;
}
.mobile-accordion-head svg { width: 18px; height: 18px; transition: transform .3s ease; color: rgba(255,255,255,.5); }
.mobile-accordion.open .mobile-accordion-head svg { transform: rotate(180deg); }
.mobile-accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease);
}
.mobile-accordion.open .mobile-accordion-body { max-height: 600px; padding-bottom: 14px; }
.mobile-accordion-body a {
  display: block; padding: 10px 4px 10px 14px;
  color: rgba(255,255,255,0.68); font-size: 15px;
  border-left: 2px solid rgba(255,255,255,0.12);
}
.mobile-accordion-body a:hover { color: #fff; border-left-color: var(--brand-teal); }
.mobile-nav-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.mobile-nav-single {
  display: block; padding: 16px 4px; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 96px);
  padding-bottom: 96px;
  overflow: hidden;
  background: var(--navy-900);
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: var(--grad-brand);
  background-size: 200% 200%;
  animation: gradientShift 16s ease infinite;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 85% 20%, rgba(90,200,206,0.35), transparent 60%),
              radial-gradient(50% 50% at 10% 85%, rgba(244,196,48,0.22), transparent 60%);
}
.hero-noise { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 22px 22px;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}
.hero-content .eyebrow { color: var(--brand-teal); }
.hero-content .eyebrow::before { background: var(--brand-teal); }
.hero-content h1 {
  color: #fff;
  font-size: clamp(38px, 5.4vw, 66px);
  margin-top: 18px;
}
.hero-content h1 .accent { background: linear-gradient(90deg, var(--brand-teal), var(--brand-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-content p {
  color: rgba(255,255,255,0.78);
  font-size: 18px;
  margin-top: 20px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: #fff;
}
.hero-stat span { font-size: 13px; color: rgba(255,255,255,0.6); }

/* Hero visual (icon composition, no stock photography needed) */
.hero-visual { position: relative; height: 440px; }
.hv-card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  animation: float 7s ease-in-out infinite;
}
.hv-card.a { width: 260px; height: 176px; top: 0; left: 20px; animation-delay: 0s; padding: 22px; }
.hv-card.b { width: 210px; height: 146px; bottom: 34px; left: 0; animation-delay: 1.2s; padding: 18px; }
.hv-card.c { width: 190px; height: 196px; top: 40px; right: 0; animation-delay: .6s; padding: 20px; display: grid; place-items: center; }
.hv-card.d { width: 230px; height: 140px; bottom: 0; right: 20px; animation-delay: 1.8s; padding: 18px; }
.hv-card .hv-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--grad-brand); display: grid; place-items: center; margin-bottom: 10px; flex-shrink: 0; }
.hv-card .hv-icon svg { width: 20px; height: 20px; color: #fff; }
.hv-card strong { color: #fff; font-family: var(--font-display); font-size: 15px; line-height: 1.3; display: block; }
.hv-card span { color: rgba(255,255,255,0.6); font-size: 12.5px; line-height: 1.3; display: block; margin-top: 2px; }
.hv-orb {
  position: absolute; width: 116px; height: 116px; border-radius: 50%;
  background: #fff; top: 44%; left: 42%;
  display: grid; place-items: center; box-shadow: 0 24px 48px rgba(6,11,28,.35);
  animation: pulseOrb 4s ease-in-out infinite;
}
.hv-orb img { width: 62px; height: 62px; }
@keyframes float { 0%, 100% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-16px) rotate(-1deg); } }
@keyframes pulseOrb { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 320px; margin-top: 20px; }
}

/* Inner page hero (division / subpage) */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: 72px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero .hero-bg { background-size: 200% 200%; animation: gradientShift 14s ease infinite; }
.page-hero .breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: rgba(255,255,255,0.65);
  margin-bottom: 18px; font-weight: 600;
}
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb svg { width: 13px; height: 13px; opacity: .6; }
.page-hero .page-icon {
  width: 66px; height: 66px; border-radius: 18px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25);
  display: grid; place-items: center; margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.page-hero .page-icon svg { width: 32px; height: 32px; color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 52px); max-width: 780px; }
.page-hero p.lead { font-size: 17.5px; color: rgba(255,255,255,0.82); max-width: 660px; margin-top: 16px; }

/* -------------------- Logo strip -------------------- */
.logo-strip { padding: 40px 0; border-bottom: 1px solid var(--gray-100); }
.logo-strip .strip-label { text-align: center; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-500); font-weight: 700; margin-bottom: 26px; }
.logo-strip-row { display: flex; justify-content: center; align-items: center; gap: 56px; flex-wrap: wrap; opacity: .55; }
.logo-strip-row svg { height: 26px; width: auto; color: var(--gray-600); }

/* -------------------- Division grid (home) -------------------- */
.division-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.division-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 28px 24px;
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  box-shadow: var(--shadow-md);
}
.division-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--grad, var(--grad-brand));
  transition: transform .6s var(--ease);
}
.division-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,11,28,0) 30%, rgba(6,11,28,0.75) 100%);
}
.division-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.division-card:hover::before { transform: scale(1.08); }
.division-card .dc-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,.3);
  display: grid; place-items: center; margin-bottom: auto;
  backdrop-filter: blur(6px);
}
.division-card .dc-icon svg { width: 22px; height: 22px; }
.division-card h3 { color: #fff; font-size: 20px; margin-top: 16px; }
.division-card p { color: rgba(255,255,255,0.78); font-size: 13.5px; margin-top: 6px; }
.division-card .dc-arrow {
  position: absolute; top: 22px; right: 22px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.14); display: grid; place-items: center;
  opacity: 0; transform: translate(-6px, 6px);
  transition: all .35s var(--ease);
}
.division-card:hover .dc-arrow { opacity: 1; transform: translate(0,0); }
.division-card .dc-arrow svg { width: 15px; height: 15px; }

@media (max-width: 1080px) { .division-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .division-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .division-grid { grid-template-columns: 1fr; } }

/* -------------------- Generic cards / grids -------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.service-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .sc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--grad, var(--grad-brand)); color: #fff;
  box-shadow: 0 10px 24px rgba(30,99,168,.25);
}
.service-card .sc-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { color: var(--gray-600); font-size: 14.5px; }
.service-card .sc-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  color: var(--brand-blue);
}
.service-card .sc-link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.service-card:hover .sc-link svg { transform: translateX(4px); }

/* Feature bullet row */
.feature-list { display: grid; gap: 16px; margin-top: 26px; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-item .fi-check {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: rgba(30,99,168,0.12); color: var(--brand-blue);
  display: grid; place-items: center; margin-top: 2px;
}
.feature-item .fi-check svg { width: 14px; height: 14px; }
.feature-item p { color: var(--gray-700); font-size: 15px; }

/* Two column content block */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
@media (max-width: 900px) {
  .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}
.split-media { position: relative; }
.media-panel {
  border-radius: var(--r-lg);
  aspect-ratio: 4/3.1;
  background: var(--grad, var(--grad-brand));
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.media-panel::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 20% 15%, rgba(255,255,255,0.28), transparent 55%);
}
.media-panel .mp-icon { color: rgba(255,255,255,0.92); position: relative; z-index: 1; }
.media-panel .mp-icon svg { width: 88px; height: 88px; stroke-width: 1.4; }
.media-panel .mp-badge {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px); border-radius: var(--r-md);
  padding: 14px 18px; color: #fff; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
}
.media-panel .mp-badge strong { font-family: var(--font-display); font-size: 22px; display: block; }
.media-panel .mp-badge span { font-size: 12px; color: rgba(255,255,255,.75); }

.split-content .eyebrow { margin-bottom: 12px; }
.split-content h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 16px; }
.split-content p { color: var(--gray-600); font-size: 16px; }

/* -------------------- Stats band -------------------- */
.stats-band { background: var(--navy-900); position: relative; overflow: hidden; }
.stats-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 90% 10%, rgba(30,99,168,0.35), transparent 60%),
              radial-gradient(40% 60% at 5% 90%, rgba(90,200,206,0.22), transparent 60%);
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-box { text-align: center; padding: 20px; }
.stat-box strong { font-family: var(--font-display); font-size: clamp(32px, 4vw, 46px); color: #fff; display: block; }
.stat-box span { color: rgba(255,255,255,0.6); font-size: 13.5px; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* -------------------- CTA band -------------------- */
.cta-band {
  background: var(--grad-brand);
  border-radius: var(--r-lg);
  padding: 64px 56px;
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr auto; align-items: center; gap: 32px;
  isolation: isolate;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 90% at 90% 0%, rgba(90,200,206,0.4), transparent 60%);
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); }
.cta-band p { color: rgba(255,255,255,0.8); margin-top: 10px; font-size: 15.5px; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; }
  .cta-band .cta-actions { justify-content: center; }
}

/* -------------------- Testimonials -------------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--gray-50);
  border-radius: var(--r-lg);
  padding: 30px;
  border: 1px solid var(--gray-100);
}
.testimonial-card .stars { display: flex; gap: 3px; margin-bottom: 16px; color: var(--brand-gold); }
.testimonial-card .stars svg { width: 16px; height: 16px; }
.testimonial-card p.quote { font-size: 15px; color: var(--gray-700); }
.testimonial-card .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testimonial-card .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-brand); display: grid; place-items: center;
  color: #fff; font-family: var(--font-display); font-weight: 700;
}
.testimonial-card .who strong { display: block; font-size: 14px; }
.testimonial-card .who span { font-size: 12.5px; color: var(--gray-500); }

/* -------------------- Sub-nav pills (division pages) -------------------- */
.subnav-wrap { position: sticky; top: var(--header-h); z-index: 30; background: #fff; border-bottom: 1px solid var(--gray-100); }
.subnav {
  display: flex; gap: 8px; padding: 14px 0; overflow-x: auto;
  scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav a {
  flex-shrink: 0; padding: 9px 18px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
  color: var(--gray-600); border: 1px solid var(--gray-200);
  transition: all .25s ease;
}
.subnav a:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.subnav a.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* -------------------- Footer -------------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); position: relative; overflow: hidden; }
.site-footer::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(40% 60% at 100% 0%, rgba(30,99,168,0.18), transparent 60%);
}
.footer-top { position: relative; padding: 72px 0 48px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 980px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14px; max-width: 280px; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.06); display: grid; place-items: center;
  transition: background .25s ease, transform .25s ease;
}
.footer-social a:hover { background: var(--brand-blue); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; color: #fff; }
.footer-col h4 { color: #fff; font-family: var(--font-display); font-size: 14px; margin-bottom: 18px; letter-spacing: .02em; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14px; transition: color .2s ease, padding-left .2s ease; }
.footer-col a:hover { color: #fff; padding-left: 3px; }
.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.45);
}
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: 20px; }

/* -------------------- Contact page bits -------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--gray-100); }
.contact-info-item .ci-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(30,99,168,0.1); color: var(--brand-blue); display: grid; place-items: center;
}
.contact-info-item .ci-icon svg { width: 20px; height: 20px; }
.contact-info-item strong { display: block; font-family: var(--font-display); font-size: 15px; }
.contact-info-item span { font-size: 14px; color: var(--gray-600); }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--navy-700); }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--gray-200); background: var(--gray-50);
  transition: border-color .25s ease, background .25s ease;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--brand-blue); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* -------------------- Reveal animation -------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: .08s; }
.reveal-delay-2.in-view { transition-delay: .16s; }
.reveal-delay-3.in-view { transition-delay: .24s; }
.reveal-delay-4.in-view { transition-delay: .32s; }

/* Page fade-in on route change */
#app { animation: pageIn .5s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Route progress bar */
#route-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-cta); z-index: 2000;
  transition: width .3s ease, opacity .3s ease;
}

/* -------------------- 404 -------------------- */
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.not-found strong { font-family: var(--font-display); font-size: clamp(72px, 14vw, 140px); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* -------------------- Utilities -------------------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }

/* -------------------- Responsive nav breakpoint -------------------- */
@media (max-width: 1080px) {
  .nav-primary, .header-actions .btn-outline { display: none; }
  .header-actions .btn-primary { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { grid-template-columns: auto 1fr auto; }
}
