/* ============================================================
   BWMR — Global Stylesheet
   "Architect. Insights. Governance. Impact."
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy:       #f8f9fb;
  --navy-mid:   #f0f4f8;
  --navy-light: #ffffff;
  --accent:     #1a6fc4;
  --accent-bright: #2196f3;
  --accent-muted:  #0e4f96;
  --teal:       #00b4d8;
  --teal-dark:  #0096c7;
  --gold:       #c8a951;
  --gold-light: #a07820;
  --white:      #ffffff;
  --off-white:  #f4f7fb;
  --text-light: #1e293b;
  --text-muted: #64748b;
  --border:     rgba(0,0,0,0.1);
  --gradient-main: linear-gradient(135deg, #0f1e30 0%, #1a2b45 50%, #1f3254 100%);
  --gradient-accent: linear-gradient(135deg, #1a6fc4 0%, #00b4d8 100%);
  --gradient-gold: linear-gradient(135deg, #c8a951 0%, #e0c36a 100%);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: #f8f9fb;
  color: #1e293b;
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }

::selection { background: var(--accent); color: var(--white); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f4f8; }
::-webkit-scrollbar-thumb { background: var(--accent-muted); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; color: var(--text-light); }

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-light);
  font-weight: 400;
  max-width: 700px;
}

.text-accent { color: var(--teal); }
.text-gold   { color: var(--gold-light); }
.text-white  { color: var(--white); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.text-right  { text-align: right; }

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.container--wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--dark { background: var(--navy); }
.section--mid  { background: var(--navy-mid); }
.section--alt  { background: var(--navy-light); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 24px rgba(0,0,0,0.1);
}

.nav__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  padding-bottom: 10px;
  height: 76px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  text-decoration: none;
}

.nav__logo-img {
  height: 62px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.nav__logo-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-left: 2px solid rgba(26, 111, 196, 0.25);
  padding-left: 0.85rem;
  margin-left: 0.1rem;
  padding-bottom: 1px;
}

.nav__logo-name {
  display: none;
}

.nav__logo-tagline {
  font-size: 0.68rem;
  color: #1a6fc4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}

.nav__menu {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
  list-style: none;
  padding-bottom: 2px;
}

.nav__link {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-accent);
  transition: var(--transition);
  border-radius: 2px;
}

.nav__link:hover, .nav__link.active {
  color: #0f172a;
}

.nav__link:hover::after, .nav__link.active::after {
  width: 100%;
}

.nav__cta {
  background: var(--gradient-accent);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(26, 111, 196, 0.4);
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 111, 196, 0.6);
}

.nav__cta::after { display: none !important; }

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1e293b;
  border-radius: 2px;
  transition: var(--transition);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-main);
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,111,196,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,111,196,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.hero__bg-orb--1 {
  width: 600px; height: 600px;
  top: -150px; right: -100px;
  background: radial-gradient(circle, rgba(26,111,196,0.25) 0%, transparent 70%);
}

.hero__bg-orb--2 {
  width: 400px; height: 400px;
  bottom: -80px; left: -80px;
  background: radial-gradient(circle, rgba(0,180,216,0.2) 0%, transparent 70%);
  animation-delay: 3s;
}

.hero__bg-orb--3 {
  width: 300px; height: 300px;
  top: 40%; left: 40%;
  background: radial-gradient(circle, rgba(200,169,81,0.08) 0%, transparent 70%);
  animation-delay: 6s;
}

@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, -30px) scale(1.1); }
}

/* ---------- Hero Geometric Shapes ---------- */
.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
}

/* Large hollow rings */
.hero__shape--ring-1 {
  width: 360px; height: 360px;
  top: -60px; right: 18%;
  border: 1.5px solid rgba(33, 150, 243, 0.14);
  background: transparent;
  border-radius: 50%;
  animation: shapeDrift1 14s ease-in-out infinite alternate;
}

.hero__shape--ring-2 {
  width: 220px; height: 220px;
  bottom: 12%; left: 8%;
  border: 1.5px solid rgba(0, 180, 216, 0.18);
  background: transparent;
  border-radius: 50%;
  animation: shapeDrift2 18s ease-in-out infinite alternate;
}

/* Rotated diamonds (squares rotated 45°) */
.hero__shape--diamond-1 {
  width: 60px; height: 60px;
  top: 22%; right: 12%;
  background: rgba(33, 150, 243, 0.1);
  border: 1px solid rgba(33, 150, 243, 0.25);
  border-radius: 8px;
  transform: rotate(45deg);
  animation: diamondSpin 20s linear infinite;
}

.hero__shape--diamond-2 {
  width: 36px; height: 36px;
  bottom: 28%; left: 18%;
  background: rgba(0, 180, 216, 0.12);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 5px;
  transform: rotate(45deg);
  animation: diamondSpin 28s linear infinite reverse;
}

/* Slim horizontal bars */
.hero__shape--bar-1 {
  width: 120px; height: 3px;
  top: 38%; right: 6%;
  background: linear-gradient(90deg, rgba(33,150,243,0.35), transparent);
  border-radius: 2px;
  animation: barSlide 10s ease-in-out infinite alternate;
}

.hero__shape--bar-2 {
  width: 80px; height: 2px;
  bottom: 35%; right: 22%;
  background: linear-gradient(90deg, transparent, rgba(0,180,216,0.3));
  border-radius: 2px;
  animation: barSlide 13s ease-in-out infinite alternate-reverse;
}

@keyframes shapeDrift1 {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(20px, 25px) rotate(15deg); }
}

@keyframes shapeDrift2 {
  from { transform: translate(0, 0); }
  to   { transform: translate(-15px, 20px); }
}

@keyframes diamondSpin {
  from { transform: rotate(45deg); }
  to   { transform: rotate(405deg); }
}

@keyframes barSlide {
  from { transform: translateX(0); opacity: 0.8; }
  to   { transform: translateX(16px); opacity: 0.4; }
}

/* ---------- Hero Circuit SVG ---------- */
.hero__circuit {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  max-width: 38%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

/* ---------- Hero Wave Divider ---------- */
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  line-height: 0;
  pointer-events: none;
  z-index: 3;
}

.hero__wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(26, 111, 196, 0.15);
  border: 1px solid rgba(26, 111, 196, 0.4);
  border-radius: 30px;
  padding: 0.4rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  margin-bottom: 1.5rem;
}

.hero__title-main {
  display: block;
  background: linear-gradient(135deg, var(--white) 0%, var(--text-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title-accent {
  display: block;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 620px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll svg {
  width: 20px; height: 20px;
  stroke: var(--text-muted);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn--primary {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26, 111, 196, 0.45);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(26, 111, 196, 0.65);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid rgba(26,111,196,0.4);
}

.btn--outline:hover {
  background: rgba(26,111,196,0.07);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.btn--gold {
  background: var(--gradient-gold);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(200, 169, 81, 0.4);
}

.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(200, 169, 81, 0.6);
  color: var(--navy);
}

.btn--sm {
  padding: 0.55rem 1.3rem;
  font-size: 0.8rem;
}

.btn--lg {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header__eyebrow {
  display: inline-block;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  position: relative;
  padding: 0 1.5rem;
}

.section-header__eyebrow::before,
.section-header__eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--teal);
  opacity: 0.6;
}

.section-header__eyebrow::before { right: 100%; margin-right: -1.5rem; }
.section-header__eyebrow::after  { left: 100%;  margin-left: -1.5rem; }

.section-header__title {
  margin-bottom: 1rem;
}

.section-header__divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 3px;
  margin: 1rem auto;
}

.section-header__subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------- Cards ---------- */
.card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  background: #f4f8ff;
  border-color: rgba(26, 111, 196, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card:hover::before { opacity: 1; }

.card--gold::before { background: var(--gradient-gold); }
.card--teal::before { background: linear-gradient(135deg, var(--teal) 0%, var(--accent-bright) 100%); }

/* ---------- Grid ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ---------- The Power of Four — Pillar Cards ---------- */
.pillar-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.pillar-icon--blue   { background: rgba(26, 111, 196, 0.2); border: 1px solid rgba(26, 111, 196, 0.4); }
.pillar-icon--teal   { background: rgba(0, 180, 216, 0.2);  border: 1px solid rgba(0, 180, 216, 0.4); }
.pillar-icon--gold   { background: rgba(200, 169, 81, 0.2); border: 1px solid rgba(200, 169, 81, 0.4); }
.pillar-icon--green  { background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.35); }

.pillar-tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pillar-tag--build   { background: rgba(26, 111, 196, 0.2); color: var(--accent-bright); }
.pillar-tag--work    { background: rgba(0, 180, 216, 0.2);  color: var(--teal); }
.pillar-tag--manage  { background: rgba(200, 169, 81, 0.2); color: var(--gold-light); }
.pillar-tag--results { background: rgba(34, 197, 94, 0.15); color: #86efac; }

/* ---------- Stats Band ---------- */
.stats-band {
  background: linear-gradient(135deg, #eef5ff 0%, #e8f8fc 100%);
  border-top: 1px solid rgba(26,111,196,0.12);
  border-bottom: 1px solid rgba(26,111,196,0.12);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat__label {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Testimonial ---------- */
.testimonial {
  position: relative;
  padding: 2rem 2rem 2rem 3rem;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem; left: 0.5rem;
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.4;
}

.testimonial__text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.testimonial__author {
  font-weight: 600;
  color: #0f172a;
  font-size: 0.9rem;
}

.testimonial__role {
  color: var(--teal);
  font-size: 0.8rem;
}

/* ---------- Team Cards ---------- */
.team-card {
  text-align: center;
  padding: 2rem;
}

.team-card__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 1rem;
  border: 3px solid rgba(26, 111, 196, 0.4);
  box-shadow: 0 0 0 6px rgba(26, 111, 196, 0.1);
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.team-card__role {
  color: var(--teal);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.team-card__specialty {
  display: inline-block;
  background: rgba(26, 111, 196, 0.15);
  border: 1px solid rgba(26, 111, 196, 0.3);
  border-radius: 20px;
  padding: 0.2rem 0.8rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ---------- Breadcrumb ---------- */
.page-hero {
  padding-top: 120px;
  padding-bottom: 5rem;
  background: var(--gradient-main);
  position: relative;
  overflow: hidden;
}

.page-hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,111,196,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,111,196,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  list-style: none;
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 0.5rem;
  opacity: 0.4;
}

.breadcrumb a { color: var(--teal); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Feature Strip ---------- */
.feature-strip {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 2rem;
  background: rgba(26,111,196,0.04);
  border: 1px solid rgba(26,111,196,0.12);
  border-radius: var(--radius);
}

.feature-strip__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex: 1;
  min-width: 160px;
}

.feature-strip__item svg {
  width: 18px; height: 18px;
  stroke: var(--teal);
  flex-shrink: 0;
}

/* ---------- Service Detail Sections ---------- */
.service-pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.service-pillar:last-child { border-bottom: none; }

.service-pillar--reverse .service-pillar__visual { order: -1; }

.service-pillar__visual {
  background: #f4f8ff;
  border: 1px solid rgba(26,111,196,0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-pillar__icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.service-pillar__tag {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.service-pillar__capabilities {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-pillar__capabilities li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.service-pillar__capabilities li::before {
  content: '→';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

.roi-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(200, 169, 81, 0.1);
  border: 1px solid rgba(200, 169, 81, 0.3);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}

.roi-badge__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.roi-badge__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
  display: block;
}

.roi-badge__text {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* ---------- Tech Tags ---------- */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-tag {
  background: rgba(26, 111, 196, 0.12);
  border: 1px solid rgba(26, 111, 196, 0.25);
  border-radius: 6px;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  color: var(--accent-bright);
  font-family: var(--font-mono);
  transition: var(--transition);
}

.tech-tag:hover {
  background: rgba(26, 111, 196, 0.2);
  border-color: rgba(26, 111, 196, 0.5);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(26,111,196,0.2) 0%, rgba(0,180,216,0.15) 50%, rgba(26,111,196,0.2) 100%);
  border: 1px solid rgba(26, 111, 196, 0.3);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(26,111,196,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner__tagline {
  font-size: 1rem;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

.cta-banner__title {
  margin-bottom: 1rem;
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ---------- Footer ---------- */
.footer {
  background: #0f1e30;
  border-top: 1px solid var(--border);
  padding: 4rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  margin: 0.75rem 0 1rem;
  opacity: 0.9;
}

.footer__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer__heading {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--teal);
  padding-left: 4px;
}

.footer__bar {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer__bar-tagline {
  font-family: var(--font-mono);
  color: var(--accent-bright);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in--left {
  transform: translateX(-24px);
}

.fade-in--left.visible {
  transform: translateX(0);
}

.fade-in--right {
  transform: translateX(24px);
}

.fade-in--right.visible {
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ---------- Divider ---------- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.badge--blue { background: rgba(26,111,196,0.2); color: var(--accent-bright); border: 1px solid rgba(26,111,196,0.35); }
.badge--gold { background: rgba(200,169,81,0.2); color: var(--gold-light);     border: 1px solid rgba(200,169,81,0.35); }
.badge--teal { background: rgba(0,180,216,0.2);  color: var(--teal);           border: 1px solid rgba(0,180,216,0.35); }
.badge--green { background: rgba(34,197,94,0.15); color: #86efac;              border: 1px solid rgba(34,197,94,0.35); }

/* ---------- Advantage Strip ---------- */
.advantage-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.advantage-item__num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--border);
  flex-shrink: 0;
  min-width: 3rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .service-pillar { grid-template-columns: 1fr; }
  .service-pillar--reverse .service-pillar__visual { order: 0; }
}

@media (max-width: 768px) {
  .nav__menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav__menu.open { display: flex; }

  .nav__hamburger { display: flex; }

  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bar  { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   LIGHT THEME — DARK SURFACE OVERRIDES
   Hero, page-hero and footer stay dark for visual contrast.
   ============================================================ */

/* Keep hero headings & text readable on dark gradient */
.hero h1, .hero h2, .hero h3, .hero h4,
.page-hero h1, .page-hero h2, .page-hero h3, .page-hero h4 {
  color: #ffffff;
}

.hero p, .hero .hero__subtitle, .hero .lead,
.hero .hero__scroll {
  color: rgba(203,213,225,0.85);
}

.page-hero p, .page-hero .lead {
  color: rgba(148,163,184,0.9);
}

.page-hero .breadcrumb { color: rgba(148,163,184,0.8); }
.page-hero .breadcrumb a { color: var(--teal); }
.page-hero .breadcrumb a:hover { color: #ffffff; }

/* Outline button on dark hero/page-hero backgrounds */
.hero .btn--outline,
.page-hero .btn--outline {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.35);
}

.hero .btn--outline:hover,
.page-hero .btn--outline:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border-color: #ffffff;
}

/* Card headings on light section backgrounds — override any inline var(--white) */
.section--dark .card h1, .section--dark .card h2,
.section--dark .card h3, .section--dark .card h4,
.section--mid .card h1,  .section--mid .card h2,
.section--mid .card h3,  .section--mid .card h4,
.section--alt .card h1,  .section--alt .card h2,
.section--alt .card h3,  .section--alt .card h4,
.service-pillar h3,      .service-pillar h4 {
  color: #0f172a !important;
}

/* CTA banner on light sections */
.cta-banner {
  background: linear-gradient(135deg, #eef5ff 0%, #e8f8fc 60%, #eef5ff 100%);
  border: 1px solid rgba(26,111,196,0.2);
}

.cta-banner h2 { color: #0f172a; }

/* Footer stays dark — restore light text */
.footer {
  color: #94a3b8;
}

.footer p,
.footer__desc { color: #94a3b8; }

.footer__links a { color: #94a3b8; }
.footer__links a:hover { color: var(--teal); padding-left: 4px; }

.footer__bar { color: #94a3b8; }

.footer__heading { color: #ffffff; }

/* Section tints for visual rhythm on light bg */
.section--dark  { background: #f8f9fb; }
.section--mid   { background: #f0f4f8; }
.section--alt   { background: #ffffff; }
