/* ============ Design Tokens ============ */
:root {
  --navy-950: #060f26;
  --navy-900: #0b1a3a;
  --navy-800: #11235a;
  --navy-700: #16307a;
  --blue-600: #1e49c9;
  --blue-500: #2f6fed;
  --blue-100: #e8effe;
  --gold-500: #f2a900;
  --gold-600: #d99400;
  --ink-900: #131a2b;
  --ink-700: #3c465c;
  --ink-500: #6b7690;
  --bg-alt: #f5f7fc;
  --white: #ffffff;
  --border: #e3e8f4;

  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(11, 26, 58, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 26, 58, 0.10);
  --shadow-lg: 0 20px 50px rgba(11, 26, 58, 0.18);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

/* ============ Reset ============ */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 .5em; color: var(--navy-900); line-height: 1.25; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
svg { width: 100%; height: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ============ Preloader ============ */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-wave {
  width: 54px; height: 54px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.15);
  border-top-color: var(--gold-500);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 2px solid transparent; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue-500); color: #fff; }
.btn-primary:hover { background: var(--blue-600); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--gold-500); color: var(--navy-950); }
.btn-accent:hover { background: var(--gold-600); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-block { width: 100%; }

/* ============ Top bar ============ */
.topbar { background: var(--navy-950); color: #cfd9f4; font-size: 0.82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 20px; gap: 10px; flex-wrap: wrap; }
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-info a { display: inline-flex; align-items: center; gap: 6px; opacity: 0.9; transition: opacity var(--transition); }
.topbar-info a:hover { opacity: 1; color: var(--gold-500); }
.topbar-tagline { opacity: 0.75; }
.icon-phone::before { content: "\260E"; }
.icon-mail::before { content: "\2709"; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-head); color: var(--navy-900); font-size: 1.05rem; letter-spacing: 0.5px; }
.brand-text small { color: var(--ink-500); font-size: 0.66rem; letter-spacing: 0.6px; font-weight: 600; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { display: flex; gap: 26px; }
.nav-link { font-weight: 500; color: var(--ink-700); font-size: 0.94rem; position: relative; padding: 4px 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--blue-500); transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--navy-900); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { padding: 10px 22px; font-size: 0.9rem; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; padding: 0;
}
.nav-toggle span { width: 100%; height: 2.5px; background: var(--navy-900); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; color: #fff; padding-top: 90px; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(47,111,237,0.55), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(242,169,0,0.25), transparent 40%),
    linear-gradient(135deg, rgba(6,15,38,0.62), rgba(17,35,90,0.46) 60%, rgba(22,48,122,0.32)),
    url('../assets/images/bmu-cradle-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.hero-inner { padding: 70px 20px 60px; max-width: 820px; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 2px; font-size: 0.78rem;
  font-weight: 700; color: var(--gold-500); background: rgba(242,169,0,0.12);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; margin-bottom: 20px; }
.hero-sub { font-size: 1.08rem; color: #cfd9f4; max-width: 640px; }
.hero-slogan { font-style: italic; color: var(--gold-500); font-weight: 600; font-size: 1.05rem; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }

.hero-stats { position: relative; border-top: 1px solid rgba(255,255,255,0.12); padding: 30px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-line { display: flex; align-items: baseline; gap: 2px; }
.stat-num, .stat-plus, .stat-badge { font-family: var(--font-head); font-weight: 800; color: var(--gold-500); }
.stat-num { font-size: 2.2rem; }
.stat-plus { font-size: 1.6rem; }
.stat-badge { font-size: 1.5rem; background: var(--gold-500); color: var(--navy-950); padding: 2px 14px; border-radius: 8px; }
.stat-label { font-size: 0.82rem; color: #b8c5ea; margin-top: 6px; }

/* ============ Sections ============ */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: #e5eafb;
}
.section-dark .section-title, .section-dark h3 { color: #fff; }
.section-dark .section-lead { color: #b8c5ea; }

.section-eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; font-weight: 700;
  color: var(--blue-500); margin-bottom: 10px;
}
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.section-lead { color: var(--ink-500); max-width: 620px; font-size: 1.02rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ============ About ============ */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; margin-bottom: 70px; }
.check-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 500; color: var(--ink-700); }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; background: var(--blue-500); color: #fff;
  font-size: 0.7rem; display: flex; align-items: center; justify-content: center;
}
.iso-card {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff; border-radius: var(--radius); padding: 40px 34px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.iso-card::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(242,169,0,0.15); top: -80px; right: -80px;
}
.iso-badge {
  width: 64px; height: 64px; border-radius: 50%; background: var(--gold-500); color: var(--navy-950);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-head);
  margin-bottom: 18px; position: relative; z-index: 1;
}
.iso-card h3 { color: #fff; position: relative; z-index: 1; }
.iso-card p { color: #cfd9f4; position: relative; z-index: 1; margin-bottom: 0; }
.iso-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 18px 0 0; position: relative; z-index: 1; }
.iso-tags li { color: #cfd9f4; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.02em; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); padding: 6px 14px; border-radius: 6px; }
.why-card .iso-tags { margin-top: 14px; }
.why-card .iso-tags li { color: var(--ink-700); border: 1px solid var(--border); background: var(--blue-100); }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.mv-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mv-icon { width: 46px; height: 46px; color: var(--blue-500); margin-bottom: 16px; }
.mv-card p { color: var(--ink-500); margin-bottom: 0; }

/* ============ Our Equipment ============ */
.equipment-section {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
}
.equipment-section .section-eyebrow { color: var(--gold-500); }
.equipment-section .section-title { color: #fff; }
.equipment-section .section-lead { color: #b8c5ea; margin-left: auto; margin-right: auto; }

.equipment-bg { position: absolute; inset: 0; z-index: 0; }
.equipment-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.4s ease;
  background-size: cover;
  background-position: center;
}
.equipment-slide.is-active { opacity: 1; }
.equipment-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6,15,38,0.55), rgba(6,15,38,0.85));
}
.equipment-inner { position: relative; z-index: 2; }

.equipment-layout { display: flex; align-items: stretch; gap: 32px; margin-top: 46px; }

.equipment-grid {
  display: flex; flex-direction: column; gap: 10px; flex: 0 0 240px;
}
.equipment-item {
  text-align: left;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius);
  padding: 14px 18px; color: #e5eafb; font: inherit; font-size: 0.86rem; font-weight: 500; cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.equipment-item:hover { transform: translateX(4px); border-color: rgba(242,169,0,0.5); }
.equipment-item.is-active {
  background: rgba(242,169,0,0.14); border-color: var(--gold-500); color: #fff;
}

.equipment-detail {
  position: relative; flex: 1; min-height: 600px;
  background: linear-gradient(135deg, rgba(6,15,38,0.55), rgba(6,15,38,0.3));
  border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius);
  padding: 36px;
  display: flex; align-items: flex-end;
}
.equipment-detail-item {
  position: absolute; inset: 36px; display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transform: translateY(8px); transition: opacity 0.5s ease, transform 0.5s ease; pointer-events: none;
}
.equipment-detail-item.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.equipment-detail-item h3 { color: #fff; font-size: 1.4rem; margin-bottom: 12px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.equipment-detail-item p { color: #e5eafb; font-size: 1rem; margin: 0; max-width: 56ch; text-shadow: 0 1px 8px rgba(0,0,0,0.55); }

.equipment-gallery {
  position: absolute; top: 0; right: 0; bottom: 130px; left: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.equipment-gallery img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.35); box-shadow: 0 8px 22px rgba(0,0,0,0.4);
  display: block; min-height: 0;
}

@media (max-width: 760px) {
  .equipment-layout { flex-direction: column; }
  .equipment-grid { flex-direction: row; flex-wrap: wrap; flex: none; }
  .equipment-item { flex: 1 1 calc(50% - 5px); }
  .equipment-detail { padding: 24px; min-height: 360px; }
  .equipment-detail-item { inset: 24px; }
  .equipment-detail-item p { max-width: none; }
  .equipment-gallery {
    position: static; margin-top: 16px; width: auto; inset: auto;
    grid-template-columns: repeat(4, 1fr); grid-template-rows: none; gap: 6px;
  }
  .equipment-gallery img { height: auto; aspect-ratio: 1 / 1; }
}

/* ============ Services ============ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 50px; }
.service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-500); }
.service-icon {
  width: 52px; height: 52px; color: var(--blue-500); background: var(--blue-100);
  border-radius: 12px; padding: 10px; margin-bottom: 18px; transition: background var(--transition), color var(--transition);
}
.service-card:hover .service-icon { background: var(--blue-500); color: #fff; }
.service-card h3 { font-size: 1.1rem; }
.service-card p { color: var(--ink-500); font-size: 0.94rem; margin-bottom: 0; }
.service-card--clickable { cursor: pointer; }
.service-card--clickable:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; }
.service-card-more {
  display: block; margin-top: 14px; font-weight: 600; font-size: 0.88rem; color: var(--blue-500);
}

/* ============ Why Us ============ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.why-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px;
  position: relative; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--blue-100); -webkit-text-stroke: 1.5px var(--blue-500); display: block; margin-bottom: 10px; }
.why-card h3 { font-size: 1.05rem; }
.why-card p { color: var(--ink-500); font-size: 0.93rem; margin-bottom: 0; }

/* ============ Our Team ============ */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 50px; }
.team-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  flex: 1 1 300px; max-width: 340px;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-500); }
.team-avatar {
  width: 68px; height: 68px; color: var(--navy-900); background: var(--blue-100);
  border-radius: 50%; padding: 15px; margin: 0 auto 18px;
}
.team-name { font-size: 1.1rem; margin-bottom: 2px; }
.team-title {
  color: var(--gold-600); font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 20px;
}
.team-contact { display: flex; flex-direction: column; gap: 10px; }
.team-contact-item {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--ink-500); font-size: 0.88rem; transition: color var(--transition);
}
.team-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--blue-500); }
.team-contact-item:hover { color: var(--blue-500); }
.team-landline { margin-top: 36px; color: var(--ink-500); font-weight: 600; font-size: 0.95rem; }
.team-landline + .team-landline { margin-top: 10px; }
.team-landline a { color: var(--navy-900); transition: color var(--transition); }
.team-landline a:hover { color: var(--blue-500); }

/* ============ Clients ============ */
.clients-grid { margin-top: 50px; }
.client-group { margin-top: 36px; }
.client-group:first-child { margin-top: 0; }
.client-group-title {
  font-size: 0.85rem; font-weight: 700; color: var(--navy-900); text-transform: uppercase;
  letter-spacing: 0.8px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.client-group-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: none; padding: 0; margin: 0; font: inherit; color: inherit;
  text-transform: inherit; letter-spacing: inherit; cursor: pointer; transition: color var(--transition);
}
.client-group-toggle:hover { color: var(--blue-500); }
.client-group-chevron { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--transition); }
.client-group-toggle[aria-expanded="true"] .client-group-chevron { transform: rotate(180deg); }
.client-group-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.client-chip {
  position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px;
  font-size: 0.88rem; font-weight: 500; color: var(--ink-700); text-align: center;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.client-chip:hover { border-color: var(--blue-500); color: var(--navy-900); transform: translateY(-2px); }
.client-hidden { display: none; }
.client-group.expanded .client-hidden { display: block; }

.client-chip.has-logo { display: flex; align-items: center; justify-content: center; min-height: 78px; padding: 10px; }
.client-chip.has-logo .client-chip-logo { max-width: 100%; max-height: 44px; object-fit: contain; }
.client-chip.has-logo .client-chip-name {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: var(--white); border-radius: inherit; padding: 10px; opacity: 0; pointer-events: none;
  font-size: 0.78rem; line-height: 1.25; overflow-wrap: break-word; transition: opacity var(--transition);
}
.client-chip.has-logo:hover .client-chip-name { opacity: 1; }
.client-chip.has-logo.dark-logo { background: #0a0a0a; border-color: #0a0a0a; }
.client-group.expanded .client-chip.has-logo.dark-logo { background: var(--white); border-color: var(--border); }
.client-group.expanded .client-chip.has-logo { display: block; padding: 16px 18px; min-height: 0; }
.client-group.expanded .client-chip.has-logo .client-chip-logo { display: none; }
.client-group.expanded .client-chip.has-logo .client-chip-name {
  position: static; display: block; opacity: 1; background: none; padding: 0; pointer-events: auto;
  font-size: 0.88rem; line-height: inherit;
}
.clients-extra-groups { margin-top: 36px; }
.clients-toggle-wrap { display: flex; justify-content: center; margin-top: 40px; }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; margin-top: 50px; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0; color: var(--gold-500);
  background: rgba(242,169,0,0.12); border-radius: 10px; padding: 9px;
}
.contact-item h3 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.contact-item p { color: #b8c5ea; margin-bottom: 0; font-size: 0.94rem; }
.contact-item a:hover { color: var(--gold-500); }

.contact-form-wrap { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-lg); }
.contact-form h3 { color: var(--navy-900); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-700); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 0.95rem; color: var(--ink-900); transition: border-color var(--transition);
  background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue-500);
}
.form-group textarea { resize: vertical; }
.form-note { margin-top: 12px; font-size: 0.88rem; font-weight: 600; min-height: 1em; }
.form-note.success { color: #1a8f4c; }
.form-note.error { color: #d3342d; }

.map-wrap { margin-top: 60px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-950); color: #a9b6da; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr 1fr; gap: 40px; padding: 60px 20px 40px; }
.footer-logo { width: 44px; height: 44px; object-fit: contain; margin-bottom: 14px; background: #fff; border-radius: 8px; padding: 4px; }
.footer-brand p { color: #8b98bd; font-size: 0.9rem; }
.footer-brand p strong { color: #fff; }
.footer-links h4, .footer-services h4, .footer-contact h4, .footer-career h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-links ul, .footer-services ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-services a { font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover, .footer-services a:hover { color: var(--gold-500); }
.footer-contact p, .footer-career p { font-size: 0.9rem; margin-bottom: 10px; }
.footer-contact a:hover, .footer-career a:hover { color: var(--gold-500); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; }
.footer-bottom-inner { text-align: center; font-size: 0.82rem; color: #6f7ba0; }

/* ============ Back to top ============ */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue-500); color: #fff; border: none; font-size: 1.2rem; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background var(--transition);
  z-index: 800;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--navy-800); }

/* ============ Service Detail Modal ============ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000; background: rgba(6,15,38,0.65);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity var(--transition), visibility var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-overlay[hidden] { display: flex; }
.modal-dialog {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  max-width: 560px; width: 100%; padding: 40px 36px; position: relative;
  max-height: 85vh; overflow-y: auto;
  transform: translateY(20px) scale(0.98); transition: transform var(--transition);
}
.modal-overlay.open .modal-dialog { transform: translateY(0) scale(1); }
.modal-dialog h3 { font-size: 1.3rem; margin-bottom: 14px; padding-right: 20px; }
.modal-dialog p { color: var(--ink-500); }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-alt); color: var(--ink-700); border: none; font-size: 1.3rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background var(--transition), color var(--transition);
}
.modal-close:hover { background: var(--blue-500); color: #fff; }
body.modal-lock { overflow: hidden; }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .client-group-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .primary-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 82vw);
    background: #fff; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 100px 30px 30px; box-shadow: -10px 0 40px rgba(11,26,58,0.15);
    transform: translateX(100%); transition: transform var(--transition);
    gap: 30px;
  }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav ul { flex-direction: column; gap: 22px; }
  .nav-cta { width: 100%; }
  .nav-toggle { display: flex; }
  .topbar-tagline { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 700px) {
  .section { padding: 60px 0; }
  .hero-inner { padding: 40px 20px 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .team-card { flex-basis: 100%; max-width: 420px; }
  .client-group-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; padding: 50px 20px 30px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}

@media (max-width: 420px) {
  .client-group-grid { grid-template-columns: 1fr 1fr; }
  .brand-text small { display: none; }
}
