/* ==========================================================================
   Noor Al-Faroq Trading Co. — main stylesheet
   Design tokens → base → layout → components → utilities → RTL → motion
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Vazirmatn"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/vazirmatn-var-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "Vazirmatn"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/vazirmatn-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --navy-950: #061229;
  --navy-900: #0B1F3A;
  --navy-800: #12305A;
  --navy-700: #1B4079;
  --navy-100: #DCE5F2;
  --amber-500: #C48F58;
  --amber-400: #E0B77F;
  --orange-600: #8F6236;
  --green-700: #15803D;
  --green-100: #DCFCE7;
  --surface: #F5F7FA;
  --surface-2: #E9EEF5;
  --white: #FFFFFF;
  --text: #1F2937;
  --muted: #5B6675;
  --line: #D9E0EA;
  --accent-grad: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  --shadow-sm: 0 1px 2px rgba(11,31,58,.06), 0 1px 3px rgba(11,31,58,.08);
  --shadow-md: 0 6px 16px -4px rgba(11,31,58,.14), 0 2px 6px rgba(11,31,58,.06);
  --shadow-lg: 0 24px 48px -12px rgba(11,31,58,.25);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-rtl: "Vazirmatn", "Noto Naskh Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-sans); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
html[dir="rtl"] body { font-family: var(--font-rtl); line-height: 1.85; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--orange-600); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 800; color: var(--navy-900); letter-spacing: -.015em; }
html[dir="rtl"] :is(h1,h2,h3,h4) { letter-spacing: 0; line-height: 1.4; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.25em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--navy-900); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 1000; }
.skip-link:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy-900); color: #cfd8e6; }
.section--navy :is(h1,h2,h3,h4) { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); margin-bottom: .9rem; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--accent-grad); border-radius: 2px; }
.section--navy .eyebrow { color: var(--amber-400); }
.lead { font-size: 1.125rem; color: var(--muted); }
.section--navy .lead { color: #b9c5d8; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1024px) { .grid-4, .grid-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .grid-3, .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split--reverse > :first-child { order: 0; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .95rem; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(143,98,54,.7); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 24px -8px rgba(143,98,54,.8); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn-light:hover { background: #fff; color: var(--navy-900); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy-800); }
.btn-link svg { width: 18px; height: 18px; transition: transform .2s; }
.btn-link:hover svg { transform: translateX(4px); }
html[dir="rtl"] .btn-link:hover svg { transform: translateX(-4px); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: var(--shadow-md); }
.topbar { background: var(--navy-950); color: #b9c5d8; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #dfe7f3; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--amber-400); }
.topbar svg { width: 14px; height: 14px; }
.topbar-contacts { display: flex; gap: 1.25rem; flex-wrap: wrap; }
@media (max-width: 640px) { .topbar-contacts a span { display: none; } .topbar-contacts a:first-child span { display: inline; } }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--navy-900); }
.brand svg { width: 46px; height: 46px; }
.footer .brand svg { width: 64px; height: 64px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; }
.brand-sub { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); font-weight: 600; }
html[dir="rtl"] .brand-sub { letter-spacing: 0; font-size: .78rem; text-transform: none; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { padding: .55rem .85rem; border-radius: 8px; font-weight: 600; color: var(--navy-900); font-size: .95rem; }
.nav a:hover { background: var(--surface-2); color: var(--navy-900); }
.nav a[aria-current="page"] { color: var(--orange-600); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .8rem; border: 1px solid var(--line); background: #fff; border-radius: 999px; font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--navy-900); }
.lang-btn svg { width: 16px; height: 16px; }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); min-width: 160px; padding: .4rem; display: none; z-index: 20; }
.lang-menu[data-open="true"] { display: block; }
.lang-menu a { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .75rem; border-radius: 8px; font-weight: 600; color: var(--navy-900); }
.lang-menu a:hover { background: var(--surface-2); }
.lang-menu a[aria-current="true"] { color: var(--orange-600); }
.lang-menu small { color: var(--muted); font-weight: 500; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .nav-actions .btn { display: none; }
}
/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer[data-open="true"] { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(6,18,41,.55); opacity: 0; transition: opacity .25s; }
.drawer[data-open="true"] .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(85vw, 360px); background: #fff; padding: 1.25rem; transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; gap: .5rem; overflow-y: auto; }
html[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
.drawer[data-open="true"] .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.drawer nav a { display: block; padding: .8rem .9rem; border-radius: 10px; font-weight: 700; font-size: 1.05rem; color: var(--navy-900); }
.drawer nav a[aria-current="page"] { background: var(--surface); color: var(--orange-600); }
.drawer .btn { margin-top: .75rem; }
.drawer-langs { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.drawer-langs a { padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; }
.drawer-langs a[aria-current="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; min-height: min(88vh, 760px); display: flex; align-items: center; overflow: hidden; background: var(--navy-900); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,18,41,.88) 0%, rgba(6,18,41,.72) 45%, rgba(6,18,41,.25) 100%); }
html[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(6,18,41,.88) 0%, rgba(6,18,41,.72) 45%, rgba(6,18,41,.25) 100%); }
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 120px; z-index: -1; background: linear-gradient(to top, rgba(6,18,41,.6), transparent); }
.hero .container { padding-block: clamp(4rem, 10vw, 7rem); }
.hero-content { max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; text-wrap: balance; }
.hero h1 em { font-style: normal; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #d6deea; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero .eyebrow { color: var(--amber-400); }
.hero-badges { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); }
.hero-badges div { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: #e6ecf5; font-weight: 600; }
.hero-badges svg { width: 20px; height: 20px; color: var(--amber-400); }
/* page hero (inner pages) */
.page-hero { min-height: 420px; }
.page-hero .container { padding-block: clamp(3rem, 7vw, 5rem); }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: #b9c5d8; margin-bottom: 1.2rem; flex-wrap: wrap; }
.breadcrumb a { color: #e6ecf5; }
.breadcrumb a:hover { color: var(--amber-400); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .7; }

/* ---------- Trust strip & stats ---------- */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.25rem; }
.trust-item { display: flex; gap: .85rem; align-items: center; padding: .5rem 0; }
.trust-item svg { width: 34px; height: 34px; color: var(--orange-600); flex: none; }
.trust-item strong { display: block; color: var(--navy-900); font-size: .95rem; }
.trust-item span { font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) { .trust-strip .container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-strip .container { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 1.5rem 1rem; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.stat-value { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1; color: #fff; letter-spacing: -.02em; }
.stat-value span { color: var(--amber-400); }
.stat-label { margin-top: .6rem; font-size: .9rem; color: #b9c5d8; font-weight: 500; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; height: 100%; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { margin-bottom: .15rem; }
.card-body p { color: var(--muted); margin: 0; font-size: .95rem; flex: 1; }
.card-body .btn-link { margin-top: .75rem; font-size: .9rem; }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--navy-100); color: var(--navy-800); display: grid; place-items: center; margin-bottom: .6rem; }
.card-icon svg { width: 26px; height: 26px; }
.card--accent .card-icon { background: linear-gradient(135deg, rgba(196,143,88,.22), rgba(143,98,54,.22)); color: var(--orange-600); }
.card--green .card-icon { background: var(--green-100); color: var(--green-700); }
.card--plain { border: none; background: transparent; box-shadow: none; }
.card--plain:hover { transform: none; box-shadow: none; }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-grad); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 16px -8px rgba(143,98,54,.7); }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.section--navy .feature p { color: #b9c5d8; }

/* ---------- Media block ---------- */
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 3/4; }
.media-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,18,41,.35), transparent 50%); pointer-events: none; }
.media-badge { position: absolute; inset-inline-start: 1.25rem; bottom: 1.25rem; background: #fff; padding: .9rem 1.1rem; border-radius: 12px; box-shadow: var(--shadow-md); display: flex; gap: .8rem; align-items: center; z-index: 1; max-width: 80%; }
.media-badge strong { font-size: 1.4rem; color: var(--navy-900); line-height: 1; }
.media-badge span { font-size: .8rem; color: var(--muted); display: block; }
.media-badge svg { width: 30px; height: 30px; color: var(--orange-600); flex: none; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .6rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; color: var(--green-700); flex: none; margin-top: .1em; }
.section--navy .check-list svg { color: var(--amber-400); }

/* ---------- Network map ---------- */
.network { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (max-width: 900px) { .network { grid-template-columns: 1fr; } }
.map-wrap { background: radial-gradient(circle at 50% 40%, rgba(27,64,121,.55), rgba(6,18,41,0) 65%); border-radius: var(--radius); padding: 1rem; }
.map-wrap svg { width: 100%; height: auto; }
.map-country { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.45); stroke-width: 1.2; }
.map-route { fill: none; stroke: var(--amber-400); stroke-width: 1.4; stroke-dasharray: 4 5; opacity: .75; }
.map-pin circle.ring { fill: none; stroke: var(--amber-400); stroke-width: 1.2; opacity: .6; }
.map-pin circle.dot { fill: var(--amber-400); }
.map-pin.hq circle.dot { fill: #fff; }
.map-pin text { fill: #fff; font-size: 11px; font-weight: 600; font-family: var(--font-sans); paint-order: stroke; stroke: rgba(6,18,41,.85); stroke-width: 3px; stroke-linejoin: round; }
html[dir="rtl"] .map-pin text { font-family: var(--font-rtl); font-size: 12px; }
.gateway-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; }
.gateway-list li { display: flex; gap: .8rem; align-items: center; padding: .7rem .9rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; }
.gateway-list .flag { width: 34px; height: 34px; border-radius: 8px; background: rgba(224,183,127,.18); color: var(--amber-400); display: grid; place-items: center; flex: none; }
.gateway-list .flag svg { width: 18px; height: 18px; }
.gateway-list strong { color: #fff; display: block; font-size: .95rem; }
.gateway-list span { font-size: .82rem; color: #b9c5d8; }

/* ---------- People ---------- */
.person { display: flex; gap: 1.25rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.person-photo { flex: none; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--navy-100); display: grid; place-items: center; color: var(--navy-800); font-weight: 800; font-size: 1.6rem; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin-bottom: .1rem; font-size: 1.15rem; }
.person .role { color: var(--orange-600); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
html[dir="rtl"] .person .role { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.person p { margin: .5rem 0 0; color: var(--muted); font-size: .92rem; }
.person--lg { flex-direction: column; align-items: flex-start; padding: 1.75rem; }
.person--lg .person-photo { width: 120px; height: 120px; }

/* ---------- Sectors / logos ---------- */
.sectors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
@media (max-width: 1024px) { .sectors { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
.sector { text-align: center; padding: 1.4rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: .92rem; color: var(--navy-900); }
.sector svg { width: 34px; height: 34px; margin: 0 auto .7rem; color: var(--navy-700); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 15% 50%, rgba(176,127,78,.55), transparent 55%), radial-gradient(ellipse at 90% 20%, rgba(27,64,121,.9), transparent 55%); }
.cta-band .container { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4rem); flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { margin: 0; color: #d6deea; max-width: 560px; }
.cta-band .actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #aebacc; font-size: .93rem; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
@media (max-width: 1024px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .1em; }
html[dir="rtl"] .footer h4 { letter-spacing: 0; text-transform: none; font-size: 1.05rem; }
.footer .brand { color: #fff; margin-bottom: 1rem; }
.footer .brand-sub { color: #8b9ab0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer a { color: #cfd8e6; }
.footer a:hover { color: var(--amber-400); }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: .2em; color: var(--amber-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #8b9ab0; }
.footer-bottom a { color: #aebacc; margin-inline-start: 1rem; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--amber-500); border-color: var(--amber-500); color: var(--navy-950); }
.social svg { width: 18px; height: 18px; }

/* ---------- Products ---------- */
.anchor-nav { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.anchor-nav a { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; color: var(--navy-900); }
.anchor-nav a:hover, .anchor-nav a.is-active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.product { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding: clamp(1.5rem, 3vw, 2.5rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 2rem; scroll-margin-top: calc(var(--header-h) + 20px); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.product-media { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 860px) { .product-media { position: static; } }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); display: flex; align-items: center; gap: .75rem; }
.product h2 .badge { font-size: .7rem; }
.badge { display: inline-block; padding: .3rem .7rem; border-radius: 999px; background: var(--green-100); color: var(--green-700); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
html[dir="rtl"] .badge { letter-spacing: 0; text-transform: none; font-size: .8rem; }
.badge--amber { background: #F3E7D6; color: #7A5230; }
.badge--navy { background: var(--navy-100); color: var(--navy-800); }
.spec-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.25rem; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: start; padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; color: var(--muted); font-weight: 600; background: var(--surface); }
.spec-table caption { text-align: start; font-weight: 700; color: var(--navy-900); margin-bottom: .5rem; caption-side: top; }
.table-wrap { overflow-x: auto; }
.tags { display: flex; gap: .5rem; flex-wrap: wrap; margin: .5rem 0 1.25rem; }
.tags span { padding: .35rem .75rem; background: var(--surface-2); border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--navy-800); }

/* ---------- Services ---------- */
.service { scroll-margin-top: calc(var(--header-h) + 20px); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1rem; }
.steps li { position: relative; padding-inline-start: 3.4rem; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 0; width: 2.5rem; height: 2.5rem; border-radius: 10px; background: var(--navy-900); color: var(--amber-400); font-weight: 800; display: grid; place-items: center; font-size: .95rem; font-family: var(--font-sans); }
.steps strong { display: block; color: var(--navy-900); }
.steps span { color: var(--muted); font-size: .95rem; }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; }
@media (max-width: 1024px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .process { grid-template-columns: 1fr; } }
.process-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.25rem; position: relative; }
.process-step .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-grad); color: #fff; font-weight: 800; margin-bottom: .9rem; font-family: var(--font-sans); }
.process-step h3 { font-size: 1.02rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 1.75rem; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--amber-500), var(--navy-100)); }
.timeline li { position: relative; padding-inline-start: 3rem; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--orange-600); box-shadow: 0 0 0 4px #fff; }
.timeline .year { font-weight: 800; color: var(--orange-600); font-family: var(--font-sans); font-size: .95rem; letter-spacing: .04em; }
.timeline h3 { margin: .15rem 0 .25rem; font-size: 1.1rem; }
.timeline p { margin: 0; color: var(--muted); }

/* ---------- Licences / values ---------- */
.value { padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; }
.value .card-icon { margin-bottom: 1rem; }
.value h3 { font-size: 1.15rem; }
.value p { margin: 0; color: var(--muted); }
.licence { display: flex; gap: 1rem; align-items: flex-start; padding: 1.35rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; }
.licence-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; }
.licence-icon svg { width: 24px; height: 24px; }
.licence h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.licence p { margin: 0; color: var(--muted); font-size: .92rem; }
.licence .badge { margin-top: .6rem; }

/* ---------- HSE ---------- */
.pillar { padding: 2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--green-700); height: 100%; }
.pillar:nth-child(2) { border-top-color: var(--orange-600); }
.pillar:nth-child(3) { border-top-color: var(--navy-700); }
.pillar .card-icon { margin-bottom: 1rem; }
.pillar ul { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.pillar li { display: flex; gap: .6rem; font-size: .93rem; color: var(--text); }
.pillar li::before { content: "✓"; color: var(--green-700); font-weight: 800; flex: none; }
.policy-quote { padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius); background: #fff; border-inline-start: 6px solid var(--green-700); box-shadow: var(--shadow-sm); font-size: 1.1rem; line-height: 1.75; }
.policy-quote p:last-child { margin-bottom: 0; }
.policy-quote footer { margin-top: 1.25rem; font-size: .9rem; color: var(--muted); font-weight: 600; }
.kpi { text-align: center; padding: 1.5rem 1rem; }
.kpi strong { display: block; font-size: 2.2rem; color: var(--green-700); font-weight: 800; line-height: 1; }
.kpi span { color: var(--muted); font-size: .9rem; }

/* ---------- Contact ---------- */
.office { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; height: 100%; display: flex; flex-direction: column; gap: .5rem; }
.office .badge { align-self: flex-start; margin-bottom: .3rem; }
.office h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.office ul { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .55rem; }
.office li { display: flex; gap: .7rem; align-items: flex-start; font-size: .94rem; }
.office li svg { width: 18px; height: 18px; flex: none; color: var(--orange-600); margin-top: .2em; }
.office li a { color: var(--navy-900); font-weight: 600; }
.office li a:hover { color: var(--orange-600); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy-900); }
.field label small { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { font: inherit; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); width: 100%; transition: border-color .15s, box-shadow .15s, background .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); background: #fff; box-shadow: 0 0 0 4px rgba(27,64,121,.12); }
.field textarea { min-height: 140px; resize: vertical; }
.field input[type="tel"], .field input[type="email"] { direction: ltr; text-align: start; }
html[dir="rtl"] .field input[type="tel"], html[dir="rtl"] .field input[type="email"] { text-align: right; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-status { display: none; padding: .9rem 1.1rem; border-radius: 10px; font-weight: 600; margin-top: 1rem; }
.form-status[data-state="success"] { display: block; background: var(--green-100); color: var(--green-700); }
.form-status[data-state="error"] { display: block; background: #FEE2E2; color: #B91C1C; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/8; background: var(--surface-2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.hours { display: grid; gap: .4rem; font-size: .95rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); margin-block: 2rem; }
.note { padding: 1rem 1.25rem; border-radius: 10px; background: #F8F1E7; border: 1px solid #E3CDAE; color: #5C3D1F; font-size: .92rem; }
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 1rem; }
.error-page .code { font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; line-height: 1; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wa-float { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(37,211,102,.7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.to-top { position: fixed; bottom: 88px; inset-inline-end: 24px; z-index: 90; width: 46px; height: 46px; border-radius: 12px; background: var(--navy-900); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .25s; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- RTL mirrors ---------- */
html[dir="rtl"] .mirror { transform: scaleX(-1); }
html[dir="rtl"] .btn-link svg, html[dir="rtl"] .breadcrumb svg { transform: scaleX(-1); }

/* ---------- Motion ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; } .reveal[data-delay="4"] { transition-delay: .4s; } .reveal[data-delay="5"] { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .card-media img { transition: none; }
}
@media print {
  .header, .footer, .wa-float, .to-top, .cta-band, .hero-media { display: none !important; }
  .hero { color: #000; min-height: 0; } .hero::before, .hero::after { display: none; } .hero h1 { color: #000; }
  .product { break-inside: avoid; }
}

/* ---------- Division split hero ---------- */
.split-hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: min(calc(100vh - 112px), 780px); }
.division { position: relative; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; color: #fff; background: var(--navy-900); }
.division > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.division:hover > img { transform: scale(1.05); }
.division::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6,18,41,.92) 0%, rgba(6,18,41,.5) 48%, rgba(6,18,41,.22) 100%); transition: background .3s; }
.division:hover::before { background: linear-gradient(to top, rgba(6,18,41,.95) 0%, rgba(6,18,41,.6) 48%, rgba(6,18,41,.3) 100%); }
.division-content { padding: clamp(2rem, 4vw, 3.5rem); max-width: 560px; }
.division h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.6rem); margin-bottom: .5rem; }
.division p { color: #d6deea; margin-bottom: 1.4rem; font-size: 1.02rem; max-width: 46ch; }
.division .eyebrow { color: var(--amber-400); }
.division .btn { pointer-events: none; }
.division:hover { color: #fff; }
.division:focus-visible { outline-offset: -6px; }
.split-hero-seal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: clamp(84px, 9vw, 128px); z-index: 2; filter: drop-shadow(0 10px 28px rgba(6,18,41,.55)); pointer-events: none; }
.split-hero-seal svg { width: 100%; height: auto; }
@media (max-width: 900px) {
  .split-hero { grid-template-columns: 1fr; min-height: 0; }
  .division { min-height: 58vh; }
  .split-hero-seal { display: none; }
}
/* ---------- Cotton gallery ---------- */
.gallery { columns: 3 280px; column-gap: 1.25rem; }
.gallery-item { margin: 0 0 1.25rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); break-inside: avoid; background: var(--surface-2); }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
