/* ============================================================
   International Standards L.L.C — Design tokens
   ============================================================ */
:root{
  --teal:        #2FAE8B;
  --teal-deep:   #1E8468;
  --navy-deep:   #0F3350;
  --navy:        #1D6E96;
  --navy-mid:    #2A5978;
  --stone:       #F6F3EC;
  --stone-dark:  #EAE4D6;
  --paper:       #FCFAF5;
  --ink:         #16262B;
  --ink-soft:    #4B5B60;
  --rose:        #B8394A;
  --line:        rgba(15,51,80,0.12);

  --font-display: 'Fraunces', 'Amiri', serif;
  --font-body:    'Inter', 'Almarai', -apple-system, sans-serif;
  --font-ar:      'Almarai', 'Inter', sans-serif;

  --container: 1180px;
  --radius: 4px;
  --shadow-soft: 0 12px 40px -18px rgba(15,51,80,0.35);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:600; margin:0 0 .5em; color:var(--navy-deep); }
p{ margin:0 0 1em; color:var(--ink-soft); }
.container{ max-width:var(--container); margin:0 auto; padding:0 28px; }

/* ---------- Arabic mode ---------- */
html[dir="rtl"] body{ font-family:var(--font-ar); }
html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3,html[dir="rtl"] h4{ font-family:var(--font-ar); font-weight:800; }
[data-i18n]{ }
html:not([dir="rtl"]) .ar-only{ display:none !important; }
html[dir="rtl"] .en-only{ display:none !important; }
html[dir="rtl"] .brand-grid,
html[dir="rtl"] .footer-grid,
html[dir="rtl"] .split{ direction:rtl; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 30px; border-radius:2px; font-weight:600; font-size:.92rem;
  letter-spacing:.02em; border:1px solid transparent; cursor:pointer;
  transition:all .25s ease;
}
.btn-primary{ background:var(--teal); color:#fff; }
.btn-primary:hover{ background:var(--teal-deep); }
.btn-outline{ border-color:rgba(255,255,255,.6); color:#fff; }
.btn-outline:hover{ background:rgba(255,255,255,.12); }
.btn-dark{ background:var(--navy-deep); color:#fff; }
.btn-dark:hover{ background:var(--navy); }

/* ============================================================
   Header
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:100;
  background:var(--paper);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 28px; max-width:var(--container); margin:0 auto;
}
.brand-mark{ display:flex; align-items:center; gap:12px; }
.brand-mark img{ height:64px; width:auto; }
.brand-mark .name{ font-family:var(--font-display); font-weight:600; font-size:1.15rem; color:var(--navy-deep); line-height:1.2; }
.brand-mark .tag{ font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--teal-deep); font-weight:700; }

nav.main-nav ul{ display:flex; gap:34px; }
nav.main-nav a{
  font-size:.9rem; font-weight:600; color:var(--navy-deep);
  position:relative; padding-bottom:4px;
}
nav.main-nav a::after{
  content:''; position:absolute; left:0; bottom:0; height:2px; width:0;
  background:var(--teal); transition:width .25s ease;
}
nav.main-nav a:hover::after, nav.main-nav a.active::after{ width:100%; }

.header-actions{ display:flex; align-items:center; gap:14px; }
.lang-toggle{
  border:1px solid var(--line); background:transparent; border-radius:20px;
  padding:7px 16px; font-size:.78rem; font-weight:700; letter-spacing:.05em;
  cursor:pointer; color:var(--navy-deep); font-family:var(--font-body);
}
.lang-toggle:hover{ border-color:var(--teal); color:var(--teal-deep); }

.nav-toggle{ display:none; background:none; border:0; cursor:pointer; padding:6px; z-index:210; }
.nav-toggle span{ display:block; width:22px; height:2px; background:var(--navy-deep); margin:5px 0; }

@media (max-width:480px){
  .brand-mark img{ height:48px; }
  .brand-mark .name{ font-size:.92rem; }
  .header-inner{ padding:8px 16px; gap:8px; }
  .header-actions{ gap:8px; }
  .lang-toggle{ padding:6px 12px; font-size:.72rem; }
}

@media (max-width: 880px){
  nav.main-nav{
    position:fixed; inset:0; z-index:200;
    background:var(--paper);
    padding:100px 28px 28px;
    display:none;
    overflow-y:auto;
  }
  nav.main-nav.open{ display:block; }
  nav.main-nav ul{ flex-direction:column; gap:0; }
  nav.main-nav li{ border-bottom:1px solid var(--line); }
  nav.main-nav a{ display:block; padding:18px 0; font-size:1.05rem; }
  .nav-toggle{ display:block; position:relative; z-index:210; }
  .nav-toggle.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2){ opacity:0; }
  .nav-toggle.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
  .nav-toggle span{ transition:transform .25s ease, opacity .25s ease; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero{
  position:relative; min-height:86vh; display:flex; align-items:flex-end;
  background-color:var(--navy-deep);
  background-position:center; background-size:cover; background-repeat:no-repeat;
  color:#fff; overflow:hidden;
}
.hero-inner{ position:relative; z-index:2; padding:80px 0 90px; max-width:var(--container); margin:0 auto; width:100%; padding-inline:28px; }
.eyebrow{
  font-size:.78rem; letter-spacing:.22em; text-transform:uppercase; color:var(--teal);
  font-weight:700; margin-bottom:18px; display:flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:''; width:34px; height:2px; background:var(--teal); display:inline-block; }
.hero h1{
  color:#fff; font-size:clamp(2.3rem, 5.4vw, 4.1rem); max-width:820px; line-height:1.06; margin-bottom:22px;
}
.hero p.lede{ color:rgba(255,255,255,.86); max-width:560px; font-size:1.08rem; }
.hero-actions{ display:flex; gap:16px; margin-top:34px; flex-wrap:wrap; }

/* river svg overlay */
.river-svg{ position:absolute; inset:0; z-index:1; opacity:.9; pointer-events:none; }

/* ============================================================
   River / journey section (signature element)
   ============================================================ */
.river-section{ position:relative; padding:120px 0 60px; background:var(--stone); overflow:hidden; }
.river-section .section-head{ max-width:640px; margin-bottom:70px; }
.river-track{ position:relative; }
.river-path-svg{
  position:absolute; left:50%; top:0; transform:translateX(-50%);
  width:6px; height:100%; z-index:0;
}
.river-stops{ display:flex; flex-direction:column; gap:90px; position:relative; z-index:1; }
.river-stop{ display:grid; grid-template-columns:1fr 90px 1fr; align-items:center; gap:0; }
.river-stop .stop-media{ border-radius:2px; overflow:hidden; box-shadow:var(--shadow-soft); }
.river-stop .stop-media img{ aspect-ratio:4/3; object-fit:cover; width:100%; }
.river-stop .stop-node{
  width:16px; height:16px; border-radius:50%; background:var(--teal);
  border:4px solid var(--paper); margin:0 auto; box-shadow:0 0 0 2px var(--teal);
  position:relative; z-index:2;
}
.river-stop .stop-text{ padding:0 42px; }
.river-stop .stop-text .stop-label{ font-size:.75rem; letter-spacing:.16em; text-transform:uppercase; color:var(--teal-deep); font-weight:700; margin-bottom:10px; display:block; }
.river-stop .stop-text h3{ font-size:1.7rem; margin-bottom:12px; }
.river-stop:nth-child(even){ direction:rtl; }
.river-stop:nth-child(even) .stop-text{ direction:ltr; }
html[dir="rtl"] .river-stop:nth-child(even){ direction:ltr; }
html[dir="rtl"] .river-stop:nth-child(even) .stop-text{ direction:rtl; }

@media (max-width:820px){
  .river-stop{ grid-template-columns:1fr; gap:18px; }
  .river-stop .stop-node{ display:none; }
  .river-stop:nth-child(even){ direction:ltr; }
  .river-path-svg{ display:none; }
  .river-stop .stop-text{ padding:0; }
}

/* ============================================================
   Generic sections
   ============================================================ */
section{ padding:100px 0; }
.section-head .eyebrow{ color:var(--teal-deep); }
.section-head .eyebrow::before{ background:var(--teal-deep); }
.section-head h2{ font-size:clamp(1.8rem,3.4vw,2.7rem); max-width:640px; }
.section-head p{ max-width:560px; font-size:1.02rem; }

.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
@media (max-width:880px){ .split{ grid-template-columns:1fr; } }

.card{
  background:#fff; border:1px solid var(--line); border-radius:2px; padding:32px;
  transition:transform .25s ease, box-shadow .25s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-soft); }

.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
@media (max-width:900px){ .grid-3{ grid-template-columns:1fr 1fr; } .grid-4{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .grid-3, .grid-4{ grid-template-columns:1fr; } }

.stat-row{ display:flex; gap:60px; flex-wrap:wrap; padding:50px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.stat-row .stat b{ display:block; font-family:var(--font-display); font-size:2.4rem; color:var(--navy-deep); }
.stat-row .stat span{ color:var(--ink-soft); font-size:.9rem; }

.band-dark{ background:var(--navy-deep); color:#fff; }
.band-dark h2, .band-dark h3{ color:#fff; }
.band-dark p{ color:rgba(255,255,255,.78); }

/* ---------- market icons ---------- */
.market-item{ text-align:center; padding:26px 14px; }
.market-item .ico{
  width:60px; height:60px; margin:0 auto 16px; border-radius:50%;
  background:rgba(47,174,139,.12); display:flex; align-items:center; justify-content:center;
  color:var(--teal-deep);
}
.market-item h4{ font-size:1rem; margin-bottom:6px; }
.market-item p{ font-size:.85rem; margin:0; }

/* ---------- brand teaser cards on home ---------- */
.brand-teaser{ position:relative; border-radius:2px; overflow:hidden; min-height:340px; display:flex; align-items:flex-end; color:#fff; }
.brand-teaser img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.brand-teaser::before{ content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(15,51,80,.05), rgba(10,25,35,.9)); z-index:1; }
.brand-teaser .bt-content{ position:relative; z-index:2; padding:30px; }
.brand-teaser .bt-content span{ font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--teal); font-weight:700; }
.brand-teaser .bt-content h3{ color:#fff; margin:6px 0 4px; font-size:1.5rem; }
.brand-teaser .bt-content p{ color:rgba(255,255,255,.82); font-size:.88rem; margin:0; }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero{
  padding:150px 0 70px; background:var(--navy-deep); color:#fff; position:relative; overflow:hidden;
}
.page-hero h1{ color:#fff; font-size:clamp(2.1rem,4.4vw,3.2rem); max-width:760px; }
.page-hero p{ color:rgba(255,255,255,.8); max-width:560px; font-size:1.05rem; }
.page-hero .river-path-svg{ position:absolute; right:40px; top:0; width:16px; height:100%; opacity:.4; transform:none; left:auto; }

/* ============================================================
   Brand sections (Brands page)
   ============================================================ */
.brand-block{ padding:100px 0; border-bottom:1px solid var(--line); }
.brand-block:last-child{ border-bottom:none; }
.brand-heading{ display:flex; align-items:center; gap:18px; margin-bottom:14px; }
.brand-heading .logo-chip{ height:52px; }
.brand-heading h2{ margin:0; }
.brand-block .since{ font-size:.8rem; letter-spacing:.1em; text-transform:uppercase; color:var(--teal-deep); font-weight:700; }

.product-gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:40px; }
.product-gallery figure{ margin:0; border-radius:2px; overflow:hidden; background:var(--stone); }
.product-gallery img{ width:100%; height:230px; object-fit:cover; }
.product-gallery figcaption{ padding:14px 16px; font-size:.85rem; color:var(--ink-soft); font-weight:600; }
@media (max-width:820px){ .product-gallery{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .product-gallery{ grid-template-columns:1fr; } }

.spec-list{ display:flex; gap:40px; flex-wrap:wrap; margin-top:26px; }
.spec-list div{ min-width:150px; }
.spec-list b{ display:block; font-family:var(--font-display); color:var(--navy-deep); font-size:1.05rem; }
.spec-list span{ font-size:.82rem; color:var(--ink-soft); }

/* ============================================================
   Clients page
   ============================================================ */
.client-category{ margin-bottom:56px; }
.client-category h3{
  display:flex; align-items:center; gap:12px; font-size:1.15rem; border-bottom:1px solid var(--line); padding-bottom:14px; margin-bottom:20px;
}
.client-category h3 .cat-ico{ color:var(--teal-deep); }
.client-list{ display:grid; grid-template-columns:1fr 1fr; gap:10px 40px; }
.client-list li{ padding:10px 0; border-bottom:1px dashed var(--line); font-size:.94rem; color:var(--ink-soft); }
.client-list li .ar{ display:block; font-family:var(--font-ar); color:var(--navy-mid); font-size:.88rem; margin-top:2px; }
@media (max-width:700px){ .client-list{ grid-template-columns:1fr; } }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:50px; }
@media (max-width:880px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-card{ display:flex; gap:18px; padding:24px 0; border-bottom:1px solid var(--line); }
.contact-card .ico{
  width:46px; height:46px; border-radius:50%; background:rgba(47,174,139,.12);
  display:flex; align-items:center; justify-content:center; color:var(--teal-deep); flex-shrink:0;
}
.contact-card h4{ margin-bottom:4px; font-size:1rem; }
.contact-card p{ margin:0; }
.contact-card a{ color:var(--navy); font-weight:600; }
.contact-card a:hover{ color:var(--teal-deep); }
.map-frame{ border-radius:2px; overflow:hidden; border:1px solid var(--line); height:100%; min-height:340px; }

/* ============================================================
   Footer
   ============================================================ */
footer{ background:var(--navy-deep); color:rgba(255,255,255,.8); padding:70px 0 30px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:50px; }
.footer-grid h5{ color:#fff; font-size:.85rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:18px; font-family:var(--font-body); font-weight:700; }
.footer-grid li{ margin-bottom:10px; font-size:.92rem; }
.footer-grid a:hover{ color:var(--teal); }
.footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.footer-brand img{ height:48px; }
.footer-brand span{ font-family:var(--font-display); color:#fff; font-size:1.05rem; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.14); padding-top:24px; font-size:.82rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; color:rgba(255,255,255,.55); }
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }

/* misc */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }
