﻿/* ==========================================================================
   Jabal Al-Faw Oil Services — Design system
   Mobile-first · logical properties for seamless LTR / RTL
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand palette */
  --navy-950: #061429;
  --navy-900: #0a1f3f;
  --navy-800: #0f2d57;
  --navy-700: #173f73;
  --navy-600: #245391;
  --steel-900: #1b2533;
  --steel-700: #334155;
  --steel-600: #475569;
  --steel-500: #64748b;
  --steel-300: #cbd5e1;
  --steel-200: #e2e8f0;
  --steel-100: #eef2f6;
  --steel-50: #f6f8fb;
  --flame-600: #d9480f;
  --flame-500: #f06418;
  --flame-400: #ff8a3d;
  --flame-100: #fff0e6;
  --safety-red: #c62828;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--white);
  --bg-muted: var(--steel-50);
  --text: var(--steel-900);
  --text-muted: var(--steel-600);
  --heading: var(--navy-900);
  --border: var(--steel-200);
  --accent: var(--flame-500);
  --accent-strong: var(--flame-600);
  --focus: #ffb000;
  --success: #15803d;

  /* Type */
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Barlow Semi Condensed', 'IBM Plex Sans', system-ui, sans-serif;
  --fs-300: 0.875rem;
  --fs-400: 1rem;
  --fs-500: 1.125rem;
  --fs-600: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-700: clamp(1.6rem, 1.3rem + 1.4vw, 2.35rem);
  --fs-800: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  --fs-900: clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem);

  /* Space, shape, depth */
  --gutter: 16px;
  --container: 1240px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgb(10 31 63 / 0.06), 0 1px 3px rgb(10 31 63 / 0.08);
  --shadow: 0 6px 18px -6px rgb(10 31 63 / 0.16), 0 2px 6px rgb(10 31 63 / 0.06);
  --shadow-lg: 0 24px 48px -16px rgb(10 31 63 / 0.28);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

html[lang='ar'] {
  --font-body: 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
  --font-display: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --header-h: 80px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-400);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang='ar'] body { line-height: 1.8; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--heading); line-height: 1.2; font-family: var(--font-display); font-weight: 700; }
html[lang='ar'] :is(h1, h2, h3, h4) { line-height: 1.45; }
p { margin: 0 0 1rem; }
p:last-child { margin-block-end: 0; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 1000;
  background: var(--navy-900); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { flex-shrink: 0; }
[dir='rtl'] .icon-flip { transform: scaleX(-1); }
.text-accent { color: var(--flame-400); }

/* ---------- 3. Buttons & links ---------- */
.btn {
  --btn-bg: var(--navy-900); --btn-fg: var(--white); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 46px; padding: 0.65rem 1.3rem;
  font-weight: 600; font-size: var(--fs-400); line-height: 1.2; text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd); border-radius: var(--radius-sm);
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--flame-500); box-shadow: 0 8px 20px -8px rgb(240 100 24 / 0.7); }
.btn--primary:hover { --btn-bg: var(--flame-600); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: var(--navy-900); }
.btn--outline:hover { --btn-bg: var(--navy-900); --btn-fg: var(--white); }
.btn--ghost-light { --btn-bg: rgb(255 255 255 / 0.06); --btn-fg: var(--white); --btn-bd: rgb(255 255 255 / 0.55); backdrop-filter: blur(4px); }
.btn--ghost-light:hover { --btn-bg: var(--white); --btn-fg: var(--navy-900); --btn-bd: var(--white); }
.btn--sm { min-height: 40px; padding: 0.45rem 1rem; font-size: var(--fs-300); }
.btn--lg { min-height: 54px; padding: 0.8rem 1.6rem; font-size: var(--fs-500); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--navy-700); }
.link-arrow:hover .icon { transform: translateX(3px); }
[dir='rtl'] .link-arrow:hover .icon { transform: scaleX(-1) translateX(3px); }
.link-arrow .icon { transition: transform .2s var(--ease); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .75rem;
  font-size: var(--fs-300); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong);
}
html[lang='ar'] .eyebrow { letter-spacing: 0; text-transform: none; font-size: var(--fs-400); }
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: var(--flame-400); }

/* ---------- 4. Top bar & header ---------- */
.topbar { display: none; background: var(--navy-950); color: var(--steel-300); font-size: var(--fs-300); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar__note { display: flex; align-items: center; gap: .5rem; margin: 0; }
.topbar__note .icon { color: var(--flame-400); }
.topbar__links { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.topbar a { display: inline-flex; align-items: center; gap: .4rem; color: var(--steel-200); text-decoration: none; }
.topbar a:hover { color: var(--white); }
@media (min-width: 992px) { .topbar { display: block; } }

.lang-switch { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }
.topbar .lang-switch { padding: 2px 10px; border: 1px solid rgb(255 255 255 / .25); border-radius: 999px; }
.lang-switch--block { justify-content: center; padding: .7rem; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--navy-900); }
.lang-switch--inverse { color: var(--steel-200); }
.lang-switch--inverse:hover { color: var(--white); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(255 255 255 / .96); backdrop-filter: saturate(160%) blur(10px);
  border-block-end: 1px solid transparent; transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow); border-color: var(--border); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.site-header__actions { display: flex; align-items: center; gap: .5rem; margin-inline-start: auto; }
.site-header__cta { display: none; }
@media (min-width: 600px) { .site-header__cta { display: inline-flex; } }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy-900); flex-shrink: 0; }
.brand:hover { color: var(--navy-900); }
.brand__mark { width: 46px; height: 46px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .01em; }
.brand__text small { font-size: .74rem; font-weight: 500; color: var(--steel-500); letter-spacing: .06em; text-transform: uppercase; }
html[lang='ar'] .brand__text small { letter-spacing: 0; font-size: .82rem; }
.brand--inverse { color: var(--white); }
.brand--inverse:hover { color: var(--white); }
.brand--inverse .brand__mark { background: var(--white); border-radius: 50%; padding: 5px; width: 52px; height: 52px; }
.brand--inverse .brand__text small { color: var(--steel-300); }

/* Burger */
.burger {
  display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0;
  background: var(--steel-100); color: var(--navy-900); border: 0; border-radius: var(--radius-sm); cursor: pointer;
}
.burger__close { display: none; }
.burger[aria-expanded='true'] .burger__open { display: none; }
.burger[aria-expanded='true'] .burger__close { display: block; }

/* Navigation — mobile panel */
.nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  padding: 1rem var(--gutter) 1.5rem; background: var(--white); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__list { list-style: none; display: grid; }
.nav__link {
  display: block; padding: .85rem .25rem; font-weight: 600; font-size: var(--fs-500); color: var(--navy-900); text-decoration: none;
  border-block-end: 1px solid var(--border);
}
.nav__link[aria-current='page'] { color: var(--accent-strong); }
.nav__mobile { display: grid; gap: .75rem; margin-block-start: 1.25rem; }
.nav__mobile-link { display: flex; align-items: center; gap: .6rem; color: var(--navy-900); text-decoration: none; font-weight: 500; }
.nav__mobile-link .icon { color: var(--accent); }
[dir='rtl'] .nav__mobile-link[dir='ltr'] { flex-direction: row-reverse; justify-content: flex-start; }
body.nav-open { overflow: hidden; }

@media (min-width: 1100px) {
  .burger { display: none; }
  .nav {
    position: static; inset: auto; max-height: none; overflow: visible; padding: 0; background: none; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; transition: none; margin-inline-start: auto;
  }
  .site-header__actions { margin-inline-start: 1rem; }
  .nav__list { display: flex; align-items: center; gap: .25rem; }
  .nav__link { position: relative; padding: .5rem .8rem; font-size: .98rem; border: 0; }
  .nav__link::after {
    content: ''; position: absolute; inset-inline: .8rem; bottom: -2px; height: 3px; border-radius: 2px;
    background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease);
  }
  .nav__link:hover { color: var(--navy-700); }
  .nav__link:hover::after, .nav__link[aria-current='page']::after { transform: scaleX(1); }
  .nav__link[aria-current='page'] { color: var(--navy-900); }
  .nav__mobile { display: none; }
}

/* ---------- 5. Sections & layout ---------- */
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section--muted { background: var(--bg-muted); }
.section--dark {
  --heading: var(--white);
  color: var(--steel-300);
  background:
    radial-gradient(circle at 85% 0%, rgb(240 100 24 / .16), transparent 40%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
}
.section--dark .section-lead { color: var(--steel-300); }

.section-head { max-width: 760px; margin-block-end: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-block-end: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head-row .section-head { margin: 0; }
.section-title { font-size: var(--fs-800); letter-spacing: -.01em; }
.section-title--sm { font-size: var(--fs-700); }
.section-lead { margin-block-start: 1rem; font-size: var(--fs-500); color: var(--text-muted); }

.grid { display: grid; gap: clamp(1rem, .75rem + 1vw, 1.5rem); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.stack { display: grid; gap: 1rem; }
/* Odd item counts: centre the last row instead of leaving a gap */
@media (min-width: 640px) {
  .grid--centered { display: flex; flex-wrap: wrap; justify-content: center; }
  .grid--centered > * { flex: 0 1 calc((100% - clamp(1rem, .75rem + 1vw, 1.5rem)) / 2); }
}
@media (min-width: 1000px) {
  .grid--centered > * { flex-basis: calc((100% - 2 * clamp(1rem, .75rem + 1vw, 1.5rem)) / 3); }
}

.split { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
  .split--reverse .split__content { order: 1; }
}
.split--center { align-items: center; }
.split__content > .section-head { margin-block-end: 1.25rem; }
.split__content > .btn { margin-block-start: 1.5rem; }
.split__media { position: relative; }

.media-frame { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-frame::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); pointer-events: none; }
.media-stat {
  position: absolute; inset-block-end: -1.25rem; inset-inline-end: 1rem;
  display: grid; gap: .1rem; padding: 1rem 1.25rem; max-width: 260px;
  background: var(--navy-900); color: var(--steel-300); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border-inline-start: 4px solid var(--accent); font-size: var(--fs-300);
}
.media-stat strong { color: var(--white); font-family: var(--font-display); font-size: 1.25rem; }
@media (min-width: 960px) { .split__media::before {
  content: ''; position: absolute; inset-block-start: -1.25rem; inset-inline-start: -1.25rem; width: 45%; height: 55%;
  border-radius: var(--radius-lg); background: repeating-linear-gradient(135deg, var(--flame-100) 0 10px, transparent 10px 20px); z-index: -1;
} }

/* ---------- 6. Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--steel-200); background: var(--navy-950); overflow: hidden; }
.hero__bg, .page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(6 20 41 / .96) 0%, rgb(10 31 63 / .88) 45%, rgb(10 31 63 / .45) 100%),
    linear-gradient(0deg, rgb(6 20 41 / .9), transparent 40%);
}
[dir='rtl'] .hero::before {
  background:
    linear-gradient(-90deg, rgb(6 20 41 / .96) 0%, rgb(10 31 63 / .88) 45%, rgb(10 31 63 / .45) 100%),
    linear-gradient(0deg, rgb(6 20 41 / .9), transparent 40%);
}
.hero::after {
  content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: 6px; z-index: 0;
  background: linear-gradient(var(--flame-400), var(--flame-600));
}
.hero__inner { display: grid; gap: 2.5rem; padding-block: clamp(4rem, 3rem + 6vw, 8rem) clamp(2rem, 1.5rem + 3vw, 3.5rem); }
.hero__content { max-width: 760px; }
.hero__title { color: var(--white); font-size: var(--fs-900); letter-spacing: -.015em; line-height: 1.08; }
html[lang='ar'] .hero__title { line-height: 1.35; letter-spacing: 0; }
.hero__lead { margin-block: 1.4rem 2rem; font-size: var(--fs-500); max-width: 640px; color: var(--steel-200); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__actions--center { justify-content: center; margin-block-start: 2rem; }
.hero__badges { list-style: none; display: grid; gap: .75rem; }
.hero__badges li {
  display: flex; align-items: center; gap: .75rem; padding: .9rem 1.1rem;
  color: var(--white); font-weight: 600; background: rgb(255 255 255 / .06);
  border: 1px solid rgb(255 255 255 / .14); border-radius: var(--radius); backdrop-filter: blur(6px);
}
.hero__badges .icon { color: var(--flame-400); }
@media (min-width: 768px) { .hero__badges { grid-template-columns: repeat(3, 1fr); } }

/* Inner page hero */
.page-hero { position: relative; isolation: isolate; color: var(--steel-200); background: var(--navy-950); overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgb(6 20 41 / .96) 0%, rgb(10 31 63 / .86) 55%, rgb(10 31 63 / .6) 100%);
}
.page-hero::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--flame-600), var(--flame-400) 30%, transparent 70%);
}
[dir='rtl'] .page-hero::after { background: linear-gradient(-90deg, var(--flame-600), var(--flame-400) 30%, transparent 70%); }
.page-hero__inner { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); max-width: calc(var(--container)); }
.page-hero__title { color: var(--white); font-size: var(--fs-800); max-width: 900px; }
.page-hero__lead { margin-block-start: 1rem; max-width: 720px; font-size: var(--fs-500); color: var(--steel-200); }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin-block-end: 1.25rem; font-size: var(--fs-300); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .35rem; color: var(--steel-300); }
.breadcrumbs li + li::before { content: '/'; opacity: .5; }
.breadcrumbs a { color: var(--steel-200); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--flame-400); }

/* ---------- 7. Cards & components ---------- */
.service-card {
  position: relative; display: flex; flex-direction: column; gap: .6rem; height: 100%;
  padding: 1.6rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset-block-start: 0; inset-inline: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy-700), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
[dir='rtl'] .service-card::before { transform-origin: right; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before, .service-card:focus-within::before { transform: scaleX(1); }
.service-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-block-end: .5rem; }
.service-card__icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: var(--radius);
  color: var(--white); background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  transition: background .25s var(--ease);
}
.service-card:hover .service-card__icon { background: linear-gradient(145deg, var(--flame-400), var(--flame-600)); }
.service-card__num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; color: var(--steel-200); }
.service-card__cat { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); }
html[lang='ar'] .service-card__cat { letter-spacing: 0; font-size: .85rem; }
.service-card__title { font-size: 1.3rem; }
.service-card__title a { color: inherit; text-decoration: none; }
.service-card__title a::after { content: ''; position: absolute; inset: 0; }
.service-card__title a:focus-visible { outline: none; }
.service-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.service-card__text { color: var(--text-muted); flex-grow: 1; margin: 0; }
.service-card__more { display: inline-flex; align-items: center; gap: .4rem; margin-block-start: .5rem; font-weight: 600; color: var(--navy-700); }
.service-card:hover .service-card__more { color: var(--accent-strong); }
.service-card.is-hidden { display: none; }

.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; }
.tag { padding: .15rem .6rem; font-size: .78rem; font-weight: 600; color: var(--navy-700); background: var(--steel-100); border-radius: 999px; }

.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon {
  display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: var(--radius);
  color: var(--accent-strong); background: var(--flame-100);
}
.feature__title { font-size: 1.15rem; margin-block-end: .35rem; }
.feature__text { color: var(--text-muted); margin: 0; }
.feature--card { padding: 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.value-card {
  height: 100%; padding: 1.5rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.value-card .feature { flex-direction: column; }
.section--muted .value-card { background: var(--white); }

.checklist { list-style: none; display: grid; gap: .7rem; margin-block: 1.25rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist .icon {
  width: 24px; height: 24px; padding: 4px; margin-block-start: 2px; border-radius: 50%;
  color: var(--white); background: var(--accent); stroke-width: 3;
}
@media (min-width: 640px) { .checklist--cols { grid-template-columns: 1fr 1fr; } }
.checklist--light li { color: var(--steel-200); }
.checklist--cards { gap: .75rem; }
@media (min-width: 640px) { .checklist--cards { grid-template-columns: 1fr 1fr; } }
.checklist--cards li { padding: 1rem; background: var(--bg-muted); border: 1px solid var(--border); border-radius: var(--radius-sm); font-weight: 500; }

.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; list-style: none; margin-block-start: 2rem; }
.pill { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; font-weight: 500; background: var(--steel-100); border-radius: 999px; color: var(--navy-900); }
.pill .icon { color: var(--success); }

.note {
  display: flex; gap: .8rem; align-items: flex-start; margin-block-start: 1.5rem; padding: 1rem 1.2rem;
  background: var(--flame-100); border-inline-start: 4px solid var(--accent); border-radius: var(--radius-sm); color: var(--steel-900);
}
.note .icon { color: var(--accent-strong); margin-block-start: 3px; }

/* Metrics on dark */
.metric {
  height: 100%; padding: 1.75rem 1.5rem; text-align: center;
  background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .1); border-radius: var(--radius);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.metric:hover { background: rgb(255 255 255 / .07); border-color: rgb(255 138 61 / .5); transform: translateY(-3px); }
.metric__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--flame-400); background: rgb(240 100 24 / .14); }
.metric__value { margin: .75rem 0 .25rem; font-family: 'Barlow Semi Condensed', var(--font-display); font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); font-weight: 700; line-height: 1; color: var(--white); }
.metric__title { font-size: 1.15rem; margin-block-end: .5rem; }
.metric__text { margin: 0; font-size: .95rem; color: var(--steel-300); }
.metric--left { text-align: start; }
.metric--left .metric__title { margin-block-start: 1rem; }

/* Clients strip */
.clients-strip { border-block: 1px solid var(--border); }
.clients-strip__title { text-align: center; font-size: var(--fs-600); color: var(--steel-700); margin-block-end: 2rem; }
.logo-row { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; align-items: center; }
@media (min-width: 640px) { .logo-row { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .logo-row { grid-template-columns: repeat(7, 1fr); } }
.logo-row__item {
  display: grid; place-items: center; height: 104px; padding: .75rem; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.logo-row__item { transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.logo-row__item:hover { border-color: var(--steel-300); box-shadow: var(--shadow); transform: translateY(-2px); }
.logo-row__item img { max-height: 80px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.clients-strip__link { text-align: center; margin-block-start: 1.75rem; }

/* Statement (vision / mission) */
.statement-card {
  position: relative; height: 100%; padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden;
}
.statement-card--accent { background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); border-color: transparent; }
.statement-card--accent .statement-card__title { color: var(--white); }
.statement-card--accent .eyebrow { color: var(--flame-400); }
.statement-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-block-end: 1.25rem; border-radius: var(--radius); color: var(--white); background: var(--accent); }
.statement-card__title { font-size: var(--fs-600); font-weight: 600; line-height: 1.45; }

/* Org chart */
.org { display: grid; gap: 1.25rem; justify-items: center; }
.org__level { display: flex; justify-content: center; position: relative; }
.org__level--head::after { content: ''; position: absolute; top: 100%; left: 50%; width: 2px; height: 1.25rem; background: var(--steel-300); }
.org__branch { display: grid; gap: 1.5rem; width: 100%; padding-block-start: 1.25rem; border-block-start: 2px solid var(--steel-300); }
@media (min-width: 1000px) { .org__branch { grid-template-columns: 1fr 2.2fr; align-items: start; } }
.org__support, .org__ops { padding: 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.org__label { margin: 0 0 .9rem; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--steel-500); text-align: center; }
html[lang='ar'] .org__label { letter-spacing: 0; font-size: .9rem; }
.org__stack { display: grid; gap: .6rem; }
.org__ops .org__level { margin-block-end: 1rem; }
.org__units { display: grid; gap: .6rem; }
@media (min-width: 640px) { .org__units { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .org__units { grid-template-columns: repeat(3, 1fr); } }
.org-node {
  display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; font-weight: 600; font-size: .95rem; line-height: 1.35;
  color: var(--navy-900); background: var(--steel-50); border: 1px solid var(--border); border-inline-start: 3px solid var(--navy-600); border-radius: var(--radius-sm);
}
.org-node__icon { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; color: var(--navy-700); background: var(--white); box-shadow: var(--shadow-sm); }
.org-node--head, .org-node--director { padding: 1rem 1.5rem; font-size: 1.1rem; color: var(--white); border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.org-node--head { background: linear-gradient(135deg, var(--flame-500), var(--flame-600)); }
.org-node--director { background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); }
.org-node--head .org-node__icon, .org-node--director .org-node__icon { color: var(--white); background: rgb(255 255 255 / .16); box-shadow: none; }
.org-node--support { border-inline-start-color: var(--steel-500); }

/* Sub-navigation (in-page) */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-block-end: 1px solid var(--border); }
.subnav__list { display: flex; gap: .25rem; overflow-x: auto; list-style: none; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: .9rem 1rem; font-weight: 600; white-space: nowrap; color: var(--steel-700); text-decoration: none; border-block-end: 3px solid transparent; }
.subnav a:hover, .subnav a.is-active { color: var(--navy-900); border-color: var(--accent); }
.anchor-target { scroll-margin-top: calc(var(--header-h) + 56px); }

/* Safety cycle */
.cycle { list-style: none; display: grid; gap: .75rem; margin-block-start: 2.5rem; counter-reset: step; }
@media (min-width: 768px) { .cycle { grid-template-columns: repeat(5, 1fr); } }
.cycle__step {
  position: relative; display: flex; align-items: center; gap: .75rem; padding: 1rem;
  font-weight: 600; color: var(--white); background: rgb(255 255 255 / .05); border: 1px dashed rgb(255 255 255 / .22); border-radius: var(--radius);
}
.cycle__num { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; font-weight: 700; color: var(--navy-950); background: var(--flame-400); }

/* Services catalogue */
.catalogue-bar { display: grid; gap: 1.25rem; margin-block-end: 2rem; }
@media (min-width: 1100px) { .catalogue-bar { grid-template-columns: auto 1fr; align-items: center; } .filters { justify-content: flex-end; } }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: .45rem 1rem;
  font-weight: 600; font-size: .92rem; color: var(--steel-700); background: var(--white);
  border: 1px solid var(--border); border-radius: 999px; cursor: pointer; transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--navy-700); color: var(--navy-900); }
.filter.is-active { color: var(--white); background: var(--navy-900); border-color: var(--navy-900); }
.filter__count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding-inline: 6px; font-size: .75rem; border-radius: 999px; background: var(--steel-100); color: var(--navy-900); }
.filter.is-active .filter__count { background: var(--accent); color: var(--white); }

.highlight { display: flex; align-items: center; gap: .9rem; height: 100%; padding: 1.25rem; font-weight: 600; color: var(--navy-900); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.highlight .icon { color: var(--accent); }

/* Service detail */
.detail { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .detail { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 3.5rem; } }
.detail__intro { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .detail__intro { grid-template-columns: auto 1fr; } }
.detail__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: var(--radius-lg); color: var(--white); background: linear-gradient(145deg, var(--flame-400), var(--flame-600)); box-shadow: 0 12px 24px -10px rgb(240 100 24 / .7); }
.detail__lead { margin-block-start: .75rem; font-size: var(--fs-500); color: var(--steel-700); }
.detail__heading { margin-block: 2.5rem 1rem; font-size: var(--fs-600); }
.detail__figure { margin-block-start: 2.5rem; }
.detail__figure img { aspect-ratio: 16 / 9; }
.detail__aside { display: grid; gap: 1.25rem; }
@media (min-width: 1000px) { .detail__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

.steps { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
.step { position: relative; padding: 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step__num { position: absolute; inset-block-start: 1rem; inset-inline-end: 1rem; font-family: 'Barlow Semi Condensed', var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--steel-200); }
.step__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-block-end: .75rem; border-radius: 10px; color: var(--navy-700); background: var(--steel-100); }
.step__title { font-size: 1.1rem; margin-block-end: .35rem; }
.step__text { margin: 0; color: var(--text-muted); font-size: .95rem; }

.aside-card { padding: 1.5rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.aside-card__title { font-size: 1.2rem; margin-block-end: 1rem; }
.aside-card--dark { color: var(--steel-300); background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); border: 0; }
.aside-card--dark .aside-card__title { color: var(--white); }
.aside-card--dark .btn { margin-block: .5rem 1rem; }
.aside-card--dark a:not(.btn) { color: var(--white); }
.facts { display: grid; gap: .9rem; margin: 0; }
.facts div { display: grid; gap: .2rem; padding-block-end: .9rem; border-block-end: 1px solid var(--border); }
.facts div:last-child { padding: 0; border: 0; }
.facts dt { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--steel-500); }
html[lang='ar'] .facts dt { letter-spacing: 0; font-size: .88rem; }
.facts dd { margin: 0; font-weight: 600; color: var(--navy-900); }
.aside-links { list-style: none; display: grid; gap: .15rem; }
.aside-links a { display: flex; align-items: center; gap: .6rem; padding: .55rem .6rem; font-size: .93rem; font-weight: 500; line-height: 1.35; color: var(--steel-700); text-decoration: none; border-radius: var(--radius-sm); }
.aside-links a .icon { color: var(--steel-500); }
.aside-links a:hover { background: var(--steel-50); color: var(--navy-900); }
.aside-links a[aria-current='page'] { background: var(--flame-100); color: var(--accent-strong); font-weight: 600; }
.aside-links a[aria-current='page'] .icon { color: var(--accent-strong); }

.mini-card { display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1.2rem 1.25rem; font-weight: 600; color: var(--navy-900); text-decoration: none; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); transition: all .2s var(--ease); }
.mini-card:hover { color: var(--navy-900); border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.mini-card__icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px; color: var(--white); background: var(--navy-800); }
.mini-card__title { flex-grow: 1; line-height: 1.35; }
.mini-card__arrow { color: var(--accent); }

/* Clients page */
.client-grid { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 560px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .client-grid { grid-template-columns: repeat(4, 1fr); } }
.client-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.client-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.client-card__logo { display: grid; place-items: center; height: 170px; padding: 1.25rem; background: var(--white); border-block-end: 1px solid var(--border); }
.client-card__logo img { max-height: 124px; width: auto; object-fit: contain; }
.client-card__body { padding: 1.1rem 1.25rem 1.3rem; border-block-start: 3px solid var(--accent); margin-block-start: -1px; }
.client-card__name { font-size: 1.15rem; }
.client-card__sector { margin: .3rem 0 0; font-size: .9rem; color: var(--text-muted); }

.project-card { height: 100%; padding: 1.75rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: all .25s var(--ease); }
.project-card:hover { border-color: var(--navy-700); box-shadow: var(--shadow); }
.project-card__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-block-end: 1.1rem; border-radius: 50%; color: var(--accent-strong); background: var(--flame-100); }
.project-card__title { font-size: 1.25rem; margin-block-end: .5rem; }
.project-card__text { margin: 0; color: var(--text-muted); }

.statement { margin: 0; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .12); border-inline-start: 5px solid var(--accent); border-radius: var(--radius-lg); }
.statement__mark { color: var(--flame-400); margin-block-end: 1rem; }
[dir='rtl'] .statement__mark { transform: scaleX(-1); }
.statement p { font-size: var(--fs-600); font-weight: 500; line-height: 1.55; color: var(--white); }
.statement footer { margin-block-start: 1.25rem; font-size: var(--fs-300); font-weight: 600; color: var(--flame-400); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; color: var(--steel-200); background: linear-gradient(120deg, var(--navy-800), var(--navy-950)); }
.cta-band::before {
  content: ''; position: absolute; inset-block: 0; inset-inline-end: -10%; width: 55%;
  background: repeating-linear-gradient(135deg, rgb(255 255 255 / .03) 0 14px, transparent 14px 28px);
  pointer-events: none;
}
.cta-band__inner { position: relative; display: grid; gap: 1.75rem; padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem); }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: 1.3fr auto; align-items: center; } }
.cta-band__title { color: var(--white); font-size: var(--fs-700); }
.cta-band__text { margin: .75rem 0 0; font-size: var(--fs-500); max-width: 640px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- 8. Contact ---------- */
.contact { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .contact { grid-template-columns: 380px minmax(0, 1fr); gap: 3.5rem; align-items: start; } }
.contact__info { display: grid; gap: 1rem; }
@media (min-width: 640px) and (max-width: 999px) { .contact__info { grid-template-columns: 1fr 1fr; } }
.info-card { display: flex; gap: 1rem; padding: 1.3rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.info-card__icon { display: grid; place-items: center; width: 50px; height: 50px; flex-shrink: 0; border-radius: var(--radius); color: var(--white); background: var(--navy-800); }
.info-card__title { font-family: var(--font-body); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--steel-500); margin-block-end: .3rem; }
html[lang='ar'] .info-card__title { letter-spacing: 0; font-size: .92rem; }
.info-card__link { display: block; font-weight: 600; font-size: 1.05rem; color: var(--navy-900); text-decoration: none; word-break: break-word; }
[dir='rtl'] .info-card__link[dir='ltr'] { text-align: end; }
.info-card__link:hover { color: var(--accent-strong); }
.info-card address, .info-card p { color: var(--steel-700); font-weight: 500; }
.info-card--accent { background: var(--flame-100); border-color: #ffd6bd; }
.info-card--accent .info-card__icon { background: var(--accent); }

.contact__form-wrap { padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact__intro { margin-block: .6rem 1.5rem; color: var(--text-muted); }
.form { display: grid; gap: 1.1rem; }
.form__grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; }
.field__label { font-weight: 600; font-size: .95rem; color: var(--navy-900); }
.field__req { color: var(--safety-red); }
.field__input {
  width: 100%; min-height: 50px; padding: .7rem .9rem; font-size: 1rem;
  background: var(--steel-50); border: 1.5px solid var(--steel-300); border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
[dir='rtl'] .field__input[dir='ltr'] { text-align: right; }
textarea.field__input { min-height: 150px; resize: vertical; }
.field__input:hover { border-color: var(--steel-500); }
.field__input:focus { outline: none; background: var(--white); border-color: var(--navy-600); box-shadow: 0 0 0 4px rgb(36 83 145 / .18); }
.field__input[aria-invalid='true'] { border-color: var(--safety-red); background: #fff6f6; }
.field__hint { margin: 0; font-size: .85rem; color: var(--steel-500); }
.field__error { margin: 0; font-size: .87rem; font-weight: 600; color: var(--safety-red); min-height: 0; }
.field__error:empty { display: none; }
.select { position: relative; }
.select select { appearance: none; padding-inline-end: 2.5rem; cursor: pointer; }
.select__icon { position: absolute; inset-inline-end: .85rem; top: 50%; transform: translateY(-50%); color: var(--steel-500); pointer-events: none; }
.form__hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn[type='submit'] { justify-self: start; }
.form__summary { padding: .8rem 1rem; font-weight: 600; color: var(--safety-red); background: #fff1f1; border: 1px solid #f5c2c2; border-radius: var(--radius-sm); }
.form__status { margin: 0; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-success { padding: .9rem 1rem; color: var(--success); background: #eefaf1; border: 1px solid #bfe5c9; border-radius: var(--radius-sm); }
.form__status.is-error { padding: .9rem 1rem; color: var(--safety-red); background: #fff1f1; border: 1px solid #f5c2c2; border-radius: var(--radius-sm); }

.map-section { position: relative; background: var(--steel-100); }
.map-section__frame iframe { width: 100%; height: clamp(340px, 45vw, 480px); border: 0; filter: saturate(.85); }
.map-section__card-wrap { position: relative; }
.map-card {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.4rem; margin-block: -3rem 3rem; max-width: 520px;
  position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); border-block-start: 4px solid var(--accent);
}
.map-card img { width: 56px; height: 56px; object-fit: contain; }
.map-card strong { display: block; color: var(--navy-900); font-size: 1.05rem; }
.map-card p { margin: .2rem 0 .5rem; color: var(--text-muted); font-size: .95rem; }

.contact-list { list-style: none; display: grid; gap: .85rem; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; }
.contact-list .icon { color: var(--flame-400); margin-block-start: 4px; }
.contact-list span a { display: block; }
.contact-list--compact { gap: .5rem; font-size: .95rem; }

/* ---------- 9. Footer ---------- */
.site-footer { color: var(--steel-300); background: var(--navy-950); }
.site-footer a { color: var(--steel-200); text-decoration: none; }
.site-footer a:hover { color: var(--flame-400); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 2.5rem + 3vw, 5rem); }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.5fr .8fr 1.2fr 1.2fr; } }
.site-footer__about > p { margin-block-start: 1.25rem; max-width: 420px; font-size: .95rem; }
.site-footer__badge { display: inline-flex !important; align-items: center; gap: .5rem; padding: .5rem .85rem; font-size: .85rem !important; font-weight: 600; color: var(--white); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); border-radius: 999px; }
.site-footer__badge .icon { color: var(--flame-400); }
.site-footer__title { position: relative; margin-block-end: 1.25rem; padding-block-end: .75rem; font-size: 1.1rem; color: var(--white); }
.site-footer__title::after { content: ''; position: absolute; inset-inline-start: 0; bottom: 0; width: 36px; height: 3px; border-radius: 2px; background: var(--accent); }
.site-footer__col ul:not(.contact-list) { list-style: none; display: grid; gap: .6rem; font-size: .95rem; }
.site-footer__col .contact-list { font-size: .95rem; }
.site-footer__bottom { border-block-start: 1px solid rgb(255 255 255 / .08); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding-block: 1.25rem; font-size: .87rem; }
.site-footer__bottom p { margin: 0; }

/* ---------- 10. 404 ---------- */
.not-found__inner { text-align: center; max-width: 720px; }
.not-found__code { margin: 0; font-family: 'Barlow Semi Condensed', var(--font-display); font-size: clamp(6rem, 4rem + 10vw, 11rem); font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--navy-700); }

/* ---------- 11. Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

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

@media print {
  .topbar, .site-header, .cta-band, .map-section, .site-footer__bottom .lang-switch { display: none; }
  .hero, .page-hero, .section--dark { color: #000; background: none; }
  .hero__bg, .page-hero__bg, .hero::before, .page-hero::before { display: none; }
  .hero__title, .page-hero__title { color: #000; }
}
