/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --navy: #062A43;
  --navy-2: #0B3E61;
  --blue: #087FBD;
  --cyan: #28B9E5;
  --bg: #F3F8FC;
  --ink: #101820;
  --muted: #5A7183;
  --success: #16A085;
  --green: #16A085;
  --line: #DCE9F4;
  --white: #FFFFFF;

  --shadow-sm: 0 6px 22px rgba(6, 42, 67, 0.09);
  --shadow-md: 0 16px 46px rgba(6, 42, 67, 0.14);
  --shadow-lg: 0 30px 80px rgba(6, 42, 67, 0.2);

  --radius: 16px;
  --radius-lg: 24px;

  --ff-ar: "IBM Plex Sans Arabic", "Tajawal", ui-sans-serif, system-ui, sans-serif;
  --ff-en: "Inter", ui-sans-serif, system-ui, sans-serif;

  --header-h: 84px;
  --header-h-scrolled: 66px;
  --section-pad: clamp(72px, 9vw, 124px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-ar);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; color: var(--navy); }
p { margin: 0; }

a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.thin-latin {
  font-family: var(--ff-en);
  direction: ltr;
  unicode-bidi: isolate;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.glass {
  background: rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

section {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 8px);
}
body:not(.admin-body) section + section::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(40, 185, 229, 0.32) 18%, rgba(8, 127, 189, 0.22) 50%, rgba(40, 185, 229, 0.32) 82%, transparent);
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.4;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}
.btn .btn-arrow { width: 18px; height: 18px; transform: scaleX(-1); transition: transform 0.25s ease; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, #05659C 55%, var(--navy) 130%);
  box-shadow: 0 12px 30px rgba(8, 127, 189, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(8, 127, 189, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover .btn-arrow { transform: scaleX(-1) translateX(4px); }

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.24); transform: translateY(-3px); }

.btn-outline {
  color: var(--navy);
  border: 2px solid var(--blue);
  background: transparent;
}
.btn-outline:hover { background: rgba(8, 127, 189, 0.1); box-shadow: 0 10px 26px rgba(8, 127, 189, 0.22); transform: translateY(-3px); }
.btn-outline:hover .btn-arrow { transform: scaleX(-1) translateX(4px); }

.btn-lg { padding: 16px 34px; font-size: 1.08rem; }
.btn-nav { padding: 11px 22px; font-size: 0.98rem; }

/* ============================================================
   SECTION HEADINGS
============================================================ */
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { text-align: center; }
.section-head.center p { margin-inline: auto; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}
.center .section-eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(-90deg, var(--cyan), var(--blue));
}

.section-title { font-size: clamp(1.75rem, 3.4vw, 2.7rem); letter-spacing: -0.02em; }
.section-sub { color: var(--muted); max-width: 620px; margin-top: 12px; font-size: 1.08rem; }

.section-num {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding-inline: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff;
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: none;
  box-shadow: 0 6px 16px rgba(8, 127, 189, 0.3);
}
.section-eyebrow:has(.section-num) {
  padding-bottom: 10px;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, var(--cyan), rgba(8, 127, 189, 0.16) 70%, transparent) 1;
}
.section-eyebrow:has(.section-num)::before,
.section-eyebrow:has(.section-num)::after { display: none; }

/* ============================================================
   1) HEADER
============================================================ */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 120;
  height: var(--header-h);
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  background: transparent;
}
.site-header.is-scrolled {
  height: var(--header-h-scrolled);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 26px rgba(6, 42, 67, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  transition: width 0.3s ease, height 0.3s ease;
}
.site-header.is-scrolled .brand-logo { width: 38px; height: 38px; }
.brand-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  white-space: nowrap;
  transition: color 0.3s ease, font-size 0.3s ease;
}
.site-header.is-scrolled .brand-name { color: var(--navy); font-size: 1.08rem; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.nav-list { display: flex; align-items: center; gap: 26px; }
.nav-link {
  position: relative;
  font-weight: 600;
  font-size: 0.99rem;
  color: rgba(255, 255, 255, 0.92);
  padding-block: 6px;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}
.nav-link:hover { color: var(--cyan); }
.nav-link:hover::after { transform: scaleX(1); }
.site-header.is-scrolled .nav-link { color: var(--ink); }
.site-header.is-scrolled .nav-link:hover { color: var(--blue); }

.nav-toggle { display: none; position: relative; z-index: 160; }
.nav-toggle-box { display: inline-flex; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle-box i {
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}
.site-header.is-scrolled .nav-toggle-box i { background: var(--navy); }

/* ============================================================
   2) HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 42, 67, 0.92) 0%, rgba(6, 42, 67, 0.72) 45%, rgba(6, 42, 67, 0.35) 100%),
    linear-gradient(0deg, rgba(6, 42, 67, 0.85) 0%, rgba(6, 42, 67, 0) 45%);
}
.hero-orb {
  position: absolute;
  inset-inline-start: -160px;
  top: 18%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 185, 229, 0.22), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: calc(var(--header-h) + 20px) 80px;
  width: 100%;
}

.hero-card {
  max-width: 660px;
  width: 100%;
  padding: clamp(20px, 5vw, 40px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22, 160, 133, 0.2);
}
.hero-title {
  color: #fff;
  font-size: clamp(1.5rem, 4.5vw, 3rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  max-width: 540px;
  margin-bottom: 22px;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 3vw, 28px);
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  justify-content: center;
}
.hero-trust li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.4;
}
.hero-trust strong {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
}
.hero-trust span { color: rgba(255, 255, 255, 0.72); font-size: 0.8rem; }

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}
.hero-scroll-line {
  width: 1.5px;
  height: 46px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
  position: relative;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -50%;
  height: 50%;
  background: var(--cyan);
  animation: scrollDrop 2.2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0% { top: -50%; }
  60%, 100% { top: 110%; }
}

/* ============================================================
   3) TRUST BAR
============================================================ */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  padding-block: 30px;
}
.trust-lead {
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--navy);
}
.trust-items { display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 34px); }
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.98rem;
}
.trust-item strong { color: var(--navy); }
.trust-item .ico {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  padding: 5px;
  border-radius: 9px;
  color: var(--blue);
  background: rgba(8, 127, 189, 0.1);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   4) HORIZONTAL GALLERY
============================================================ */
.gallery {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding-block: var(--section-pad);
}
.no-anim .g-viewport { overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x mandatory; }
.no-anim .p-card { scroll-snap-align: center; }
.no-anim .agents-carousel { overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x mandatory; }
.no-anim .agent-card { scroll-snap-align: center; }
.no-anim .g-hint { display: block; }

/* Scroll-driven strips: force hidden overflow so the transform owns the slide.
   Must beat the ≤1024px native-scroll fallback below (higher specificity). */
html.strips-gsap .g-viewport,
html.strips-gsap .agents-carousel {
  overflow: hidden;
  scroll-snap-type: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: auto;
}
html.strips-gsap .g-hint { display: none; }
.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.g-viewport {
  overflow: hidden;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}
.g-viewport.dragging { cursor: grabbing; user-select: none; }

.g-track {
  display: flex;
  gap: 24px;
  padding-inline: clamp(20px, 4vw, 40px);
  width: max-content;
  will-change: transform;
}

.p-card {
  position: relative;
  width: 356px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.p-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-lg);
}
.p-card:hover .p-media img { transform: scale(1.05); }

.p-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg);
}
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.p-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(22, 160, 133, 0.95);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(22, 160, 133, 0.35);
}
.p-badge svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; }

.p-body { padding: 22px; }
.p-title { font-size: 1.18rem; margin-bottom: 8px; }
.p-desc { color: var(--muted); font-size: 0.94rem; margin-bottom: 18px; }
.p-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.98rem;
}
.p-link svg { width: 18px; height: 18px; transition: transform 0.25s ease; transform: scaleX(-1); }
.p-link:hover svg { transform: scaleX(-1) translateX(-5px); }

.gallery-nav { display: flex; gap: 12px; }
.g-nav-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.g-nav-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.g-nav-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(2px);
}

.g-hint {
  display: none;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 20px;
}

/* ============================================================
   5) SCROLL TIMELINE
============================================================ */
.timeline {
  background: var(--white);
  padding-block: var(--section-pad);
}
.tl-rail { position: relative; margin-top: 40px; }

.tl-line,
.tl-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: calc(50% - 1px);
  width: 3px;
  border-radius: 3px;
}
.tl-line { background: #DCE7F0; }
.tl-fill {
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  transform-origin: top;
  transform: scaleY(0);
}

.tl-dot {
  position: absolute;
  inset-inline-start: calc(50% - 9px);
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px rgba(40, 185, 229, 0.35), 0 8px 18px rgba(6, 42, 67, 0.25);
  z-index: 2;
}

.tl-stages { display: flex; flex-direction: column; }

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  align-items: center;
  padding-block: clamp(28px, 5vw, 52px);
}
.tl-item:last-child { padding-bottom: 0; }

.tl-node {
  grid-column: 2;
  justify-self: center;
  z-index: 2;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line);
  color: var(--muted);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease, background 0.4s ease;
}
.tl-num { font-family: var(--ff-en); font-weight: 700; font-size: 1.02rem; }

.tl-item.is-live .tl-node {
  background: var(--navy);
  border-color: var(--cyan);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(40, 185, 229, 0.2), 0 10px 24px rgba(8, 127, 189, 0.35);
}
.tl-item.is-live .tl-card { border-color: rgba(40, 185, 229, 0.55); box-shadow: var(--shadow-md); }

.tl-card {
  grid-column: 1;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.tl-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tl-card p { color: var(--muted); font-size: 0.95rem; }

.tl-item:nth-child(even) .tl-card { grid-column: 3; grid-row: 1; }
.tl-item:nth-child(even) .tl-node { grid-column: 2; grid-row: 1; }

/* Screen-reader-only text (never visible, no layout impact) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   5-B) SHOWCASE · THREE 3D CARDS
   ثلاث كاردات مصطفّة أفقياً بدون نصوص — صورها تُختار من لوحة الأدمن
   تأثيرات: دخول ثلاثي الأبعاد عند الظهور + تفاعل دائم مع حركة الماوس
   ============================================================ */
.showcase {
  background: var(--bg);
  padding-block: var(--section-pad);
  overflow: hidden;
}
.showcase-stage {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 26px);
  perspective: 1400px;
  perspective-origin: 50% 45%;
}
.showcase-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(6, 42, 67, 0.12);
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
/* NB: the rounded clipping lives on the INNER element, not the card —
   `overflow: hidden` on a `preserve-3d` parent would flatten the tilt. */
.showcase-inner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Light sweep that follows the pointer (set through --mx / --my) */
.showcase-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.3), transparent 60%),
    linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.14) 50%, transparent 58%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.showcase-card:hover .showcase-shine { opacity: 1; }
.showcase-edge {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

/* Non-animated fallback: gentle CSS-only lift */
.no-anim .showcase-card { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.no-anim .showcase-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(6, 42, 67, 0.18);
}

@media (max-width: 780px) {
  .showcase-stage { gap: 10px; padding-inline: 12px; }
  .showcase-card { aspect-ratio: 1 / 1.2; }
}

/* ============================================================
   6) STICKY STORY
   ============================================================ */
.story {
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, #EAF3FA 100%);
  padding-block: var(--section-pad);
  overflow: hidden;
}
.story-liquid {
  position: absolute;
  top: 38%;
  inset-inline-start: -200px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 185, 229, 0.16), transparent 65%);
  filter: blur(24px);
  pointer-events: none;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.4s ease;
}
.story .container { position: relative; }

.story-stack { margin-top: 20px; }

.story-card {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: clamp(28px, 5vw, 56px);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s ease, opacity 0.6s ease, border-color 0.4s ease;
}
.story-card:last-child { margin-bottom: 0; }
.story-card.is-active {
  border-color: rgba(8, 127, 189, 0.4);
  box-shadow: 0 30px 80px rgba(6, 42, 67, 0.2), 0 0 0 1px rgba(40, 185, 229, 0.25);
}
.story-card.is-past { transform: scale(0.97); opacity: 0.55; box-shadow: var(--shadow-sm); }

.story-index {
  position: absolute;
  top: 18px;
  inset-inline-end: 22px;
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 1rem;
  color: var(--line);
}

.story-icon {
  grid-column: 1;
  grid-row: 1;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  color: var(--blue);
  background: linear-gradient(160deg, rgba(40, 185, 229, 0.14), rgba(8, 127, 189, 0.2));
  border: 1px solid rgba(8, 127, 189, 0.2);
}
.story-icon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.story-body { grid-column: 2; grid-row: 1; }
.story-body h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 8px; }
.story-body p { color: var(--muted); font-size: 1.02rem; max-width: 640px; }

.story-marker { grid-column: 3; grid-row: 1; display: grid; place-items: center; }
.story-marker i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.story-card.is-active .story-marker i {
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(22, 160, 133, 0.2);
}

/* ============================================================
   7) BLUEPRINT
============================================================ */
.blueprint {
  background: #04182A;
  padding-block: var(--section-pad);
  color: #C9E6F7;
  overflow: hidden;
}
.blueprint .section-eyebrow { color: var(--cyan); }
.blueprint .section-title { color: #fff; }
.blueprint .section-sub { color: rgba(201, 230, 247, 0.7); }

.bp-stage {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(40, 185, 229, 0.18);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 34px);
}

.bp-progress {
  position: relative;
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 26px;
}
.bp-progress-fill {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: 999px;
}
.bp-phase {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.bp-canvas {
  position: relative;
  background:
    linear-gradient(90deg, rgba(40, 185, 229, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(40, 185, 229, 0.05) 1px, transparent 1px),
    #062131;
  background-size: 40px 40px;
  border: 2px dashed rgba(40, 185, 229, 0.22);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 26px;
}
.bp-svg { width: 100%; height: auto; }

.bp-svg :is(.bp-shape, .bp-screen, .bp-screens rect, .bp-keys rect, .bp-leds circle, .bp-eye, .bp-leg, .bp-link, .bp-label, .bp-data, .bp-pack, .bp-wave, .bp-pulse-bar, .bp-on) {
  transition: opacity 0.45s ease, fill 0.45s ease, stroke 0.45s ease, transform 0.45s ease;
}

.bp-label {
  font-family: var(--ff-en);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.14em;
  fill: #7FBBDA;
}

.bp .bp-shape { fill: #0A2B44; stroke: #9FD8F5; stroke-width: 2.5; }
.bp .bp-eye { fill: #062A43; stroke: #9FD8F5; stroke-width: 2.5; }
.bp .bp-leg { stroke: #9FD8F5; stroke-width: 2.5; fill: none; }
.bp #bp-links { opacity: 0; }

[data-stage="0"] .bp-shape { fill: none; stroke: #8FC7E8; stroke-width: 2.5; stroke-dasharray: 10 7; }
[data-stage="0"] .bp-eye { fill: none; stroke: #8FC7E8; stroke-width: 2.5; stroke-dasharray: 10 7; }
[data-stage="0"] .bp-leg { stroke: #8FC7E8; stroke-width: 2.5; stroke-dasharray: 10 7; }
[data-stage="0"] #bp-links { opacity: 0.85; }
[data-stage="0"] #bp-links .bp-link { stroke: #8FC7E8; stroke-width: 2.5; stroke-dasharray: 12 10; fill: none; }
[data-stage="0"] :is(.bp-screen, .bp-screens, .bp-keys, .bp-leds, .bp-labels, #bp-dataflow, #bp-signal, #bp-pulse, #bp-switch g, #bp-close) { opacity: 0; }

[data-stage="1"] :is(.bp-screen, .bp-screens) { opacity: 1; }
[data-stage="1"] .bp-screen { fill: none; stroke: #7FBBDA; stroke-width: 2; }
[data-stage="1"] .bp-screens rect { fill: none; stroke: #7FBBDA; stroke-width: 2; }
[data-stage="1"] #bp-links { opacity: 1; }
[data-stage="1"] #bp-links .bp-link { stroke: #28B9E5; stroke-width: 3; fill: none; }
[data-stage="1"] #bp-dataflow { opacity: 1; }
[data-stage="1"] .bp-data { stroke: #28B9E5; stroke-width: 3; stroke-dasharray: 8 8; fill: none; animation: dashFlow 1.6s linear infinite; }
[data-stage="1"] .bp-pack { fill: var(--cyan); }
[data-stage="1"] :is(.bp-keys, .bp-leds, #bp-signal, #bp-pulse, #bp-switch g) { opacity: 0; }
[data-stage="1"] .bp-labels { opacity: 1; }

[data-stage="2"] .bp-shape { fill: #0B3E61; stroke: var(--cyan); stroke-width: 2.5; }
[data-stage="2"] .bp-eye { fill: #062A43; stroke: var(--cyan); stroke-width: 3; }
[data-stage="2"] .bp-screen { fill: #062A43; stroke: var(--cyan); }
[data-stage="2"] .bp-screens rect { fill: #0B3E61; stroke: var(--blue); }
[data-stage="2"] .bp-keys { opacity: 1; }
[data-stage="2"] .bp-keys rect { fill: #0B3E61; stroke: var(--blue); }
[data-stage="2"] .bp-leds { opacity: 1; }
[data-stage="2"] .bp-leds circle:nth-child(1) { fill: var(--success); }
[data-stage="2"] .bp-leds circle:nth-child(2) { fill: var(--success); }
[data-stage="2"] .bp-leds circle:nth-child(3) { fill: var(--cyan); }
[data-stage="2"] #bp-dataflow { opacity: 1; }
[data-stage="2"] :is(#bp-signal, #bp-pulse, #bp-switch g) { opacity: 0; }

[data-stage="3"] .bp-shape {
  fill: #0B3E61;
  stroke: var(--cyan);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 10px rgba(40, 185, 229, 0.4));
}
[data-stage="3"] .bp-eye { fill: #062A43; stroke: var(--cyan); stroke-width: 3.5; filter: drop-shadow(0 0 8px rgba(40, 185, 229, 0.5)); }
[data-stage="3"] .bp-screens rect { fill: #062A43; stroke: var(--cyan); }
[data-stage="3"] #bp-signal { opacity: 1; }
[data-stage="3"] .bp-wave { stroke: var(--cyan); stroke-width: 3; fill: none; stroke-linecap: round; animation: wavePulse 1.8s ease-in-out infinite; }
[data-stage="3"] #bp-pulse { opacity: 1; }
[data-stage="3"] .bp-pulse-bar { fill: var(--success); animation: barPulse 1.6s ease-in-out infinite; }
[data-stage="3"] .bp-on { fill: var(--success); filter: drop-shadow(0 0 6px rgba(22, 160, 133, 0.8)); }
[data-stage="3"] #bp-switch g { opacity: 1; }
[data-stage="3"] #bp-switch g circle { fill: var(--success); }
[data-stage="3"] .bp-keys { opacity: 1; }

@keyframes dashFlow { to { stroke-dashoffset: -32; } }
@keyframes wavePulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes barPulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

.bp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.bp-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  border-radius: 12px;
  border: 1px solid rgba(40, 185, 229, 0.25);
  color: rgba(201, 230, 247, 0.6);
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.bp-step span { color: inherit; opacity: 0.7; }
.bp-step.is-active {
  background: rgba(40, 185, 229, 0.16);
  border-color: var(--cyan);
  color: #fff;
}

/* ============================================================
   8) WARRANTY
============================================================ */
.warranty { background: var(--bg); padding-block: var(--section-pad); }

.cert {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 60px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 46px;
}
.cert-body {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.cert-seal { position: relative; width: 220px; height: 220px; display: grid; place-items: center; align-content: center; gap: 2px; margin-inline: auto; --cert-rotation: 0deg; }
.cert-ring { display: none; }
/* No solid disc — only the dashed ring stays */
.cert-seal::before { display: none; }
.cert-seal::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 2px dashed rgba(8, 127, 189, 0.5);
  transform-origin: center;
  will-change: transform;
  transform: rotate(var(--cert-rotation));
}
.cert-years {
  position: relative;
  z-index: 1;
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 4.4rem;
  line-height: 1;
  color: var(--navy);
  margin: 0;
}
.cert-years-lbl {
  position: relative;
  z-index: 1;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}

.cert-body .section-title { margin-bottom: 14px; }
.cert-text { color: var(--muted); max-width: 560px; margin-bottom: 18px; }
.cert-quote {
  position: relative;
  margin: 0;
  padding: 16px 22px;
  border-inline-start: 3px solid var(--cyan);
  background: var(--bg);
  border-radius: 12px;
  color: var(--navy);
  font-weight: 600;
  font-size: 1.05rem;
  max-width: 560px;
}

.w-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}
.w-grid::-webkit-scrollbar { height: 8px; }
.w-grid::-webkit-scrollbar-track { background: var(--bg); border-radius: 4px; }
.w-grid::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 4px; }
.w-card {
  flex: 0 0 auto;
  width: clamp(260px, 22vw, 320px);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.w-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(8, 127, 189, 0.4); }
.w-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  color: var(--blue);
  background: rgba(40, 185, 229, 0.14);
  margin-bottom: 16px;
}
.w-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.w-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.w-card p { color: var(--muted); font-size: 0.92rem; }

/* ============================================================
   9) AGENCIES
============================================================ */
.agencies { background: var(--white); padding-block: var(--section-pad); }

/* ============================================================
   9-A) AGENTS STRIP (Synced with Products - Opposite Direction)
============================================================ */
/* Synced strips wrapper (Products + Agents stacked, no pinning) */
#synced-strips-wrapper {
  position: relative;
}

/* Ensure sections inside wrapper don't collapse */
#synced-strips-wrapper > section {
  position: relative;
  z-index: 1;
}

/* Divider line after the wrapper (section + section chain is broken by the wrapper div) */
#synced-strips-wrapper + section::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(40, 185, 229, 0.32) 18%, rgba(8, 127, 189, 0.22) 50%, rgba(40, 185, 229, 0.32) 82%, transparent);
}

.agents-strip { background: var(--white); padding-block: var(--section-pad); overflow: hidden; }

/* Empty states (no products / no agents yet) */
.empty-state {
  min-width: min(86vw, 480px);
  padding: 46px 26px;
  text-align: center;
  color: var(--muted);
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}
.empty-state strong { display: block; color: var(--navy); font-size: 1.08rem; margin-bottom: 6px; }

/* ============================================================
   AGENTS 3D HORIZONTAL CAROUSEL (RTL → LTR drag)
   يعمل بالماوس (سحب/توجيه) وعلى الموبايل بالسحب باللمس
============================================================ */

.agents-carousel {
  position: relative;
  width: 100%;
  padding-block: 14px;
  overflow: hidden;
  overscroll-behavior: contain;
  cursor: grab;
  /* Native (mobile / reduced-motion) layout starts from the right like the rest of the RTL page */
  direction: rtl;
}
.agents-carousel.dragging { cursor: grabbing; user-select: none; }
.agents-carousel.dragging .agent-card { pointer-events: none; }
/* Desktop scroll-driven mode: lay the track out left-to-right so the negative
   X (right-to-left) movement always has content on both sides — no empty gap.
   The cards themselves stay RTL so Arabic text aligns correctly. */
html.strips-gsap .agents-carousel { direction: ltr; }
html.strips-gsap .agent-card { direction: rtl; }

.agents-gallery {
  display: flex;
  gap: 22px;
  width: max-content;
  padding-inline: 6px;
  will-change: transform;
}
.agents-gallery.dragging { cursor: grabbing; user-select: none; }
.agents-gallery.dragging .agent-card { pointer-events: none; }

.agent-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(250px, 22vw, 320px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  cursor: grab;
}
.agent-card:active { cursor: grabbing; }
.agent-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 24px 50px rgba(6, 42, 67, 0.16);
}

.agent-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg);
}
.agent-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.agent-card:hover .agent-media img { transform: scale(1.08); }

.agent-verified {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 160, 133, 0.4);
  z-index: 2;
}
.agent-verified svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.agent-verified svg path:first-child { fill: currentColor; stroke: none; }

.agent-body { padding: 20px 20px 18px; }
.agent-name { font-size: 1.15rem; margin-bottom: 6px; color: var(--navy); }
.agent-meta { font-size: 0.86rem; color: var(--muted); margin-bottom: 12px; }
.agent-city { font-weight: 700; color: var(--ink); }
.agent-region { color: var(--muted); }

.agent-specialties { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.agent-tag {
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(8, 127, 189, 0.1);
  color: var(--blue);
  font-weight: 600;
}

.agent-cert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.agent-cert img {
  width: 90px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg);
  padding: 4px;
}
.cert-year { font-size: 0.8rem; color: var(--muted); font-weight: 600; }

/* Controls */
.agents-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}
.agent-nav-btn {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.agent-nav-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.agent-nav-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(8, 127, 189, 0.3);
}

.agencies-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 10px;
}
.agencies-note a { color: var(--blue); font-weight: 700; }

/* ============================================================
   9-B) AGENCIES · ORIGINAL PREMIUM SPLIT
============================================================ */
.agencies-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.agencies-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 12px 0 28px;
  line-height: 1.8;
}

.ag-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 26px 0; }
.ag-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.ag-steps li:hover { transform: translateY(-6px); border-color: rgba(8, 127, 189, 0.4); }
.ag-step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 0.95rem;
}
.ag-steps p { line-height: 1.5; }
.ag-steps strong { color: var(--navy); }

.agencies-note {
  font-size: 0.92rem;
  color: var(--muted);
  background: rgba(22, 160, 133, 0.09);
  border: 1px dashed rgba(22, 160, 133, 0.4);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 26px;
}

.agencies-visual {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.agencies-visual img { border-radius: 14px; }
.agencies-visual figcaption {
  padding: 14px 6px 4px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============================================================
   10) BRANCHES
============================================================ */
.branches { background: var(--bg); padding-block: var(--section-pad); }
.branches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 22px;
}
.branch-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.branch-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.branch-map { position: relative; height: 200px; overflow: hidden; }
.map-najaf { background: linear-gradient(160deg, #EAF3FA, #DEEEFA); }
.map-anbar { background: linear-gradient(160deg, #F2F7EF, #E7F1E4); }
.branch-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-road { stroke: rgba(8, 127, 189, 0.28); stroke-width: 5; fill: none; }
.map-road-v { stroke: rgba(8, 127, 189, 0.28); stroke-width: 5; fill: none; }
.map-dot { fill: rgba(40, 185, 229, 0.28); }
.map-pulse { fill: rgba(40, 185, 229, 0.5); animation: mapPulse 2s ease-out infinite; }
@keyframes mapPulse {
  0% { r: 10; opacity: 0.8; }
  100% { r: 46; opacity: 0; }
}
@supports not (r: 10) {
  .map-pulse { animation: none; }
}
.map-pin {
  position: absolute;
  width: 48px;
  height: 48px;
  color: var(--blue);
  background: var(--white);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}
.map-najaf .map-pin { top: 108px; inset-inline-start: 66%; }
.map-anbar .map-pin { top: 86px; inset-inline-start: 38%; }
.map-pin svg { width: 26px; height: 26px; transform: rotate(45deg); fill: var(--blue); }
.map-tag {
  position: absolute;
  bottom: 14px;
  inset-inline-end: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(6, 42, 67, 0.85);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.branch-body { padding: 24px; }
.branch-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.branch-body p { color: var(--muted); font-size: 0.96rem; margin-bottom: 18px; }
.branches-note { text-align: center; color: var(--muted); font-size: 0.88rem; }

/* ============================================================
   11) FUTURE · OUR VISION
============================================================ */
.future {
  position: relative;
  background: linear-gradient(180deg, #04182A 0%, #062131 100%);
  padding-block: var(--section-pad);
  color: #C9E6F7;
  overflow: hidden;
  --fw-glow-x: 50%;
  --fw-glow-y: 32%;
  --fw-sweep: -25%;
  --fw-sweep-op: 0;
}
/* Cursor-tracked soft light behind the cards */
.future::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(760px 460px at var(--fw-glow-x) var(--fw-glow-y), rgba(40, 185, 229, 0.17), transparent 70%);
  transition: background 0.25s linear;
}
.future .container { position: relative; perspective: 1600px; }
.future .section-eyebrow { color: var(--cyan); }
.future .section-title { color: #fff; }
.future .section-sub { color: rgba(201, 230, 247, 0.7); }

/* Word mask used by the masked headline + slogan reveal.
   Extra padding + negative margin so Arabic ascenders/descenders
   are never clipped without changing the layout box. */
.fw-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-block: 0.16em;
  margin-block: -0.16em;
}
.fw { display: inline-block; will-change: transform; }

.f-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
/* Scroll-driven light sweep travelling across the row */
.f-grid::after {
  content: "";
  position: absolute;
  inset: -10% -30%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 44%, rgba(40, 185, 229, 0.13) 50%, transparent 56%);
  transform: translateX(var(--fw-sweep));
  opacity: var(--fw-sweep-op, 0);
  mix-blend-mode: screen;
}
.f-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(40, 185, 229, 0.16);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, opacity;
}
.f-card:hover {
  transform: translateY(-6px);
  border-color: rgba(40, 185, 229, 0.45);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 50px rgba(2, 12, 22, 0.45), 0 0 0 1px rgba(40, 185, 229, 0.12);
}
.f-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  color: var(--cyan);
  background: rgba(40, 185, 229, 0.12);
  border: 1px solid rgba(40, 185, 229, 0.22);
  margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.f-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f-ico svg path, .f-ico svg circle, .f-ico svg rect { will-change: stroke-dashoffset; }
.f-card .f-map { fill: rgba(40, 185, 229, 0.08); stroke: currentColor; }
.f-card h3 { font-size: 1.12rem; margin-bottom: 8px; color: #fff; }
.f-card p { color: rgba(201, 230, 247, 0.75); font-size: 0.94rem; line-height: 1.7; }

.f-route {
  margin-top: clamp(34px, 5vw, 56px);
  padding: clamp(26px, 4vw, 50px);
  border: 1px solid rgba(40, 185, 229, 0.25);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(8, 127, 189, 0.35), transparent 60%),
    rgba(255, 255, 255, 0.03);
  text-align: center;
}
.f-route p {
  color: rgba(201, 230, 247, 0.8);
  font-size: 1.08rem;
  line-height: 1.9;
  max-width: 840px;
  margin-inline: auto;
}
.f-slogan {
  display: block;
  margin-top: 18px;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--cyan);
}

/* ============================================================
   12) TESTIMONIALS
============================================================ */
.testimonials { background: var(--white); padding-block: var(--section-pad); }
.t-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.t-viewport { overflow-x: auto; cursor: grab; scrollbar-width: none; padding-block: 8px 14px; }
.t-viewport::-webkit-scrollbar { display: none; }
.t-viewport.dragging { cursor: grabbing; user-select: none; }
.t-track { display: flex; gap: 22px; padding-inline: clamp(20px, 4vw, 40px); width: max-content; }

.t-card {
  position: relative;
  width: 360px;
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(8, 127, 189, 0.4); }
.t-quote-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: var(--cyan);
  margin-bottom: 16px;
}
.t-quote-mark svg { width: 20px; height: 20px; fill: currentColor; }
.t-text { color: var(--ink); font-size: 1.01rem; line-height: 1.9; margin-bottom: 22px; }
.t-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.t-name { font-weight: 700; color: var(--navy); }
.t-city { color: var(--muted); font-size: 0.88rem; }
.t-type {
  font-size: 0.74rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(8, 127, 189, 0.12);
  color: var(--blue);
  font-weight: 700;
}

/* ============================================================
   13) FAQ
============================================================ */
.faq { background: var(--bg); padding-block: var(--section-pad); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; align-items: start; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 18px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.is-open { border-color: rgba(8, 127, 189, 0.45); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: start;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}
.faq-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}
.faq-item.is-open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 22px;
}
.faq-a p { color: var(--muted); line-height: 1.9; }
.faq-item.is-open .faq-a { padding: 0 22px 20px; }

/* ============================================================
   14) FINAL CTA
============================================================ */
.final-cta {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.cta-media { position: absolute; inset: 0; }
.cta-img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 42, 67, 0.95), rgba(6, 42, 67, 0.8) 55%, rgba(6, 42, 67, 0.65));
}
.cta-body { position: relative; z-index: 2; padding-block: clamp(60px, 9vw, 110px); width: 100%; }
.cta-card {
  max-width: 720px;
  text-align: center;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.cta-title { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.cta-sub { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; margin-bottom: 30px; }
.cta-card .hero-actions { justify-content: center; }
.cta-tagline {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ============================================================
   15) FOOTER
============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding-top: clamp(48px, 7vw, 72px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 40px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 0.94rem; margin: 16px 0 20px; max-width: 320px; color: rgba(255, 255, 255, 0.7); }

.social { display: flex; gap: 12px; }
.social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.social a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; fill: currentColor; }

.footer-col h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: rgba(255, 255, 255, 0.72); transition: color 0.25s ease; }
.footer-col a:hover { color: var(--cyan); }

.contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.contact-list .ico {
  width: 18px;
  height: 18px;
  margin-top: 6px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-list a { word-break: break-word; }
.footer-note { margin-top: 16px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 22px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   11) ORBIT CURSOR
============================================================ */
html.has-orbit, html.has-orbit * { cursor: none !important; }

.orbit {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  pointer-events: none;
  width: 0;
  height: 0;
  display: none;
  opacity: 0;
  will-change: transform;
}
html.has-orbit .orbit { display: block; }
.orbit-ring {
  position: absolute;
  top: -23px;
  left: -23px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.6px solid rgba(40, 185, 229, 0.8);
  transition: width 0.25s ease, height 0.25s ease, top 0.25s ease, left 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.orbit.is-hot .orbit-ring {
  width: 76px;
  height: 76px;
  top: -38px;
  left: -38px;
  background: rgba(8, 127, 189, 0.15);
  border-color: var(--cyan);
}
.orbit-label {
  position: absolute;
  bottom: 20px;
  left: 0;
  transform: translateX(-50%) translateY(6px);
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: var(--shadow-md);
}
.orbit.is-hot .orbit-label { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (min-width: 1025px) and (max-width: 1280px) {
  .header-inner { gap: 12px; }
  .main-nav { gap: 14px; }
  .nav-list { gap: 14px; }
  .nav-link { font-size: 0.92rem; }
  .brand-name { font-size: 1.1rem; }
  .btn-nav { padding: 9px 18px; font-size: 0.92rem; }
}

@media (max-width: 1024px) {
  .g-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .g-track { scroll-snap-type: x mandatory; }
  .p-card { width: min(78vw, 460px); scroll-snap-align: center; }
  .g-hint { display: block; }
  .tl-item { grid-template-columns: 64px 1fr; }
  .tl-card { grid-column: 2; }
  .tl-item:nth-child(even) .tl-card { grid-column: 2; }
  .tl-node,
  .tl-item:nth-child(even) .tl-node { grid-column: 1; grid-row: 1; }
  .tl-line, .tl-fill { inset-inline-start: calc(32px - 1px); }
  .tl-dot { inset-inline-start: calc(32px - 9px); }
  .agencies-grid { grid-template-columns: 1fr; }
  .bp-steps { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: repeat(2, 1fr); }

  /* Agents strip: native horizontal scrolling on tablets/phones */
  .agents-carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .agent-card { scroll-snap-align: center; }
}

@media (max-width: 900px) {
  .site-header { background: rgba(6, 42, 67, 0.94); }
  .site-header.is-scrolled { background: rgba(255, 255, 255, 0.96); }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  /* Keep the logo visible above the fullscreen overlay menu */
  .site-header .brand { position: relative; z-index: 155; }

  .main-nav {
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 150;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: clamp(90px, 14vh, 120px) clamp(24px, 6vw, 48px) 40px;
    background: rgba(6, 42, 67, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
  }
  body.nav-open .main-nav { transform: translateX(0); }

  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; margin-bottom: 28px; }
  .nav-link {
    display: block;
    padding: 14px 6px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-link::after { display: none; }
  .btn-nav { align-self: flex-start; }

  .nav-toggle-box i { background: #fff; }
  body.nav-open .site-header .nav-toggle-box i { background: #fff; }
  body.nav-open .nav-toggle-box i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle-box i:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle-box i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .cert { grid-template-columns: 1fr; text-align: center; }
  .cert-body .section-eyebrow::before { display: none; }
  .cert-text, .cert-quote { margin-inline: auto; }
  .cert-quote { text-align: start; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .story-card { grid-template-columns: 1fr; text-align: center; }
  .story-icon { margin-inline: auto; }
  .story-index, .story-marker { display: none; }
  .story-body p { margin-inline: auto; }
  .story-card { top: calc(var(--header-h-scrolled) + 14px); }
}

@media (max-width: 640px) {
  .brand-name { font-size: 1.05rem; }
  .trust-inner { flex-direction: column; align-items: flex-start; padding-block: 24px; }
  .hero-trust { gap: 18px; }
  .hero-trust strong { font-size: 1.15rem; }
  .tl-item { grid-template-columns: 44px 1fr; padding-block: 26px; }
  .tl-card { padding: 18px; }
  .tl-node { width: 44px; height: 44px; min-height: 44px; }
  .tl-num { font-size: 0.85rem; }
  .ag-steps { grid-template-columns: 1fr; }
  .branches-grid { grid-template-columns: 1fr; }
  .t-card { width: min(82vw, 360px); }
  .faq-grid { grid-template-columns: 1fr; }
  .cert-seal { width: 180px; height: 180px; }
  .cert-years { font-size: 4rem; }
  .cert-seal::before { inset: 20px; }
  .cert-seal::after { inset: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .w-card { width: min(78vw, 300px); }
  .bp-steps { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .section-eyebrow::before,
  .center .section-eyebrow::after { display: none; }
}

@media (max-width: 480px) {
  .hero-body { padding-block: calc(var(--header-h) + 10px) 40px; }
  .hero-card { padding: 16px; border-radius: var(--radius); }
  .hero-eyebrow { font-size: 0.65rem; gap: 4px; margin-bottom: 8px; }
  .hero-eyebrow::before { width: 5px; height: 5px; }
  .hero-title { font-size: clamp(1.25rem, 5vw, 1.75rem); line-height: 1.2; margin-bottom: 10px; }
  .hero-sub { font-size: clamp(0.75rem, 4vw, 0.9rem); margin-bottom: 16px; max-width: 100%; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { padding: 10px 16px; font-size: 0.85rem; }
  .hero-trust { gap: 10px; margin-top: 16px; padding-top: 12px; }
  .hero-trust li { min-width: 80px; }
  .hero-trust strong { font-size: 0.9rem; }
  .hero-trust span { font-size: 0.7rem; }
  .hero-trust li { min-width: 70px; }
  .hero-scroll { display: none; }

  /* Mobile improvements for strips */
  .g-viewport { padding-bottom: 8px; }
  .p-card { width: min(85vw, 300px); }
  .agents-carousel { padding-block: 8px; }
  .agent-card { width: min(85vw, 280px); }
  .agent-body { padding: 14px 14px 12px; }
  .agent-name { font-size: 1rem; }
  .agent-meta { font-size: 0.8rem; }
  .agent-tag { font-size: 0.65rem; padding: 3px 8px; }
  .agent-cert img { width: 70px; height: 40px; }
  .cert-year { font-size: 0.7rem; }
  .agents-controls { margin-top: 16px; }
  .agent-nav-btn { width: 44px; height: 44px; }
  .agent-nav-btn svg { width: 18px; height: 18px; }
}

/* ============================================================
   PREMIUM POLISH PACK
============================================================ */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --grad-brand: linear-gradient(135deg, var(--cyan), var(--blue));
}

html { scrollbar-color: var(--blue) var(--bg); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  border-radius: 999px;
  border: 3px solid var(--bg);
}
::selection { background: rgba(8, 127, 189, 0.25); color: inherit; }

/* film grain overlay (site only — not on the admin page) */
body:not(.admin-body)::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 299;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* heading typography: brand gradients */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .section-title {
    background: linear-gradient(120deg, var(--navy) 12%, var(--blue) 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .blueprint .section-title,
  .future .section-title {
    background: linear-gradient(120deg, #ffffff 30%, #8ED4F2 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero-title {
    background: linear-gradient(120deg, #ffffff 35%, #AAE1F7 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* buttons: gloss sweep + layered depth */
.btn { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: -70%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg);
  transition: inset-inline-start 0.55s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover::after { inset-inline-start: 130%; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, #05659C 48%, var(--navy) 125%);
  box-shadow: 0 14px 34px rgba(8, 127, 189, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(6, 42, 67, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 22px 50px rgba(8, 127, 189, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -1px 0 rgba(6, 42, 67, 0.4);
}

/* hero: second glow orb + premium glass card + stat chips */
.hero-media::after {
  content: "";
  position: absolute;
  inset-inline-end: -160px;
  bottom: 8%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 185, 229, 0.18), transparent 62%);
  filter: blur(14px);
}
.hero-card {
  position: relative;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(40, 185, 229, 0.7), transparent);
}
.hero-trust li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* cards: spotlight glow on hover */
.p-card, .w-card, .t-card, .f-card, .branch-card, .agencies-visual { position: relative; }
.p-card, .w-card, .t-card, .f-card { overflow: hidden; }
.p-card::before, .w-card::before, .t-card::before, .f-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(560px circle at 18% 0%, rgba(40, 185, 229, 0.14), transparent 46%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.p-card:hover::before, .w-card:hover::before, .t-card:hover::before, .f-card:hover::before { opacity: 1; }

/* trust bar icons: gradient depth */
.trust-item .ico {
  background: linear-gradient(135deg, rgba(40, 185, 229, 0.18), rgba(8, 127, 189, 0.24));
  box-shadow: inset 0 0 0 1px rgba(8, 127, 189, 0.14);
}

/* gallery nav buttons */
.g-nav-btn { box-shadow: var(--shadow-sm); }
.g-nav-btn:hover { box-shadow: 0 10px 24px rgba(8, 127, 189, 0.4); }

/* blueprint progress glow */
.bp-progress-fill { box-shadow: 0 0 18px rgba(40, 185, 229, 0.6); }
.bp-step.is-active { box-shadow: 0 8px 22px rgba(40, 185, 229, 0.28); }

/* warranty seal: subtle premium pulse glow */
.cert-seal {
  animation: certPulse 4s ease-in-out infinite;
}
@keyframes certPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(40, 185, 229, 0.2), 0 18px 40px rgba(6, 42, 67, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(40, 185, 229, 0.15), 0 24px 56px rgba(6, 42, 67, 0.45); }
}
.cert-seal::before { box-shadow: inset 0 0 44px rgba(40, 185, 229, 0.3), 0 20px 46px rgba(6, 42, 67, 0.4); }

/* faq open depth */
.faq-item.is-open { box-shadow: var(--shadow-md); border-color: rgba(8, 127, 189, 0.5); }
.faq-q:hover { color: var(--blue); }

/* CTA card: same glass language as hero */
.cta-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.cta-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(40, 185, 229, 0.65), transparent);
}

/* testimonials quote mark */
.t-quote-mark {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--cyan);
  box-shadow: 0 8px 20px rgba(6, 42, 67, 0.3);
}

/* footer polish */
.site-footer {
  border-top: 1px solid rgba(40, 185, 229, 0.2);
  background: linear-gradient(180deg, #04182A 0%, var(--navy) 40%);
}
.footer-col h3 { position: relative; padding-bottom: 12px; }
.footer-col h3::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.social a:hover { box-shadow: 0 10px 26px rgba(8, 127, 189, 0.45); }

/* ============================================================
   PREMIUM FEATURES
============================================================ */

/* All Products Modal */
.all-products-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 42, 67, 0.92);
  backdrop-filter: blur(12px);
  opacity: 0;
  animation: modalFadeIn 0.3s ease forwards;
}
.all-products-modal.closing { animation: modalFadeOut 0.3s ease forwards; }
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalFadeOut { from { opacity: 1; } to { opacity: 0; } }

.all-products-backdrop { position: absolute; inset: 0; }
.all-products-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(243,248,252,0.95));
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  animation: modalSlideUp 0.4s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes modalSlideUp { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.all-products-modal.closing .all-products-content { animation: modalSlideDown 0.3s ease forwards; }
@keyframes modalSlideDown { to { opacity: 0; transform: scale(0.95) translateY(20px); } }

.all-products-close {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  color: var(--navy);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.all-products-close:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(90deg); }
.all-products-close svg { width: 22px; height: 22px; stroke-width: 2; }

.all-products-header { text-align: center; margin-bottom: 28px; }
.all-products-header h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); margin-bottom: 8px; }
.all-products-sub { color: var(--muted); font-size: 1rem; }

.all-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.all-product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.all-product-card:hover {
  transform: translateY(-8px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-lg);
}
.all-product-media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg);
}
.all-product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.all-product-card:hover .all-product-media img { transform: scale(1.05); }
.all-product-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(22, 160, 133, 0.95);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(22, 160, 133, 0.35);
}
.all-product-body { padding: 22px; }
.all-product-title { font-size: 1.18rem; margin-bottom: 8px; color: var(--navy); }
.all-product-desc { color: var(--muted); font-size: 0.94rem; margin-bottom: 18px; }
.all-product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.98rem;
}
.all-product-link svg { width: 18px; height: 18px; transition: transform 0.25s ease; transform: scaleX(-1); }
.all-product-link:hover svg { transform: scaleX(-1) translateX(-5px); }

/* Testimonials Empty State */
.t-empty { width: 100%; }

/* Agencies 3D Tilt */
.agencies-visual {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.agencies-visual img { border-radius: var(--radius-lg); }

/* Story Premium Enhancements */
.story-card { transform-style: preserve-3d; }
.story-marker i { transition: background-color 0.4s ease, box-shadow 0.4s ease; }

/* Future Premium Enhancements */
.f-card { transform-style: preserve-3d; }
.f-ico { transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.f-route { transform-origin: left center; }

/* Warranty Premium */
.cert-seal { transform-origin: center; }

/* Modal close animation */
.all-products-modal.closing .all-products-content {
  animation: modalSlideDown 0.3s ease forwards;
}
@keyframes modalSlideDown { to { opacity: 0; transform: scale(0.95) translateY(20px); } }

/* Modal open state */
html.modal-open { overflow: hidden; }
body.modal-open { overflow: hidden; }

/* ============================================================
   REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  .hero-scroll-line::after, .map-pulse, .bp-data, .bp-wave, .bp-pulse-bar, .cert-seal { animation: none !important; }
  .agencies-visual { transition: none !important; }
}