/* ============================================================
   Asl Al-Holool — Design System
   Brand: teal #006a6e · purple #812064 · yellow #fcaf17 · ink #231F20
   Latin: Montserrat (Gotham substitute) · Arabic: Cairo (Noor substitute)
   ============================================================ */

:root {
  --teal: #006a6e;
  --teal-dark: #00494c;
  --teal-tint: #e6f2f2;
  --purple: #812064;
  --purple-dark: #5e1749;
  --purple-tint: #f6ebf2;
  --yellow: #fcaf17;
  --yellow-tint: #fef4dd;
  --ink: #231f20;
  --grey-700: #4c4a4b;
  --grey-500: #7b787a;
  --grey-200: #e8e6e7;
  --grey-100: #f5f4f5;
  --white: #ffffff;
  --navy: #003e56;
  --mint: #49c0b6;
  --coral: #f1666a;

  --font-latin: "Montserrat", "Segoe UI", sans-serif;
  --font-arabic: "Cairo", "Segoe UI", sans-serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(35, 31, 32, 0.06);
  --shadow-md: 0 8px 28px rgba(35, 31, 32, 0.1);
  --shadow-lg: 0 18px 48px rgba(35, 31, 32, 0.14);
  --container: 1160px;
  --header-h: 78px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-latin);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body { font-family: var(--font-arabic); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--ink); }
.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-tint);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
html[lang="ar"] .kicker { letter-spacing: 0.04em; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.section-intro { color: var(--grey-500); font-size: 1.06rem; max-width: 640px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; color: var(--grey-700);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--purple); background: var(--purple-tint); }
.main-nav a.active { color: var(--purple); background: var(--purple-tint); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  font-weight: 700; font-size: 0.9rem; color: var(--teal);
  border: 2px solid var(--teal); border-radius: 999px; padding: 7px 18px;
  transition: background 0.2s, color 0.2s;
  font-family: var(--font-latin);
}
html[lang="en"] .lang-switch { font-family: var(--font-arabic); }
.lang-switch:hover { background: var(--teal); color: var(--white); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 3px; border-radius: 2px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 32px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--purple); color: var(--white); box-shadow: 0 6px 20px rgba(129, 32, 100, 0.32); }
.btn-primary:hover { background: var(--purple-dark); }
.btn-outline { border: 2px solid var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-light { background: var(--white); color: var(--purple); box-shadow: var(--shadow-md); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 96px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(129, 32, 100, 0.09), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(0, 106, 110, 0.09), transparent 60%),
    var(--white);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero .kicker { background: var(--yellow-tint); color: #9a6a00; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin-bottom: 22px; }
.hero h1 .accent { color: var(--purple); }
.hero p.lead { font-size: 1.15rem; color: var(--grey-700); max-width: 560px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art .logo-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 56px 48px;
  border: 1px solid var(--grey-200);
}
.hero-art img { width: min(360px, 70vw); height: auto; }

/* pathway pattern (brand motif) */
.pattern {
  position: absolute; pointer-events: none; opacity: 0.5;
}

/* ---------- Stats strip ---------- */
.stats { background: var(--teal); color: var(--white); padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .value { font-size: 2.2rem; font-weight: 800; color: var(--yellow); }
.stat .label { font-size: 0.95rem; opacity: 0.9; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.tint { background: var(--grey-100); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .section-intro { margin-inline: auto; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-copy p { color: var(--grey-700); margin-bottom: 18px; font-size: 1.03rem; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.value-card {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-md);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .dot { width: 14px; height: 14px; border-radius: 4px 14px 14px 14px; background: var(--purple); margin-bottom: 14px; }
.value-card:nth-child(2) .dot { background: var(--teal); border-radius: 14px 4px 14px 14px; }
.value-card:nth-child(3) .dot { background: var(--yellow); border-radius: 14px 14px 4px 14px; }
.value-card:nth-child(4) .dot { background: var(--mint); border-radius: 14px 14px 14px 4px; }
.value-card h4 { margin-bottom: 8px; font-size: 1.05rem; }
.value-card p { color: var(--grey-500); font-size: 0.95rem; }

/* ---------- Services ---------- */
.service-lines { display: grid; gap: 32px; }
.service-line {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: box-shadow 0.25s;
}
.service-line:hover { box-shadow: var(--shadow-md); }
.service-line-head {
  display: flex; align-items: flex-start; gap: 22px; padding: 34px 36px 26px;
}
.service-icon {
  flex: 0 0 auto; width: 62px; height: 62px; border-radius: 16px 24px 24px 24px;
  display: grid; place-items: center; color: var(--white);
}
.service-line:nth-child(1) .service-icon { background: var(--purple); }
.service-line:nth-child(2) .service-icon { background: var(--teal); }
.service-line:nth-child(3) .service-icon { background: var(--yellow); color: var(--ink); }
.service-line-head h3 { font-size: 1.35rem; margin-bottom: 6px; }
.service-line-head p { color: var(--grey-500); }
.service-items {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px; padding: 0 36px 34px;
}
.service-item {
  background: var(--grey-100); border-radius: var(--radius-md); padding: 22px;
  border-inline-start: 4px solid var(--purple);
  transition: transform 0.25s, background 0.25s;
}
.service-line:nth-child(2) .service-item { border-inline-start-color: var(--teal); }
.service-line:nth-child(3) .service-item { border-inline-start-color: var(--yellow); }
.service-item:hover { transform: translateY(-3px); background: var(--white); box-shadow: var(--shadow-sm); }
.service-item h4 { font-size: 1.02rem; margin-bottom: 6px; }
.service-item p { color: var(--grey-500); font-size: 0.92rem; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  position: relative; background: var(--white); border-radius: var(--radius-md);
  padding: 30px 26px; border: 1px solid var(--grey-200); box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why-card .num {
  font-size: 0.85rem; font-weight: 800; color: var(--white);
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--teal); border-radius: 10px 14px 14px 14px; margin-bottom: 16px;
}
.why-card:nth-child(even) .num { background: var(--purple); }
.why-card h4 { margin-bottom: 8px; font-size: 1.04rem; }
.why-card p { color: var(--grey-500); font-size: 0.94rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--purple) 0%, var(--purple-dark) 55%, var(--navy) 130%);
  color: var(--white); border-radius: var(--radius-lg);
  padding: 64px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 10px; }
.cta-band p { opacity: 0.85; max-width: 520px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm);
}
.contact-card .ico {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px 18px 18px 18px;
  background: var(--teal-tint); color: var(--teal); display: grid; place-items: center;
}
.contact-card h4 { font-size: 0.92rem; color: var(--grey-500); font-weight: 600; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-weight: 700; font-size: 1.05rem; color: var(--ink); direction: ltr; unicode-bidi: embed; }
html[dir="rtl"] .contact-card .addr { direction: rtl; }

.contact-form {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm); font: inherit; color: var(--ink);
  background: var(--grey-100); transition: border 0.2s, background 0.2s; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal); background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--grey-500); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.82); margin-top: 96px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; padding: 64px 0 40px;
}
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer-grid a { display: block; padding: 5px 0; color: rgba(255, 255, 255, 0.72); transition: color 0.2s; font-size: 0.95rem; }
.footer-grid a:hover { color: var(--yellow); }
.footer-brand img { height: 52px; margin-bottom: 18px; background: var(--white); padding: 8px 12px; border-radius: 12px; }
.footer-brand p { font-size: 0.95rem; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 22px 0; font-size: 0.88rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer-contact-line { display: flex; gap: 10px; align-items: center; padding: 5px 0; font-size: 0.95rem; }
.footer-contact-line .v { direction: ltr; unicode-bidi: embed; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 56px) 0 56px;
  background:
    radial-gradient(700px 340px at 90% -20%, rgba(0, 106, 110, 0.1), transparent 60%),
    radial-gradient(600px 300px at 0% 120%, rgba(129, 32, 100, 0.08), transparent 60%),
    var(--grey-100);
}
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { width: min(260px, 60vw); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 48px 28px; }
}
@media (max-width: 760px) {
  .main-nav {
    position: fixed; top: var(--header-h); inset-inline: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 18px 24px 26px; gap: 4px; border-bottom: 1px solid var(--grey-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform 0.3s ease;
  }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 14px 16px; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .service-line-head { flex-direction: column; padding: 28px 24px 18px; }
  .service-items { padding: 0 24px 26px; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   IA v2 — KPMG-style top bar, mega menu, new sections
   ============================================================ */

:root { --header-h: 118px; --topbar-h: 40px; --mainbar-h: 78px; }

.topbar { background: var(--ink); height: var(--topbar-h); }
.topbar-inner {
  height: var(--topbar-h); display: flex; align-items: center;
  justify-content: flex-end; gap: 8px;
}
.topbar a {
  color: rgba(255, 255, 255, 0.85); font-size: 0.84rem; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; transition: color 0.2s, background 0.2s;
}
.topbar a:hover { color: var(--white); background: rgba(255, 255, 255, 0.12); }
.topbar .rfp-link { background: var(--yellow); color: var(--ink); font-weight: 700; }
.topbar .rfp-link:hover { background: #e39d0e; color: var(--ink); }
.topbar .lang-switch {
  color: var(--white); border-color: rgba(255, 255, 255, 0.55);
  padding: 4px 14px; font-size: 0.84rem; margin-inline-start: 6px;
}
.topbar .lang-switch:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.site-header { height: auto; }
.header-inner { height: var(--mainbar-h); }

/* nav items & dropdowns */
.main-nav { gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; color: var(--grey-700);
  transition: color 0.2s, background 0.2s; cursor: pointer;
  font-family: inherit;
}
.nav-item:hover > .nav-link, .nav-link.active, .nav-item.open > .nav-link { color: var(--purple); background: var(--purple-tint); }
.has-drop > .nav-link::after {
  content: ""; width: 7px; height: 7px; border: 2px solid currentColor;
  border-top: 0; border-inline-start: 0; transform: rotate(45deg) translateY(-2px);
  margin-inline-start: 2px;
}

.drop {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0;
  min-width: 240px; background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 12px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s; z-index: 90;
}
.nav-item:hover > .drop, .nav-item:focus-within > .drop, .nav-item.open > .drop {
  opacity: 1; visibility: visible; transform: none;
}
.drop a {
  display: block; padding: 10px 14px; border-radius: 10px;
  font-size: 0.92rem; font-weight: 600; color: var(--grey-700);
}
.drop a:hover { background: var(--purple-tint); color: var(--purple); }

.drop.mega {
  display: grid; grid-template-columns: repeat(3, minmax(230px, 1fr));
  gap: 18px; padding: 24px; inset-inline-start: 50%;
  transform: translate(-50%, 8px); width: min(880px, 92vw);
}
html[dir="rtl"] .drop.mega { transform: translate(50%, 8px); }
.nav-item:hover > .drop.mega, .nav-item:focus-within > .drop.mega, .nav-item.open > .drop.mega {
  transform: translate(-50%, 0);
}
html[dir="rtl"] .nav-item:hover > .drop.mega,
html[dir="rtl"] .nav-item:focus-within > .drop.mega,
html[dir="rtl"] .nav-item.open > .drop.mega { transform: translate(50%, 0); }
.mega-col h5 {
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  margin: 0 0 8px; padding: 0 14px;
}
.mega-col h5 a { color: var(--teal); }
.mega-col h5 a:hover { color: var(--teal-dark); }
.mega-col a.sub { padding: 8px 14px; font-weight: 500; }
.mega-all {
  grid-column: 1 / -1; border-top: 1px solid var(--grey-200); padding-top: 12px; text-align: center;
}
.mega-all a { color: var(--purple); font-weight: 700; display: inline-block; }

/* page offsets already use --header-h */
.hero { padding-top: calc(var(--header-h) + 72px); }
.page-hero { padding-top: calc(var(--header-h) + 56px); }

/* ---------- Partners ---------- */
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.partner-card {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  padding: 34px 32px; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.partner-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.partner-avatar {
  flex: 0 0 auto; width: 64px; height: 64px; border-radius: 18px 24px 24px 24px;
  display: grid; place-items: center; color: var(--white);
  font-weight: 800; font-size: 1.3rem; background: var(--purple);
}
.partner-card:nth-child(2) .partner-avatar { background: var(--teal); }
.partner-card:nth-child(3) .partner-avatar { background: var(--navy); }
.partner-card:nth-child(4) .partner-avatar { background: var(--purple-dark); }
.partner-head h3 { font-size: 1.2rem; }
.partner-role { color: var(--purple); font-weight: 700; font-size: 0.92rem; }
.partner-exp { color: var(--grey-500); font-size: 0.9rem; font-weight: 600; margin-bottom: 12px; }
.partner-card p.bio { color: var(--grey-700); font-size: 0.95rem; margin-bottom: 16px; }
.partner-creds { display: flex; flex-wrap: wrap; gap: 8px; }
.partner-creds span {
  background: var(--teal-tint); color: var(--teal-dark); font-size: 0.78rem; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
}

/* ---------- Insights ---------- */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insight-card {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.insight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.insight-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.insight-tag {
  background: var(--purple-tint); color: var(--purple); font-size: 0.78rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
}
.insight-date { color: var(--grey-500); font-size: 0.82rem; }
.insight-card h3 { font-size: 1.12rem; margin-bottom: 10px; line-height: 1.4; }
.insight-card .excerpt { color: var(--grey-500); font-size: 0.93rem; flex: 1; }
.insight-toggle {
  margin-top: 18px; color: var(--teal); font-weight: 700; font-size: 0.92rem;
  text-align: start; padding: 0;
}
.insight-body { display: none; margin-top: 16px; color: var(--grey-700); font-size: 0.95rem; white-space: pre-line; }
.insight-card.open .insight-body { display: block; }
.insight-card.open .excerpt { display: none; }

/* ---------- Careers ---------- */
.vacancies { display: grid; gap: 16px; }
.vacancy-card {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-md);
  padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  box-shadow: var(--shadow-sm);
}
.vacancy-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.vacancy-card .meta { color: var(--grey-500); font-size: 0.9rem; }
.vacancy-empty {
  background: var(--white); border: 1.5px dashed var(--grey-200); border-radius: var(--radius-md);
  padding: 36px; text-align: center; color: var(--grey-500);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .drop.mega { grid-template-columns: 1fr 1fr; width: min(640px, 92vw); }
}
@media (max-width: 960px) {
  .partners-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .main-nav {
    position: fixed; top: var(--header-h); inset-inline: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 14px 20px 24px; gap: 2px; border-bottom: 1px solid var(--grey-200);
    box-shadow: var(--shadow-md); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-130%); transition: transform 0.3s ease;
  }
  .main-nav.open { transform: none; }
  .nav-item { width: 100%; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 14px; }
  .drop, .drop.mega {
    position: static; opacity: 1; visibility: hidden; transform: none !important;
    display: none; box-shadow: none; border: none; border-inline-start: 3px solid var(--grey-200);
    border-radius: 0; width: 100%; min-width: 0; padding: 4px 0 4px 10px; grid-template-columns: 1fr;
  }
  .nav-item.open > .drop, .nav-item.open > .drop.mega { display: block; visibility: visible; }
  .nav-item.open > .drop.mega { display: grid; }
  .nav-toggle { display: flex; }
  .topbar a { padding: 6px 10px; font-size: 0.8rem; }
  .vacancy-card { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   CX page + About extras
   ============================================================ */
.cx-sub { font-size: 1.3rem; font-weight: 700; color: var(--teal); margin-top: 6px; }
.cx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cx-text { color: var(--grey-700); font-size: 1.03rem; margin-bottom: 16px; }
.cx-text.big { font-size: 1.12rem; }
.cx-questions { margin: 18px 0 6px; padding: 0; counter-reset: q; list-style: none; }
.cx-questions li {
  counter-increment: q; position: relative; padding: 12px 16px 12px; padding-inline-start: 58px;
  background: var(--grey-100); border-radius: var(--radius-sm); margin-bottom: 10px;
  font-weight: 600; color: var(--grey-700);
}
.cx-questions li::before {
  content: counter(q); position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 9px 12px 12px 12px; background: var(--purple); color: var(--white);
  display: grid; place-items: center; font-weight: 800; font-size: 0.9rem;
}
.cx-quote {
  margin: 22px 0 0; padding: 16px 22px; border-inline-start: 4px solid var(--teal);
  background: var(--teal-tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 700; color: var(--teal-dark); font-style: italic; font-size: 1.05rem;
}
html[dir="rtl"] .cx-quote { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.cx-quote.center { max-width: 760px; margin: 40px auto 0; text-align: center; border: none; border-radius: var(--radius-md); }
.cx-figure { margin: 0; }
.cx-figure img {
  width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-md);
}
.cx-figure.plain img { box-shadow: var(--shadow-sm); }
.cx-figure.wide { max-width: 1020px; margin-inline: auto; }
.cx-figure.portrait { max-width: 420px; }
.cx-figure figcaption { font-size: 0.88rem; color: var(--grey-500); margin-top: 12px; text-align: center; }
.cx-iconhead { display: flex; gap: 22px; align-items: flex-start; }
.section-icon {
  flex: 0 0 auto; width: 76px; height: 76px; border-radius: 20px 26px 26px 26px;
  display: grid; place-items: center;
}
.section-icon.teal { background: var(--teal-tint); color: var(--teal); }
.section-icon.purple { background: var(--purple-tint); color: var(--purple); }
.cx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cx-step {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-md);
  padding: 24px; text-align: center; box-shadow: var(--shadow-sm); position: relative;
}
.cx-step .n {
  width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 12px 15px 15px 15px;
  background: var(--teal); color: var(--white); display: grid; place-items: center; font-weight: 800;
}
.cx-step:nth-child(even) .n { background: var(--purple); }
.cx-step h4 { margin-bottom: 6px; }
.cx-step p { color: var(--grey-500); font-size: 0.92rem; }
.cx-h3 { font-size: 1.4rem; margin-bottom: 10px; }
.cx-details {
  max-width: 1020px; margin: 26px auto 0; background: var(--grey-100);
  border-radius: var(--radius-md); padding: 18px 24px;
}
.cx-details summary { font-weight: 700; color: var(--teal); cursor: pointer; font-size: 1rem; }
.cx-dims { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 16px; }
.cx-dims span {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: 999px;
  padding: 9px 16px; font-size: 0.9rem; font-weight: 600; color: var(--grey-700); text-align: center;
}
.cx-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.office-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin-inline: auto; }
.office-col { border-radius: var(--radius-md); padding: 28px 30px; }
.office-col.without { background: #fdecec; }
.office-col.with { background: var(--teal-tint); }
.office-col h4 { margin-bottom: 14px; font-size: 1.08rem; }
.office-col.without h4 { color: #a83a3e; }
.office-col.with h4 { color: var(--teal-dark); }
.office-col li { padding: 7px 0; padding-inline-start: 26px; position: relative; color: var(--grey-700); font-size: 0.97rem; }
.office-col.without li::before { content: "✕"; color: #a83a3e; position: absolute; inset-inline-start: 0; font-weight: 800; }
.office-col.with li::before { content: "✓"; color: var(--teal); position: absolute; inset-inline-start: 0; font-weight: 800; }

/* About extras */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-sm);
}
.mv-card h3 { color: var(--purple); margin-bottom: 12px; font-size: 1.25rem; }
.mv-card:nth-child(2) h3 { color: var(--teal); }
.mv-card p { color: var(--grey-700); font-size: 1.03rem; }
.ref-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; text-align: center; }
.ref-stat { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-md); padding: 26px 16px; }
.ref-stat .value { font-size: 2rem; font-weight: 800; color: var(--purple); }
.ref-stat .label { font-size: 0.9rem; color: var(--grey-500); }
.ref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.ref-card {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-md);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s;
}
.ref-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ref-card .mark {
  width: 46px; height: 46px; border-radius: 13px 17px 17px 17px; margin-bottom: 14px;
  background: var(--purple-tint); color: var(--purple); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
}
.ref-card:nth-child(even) .mark { background: var(--teal-tint); color: var(--teal); }
.ref-card h4 { font-size: 1.02rem; margin-bottom: 6px; }
.ref-card p { color: var(--grey-500); font-size: 0.9rem; }
.ref-note { font-size: 0.85rem; color: var(--grey-500); margin-top: 22px; font-style: italic; }

@media (max-width: 900px) {
  .cx-two { grid-template-columns: 1fr; }
  .cx-steps { grid-template-columns: 1fr 1fr; }
  .cx-pillars { grid-template-columns: 1fr; }
  .office-compare { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .ref-stats { grid-template-columns: 1fr 1fr; }
  .cx-iconhead { flex-direction: column; }
}

/* ============================================================
   Full-bleed media hero (Big-4 style)
   ============================================================ */
.hero-media {
  position: relative; margin-top: var(--header-h);
  height: calc(92vh - var(--header-h)); min-height: 540px; max-height: 860px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg video, .hero-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-media-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20, 16, 18, 0.78) 0%, rgba(20, 16, 18, 0.25) 45%, rgba(20, 16, 18, 0.15) 100%);
}
html[dir="ltr"] .hero-media-overlay {
  background:
    linear-gradient(100deg, rgba(20, 16, 18, 0.72) 0%, rgba(20, 16, 18, 0.35) 55%, transparent 85%),
    linear-gradient(to top, rgba(20, 16, 18, 0.6) 0%, transparent 45%);
}
html[dir="rtl"] .hero-media-overlay {
  background:
    linear-gradient(-100deg, rgba(20, 16, 18, 0.72) 0%, rgba(20, 16, 18, 0.35) 55%, transparent 85%),
    linear-gradient(to top, rgba(20, 16, 18, 0.6) 0%, transparent 45%);
}
.hero-media-content {
  position: relative; z-index: 2; width: 100%; padding-bottom: 84px; color: var(--white);
}
.hero-kicker {
  display: inline-block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.22em;
  color: var(--yellow); margin-bottom: 18px; text-transform: uppercase;
}
html[lang="ar"] .hero-kicker { letter-spacing: 0.05em; }
.hero-media h1 {
  color: var(--white); font-size: clamp(2.2rem, 4.8vw, 3.6rem); max-width: 780px;
  margin-bottom: 20px; line-height: 1.18;
}
.hero-media .lead {
  color: rgba(255, 255, 255, 0.88); font-size: 1.18rem; max-width: 600px; margin-bottom: 34px;
}
.btn-hero-outline {
  border: 2px solid rgba(255, 255, 255, 0.85); color: var(--white);
}
.btn-hero-outline:hover { background: var(--white); color: var(--ink); }
@media (max-width: 760px) {
  .hero-media { height: auto; min-height: 480px; }
  .hero-media-content { padding-bottom: 56px; }
}

/* light-media hero variant (for bright videos/photos) */
.hero-media.hero-light .hero-media-overlay {
  background:
    linear-gradient(100deg, rgba(251, 250, 251, 0.92) 0%, rgba(251, 250, 251, 0.55) 45%, transparent 75%) !important;
}
html[dir="rtl"] .hero-media.hero-light .hero-media-overlay {
  background:
    linear-gradient(-100deg, rgba(251, 250, 251, 0.92) 0%, rgba(251, 250, 251, 0.55) 45%, transparent 75%) !important;
}
.hero-media.hero-light h1 { color: var(--ink); }
.hero-media.hero-light .lead { color: var(--grey-700); }
.hero-media.hero-light .hero-kicker { color: var(--purple); }
.hero-media.hero-light .btn-hero-outline { border-color: var(--teal); color: var(--teal); }
.hero-media.hero-light .btn-hero-outline:hover { background: var(--teal); color: var(--white); }

/* ---------- What We Do pillars ---------- */
.wwd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.wwd-card {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  padding: 36px 38px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.wwd-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.wwd-card .num {
  width: 48px; height: 48px; border-radius: 14px 18px 18px 18px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: var(--white);
  background: var(--purple); margin-bottom: 18px;
}
.wwd-card:nth-child(2) .num { background: var(--teal); }
.wwd-card:nth-child(3) .num { background: var(--navy); }
.wwd-card:nth-child(4) .num { background: var(--yellow); color: var(--ink); }
.wwd-card h3 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.35; }
.wwd-card p { color: var(--grey-700); font-size: 1rem; }
@media (max-width: 900px) { .wwd-grid { grid-template-columns: 1fr; } }

/* ============================================================
   LOB pages & service boxes (services v2)
   ============================================================ */
.lob-tag {
  display: inline-block; background: var(--teal-tint); color: var(--teal-dark);
  font-weight: 700; font-size: 0.85rem; padding: 6px 16px; border-radius: 999px; margin: 14px 0 18px;
}
.lob-intro { color: var(--grey-700); font-size: 1.08rem; max-width: 860px; line-height: 1.9; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-box {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform 0.25s, box-shadow 0.25s; scroll-margin-top: 140px;
}
.svc-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.svc-icon {
  width: 62px; height: 62px; border-radius: 16px 22px 22px 22px;
  display: grid; place-items: center; margin-bottom: 18px; color: var(--white);
}
.svc-box:nth-child(3n+1) .svc-icon { background: var(--purple); }
.svc-box:nth-child(3n+2) .svc-icon { background: var(--teal); }
.svc-box:nth-child(3n+3) .svc-icon { background: var(--navy); }
.svc-box h3 { font-size: 1.14rem; margin-bottom: 10px; line-height: 1.35; }
.svc-box p { color: var(--grey-500); font-size: 0.94rem; margin-bottom: 16px; }
.svc-box .svc-cta { font-weight: 700; font-size: 0.9rem; color: var(--teal); }
.svc-box .svc-cta:hover { color: var(--teal-dark); }
.svc-group { margin-top: 46px; scroll-margin-top: 140px; }
.svc-group-head {
  display: flex; gap: 20px; align-items: flex-start; margin-bottom: 24px;
  background: var(--grey-100); border-radius: var(--radius-lg); padding: 28px 30px;
}
.svc-group-head .svc-icon { margin-bottom: 0; flex: 0 0 auto; background: var(--purple) !important; }
.svc-group:nth-child(even) .svc-group-head .svc-icon { background: var(--teal) !important; }
.svc-group-head h3 { font-size: 1.3rem; margin-bottom: 8px; }
.svc-group-head p { color: var(--grey-500); font-size: 0.96rem; }

/* mega menu v2: scrollable tall columns */
.drop.mega { max-height: min(72vh, 640px); overflow-y: auto; }
.mega-col a.sub { padding: 7px 14px; font-size: 0.88rem; }
.mega-col .mega-group {
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--grey-500); padding: 10px 14px 2px;
}

/* LOB overview cards (homepage + services.html) */
.lob-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lob-card {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  padding: 36px 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.lob-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.lob-card .svc-icon { width: 68px; height: 68px; }
.lob-card:nth-child(1) .svc-icon { background: var(--purple); }
.lob-card:nth-child(2) .svc-icon { background: var(--teal); }
.lob-card:nth-child(3) .svc-icon { background: var(--navy); }
.lob-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.lob-card .tag { color: var(--purple); font-weight: 700; font-size: 0.85rem; margin-bottom: 12px; }
.lob-card p { color: var(--grey-500); font-size: 0.95rem; flex: 1; }
.lob-card .btn { margin-top: 20px; align-self: flex-start; }
@media (max-width: 980px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .lob-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } .svc-group-head { flex-direction: column; } }

/* ---------- Page hero with background video (About / Partners) ---------- */
.page-hero.page-hero-media {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 110px) 0 96px;
  background: var(--navy);
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
}
html[dir="ltr"] .page-hero-overlay {
  background: linear-gradient(90deg, rgba(0, 34, 46, 0.78) 0%, rgba(0, 34, 46, 0.45) 45%, rgba(0, 34, 46, 0.15) 100%);
}
html[dir="rtl"] .page-hero-overlay {
  background: linear-gradient(270deg, rgba(0, 34, 46, 0.78) 0%, rgba(0, 34, 46, 0.45) 45%, rgba(0, 34, 46, 0.15) 100%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-media h1 { color: var(--white); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.page-hero-media .kicker { color: var(--yellow); }
.page-hero-media .section-intro {
  color: rgba(255, 255, 255, 0.88); max-width: 640px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}
@media (max-width: 720px) {
  .page-hero.page-hero-media { padding: calc(var(--header-h) + 72px) 0 64px; }
}

/* ---------- Internal service page ---------- */
.section-alt { background: var(--grey-100); }

.breadcrumb { font-size: 0.85rem; margin-bottom: 18px; color: var(--grey-600); }
.breadcrumb a { color: var(--teal); font-weight: 600; }
.breadcrumb a:hover { color: var(--purple); }
.bc-sep { margin: 0 6px; color: var(--grey-400); }

.svc-hero-row { display: flex; align-items: flex-start; gap: 22px; }
.svc-hero-icon { flex: 0 0 auto; width: 68px; height: 68px; }
.svc-hero h1 { margin-bottom: 10px; }
.svc-promise {
  font-size: 1.15rem; color: var(--grey-700); max-width: 640px; line-height: 1.7; font-weight: 600;
}

.svc-overview { max-width: 820px; }
.svc-overview p { margin-bottom: 18px; line-height: 1.9; color: var(--grey-700); font-size: 1.02rem; }
.svc-overview p:first-child { font-size: 1.1rem; color: var(--ink); }

/* pain-point cards */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pain-card {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: 16px 22px 22px 22px; padding: 26px 26px 22px;
  border-inline-start: 4px solid var(--coral); box-shadow: var(--shadow-sm);
}
.pain-card h4 { color: var(--navy); margin-bottom: 8px; font-size: 1.02rem; }
.pain-card p { color: var(--grey-600); font-size: 0.93rem; line-height: 1.7; }

/* approach steps */
.svc-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.svc-step {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: 16px 22px 22px 22px; padding: 22px 20px; box-shadow: var(--shadow-sm);
  position: relative;
}
.svc-step .step-num {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--white); background: var(--teal); margin-bottom: 14px; font-size: 0.95rem;
}
.svc-step:nth-child(3n+2) .step-num { background: var(--purple); }
.svc-step:nth-child(3n+3) .step-num { background: var(--navy); }
.svc-step h4 { font-size: 0.98rem; margin-bottom: 8px; color: var(--ink); }
.svc-step p { font-size: 0.88rem; color: var(--grey-600); line-height: 1.65; }

/* what you get */
.get-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.get-col {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: 16px 22px 22px 22px; padding: 30px 30px 26px; box-shadow: var(--shadow-sm);
}
.get-col h3 { color: var(--navy); margin-bottom: 16px; font-size: 1.1rem; }
.get-col-outcomes { border-top: 4px solid var(--yellow); }
.get-col:first-child { border-top: 4px solid var(--teal); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative; padding-inline-start: 30px; margin-bottom: 12px;
  color: var(--grey-700); line-height: 1.65; font-size: 0.95rem;
}
.check-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--mint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.get-col-outcomes .check-list li::before { background: var(--yellow); }

/* proof visual */
.svc-figure { margin: 0; text-align: center; }
.svc-figure img {
  max-width: 100%; border-radius: 16px 22px 22px 22px;
  border: 1px solid var(--grey-200); box-shadow: var(--shadow-md);
}
.svc-figure figcaption { margin-top: 14px; color: var(--grey-600); font-size: 0.9rem; }

/* why band */
.why-band { background: var(--navy); }
.why-band .section-title { color: var(--white); }
.why-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-chip {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px 22px 22px 22px; padding: 26px 24px;
}
.why-chip h4 { color: var(--yellow); margin-bottom: 8px; font-size: 1rem; }
.why-chip p { color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; line-height: 1.7; }

/* related boxes are anchors */
a.svc-box { display: block; color: inherit; }
a.svc-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

@media (max-width: 960px) {
  .svc-steps { grid-template-columns: 1fr 1fr; }
  .pain-grid, .get-grid { grid-template-columns: 1fr; }
  .why-chips { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc-steps { grid-template-columns: 1fr; }
  .svc-hero-row { flex-direction: column; gap: 14px; }
}

/* hero icon on service pages needs an explicit brand background */
.svc-hero-icon { background: var(--teal); }

/* ---------- Service page section media (photos) ---------- */
.svc-media img {
  width: 100%; display: block; object-fit: cover;
  border-radius: 16px 22px 22px 22px;
  border: 1px solid var(--grey-200); box-shadow: var(--shadow-md);
}
.svc-banner { margin-top: 36px; }
.svc-banner img { max-height: 440px; }

.svc-hero-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.svc-hero-grid.has-media { grid-template-columns: 1.1fr 1fr; }
.svc-media-hero img { max-height: 360px; }

.svc-overview-wrap.has-media {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center;
}

.why-banner { margin: 0 0 34px; }
.why-banner img { border-color: rgba(255, 255, 255, 0.2); }

.cta-band.has-media { display: grid; grid-template-columns: 1.5fr auto 1fr; align-items: center; gap: 30px; }
.cta-media img { max-height: 240px; border: none; }

@media (max-width: 960px) {
  .svc-hero-grid.has-media, .svc-overview-wrap.has-media, .cta-band.has-media { grid-template-columns: 1fr; }
}

/* service media slots also accept video */
.svc-media video {
  width: 100%; display: block; object-fit: cover;
  border-radius: 16px 22px 22px 22px;
  border: 1px solid var(--grey-200); box-shadow: var(--shadow-md);
}

/* ---------- Our People ---------- */
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.person-card {
  display: block; color: inherit; background: var(--white);
  border: 1px solid var(--grey-200); border-radius: 16px 22px 22px 22px;
  padding: 26px 26px 22px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s; text-align: center;
}
.person-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.person-card-photo {
  width: 128px; height: 128px; margin: 0 auto 16px; border-radius: 50%;
  overflow: hidden; border: 3px solid var(--teal);
}
.person-card:nth-child(3n+2) .person-card-photo { border-color: var(--purple); }
.person-card:nth-child(3n+3) .person-card-photo { border-color: var(--navy); }
.person-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.person-card h3 { font-size: 1.1rem; margin-bottom: 4px; color: var(--ink); }
.pc-title { color: var(--purple); font-weight: 700; font-size: 0.9rem; }
.pc-lob { color: var(--grey-600); font-size: 0.85rem; margin: 2px 0 10px; }
.pc-years { font-size: 0.85rem; color: var(--grey-700); margin-bottom: 12px; }
.pc-years strong { color: var(--teal); font-size: 1.05rem; }
.emp-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.emp-chip {
  background: var(--grey-100); border: 1px solid var(--grey-200);
  border-radius: 999px; padding: 3px 11px; font-size: 0.74rem; font-weight: 600; color: var(--navy);
  white-space: nowrap;
}
.pc-chips { margin-bottom: 14px; min-height: 52px; align-content: flex-start; }

/* person profile page */
.person-hero .breadcrumb { margin-bottom: 22px; }
.person-hero-grid { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; }
.person-photo {
  width: 190px; height: 190px; border-radius: 24px 32px 32px 32px;
  overflow: hidden; border: 4px solid var(--white); box-shadow: var(--shadow-md);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.person-hero h1 { margin-bottom: 6px; }
.person-title { color: var(--purple); font-weight: 800; font-size: 1.15rem; }
.person-lob { color: var(--grey-600); font-weight: 600; margin: 2px 0 12px; }
.person-meta { margin-bottom: 14px; color: var(--grey-700); }
.person-years strong { color: var(--teal); font-size: 1.3rem; }
.emp-label { display: block; font-size: 0.8rem; color: var(--grey-600); margin-bottom: 6px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.person-employers .emp-chips { justify-content: flex-start; }

.person-block { max-width: 900px; }
.person-brief { font-size: 1.05rem; line-height: 1.95; color: var(--grey-700); }
.person-list li { margin-bottom: 12px; line-height: 1.7; color: var(--grey-700); }
.dot-list { list-style: none; padding: 0; margin: 0; }
.dot-list li { position: relative; padding-inline-start: 26px; }
.dot-list li::before {
  content: ""; position: absolute; inset-inline-start: 4px; top: 10px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--purple);
}
.dot-list li:nth-child(3n+2)::before { background: var(--teal); }
.dot-list li:nth-child(3n+3)::before { background: var(--yellow); }
.expertise-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.expertise-chip {
  background: var(--white); border: 1px solid var(--grey-200);
  border-inline-start: 4px solid var(--teal);
  border-radius: 12px 16px 16px 16px; padding: 12px 18px;
  font-weight: 600; color: var(--navy); font-size: 0.93rem;
}
.expertise-chip:nth-child(3n+2) { border-inline-start-color: var(--purple); }
.expertise-chip:nth-child(3n+3) { border-inline-start-color: var(--yellow); }
.person-back { margin-top: 30px; }

@media (max-width: 960px) {
  .people-grid { grid-template-columns: 1fr 1fr; }
  .person-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .person-photo { margin: 0 auto; }
  .person-employers .emp-chips { justify-content: center; }
}
@media (max-width: 640px) { .people-grid { grid-template-columns: 1fr; } }
