/* ============================================================
   Cloud Bridge Consulting Services — Design System
   ============================================================ */

:root {
  /* Brand palette */
  --navy-950: #070f1f;
  --navy-900: #0b1b33;
  --navy-800: #102947;
  --navy-700: #163b63;
  --blue-600: #1e4b8f;
  --blue-500: #2c63b3;
  --teal-500: #14b8a6;
  --teal-400: #2fd3c6;
  --amber-500: #e8940c;
  --amber-400: #f5a623;

  --gray-50: #f7f9fc;
  --gray-100: #eef2f7;
  --gray-200: #dce3ed;
  --gray-300: #c2ccdb;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --white: #ffffff;

  --font-head: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(11, 27, 51, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 27, 51, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 27, 51, 0.16);

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--teal-500); }
img, svg { max-width: 100%; display: block; }
ul { padding-left: 1.2em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}
.section-tight { padding: 56px 0; }
.section-alt { background: var(--gray-50); }
.section-dark {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800) 70%);
  color: var(--gray-200);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: var(--gray-300); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 14px;
}
.section-dark .eyebrow { color: var(--teal-400); }

.lede {
  font-size: 1.15rem;
  color: var(--gray-600);
  max-width: 62ch;
}
.section-dark .lede { color: var(--gray-300); }

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .96rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
  color: var(--navy-950);
  box-shadow: 0 10px 24px rgba(232, 148, 12, 0.30);
}
.btn-primary:hover { color: var(--navy-950); box-shadow: 0 14px 30px rgba(232, 148, 12, 0.40); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover { color: var(--white); border-color: var(--teal-400); background: rgba(255,255,255,0.06); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-900);
}
.btn-outline-dark:hover { border-color: var(--teal-500); color: var(--navy-900); }

.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 15, 31, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--white);
}
.brand:hover { color: var(--white); }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-400);
}

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav > ul > li { white-space: nowrap; }
.main-nav a {
  color: var(--gray-200);
  font-size: .89rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
@media (max-width: 1180px) and (min-width: 961px) {
  .main-nav { gap: 16px; }
  .main-nav ul { gap: 14px; }
  .main-nav a { font-size: .84rem; }
  .nav-cta .btn { padding: 9px 14px; font-size: .82rem; }
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  border-bottom-color: var(--teal-400);
}
.nav-cta { display: flex; align-items: center; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 4px 0;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    top: var(--header-h, 70px);
    left: 0;
    right: 0;
    bottom: auto;
    height: calc(100vh - var(--header-h, 70px));
    height: calc(100dvh - var(--header-h, 70px));
    background: var(--navy-950);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    overflow-y: auto;
  }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-cta { margin-top: 18px; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1100px 520px at 82% -10%, rgba(47, 211, 198, 0.20), transparent 60%),
              linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 108px 0 96px;
}
.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -30%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,75,143,0.55), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { color: var(--white); }
.hero .lede { color: var(--gray-300); font-size: 1.2rem; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; font-size: .82rem; color: var(--gray-300); }
.hero-trust strong { color: var(--white); display: block; font-family: var(--font-head); font-size: 1.3rem; }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  margin: 0 auto;
}

.hero-art.has-photo {
  aspect-ratio: 4 / 5;
  max-width: 400px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 70px -24px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.08);
}
.hero-art.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-art.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(20,184,166,0.22) 0%, rgba(7,15,31,0) 32%, rgba(7,15,31,0.55) 100%);
  pointer-events: none;
}
.hero-art.has-photo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 6px;
  background: linear-gradient(90deg, var(--teal-400), var(--amber-400));
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; }
  .hero-art.has-photo { max-width: 300px; }
}

/* ---------- Stats bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px 30px;
  margin-top: -64px;
  position: relative;
  z-index: 2;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--navy-900);
  background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-item .label { font-size: .82rem; color: var(--gray-500); margin-top: 4px; }

@media (max-width: 760px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
}

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 26px; }
.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-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-400); }

.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(30,75,143,0.10), rgba(20,184,166,0.16));
  color: var(--blue-600);
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; margin-top: 14px; }

.badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(20,184,166,0.12);
  color: var(--teal-500);
}

/* ---------- Numbered process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 30px 24px 24px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
}
.process-step .step-num {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--teal-400);
  opacity: .8;
  margin-bottom: 10px;
}
.process-step h4 { color: var(--white); }
.process-step p { color: var(--gray-300); font-size: .93rem; margin-bottom: 0; }

@media (max-width: 900px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

/* ---------- Industry tiles ---------- */
.industry-tile {
  border-radius: var(--radius-md);
  padding: 28px;
  background: linear-gradient(155deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-sm);
}
.industry-tile h4 { color: var(--white); margin-bottom: 8px; }
.industry-tile p { color: var(--gray-300); font-size: .9rem; margin-bottom: 0; }

/* ---------- Testimonial / quote ---------- */
.quote-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.quote-card .quote-mark { font-family: var(--font-head); font-size: 2.6rem; color: var(--teal-400); line-height: 1; }
.quote-card p.quote-text { font-size: 1.05rem; color: var(--gray-700); font-style: italic; }
.quote-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
  flex-shrink: 0;
}
.quote-person .name { font-weight: 700; color: var(--navy-900); font-size: .92rem; }
.quote-person .role { font-size: .8rem; color: var(--gray-500); }
.placeholder-note {
  display: inline-block;
  margin-top: 14px;
  font-size: .72rem;
  color: var(--amber-500);
  background: rgba(232,148,12,0.10);
  border-radius: 6px;
  padding: 4px 10px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--blue-600), var(--navy-900) 60%, var(--navy-950));
  border-radius: var(--radius-lg);
  padding: 56px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: var(--gray-300); max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-banner .hero-ctas { justify-content: center; margin-top: 26px; margin-bottom: 0; }

/* ---------- Tables / plans ---------- */
.plan-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 34px 28px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan-card.featured {
  border-color: var(--teal-500);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(1.03);
}
.plan-card .plan-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--navy-900); }
.plan-card .plan-desc { font-size: .9rem; color: var(--gray-500); margin-bottom: 20px; }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 26px; }
.plan-card li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  font-size: .93rem;
}
.plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 10px;
  color: var(--teal-500);
  font-weight: 700;
}
.plan-card .btn { margin-top: auto; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy-900); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 13px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  color: var(--gray-900);
  transition: border-color .15s ease, background .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: var(--white);
}
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .78rem; color: var(--gray-500); margin-top: 10px; }
.form-status { font-size: .9rem; margin-top: 14px; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--teal-500); }

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

/* ---------- Contact info tiles ---------- */
.info-tile {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
}
.info-tile .card-icon { margin-bottom: 0; flex-shrink: 0; }
.info-tile h4 { margin-bottom: 2px; }
.info-tile p { margin-bottom: 0; font-size: .92rem; color: var(--gray-500); }

/* ---------- Breadcrumb / page header ---------- */
.page-hero {
  background: linear-gradient(165deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: 76px 0 60px;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero .lede { color: var(--gray-300); }
.breadcrumb { font-size: .82rem; color: var(--gray-400); margin-bottom: 18px; }
.breadcrumb a { color: var(--gray-300); }
.breadcrumb a:hover { color: var(--teal-400); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--gray-300);
  padding: 70px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--gray-400); font-size: .9rem; max-width: 34ch; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-300);
}
.footer-social a:hover { border-color: var(--teal-400); color: var(--teal-400); }

.footer-col h4 { color: var(--white); font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--gray-400); font-size: .92rem; }
.footer-col a:hover { color: var(--teal-400); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: .82rem;
  color: var(--gray-500);
}
.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: var(--teal-400); }

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Misc utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--gray-200); margin: 60px 0; border: none; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li {
  list-style: none;
  background: var(--gray-100);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .85rem;
  color: var(--navy-800);
  font-weight: 500;
}
.section-dark .pill-list li { background: rgba(255,255,255,0.08); color: var(--gray-200); }

/* ============================================================
   Extended components (nav dropdown, timeline, FAQ, articles,
   compare table, KPI grid, spotlight) — added for site expansion
   ============================================================ */

/* ---------- Nav dropdown ---------- */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  position: relative;
  top: -2px;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--navy-900);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 8px;
  margin-top: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  box-shadow: var(--shadow-lg);
  z-index: 50;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .88rem;
  color: var(--gray-200);
  border-bottom: none !important;
}
.dropdown a:hover { background: rgba(255,255,255,0.07); color: var(--teal-400); }

@media (max-width: 960px) {
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255,255,255,0.04);
    box-shadow: none;
    margin: 4px 0 8px 12px;
    display: none;
  }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown > a::after { float: right; margin-top: 8px; }
}

/* ---------- Spotlight feature (image-free split with visual) ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.spotlight-visual {
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--navy-900), var(--navy-800));
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; }
}

/* Mini bar/chart mockup used to represent Power BI dashboards */
.mock-dash {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px;
}
.mock-dash .mock-row { display:flex; gap:10px; margin-bottom: 10px; }
.mock-dash .mock-card {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 14px;
}
.mock-dash .mock-card .mock-num { font-family: var(--font-head); font-weight:700; color:#fff; font-size:1.3rem; }
.mock-dash .mock-card .mock-lbl { font-size:.68rem; color: var(--gray-400); text-transform:uppercase; letter-spacing:.06em; }
.mock-bars { display:flex; align-items:flex-end; gap:6px; height:90px; margin-top:6px; }
.mock-bars span { flex:1; border-radius:4px 4px 0 0; background: linear-gradient(180deg, var(--teal-400), var(--blue-600)); }
.mock-donut {
  width: 84px; height: 84px; border-radius: 50%;
  background: conic-gradient(var(--teal-400) 0 62%, var(--blue-600) 62% 85%, rgba(255,255,255,0.12) 85% 100%);
  margin: 0 auto;
  position: relative;
}
.mock-donut::after {
  content: "";
  position: absolute; inset: 14px;
  border-radius: 50%;
  background: var(--navy-900);
}

/* ---------- KPI grid ---------- */
.kpi-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi-card {
  border-radius: var(--radius-md);
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  text-align: center;
}
.kpi-card .kpi-num {
  font-family: var(--font-head); font-weight:700; font-size: 1.8rem;
  background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.kpi-card .kpi-lbl { font-size:.82rem; color: var(--gray-500); margin-top:4px; }
@media (max-width: 760px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-left: 10px; padding-left: 30px; border-left: 2px solid var(--gray-200); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -37px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--teal-500);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal-500);
}
.timeline-item .tl-tag { font-family: var(--font-head); font-size:.78rem; font-weight:700; color: var(--blue-600); text-transform:uppercase; letter-spacing:.05em; }
.timeline-item h4 { margin: 4px 0 6px; }

/* ---------- FAQ accordion (native details/summary) ---------- */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--teal-500);
  flex-shrink: 0;
  transition: transform .15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--gray-600); font-size: .95rem; }
.faq-item[open] summary { border-bottom: 1px solid var(--gray-100); }

/* ---------- Compare table ---------- */
.compare-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--gray-200); }
table.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); }
table.compare-table th, table.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
  font-size: .92rem;
}
table.compare-table th { font-family: var(--font-head); background: var(--gray-50); color: var(--navy-900); }
table.compare-table td.yes { color: var(--teal-500); font-weight: 700; text-align: center; }
table.compare-table tr:last-child td { border-bottom: none; }

/* ---------- Article / insight cards ---------- */
.article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-thumb {
  height: 150px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  position: relative;
}
.article-body { padding: 22px; display:flex; flex-direction:column; flex:1; }
.article-tag { font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color: var(--teal-500); margin-bottom:10px; }
.article-body h3 { font-size: 1.08rem; margin-bottom: 10px; }
.article-body p { font-size: .9rem; color: var(--gray-500); margin-bottom: 14px; }
.article-meta { margin-top: auto; font-size: .78rem; color: var(--gray-500); display:flex; justify-content:space-between; }

/* ---------- Two-col text with sticky side nav (long-form pages) ---------- */
.longform-grid { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: flex-start; }
.side-nav { position: sticky; top: 96px; }
.side-nav a { display:block; padding: 8px 0; font-size: .88rem; color: var(--gray-500); border-left: 2px solid var(--gray-200); padding-left: 14px; }
.side-nav a:hover, .side-nav a.active { color: var(--navy-900); border-left-color: var(--teal-500); font-weight: 600; }
@media (max-width: 900px) { .longform-grid { grid-template-columns: 1fr; } .side-nav { position: static; display:flex; flex-wrap:wrap; gap: 14px; } .side-nav a { border-left:none; padding-left:0; border-bottom:2px solid var(--gray-200); padding-bottom:6px; } }

/* ---------- Numbered list (alt to process, light bg) ---------- */
.step-list { list-style: none; padding: 0; margin: 0; counter-reset: slist; }
.step-list li {
  counter-increment: slist;
  position: relative;
  padding: 16px 0 16px 52px;
  border-bottom: 1px solid var(--gray-100);
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before {
  content: counter(slist);
  position: absolute;
  left: 0; top: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.step-list h4 { margin-bottom: 4px; }
.step-list p { margin-bottom: 0; font-size: .92rem; color: var(--gray-600); }

/* ============================================================
   Photography components
   ============================================================ */

/* Rounded feature image used beside text in a grid-2 / spotlight */
.feature-img {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  background: var(--navy-900);
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Subtle brand tint so stock photography sits inside the palette */
.feature-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(30,75,143,0.20), rgba(20,184,166,0.10) 60%, transparent);
  pointer-events: none;
}
.feature-img.plain::after { display: none; }

/* Aspect helpers */
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-3x2 { aspect-ratio: 3 / 2; }

/* Photo band: full-width image strip with dark overlay + optional caption */
.photo-band {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 40%;
  color: var(--white);
  overflow: hidden;
}
.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7,15,31,0.94) 0%, rgba(11,27,51,0.86) 45%, rgba(16,41,71,0.62) 100%);
}
.photo-band .container { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 56px; }
.photo-band h2, .photo-band h3 { color: var(--white); }
.photo-band p { color: var(--gray-300); }

/* Page hero with a photo behind it */
.page-hero.has-photo {
  position: relative;
  background-size: cover;
  background-position: center 38%;
}
.page-hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7,15,31,0.95) 0%, rgba(11,27,51,0.88) 50%, rgba(16,41,71,0.66) 100%);
}
.page-hero.has-photo .container { position: relative; z-index: 1; }

/* Card with an image at the top */
.card.has-img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-img {
  height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
}
.card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(30,75,143,0.16), transparent 70%);
}
.card.has-img .card-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.card.has-img .card-body p:last-child { margin-bottom: 0; }

/* Industry tile upgraded with a photo background */
.industry-tile.has-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.industry-tile.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,15,31,0.94) 12%, rgba(11,27,51,0.72) 55%, rgba(11,27,51,0.35) 100%);
}
.industry-tile.has-photo h4,
.industry-tile.has-photo p { position: relative; z-index: 1; }

/* Article thumbnail with a real photo */
.article-thumb.has-photo {
  background-size: cover;
  background-position: center;
  position: relative;
}
.article-thumb.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(11,27,51,0.42), rgba(30,75,143,0.22));
}

/* Small inline portrait/among-text image */
.inline-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.inline-img img { width: 100%; display: block; }

/* Two-up photo collage for About-style sections */
.photo-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-collage .feature-img:first-child { margin-top: 26px; }
@media (max-width: 620px) {
  .photo-collage { grid-template-columns: 1fr; }
  .photo-collage .feature-img:first-child { margin-top: 0; }
}

/* Photo credit / attribution note */
.photo-note { font-size: .72rem; color: var(--gray-500); margin-top: 10px; }

/* ============================================================
   PILLAR CARDS — three-pillar positioning (homepage + solutions)
   ============================================================ */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pillar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-400); }
.pillar-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
  display: block;
}
.pillar-card .pillar-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 6px;
}
.pillar-card h3 { margin-top: 0; margin-bottom: 10px; }
.pillar-card p { font-size: .93rem; color: var(--gray-600); }
.pillar-card .card-link { display: inline-block; margin-top: 6px; font-size: .88rem; font-weight: 600; }
.section-dark .pillar-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}
.section-dark .pillar-card p { color: var(--gray-300); }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FLOW DIAGRAM (horizontal) — connected information flow, homepage
   ============================================================ */
.flow-diagram {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 8px;
}
.flow-step {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 22px 14px;
  background: linear-gradient(155deg, var(--navy-900), var(--navy-800));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  color: var(--white);
}
.flow-step .flow-icon {
  width: 38px; height: 38px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.flow-step h4 { color: var(--white); font-size: .95rem; margin-bottom: 6px; }
.flow-step p { color: var(--gray-400); font-size: .78rem; margin-bottom: 0; line-height: 1.4; }
.flow-arrow {
  flex: 0 0 34px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-400);
}
@media (max-width: 860px) {
  .flow-diagram { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); flex-basis: 26px; }
}

/* ============================================================
   FLOW DIAGRAM (vertical) — funnel-style data/decision flow
   used on solution deep-dive pages (digital intelligence, etc.)
   ============================================================ */
.flow-vert { display: flex; flex-direction: column; align-items: center; }
.flow-vert .flow-node {
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  text-align: center;
  padding: 14px 26px;
  border-radius: 999px;
  min-width: 200px;
}
.flow-vert .flow-node.is-accent { background: linear-gradient(135deg, var(--blue-600), var(--teal-500)); }
.flow-vert .flow-connector { width: 2px; height: 30px; background: var(--gray-300); position: relative; }
.flow-vert .flow-connector::after {
  content: ''; position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%);
  border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--gray-300);
}
.flow-branches { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 4px 0; }
.flow-branches .flow-node { min-width: 150px; font-size: .85rem; padding: 12px 18px; }
@media (max-width: 620px) { .flow-vert .flow-node { min-width: 160px; font-size: .85rem; } }
