/* =====================================================================
   BETWEEN (بتوين) — Landing pages design system
   Brand: Yellow #f1df01 / Ink #090b19 / White. Font: Cairo. RTL.
   Used by: e-commerce.html (B2C) + companies-and-importers.html (B2B)
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --yellow: #f1df01;
  --yellow-600: #d9c800;
  --yellow-700: #b9aa00;
  --yellow-tint: rgba(241, 223, 1, 0.14);
  --yellow-soft: #fdf7c9;

  --ink: #090b19;          /* brand dark navy/black */
  --ink-2: #11131f;
  --ink-3: #1c1f2c;
  --paper: #f6f6f3;        /* warm light bg */
  --paper-2: #eeeeea;
  --white: #ffffff;

  --text: #14161f;         /* body on light */
  --muted: #3c414d;        /* secondary on light */
  --line: rgba(9, 11, 25, 0.10);
  --line-2: rgba(9, 11, 25, 0.06);

  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.68);
  --line-dark: rgba(255, 255, 255, 0.12);

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(9, 11, 25, 0.06);
  --shadow: 0 18px 50px -24px rgba(9, 11, 25, 0.30);
  --shadow-lg: 0 40px 90px -40px rgba(9, 11, 25, 0.45);
  --shadow-yellow: 0 18px 40px -18px rgba(217, 200, 0, 0.55);

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(64px, 9vw, 132px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);

  --font: "Cairo", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink-2 { background: var(--ink-2); color: var(--on-dark); }
.section--paper-2 { background: var(--paper-2); }
.center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; letter-spacing: -0.01em; color: inherit; text-wrap: balance; }
.h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); font-weight: 900; line-height: 1.04; }
.h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 800; }
.h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--muted); line-height: 1.7; text-wrap: pretty; }
.section--ink .lead, .section--ink-2 .lead { color: var(--on-dark-muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--ink); background: var(--yellow);
  padding: 7px 16px; border-radius: var(--r-pill);
}
.section--ink .eyebrow, .section--ink-2 .eyebrow { color: var(--ink); }
.eyebrow--ghost { background: transparent; color: var(--yellow-700); border: 1px solid var(--line); padding-inline: 0; border: 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }
.section-head .lead { margin-top: 18px; }
.mark { color: var(--yellow-700); }
.section--ink .mark, .section--ink-2 .mark { color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; font-size: 1rem; line-height: 1;
  padding: 16px 28px; border-radius: var(--r-pill);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap; cursor: pointer; border: 2px solid transparent;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(-4px); }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: var(--shadow-yellow); }
.btn-primary:hover { background: var(--yellow-600); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0) scale(0.985); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.section--ink .btn-ghost, .section--ink-2 .btn-ghost, .hero .btn-ghost { color: var(--white); border-color: var(--line-dark); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow-700); }
.section--ink .btn-ghost:hover, .hero .btn-ghost:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.btn-lg { padding: 19px 34px; font-size: 1.06rem; }

/* ---------- Header / Nav ---------- */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}
.nav__inner {
  max-width: var(--container); margin-inline: auto; padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 76px;
}
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-weight: 600; font-size: 0.97rem; color: var(--on-dark-muted); transition: color 0.2s var(--ease); position: relative; }
.nav__links a:hover { color: var(--white); }
.nav__links a::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: -6px; height: 2px; background: var(--yellow); transform: scaleX(0); transition: transform 0.25s var(--ease); transform-origin: right; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__lang { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 0.9rem; color: var(--white); border: 1.5px solid var(--line-dark); border-radius: var(--r-pill); padding: 9px 15px; transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease); white-space: nowrap; }
.nav__lang svg { width: 17px; height: 17px; }
.nav__lang:hover { border-color: var(--yellow); color: var(--yellow); }
.mobile-menu .nav__lang { align-self: flex-start; margin-top: 8px; font-size: 1.05rem; padding: 12px 20px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--white); font-size: 0.95rem; }
.nav__phone svg { width: 18px; height: 18px; color: var(--yellow); }
.nav.is-stuck { background: rgba(9, 11, 25, 0.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-dark); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: var(--r-xs); align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--white); position: relative; transition: 0.25s var(--ease); }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; inset-inline: 0; height: 2px; background: var(--white); transition: 0.25s var(--ease); }
.nav__burger span::before { top: -7px; } .nav__burger span::after { top: 7px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; min-height: 92dvh; display: flex; align-items: center; color: var(--white); padding-block: 120px 60px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(245deg, rgba(9,11,25,0.55) 0%, rgba(9,11,25,0.78) 48%, rgba(9,11,25,0.95) 100%),
  linear-gradient(0deg, rgba(9,11,25,0.85), rgba(9,11,25,0.15) 60%); }
.hero__inner { position: relative; z-index: 1; max-width: 880px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.9rem; color: var(--ink); background: var(--yellow); padding: 8px 18px; border-radius: var(--r-pill); margin-bottom: 26px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 900; line-height: 1.02; letter-spacing: -0.02em; }
.hero h1 .mark { color: var(--yellow); }
.hero__sub { font-size: clamp(1.1rem, 2.1vw, 1.45rem); color: rgba(255,255,255,0.82); margin-top: 22px; max-width: 620px; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line-dark); }
.hero__stat b { display: block; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; color: var(--yellow); line-height: 1; }
.hero__stat span { font-size: 0.9rem; color: var(--on-dark-muted); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.stat { position: relative; padding-inline-start: 22px; }
.stat::before { content: ""; position: absolute; inset-inline-start: 0; inset-block: 6px; width: 4px; border-radius: 4px; background: var(--yellow); }
.stat b { display: block; font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 900; color: var(--yellow); line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat span { font-size: 0.98rem; color: var(--on-dark-muted); font-weight: 500; }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse { direction: ltr; }
.split--reverse > * { direction: rtl; }
.about__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media .badge { position: absolute; inset-block-end: 18px; inset-inline-start: 18px; background: var(--yellow); color: var(--ink); font-weight: 800; padding: 12px 18px; border-radius: var(--r-sm); font-size: 0.95rem; box-shadow: var(--shadow); }
.about__block + .about__block { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.about__block h3 { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.about__block h3::before { content: ""; width: 30px; height: 8px; border-radius: 4px; background: var(--yellow); }

/* ---------- Value divider (yellow band) ---------- */
.value { background: var(--yellow); color: var(--ink); }
.value__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.value__mark { font-size: clamp(3.4rem, 9vw, 7rem); font-weight: 900; line-height: 0.8; color: var(--ink); opacity: 0.18; }
.value p { font-size: clamp(1.4rem, 2.9vw, 2.3rem); font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }

/* ---------- Journey timeline ---------- */
.journey__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: linear-gradient(180deg, #f7f7f4, #ffffff 42%); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 22px 26px; position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.step__num { position: absolute; inset-block-start: 10px; inset-inline-end: 16px; font-size: 3.2rem; font-weight: 900; color: var(--ink); opacity: 0.16; line-height: 1; }
.step:hover .step__num { color: var(--yellow-700); opacity: 0.3; }
.step__icon { width: 132px; height: 126px; object-fit: contain; margin-bottom: 12px; filter: drop-shadow(0 12px 16px rgba(9,11,25,0.22)); }
.step h3 { font-size: 1.14rem; font-weight: 800; margin-bottom: 8px; display: inline-flex; align-items: center; gap: 9px; }
.step h3::before { content: ""; width: 22px; height: 6px; border-radius: 4px; background: var(--yellow); flex: none; }
.step p { font-size: 0.96rem; color: var(--muted); }

/* ---------- Benefits bento ---------- */
.benefits { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.benefit {
  grid-column: span 2; background: var(--ink-2); border: 1px solid var(--line-dark);
  border-radius: var(--r); padding: 28px 26px; position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.benefit:hover { transform: translateY(-5px); background: var(--ink-3); }
.benefit__icon { width: 56px; height: 56px; margin-bottom: 18px; }
.benefit__icon img { width: 100%; height: 100%; object-fit: contain; }
.benefit h3 { font-size: 1.22rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.benefit p { font-size: 0.98rem; color: var(--on-dark-muted); }
/* feature cells with imagery */
.benefit--wide { grid-column: span 3; }
.benefit--feature { grid-column: span 3; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); border: 0; }
.benefit--feature .benefit__bg { position: absolute; inset: 0; z-index: 0; }
.benefit--feature .benefit__bg img { width: 100%; height: 100%; object-fit: cover; }
.benefit--feature .benefit__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,11,25,0.94) 8%, rgba(9,11,25,0.35) 75%, rgba(9,11,25,0.55)); }
.benefit--feature > * { position: relative; z-index: 1; }
.benefit--accent { background: var(--yellow); border: 0; }
.benefit--accent h3, .benefit--accent p { color: var(--ink); }
.benefit--accent p { color: rgba(9,11,25,0.78); }
/* full-width feature card (closes the bento with no empty cells) */
.benefits .benefit--full { grid-column: 1 / -1; }
.benefit--full.benefit--feature { min-height: 220px; }

/* ---------- Activities ---------- */
.activities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.activity {
  display: flex; align-items: center; gap: 16px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.activity:hover { transform: translateY(-4px); border-color: var(--yellow); box-shadow: var(--shadow-sm); }
.activity__icon { width: 54px; height: 54px; flex: none; background: var(--yellow-soft); border-radius: var(--r-sm); display: grid; place-items: center; }
.activity__icon img { width: 34px; height: 34px; object-fit: contain; }
.activity span { font-weight: 700; font-size: 1.05rem; }

/* ---------- Logo walls (transparent, no white cards) ---------- */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.logos__item {
  display: grid; place-items: center; padding: 16px 20px; aspect-ratio: 16 / 9;
  border-radius: var(--r-sm); background: transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.logos__item:hover { transform: translateY(-4px); background: rgba(9, 11, 25, 0.035); }
/* logos are pre-rendered as a single ink monochrome — uniform height keeps the wall consistent */
.logos__item img { max-height: 30px; max-width: 76%; width: auto; object-fit: contain; opacity: 0.78; transition: opacity 0.25s var(--ease); }
.logos__item:hover img { opacity: 1; }
.partner-tabs { display: inline-flex; gap: 8px; background: var(--paper-2); padding: 6px; border-radius: var(--r-pill); margin-bottom: 28px; }
.partner-tab { padding: 10px 22px; border-radius: var(--r-pill); font-weight: 700; font-size: 0.95rem; color: var(--muted); transition: 0.25s var(--ease); }
.partner-tab.is-active { background: var(--ink); color: var(--white); }
.partner-pane { display: none; } .partner-pane.is-active { display: block; }

/* ---------- Coverage / map ---------- */
.coverage { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.coverage__map { position: relative; }
.coverage__map img { width: 100%; height: auto; }
.coverage__list { display: grid; gap: 16px; }
.coverage__row { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.coverage__row b.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); flex: none; margin-top: 6px; box-shadow: 0 0 0 5px var(--yellow-tint); }
.coverage__row h3 { font-size: 1.1rem; }
.coverage__row p { color: var(--muted); font-size: 0.96rem; margin-top: 2px; }
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.city { background: var(--paper-2); border-radius: var(--r-pill); padding: 7px 16px; font-size: 0.9rem; font-weight: 600; color: var(--text); }

/* ---------- Warehouses ---------- */
.warehouses__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.warehouses__media img { width: 100%; height: auto; }

/* ---------- Segments (home: choose your path) ---------- */
/* Light card: full-bleed image on top, dark high-contrast text on a clean white body below. */
.segments { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.segment-card {
  display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.segment-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.segment-card__media { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.segment-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.segment-card:hover .segment-card__media img { transform: scale(1.05); }
.segment-card__body { display: flex; flex-direction: column; align-items: flex-start; padding: 26px clamp(22px, 3vw, 32px) 30px; flex: 1; }
.segment-card .tag { display: inline-flex; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 0.78rem; padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 14px; }
.segment-card h3 { font-size: clamp(1.4rem, 3vw, 1.95rem); font-weight: 900; margin-bottom: 9px; color: var(--ink); }
.segment-card p { color: var(--muted); margin-bottom: 20px; max-width: 46ch; }
.segment-card__link { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--yellow-700); margin-top: auto; }
.segment-card__link svg { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.segment-card:hover .segment-card__link svg { transform: translateX(-6px); }

/* ---------- Services grid (home) ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.service-card__icon { width: 58px; height: 58px; border-radius: var(--r-sm); background: var(--yellow-soft); display: grid; place-items: center; margin-bottom: 16px; }
.service-card__icon img { width: 34px; height: 34px; object-fit: contain; }
.service-card h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 7px; }
.service-card p { font-size: 0.94rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 4px; font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 1.3rem; line-height: 1; transition: transform 0.3s var(--ease); }
.faq-item[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq-item p { padding: 0 4px 24px; color: var(--muted); font-size: 1.02rem; max-width: 760px; line-height: 1.7; }
.faq-item[open] summary { color: var(--yellow-700); }

/* ---------- Certifications band (continues the dark benefits block above) ---------- */
#certs { padding-block-start: clamp(28px, 4vw, 56px); }
.certs { display: grid; gap: clamp(26px, 3.5vw, 42px); }
.certs__head { max-width: 820px; }
.certs__head h2 { color: var(--yellow); font-size: clamp(1.55rem, 3.2vw, 2.3rem); font-weight: 800; line-height: 1.18; }
.certs__head p { color: var(--on-dark-muted); margin-top: 12px; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.authorities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.authority {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px;
  padding: 30px 16px; border: 1px solid var(--line-dark); border-radius: var(--r);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.authority:hover { transform: translateY(-4px); border-color: rgba(241, 223, 1, 0.45); background: rgba(241, 223, 1, 0.06); }
.authority img { height: clamp(56px, 6vw, 72px); width: auto; object-fit: contain; }
.authority span { font-weight: 700; font-size: 0.95rem; color: var(--white); line-height: 1.4; }
.iso-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.iso-chip { border: 1px solid var(--line-dark); border-radius: var(--r-pill); padding: 9px 18px; font-weight: 700; font-size: 0.9rem; color: var(--yellow); background: rgba(241, 223, 1, 0.06); }

/* ---------- Lead form ---------- */
.lead-section { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.lead-section::before { content: ""; position: absolute; inset-block-start: -120px; inset-inline-start: -120px; width: 420px; height: 420px; background: radial-gradient(circle, var(--yellow-tint), transparent 70%); }
.lead-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 5vw, 72px); align-items: start; position: relative; z-index: 1; }
.lead-copy h2 { color: var(--white); }
.lead-copy .lead { color: var(--on-dark-muted); margin-top: 16px; }
.lead-points { display: grid; gap: 14px; margin-top: 30px; }
.lead-point { display: flex; gap: 12px; align-items: flex-start; }
.lead-point svg { width: 24px; height: 24px; color: var(--yellow); flex: none; margin-top: 2px; }
.lead-point span { color: rgba(255,255,255,0.84); }
.contact-strip { display: grid; gap: 14px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.contact-row { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contact-row svg { width: 20px; height: 20px; color: var(--yellow); flex: none; }
.contact-row a { color: var(--white); }

.form-card { background: var(--white); color: var(--text); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-lg); }
.form-card__head { margin-bottom: 22px; }
.form-card__head h3 { font-size: 1.5rem; font-weight: 800; }
.form-card__head p { color: var(--muted); font-size: 0.97rem; margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 700; color: var(--text); }
.field .req { color: #c81e1e; }
.new-form-field, .field input, .field select {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fbfbf9; color: var(--text); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  font-size: 0.98rem; min-height: 52px;
}
.new-form-field::placeholder, .field input::placeholder { color: #9a9da8; }
.new-form-field:focus, .field input:focus, .field select:focus { outline: 0; border-color: var(--yellow); background: #fff; box-shadow: 0 0 0 4px var(--yellow-tint); }
select.new-form-field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235f6470' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 16px center; padding-inline-start: 40px; }
.qty-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-submit-button, .submit-button-2 {
  width: 100%; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 1.08rem;
  padding: 17px; border-radius: var(--r-pill); margin-top: 8px; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease); box-shadow: var(--shadow-yellow);
}
.form-submit-button:hover { background: var(--yellow-600); transform: translateY(-2px); }
.form-submit-button:active { transform: translateY(0) scale(0.99); }
.form-consent { font-size: 0.82rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form-consent a { color: var(--yellow-700); text-decoration: underline; }
.new-success-message { background: var(--yellow-soft); border: 1px solid var(--yellow); border-radius: var(--r); padding: 26px; text-align: center; font-weight: 600; color: var(--ink); }
.new-error-message { background: #fde8e8; border: 1px solid #f3b4b4; border-radius: var(--r); padding: 18px; text-align: center; color: #9b1c1c; margin-top: 12px; }
.w-form-done, .w-form-fail { display: none; }

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 1.02rem;
  padding: 15px 24px; border-radius: var(--r-pill); box-shadow: var(--shadow-lg), var(--shadow-yellow);
  transform: translateY(140%); opacity: 0; transition: transform 0.45s var(--ease-spring), opacity 0.45s var(--ease), background 0.25s var(--ease);
  cursor: pointer;
}
.floating-cta.is-visible { transform: translateY(0); opacity: 1; }
.floating-cta.is-hidden { transform: translateY(140%); opacity: 0; }
.floating-cta:hover { background: var(--yellow-600); }
.floating-cta svg { width: 20px; height: 20px; animation: nudge 1.8s var(--ease) infinite; }
.floating-cta__pulse { position: absolute; inset: 0; border-radius: var(--r-pill); box-shadow: 0 0 0 0 rgba(241,223,1,0.55); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(241,223,1,0.5); } 100% { box-shadow: 0 0 0 22px rgba(241,223,1,0); } }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-muted); padding-block: clamp(48px, 6vw, 80px) 30px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer__brand img { height: 34px; margin-bottom: 18px; }
.footer__brand p { max-width: 320px; font-size: 0.96rem; }
.footer__col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; font-size: 0.96rem; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--yellow); }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a { width: 42px; height: 42px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center; transition: 0.25s var(--ease); }
.footer__social a:hover { background: var(--yellow); border-color: var(--yellow); }
.footer__social svg { width: 18px; height: 18px; color: currentColor; }
.footer__social a:hover svg { color: var(--ink); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 0.88rem; }
.footer__bottom a:hover { color: var(--yellow); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .floating-cta svg, .floating-cta__pulse { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .benefit, .benefit--wide, .benefit--feature { grid-column: span 2; }
}
@media (max-width: 991px) {
  .nav__links, .nav__phone, .nav__cta .nav__lang { display: none; }
  .nav__burger { display: flex; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .journey__track { grid-template-columns: repeat(2, 1fr); }
  .split, .coverage, .lead-grid { grid-template-columns: 1fr; }
  .split--reverse { direction: rtl; }
  .activities { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .authorities { grid-template-columns: repeat(2, 1fr); }
  .value__inner { grid-template-columns: 1fr; }
  .value__mark { display: none; }
  .segments { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .benefits { grid-template-columns: 1fr; }
  .benefit, .benefit--wide, .benefit--feature { grid-column: span 1; }
  .journey__track, .activities, .form-grid, .qty-row, .services { grid-template-columns: 1fr; }
  .step__icon { width: 164px; height: 158px; margin-bottom: 16px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .footer__top, .footer__bottom { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
  .hero__stat b { font-size: 1.5rem; }
  .floating-cta { inset-inline: 14px; inset-block-end: 14px; justify-content: center; }
  .stat::before { inset-block: 4px; }
}

/* mobile menu open state */
body.menu-open { overflow: hidden; }
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: rgba(9,11,25,0.97); backdrop-filter: blur(8px); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: var(--gutter); transform: translateY(-100%); transition: transform 0.4s var(--ease-spring); }
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a { color: var(--white); font-size: 1.6rem; font-weight: 800; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-menu .btn { margin-top: 20px; }

/* ---------- LTR (English pages): flip directional motion ---------- */
[dir="ltr"] .btn:hover svg { transform: translateX(4px); }
[dir="ltr"] .segment-card:hover .segment-card__link svg { transform: translateX(6px); }
[dir="ltr"] .nav__links a::after { transform-origin: left; }
[dir="ltr"] .hero__bg::after {
  background:
    linear-gradient(115deg, rgba(9,11,25,0.55) 0%, rgba(9,11,25,0.78) 48%, rgba(9,11,25,0.95) 100%),
    linear-gradient(0deg, rgba(9,11,25,0.85), rgba(9,11,25,0.15) 60%);
}

/* ---------- RTL (Arabic): looser leading + no negative tracking, so tall connected glyphs never collide ---------- */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4,
[dir="rtl"] .h1, [dir="rtl"] .h2, [dir="rtl"] .h3 { line-height: 1.32; letter-spacing: 0; }
[dir="rtl"] .hero h1 { line-height: 1.36; }
[dir="rtl"] .value p { line-height: 1.5; letter-spacing: 0; }
[dir="rtl"] .h1 { line-height: 1.3; }

/* B2B journey has 6 steps — 3 columns tiles them as 2 even rows of 3 (no empty cells) on desktop */
@media (min-width: 992px) {
  [data-page="b2b"] .journey__track { grid-template-columns: repeat(3, 1fr); }
}
