/* ============================================================
   MINAA MAURITANIA LOGISTICS — Brand Foundations & Theme Variables
   @author Ing. Mohamed Lemine Khlil
   ============================================================ */
:root {
  /* ---- THEME CONTROL PANEL · STRICT MINAA BRAND PALETTE ----
     Source of truth — only these 5 brand colors + neutral derivatives.
     To rebrand, change these values in one place. */
  --pumpkin: #F97316;         /* BRAND ORANGE — primary CTA / accent */
  --denim-blue: #1E4FA8;      /* BRAND DEEP BLUE — wordmark, links, dark panels */
  --cornflower-blue: #4D8FD5;/* BRAND LIGHT BLUE — secondary accent / gradients */
  --cadet-gray: #8b95a3;      /* neutral derivative — disabled / muted icon strokes */
  --platinum: #EEF2F8;        /* neutral derivative (tinted off-white) — icon chip bg */
  --onyx: #333333;            /* BRAND DARK GREY — body copy */
  --peach: #FBBE92;           /* derivative of Orange — light accent on dark sections */
  --navy: #1E4FA8;            /* = Deep Blue, used for headings + dark panel bg */
  --navy-2: #163C82;          /* Deep Blue, darkened ~15% — gradient / hover depth */
  --navy-3: #0F2C61;          /* Deep Blue, darkened ~30% — gradient end / deepest panel */
  --ink: #333333;             /* = Dark Grey, base body text color */
  --paper: #f5f6f8;           /* neutral derivative — section background */
  --white: #FFFFFF;           /* BRAND WHITE */
  --line: rgba(30,79,168,.12);
  --shadow-sm: 0 2px 8px rgba(30,79,168,.08);
  --shadow-md: 0 14px 40px rgba(30,79,168,.12);
  --shadow-lg: 0 30px 80px rgba(15,44,97,.22);
  --maxw: 1240px;
  --ease: cubic-bezier(.16, .84, .30, 1);
}

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

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

body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: direction 0.3s var(--ease), text-align 0.3s var(--ease);
}

html[lang="ar"] body {
  font-family: 'Cairo', 'Manrope', system-ui, sans-serif;
}

h1, h2, h3, h4, h5 {
  font-family: 'Archivo', sans-serif;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--navy);
}

html[lang="ar"] h1, 
html[lang="ar"] h2, 
html[lang="ar"] h3, 
html[lang="ar"] h4, 
html[lang="ar"] h5 {
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
}

a {
  color: inherit;
  text-decoration: none;
}

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

section {
  position: relative;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pumpkin);
  margin-bottom: 20px;
}

html[lang="ar"] .eyebrow {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--pumpkin);
  display: inline-block;
}

.eyebrow.light { color: var(--peach); }
.eyebrow.center { justify-content: center; }

.section-pad {
  padding: 120px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 16px 30px;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  transition: .35s var(--ease);
  position: relative;
  overflow: hidden;
}

html[lang="ar"] .btn {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

.btn svg {
  width: 17px;
  height: 17px;
  transition: transform .35s var(--ease);
}

html[dir="ltr"] .btn:hover svg {
  transform: translateX(4px);
}

html[dir="rtl"] .btn:hover svg {
  transform: translateX(-4px);
}

.btn-primary {
  background: var(--pumpkin);
  color: #fff;
  box-shadow: 0 10px 30px rgba(249,115,22,.35);
}

.btn-primary:hover {
  background: #DB6513;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(249,115,22,.45);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.45);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover {
  background: var(--navy-3);
  transform: translateY(-2px);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: .4s var(--ease);
  background: var(--white);
  border-bottom: 1px solid rgba(30,79,168,.06);
  box-shadow: 0 2px 12px rgba(30,79,168,.04);
}

.brand-logo-img {
  height: 62px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  display: block;
  transition: height 0.3s var(--ease), transform 0.3s var(--ease);
}
header.scrolled .brand-logo-img {
  height: 50px;
}

header.scrolled .nav-inner {
  padding: 13px 28px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 28px;
  transition: .4s var(--ease);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--denim-blue);
}

.brand .logomark {
  width: 44px;
  height: 44px;
  flex: none;
}

.brand .logotype {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand .logotype b {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .02em;
  color: var(--denim-blue);
}

html[lang="ar"] .brand .logotype b {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
  font-size: 19px;
}

.brand .logotype span {
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cadet-gray);
  margin-top: 3px;
  font-weight: 600;
}

html[lang="ar"] .brand .logotype span {
  letter-spacing: 0;
  font-size: 11px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.nav-links a {
  color: var(--denim-blue);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 2px;
  transition: .25s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pumpkin);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0px;
  height: 3px;
  background: var(--pumpkin);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}

html[dir="ltr"] .nav-links a::after { transform-origin: left; }
html[dir="rtl"] .nav-links a::after { transform-origin: right; }

.nav-links a.active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

.lang-segmented {
  display: inline-flex;
  align-items: center;
  background: #f1f3f6;
  border: 1px solid rgba(30,79,168,.08);
  border-radius: 30px;
  padding: 6px 14px;
  gap: 6px;
  margin-left: 10px;
  margin-right: 10px;
}

.lang-seg-opt {
  background: none;
  border: none;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--cadet-gray);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 4px;
  transition: color .25s var(--ease);
}

html[lang="ar"] .lang-seg-opt {
  font-family: 'Cairo', sans-serif;
}

.lang-seg-opt:hover {
  color: var(--denim-blue);
}

.lang-seg-opt.active {
  color: var(--denim-blue);
}

.lang-seg-opt .dot {
  display: none;
  color: var(--pumpkin);
  font-size: 16px;
  line-height: 1;
}

.lang-seg-opt.active .dot {
  display: inline-block;
}

.lang-segmented .divider {
  color: rgba(30,79,168,.15);
  font-size: 12px;
  font-weight: 400;
}

/* Modern Rounded Denim CTA Button */
.nav-cta {
  margin-left: 14px;
}
html[dir="rtl"] .nav-cta {
  margin-left: 0;
  margin-right: 14px;
}

.nav-cta .btn {
  padding: 12px 24px;
  font-size: 14px;
  background: var(--denim-blue);
  color: #fff;
  text-transform: uppercase;
  border-radius: 4px;
  font-family: 'Archivo', sans-serif;
}

html[lang="ar"] .nav-cta .btn {
  font-family: 'Cairo', sans-serif;
}

.nav-cta .btn:hover {
  background: var(--navy-3);
  transform: translateY(-1px);
}

/* ---- Desktop dropdown: "About Us" & "Services" (Fix #2) ---- */
.nav-item {
  position: relative;
}

.nav-item.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* QA UX fix: the dropdown panel sits 14px below the trigger link so it has
   visual breathing room, but that gap used to be a hover "dead zone" --
   moving the mouse straight down from the link to the panel crossed empty
   space belonging to neither element, so :hover broke and the panel closed
   before the visitor could reach it. This invisible bridge belongs to
   .nav-item itself (always present, not conditional on the dropdown's own
   visibility), so the hoverable area is now continuous from the link all
   the way into the panel. */
.nav-item.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 290px;
  height: 18px;
}

.nav-caret {
  width: 13px;
  height: 13px;
  flex: none;
  transition: transform .25s var(--ease);
}

.nav-item.has-dropdown:hover .nav-caret,
.nav-item.has-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 290px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(30,79,168,.08);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 30;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dd-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 16px;
  border-radius: 9px;
  text-align: left;
  transition: background .2s var(--ease);
}

html[dir="rtl"] .nav-dd-link {
  text-align: right;
}

.nav-dd-link:hover {
  background: var(--platinum);
}

.nav-dd-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}

html[lang="ar"] .nav-dd-title {
  font-family: 'Cairo', sans-serif;
}

.nav-dd-link:hover .nav-dd-title {
  color: var(--pumpkin);
}

.nav-dd-desc {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--cadet-gray);
}

html[dir="rtl"] .nav-dropdown {
  left: auto;
  right: 50%;
  transform: translate(50%, 8px);
}

html[dir="rtl"] .nav-item.has-dropdown:hover .nav-dropdown,
html[dir="rtl"] .nav-item.has-dropdown:focus-within .nav-dropdown {
  transform: translate(50%, 0);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.burger span {
  width: 26px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: .3s var(--ease);
}

body.menu-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ HERO SECTOR ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(165deg, #0E244C 0%, #163C82 42%, #1E4FA8 100%);
  overflow: hidden;
  /* Generous bottom padding (floor 150px, scales with viewport width) so the
     CTA row is always fully clear of .hero-bar's -80px upward pull below —
     even on short viewports or longer FR/AR strings that wrap to 2 lines. */
  padding: 140px 0 max(150px, 10vw);
}

.hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-scene svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .05;
  pointer-events: none;
  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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(95deg, rgba(7,21,41,.92) 0%, rgba(7,21,41,.7) 45%, rgba(7,21,41,.15) 100%);
}

.hero .wrap {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 780px;
}

html[dir="rtl"] .hero-content {
  text-align: right;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.8vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -.025em;
  margin-bottom: 26px;
  line-height: 1.1;
}

html[lang="ar"] .hero h1 {
  line-height: 1.3;
}

.hero h1 .accent {
  color: var(--pumpkin);
}

/* QA fix #12: hero-title-connector is empty for Arabic ("" -- no "to"
   word needed), and the original AR design was always a single line,
   so the structural <br> is hidden for that language only. */
html[lang="ar"] .hero h1 .hero-title-break {
  display: none;
}

.hero .sub {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  color: rgba(255,255,255,.82);
  max-width: 620px;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

html[dir="rtl"] .hero-cta {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.hero-bar {
  position: relative;
  z-index: 6;
  /* Intentional overlap of the hero/section divider line — kept as-is per design.
     Safe because .hero reserves a 150px (min) bottom padding floor, comfortably
     more than this 80px pull. Below 760px this rule is overridden to
     position:static (see mobile breakpoint), so this pull never applies on
     small phones. */
  margin: -80px auto 0;
  width: min(1200px, calc(100% - 48px));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(30,79,168,.18);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}

.hero-bar:hover {
  transform: translateY(-8px);
  box-shadow: 0 38px 90px rgba(30,79,168,.32);
}

.hero-bar .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 12px 6px;
}

.hero-stat {
  padding: 26px 32px;
  border-right: 1px solid var(--line);
  text-align: left;
}

.hero-stat:last-child {
  border-right: none;
}

html[dir="rtl"] .hero-stat {
  text-align: right;
  border-right: none;
  border-left: 1px solid var(--line);
}

html[dir="rtl"] .hero-stat:last-child {
  border-left: none;
}

.hero-stat b {
  font-family: 'Archivo';
  font-size: clamp(2rem, 2.8vw, 2.7rem);
  font-weight: 800;
  color: var(--navy);
  display: block;
  line-height: 1;
  letter-spacing: -.01em;
}

html[lang="ar"] .hero-stat b {
  font-family: 'Cairo', sans-serif;
}

.hero-stat:nth-child(2) b {
  color: var(--pumpkin);
}

.hero-stat .lbl {
  font-family: 'Archivo';
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 14px;
  display: block;
  font-weight: 700;
}

html[lang="ar"] .hero-stat .lbl {
  letter-spacing: 0;
  font-family: 'Cairo', sans-serif;
}

.hero-stat .desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--cadet-gray);
  margin-top: 9px;
  display: block;
  font-weight: 400;
}

.hero-stat b .u {
  color: inherit;
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ============ SECTION HEADINGS ============ */
.sec-head {
  max-width: 720px;
  margin-bottom: 64px;
}

html[dir="rtl"] .sec-head {
  text-align: right;
}

.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sec-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}

.sec-head p {
  font-size: 1.1rem;
  color: var(--onyx);
  font-weight: 400;
}

/* ============ ABOUT COMPANY (WHO WE ARE) ============ */
.who {
  background: var(--white);
  padding-top: 96px;
}

.who-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}

html[dir="rtl"] .who-text {
  text-align: right;
}

.who-text h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 26px;
}

.who-text p {
  color: var(--onyx);
  margin-bottom: 20px;
}

.who-text .lead {
  font-size: 1.18rem;
  color: var(--ink);
  font-weight: 500;
}

.timeline {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tl-item {
  display: flex;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

html[dir="rtl"] .tl-item {
  flex-direction: row;
}

.tl-year {
  font-family: 'Archivo';
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--pumpkin);
  flex: none;
  width: 84px;
}

html[lang="ar"] .tl-year {
  font-family: 'Cairo', sans-serif;
}

.tl-item .tl-body {
  flex: 1;
}

.tl-item .tl-body b {
  display: block;
  color: var(--navy);
  font-family: 'Archivo';
  font-weight: 700;
  margin-bottom: 2px;
}

html[lang="ar"] .tl-item .tl-body b {
  font-family: 'Cairo', sans-serif;
}

.tl-item .tl-body span {
  font-size: .95rem;
  color: var(--onyx);
}

.who-visual {
  position: relative;
}

.who-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%);
  border-radius: 6px;
  padding: 46px 40px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

html[dir="rtl"] .who-card {
  text-align: right;
}

.who-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.4), transparent 70%);
}

html[dir="rtl"] .who-card::before {
  right: auto;
  left: -60px;
}

.who-card h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
}

.who-card .mv {
  margin-bottom: 26px;
  position: relative;
}

.who-card .mv .lbl {
  font-family: 'Archivo';
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--peach);
  margin-bottom: 8px;
  display: block;
}

html[lang="ar"] .who-card .mv .lbl {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

.who-card .mv p {
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
}

.who-badge {
  position: absolute;
  bottom: -26px;
  left: -26px;
  background: var(--pumpkin);
  color: #fff;
  border-radius: 6px;
  padding: 22px 26px;
  box-shadow: var(--shadow-md);
}

html[dir="rtl"] .who-badge {
  left: auto;
  right: -26px;
}

.who-badge b {
  font-family: 'Archivo';
  font-size: 2.4rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}

html[lang="ar"] .who-badge b {
  font-family: 'Cairo', sans-serif;
}

.who-badge span {
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}

html[lang="ar"] .who-badge span {
  letter-spacing: 0;
}

/* ============ HIGHLIGHTS / STATS ============ */
.stats {
  position: relative;
  isolation: isolate;
  background: linear-gradient(160deg, #0E244C, #163C82);
  color: #fff;
  overflow: hidden;
}

/* QA fix #7: fixed-attachment CMS photo behind the existing navy gradient,
   topped with a flat (non-gradient) translucent navy overlay so the
   white text stays fully legible while the photo remains visible. */
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--section-bg-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.stats::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(14, 36, 76, .82);
}

.stats > .wrap {
  position: relative;
  z-index: 2;
}

@media (max-width: 760px) {
  /* iOS/Android browsers render background-attachment:fixed unreliably
     inside a scrolling page -- degrade gracefully, same reasoning as
     initHeroParallax() in main.js avoiding it for the hero image. */
  .stats::before { background-attachment: scroll; }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  padding: 8px 0;
}

html[dir="rtl"] .stat-card {
  text-align: right;
}

.stat-card .num {
  font-family: 'Archivo';
  font-size: clamp(2.6rem, 5vw, 3.9rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -.03em;
}

html[lang="ar"] .stat-card .num {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

.stat-card .num .u {
  color: var(--pumpkin);
}

.stat-card .lbl {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--cadet-gray);
  font-weight: 500;
  border-top: 2px solid rgba(249,115,22,.5);
  padding-top: 14px;
  display: inline-block;
}

/* ============ SERVICES SECTOR ============ */
.services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--paper);
}

/* QA fix #11: même traitement fond-fixe + overlay que .about/.stats. */
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--section-bg-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.services::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Client feedback: reduced from .92 so the background photo reads
     through more clearly (was washing it out almost completely). */
  background: rgba(245, 246, 248, .75);
}

.services > .wrap {
  position: relative;
  z-index: 2;
}

@media (max-width: 760px) {
  .services::before { background-attachment: scroll; }
}
.svc-block {
  margin-bottom: 80px;
}

.svc-block:last-child {
  margin-bottom: 0;
}

.svc-block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 22px;
  flex-wrap: wrap;
}

.svc-block-head .lhs {
  display: flex;
  align-items: center;
  gap: 22px;
}

.svc-icon-lg {
  width: 62px;
  height: 62px;
  border-radius: 4px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.svc-icon-lg svg {
  width: 32px;
  height: 32px;
  stroke: var(--pumpkin);
}

.svc-block-head h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.svc-block-head .svc-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  cursor: pointer;
  font-family: 'Archivo';
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--pumpkin);
  border: 1.5px solid rgba(249,115,22,.4);
  border-radius: 8px;
  padding: 11px 18px;
  white-space: nowrap;
  transition: .25s var(--ease);
}

.svc-block-head .svc-quote-btn:hover {
  background: var(--pumpkin);
  color: #fff;
  border-color: var(--pumpkin);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(249,115,22,.32);
}

.svc-block-head .svc-quote-btn svg {
  width: 16px;
  height: 16px;
}

html[lang="ar"] .svc-block-head .svc-quote-btn {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

/* QA fix #8 (révisé) : chaque catégorie de service (Vessel Handling /
   Logistics Solutions / Special Cargo) a sa photo CMS en fond fixe sur
   l'ENSEMBLE du bloc (en-tête + grille de cartes), pas seulement la
   bannière d'en-tête -- retour utilisateur explicite. Les cartes
   .svc-card gardent leur propre fond blanc opaque, donc restent
   parfaitement lisibles par-dessus. */
.svc-block--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  padding: 38px 34px 34px;
}

.svc-block--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--section-bg-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.svc-block--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(14, 36, 76, .74);
}

.svc-block--photo .svc-block-head,
.svc-block--photo .svc-grid {
  position: relative;
  z-index: 2;
}

.svc-block--photo .svc-block-head {
  border-bottom: none;
  align-items: center;
}

.svc-block--photo h3 {
  color: #fff;
}

.svc-block--photo .svc-icon-lg {
  background: rgba(255,255,255,.16);
}

.svc-block--photo .svc-quote-btn {
  color: #fff;
  border-color: rgba(255,255,255,.55);
}

.svc-block--photo .svc-quote-btn:hover {
  background: var(--pumpkin);
  color: #fff;
  border-color: var(--pumpkin);
}

@media (max-width: 760px) {
  .svc-block--photo::before { background-attachment: scroll; }
  .svc-block--photo { padding: 30px 22px 26px; }
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 28px 24px;
  transition: .35s var(--ease);
  position: relative;
  overflow: hidden;
}

html[dir="rtl"] .svc-card {
  text-align: right;
}

.svc-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--pumpkin);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}

html[dir="ltr"] .svc-card::after { transform-origin: left; }
html[dir="rtl"] .svc-card::after { transform-origin: right; }

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.svc-card:hover::after {
  transform: scaleX(1);
}

.svc-card .ico {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  background: var(--platinum);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: .35s;
}

html[dir="rtl"] .svc-card .ico {
  margin-left: auto;
  margin-right: 0;
}

.svc-card:hover .ico {
  background: var(--pumpkin);
}

.svc-card .ico svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
  transition: .35s;
}

.svc-card:hover .ico svg {
  stroke: #fff;
}

.svc-card h4 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  line-height: 1.2;
}

.svc-card p {
  font-size: .93rem;
  color: var(--onyx);
  font-weight: 400;
}

/* ============ WHY US SECTOR ============ */
.why {
  background: var(--paper);
}

.why-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.25fr;
  gap: 64px;
  align-items: start;
}

html[dir="rtl"] .why-intro {
  text-align: right;
}

.why-intro h2 {
  font-size: 2.5rem;
  line-height: 1.12;
  margin: 14px 0 24px;
}

.why-intro p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--onyx);
  font-weight: 400;
  margin-bottom: 18px;
  max-width: 30em;
}

/* Dark safety callout */
.why-safety {
  margin-top: 34px;
  background: var(--navy);
  border-radius: 12px;
  padding: 26px 28px;
}

.why-safety .ws-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.why-safety .ws-head svg {
  width: 26px;
  height: 26px;
  stroke: var(--pumpkin);
  flex: none;
}

.why-safety .ws-head b {
  font-family: 'Archivo';
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
}

html[lang="ar"] .why-safety .ws-head b {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

.why-safety p {
  font-size: .95rem;
  line-height: 1.65;
  color: rgba(255,255,255,.72);
  font-weight: 400;
  margin: 0;
}

/* Card grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.why-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 30px 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

html[dir="rtl"] .why-item {
  text-align: right;
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-item .wn {
  display: none;
}

.why-item .wi {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(249,115,22,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 22px;
}

html[dir="rtl"] .why-item .wi {
  margin-left: auto;
  margin-right: 0;
}

.why-item .wi svg {
  width: 25px;
  height: 25px;
  stroke: var(--pumpkin);
}

.why-item h4 {
  font-size: 1.16rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.why-item p {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--onyx);
  font-weight: 400;
}

/* ============ PORTS INFRASTRUCTURE ============ */
.ports {
  background: linear-gradient(165deg, #163C82, #1E4FA8);
  color: #fff;
  overflow: hidden;
}

.ports .sec-head h2, .ports .sec-head p {
  color: #fff;
}

.ports .sec-head p {
  color: rgba(255,255,255,.78);
}

.ports-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.port-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  overflow: hidden;
  transition: .4s var(--ease);
}

.port-card:hover {
  transform: translateY(-8px);
  border-color: rgba(249,115,22,.5);
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
}

.port-visual {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: #0E244C;
}

.port-visual svg {
  width: 100%;
  height: 100%;
}

.port-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--pumpkin);
  color: #fff;
  font-family: 'Archivo';
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 3px;
}

html[dir="rtl"] .port-tag {
  left: auto;
  right: 18px;
}

html[lang="ar"] .port-tag {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

.port-body {
  padding: 32px 30px;
}

html[dir="rtl"] .port-body {
  text-align: right;
}

.port-body h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.port-body p {
  color: rgba(255,255,255,.78);
  font-size: .98rem;
  margin-bottom: 22px;
  font-weight: 400;
}

.port-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

html[dir="rtl"] .port-feats {
  flex-direction: row;
  justify-content: flex-start;
}

.port-feats span {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 30px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.9);
}

/* ============ COMPANY VALUES ============ */
.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--paper);
}

/* QA fix #6: fixed-attachment CMS photo behind the section, topped with
   a flat (non-gradient), light, paper-tinted translucent overlay -- the
   photo stays subtly visible while every existing dark-text element in
   this section (eyebrow, headings, value cards, ethics module) keeps
   full legibility with zero color changes needed. */
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--section-bg-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.about::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(245, 246, 248, .92);
}

.about > .wrap {
  position: relative;
  z-index: 2;
}

@media (max-width: 760px) {
  /* Same mobile-reliability fallback as .stats::before above. */
  .about::before { background-attachment: scroll; }
}

.values-head {
  text-align: center;
  margin-bottom: 40px;
}

.values-head h3 {
  font-size: 1.9rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.value-card {
  background: #fff;
  border-radius: 6px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: .35s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.value-card .vi {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--platinum);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.value-card .vi svg {
  width: 25px;
  height: 25px;
  stroke: var(--navy);
}

.value-card b {
  font-family: 'Archivo';
  font-size: 1.02rem;
  color: var(--navy);
  display: block;
}

html[lang="ar"] .value-card b {
  font-family: 'Cairo', sans-serif;
}

.value-card .vd {
  display: block;
  margin-top: 9px;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--onyx);
  font-weight: 400;
}

.eth-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.eth-chips span {
  font-family: 'Archivo';
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  padding: 7px 14px;
  border-radius: 999px;
}

html[lang="ar"] .eth-chips span {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

/* Ethics & Compliance section */
.ethics {
  margin-top: 48px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 54px 50px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 38px;
  align-items: center;
}

html[dir="rtl"] .ethics {
  grid-template-columns: 1fr auto;
  text-align: right;
}

.ethics .ei {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: rgba(249,115,22,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

html[dir="rtl"] .ethics .ei {
  grid-column: 2;
}

html[dir="rtl"] .ethics div {
  grid-column: 1;
}

.ethics .ei svg {
  width: 42px;
  height: 42px;
  stroke: var(--pumpkin);
}

.ethics h3 {
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.ethics p {
  color: rgba(255,255,255,.82);
  font-weight: 400;
  margin: 0;
}

/* ============ CAREERS SECTOR ============ */
.careers {
  background: #fff;
  overflow: hidden;
}

.careers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

html[dir="rtl"] .careers-text {
  text-align: right;
}

.careers-text h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 22px;
}

.careers-text p {
  color: var(--onyx);
  margin-bottom: 30px;
}

.career-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.career-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 500;
}

.career-points li svg {
  width: 22px;
  height: 22px;
  stroke: var(--pumpkin);
  flex: none;
  margin-top: 3px;
}

.careers-visual {
  background: linear-gradient(160deg, var(--navy), var(--navy-3));
  border-radius: 8px;
  padding: 50px 44px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

html[dir="rtl"] .careers-visual {
  text-align: right;
}

.careers-visual::before {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77,143,213,.4), transparent 70%);
}

html[dir="rtl"] .careers-visual::before {
  right: auto;
  left: -80px;
}

.careers-visual .big {
  font-family: 'Archivo';
  font-weight: 900;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.1;
  position: relative;
}

html[lang="ar"] .careers-visual .big {
  font-family: 'Cairo', sans-serif;
  line-height: 1.3;
}

.careers-visual .big .u {
  color: var(--pumpkin);
}

.careers-visual p {
  color: rgba(255,255,255,.84);
  margin: 18px 0 30px;
  position: relative;
}

/* ============ INSIGHTS / NEWS ============ */
.news {
  background: var(--paper);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.news-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: .4s var(--ease);
  cursor: pointer;
}

html[dir="rtl"] .news-card {
  text-align: right;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.news-img {
  height: 185px;
  position: relative;
  overflow: hidden;
}

.news-img svg {
  width: 100%;
  height: 100%;
}

.news-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--white);
  color: var(--navy);
  font-family: 'Archivo';
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 3px;
}

html[dir="rtl"] .news-cat {
  left: auto;
  right: 16px;
}

html[lang="ar"] .news-cat {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

.news-body {
  padding: 26px 26px 30px;
}

.news-date {
  font-size: 13px;
  color: var(--cadet-gray);
  font-weight: 600;
  letter-spacing: .05em;
}

html[lang="ar"] .news-date {
  letter-spacing: 0;
}

.news-body h4 {
  font-size: 1.18rem;
  margin: 10px 0 12px;
  line-height: 1.25;
}

.news-body p {
  font-size: .94rem;
  color: var(--onyx);
  font-weight: 400;
  margin-bottom: 18px;
}

.news-link {
  font-family: 'Archivo';
  font-weight: 700;
  font-size: 14px;
  color: var(--pumpkin);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

html[lang="ar"] .news-link {
  font-family: 'Cairo', sans-serif;
}

.news-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--pumpkin);
  transition: transform .3s;
}

html[dir="ltr"] .news-card:hover .news-link svg { transform: translateX(4px); }
html[dir="rtl"] .news-card:hover .news-link svg { transform: translateX(-4px); }

/* ============ CALL TO ACTION BAND ============ */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--pumpkin);
  color: #fff;
  text-align: center;
  padding: 90px 0;
}

/* QA fix #9 (finalized): fixed-attachment CMS photo behind the band, topped
   with a flat (non-gradient) translucent orange overlay derived from the
   existing --pumpkin brand color, so the white heading/text/button keep
   full contrast while the photo remains visible underneath. */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--section-bg-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(249, 115, 22, .82);
}

.cta-band > .wrap {
  position: relative;
  z-index: 2;
}

@media (max-width: 760px) {
  .cta-band::before { background-attachment: scroll; }
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

.cta-band p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.92);
  max-width: 640px;
  margin: 0 auto 34px;
  font-weight: 400;
}

.cta-band .btn-white {
  background: #fff;
  color: var(--navy);
}

.cta-band .btn-white:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

/* ============ CONTACT PORTAL ============ */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  grid-template-areas: "info form";
  gap: 64px;
  align-items: start;
}

.contact-info {
  grid-area: info;
}

.contact-form {
  grid-area: form;
}

html[dir="rtl"] .contact-grid {
  grid-template-areas: "form info";
  grid-template-columns: 1.1fr 1fr;
}

html[dir="rtl"] .contact-info {
  text-align: right;
}

.contact-info h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: 18px;
}

.contact-info > p {
  color: var(--onyx);
  margin-bottom: 36px;
}

.office {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

html[dir="rtl"] .office {
  flex-direction: row;
}

.office .oi {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.office .oi svg {
  width: 23px;
  height: 23px;
  stroke: var(--pumpkin);
}

/* QA: office address icons replaced with real, CMS-editable photos */
.office .oi.oi-photo {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
}

.office .oi.oi-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.office b {
  font-family: 'Archivo';
  font-size: 1.15rem;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}

html[lang="ar"] .office b {
  font-family: 'Cairo', sans-serif;
}

.office span {
  display: block;
  font-size: .95rem;
  color: var(--onyx);
}

.office a {
  color: var(--cornflower-blue);
  font-weight: 600;
}

/* Form structure */
.contact-form {
  background: var(--paper);
  border-radius: 8px;
  padding: 44px 42px;
  box-shadow: var(--shadow-sm);
}

html[dir="rtl"] .contact-form {
  text-align: right;
}

.contact-form h3 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.contact-form .form-sub {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--cadet-gray);
  font-weight: 400;
  margin-bottom: 28px;
  max-width: 40em;
}

.field label {
  display: block;
  font-family: 'Archivo';
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(30,79,168,.55);
  margin-bottom: 9px;
}

html[lang="ar"] .field label {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  font-family: 'Manrope';
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: .25s;
}

html[lang="ar"] .field input, 
html[lang="ar"] .field textarea, 
html[lang="ar"] .field select {
  font-family: 'Cairo', sans-serif;
}

.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--pumpkin);
  box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  margin-bottom: 20px;
}

.btn-quote {
  width: 100%;
  justify-content: center;
  background: var(--pumpkin);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 18px 24px;
  border-radius: 6px;
  margin-top: 6px;
  box-shadow: 0 10px 30px rgba(249,115,22,.32);
}

.btn-quote:hover {
  background: #CC5E12;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--cadet-gray);
  cursor: pointer;
}

.form-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex: none;
  accent-color: var(--denim-blue);
  cursor: pointer;
}

.form-consent a {
  color: var(--denim-blue);
  font-weight: 600;
  text-decoration: underline;
}

html[dir="rtl"] .form-consent {
  flex-direction: row-reverse;
  text-align: right;
}

.form-msg {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
}

.form-msg.show {
  display: block;
  background: rgba(30,79,168,.1);
  color: var(--navy);
  border: 1px solid rgba(30,79,168,.3);
}

.maps-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.map-box {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

/* QA fix #18: genuine Google Maps iframe embed (Settings > Locations &
   Maps controls the src). Replaces the old Leaflet preview + external
   link -- the map itself is now fully interactive in place. */
.map-embed {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.map-box .cap {
  padding: 12px 16px;
  background: #fff;
  font-family: 'Archivo';
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  letter-spacing: .05em;
}

html[lang="ar"] .map-box .cap {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

/* ============ FOOTER SECTION ============ */
footer {
  background: #0E244C;
  color: #fff;
  padding: 80px 0 0;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

html[dir="rtl"] .foot-brand,
html[dir="rtl"] .foot-col {
  text-align: right;
}

.foot-brand .brand {
  margin-bottom: 20px;
}

html[dir="rtl"] .foot-brand .brand {
  justify-content: flex-start;
}

.foot-brand p {
  color: var(--cadet-gray);
  font-size: .95rem;
  max-width: 300px;
  font-weight: 400;
}

.foot-col h5 {
  font-family: 'Archivo';
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--peach);
  margin-bottom: 20px;
  font-weight: 700;
}

html[lang="ar"] .foot-col h5 {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foot-col a {
  color: var(--cadet-gray);
  font-size: .95rem;
  transition: .25s;
}

.foot-col a:hover {
  color: #fff;
}

html[dir="ltr"] .foot-col a:hover { padding-left: 4px; }
html[dir="rtl"] .foot-col a:hover { padding-right: 4px; }

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  flex-wrap: wrap;
  gap: 14px;
}

html[dir="rtl"] .foot-bottom {
  flex-direction: row-reverse;
}

.foot-bottom p {
  color: var(--cadet-gray);
  font-size: .88rem;
}

.foot-social {
  display: flex;
  gap: 12px;
}

.foot-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
}

.foot-social a:hover {
  background: var(--pumpkin);
  border-color: var(--pumpkin);
}

.foot-social svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
}

/* ============ FLOATING ILLUSTRATIVE ANIMATIONS ============ */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(40px); }
}

.f-ship { animation: float-y 7s ease-in-out infinite; }
.f-cloud { animation: drift 22s linear infinite alternate; }

/* ============ RESPONSIVE LAYOUTS ============ */
@media(max-width:1024px) {
  .who-grid, .careers-grid { grid-template-columns: 1fr; gap: 54px; }
  .contact-grid,
  html[dir="rtl"] .contact-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "info" "form";
    gap: 54px;
  }
  .why-layout { grid-template-columns: 1fr; gap: 44px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
  .who-badge { position: static; display: inline-block; margin-top: 26px; }
}

@media(max-width:760px) {
  body { font-size: 16px; }
  .section-pad { padding: 80px 0; }
  
  .nav-links {
    position: fixed;
    top: 0;
    width: 78%;
    max-width: 340px;
    height: 100vh;
    background: var(--white);
    flex-direction: column !important;
    align-items: flex-start;
    justify-content: flex-start !important;
    gap: 2px !important;
    padding: 110px 32px 40px;
    overflow-y: auto;
    transition: right .4s var(--ease), left .4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.1);
    z-index: 1050;
    border-left: 1px solid rgba(30,79,168,.08);
  }
  
  /* LTR menu state */
  html[dir="ltr"] .nav-links {
    right: -100%;
    left: auto;
  }
  html[dir="ltr"] body.menu-open .nav-links {
    right: 0;
  }
  
  /* RTL menu state */
  html[dir="rtl"] .nav-links {
    left: -100%;
    right: auto;
    align-items: flex-start;
    box-shadow: 20px 0 60px rgba(0,0,0,0.1);
    border-left: none;
    border-right: 1px solid rgba(30,79,168,.08);
  }
  html[dir="rtl"] body.menu-open .nav-links {
    left: 0;
  }
  
  .nav-links a { width: 100%; display: block; font-size: 17px; line-height: 1.2 !important; padding: 9px 0 !important; margin: 0 !important; text-align: left; }
  html[dir="rtl"] .nav-links a { text-align: right; }

  /* Desktop dropdown panels are hidden on mobile -- the top-level links
     above act as plain anchors, keeping the mobile menu compact (Fix #3). */
  .nav-item.has-dropdown .nav-dropdown { display: none; }
  .nav-item.has-dropdown::after { display: none; }
  .nav-item.has-dropdown > a { justify-content: flex-start; gap: 8px; }
  .nav-caret { display: none; }
  
  .lang-segmented {
    margin: 15px 0;
    width: 100%;
    justify-content: space-between;
  }
  
  .nav-cta { margin: 18px 0 0; width: 100%; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  
  .burger { display: flex; }
  
  .hero-bar { position: static; transform: none; width: auto; margin: 44px 0 0; box-shadow: var(--shadow-md); }
  .hero-bar .wrap { grid-template-columns: 1fr 1fr; }
  .hero-stat { border-bottom: 1px solid var(--line); }
  
  html[dir="ltr"] .hero-stat { border-right: 1px solid var(--line); }
  html[dir="ltr"] .hero-stat:nth-child(2) { border-right: none; }
  html[dir="ltr"] .hero-stat:nth-child(3) { border-bottom: none; }
  html[dir="ltr"] .hero-stat:nth-child(4) { border-bottom: none; }
  
  html[dir="rtl"] .hero-stat { border-left: 1px solid var(--line); }
  html[dir="rtl"] .hero-stat:nth-child(2) { border-left: none; }
  html[dir="rtl"] .hero-stat:nth-child(3) { border-bottom: none; }
  html[dir="rtl"] .hero-stat:nth-child(4) { border-bottom: none; }
  
  .ports-grid, .maps-row, .field-row { grid-template-columns: 1fr; }
  .svc-grid, .why-grid, .news-grid, .values-grid { grid-template-columns: 1fr; }
  
  .ethics { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; }
  .ethics .ei { margin: 0 auto; }
  html[dir="rtl"] .ethics .ei { grid-column: 1; }
  html[dir="rtl"] .ethics div { grid-column: 1; }
  
  .careers-visual, .contact-form { padding: 34px 26px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero { padding: 120px 0 90px; }
  .who { padding-top: 80px; }
}

@media(max-width:460px) {
  .foot-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   PRO MAX ADD-ONS
   Hero parallax image · real value icons · Golden Rules lightbox ·
   per-service quote triggers · Leaflet dark maps
   ============================================================ */

/* ---- Hero parallax image layer (replaces inline SVG illustration) ---- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--navy-3);
}

.hero-bg-img {
  position: absolute;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  /* QA fix #1: shifted up 25px (vs. the original "center 35%") so more
     of the lower part of the source photo is revealed. Kept as a calc()
     so it stays anchored to the same percentage-based reference point
     used by the parallax transform in main.js (initHeroParallax). */
  object-position: center calc(35% - 25px);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-img { transform: none !important; }
}

/* ---- Value icons: real PNG fades in over the SVG fallback ---- */
.value-card .vi {
  position: relative;
  overflow: hidden;
}

.value-card .vi .vi-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 11px;
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.value-card .vi.has-img svg {
  opacity: 0;
}

.value-card .vi.has-img .vi-img {
  opacity: 1;
}

/* ---- Per-service "Request a quote" mini trigger inside svc-card ---- */
.svc-card {
  display: flex;
  flex-direction: column;
}

.svc-card p {
  flex: 1;
}

.svc-card-quote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 0;
  background: none;
  border: none;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--denim-blue);
  cursor: pointer;
  transition: gap .25s var(--ease), color .25s var(--ease);
}

.svc-card-quote svg {
  width: 14px;
  height: 14px;
  transition: transform .25s var(--ease);
}

.svc-card-quote:hover {
  color: var(--pumpkin);
  gap: 10px;
}

html[dir="rtl"] .svc-card-quote svg {
  transform: scaleX(-1);
}

html[lang="ar"] .svc-card-quote {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

/* Brief flash highlight on the contact form's service select after a quote click */
#service.flash {
  animation: serviceFlash 1.2s var(--ease);
}

@keyframes serviceFlash {
  0%   { box-shadow: 0 0 0 0 rgba(249,115,22,.55); }
  30%  { box-shadow: 0 0 0 5px rgba(249,115,22,.28); }
  100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}

/* ---- Golden Rules poster module (sits inside the Ethics block) ---- */
.poster-module {
  margin-top: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

html[dir="rtl"] .poster-module {
  text-align: right;
}

.poster-trigger {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.poster-trigger img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--ease);
}

.poster-trigger-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,44,97,.55);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.poster-trigger-zoom svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
}

.poster-trigger:hover img,
.poster-trigger:focus-visible img {
  transform: scale(1.06);
}

.poster-trigger:hover .poster-trigger-zoom,
.poster-trigger:focus-visible .poster-trigger-zoom {
  opacity: 1;
}

.poster-trigger:focus-visible {
  outline: 3px solid var(--pumpkin);
  outline-offset: 2px;
}

.poster-copy .poster-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pumpkin);
  margin-bottom: 10px;
}

.poster-copy h3 {
  font-size: 1.32rem;
  margin-bottom: 10px;
}

.poster-copy p {
  font-size: .94rem;
  line-height: 1.65;
  color: var(--onyx);
  font-weight: 400;
  margin-bottom: 18px;
  max-width: 46em;
}

.poster-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pumpkin);
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 6px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .03em;
  cursor: pointer;
  transition: .3s var(--ease);
}

.poster-cta svg {
  width: 17px;
  height: 17px;
}

.poster-cta:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

html[dir="rtl"] .poster-cta svg {
  transform: scaleX(-1);
}

html[lang="ar"] .poster-copy .poster-eyebrow,
html[lang="ar"] .poster-cta {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

@media (max-width: 720px) {
  .poster-module {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px;
  }
  .poster-trigger {
    max-width: 220px;
    margin: 0 auto;
  }
}

/* ---- Accessible lightbox (Golden Rules poster) ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,44,97,.82);
  backdrop-filter: blur(5px);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  padding: 22px 22px 26px;
  max-width: min(560px, 92vw);
  max-height: 90vh;
  overflow: auto;
  box-shadow: var(--shadow-lg);
  animation: lightboxIn .25s var(--ease);
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(.96) translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.lightbox-panel img {
  width: 100%;
  border-radius: 8px;
  display: block;
  margin-bottom: 18px;
}

/* ---- Services "Learn more" modals: text content variant ---- */
.lightbox-panel--text {
  padding: 38px 34px 34px;
  max-width: min(620px, 92vw);
  text-align: left;
}

html[dir="rtl"] .lightbox-panel--text {
  text-align: right;
}

.lightbox-panel--text h3 {
  font-size: 1.5rem;
  margin: 4px 0 16px;
}

.svc-modal-desc {
  font-size: .98rem;
  line-height: 1.7;
  color: var(--cadet-gray);
  margin-bottom: 22px;
}

.svc-modal-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.svc-modal-list--cols {
  grid-template-columns: repeat(2, 1fr);
}

.svc-modal-list li {
  position: relative;
  padding-left: 22px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
}

html[dir="rtl"] .svc-modal-list li {
  padding-left: 0;
  padding-right: 22px;
}

.svc-modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pumpkin);
}

html[dir="rtl"] .svc-modal-list li::before {
  left: auto;
  right: 0;
}

.svc-modal-cta {
  width: 100%;
  justify-content: center;
}

@media (max-width: 600px) {
  .lightbox-panel--text { padding: 30px 22px 26px; }
  .svc-modal-list--cols { grid-template-columns: 1fr; }
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .25s var(--ease);
}

html[dir="rtl"] .lightbox-close {
  right: auto;
  left: 12px;
}

.lightbox-close:hover {
  background: var(--pumpkin);
  border-color: var(--pumpkin);
}

.lightbox-close svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy);
}

.lightbox-close:hover svg {
  stroke: #fff;
}

.lightbox-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--denim-blue);
}

.lightbox-download svg {
  width: 16px;
  height: 16px;
}

html[lang="ar"] .lightbox-download {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .poster-module { grid-template-columns: 1fr; }
}

/* ============================================================
   FEEDBACK 2 ADD-ONS
   Preloader · hero overlap fix (see .hero / .hero-bar above) ·
   media-library scroll reveals · footer logo treatment
   ============================================================ */

/* ---- Accessibility utility ---- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---- Full-screen branded preloader ----
   Layout/positioning/sizing/fade-out now live in the inline <style> block
   in <head> (critical CSS, always applies on first paint). Below: purely
   decorative additions layered on top — the logo pulse + progress bar. */
.preloader-logo {
  animation: preloaderPulse 1.7s ease-in-out infinite;
}

.preloader-bar {
  width: 120px;
  height: 3px;
  border-radius: 3px;
  background: rgba(30,79,168,.12);
  overflow: hidden;
  position: relative;
}

.preloader-bar::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  border-radius: 3px;
  background: var(--pumpkin);
  animation: preloaderSlide 1.15s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1);    opacity: 1;   }
  50%      { transform: scale(1.045); opacity: .85; }
}

@keyframes preloaderSlide {
  0%   { left: -40%; }
  50%  { left: 30%;  }
  100% { left: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .preloader-logo { animation: none; }
  .preloader-bar::after { animation: none; left: 0; width: 100%; }
}

/* ---- Media-library scroll reveal (photos: fade + gentle zoom-out) ---- */
.img-reveal {
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  will-change: opacity, transform;
  overflow: hidden;
  border-radius: 10px;
}

.img-reveal.in {
  opacity: 1;
  transform: scale(1);
}

.img-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .img-reveal { opacity: 1; transform: none; transition: none; }
  .img-reveal img { transition: none; }
  .img-reveal:hover img { transform: none; }
}

/* ---- About section: stacked photo above the mission/vision card ---- */
.who-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.who-photo {
  box-shadow: var(--shadow-md);
}

/* QA fix #4: the generic .img-reveal radius (10px) was visibly rounder
   than the adjacent .who-card (6px). Pin this specific photo to match
   exactly, without touching .img-reveal globally (also used by the
   services per-block banners, which keep their own radius). */
.who-photo.img-reveal {
  border-radius: 6px;
}

.who-photo img {
  height: 320px;
}

@media (max-width: 760px) {
  .who-photo img { height: 240px; }
}

/* ---- Footer logo (FIX): the previous brightness(0)+invert(1) trick turned
   the logo white to read on the dark footer -- but it also turns every
   fully-opaque pixel in the source PNG (the "Member of XLP" sub-badge is
   an opaque rectangle, not a transparent one) into a plain white block,
   which is the "white square" artifact reported in QA. Correct fix: drop
   the filter entirely and show the logo in its real brand colors inside a
   small white rounded card, which reads cleanly on the dark footer
   regardless of what the source PNG contains. */
.foot-brand-link {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 10px 18px;
  width: fit-content;
}

.footer-logo-img {
  display: block;
  width: auto;
  max-width: 180px;
  height: auto;
  object-fit: contain;
  background-color: transparent;
}

@media (max-width: 600px) {
  .footer-logo-img { max-width: 150px; }
}

.foot-bottom-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

html[dir="rtl"] .foot-bottom-right {
  flex-direction: row-reverse;
}

.foot-admin-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.36);
  letter-spacing: .01em;
  white-space: nowrap;
  transition: color .25s var(--ease);
}

.foot-admin-link svg {
  display: inline-block !important;
  width: 13px !important;
  height: 13px !important;
  flex: none;
  opacity: .8;
}

.foot-admin-link:hover {
  color: rgba(255,255,255,.85);
}

/* ---- Quote form: AJAX error state + loading state (Phase 3) ---- */
.form-msg.show.error {
  background: rgba(220,38,38,.08);
  color: #B42318;
  border: 1px solid rgba(220,38,38,.25);
}

.btn-quote.is-loading {
  opacity: .7;
  cursor: wait;
  pointer-events: none;
}

/* ============================================================
   FEEDBACK 3 ADD-ONS — Floating WhatsApp widget
   Uses WhatsApp's own recognized green (#25D366), a deliberate
   exception to the 5-color brand palette — like any third-party
   platform badge, recognizability matters more than brand-matching.
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15,44,97,.28);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.whatsapp-float svg {
  width: 36px;
  height: 36px;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 40px rgba(15,44,97,.38);
}

html[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 20px;
}

@media (max-width: 600px) {
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  html[dir="rtl"] .whatsapp-float { left: 16px; }
  .whatsapp-float svg { width: 32px; height: 32px; }
}

/* ============ COOKIE / CONSENT BANNER ============ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 400;
  background: var(--navy-3);
  box-shadow: 0 -10px 40px rgba(0,0,0,.25);
  transform: translateY(100%);
  transition: transform .35s var(--ease);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-inner p {
  flex: 1;
  min-width: 240px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  margin: 0;
}

.cookie-banner-inner p a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.cookie-banner-actions button {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
  padding: 11px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: .25s var(--ease);
  white-space: nowrap;
}

#cookieRejectBtn {
  background: transparent;
  color: rgba(255,255,255,.78);
  border: 1.5px solid rgba(255,255,255,.28);
}

#cookieRejectBtn:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.btn-primary-cookie {
  background: var(--pumpkin);
  color: #fff;
  border: none;
}

.btn-primary-cookie:hover {
  background: #CC5E12;
  transform: translateY(-1px);
}

html[dir="rtl"] .cookie-banner-inner {
  flex-direction: row-reverse;
}

@media (max-width: 700px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 22px;
  }
  .cookie-banner-actions {
    justify-content: stretch;
  }
  .cookie-banner-actions button {
    flex: 1;
  }
}



