/* =========================================================================
   GUIDE — Website styles
   Palette derived from the original logo:
     logo navy  #1B314A   ·   logo teal  #4389AA
   plus the brighter blues/cyans of the approved hero reference.
   Layout uses logical properties (inline/block) so RTL works automatically.
   ========================================================================= */

:root {
  /* brand */
  --navy: #1B314A;
  --teal: #4389AA;
  --teal-600: #2F7898;
  --teal-700: #1B5272;

  /* hero / dark surfaces */
  --navy-950: #051530;
  --navy-900: #08214A;
  --navy-800: #0D2F60;
  --blue-700: #0F4C93;
  --blue-600: #1A63B3;
  --sky: #3BA3E3;
  --cyan: #5CCBF5;
  --cyan-200: #BDEBFF;
  --tagline: #1A5DAF;

  /* light surfaces & text */
  --ink: #13263B;
  --ink-soft: #4B5F74;
  --line: #DCE6EF;
  --surface: #FFFFFF;
  --surface-2: #F3F7FB;
  --on-dark: #EEF5FC;
  --on-dark-soft: #A8C0D8;

  /* shape & depth */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 30, 60, .06), 0 2px 8px rgba(10, 30, 60, .06);
  --shadow: 0 10px 30px -10px rgba(10, 30, 60, .25);
  --shadow-lg: 0 30px 60px -20px rgba(8, 25, 55, .45);

  /* motion */
  --ease: cubic-bezier(.22, .8, .24, 1);
  --dur: .35s;

  /* layout */
  --header-h: 72px;
  --gutter: 16px;
  --container: 1320px;

  --font: "Outfit", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (min-width: 768px) { :root { --gutter: 28px; } }
@media (min-width: 1240px) { :root { --gutter: 40px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="ar"] body { line-height: 1.85; }

/* Avoid a flash of English text before the Arabic translation is applied */
html.js[lang="ar"]:not(.i18n-ready) body { visibility: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-position .6s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }

.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--teal-600) 0%, var(--teal-700) 50%, var(--teal-600) 100%);
  background-size: 200% 100%;
  box-shadow: 0 6px 18px -6px rgba(27, 82, 114, .6), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn--primary:hover {
  background-position: 100% 0;
  box-shadow: 0 10px 26px -8px rgba(47, 120, 152, .75), 0 0 0 4px rgba(92, 203, 245, .18), inset 0 1px 0 rgba(255, 255, 255, .2);
  transform: translateY(-1px);
}

.btn--accent {
  color: #fff;
  background: var(--accent-ink, var(--teal-700));
  box-shadow: 0 8px 20px -10px var(--accent, var(--teal));
}
.btn--accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -10px var(--accent, var(--teal)), 0 0 0 4px color-mix(in srgb, var(--accent, var(--teal)) 22%, transparent);
}

.btn--block { width: 100%; }

/* WhatsApp buttons before a number is configured in js/config.js */
.is-disabled { cursor: default; }
.btn.is-disabled:hover, .btn.is-disabled:active { transform: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(27, 49, 74, .06);
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 8px 30px -12px rgba(8, 33, 74, .25);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.site-header__logo { display: block; flex: none; border-radius: 8px; }
.site-header__logo img { height: 40px; width: auto; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-inline-start: auto;
}

/* desktop nav */
.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  background: none;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 500;
  font-size: .975rem;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: var(--teal-700); background: rgba(67, 137, 170, .08); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__chevron { transition: transform var(--dur) var(--ease); }
.nav__trigger[aria-expanded="true"] { color: var(--teal-700); background: rgba(67, 137, 170, .1); }
.nav__trigger[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }

/* dropdown */
.nav__dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 50%;
  width: 340px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}
[dir="rtl"] .dropdown { transform: translate(50%, 8px); }
.dropdown::before { /* hover bridge so the menu does not close while moving the pointer down */
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -12px;
  height: 12px;
}
.nav__dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
[dir="rtl"] .nav__dropdown.is-open .dropdown { transform: translate(50%, 0); }

.dropdown__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color .2s var(--ease);
}
.dropdown__link:hover, .dropdown__link:focus-visible { background: var(--surface-2); }
.dropdown__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 14%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}
.dropdown__mark::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--accent);
  transform: rotate(45deg);
}
.dropdown__name { display: block; font-weight: 600; color: var(--navy); line-height: 1.3; }
.dropdown__label { display: block; font-size: .82rem; color: var(--ink-soft); line-height: 1.4; }
.dropdown__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 12px;
  border-top: 1px solid var(--line);
  color: var(--teal-700);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.dropdown__all:hover { color: var(--teal-600); }

/* language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(27, 49, 74, .05);
  box-shadow: inset 0 0 0 1px rgba(27, 49, 74, .08);
}
.lang-switch__btn {
  min-width: 44px;
  min-height: 36px;
  padding: 4px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .875rem;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.lang-switch__btn[lang="ar"] { font-family: "IBM Plex Sans Arabic", var(--font); }
.lang-switch__btn:hover { color: var(--navy); }
.lang-switch__btn[aria-pressed="true"] {
  background: #fff;
  color: var(--teal-700);
  box-shadow: 0 1px 3px rgba(10, 30, 60, .15);
}
.lang-switch__sep { color: rgba(27, 49, 74, .25); font-size: .8rem; }

.site-header__cta { display: none; }

/* menu toggle */
.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(27, 49, 74, .06);
  color: var(--navy);
  cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

.site-header__actions > .lang-switch { display: none; }

/* mobile menu */
.mobile-menu {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 30px 40px -20px rgba(8, 33, 74, .35);
  padding-block: 12px 24px;
  animation: menu-in .28s var(--ease);
}
.mobile-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 500;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}
.mobile-menu__link[aria-current="page"] { color: var(--teal-700); font-weight: 600; }
.mobile-menu__trigger .icon { transition: transform var(--dur) var(--ease); }
.mobile-menu__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-menu__sub { padding-block: 6px; border-bottom: 1px solid var(--line); }
.mobile-menu__sub .dropdown__link { padding-inline: 4px; }
.mobile-menu__footer {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding-top: 20px;
}

html.menu-open { overflow: hidden; }

@media (min-width: 560px) {
  .site-header__cta { display: inline-flex; }
  .mobile-menu .btn--block { display: none; }
}

@media (min-width: 1024px) {
  .nav { display: block; margin-inline-start: 8px; }
  .site-header__actions > .lang-switch { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

@media (max-width: 1023.98px) {
  :root { --header-h: 64px; }
  .site-header__logo img { height: 34px; }
}

@media (max-width: 379.98px) {
  .site-header__logo img { height: 30px; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: clamp(560px, calc(100svh - var(--header-h)), 900px);
  padding-block: 56px 72px;
  text-align: center;
  color: var(--on-dark);
  background:
    radial-gradient(75% 60% at 50% 0%, #FFFFFF 0%, #E3F2FD 30%, rgba(150, 200, 240, 0) 70%),
    linear-gradient(180deg, #3584CC 0%, #185AA4 38%, #0D3D7A 66%, var(--navy-900) 88%, var(--navy-950) 100%);
}

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::after { /* melt into the modules section below */
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(5, 21, 48, 0), var(--navy-950));
}
.page-hero .hero__bg::after { display: none; }
.hero__facets { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__spark {
  stroke-dasharray: .14 1.4;
  stroke-dashoffset: .14;
  opacity: .95;
}

.hero__shape {
  position: absolute;
  border-radius: 56px;
  background: linear-gradient(140deg, rgba(64, 160, 235, .55), rgba(10, 60, 140, .55) 60%, rgba(8, 40, 100, .35));
  box-shadow:
    inset 0 0 0 1.5px rgba(140, 215, 255, .55),
    inset 0 0 40px rgba(110, 200, 255, .25),
    0 0 60px rgba(40, 150, 255, .25);
}
.hero__shape--left {
  width: 300px;
  height: 300px;
  inset-inline-start: -170px;
  top: 46%;
  transform: rotate(45deg);
}
.hero__shape--right {
  width: 260px;
  height: 360px;
  inset-inline-end: -150px;
  top: 52%;
  border-radius: 64px;
  transform: skewY(-24deg);
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__brand { position: relative; display: grid; justify-items: center; gap: 22px; }
.hero__brand::before { /* the white light the logo sits in */
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 46%;
  width: min(1100px, 170vw);
  height: calc(100% + 330px);
  transform: translate(-50%, -54%);
  background: radial-gradient(closest-side, #FFFFFF 0%, rgba(255, 255, 255, .95) 34%, rgba(214, 238, 255, .72) 54%, rgba(150, 210, 250, .32) 74%, rgba(110, 185, 245, .1) 88%, rgba(110, 185, 245, 0) 100%);
  pointer-events: none;
}

.hero__logo { margin: 0; line-height: 0; }
.hero__logo img {
  width: clamp(240px, 36vw, 470px);
  height: auto;
}

.hero__tagline {
  color: var(--tagline);
  font-weight: 600;
  font-size: clamp(.82rem, .6rem + .9vw, 1.2rem);
  letter-spacing: .32em;
  margin-inline-end: -.32em; /* optically re-centre the tracked text */
  text-transform: uppercase;
}

.hero__divider {
  display: block;
  width: 72px;
  height: 2px;
  margin-block: 30px 26px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan) 20%, var(--cyan) 80%, transparent);
  box-shadow: 0 0 14px rgba(92, 203, 245, .9);
}

.hero__lead {
  max-width: 34em;
  color: #fff;
  font-size: clamp(1.02rem, .9rem + .55vw, 1.32rem);
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 1px 18px rgba(4, 22, 60, .55);
}
html[lang="ar"] .hero__lead { line-height: 1.85; }

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  padding: 10px 18px;
  min-height: 44px;
  border-radius: 999px;
  color: var(--cyan-200);
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(140, 215, 255, .3);
  background: rgba(8, 40, 100, .25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.hero__scroll:hover { background: rgba(8, 40, 100, .45); border-color: rgba(140, 215, 255, .6); color: #fff; }

@media (max-width: 767.98px) {
  .hero { padding-block: 48px 56px; min-height: clamp(520px, calc(100svh - var(--header-h)), 760px); }
  .hero__logo img { width: min(78vw, 320px); }
  .hero__tagline { letter-spacing: .2em; margin-inline-end: -.2em; }
  .hero__brand::before { height: calc(100% + 260px); }
  .hero__shape--left { width: 180px; height: 180px; inset-inline-start: -120px; border-radius: 36px; top: 58%; }
  .hero__shape--right { width: 150px; height: 220px; inset-inline-end: -105px; border-radius: 40px; top: 64%; }
}

/* hero motion */
@media (prefers-reduced-motion: no-preference) {
  .hero__brand::before { animation: glow-breathe 9s ease-in-out infinite; }
  .hero__shape--left { animation: float-l 12s ease-in-out infinite; }
  .hero__shape--right { animation: float-r 14s ease-in-out infinite; }
  .hero__spark { animation: spark 7s linear infinite; }
  .hero__spark--late { animation-delay: -3.5s; }

  .js .hero__logo, .js .hero__tagline, .js .hero__divider, .js .hero__lead, .js .hero__scroll {
    animation: rise .9s var(--ease) both;
  }
  .js .hero__tagline { animation-delay: .12s; }
  .js .hero__divider { animation-name: grow; animation-delay: .24s; }
  .js .hero__lead { animation-delay: .32s; }
  .js .hero__scroll { animation-delay: .44s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes grow { from { opacity: 0; transform: scaleX(0); } }
@keyframes glow-breathe {
  0%, 100% { opacity: 1; transform: translate(-50%, -54%) scale(1); }
  50% { opacity: .9; transform: translate(-50%, -54%) scale(1.04); }
}
@keyframes float-l {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50% { transform: rotate(45deg) translate(-10px, -10px); }
}
@keyframes float-r {
  0%, 100% { transform: skewY(-24deg) translateY(0); }
  50% { transform: skewY(-24deg) translateY(-14px); }
}
@keyframes spark {
  0% { stroke-dashoffset: .14; }
  60%, 100% { stroke-dashoffset: -1; }
}

/* =========================================================================
   SECTION HEADS
   ========================================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-ink, var(--teal-600));
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .9rem; text-transform: none; }

.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: 48px; }
.section-head .eyebrow { justify-content: center; }
.section-head__title {
  margin-top: 12px;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.7rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.01em;
}
html[lang="ar"] .section-head__title { letter-spacing: 0; line-height: 1.4; }
.section-head__lead { margin-top: 14px; font-size: 1.06rem; color: var(--ink-soft); }

.section-head--dark .eyebrow { color: var(--cyan); }
.section-head--dark .section-head__title { color: #fff; }
.section-head--dark .section-head__lead { color: var(--on-dark-soft); }

/* =========================================================================
   MODULES (cards)
   ========================================================================= */
.modules {
  position: relative;
  padding-block: 88px 96px;
  color: var(--on-dark);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(30, 110, 200, .25), transparent 70%),
    linear-gradient(180deg, var(--navy-950) 0%, #071B3B 100%);
}

.module-grid { display: grid; gap: 20px; }

.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  color: var(--on-dark);
  text-decoration: none;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .45s var(--ease);
}
.module-card::before { /* accent line */
  content: "";
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .85;
}
.module-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-800);
}
.module-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.module-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 21, 48, .55));
}

.module-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 20px 20px 22px;
}
.module-card__name { font-size: 1.18rem; font-weight: 600; color: #fff; line-height: 1.3; }
.module-card__label {
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
}
html[lang="ar"] .module-card__label { letter-spacing: 0; font-size: .86rem; }
.module-card__text { margin-top: 4px; color: var(--on-dark-soft); font-size: .93rem; line-height: 1.6; }
.module-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
}
.module-card__more .icon { transition: transform var(--dur) var(--ease); color: var(--accent); }

@media (hover: hover) and (pointer: fine) {
  .module-card:hover {
    transform: translateY(-8px);
    box-shadow:
      inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent),
      0 24px 50px -20px color-mix(in srgb, var(--accent) 55%, transparent);
  }
  .module-card:hover .module-card__media img { transform: scale(1.06); }
  .module-card:hover .module-card__more .icon { transform: translateX(4px); }
  [dir="rtl"] .module-card:hover .module-card__more .icon { transform: scaleX(-1) translateX(4px); }
}
.module-card:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px rgba(92, 203, 245, .45);
}

/* image placeholder (Guide Retail until its image is supplied) */
.img-soon {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(70% 70% at 50% 40%, rgba(67, 137, 170, .45), transparent 70%),
    linear-gradient(140deg, var(--navy-800), var(--navy-950));
  color: var(--on-dark-soft);
  font-size: .8rem;
  font-weight: 500;
}
.img-soon img { width: 26%; max-width: 96px; height: auto; opacity: .9; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35)); }

/* sliding carousel on every screen size: 1 card (phone) · 2 (tablet) · 3 (laptop/desktop) */
.module-grid {
  --gap: 18px;
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-block: 12px 22px;   /* room for the hover lift and glow */
  margin-block: -12px -22px;
}
.module-grid::-webkit-scrollbar { display: none; }
.module-grid > li { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; }
.js .module-grid > .reveal { opacity: 1; transform: none; } /* off-screen slides must stay visible */

@media (max-width: 639.98px) {
  .module-grid {
    --gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
}
@media (min-width: 640px) { .module-grid > li { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (min-width: 1024px) { .module-grid > li { flex-basis: calc((100% - 2 * var(--gap)) / 3); } }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}
/* prev / next arrows sit on the first and last visible cards, centred on the image */
.carousel { position: relative; container-type: inline-size; }
.carousel__arrow--side {
  --card-w: calc(100cqw * .84);                       /* phone: one card at 84% */
  position: absolute;
  z-index: 3;
  top: calc(var(--card-w) * 10 / 16 / 2);             /* middle of the 16:10 image */
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(5, 21, 48, .62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(140, 215, 255, .35), 0 10px 24px -8px rgba(0, 0, 0, .6);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.carousel__arrow--side .icon { width: 22px; height: 22px; }
.carousel__arrow--side:hover {
  background: var(--teal-700);
  box-shadow: inset 0 0 0 1px var(--cyan), 0 0 0 4px rgba(92, 203, 245, .2), 0 12px 26px -8px rgba(0, 0, 0, .6);
}
.carousel__arrow--side:active { transform: translateY(-50%) scale(.94); }
.carousel__arrow--prev { inset-inline-start: 12px; }
.carousel__arrow--next { inset-inline-end: 12px; }
@media (max-width: 639.98px) {
  .carousel__arrow--side { width: 42px; height: 42px; }
  .carousel__arrow--prev { inset-inline-start: 6px; }
  .carousel__arrow--next { inset-inline-end: 6px; }
}
@media (min-width: 640px) { .carousel__arrow--side { --card-w: calc((100cqw - 18px) / 2); } }
@media (min-width: 1024px) { .carousel__arrow--side { --card-w: calc((100cqw - 36px) / 3); } }

.carousel__toggle { width: 40px; height: 40px; }
.carousel__toggle .icon { width: 18px; height: 18px; }
.carousel__toggle .i-play { display: none; }
.carousel__toggle[data-paused="true"] .i-play { display: block; }
.carousel__toggle[data-paused="true"] .i-pause { display: none; }

.carousel__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  color: #fff;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.carousel__arrow:hover { background: rgba(255, 255, 255, .16); }
.carousel__arrow:disabled { opacity: .35; cursor: default; }

.carousel__dots { display: flex; gap: 2px; }
.carousel__dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.carousel__dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .3);
  transition: width var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.carousel__dot[aria-current="true"]::before { width: 22px; background: var(--cyan); }

/* =========================================================================
   MODULE DETAIL SECTIONS
   ========================================================================= */
.module-detail { padding-block: 88px; background: var(--surface); }
.module-detail:nth-child(even) { background: var(--surface-2); }

.module-detail__inner {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .module-detail__inner { grid-template-columns: 1.2fr 1fr; gap: 64px; }
  .module-detail:nth-child(even) .module-detail__media { order: 2; }
}

.module-detail__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(10, 30, 60, .06);
}
.module-detail__media::after { /* accent glow line */
  content: "";
  position: absolute;
  inset-inline: 10%;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.module-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.module-detail__media .img-soon { font-size: .95rem; }

.module-detail__title {
  margin-top: 12px;
  font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
}
.module-detail__headline {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent-ink);
}
.module-detail__desc { margin-top: 14px; color: var(--ink-soft); font-size: 1.04rem; max-width: 34em; }

.feature-list {
  display: grid;
  gap: 10px 20px;
  margin-top: 24px;
}
@media (min-width: 480px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--ink); }
.feature-list .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  margin-top: 2px;
  border-radius: 50%;
  color: var(--accent-ink);
  background: color-mix(in srgb, var(--accent) 16%, #fff);
}

.module-detail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 32px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
}
.text-link:hover { color: var(--navy); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  position: relative;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .95rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--cyan), var(--teal), transparent);
  opacity: .7;
}

.site-footer__grid {
  display: grid;
  gap: 36px;
  padding-block: 56px 40px;
}
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; } }

.site-footer__logo { display: inline-block; border-radius: 8px; }
.site-footer__logo img { height: 44px; width: auto; }
.site-footer__tagline {
  margin-top: 16px;
  color: var(--tagline);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .24em;
}
.site-footer__about { margin-top: 8px; max-width: 28em; }

.site-footer__heading {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 600;
}
.site-footer__links { display: grid; gap: 2px; }
.site-footer__links a, .contact-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-decoration: none;
  transition: color .2s var(--ease);
}
.site-footer__links a:hover, .contact-list a:hover { color: var(--teal-700); }

.contact-list { display: grid; gap: 4px; }
.contact-list li { display: flex; align-items: center; gap: 10px; min-height: 36px; }
.contact-list .icon { color: var(--teal-600); }
.contact-list [dir="ltr"] { unicode-bidi: isolate; }

.is-soon { color: #8496A8; font-style: italic; }

.site-footer__follow { margin-top: 18px; margin-bottom: 10px; color: var(--navy); font-weight: 600; font-size: .9rem; }
.social { display: flex; gap: 10px; }
.social__link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.social__link[href]:hover { transform: translateY(-2px); color: var(--teal-700); box-shadow: inset 0 0 0 1px var(--teal), 0 8px 18px -10px var(--teal); }
.social__link.is-soon { opacity: .45; cursor: not-allowed; }

.site-footer__bar { border-top: 1px solid var(--line); }
.site-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 16px;
  font-size: .875rem;
}
.site-footer__top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  text-decoration: none;
  font-weight: 500;
}
.site-footer__top:hover { color: var(--teal-700); }

/* =========================================================================
   ABOUT PAGE
   ========================================================================= */
.page-hero {
  min-height: 0;
  padding-block: 88px 96px;
}
.page-hero .hero__brand { gap: 14px; }
.page-hero .hero__brand::before { height: calc(100% + 280px); }
.page-hero__title {
  color: var(--navy);
  font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
}
.page-hero .eyebrow { color: var(--tagline); justify-content: center; }

.about-section { padding-block: 88px; }
.about-section--alt { background: var(--surface-2); }

.placeholder-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .placeholder-grid { grid-template-columns: repeat(3, 1fr); } }

.placeholder-card {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.placeholder-card h3 { color: var(--navy); font-size: 1.25rem; font-weight: 600; }
.placeholder-card p { margin-top: 10px; color: var(--ink-soft); }
.placeholder-note {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 10px;
  border: 1px dashed #C49A2C;
  border-radius: 6px;
  background: #FFF8E6;
  color: #7A5A00;
  font-size: .78rem;
  font-weight: 600;
}

.about-modules { display: grid; gap: 14px; }
@media (min-width: 640px) { .about-modules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .about-modules { grid-template-columns: repeat(5, 1fr); } }
.about-module {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.about-module:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.about-module strong { color: var(--navy); font-weight: 600; }
.about-module span { color: var(--ink-soft); font-size: .9rem; }

.cta-band {
  padding-block: 80px;
  text-align: center;
  color: var(--on-dark);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(59, 163, 227, .35), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 700; }
.cta-band p { margin-top: 10px; margin-bottom: 28px; color: var(--on-dark-soft); font-size: 1.05rem; }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
