/* EgyBell Website — Main Stylesheet
   Brand: Navy #244394 · Accent Red #f72f2f
   Fonts: Montserrat (headings) · Source Sans 3 (body) */

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

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --navy-50:  #f2f5fb; --navy-100: #e3e9f5; --navy-200: #bcc8e7;
  --navy-300: #8ba0d5; --navy-400: #5a76c0; --navy-500: #3556ab;
  --navy-600: #244394; --navy-700: #1c3375; --navy-800: #16275c;
  --navy-900: #0f1d44;
  --red-50:  #fef2f2; --red-100: #fde0e0; --red-300: #fb8585;
  --red-400: #fa5a5a; --red-500: #f72f2f; --red-600: #e01f1f;
  --white:    #ffffff;
  --gray-50:  #f6f8fc; --gray-100: #eef1f7; --gray-200: #e4e7ee;
  --gray-300: #cfd4df; --gray-400: #98a0b0; --gray-500: #6b7488;
  --gray-600: #475068; --gray-700: #2c3450; --gray-900: #11192e;
  --brand:        #244394;
  --brand-hover:  #1c3375;
  --accent:       #f72f2f;
  --accent-hover: #e01f1f;
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;
  --radius-xs: 4px; --radius-sm: 6px; --radius-md: 10px;
  --radius-lg: 16px; --radius-xl: 24px; --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(15,29,68,.06);
  --shadow-sm: 0 2px 6px rgba(15,29,68,.08);
  --shadow-md: 0 8px 24px rgba(15,29,68,.12);
  --shadow-lg: 0 18px 48px rgba(15,29,68,.16);
  --shadow-brand: 0 12px 28px rgba(36,67,148,.28);
  --ease-out: cubic-bezier(0.22,0.61,0.36,1);
  --dur: 220ms; --dur-fast: 140ms; --dur-slow: 360ms;
}

/* ─── BASE ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body);
  color: var(--gray-900); background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }
p { text-wrap: pretty; margin: 0; }
h1,h2,h3,h4,h5 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: var(--font-display); cursor: pointer; }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section      { padding: 88px 0; }
.section-alt  { padding: 88px 0; background: var(--gray-50); }
.section-dark { padding: 88px 0; background: var(--navy-900); }

/* ─── TYPOGRAPHY HELPERS ─────────────────────────────────── */
.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px;
  letter-spacing: .15em; text-transform: uppercase; color: var(--accent);
}
.section-head { margin-bottom: 52px; }
.section-head .eyebrow { display: block; margin-bottom: 10px; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 800; font-size: 38px;
  line-height: 1.1; letter-spacing: -.01em; color: var(--gray-900); margin-bottom: 14px;
}
.section-head .rule { width: 52px; height: 4px; background: var(--accent); border-radius: 2px; }
.section-head .lead {
  font-size: 17.5px; color: var(--gray-600); line-height: 1.65;
  max-width: 600px; margin-top: 14px;
}
.on-dark .section-head h2 { color: #fff; }
.on-dark .section-head .lead { color: rgba(255,255,255,.78); }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px;
  padding: 13px 26px; border-radius: var(--radius-sm); border: none;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: all var(--dur) var(--ease-out); line-height: 1;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-hover); box-shadow: var(--shadow-brand); transform: translateY(-1px); }
.btn-accent  { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(247,47,47,.3); }
.btn-accent:hover  { background: var(--accent-hover); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-ghost   { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost:hover   { background: rgba(255,255,255,.2); }
.btn-lg { padding: 15px 32px; font-size: 15.5px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ─── TOP BAR ────────────────────────────────────────────── */
.topbar {
  background: var(--navy-900); color: rgba(255,255,255,.72);
  font-family: var(--font-body); font-size: 13.5px;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center; height: 40px;
}
.topbar-left, .topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar-item { display: flex; gap: 6px; align-items: center; }
.topbar-item svg { width: 13px; height: 13px; flex: none; }
.topbar a { color: rgba(255,255,255,.72); transition: color var(--dur-fast); }
.topbar a:hover { color: #fff; }
.topbar-sep { color: rgba(255,255,255,.25); }

/* ─── NAV ────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 16px rgba(15,29,68,.06);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 74px; gap: 24px;
}
.nav-logo { height: 34px; flex: none; }
.nav-links-desktop {
  display: flex; gap: 2px; align-items: center;
  list-style: none; flex: 1; justify-content: center;
}
.nav-item { position: relative; }
.nav-link {
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  color: var(--gray-700); padding: 8px 13px; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 5px;
  transition: color var(--dur-fast), background var(--dur-fast);
  cursor: pointer; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--brand); background: var(--navy-50); }
.nav-link svg { width: 14px; height: 14px; transition: transform var(--dur-fast); flex: none; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.nav-cta-desktop { flex: none; }
.nav-burger { display: none; background: none; border: none; padding: 6px; color: var(--gray-700); }
.nav-burger svg { width: 24px; height: 24px; }

/* ─── DROPDOWN ───────────────────────────────────────────── */
.nav-dropdown {
  position: absolute; top: calc(100% + 10px);
  left: 50%; transform: translateX(-50%) translateY(8px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur);
  width: 700px; background: #fff;
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 24px 28px;
  pointer-events: none;
}
/* pseudo-element buffer so mouse can travel to dropdown */
.nav-item::after {
  content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.dd-col-title {
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--gray-100);
}
.dd-link {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border-radius: var(--radius-sm); color: var(--gray-700);
  font-family: var(--font-body); font-size: 13.5px; font-weight: 500;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.dd-link:hover { background: var(--navy-50); color: var(--brand); }
.dd-link-ico {
  width: 28px; height: 28px; border-radius: var(--radius-xs);
  background: var(--navy-50); color: var(--brand);
  display: grid; place-items: center; flex: none;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.dd-link-ico svg { width: 13px; height: 13px; }
.dd-link:hover .dd-link-ico { background: var(--brand); color: #fff; }

/* ─── MOBILE MENU ────────────────────────────────────────── */
.mobile-menu { background: #fff; border-top: 1px solid var(--gray-100); padding: 8px 0 20px; }
.mob-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 32px; font-family: var(--font-display); font-weight: 600;
  font-size: 15px; color: var(--gray-800); cursor: pointer;
  border-bottom: 1px solid var(--gray-100);
}
.mob-link svg { width: 16px; height: 16px; }
.mob-services-list { background: var(--gray-50); padding: 6px 0; }
.mob-svc-link {
  display: block; padding: 9px 48px; font-size: 14px;
  color: var(--gray-700); cursor: pointer;
  transition: color var(--dur-fast);
}
.mob-svc-link:hover { color: var(--brand); }
.mob-cta-wrap { padding: 16px 32px 0; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 640px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img,
.hero-bg video {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.hero-bg img {
  animation: heroZoom 18s var(--ease-out) forwards;
}
.hero-bg video {
  animation: heroZoom 24s var(--ease-out) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}

/* Hero staggered entrance */
.hero-anim {
  opacity: 0;
  animation: heroRise .9s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img, .hero-bg video { animation: none; }
  .hero-anim { opacity: 1; animation: none; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,21,56,.66) 0%, rgba(20,38,92,.46) 55%, rgba(10,21,56,.40) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 100px 0; width: 100%; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.85); margin-bottom: 18px;
}
.hero-eyebrow-rule { width: 36px; height: 3px; background: var(--accent); border-radius: 2px; flex: none; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800; font-size: 56px;
  line-height: 1.07; letter-spacing: -.02em; color: #fff;
  margin-bottom: 22px; max-width: 740px;
}
.hero-sub {
  font-size: 18.5px; color: rgba(255,255,255,.8); line-height: 1.65;
  max-width: 600px; margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── PAGE HERO (inner pages) ────────────────────────────── */
.page-hero {
  background: linear-gradient(110deg, var(--navy-900) 0%, var(--navy-700) 65%, var(--navy-600) 100%);
  padding: 68px 0 56px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; right: -80px; top: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.page-hero::after {
  content: ''; position: absolute; right: 160px; bottom: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(247,47,47,.06);
}
.breadcrumb {
  display: flex; gap: 6px; align-items: center;
  font-family: var(--font-display); font-size: 12.5px;
  color: rgba(255,255,255,.55); margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { color: rgba(255,255,255,.3); }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 800; font-size: 46px;
  line-height: 1.1; letter-spacing: -.01em; color: #fff; margin-bottom: 14px;
}
.page-hero-rule { width: 52px; height: 4px; background: var(--accent); border-radius: 2px; margin-bottom: 16px; }
.page-hero-lead {
  font-size: 17.5px; color: rgba(255,255,255,.78); line-height: 1.65; max-width: 640px;
}

/* ─── STAT BAND ──────────────────────────────────────────── */
.stat-band { background: var(--navy-600); padding: 38px 0; }
.stat-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
  text-align: center;
}
.stat-item {
  padding: 8px 20px; color: #fff;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display); font-weight: 800;
  font-size: 40px; color: #fff; line-height: 1; margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,.68); letter-spacing: .04em; text-transform: uppercase; }

/* ─── SERVICE CARDS ──────────────────────────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 28px 26px;
  transition: all var(--dur) var(--ease-out);
  display: flex; flex-direction: column; cursor: pointer;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.svc-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--navy-50); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 18px;
  transition: background var(--dur), color var(--dur);
}
.svc-icon svg { width: 24px; height: 24px; }
.service-card:hover .svc-icon { background: var(--brand); color: #fff; }
.service-card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  color: var(--gray-900); margin-bottom: 10px; line-height: 1.3;
}
.service-card p {
  font-size: 14px; color: var(--gray-600); line-height: 1.58; flex: 1;
}
.svc-link {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  color: var(--accent);
}
.svc-link svg { width: 14px; height: 14px; }

/* ─── STANDARDS / VALUE CARDS ────────────────────────────── */
.standards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.standard-card {
  background: #fff; border: 1px solid var(--gray-200);
  border-top: 4px solid var(--brand); border-radius: var(--radius-md);
  padding: 28px 26px; transition: box-shadow var(--dur);
}
.standard-card:nth-child(2n) { border-top-color: var(--accent); }
.standard-card:hover { box-shadow: var(--shadow-md); }
.std-icon {
  width: 46px; height: 46px; border-radius: var(--radius-md);
  background: var(--navy-50); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 14px;
}
.std-icon svg { width: 22px; height: 22px; }
.standard-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 17px; color: var(--gray-900); margin-bottom: 8px;
}
.standard-card p { font-size: 14px; color: var(--gray-600); line-height: 1.58; }

/* ─── FEATURE ROW (built around) ─────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; border-radius: var(--radius-md);
  background: var(--gray-50); border: 1px solid var(--gray-100);
}
.feat-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--gray-200);
  color: var(--brand); display: grid; place-items: center; flex: none;
  box-shadow: var(--shadow-xs);
}
.feat-icon svg { width: 18px; height: 18px; }
.feature-row h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 15px; color: var(--gray-900); margin-bottom: 3px;
}
.feature-row p { font-size: 13.5px; color: var(--gray-600); line-height: 1.5; }

/* ─── TWO-COLUMN ─────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.photo-wrap {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.photo-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.photo-badge {
  position: absolute; left: 22px; bottom: 22px;
  background: var(--accent); border-radius: var(--radius-md);
  padding: 14px 18px; box-shadow: var(--shadow-md);
}
.photo-badge-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 28px; color: #fff; line-height: 1;
}
.photo-badge-label { font-size: 12px; color: rgba(255,255,255,.85); margin-top: 3px; }

/* ─── SCOPE LIST ─────────────────────────────────────────── */
.scope-list { display: flex; flex-direction: column; gap: 9px; }
.scope-item {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 15px; color: var(--gray-700); line-height: 1.5;
}
.scope-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  flex: none; margin-top: 7px;
}
.scope-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }

/* ─── BENEFIT ROWS ───────────────────────────────────────── */
.benefit-list { display: flex; flex-direction: column; }
.benefit-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--gray-100);
}
.benefit-row:last-child { border-bottom: none; }
.ben-icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: var(--navy-50); color: var(--brand);
  display: grid; place-items: center; flex: none;
}
.ben-icon svg { width: 20px; height: 20px; }
.benefit-row h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 15.5px; color: var(--gray-900); margin-bottom: 3px;
}
.benefit-row p { font-size: 14px; color: var(--gray-600); line-height: 1.5; }

/* ─── WHAT CARDS ─────────────────────────────────────────── */
.what-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.what-card {
  background: var(--navy-50); border: 1px solid var(--navy-100);
  border-radius: var(--radius-lg); padding: 26px 24px;
  transition: all var(--dur);
}
.what-card:hover { background: var(--brand); border-color: var(--brand); box-shadow: var(--shadow-brand); }
.what-card:hover h3, .what-card:hover p { color: #fff; }
.what-card:hover .what-ico { background: rgba(255,255,255,.15); color: #fff; }
.what-ico {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: #fff; color: var(--brand);
  display: grid; place-items: center; margin-bottom: 16px;
  transition: all var(--dur);
}
.what-ico svg { width: 22px; height: 22px; }
.what-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16.5px; color: var(--gray-900); margin-bottom: 8px;
  transition: color var(--dur);
}
.what-card p { font-size: 14px; color: var(--gray-600); line-height: 1.55; transition: color var(--dur); }

/* ─── PROCESS STEPS ──────────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 40px; }
.process-card {
  background: #fff; border: 1px solid var(--gray-200);
  border-top: 4px solid var(--brand); border-radius: var(--radius-md); padding: 26px 24px;
}
.process-card:nth-child(2n) { border-top-color: var(--accent); }
.process-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 30px; color: var(--navy-200); margin-bottom: 14px;
}
.process-card h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; color: var(--gray-900); margin-bottom: 8px;
}
.process-card p { font-size: 14px; color: var(--gray-600); line-height: 1.55; }

/* ─── TIMELINE ───────────────────────────────────────────── */
.timeline { position: relative; padding-left: 52px; }
.timeline::before {
  content: ''; position: absolute; left: 18px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(to bottom, var(--brand), var(--accent));
}
.tl-item { position: relative; margin-bottom: 34px; }
.tl-dot {
  position: absolute; left: -44px; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand);
}
.tl-year {
  font-family: var(--font-display); font-weight: 800;
  font-size: 20px; color: var(--accent); margin-bottom: 4px;
}
.tl-text { font-size: 15.5px; color: var(--gray-600); line-height: 1.6; }

/* ─── THREE-COL APPROACH ─────────────────────────────────── */
.approach-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.approach-card {
  text-align: center; padding: 36px 28px;
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}
.app-icon {
  width: 64px; height: 64px; border-radius: var(--radius-pill);
  background: var(--navy-50); color: var(--brand);
  display: grid; place-items: center; margin: 0 auto 18px;
}
.app-icon svg { width: 28px; height: 28px; }
.approach-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; color: var(--gray-900); margin-bottom: 10px;
}
.approach-card p { font-size: 14.5px; color: var(--gray-600); line-height: 1.58; }

/* ─── CTA BANNER ─────────────────────────────────────────── */
.cta-banner {
  background: var(--navy-900); padding: 88px 0;
  position: relative; overflow: hidden; text-align: center;
}
.cta-banner::before {
  content: ''; position: absolute; right: -200px; top: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: rgba(36,67,148,.30);
}
.cta-banner::after {
  content: ''; position: absolute; left: -100px; bottom: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(247,47,47,.06);
}
.cta-inner { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 40px; color: #fff; margin: 14px 0 18px; line-height: 1.1;
}
.cta-banner p {
  font-size: 17.5px; color: rgba(255,255,255,.78); line-height: 1.65;
  max-width: 620px; margin: 0 auto 34px;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── RELATED SERVICES ───────────────────────────────────── */
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.related-card {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 18px 20px;
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; transition: all var(--dur);
}
.related-card:hover { border-color: var(--brand); background: var(--navy-50); }
.rel-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--navy-50); color: var(--brand);
  display: grid; place-items: center; flex: none;
}
.rel-icon svg { width: 16px; height: 16px; }
.related-card h4 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 13.5px; color: var(--gray-800); line-height: 1.35;
}

/* ─── TABS ───────────────────────────────────────────────── */
.tabs { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.tab-btn {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  padding: 10px 22px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--gray-300); background: #fff;
  color: var(--gray-600); cursor: pointer; transition: all var(--dur);
}
.tab-btn:hover { border-color: var(--brand); color: var(--brand); }
.tab-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ─── CONTACT ────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: start; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.ci-icon {
  width: 46px; height: 46px; border-radius: var(--radius-md);
  background: var(--navy-50); color: var(--brand);
  display: grid; place-items: center; flex: none;
}
.ci-icon svg { width: 22px; height: 22px; }
.contact-info-item h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 14.5px; color: var(--gray-900); margin-bottom: 3px;
}
.contact-info-item p { font-size: 15px; color: var(--gray-600); }
.contact-social-link {
  display: inline-flex; align-items: center; gap: 8px; margin-right: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--brand); transition: color var(--dur-fast);
}
.contact-social-link:hover { color: var(--accent); }
.form-card {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 36px 34px; box-shadow: var(--shadow-md);
}
.form-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; color: var(--gray-900); margin-bottom: 22px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 13px; color: var(--gray-700); margin-bottom: 6px;
}
.form-input {
  width: 100%; font-family: var(--font-body); font-size: 15px;
  padding: 11px 13px; border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm); background: #fff; color: var(--gray-900);
  transition: border-color var(--dur), box-shadow var(--dur); appearance: none;
}
.form-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(36,67,148,.12); }
.form-error {
  margin: -2px 0 14px; padding: 11px 13px; border-radius: var(--radius-sm);
  background: var(--red-50); color: #9f1717; border: 1px solid var(--red-100);
  font-size: 14px; line-height: 1.45;
}
.btn[disabled] {
  cursor: wait; opacity: .72; transform: none !important; box-shadow: none !important;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-success {
  text-align: center; padding: 40px 20px;
}
.success-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: #e7f5ee; color: #1f8a5b;
  display: grid; place-items: center; margin: 0 auto 18px;
}
.success-icon svg { width: 28px; height: 28px; }

/* ─── CLIENTS PAGE ───────────────────────────────────────── */
.industry-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.industry-card {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 24px 20px; text-align: center;
  transition: all var(--dur);
}
.industry-card:hover { box-shadow: var(--shadow-sm); border-color: var(--navy-200); }
.ind-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--navy-50); color: var(--brand);
  display: grid; place-items: center; margin: 0 auto 12px;
}
.ind-icon svg { width: 24px; height: 24px; }
.industry-card p {
  font-family: var(--font-display); font-weight: 600;
  font-size: 13.5px; color: var(--gray-700);
}

/* ─── FOCUS SECTION ──────────────────────────────────────── */
.focus-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.focus-item {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
}
.focus-check {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(247,47,47,.2); color: var(--accent);
  display: grid; place-items: center; flex: none;
}
.focus-check svg { width: 16px; height: 16px; }
.focus-item p { font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.5; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.68); }
.footer-top { padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 32px; margin-bottom: 18px; }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 270px; margin-bottom: 22px; }
.footer-socials { display: flex; gap: 10px; }
.footer-soc-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.8);
  border: none; display: grid; place-items: center; cursor: pointer;
  transition: background var(--dur);
  text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 13px;
}
.footer-soc-btn:hover { background: var(--brand); color: #fff; }
.footer-col h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  color: rgba(255,255,255,.62); font-size: 14px;
  transition: color var(--dur-fast); cursor: pointer;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 52px;
  padding: 22px 0; display: flex; justify-content: space-between;
  align-items: center; font-size: 13.5px; flex-wrap: wrap; gap: 10px;
}

/* ─── CONTACT CTA SECTION ────────────────────────────────── */
.contact-cta-section {
  background: var(--navy-900); padding: 88px 0; position: relative; overflow: hidden;
}
.contact-cta-section::before {
  content: ''; position: absolute; right: -200px; top: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(36,67,148,.5) 0%, transparent 70%);
}
.contact-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.cta-text-col h2 {
  font-family: var(--font-display); font-weight: 800; font-size: 42px;
  color: #fff; text-transform: uppercase; letter-spacing: .01em;
  margin: 12px 0 0; line-height: 1.07;
}
.cta-text-col p { font-size: 17px; color: rgba(255,255,255,.78); line-height: 1.65; max-width: 440px; margin-top: 20px; }
.cta-contact-items { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.cta-contact-item {
  display: flex; gap: 12px; align-items: center;
  color: #fff; font-size: 16.5px;
}
.cta-contact-item svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.cta-rule { width: 56px; height: 4px; background: var(--accent); border-radius: 2px; }

/* ─── INTRO LEAD ─────────────────────────────────────────── */
.intro-lead {
  font-size: 18.5px; line-height: 1.72; color: var(--gray-700);
  max-width: 820px; margin-bottom: 48px; white-space: pre-line;
}

/* ─── PROMISE SECTION ────────────────────────────────────── */
.promise-card {
  background: var(--brand); border-radius: var(--radius-lg);
  padding: 48px 52px; position: relative; overflow: hidden;
}
.promise-card::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.06);
}
.promise-card p { font-size: 20px; color: rgba(255,255,255,.9); line-height: 1.7; max-width: 760px; position: relative; z-index: 1; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .standards-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,.15); }
  .industry-grid { grid-template-columns: repeat(3,1fr); }
  .what-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 38px; }
  .page-hero h1 { font-size: 32px; }
  .section-head h2 { font-size: 28px; }
  .cta-banner h2 { font-size: 28px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .dd-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .scope-two-col { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 60px 0; }
  .section { padding: 60px 0; }
  .section-alt { padding: 60px 0; }
  .section-dark { padding: 60px 0; }
}
/* ─── SCROLL REVEAL ──────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .75s var(--ease-out),
    transform .75s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="zoom"]  { transform: scale(.94); }
[data-reveal].reveal-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
}

@media (max-width: 640px) {
  .nav-links-desktop { display: none; }
  .nav-cta-desktop { display: none; }
  .nav-burger { display: flex !important; }
  .service-grid { grid-template-columns: 1fr; }
  .standards-grid { grid-template-columns: 1fr; }
  .what-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2,1fr); }
  .focus-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .hero h1 { font-size: 32px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero { padding: 48px 0 40px; }
  .topbar-right { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat-item:last-child { border-bottom: none; }
}
