@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

/* =============================================================================
   I3C GROUP — Homepage art direction
   Loaded only on the homepage (theme.yml → assets.css.index).
   Markup lives in the database (iqit_elementor_landing_lang, layout ID 2).
   Behaviour lives in assets/js/i3c-home.js.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --i3c-navy: #0f1f44;
  --i3c-navy-900: #081533;
  --i3c-navy-700: #16305f;
  --i3c-blue: #2858d6;
  --i3c-blue-600: #1e49bd;
  --i3c-blue-050: #eef3ff;
  --i3c-gold: #e3b341;
  --i3c-gold-600: #c8992c;
  --i3c-ink: #1e293b;
  --i3c-muted: #64748b;
  --i3c-line: #e2e8f0;
  --i3c-surface: #f6f8fc;
  --i3c-white: #ffffff;

  --i3c-font: "Inter", "Inter var", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --i3c-gutter: clamp(20px, 4vw, 64px);
  --i3c-shell: 1440px;
  /* Overwritten at runtime by i3c-home.js with the measured header height. */
  --i3c-header-h: 150px;
  --i3c-radius: 4px;
  --i3c-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -----------------------------------------------------------------------------
   2. Page canvas — neutralise the theme chrome so sections run edge to edge
   -------------------------------------------------------------------------- */
body#index {
  font-family: var(--i3c-font);
  color: var(--i3c-ink);
  background: var(--i3c-white);
  -webkit-font-smoothing: antialiased;
}

body#index #wrapper,
body#index #content-wrapper,
body#index #content.page-home {
  margin: 0;
  padding: 0;
  background: var(--i3c-white);
}

body#index #inner-wrapper.container {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

body#index .i3c-elementor-home.elementor-section {
  width: 100%;
  max-width: none;
}

/* The hero bleeds up behind the header, so the wrapper may only clip sideways. */
body#index #content.page-home > .elementor,
body#index #content.page-home .elementor-section-wrap {
  overflow: visible;
  overflow-x: clip;
}

body#index .i3c-elementor-home .elementor-container,
body#index .i3c-elementor-home .elementor-column-wrap,
body#index .i3c-elementor-home .elementor-widget-wrap,
body#index .i3c-elementor-home .elementor-widget-html,
body#index .i3c-elementor-home .elementor-widget-container {
  margin: 0;
  padding: 0;
  max-width: none;
}

body#index .i3c-elementor-home a {
  text-decoration: none;
}

body#index .i3c-elementor-home img {
  max-width: 100%;
}

/* -----------------------------------------------------------------------------
   3. Primitives
   -------------------------------------------------------------------------- */
.i3c-wrap {
  width: 100%;
  max-width: calc(var(--i3c-shell) + var(--i3c-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--i3c-gutter);
}

.i3c-band {
  position: relative;
  padding: clamp(72px, 8vw, 132px) 0;
  overflow: hidden;
}

.i3c-band--tight {
  padding: clamp(56px, 6vw, 96px) 0;
}

.i3c-band--dark {
  color: rgba(255, 255, 255, 0.78);
  background: var(--i3c-navy-900);
}

.i3c-band--soft {
  background: var(--i3c-surface);
}

.i3c-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--i3c-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.i3c-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--i3c-gold);
}

.i3c-band--dark .i3c-eyebrow {
  color: var(--i3c-gold);
}

.i3c-h2 {
  margin: 0;
  color: var(--i3c-navy);
  font-family: var(--i3c-font);
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.i3c-h2 em {
  font-style: normal;
  color: var(--i3c-blue);
}

.i3c-band--dark .i3c-h2 {
  color: var(--i3c-white);
}

.i3c-band--dark .i3c-h2 em {
  color: var(--i3c-gold);
}

.i3c-lead {
  margin: 22px 0 0;
  max-width: 62ch;
  color: var(--i3c-muted);
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 400;
  line-height: 1.72;
}

.i3c-band--dark .i3c-lead {
  color: rgba(255, 255, 255, 0.7);
}

.i3c-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(40px, 4.5vw, 72px);
}

.i3c-head__text {
  max-width: 760px;
}

.i3c-head__aside {
  flex: 0 0 auto;
  padding-bottom: 6px;
}

/* Buttons ------------------------------------------------------------------ */
.i3c-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 34px;
  border: 1px solid transparent;
  border-radius: var(--i3c-radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 0.35s var(--i3c-ease), background-color 0.35s var(--i3c-ease),
    border-color 0.35s var(--i3c-ease), color 0.35s var(--i3c-ease), box-shadow 0.35s var(--i3c-ease);
}

.i3c-btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform 0.35s var(--i3c-ease);
}

.i3c-btn:hover svg {
  transform: translateX(5px);
}

.i3c-btn--primary,
.i3c-btn--primary:focus {
  color: var(--i3c-white) !important;
  background: var(--i3c-blue);
  border-color: var(--i3c-blue);
  box-shadow: 0 14px 34px -16px rgba(40, 88, 214, 0.9);
}

.i3c-btn--primary:hover {
  color: var(--i3c-white) !important;
  background: var(--i3c-blue-600);
  border-color: var(--i3c-blue-600);
  transform: translateY(-2px);
}

.i3c-btn--ghost,
.i3c-btn--ghost:focus {
  color: var(--i3c-white) !important;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(6px);
}

.i3c-btn--ghost:hover {
  color: var(--i3c-navy) !important;
  background: var(--i3c-white);
  border-color: var(--i3c-white);
  transform: translateY(-2px);
}

.i3c-btn--outline,
.i3c-btn--outline:focus {
  color: var(--i3c-navy) !important;
  background: transparent;
  border-color: rgba(15, 31, 68, 0.22);
}

.i3c-btn--outline:hover {
  color: var(--i3c-white) !important;
  background: var(--i3c-navy);
  border-color: var(--i3c-navy);
  transform: translateY(-2px);
}

.i3c-btn--gold,
.i3c-btn--gold:focus {
  color: var(--i3c-navy) !important;
  background: var(--i3c-gold);
  border-color: var(--i3c-gold);
}

.i3c-btn--gold:hover {
  color: var(--i3c-navy) !important;
  background: #f2c65d;
  border-color: #f2c65d;
  transform: translateY(-2px);
}

.i3c-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--i3c-blue) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.i3c-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--i3c-ease);
}

.i3c-link:hover svg {
  transform: translateX(5px);
}

.i3c-band--dark .i3c-link {
  color: var(--i3c-gold) !important;
}

.i3c-project__body .i3c-link {
  margin-top: 14px;
}

/* Reveal on scroll --------------------------------------------------------- */
.i3c-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--i3c-ease), transform 0.9s var(--i3c-ease);
}

.i3c-reveal.is-in {
  opacity: 1;
  transform: none;
}

.i3c-reveal[data-delay="1"] { transition-delay: 0.08s; }
.i3c-reveal[data-delay="2"] { transition-delay: 0.16s; }
.i3c-reveal[data-delay="3"] { transition-delay: 0.24s; }
.i3c-reveal[data-delay="4"] { transition-delay: 0.32s; }
.i3c-reveal[data-delay="5"] { transition-delay: 0.4s; }

/* -----------------------------------------------------------------------------
   4. Hero — cinematic full-bleed stage
   -------------------------------------------------------------------------- */
.i3c-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(620px, 100vh, 900px);
  margin-top: calc(var(--i3c-header-h) * -1);
  padding-top: calc(var(--i3c-header-h) * 2 + clamp(32px, 5vw, 80px));
  padding-bottom: 0;
  overflow: hidden;
  color: var(--i3c-white);
  background: var(--i3c-navy-900);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 68px));
}

.i3c-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.i3c-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.06);
  animation: i3c-kenburns 22s var(--i3c-ease) forwards;
}

@keyframes i3c-kenburns {
  to { transform: scale(1); }
}

.i3c-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, rgba(8, 21, 51, 0.96) 0%, rgba(8, 21, 51, 0.86) 34%, rgba(8, 21, 51, 0.42) 66%, rgba(8, 21, 51, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 21, 51, 0.86) 0%, rgba(8, 21, 51, 0) 46%);
}

.i3c-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
}

.i3c-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.i3c-hero__copy {
  max-width: 900px;
  padding-bottom: clamp(48px, 6vw, 88px);
}

.i3c-hero .i3c-eyebrow {
  color: var(--i3c-white);
  opacity: 0.92;
}

.i3c-hero h1 {
  margin: 0;
  color: var(--i3c-white);
  font-family: var(--i3c-font);
  font-size: clamp(38px, 5.4vw, 78px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.i3c-hero h1 span {
  display: block;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
}

.i3c-hero h1 em {
  font-style: normal;
  color: var(--i3c-gold);
}

.i3c-hero__lead {
  margin: 28px 0 0;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 300;
  line-height: 1.72;
}

.i3c-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

/* TUNISIA → AFRICA → INTERNATIONAL corridor */
.i3c-corridor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.i3c-corridor li {
  position: relative;
  padding-left: 22px;
}

.i3c-corridor li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 8px;
  height: 8px;
  border: 2px solid var(--i3c-gold);
  border-radius: 50%;
}

.i3c-corridor li + li::after {
  content: "";
  position: absolute;
  top: 10px;
  left: -18px;
  width: 12px;
  height: 1px;
  background: rgba(255, 255, 255, 0.32);
}

.i3c-corridor b {
  display: block;
  color: var(--i3c-white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.i3c-corridor span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
  line-height: 1.4;
}

/* Key figures docked at the base of the stage */
.i3c-hero__figures {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(8, 21, 51, 0.1) 0%, rgba(8, 21, 51, 0.55) 100%);
  backdrop-filter: blur(10px);
}

.i3c-hero__figures ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.i3c-hero__figures li {
  padding: 30px 40px 78px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.i3c-hero__figures li:first-child {
  padding-left: 0;
  border-left: 0;
}

.i3c-hero__figures b {
  display: block;
  color: var(--i3c-white);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.i3c-hero__figures li > span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.i3c-hero__figures b span {
  color: inherit;
}

.i3c-hero__scroll {
  position: absolute;
  right: var(--i3c-gutter);
  bottom: 210px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.i3c-hero__scroll i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
  animation: i3c-scroll-cue 2.4s var(--i3c-ease) infinite;
}

@keyframes i3c-scroll-cue {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* -----------------------------------------------------------------------------
   5. Industries — large editorial cards
   -------------------------------------------------------------------------- */
.i3c-industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.i3c-card {
  position: relative;
  display: block;
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--i3c-radius);
  background: var(--i3c-navy-900);
  isolation: isolate;
}

.i3c-card--tall {
  min-height: 560px;
}

.i3c-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--i3c-ease), filter 0.8s var(--i3c-ease);
  filter: saturate(0.85) contrast(1.04);
}

.i3c-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 21, 51, 0.08) 0%, rgba(8, 21, 51, 0.62) 48%, rgba(8, 21, 51, 0.95) 100%);
  transition: background 0.6s var(--i3c-ease);
}

.i3c-card:hover img {
  transform: scale(1.08);
  filter: saturate(1) contrast(1.06);
}

.i3c-card:hover::after {
  background: linear-gradient(180deg, rgba(30, 73, 189, 0.2) 0%, rgba(8, 21, 51, 0.7) 45%, rgba(8, 21, 51, 0.96) 100%);
}

.i3c-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: inherit;
  padding: 40px;
}

.i3c-card__index {
  position: absolute;
  top: 34px;
  left: 40px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.i3c-card h3 {
  margin: 0;
  color: var(--i3c-white);
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.i3c-card h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 18px;
  background: var(--i3c-gold);
  transition: width 0.5s var(--i3c-ease);
}

.i3c-card:hover h3::after {
  width: 88px;
}

.i3c-card p {
  margin: 16px 0 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.66;
  opacity: 0;
  max-height: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--i3c-ease), transform 0.5s var(--i3c-ease), max-height 0.5s var(--i3c-ease);
}

.i3c-card:hover p {
  opacity: 1;
  max-height: 120px;
  transform: none;
}

.i3c-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--i3c-white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.i3c-card__cta svg {
  width: 15px;
  height: 15px;
  transition: transform 0.4s var(--i3c-ease);
}

.i3c-card:hover .i3c-card__cta svg {
  transform: translateX(6px);
}

/* -----------------------------------------------------------------------------
   6. Global presence — world map + live counters
   -------------------------------------------------------------------------- */
.i3c-presence {
  background:
    radial-gradient(1100px 620px at 22% 8%, rgba(40, 88, 214, 0.28) 0%, transparent 62%),
    radial-gradient(900px 520px at 88% 92%, rgba(227, 179, 65, 0.12) 0%, transparent 60%),
    var(--i3c-navy-900);
}

.i3c-presence__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
}

.i3c-map {
  position: relative;
  width: 100%;
}

.i3c-map svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.i3c-map__dot {
  fill: rgba(255, 255, 255, 0.16);
}

.i3c-map__dot--africa {
  fill: rgba(74, 130, 255, 0.85);
}

.i3c-map__halo {
  fill: none;
  stroke: rgba(227, 179, 65, 0.35);
  stroke-dasharray: 4 8;
}

.i3c-map__pin {
  cursor: pointer;
}

.i3c-map__pin circle.core {
  fill: var(--i3c-gold);
}

.i3c-map__pin circle.ring {
  fill: rgba(227, 179, 65, 0.35);
  transform-origin: center;
  transform-box: fill-box;
  animation: i3c-pulse 2.8s var(--i3c-ease) infinite;
}

.i3c-map__pin--hub circle.core {
  fill: var(--i3c-white);
}

.i3c-map__pin--hub circle.ring {
  fill: rgba(255, 255, 255, 0.4);
}

/* Headquarters — larger, ringed and always labelled. */
.i3c-map__pin--hq circle.core {
  fill: var(--i3c-gold);
  stroke: var(--i3c-white);
  stroke-width: 2.5;
}

.i3c-map__pin--hq circle.ring {
  fill: rgba(227, 179, 65, 0.6);
}

.i3c-map__hq {
  position: absolute;
  z-index: 5;
  display: block;
  padding: 9px 14px;
  border: 1px solid rgba(227, 179, 65, 0.55);
  border-radius: 3px;
  background: rgba(8, 21, 51, 0.92);
  box-shadow: 0 10px 26px -14px rgba(0, 0, 0, 0.9);
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 18px));
  text-align: center;
  white-space: nowrap;
}

.i3c-map__hq::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 18px;
  background: linear-gradient(to bottom, var(--i3c-gold), rgba(227, 179, 65, 0.15));
}

.i3c-map__hq b {
  display: block;
  color: var(--i3c-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.1;
  text-transform: uppercase;
}

.i3c-map__hq span {
  display: block;
  margin-top: 5px;
  color: var(--i3c-white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

@keyframes i3c-pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  70% { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

.i3c-map__label {
  position: absolute;
  z-index: 4;
  padding: 7px 12px;
  border-radius: 3px;
  color: var(--i3c-navy);
  background: var(--i3c-white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -140%);
  transition: opacity 0.25s var(--i3c-ease);
}

.i3c-map__label.is-on {
  opacity: 1;
}

.i3c-presence__panel {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--i3c-radius);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.i3c-presence__panel h3 {
  margin: 0 0 8px;
  color: var(--i3c-white);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.i3c-presence__panel p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.66;
}

.i3c-network {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.i3c-network li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.i3c-network__key {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.i3c-network__val {
  color: var(--i3c-white);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.i3c-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 5vw, 84px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.i3c-stats div {
  padding: 40px 36px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.i3c-stats div:first-child {
  padding-left: 0;
  border-left: 0;
}

.i3c-stats__icon {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--i3c-gold);
}

.i3c-stats__icon svg {
  width: 26px;
  height: 26px;
}

.i3c-stats b {
  display: block;
  color: var(--i3c-gold);
  font-size: clamp(34px, 3.6vw, 54px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.i3c-stats b span {
  color: inherit;
}

.i3c-stats p {
  margin: 14px 0 0;
  max-width: 26ch;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.6;
}

/* -----------------------------------------------------------------------------
   7. Headquarters — Tunisia, the operating base (TUNISIA → AFRICA → WORLD)
   -------------------------------------------------------------------------- */
.i3c-hq__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 88px);
  align-items: center;
}

.i3c-hq__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--i3c-radius);
  background: var(--i3c-navy-900);
  isolation: isolate;
}

.i3c-hq__media img {
  display: block;
  width: 100%;
  height: clamp(360px, 44vw, 600px);
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 1.2s var(--i3c-ease);
}

.i3c-hq__media:hover img {
  transform: scale(1.05);
}

.i3c-hq__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 21, 51, 0.05) 32%, rgba(8, 21, 51, 0.72) 66%, rgba(8, 21, 51, 0.95) 100%);
}

.i3c-hq__media figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(22px, 3vw, 40px);
  bottom: clamp(24px, 3vw, 40px);
  left: clamp(22px, 3vw, 40px);
  padding-left: 18px;
  border-left: 3px solid var(--i3c-gold);
}

.i3c-hq__badge {
  display: block;
  margin-bottom: 10px;
  color: var(--i3c-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.i3c-hq__media figcaption b {
  display: block;
  color: var(--i3c-white);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.i3c-hq__media figcaption span:last-child {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.i3c-hq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 40px;
  margin: clamp(32px, 3.5vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}

.i3c-hq__list li {
  display: flex;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--i3c-line);
}

.i3c-hq__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--i3c-blue);
  background: var(--i3c-white);
  border: 1px solid var(--i3c-line);
  border-radius: var(--i3c-radius);
}

.i3c-hq__icon svg {
  width: 21px;
  height: 21px;
}

.i3c-hq__body b {
  display: block;
  color: var(--i3c-navy);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.i3c-hq__body span {
  display: block;
  margin-top: 6px;
  color: var(--i3c-muted);
  font-size: 13.5px;
  line-height: 1.62;
}

.i3c-hq .i3c-link {
  margin-top: 34px;
}

/* -----------------------------------------------------------------------------
   8. African markets — compact interactive country cards (no second map)
   -------------------------------------------------------------------------- */
.i3c-markets__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.i3c-markets__list > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.i3c-market {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 20px 20px 20px 24px;
  overflow: hidden;
  border: 1px solid var(--i3c-line);
  border-radius: var(--i3c-radius);
  background: var(--i3c-white);
  box-shadow: 0 1px 2px rgba(15, 31, 68, 0.04);
  transition: transform 0.35s var(--i3c-ease), box-shadow 0.35s var(--i3c-ease),
    border-color 0.35s var(--i3c-ease);
}

/* Gold accent revealed on hover / focus. */
.i3c-market::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--i3c-gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--i3c-ease);
}

.i3c-market__icon {
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--i3c-gold);
  transition: color 0.35s var(--i3c-ease), transform 0.45s var(--i3c-ease);
}

.i3c-market__icon svg {
  width: 40px;
  height: 40px;
}

.i3c-market__text {
  flex: 1 1 auto;
  min-width: 0;
}

.i3c-market__country {
  display: block;
  color: var(--i3c-navy);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  transition: color 0.35s var(--i3c-ease);
}

.i3c-market__city {
  display: block;
  margin-top: 3px;
  color: var(--i3c-muted);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.4;
}

.i3c-market__go {
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--i3c-navy);
  opacity: 0.32;
  transition: transform 0.35s var(--i3c-ease), opacity 0.35s var(--i3c-ease),
    color 0.35s var(--i3c-ease);
}

.i3c-market__go svg {
  width: 18px;
  height: 18px;
}

.i3c-market:hover,
.i3c-market:focus-visible {
  border-color: rgba(40, 88, 214, 0.28);
  box-shadow: 0 18px 38px -22px rgba(15, 31, 68, 0.45);
  transform: translateY(-3px);
}

.i3c-market:hover::before,
.i3c-market:focus-visible::before {
  transform: scaleY(1);
}

.i3c-market:hover .i3c-market__icon,
.i3c-market:focus-visible .i3c-market__icon {
  color: var(--i3c-gold-600);
  transform: translateY(-2px);
}

.i3c-market:hover .i3c-market__country,
.i3c-market:focus-visible .i3c-market__country {
  color: var(--i3c-blue);
}

.i3c-market:hover .i3c-market__go,
.i3c-market:focus-visible .i3c-market__go {
  color: var(--i3c-blue);
  opacity: 1;
  transform: translateX(5px);
}

.i3c-market:focus-visible {
  outline: 2px solid var(--i3c-blue);
  outline-offset: 3px;
}

/* “Country not listed” CTA — occupies the free slot of the grid -------------- */
.i3c-market-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 20px 20px 20px 24px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--i3c-radius);
  background: linear-gradient(135deg, var(--i3c-navy) 0%, var(--i3c-blue-600) 100%);
  transition: transform 0.35s var(--i3c-ease), box-shadow 0.35s var(--i3c-ease);
}

.i3c-market-cta__text {
  flex: 1 1 auto;
  min-width: 0;
}

.i3c-market-cta__icon {
  flex: 0 0 auto;
  display: inline-flex;
  color: rgba(255, 255, 255, 0.34);
  transition: color 0.35s var(--i3c-ease), transform 0.45s var(--i3c-ease);
}

.i3c-market-cta__icon svg {
  width: 34px;
  height: 34px;
}

.i3c-market-cta__title {
  display: block;
  color: var(--i3c-white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.i3c-market-cta__go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  color: var(--i3c-gold);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.i3c-market-cta__go svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--i3c-ease);
}

.i3c-market-cta:hover,
.i3c-market-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -24px rgba(15, 31, 68, 0.7);
}

.i3c-market-cta:hover .i3c-market-cta__icon,
.i3c-market-cta:focus-visible .i3c-market-cta__icon {
  color: var(--i3c-gold);
  transform: rotate(-8deg);
}

.i3c-market-cta:hover .i3c-market-cta__go svg,
.i3c-market-cta:focus-visible .i3c-market-cta__go svg {
  transform: translateX(5px);
}

.i3c-market-cta:focus-visible {
  outline: 2px solid var(--i3c-gold);
  outline-offset: 3px;
}

/* -----------------------------------------------------------------------------
   8. Catalogue — split editorial rows
   -------------------------------------------------------------------------- */
.i3c-ranges {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.i3c-range {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--i3c-radius);
  background: var(--i3c-white);
  box-shadow: 0 1px 0 var(--i3c-line), 0 26px 50px -40px rgba(15, 31, 68, 0.55);
  transition: transform 0.5s var(--i3c-ease), box-shadow 0.5s var(--i3c-ease);
}

.i3c-range:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 0 transparent, 0 40px 70px -44px rgba(15, 31, 68, 0.7);
}

.i3c-range__media {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: var(--i3c-surface);
}

.i3c-range__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--i3c-ease);
}

.i3c-range:hover .i3c-range__media img {
  transform: scale(1.06);
}

.i3c-range__tag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 14px;
  border-radius: 2px;
  color: var(--i3c-white);
  background: rgba(8, 21, 51, 0.82);
  backdrop-filter: blur(4px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.i3c-range__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 34px 34px 34px;
}

.i3c-range h3 {
  margin: 0;
  color: var(--i3c-navy);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.i3c-range p {
  margin: 14px 0 0;
  color: var(--i3c-muted);
  font-size: 14px;
  line-height: 1.68;
}

.i3c-range ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.i3c-range li {
  position: relative;
  padding-left: 20px;
  color: var(--i3c-ink);
  font-size: 13.5px;
  line-height: 1.5;
}

.i3c-range li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  border: 2px solid var(--i3c-blue);
  border-radius: 50%;
}

.i3c-range .i3c-link {
  margin-top: auto;
  padding-top: 28px;
}

/* -----------------------------------------------------------------------------
   9. Projects — reference showcase
   -------------------------------------------------------------------------- */
.i3c-projects {
  background: var(--i3c-navy);
}

.i3c-projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.i3c-project {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--i3c-radius);
}

.i3c-project--lead {
  grid-row: auto;
}

.i3c-project img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--i3c-ease);
}

.i3c-project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 21, 51, 0.12) 18%, rgba(8, 21, 51, 0.62) 52%, rgba(8, 21, 51, 0.95) 100%);
}

.i3c-project:hover img {
  transform: scale(1.06);
}

.i3c-project__body {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 28px;
  left: 26px;
}

.i3c-project span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--i3c-gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.i3c-project h3 {
  margin: 0;
  color: var(--i3c-white);
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.i3c-project p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13.5px;
  line-height: 1.6;
}

/* -----------------------------------------------------------------------------
   9b. Why choose I3C Group
   -------------------------------------------------------------------------- */
.i3c-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.i3c-why__item {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid rgba(15, 31, 68, 0.08);
  border-radius: var(--i3c-radius);
}

.i3c-why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--i3c-blue);
  background: rgba(40, 88, 214, 0.09);
  border-radius: 12px;
}

.i3c-why__icon svg {
  width: 24px;
  height: 24px;
}

.i3c-why__item h3 {
  margin: 18px 0 0;
  color: var(--i3c-navy);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.i3c-why__item p {
  margin: 8px 0 0;
  color: var(--i3c-ink);
  font-size: 14px;
  line-height: 1.65;
}

/* -----------------------------------------------------------------------------
   10. Closing call to action
   -------------------------------------------------------------------------- */
.i3c-cta {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--i3c-navy-900);
}

.i3c-cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding: clamp(64px, 7vw, 108px) 0;
}

.i3c-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(96deg, rgba(8, 21, 51, 0.97) 0%, rgba(8, 21, 51, 0.86) 46%, rgba(30, 73, 189, 0.55) 100%);
}

.i3c-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.i3c-cta h2 {
  margin: 0;
  color: var(--i3c-white);
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.i3c-cta p {
  margin: 18px 0 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.i3c-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.i3c-cta__actions .i3c-btn {
  justify-content: center;
}

/* -----------------------------------------------------------------------------
   11. Header
   The navy corporate header is sitewide (see custom.css). Only the homepage
   dissolves it over the hero until the page is scrolled.
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  body#index #header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
  }
}

body#index #header,
body#index #header .i3c-corporate-header,
body#index #header .header-nav {
  transition: background-color 0.4s var(--i3c-ease), border-color 0.4s var(--i3c-ease);
}

body#index.i3c-at-top #header,
body#index.i3c-at-top #header #desktop-header,
body#index.i3c-at-top #header #desktop-header.stuck-header,
body#index.i3c-at-top #header .i3c-corporate-header,
body#index.i3c-at-top #header .header-nav {
  background: transparent !important;
  box-shadow: none !important;
}

body#index.i3c-at-top #header .header-nav {
  border-bottom-color: rgba(255, 255, 255, 0.16) !important;
}

body#index.i3c-at-top #header .i3c-corporate-header {
  border-bottom-color: rgba(255, 255, 255, 0.16) !important;
}

/* -----------------------------------------------------------------------------
   12. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
  .i3c-industries__grid,
  .i3c-ranges {
    grid-template-columns: repeat(2, 1fr);
  }

  .i3c-projects__grid,
  .i3c-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .i3c-markets__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .i3c-presence__layout {
    grid-template-columns: 1fr;
  }

  .i3c-presence__panel {
    max-width: none;
  }
}

@media (max-width: 991px) {
  :root {
    --i3c-header-h: 0px;
  }

  .i3c-hero {
    min-height: 0;
    margin-top: 0;
    padding-top: clamp(56px, 12vw, 96px);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 40px));
  }

  .i3c-hero__figures ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .i3c-hero__figures li {
    padding: 24px 0 24px 24px;
  }

  .i3c-hero__figures li:nth-child(3),
  .i3c-hero__figures li:nth-child(4) {
    padding-bottom: 58px;
  }

  .i3c-hero__figures li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .i3c-hero__scroll {
    display: none;
  }

  .i3c-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .i3c-stats div {
    padding: 32px 24px 0;
  }

  .i3c-stats div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .i3c-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .i3c-markets__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .i3c-projects__grid {
    grid-template-columns: 1fr;
  }

  .i3c-why__grid {
    grid-template-columns: 1fr;
  }

  .i3c-project--lead {
    grid-row: auto;
    min-height: 340px;
  }

  .i3c-cta__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .i3c-cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  body#index #mobile-header .row-mobile-buttons {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .i3c-industries__grid,
  .i3c-ranges {
    grid-template-columns: 1fr;
  }

  .i3c-markets__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .i3c-card,
  .i3c-card--tall {
    min-height: 380px;
  }

  .i3c-card p {
    opacity: 1;
    max-height: none;
    transform: none;
  }

  .i3c-market__go {
    opacity: 0.6;
  }

  .i3c-hero {
    min-height: 0;
  }

  .i3c-hero__copy {
    padding-bottom: 40px;
  }

  .i3c-hero__actions .i3c-btn {
    width: 100%;
    justify-content: center;
  }

  .i3c-range__media {
    height: 220px;
  }

  .i3c-stats {
    grid-template-columns: 1fr;
  }

  .i3c-stats div {
    padding: 26px 0 0;
    border-left: 0;
  }
}

@media (max-width: 479px) {
  .i3c-markets__list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1800px) {
  :root {
    --i3c-shell: 1560px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .i3c-reveal,
  .i3c-hero__media img,
  .i3c-map__pin circle.ring,
  .i3c-hero__scroll i {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
