/* =========================================================================
   Matukane Investment Holdings — Design System
   Brand: Royal Blue #00139b · Electric Blue #0011ff · Safety Amber #f5a524
   Style: Trust & Authority · Fonts: Lexend / Source Sans 3
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --brand-900: #00072e;
  --brand-800: #000d63;
  --brand-700: #00139b;   /* primary royal blue (logo) */
  --brand-600: #0a1fd1;
  --brand-500: #0011ff;   /* electric blue (logo accent) */
  --brand-400: #3a55ff;
  --brand-300: #7d90ff;

  /* Accent — safety amber (industrial / mining) */
  --amber-600: #d97e06;
  --amber-500: #f5a524;
  --amber-400: #ffba47;

  /* Neutrals — cool steel */
  --ink-900: #0a0e1f;
  --ink-800: #14182b;
  --ink-700: #1f2540;
  --slate-600: #475069;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd3e1;
  --slate-200: #e2e8f0;
  --slate-100: #eef2f8;
  --slate-50:  #f6f8fc;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--slate-50);
  --fg: var(--ink-800);
  --fg-muted: var(--slate-500);
  --border: var(--slate-200);
  --primary: var(--brand-700);
  --primary-deep: var(--brand-800);
  --on-primary: #ffffff;
  --accent: var(--amber-500);

  /* Type */
  --font-head: 'Lexend', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;

  /* Radius / shadow */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-sm: 0 1px 3px rgba(10,14,31,.08), 0 1px 2px rgba(10,14,31,.06);
  --shadow-md: 0 10px 30px -12px rgba(10,14,31,.25);
  --shadow-lg: 0 30px 60px -20px rgba(0,19,155,.35);
  --shadow-amber: 0 18px 40px -16px rgba(217,126,6,.55);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --nav-h: 92px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--ink-900); color: var(--slate-200); }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-weight: 600; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.section--ink .eyebrow { color: var(--amber-400); }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--fg-muted); font-size: 1.1rem; }
.section--ink .section-head p { color: var(--slate-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .2s ease, border-color .2s ease;
  min-height: 48px; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #221500; box-shadow: var(--shadow-amber); }
.btn--primary:hover { background: var(--amber-400); transform: translateY(-2px); }
.btn--brand { background: var(--primary); color: #fff; box-shadow: 0 18px 36px -16px rgba(0,19,155,.6); }
.btn--brand:hover { background: var(--brand-600); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--slate-300); }
.btn--outline:hover { border-color: var(--primary); background: var(--slate-50); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; min-height: 54px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 1000;
  display: flex; align-items: center;
  background: rgba(255,255,255,0);
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.nav.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--border), var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { height: 80px; width: auto; }
.nav__brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.05; color: var(--ink-900); }
.nav__brand-text span { display: block; font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600); }
.nav.on-dark:not(.scrolled) .nav__brand-text { color: #fff; }
.nav.on-dark:not(.scrolled) .nav__brand-text span { color: var(--amber-400); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  padding: 10px 16px; border-radius: 999px; color: var(--ink-800);
  transition: color .2s ease, background .2s ease;
}
.nav__links a:hover, .nav__links a.active { color: var(--brand-600); background: var(--slate-100); }
.nav.on-dark:not(.scrolled) .nav__links a { color: rgba(255,255,255,.86); }
.nav.on-dark:not(.scrolled) .nav__links a:hover,
.nav.on-dark:not(.scrolled) .nav__links a.active { color: #fff; background: rgba(255,255,255,.14); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__cta .btn { padding: 11px 22px; min-height: 44px; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--ink-900); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav.on-dark:not(.scrolled) .nav__toggle span { background: #fff; }

/* ---------- Services dropdown (mega-menu) ---------- */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__drop-trigger { display: inline-flex !important; align-items: center; gap: 6px; }
.nav__drop-trigger .chev { width: 15px; height: 15px; transition: transform .25s ease; }
.nav__item:hover .nav__drop-trigger .chev,
.nav__item:focus-within .nav__drop-trigger .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(6px) scale(.98); transform-origin: top center;
  width: min(580px, 92vw); background: #fff; border: 1px solid var(--border);
  border-radius: 18px; box-shadow: 0 30px 70px -24px rgba(10,14,31,.45); padding: 14px;
  opacity: 0; visibility: hidden; pointer-events: none; z-index: 1200;
  transition: opacity .2s ease, transform .22s cubic-bezier(.2,.7,.2,1), visibility .22s;
}
.dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 18px; }
.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0) scale(1); }

.dropdown__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; transition: background .18s ease; }
.dd-item:hover { background: var(--slate-100); }
.dd-ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--brand-700), var(--brand-500)); color: #fff; display: grid; place-items: center; }
.dd-ic svg { width: 21px; height: 21px; }
.dd-item.is-mining .dd-ic { background: linear-gradient(135deg, var(--amber-600), var(--amber-500)); }
.dd-tx b { font-family: var(--font-head); font-size: .96rem; color: var(--ink-900); display: block; line-height: 1.2; }
.dd-tx small { display: block; margin-top: 3px; font-size: .8rem; line-height: 1.45; color: var(--fg-muted); }

.dropdown__foot { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, var(--brand-800), var(--brand-600)); color: #fff; }
.dropdown__foot-tx b { font-family: var(--font-head); font-size: .98rem; display: block; }
.dropdown__foot-tx small { display: block; margin-top: 2px; font-size: .82rem; color: rgba(255,255,255,.82); }
.dropdown__foot .btn { padding: 11px 18px; min-height: 42px; font-size: .92rem; white-space: nowrap; }

/* mobile services sublist */
.mobile-menu .m-sub { display: grid; margin: 2px 0 10px; padding-left: 4px; border-left: 2px solid rgba(255,255,255,.12); }
.mobile-menu nav .m-sub a { font-size: 1.02rem; font-weight: 500; color: var(--slate-300); padding: 10px 0 10px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-menu nav .m-sub a:hover { color: var(--amber-400); }
.mobile-menu nav .m-sub a.m-sub__mining { color: var(--amber-400); font-weight: 600; border-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: clamp(540px, 74vh, 760px); display: flex; align-items: center;
  padding-top: var(--nav-h); color: #fff; isolation: isolate; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(0,7,46,.94) 0%, rgba(0,13,99,.86) 42%, rgba(0,19,155,.55) 100%),
    radial-gradient(120% 90% at 80% 10%, rgba(0,17,255,.35), transparent 60%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%);
}
.hero__inner { padding-block: clamp(18px, 2.5vh, 44px); max-width: 820px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  padding: 8px 16px 8px 8px; border-radius: 999px; backdrop-filter: blur(8px);
  font-family: var(--font-head); font-weight: 500; font-size: .85rem;
}
.hero__badge b { background: var(--accent); color: #221500; padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: .78rem; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); color: #fff; font-weight: 800; }
.hero h1 .accent { color: var(--amber-400); }
.hero__lead { margin-top: 16px; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.88); max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 56px); margin-top: 26px; }
.hero__stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; }
.hero__stat .num .accent { color: var(--amber-400); }
.hero__stat .label { font-size: .9rem; color: rgba(255,255,255,.7); letter-spacing: .02em; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll i { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.45); border-radius: 12px; position: relative; }
.hero__scroll i::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: var(--amber-400); border-radius: 2px; animation: scrolly 1.6s ease-in-out infinite; }
@keyframes scrolly { 0%,100% { opacity: 0; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, 8px); } }

/* ---------- Trust bar ---------- */
.trust { background: var(--ink-900); color: var(--slate-300); padding-block: 30px; border-bottom: 1px solid rgba(255,255,255,.06); }
.trust__inner { display: flex; align-items: center; gap: clamp(24px, 5vw, 60px); flex-wrap: wrap; justify-content: center; }
.trust__label { font-family: var(--font-head); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-400); }
.trust__logos { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 24px); flex-wrap: wrap; justify-content: center; }
.trust__logos img {
  height: 46px; width: auto; object-fit: contain;
  background: #fff; border-radius: 10px; padding: 8px 14px;
  opacity: .9; transition: opacity .25s ease, transform .25s ease;
}
.trust__logos img:hover { opacity: 1; transform: translateY(-2px); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.about__media .badge-card {
  position: absolute; left: -22px; bottom: -22px; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 18px 22px; display: flex; align-items: center; gap: 14px; max-width: 260px;
}
.about__media .badge-card .ring { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-700); color: #fff; font-family: var(--font-head); font-weight: 800; flex-shrink: 0; }
.about__media .badge-card b { font-family: var(--font-head); color: var(--ink-900); display: block; font-size: .98rem; }
.about__media .badge-card span { font-size: .85rem; color: var(--fg-muted); }
.about__media .accent-bar { position: absolute; top: -16px; right: -16px; width: 120px; height: 120px; border-top: 5px solid var(--accent); border-right: 5px solid var(--accent); border-radius: 0 var(--r-lg) 0 0; }
.about__body h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-top: 14px; }
.about__body p { margin-top: 18px; color: var(--fg-muted); }
.about__values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 28px; }
.about__values li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-family: var(--font-head); color: var(--ink-800); font-size: .98rem; }
.about__values .tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,19,155,.1); color: var(--brand-700); display: grid; place-items: center; }
.about__values svg { width: 15px; height: 15px; }

/* ---------- Differentiators ---------- */
.diff__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.diff-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 30px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.diff-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.diff-card .ic { width: 54px; height: 54px; border-radius: var(--r-sm); background: linear-gradient(135deg, var(--brand-700), var(--brand-500)); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.diff-card .ic svg { width: 26px; height: 26px; }
.diff-card h3 { font-size: 1.18rem; }
.diff-card p { margin-top: 10px; color: var(--fg-muted); font-size: .96rem; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; isolation: isolate; box-shadow: var(--shadow-md);
}
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,7,46,.05) 0%, rgba(0,7,46,.55) 55%, rgba(0,7,46,.96) 100%); transition: background .35s ease; }
.svc-card:hover img { transform: scale(1.08); }
.svc-card:hover::after { background: linear-gradient(180deg, rgba(0,19,155,.15) 0%, rgba(0,13,99,.72) 50%, rgba(0,7,46,.98) 100%); }
.svc-card__body { padding: 28px; }
.svc-card .tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: var(--accent); color: #221500; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.svc-card .tag.is-new { background: #fff; color: var(--brand-700); }
.svc-card .ic { width: 48px; height: 48px; border-radius: var(--r-sm); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; margin-bottom: 16px; backdrop-filter: blur(4px); }
.svc-card .ic svg { width: 24px; height: 24px; }
.svc-card h3 { color: #fff; font-size: 1.4rem; }
.svc-card p { margin-top: 10px; color: rgba(255,255,255,.82); font-size: .96rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .3s ease, margin .3s ease; }
.svc-card:hover p, .svc-card:focus-within p { max-height: 160px; opacity: 1; }
.svc-card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--amber-400); }
.svc-card .more svg { width: 16px; height: 16px; transition: transform .25s ease; }
.svc-card:hover .more svg { transform: translateX(4px); }

/* ---------- Stats band ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stats__item .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); color: #fff; line-height: 1; }
.stats__item .num .suffix { color: var(--amber-400); }
.stats__item .label { margin-top: 12px; color: var(--slate-400); font-size: .98rem; letter-spacing: .02em; }
.stats__item + .stats__item { position: relative; }

/* ---------- Mining feature ---------- */
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.feature__media img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 5/4; object-fit: cover; box-shadow: var(--shadow-lg); }
.feature__list { margin-top: 28px; display: grid; gap: 16px; }
.feature__list li { display: flex; gap: 14px; align-items: flex-start; }
.feature__list .n { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: rgba(245,165,36,.16); color: var(--amber-600); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.feature__list b { font-family: var(--font-head); color: var(--ink-900); }
.feature__list p { color: var(--fg-muted); font-size: .96rem; margin-top: 2px; }

/* ---------- Careers teaser ---------- */
.careers-cta { position: relative; overflow: hidden; border-radius: var(--r-xl); color: #fff; isolation: isolate; padding: clamp(40px, 6vw, 72px); }
.careers-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.careers-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(0,7,46,.95), rgba(0,19,155,.75)); }
.careers-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.careers-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 600px; }
.careers-cta p { margin-top: 14px; color: rgba(255,255,255,.85); max-width: 520px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.offices { display: grid; gap: 18px; }
.offices--grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.offices--grid .office { height: 100%; }
.office .note { display: inline-block; margin-top: 6px; font-family: var(--font-head); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-600); }
.office.primary .note { color: var(--amber-400); }
.contact-form-wrap { max-width: 780px; margin-inline: auto; margin-top: 48px; }
@media (max-width: 1024px) { .offices--grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .offices--grid { grid-template-columns: 1fr; } }
.office {
  display: flex; gap: 16px; padding: 22px; border: 1px solid var(--border); border-radius: var(--r-md); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.office:hover { border-color: var(--brand-300); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.office.primary { border-color: transparent; background: linear-gradient(135deg, var(--brand-800), var(--brand-600)); color: #fff; }
.office .pin { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; background: rgba(0,19,155,.1); color: var(--brand-700); display: grid; place-items: center; }
.office.primary .pin { background: rgba(255,255,255,.16); color: #fff; }
.office h4 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.office.primary h4 { color: #fff; }
.office .flag { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: #221500; padding: 2px 8px; border-radius: 999px; }
.office p { font-size: .94rem; color: var(--fg-muted); margin-top: 6px; }
.office.primary p { color: rgba(255,255,255,.8); }
.office a { color: inherit; font-weight: 600; }
.office .lines { margin-top: 8px; display: grid; gap: 4px; font-size: .92rem; }
.office .lines span { display: flex; align-items: center; gap: 8px; }
.office .lines svg { width: 15px; height: 15px; opacity: .7; flex-shrink: 0; }

/* Form */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 1.5rem; }
.form-card > p { color: var(--fg-muted); margin-top: 8px; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink-800); }
.field label .req { color: var(--amber-600); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink-900);
  padding: 13px 15px; border: 1.5px solid var(--slate-200); border-radius: var(--r-sm); background: var(--slate-50);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-500); background: #fff; box-shadow: 0 0 0 4px rgba(0,17,255,.1); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .85rem; color: var(--slate-500); margin-top: 6px; }
.form-status { margin-top: 14px; font-weight: 600; font-family: var(--font-head); display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #047857; }
.form-status.err { color: #b91c1c; }
.recaptcha-slot:empty { margin: 0; }

/* ---------- Careers page ---------- */
.page-hero { position: relative; padding-top: calc(var(--nav-h) + clamp(60px, 10vw, 120px)); padding-bottom: clamp(60px, 9vw, 120px); color: #fff; isolation: isolate; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgba(0,7,46,.95) 0%, rgba(0,13,99,.82) 55%, rgba(0,19,155,.5) 100%); }
.page-hero .eyebrow { color: var(--amber-400); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; margin-top: 14px; }
.page-hero p { margin-top: 18px; color: rgba(255,255,255,.86); max-width: 620px; font-size: 1.15rem; }
.breadcrumb { font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.breadcrumb a:hover { color: #fff; }

.perks__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.perk { padding: 28px; border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.perk:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.perk .ic { width: 48px; height: 48px; border-radius: 10px; background: rgba(0,19,155,.08); color: var(--brand-700); display: grid; place-items: center; margin-bottom: 16px; }
.perk h3 { font-size: 1.12rem; }
.perk p { margin-top: 8px; color: var(--fg-muted); font-size: .95rem; }

.jobs { display: grid; gap: 16px; }
.job {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between;
  padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--r-md); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.job:hover { border-color: var(--brand-300); box-shadow: var(--shadow-md); transform: translateX(4px); }
.job__main { flex: 1 1 320px; }
.job__title { font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; color: var(--ink-900); }
.job__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; color: var(--fg-muted); font-size: .9rem; }
.job__meta span { display: inline-flex; align-items: center; gap: 6px; }
.job__meta svg { width: 15px; height: 15px; opacity: .7; }
.job__dept { display: inline-block; font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); background: rgba(0,19,155,.08); padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.job__action { flex-shrink: 0; }
.jobs-empty { text-align: center; padding: 48px; border: 1.5px dashed var(--border); border-radius: var(--r-md); color: var(--fg-muted); }

/* ---------- Service detail rows (alternating) ---------- */
.feature--reverse .feature__media { order: 2; }
.feature--reverse .feature__body { order: 1; }
.feature__body .svc-ic { width: 56px; height: 56px; border-radius: var(--r-sm); background: linear-gradient(135deg, var(--brand-700), var(--brand-500)); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.feature__body .svc-ic svg { width: 28px; height: 28px; }
.feature__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.feature__chips span { font-family: var(--font-head); font-size: .85rem; font-weight: 600; color: var(--brand-700); background: rgba(0,19,155,.07); border: 1px solid rgba(0,19,155,.12); padding: 7px 14px; border-radius: 999px; }

/* ---------- CTA strip ---------- */
.cta-strip { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(48px, 7vw, 84px) 0; text-align: center; }
.cta-strip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, var(--brand-800), var(--brand-600)); }
.cta-strip::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%); }
.cta-strip h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 760px; margin-inline: auto; }
.cta-strip p { margin-top: 16px; color: rgba(255,255,255,.85); max-width: 560px; margin-inline: auto; }
.cta-strip .hero__actions { justify-content: center; margin-top: 30px; }

/* ---------- Mini cards (values / approach) ---------- */
.mini__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mini { padding: 28px; border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mini .ic { width: 50px; height: 50px; border-radius: 10px; background: rgba(0,19,155,.08); color: var(--brand-700); display: grid; place-items: center; margin-bottom: 16px; }
.mini h3 { font-size: 1.14rem; }
.mini p { margin-top: 8px; color: var(--fg-muted); font-size: .95rem; }

@media (max-width: 1024px) { .mini__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .mini__grid { grid-template-columns: 1fr; } }

/* ---------- Partners (social projects) ---------- */
.partners__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--brand-300); }
.partner-card .logo {
  width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500)); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; overflow: hidden; flex-shrink: 0;
}
.partner-card .logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.partner-card h3 { font-size: 1.22rem; }
.partner-card .role { font-family: var(--font-head); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); margin-top: 4px; }
.partner-card p { margin-top: 12px; color: var(--fg-muted); font-size: .96rem; flex: 1; }
.partner-card .btn { margin-top: 20px; align-self: flex-start; }

@media (max-width: 1024px) { .partners__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .partners__grid { grid-template-columns: 1fr; } }

/* Featured single partner */
.partner-feature {
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-md);
}
.partner-feature .pf-logo { display: grid; place-items: center; background: linear-gradient(135deg, #e9f6ee, #f3f8fc); border: 1px solid var(--slate-200); border-radius: var(--r-md); padding: 40px 28px; min-height: 220px; }
.partner-feature .pf-logo img { max-width: 280px; width: 100%; height: auto; }
.partner-feature .pf-body .role { display: inline-block; }
.partner-feature .pf-body h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-top: 6px; }
.partner-feature .pf-body p { margin-top: 14px; color: var(--fg-muted); }
.partner-feature .pf-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .partner-feature { grid-template-columns: 1fr; } .partner-feature .pf-logo { min-height: 160px; } }

/* Photo gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(32px, 5vw, 52px); }
.gallery figure { margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-sm); background: var(--slate-100); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.06); }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- Accreditations strip ---------- */
.accred__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 68px); }
.accred__item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.accred__item img { height: clamp(64px, 8vw, 88px); width: auto; object-fit: contain; opacity: .92; transition: opacity .2s ease, transform .2s ease; }
.accred__item:hover img { opacity: 1; transform: translateY(-3px); }
.accred__item span { font-family: var(--font-head); font-size: .76rem; font-weight: 600; letter-spacing: .04em; color: var(--slate-500); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-900); color: var(--slate-400); padding-top: clamp(56px, 7vw, 88px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand img { height: 46px; filter: brightness(0) invert(1); }
.footer__brand p { margin-top: 18px; max-width: 320px; font-size: .96rem; }
.footer__social { display: flex; gap: 12px; margin-top: 22px; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: var(--slate-300); transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.footer__social a:hover { background: var(--brand-600); color: #fff; border-color: var(--brand-600); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer__links li { margin-bottom: 11px; }
.footer__links a { font-size: .96rem; transition: color .2s ease; }
.footer__links a:hover { color: var(--amber-400); }
.footer__contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: .94rem; }
.footer__contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--amber-400); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 24px; font-size: .88rem; }
.footer__bottom .bee { display: inline-flex; align-items: center; gap: 8px; color: var(--slate-300); }
.footer__bottom .bee b { color: var(--amber-400); }
.footer__motto { text-align: center; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--slate-500); padding-bottom: 22px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1100; background: var(--ink-900); color: #fff;
  display: flex; flex-direction: column; padding: 28px var(--gutter);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__top img { height: 40px; filter: brightness(0) invert(1); }
.mobile-menu__close { background: none; border: 0; color: #fff; padding: 8px; }
.mobile-menu__close svg { width: 30px; height: 30px; }
.mobile-menu nav { margin-top: 48px; display: grid; gap: 6px; }
.mobile-menu nav a { font-family: var(--font-head); font-weight: 600; font-size: 1.6rem; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; }
.mobile-menu nav a:hover { color: var(--amber-400); }
.mobile-menu__cta { margin-top: auto; display: grid; gap: 12px; }
.mobile-menu__cta .btn { width: 100%; }

body.no-scroll { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .diff__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta .btn--brand { display: none; }
  .nav__toggle { display: flex; }
  .about__grid, .feature__grid, .contact__grid { grid-template-columns: 1fr; }
  .feature__media { order: -1; }
  .perks__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .diff__grid, .services__grid { grid-template-columns: 1fr; }
  .about__values { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .careers-cta__inner { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
