/* ==========================================================================
   PHIREZ INTERNATIONAL LIMITED — Design System
   Navy + white + brand-blue accent (gold used sparingly). Mirrors Optron's
   two-mode section system (light / navy-dark) and component language.
   ========================================================================== */

:root {
  /* Brand colors */
  --navy-950: #0A1F3D;
  --navy-900: #0C2444;
  --navy-800: #122B4F;
  --brand-blue: #139CD8;
  --brand-blue-dark: #0F7CAE;
  --brand-blue-light: #4DB8E8;
  --accent-gold: #F2A93B;
  --accent-gold-dark: #D6901F;
  --white: #FFFFFF;
  --off-white: #F7F9FC;
  --slate-700: #3D4A5C;
  --slate-400: #5F6B7C;
  --border-light: #E4E9F0;
  --border-dark: rgba(255,255,255,0.14);

  /* Type */
  --font-display: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Rhythm */
  --section-pad: clamp(64px, 9vw, 120px);
  --container-w: 1280px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-card: 0 8px 30px rgba(10, 31, 61, 0.08);
  --shadow-lift: 0 20px 50px rgba(10, 31, 61, 0.14);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-950); margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0; }
.no-js-warning { display: none; }
html:not(.js) .no-js-warning { display: block; }

/* ---------- Type scale ---------- */
h1, .h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2, .h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); letter-spacing: -0.01em; }
h3, .h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.body-lg { font-size: 1.125rem; line-height: 1.65; }
.body-md { font-size: 1rem; line-height: 1.7; }
.label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.text-muted { color: var(--slate-400); }
.on-dark { color: var(--white); }
.on-dark .text-muted, .section-dark .text-muted { color: rgba(255,255,255,0.6); }

/* ---------- Layout ---------- */
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
section { padding: var(--section-pad) 0; position: relative; }
.section-dark { background: var(--navy-950); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-alt { background: var(--off-white); }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.text-accent { color: var(--brand-blue); }
.section-dark .text-accent, .on-dark .text-accent { color: var(--brand-blue-light); }

/* ---------- Eyebrow / pill badge ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy-950);
  margin-bottom: 20px;
}
.section-dark .eyebrow, .on-dark .eyebrow { border-color: var(--border-dark); color: var(--white); }
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-blue);
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: 1.5px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform 0.25s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(4px); }

.btn-solid { background: var(--brand-blue); color: var(--white); }
.btn-solid:hover { background: var(--brand-blue-dark); }

.btn-navy { background: var(--navy-950); color: var(--white); }
.btn-navy:hover { background: var(--navy-800); }

.btn-white { background: var(--white); color: var(--navy-950); }
.btn-white:hover { background: var(--off-white); }

.btn-outline { background: transparent; border-color: var(--border-light); color: var(--navy-950); }
.btn-outline:hover { background: var(--navy-950); border-color: var(--navy-950); color: var(--white); }

.section-dark .btn-outline, .on-dark .btn-outline { border-color: var(--border-dark); color: var(--white); }
.section-dark .btn-outline:hover, .on-dark .btn-outline:hover { background: var(--white); color: var(--navy-950); }

.btn-outline-accent { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline-accent:hover { background: var(--white); color: var(--brand-blue-dark); }

.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header.is-solid {
  background: var(--navy-950);
  padding: 14px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.site-header.nav-open { background: transparent; box-shadow: none; }

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--white); z-index: 20; }
.logo .mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo .word span { color: var(--brand-blue-light); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.menu-trigger {
  display: flex; align-items: center; gap: 10px;
  background: transparent; border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white); padding: 10px 10px 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem; font-weight: 600;
  z-index: 20;
  transition: border-color 0.25s var(--ease);
}
.menu-trigger:hover { border-color: var(--white); }
.menu-trigger .burger {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.menu-trigger .burger span { width: 14px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-open .menu-trigger .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-trigger .burger span:nth-child(2) { opacity: 0; }
.nav-open .menu-trigger .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-open .menu-trigger .menu-label::after { content: 'Close'; }
.menu-label::after { content: 'Menu'; }
.nav-open .menu-label { font-size: 0; }
.nav-open .menu-label::after { font-size: 0.875rem; }

/* ---------- Full-screen nav overlay ---------- */
.nav-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: var(--navy-950);
  visibility: hidden; opacity: 0;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
  overflow-y: auto;
}
.nav-overlay.is-open { visibility: visible; opacity: 1; }
.nav-overlay-inner {
  min-height: 100vh;
  display: flex; flex-direction: column;
  padding: 110px 24px 40px;
  max-width: var(--container-w);
  margin: 0 auto;
}
.nav-panels { position: relative; flex: 1; }
.nav-panel {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.nav-panel.is-active { position: relative; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }

.nav-main-list { display: flex; flex-direction: column; gap: 4px; }
.nav-main-list li { border-bottom: 1px solid var(--border-dark); }
.nav-main-list a, .nav-main-list button.nav-expand {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: none; text-align: left;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--white);
  transition: color 0.25s var(--ease);
}
.nav-main-list a:hover, .nav-main-list button.nav-expand:hover { color: var(--brand-blue-light); }
.nav-main-list .chevron { width: 20px; height: 20px; opacity: 0.6; flex-shrink: 0; transition: transform 0.25s var(--ease); }
.nav-main-list button.nav-expand:hover .chevron { transform: translateX(4px); }

.nav-back {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 0.9375rem; font-weight: 600; margin-bottom: 28px;
}
.nav-back:hover { color: var(--white); }
.nav-back svg { transform: rotate(180deg); width: 16px; height: 16px; }

.nav-panel-heading { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.nav-panel-sub { color: rgba(255,255,255,0.55); margin-bottom: 32px; max-width: 560px; }

.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mega-tile {
  background: var(--navy-800);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.mega-tile:hover { background: #17396a; transform: translateY(-3px); }
.mega-tile .num { color: var(--brand-blue-light); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; }
.mega-tile h4 { color: var(--white); font-size: 1rem; margin: 10px 0 6px; }
.mega-tile p { color: rgba(255,255,255,0.55); font-size: 0.8125rem; line-height: 1.5; }

.mega-divider { border: none; border-top: 1px solid var(--border-dark); margin: 36px 0 28px; }
.mega-logos { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.mega-logo-tile {
  background: var(--navy-800); border: 1px solid var(--border-dark); border-radius: var(--radius-sm);
  padding: 16px 8px; text-align: center; color: rgba(255,255,255,0.8);
  font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.mega-logo-tile:hover { background: var(--brand-blue); color: var(--white); }

.feature-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-card {
  background: var(--navy-800); border: 1px solid var(--border-dark); border-radius: var(--radius-lg);
  padding: 32px; transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); background: #17396a; }
.feature-card .tag { color: var(--brand-blue-light); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.feature-card h3 { color: var(--white); margin: 14px 0 10px; }
.feature-card p { color: rgba(255,255,255,0.6); }

.nav-overlay-footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--border-dark);
}
.nav-social { display: flex; gap: 12px; }
.nav-social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  transition: background 0.25s var(--ease);
}
.nav-social a:hover { background: var(--brand-blue); border-color: var(--brand-blue); }
.nav-search { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border-dark); padding-bottom: 8px; min-width: 260px; }
.nav-search input { background: none; border: none; color: var(--white); font-size: 0.9375rem; width: 100%; }
.nav-search input::placeholder { color: rgba(255,255,255,0.4); }
.nav-search svg { color: rgba(255,255,255,0.5); flex-shrink: 0; }

body.nav-locked { overflow: hidden; }

/* ---------- Logo marquee ---------- */
.marquee-wrap { overflow: hidden; position: relative; display: flex; }
.marquee-wrap::before, .marquee-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(270deg, var(--white), transparent); }
.section-alt .marquee-wrap::before { background: linear-gradient(90deg, var(--off-white), transparent); }
.section-alt .marquee-wrap::after { background: linear-gradient(270deg, var(--off-white), transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
html:not(.js) .marquee-track { animation: none; }
.marquee-item {
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem;
  color: var(--slate-400); white-space: nowrap; letter-spacing: 0.01em;
  filter: grayscale(1); opacity: 0.75; transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}
.marquee-item:hover { opacity: 1; color: var(--navy-950); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border-light); margin-top: 48px; }
.stat { padding: 32px 24px 0; border-left: 1px solid var(--border-light); }
.stat:first-child { border-left: none; }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 700; color: var(--navy-950); display: flex; align-items: baseline; gap: 2px; }
.stat .suffix { color: var(--brand-blue); }
.stat .label { display: block; margin-top: 8px; color: var(--slate-400); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 0.9375rem; }
.section-dark .stat-row, .section-dark .stat { border-color: var(--border-dark); }
.section-dark .stat .num { color: var(--white); }

/* ---------- Icon tiles / cards ---------- */
.icon-tile {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--brand-blue); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-tile svg { width: 26px; height: 26px; color: var(--white); }
.icon-tile.gold { background: var(--accent-gold); }

.card {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 32px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card h3 { margin: 20px 0 10px; font-size: 1.25rem; }
.card p { color: var(--slate-700); line-height: 1.6; }
.card-dark { background: var(--navy-800); border-color: var(--border-dark); }
.card-dark h3 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,0.65); }

/* ---------- Sticky industries section ---------- */
.sticky-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.sticky-col { position: sticky; top: 120px; }
.scroll-col { display: flex; flex-direction: column; gap: 20px; }
.industry-row {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--border-light);
  background: var(--white); transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.industry-row:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-card); }
.industry-row .num { font-family: var(--font-display); font-weight: 700; color: var(--slate-400); font-size: 0.875rem; min-width: 28px; }

/* ---------- Numbered carousel ---------- */
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.carousel-controls { display: flex; align-items: center; gap: 18px; }
.carousel-count { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--navy-950); }
.section-dark .carousel-count { color: var(--white); }
.carousel-count .current { color: var(--brand-blue-dark); }
.carousel-count .sep { color: var(--slate-400); margin: 0 2px; }
.carousel-arrows { display: flex; gap: 10px; }
.carousel-arrow {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light); background: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
  color: var(--navy-950);
}
.carousel-arrow:hover { background: var(--brand-blue); border-color: var(--brand-blue); color: var(--white); }
.section-dark .carousel-arrow { border-color: var(--border-dark); color: var(--white); }
.swiper { overflow: visible; }
.swiper-slide { height: auto; }
.solution-slide {
  border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 36px; height: 100%; background: var(--white);
  display: flex; flex-direction: column;
}
.solution-slide .slide-num { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; color: var(--brand-blue-dark); margin-bottom: 24px; }

/* ---------- CTA bands ---------- */
.cta-band {
  background: var(--brand-blue); color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); max-width: 640px; }
.cta-band.navy { background: var(--navy-950); }
.cta-band .btn-solid { background: var(--white); color: var(--navy-950); }
.cta-band .btn-solid:hover { background: var(--off-white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding: 80px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { margin-top: 18px; max-width: 300px; line-height: 1.7; color: rgba(255,255,255,0.55); }
.footer-col h4 { color: var(--white); font-size: 0.9375rem; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.9375rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-blue-light); }
.footer-col .contact-line { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,0.6); font-size: 0.9375rem; line-height: 1.5; }
.footer-col .contact-line svg { flex-shrink: 0; margin-top: 2px; color: var(--brand-blue-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 28px; border-top: 1px solid var(--border-dark); font-size: 0.8125rem; }
.footer-bottom .legal-links { display: flex; gap: 20px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.875rem; font-weight: 600; color: var(--navy-950); }
.form-field input, .form-field select, .form-field textarea {
  padding: 14px 16px; border: 1.5px solid var(--border-light); border-radius: var(--radius-sm);
  font-size: 0.9375rem; color: var(--navy-950); background: var(--white);
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--brand-blue); outline: none; }
.form-field .error-msg { color: #C0392B; font-size: 0.8125rem; display: none; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: #C0392B; }
.form-field.has-error .error-msg { display: block; }
.form-status { margin-top: 20px; padding: 16px 20px; border-radius: var(--radius-sm); font-size: 0.9375rem; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #E7F7EE; color: #1E7E42; border: 1px solid #B7E7C9; }
.form-status.error { background: #FBEAEA; color: #B23A2E; border: 1px solid #F1C0BA; }

/* ---------- Misc components ---------- */
.hero {
  min-height: 92vh; display: flex; align-items: flex-end;
  padding-top: 160px; padding-bottom: 90px;
  position: relative; color: var(--white); overflow: hidden;
  background: var(--navy-950);
}
.hero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero .hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero .hero-sub { max-width: 560px; margin: 22px 0 34px; font-size: 1.125rem; line-height: 1.7; color: rgba(255,255,255,0.8); }

.page-hero {
  min-height: 56vh; display: flex; align-items: flex-end;
  padding-top: 150px; padding-bottom: 60px;
  position: relative; color: var(--white); background: var(--navy-950); overflow: hidden;
}
.page-hero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .hero-content { position: relative; z-index: 2; max-width: 720px; }
.breadcrumb { font-size: 0.875rem; color: rgba(255,255,255,0.55); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--white); }

.divider-line { border: none; border-top: 1px solid var(--border-light); }

[data-aos] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-aos].aos-in { opacity: 1; transform: none; }
html:not(.js) [data-aos] { opacity: 1; transform: none; }

.count-target { display: inline-block; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.value-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-item h4 { font-size: 1.0625rem; margin-bottom: 4px; }
.value-item p { font-size: 0.9375rem; color: var(--slate-700); }

.team-card { text-align: left; }
.team-photo {
  aspect-ratio: 4/5; border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--navy-900), var(--navy-800));
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; position: relative; overflow: hidden;
}
.team-photo svg { width: 42%; opacity: 0.5; color: var(--brand-blue-light); }
.team-card h4 { font-size: 1.0625rem; margin-bottom: 2px; }
.team-card .role { color: var(--brand-blue-dark); font-size: 0.875rem; font-weight: 600; }

.tag-pill {
  display: inline-block; padding: 5px 12px; border-radius: var(--radius-pill);
  background: rgba(19,156,216,0.1); color: var(--brand-blue-dark); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}

.gap-note {
  border: 1px dashed var(--border-light); background: var(--off-white);
  border-radius: var(--radius-md); padding: 20px 24px; font-size: 0.875rem; color: var(--slate-700);
  display: flex; gap: 12px;
}
.gap-note svg { flex-shrink: 0; color: var(--accent-gold-dark); margin-top: 2px; }

.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner-card {
  border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 28px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.partner-card .plogo { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--navy-950); }
.partner-card .prel { color: var(--brand-blue-dark); font-size: 0.8125rem; font-weight: 600; margin: 10px 0 14px; }
.partner-card .pprod { color: var(--slate-400); font-size: 0.8125rem; line-height: 1.6; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-light); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.client-card {
  border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 24px 16px;
  text-align: center; font-family: var(--font-display); font-weight: 700; color: var(--navy-950);
  font-size: 0.9375rem; transition: border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.client-card:hover { border-color: var(--brand-blue); color: var(--brand-blue-dark); transform: translateY(-3px); }

.vignette-card { display: flex; flex-direction: column; gap: 18px; }
.vignette-card .vignette-media {
  aspect-ratio: 16/10; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--navy-900), var(--navy-800));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.vignette-card .vignette-media svg { width: 30%; color: var(--brand-blue-light); opacity: 0.6; }

.legal-banner {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--off-white); border: 1px solid var(--border-light); border-radius: var(--radius-md);
  padding: 20px 24px; margin-bottom: 40px; font-size: 0.9375rem;
}
.legal-banner svg { color: var(--accent-gold-dark); flex-shrink: 0; margin-top: 2px; }
.legal-content h3 { font-size: 1.0625rem; margin-bottom: 14px; margin-top: 30px; }
.legal-content p, .legal-content li { color: var(--slate-700); line-height: 1.7; margin-bottom: 12px; }
.legal-content ul { list-style: disc; padding-left: 22px; }
.legal-content ol { list-style: decimal; padding-left: 22px; }

.topo-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(19,156,216,0.25), transparent 60%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(242,169,59,0.12), transparent 60%),
    var(--navy-950);
}
.topo-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.35; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,31,61,0.2) 0%, rgba(10,31,61,0.55) 55%, rgba(10,31,61,0.92) 100%); }

/* .hero / .page-hero sit on a navy background but aren't .section-dark —
   extend the dark-mode text/component colors to them so content is legible. */
.hero h1, .hero h2, .hero h3, .page-hero h1, .page-hero h2, .page-hero h3 { color: var(--white); }
.hero .eyebrow, .page-hero .eyebrow { border-color: var(--border-dark); color: var(--white); }
.hero .text-muted, .page-hero .text-muted { color: rgba(255,255,255,0.6); }
.hero .text-accent, .page-hero .text-accent { color: var(--brand-blue-light); }
.hero .btn-outline, .page-hero .btn-outline { border-color: var(--border-dark); color: var(--white); }
.hero .btn-outline:hover, .page-hero .btn-outline:hover { background: var(--white); color: var(--navy-950); }
.hero p, .page-hero p { color: rgba(255,255,255,0.8); }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 1000;
  background: var(--white); color: var(--navy-950); padding: 12px 20px; border-radius: var(--radius-sm);
  transition: top 0.2s;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-logos { grid-template-columns: repeat(4, 1fr); }
  .feature-cards { grid-template-columns: 1fr; }
  .sticky-split { grid-template-columns: 1fr; }
  .sticky-col { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .two-col { grid-template-columns: 1fr; gap: 32px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(3) { border-left: none; }
}

@media (max-width: 768px) {
  .menu-trigger .menu-label { display: none; }
  .nav-overlay-inner { padding: 100px 18px 32px; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .mega-logos { grid-template-columns: repeat(3, 1fr); }
  .nav-overlay-footer { flex-direction: column; align-items: flex-start; }
  .hero, .page-hero { padding-top: 130px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .partner-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-logos { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .btn-group { width: 100%; }
  .btn-group .btn { width: 100%; justify-content: center; }
}
