/* ============================================================
   SNA — Saudi Nexus Alliance
   style.css · v3 professional rebuild
   Palette matched to the SNA logo (navy letters, green check).
   ============================================================ */

:root {
  /* Brand */
  --navy:        #1E3C7B;
  --navy-deep:   #142B5C;
  --navy-ink:    #0A1631;
  --navy-ink-2:  #0D1C3F;
  --green:       #76B843;
  --green-hi:    #8ECB5E;
  --green-deep:  #5E9A32;

  /* Neutrals */
  --white:       #FFFFFF;
  --off:         #F5F7FB;
  --text:        #1B2437;
  --text-dim:    #5C6678;
  --text-inv:    #F2F6FD;
  --text-inv-dim:#AAB9D6;
  --text-faint:  #7383A3;

  --line:        rgba(30, 60, 123, 0.13);
  --line-inv:    rgba(255, 255, 255, 0.13);

  /* Type */
  --font-display: 'Archivo', sans-serif;
  --font-body:    'IBM Plex Sans', sans-serif;

  /* Layout */
  --topbar-h: 84px;
  --pad-x: clamp(20px, 4.5vw, 64px);
  --max-w: 1240px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-1: 0 10px 30px rgba(10, 22, 49, 0.10);
  --shadow-2: 0 22px 55px rgba(10, 22, 49, 0.18);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Arabic pages: swap to the Arabic cut of IBM Plex */
html[lang="ar"] {
  --font-display: 'IBM Plex Sans Arabic', sans-serif;
  --font-body:    'IBM Plex Sans Arabic', sans-serif;
}
[dir="rtl"] .eyebrow,
[dir="rtl"] .btn,
[dir="rtl"] .topbar__nav a,
[dir="rtl"] .gate__num,
[dir="rtl"] .footer__col-title { letter-spacing: 0; }

/* ============ BASE ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--green); color: #fff; }

.skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

/* Anchor targets clear the fixed header */
section[id] { scroll-margin-top: calc(var(--topbar-h) - 4px); }

/* Eyebrow with keyline */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--green);
  flex-shrink: 0;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { flex-shrink: 0; }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 10px 26px rgba(118,184,67,.35); }
.btn--green:hover { background: var(--green-hi); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(118,184,67,.45); }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 10px 26px rgba(30,60,123,.30); }
.btn--navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ============ SCROLL PROGRESS ============ */
.progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--green-hi));
  z-index: 300;
  pointer-events: none;
}

/* ============ TOP BAR ============ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--pad-x);
  background: transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.topbar__logo { display: flex; align-items: center; flex-shrink: 0; }
.topbar__logo img {
  height: 38px;
  width: auto;
  transition: height .35s var(--ease);
}
/* Two logo files: white letters + green check over the dark hero, full-colour on the white scrolled bar */
.topbar__logo .logo--dark { display: none; }
.topbar.is-scrolled .topbar__logo .logo--light { display: none; }
.topbar.is-scrolled .topbar__logo .logo--dark { display: block; }

.topbar__nav { display: flex; align-items: center; gap: 30px; }
.topbar__nav a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  position: relative;
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.topbar__nav a::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--ease);
}
[dir="rtl"] .topbar__nav a::after { transform-origin: right center; }
.topbar__nav a:hover, .topbar__nav a.is-active { color: #fff; }
.topbar__nav a:hover::after, .topbar__nav a.is-active::after { transform: scaleX(1); }

.topbar__back {
  border: 1.5px solid rgba(255,255,255,.35);
  padding: 9px 20px !important;
  border-radius: 999px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.topbar__back::after { display: none; }
.topbar__back:hover { border-color: var(--green); background: rgba(118,184,67,.14); }

/* Language switch */
.lang-switch { display: inline-flex; align-items: center; gap: 5px; }
.lang-switch a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.8);
  border: 1.5px solid rgba(255,255,255,.28);
  padding: 6px 14px;
  border-radius: 999px;
  line-height: 1;
  transition: all .22s var(--ease);
}
.lang-switch a::after { display: none; }
.lang-switch a:hover { border-color: var(--green); color: var(--green-hi); }
.lang-switch a.is-active { background: var(--green); border-color: var(--green); color: #fff; }

/* Scrolled state: solid white */
.topbar.is-scrolled {
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(10,22,49,.08);
}
.topbar.is-scrolled .topbar__nav a { color: var(--navy); }
.topbar.is-scrolled .topbar__nav a:hover,
.topbar.is-scrolled .topbar__nav a.is-active { color: var(--green-deep); }
.topbar.is-scrolled .topbar__back { border-color: var(--line); }
.topbar.is-scrolled .topbar__back:hover { border-color: var(--green); background: rgba(118,184,67,.08); }
.topbar.is-scrolled .lang-switch a { color: var(--navy); border-color: var(--line); }
.topbar.is-scrolled .lang-switch a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.topbar.is-scrolled .lang-switch a:hover { border-color: var(--green); color: var(--green-deep); }

/* Burger */
.topbar__burger {
  display: none;
  background: none;
  border: none;
  width: 44px; height: 44px;
  position: relative;
  z-index: 320;
}
.topbar__burger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  margin: 5px auto;
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}
.topbar.is-scrolled .topbar__burger span { background: var(--navy); }
body.nav-open .topbar__burger span { background: #fff; }
body.nav-open .topbar__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .topbar__burger span:nth-child(2) { opacity: 0; }
body.nav-open .topbar__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   GATEWAY LANDING
   ============================================================ */
body.gateway {
  background: var(--navy-ink);
  height: 100vh; height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.gateway-intro {
  flex-shrink: 0;
  text-align: center;
  padding: 34px var(--pad-x) 26px;
  color: var(--text-inv);
}
.gateway-intro__brand { margin: 0; line-height: 0; }
.gateway-intro__logo {
  height: clamp(120px, 18vw, 210px);
  width: auto;
  margin: 0 auto 4px;
}
.gateway-intro__tagline {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-inv-dim);
}
[dir="rtl"] .gateway-intro__tagline { letter-spacing: 0; }
.gateway-intro__lang { justify-content: center; margin-top: 16px; }

.gates {
  flex: 1;
  min-height: 0;
  display: flex;
}
.gate {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--navy-ink-2);
  border-inline-end: 1px solid var(--line-inv);
  flex: 1;
  transition: flex .6s var(--ease);
  opacity: 0;
  transform: translateY(26px);
  animation: gateIn .8s var(--ease) forwards;
}
.gate:nth-child(1) { animation-delay: .1s; }
.gate:nth-child(2) { animation-delay: .22s; }
.gate:nth-child(3) { animation-delay: .34s; }
@keyframes gateIn { to { opacity: 1; transform: none; } }
.gate:last-child { border-inline-end: none; }

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

.gate__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(10, 22, 49, 0.94) 0%,
    rgba(10, 22, 49, 0.42) 46%,
    rgba(10, 22, 49, 0.20) 100%);
  transition: background .45s var(--ease);
}
.gate:hover .gate__overlay {
  background: linear-gradient(to top,
    rgba(13, 28, 63, 0.96) 0%,
    rgba(13, 28, 63, 0.50) 46%,
    rgba(118, 184, 67, 0.14) 100%);
}

.gate__content { position: relative; z-index: 2; padding: 44px 42px 52px; width: 100%; }
.gate__num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green-hi);
}
.gate__num::before { content: ''; width: 26px; height: 2px; background: var(--green); }
.gate__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.2vw, 50px);
  color: #fff;
  letter-spacing: -0.01em;
  margin: 12px 0 6px;
}
.gate__desc { font-size: 15px; color: var(--text-inv-dim); margin-bottom: 24px; }
.gate__enter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 2px solid var(--green);
  padding-bottom: 5px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gate:hover .gate__enter, .gate:focus-visible .gate__enter { opacity: 1; transform: none; }

.gate::before {
  content: '';
  position: absolute;
  top: 0; inset-inline-start: 0;
  height: 4px; width: 0;
  background: var(--green);
  z-index: 3;
  transition: width .5s var(--ease);
}
.gate:hover::before { width: 100%; }

/* --- Gateway footer --- */
.gateway-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--line-inv);
  background: var(--navy-ink);
  color: var(--text-inv-dim);
}
.gateway-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
}
.gateway-footer__info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.gateway-footer__info a { transition: color .2s var(--ease); }
.gateway-footer__info a:hover { color: var(--green-hi); }
.gateway-footer .footer__social { gap: 8px; }
.gateway-footer .footer__social a { width: 32px; height: 32px; }
.gateway-footer .footer__social a svg { width: 14px; height: 14px; }
.gateway-footer__copy { color: var(--text-faint); }

/* ============================================================
   SECTOR PAGES
   ============================================================ */

/* --- Hero --- */
.page-hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy-ink);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  overflow: hidden;
  background:
    radial-gradient(720px 560px at 74% 46%, rgba(118,184,67,.13), transparent 62%),
    radial-gradient(900px 620px at 18% 18%, rgba(30,60,123,.55), transparent 65%),
    linear-gradient(160deg, var(--navy-ink) 0%, var(--navy-deep) 120%);
}
.page-hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(75% 70% at 60% 45%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 70% at 60% 45%, #000 30%, transparent 100%);
}
[dir="rtl"] .page-hero__bg {
  background:
    radial-gradient(720px 560px at 26% 46%, rgba(118,184,67,.13), transparent 62%),
    radial-gradient(900px 620px at 82% 18%, rgba(30,60,123,.55), transparent 65%),
    linear-gradient(-160deg, var(--navy-ink) 0%, var(--navy-deep) 120%);
}
/* Blurred sector image behind the hero */
.page-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  filter: blur(7px) brightness(.6) saturate(.95);
  opacity: .55;
}
.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: calc(var(--topbar-h) + 40px) var(--pad-x) 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-hero__text { max-width: 840px; }
.page-hero__content .eyebrow { color: var(--green-hi); }
.page-hero__content .eyebrow::after {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--green);
  flex-shrink: 0;
}
.page-hero__content h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1.06;
  color: #fff;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}
.page-hero__sub {
  font-size: clamp(16px, 1.4vw, 18.5px);
  color: var(--text-inv-dim);
  max-width: 620px;
  margin: 0 auto 38px;
}
.page-hero__cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* Pillars strip pinned to hero bottom */
.page-hero__pillars {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-inv);
  background: rgba(10, 22, 49, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.page-hero__pillars-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-inv);
}
.pillar svg { flex-shrink: 0; color: var(--green-hi); }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 96px;
  inset-inline-end: var(--pad-x);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.6);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.scroll-cue::after {
  content: '';
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: cueDrop 1.8s var(--ease) infinite;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Blocks --- */
.block { padding: clamp(78px, 9vw, 120px) 0; }
.block--alt { background: var(--off); }
.block__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.block__inner--center { text-align: center; }
.block__inner--center .eyebrow { justify-content: center; }
.block h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 46px);
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 760px;
}
.block__inner--center h2 { margin-inline: auto; }
.block__text { font-size: 17px; color: var(--text-dim); max-width: 700px; }
.block__inner--center .block__text { margin: 0 auto 40px; }

/* --- About: two-column with value cards --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.about-grid .block__text { margin-bottom: 0; }
.mvv { display: flex; flex-direction: column; gap: 18px; }
.mvv__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mvv__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.mvv__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(118,184,67,.12);
  color: var(--green-deep);
}
.mvv__item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 6px;
}
.mvv__item p { font-size: 14.5px; color: var(--text-dim); line-height: 1.65; }

/* --- Service cards --- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card::after {
  content: '';
  position: absolute;
  bottom: 0; inset-inline-start: 0;
  height: 3px; width: 0;
  background: var(--green);
  transition: width .4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); border-color: transparent; }
.card:hover::after { width: 100%; }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(30,60,123,.08), rgba(118,184,67,.14));
  color: var(--navy);
  margin-bottom: 22px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.card:hover .card__icon { background: var(--green); color: #fff; }
.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
}
.card p { font-size: 14.5px; color: var(--text-dim); line-height: 1.65; }

/* --- Process steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 52px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 26px 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-inv);
  border-radius: var(--radius);
  transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.step:hover { background: rgba(255,255,255,.08); transform: translateY(-6px); border-color: rgba(118,184,67,.4); }
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--green);
  margin-bottom: 18px;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}
.step p { font-size: 14px; color: var(--text-inv-dim); line-height: 1.65; }

/* Dark section variant (process) */
.block--navy { background: linear-gradient(160deg, var(--navy-ink) 0%, var(--navy-deep) 100%); }
.block--navy h2 { color: #fff; }
.block--navy .block__text { color: var(--text-inv-dim); }

/* --- FAQ --- */
.faq { margin-top: 44px; max-width: 820px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.faq__item[open] { box-shadow: var(--shadow-1); border-color: rgba(118,184,67,.5); }
.faq__item summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  padding: 22px 58px 22px 26px;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color .25s var(--ease);
}
[dir="rtl"] .faq__item summary { padding: 22px 26px 22px 58px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--green-deep); }
.faq__item summary::after {
  content: '';
  position: absolute;
  inset-inline-end: 22px;
  top: 50%;
  width: 12px; height: 12px;
  translate: 0 -50%;
  background:
    linear-gradient(var(--green), var(--green)) center/12px 2px no-repeat,
    linear-gradient(var(--green), var(--green)) center/2px 12px no-repeat;
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__item p { padding: 0 26px 24px; color: var(--text-dim); font-size: 15px; max-width: 700px; }

/* --- Contact (navy band) --- */
.block--contact {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(118,184,67,.16), transparent 60%),
    linear-gradient(160deg, var(--navy-ink) 0%, var(--navy-deep) 100%);
}
.block--contact h2 { color: #fff; }
.block--contact .block__text { color: var(--text-inv-dim); }
.contact-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 14px;
}
.contact-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 32px 20px 28px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-inv);
  border-radius: var(--radius);
  transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
a.contact-tile:hover { background: rgba(255,255,255,.09); transform: translateY(-6px); border-color: rgba(118,184,67,.45); }
.contact-tile__icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(118,184,67,.16);
  color: var(--green-hi);
  margin-bottom: 8px;
}
.contact-tile__label {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-inv-dim);
}
[dir="rtl"] .contact-tile__label { letter-spacing: 0; }
.contact-tile__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  color: #fff;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-ink);
  color: var(--text-inv-dim);
  font-size: 14px;
  border-top: 1px solid var(--line-inv);
}
.footer__top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 76px var(--pad-x) 56px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.footer__logo { display: block; margin-bottom: 20px; }
.footer__logo img { height: 36px; width: auto; opacity: .9; }
.footer__tagline { font-size: 14px; line-height: 1.75; max-width: 280px; margin-bottom: 28px; }
.footer__social { display: flex; gap: 11px; flex-wrap: wrap; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-inv);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-inv-dim);
  transition: border-color .22s var(--ease), color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease);
  flex-shrink: 0;
}
.footer__social a:hover {
  border-color: var(--green);
  color: var(--green-hi);
  background: rgba(118,184,67,.1);
  transform: translateY(-3px);
}
.footer__col-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col ul li a { color: var(--text-inv-dim); font-size: 14px; transition: color .2s var(--ease); }
.footer__col ul li a:hover { color: var(--green-hi); }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 15px;
  font-size: 13.5px;
  line-height: 1.55;
}
.footer__contact-item svg { flex-shrink: 0; margin-top: 3px; color: var(--green-hi); }
.footer__contact-item a { transition: color .2s var(--ease); }
.footer__contact-item a:hover { color: var(--green-hi); }
.footer__divider { height: 1px; background: var(--line-inv); max-width: var(--max-w); margin: 0 auto; }
.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-faint);
}
.footer__bottom-links { display: flex; gap: 26px; }
.footer__bottom-links a { color: var(--text-faint); transition: color .2s var(--ease); }
.footer__bottom-links a:hover { color: var(--text-inv-dim); }

/* ============ FLOATING ACTIONS ============ */
.whatsapp {
  position: fixed;
  inset-inline-end: 24px;
  bottom: 24px;
  z-index: 250;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.3);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.whatsapp:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 16px 36px rgba(0,0,0,.38); }

.to-top {
  position: fixed;
  inset-inline-start: 24px;
  bottom: 24px;
  z-index: 250;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(10,22,49,.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .25s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green); }

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .about-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-tiles { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --topbar-h: 72px; }

  /* Gateway stacks; allow scroll on small screens */
  body.gateway { overflow: auto; height: auto; min-height: 100dvh; }
  .gates { flex-direction: column; min-height: calc(100dvh - 190px); }
  .gate { min-height: 200px; border-inline-end: none; border-bottom: 1px solid var(--line-inv); }
  .gate:last-child { border-bottom: none; }
  .gate__content { padding: 26px 26px 30px; }
  .gate__title { font-size: 30px; }
  .gate__enter { opacity: 1; transform: none; }
  .gateway-intro { padding-bottom: 16px; }
  .gateway-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 18px var(--pad-x) 20px;
  }
  .gateway-footer__info { justify-content: center; gap: 10px 18px; }

  /* Mobile nav drawer */
  .topbar__burger { display: block; }
  .topbar__nav {
    position: fixed;
    inset: 0;
    z-index: 310;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: linear-gradient(160deg, var(--navy-ink) 0%, var(--navy-deep) 100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  body.nav-open .topbar__nav { opacity: 1; visibility: visible; }
  .topbar__nav a {
    font-size: 19px;
    color: #fff !important;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
  }
  body.nav-open .topbar__nav a { opacity: 1; transform: none; }
  body.nav-open .topbar__nav a:nth-child(1) { transition-delay: .05s; }
  body.nav-open .topbar__nav a:nth-child(2) { transition-delay: .1s; }
  body.nav-open .topbar__nav a:nth-child(3) { transition-delay: .15s; }
  body.nav-open .topbar__nav a:nth-child(4) { transition-delay: .2s; }
  body.nav-open .topbar__nav a:nth-child(5) { transition-delay: .25s; }
  body.nav-open .topbar__nav a:nth-child(6) { transition-delay: .3s; }
  .topbar__back { border-color: rgba(255,255,255,.35) !important; margin-top: 12px; }
  .topbar__nav .lang-switch {
    margin-top: 26px;
    opacity: 0;
    transition: opacity .4s var(--ease) .35s;
  }
  body.nav-open .topbar__nav .lang-switch { opacity: 1; }
  .topbar__nav .lang-switch a { color: #fff !important; border-color: rgba(255,255,255,.3) !important; font-size: 13px; }
  .topbar__nav .lang-switch a.is-active { background: var(--green) !important; border-color: var(--green) !important; }

  .page-hero { min-height: 100svh; }
  .page-hero__content { padding-bottom: 16px; }
  .page-hero__pillars-inner { grid-template-columns: 1fr; gap: 10px; padding: 16px var(--pad-x); }
  .scroll-cue { display: none; }
  .page-hero__cta .btn { padding: 14px 26px; font-size: 13px; }

  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-tiles { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; padding: 52px var(--pad-x) 40px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .to-top { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .gate, .reveal { opacity: 1 !important; transform: none !important; }
  .gate__enter { opacity: 1; }
}
