/* =========================================================
   NAJOOM AL MADINA — Food Industries
   Design system & styles
   ========================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

/* ---------- 2. Tokens ---------- */
:root {
  /* Brand */
  --blue: #244C7B;
  --blue-deep: #1a3a5f;
  --blue-soft: #3a6796;
  --gold: #C59D58;
  --gold-deep: #a97f3f;
  --gold-soft: #e3ca9a;
  --gold-text: #8a6a2f;      /* accessible gold on light */

  /* Neutrals */
  --ink: #17202c;
  --ink-soft: #3a4452;
  --muted: #6b7480;
  --paper: #fbf8f2;
  --paper-2: #f4efe4;
  --white: #ffffff;
  --line: #e6dfd1;
  --line-strong: #d6cdb9;

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-display-ar: 'Amiri', 'Cormorant Garamond', serif;
  --font-body-ar: 'Tajawal', 'Manrope', sans-serif;

  /* Spacing */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem;
  --s5: 1.5rem; --s6: 2rem; --s8: 3rem; --s10: 4rem;
  --s12: 6rem; --s16: 8rem;

  /* Radii / shadows */
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(23,32,44,.06), 0 1px 3px rgba(23,32,44,.04);
  --shadow: 0 10px 30px -12px rgba(23,32,44,.18), 0 4px 10px -4px rgba(23,32,44,.08);
  --shadow-lg: 0 30px 60px -20px rgba(23,32,44,.28);

  /* Layout */
  --container: 1240px;
  --container-narrow: 820px;
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: 500ms;
}

/* Arabic typography override */
html[lang="ar"] {
  --font-display: var(--font-display-ar);
  --font-body: var(--font-body-ar);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; }
html[lang="ar"] h1, html[lang="ar"] h2 { line-height: 1.3; }

/* ---------- 3. Base ---------- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 1rem;
  padding-top: var(--header-h);
}
body.page-home { padding-top: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.12; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; }
p { color: var(--ink-soft); }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--paper-2); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 62ch; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  transition: transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
[dir="rtl"] .btn svg,
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg,
[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(3px); }

.btn--primary {
  background: var(--gold);
  color: var(--blue-deep);
  box-shadow: 0 8px 22px -10px rgba(197,157,88,.7);
}
.btn--primary:hover { background: var(--gold-soft); transform: translateY(-2px); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-text); }

.btn--on-dark {
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.btn--on-dark:hover { background: rgba(255,255,255,.08); border-color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link-arrow:hover { color: var(--gold-text); border-color: var(--gold); }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.page-home .site-header { background: transparent; border-bottom-color: transparent; }
.site-header.is-scrolled,
.page-home .site-header.is-scrolled {
  background: rgba(251,248,242,.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* ---------- BRAND ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  flex-shrink: 0;
}

.brand__logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: inline-start center;
}

/* Logo Swapping Logic */
.brand__logo--light { 
  display: none; 
}

.site-footer .brand__logo--standard,
.page-home .site-header:not(.is-scrolled) .brand__logo--standard {
  display: none;
}

.site-footer .brand__logo--light,
.page-home .site-header:not(.is-scrolled) .brand__logo--light {
  display: block;
}

@media (max-width: 640px) {
  .brand__logo {
    height: 34px;
    max-width: 170px;
  }
}

/* Nav */
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a {
  font-size: .92rem;
  font-weight: 500;
  color: #FFFFFF; /* White default */
  position: relative;
  padding-block: .25rem;
  transition: color var(--dur) var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: #C59D58; /* Gold underline */
  transform: scaleX(0);
  transform-origin: inset-inline-start;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Hover and Active states */
.nav a:hover, 
.nav a[aria-current="page"] { 
  color: #C59D58; 
}

/* Fix for light backgrounds (scrolled header & inner pages) */
.site-header.is-scrolled .nav a,
body:not(.page-home) .site-header .nav a {
  color: var(--ink-soft);
}
.site-header.is-scrolled .nav a:hover,
body:not(.page-home) .site-header .nav a:hover,
.site-header.is-scrolled .nav a[aria-current="page"],
body:not(.page-home) .site-header .nav a[aria-current="page"] {
  color: #C59D58;
}

.header-actions { display: flex; align-items: center; gap: 1rem; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
  transition: all var(--dur) var(--ease);
}
.lang-switch:hover { border-color: var(--gold); color: var(--gold-text); }
.page-home .site-header:not(.is-scrolled) .lang-switch {
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.lang-switch svg { width: 14px; height: 14px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile nav drawer */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-120%);
    transition: transform var(--dur) var(--ease);
    z-index: 99;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding-block: .85rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .lang-switch { padding: .4rem .7rem; }
  /* Force solid background for the mobile dropdown menu */
  .page-home .site-header:not(.is-scrolled) .nav { 
    background: var(--paper); 
    border-bottom: 1px solid var(--line);
  }
  .page-home .site-header:not(.is-scrolled) .nav a { 
    color: var(--ink-soft); 
  }
  /* Add the gold hover state for mobile links */
  .page-home .site-header:not(.is-scrolled) .nav a:hover,
  .page-home .site-header:not(.is-scrolled) .nav a[aria-current="page"] { 
    color: #C59D58; 
  }
}

/* ---------- 6. Hero / Carousel ---------- */
.hero {
  position: relative;
  min-height: clamp(620px, 100svh, 920px);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero__track { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 900ms var(--ease);
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--header-h) + 4rem) 5rem;
}
.hero__slide.is-active { opacity: 1; }
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__slide::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,58,95,.55) 0%, rgba(26,58,95,.35) 40%, rgba(26,58,95,.82) 100%),
    linear-gradient(90deg, rgba(26,58,95,.6) 0%, rgba(26,58,95,0) 60%);
  z-index: -1;
}
[dir="rtl"] .hero__slide::after {
  background:
    linear-gradient(180deg, rgba(26,58,95,.55) 0%, rgba(26,58,95,.35) 40%, rgba(26,58,95,.82) 100%),
    linear-gradient(270deg, rgba(26,58,95,.6) 0%, rgba(26,58,95,0) 60%);
}
.hero__content { max-width: 780px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero h1 { color: #fff; margin-bottom: 1.25rem; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero p { color: rgba(255,255,255,.88); font-size: clamp(1.02rem, 1.4vw, 1.15rem); max-width: 56ch; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__controls {
  position: absolute;
  inset-inline: 0;
  bottom: 1.75rem;
  z-index: 2;
}
.hero__controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.hero__nav-group { display: flex; align-items: center; gap: 1rem; }
.hero__dots { display: flex; gap: .55rem; }
.hero__dot {
  width: 26px; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.35);
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}
.hero__dot.is-active { background: var(--gold); width: 44px; }
.hero__arrows { display: flex; gap: .5rem; }
.hero__arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease);
}
.hero__arrow:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.hero__arrow svg { width: 18px; height: 18px; }
[dir="rtl"] .hero__arrow svg { transform: scaleX(-1); }
.hero__count {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  letter-spacing: .05em;
}
.hero__count strong { color: var(--gold-soft); font-weight: 600; }

/* ---------- 7. Intro / Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.split__media--wide img { aspect-ratio: 4 / 3; }
.split__body p { margin-bottom: 1.25rem; }
.split__body h2 { margin-bottom: 1.25rem; text-wrap: balance; }

/* Feature list */
.feature-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.feature-list li {
  display: flex; gap: .85rem; align-items: flex-start;
  color: var(--ink-soft);
}
.feature-list svg { width: 20px; height: 20px; flex: none; color: var(--gold-text); margin-top: 3px; }

/* ---------- 8. Cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper-2);
  color: var(--blue);
  margin-bottom: .5rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .25rem; }
.card p { font-size: .95rem; }

/* Numbered activity rows */
.activity-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding-block: clamp(1.75rem, 3vw, 2.75rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.activity-row:first-child { border-top: 1px solid var(--line); }
.activity-row__num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  color: var(--gold-text);
  font-weight: 500;
  line-height: 1;
  min-width: 2.5ch;
}
.activity-row__body h3 { margin-bottom: .4rem; }
.activity-row__body p { max-width: 70ch; }
.activity-row__icon { display: none; }

/* ---------- 9. Product feature band ---------- */
.product-band {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.product-band h2 { color: #fff; margin-bottom: 1rem; }
.product-band p { color: rgba(255,255,255,.85); margin-bottom: 1.5rem; }
.product-band .eyebrow { color: var(--gold-soft); }
.product-band .eyebrow::before { background: var(--gold-soft); }
.product-band__media img {
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}
.product-band .link-arrow { color: var(--gold-soft); }
.product-band .link-arrow:hover { color: #fff; border-color: var(--gold-soft); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: var(--gold-soft);
  padding: .45rem .85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
html[lang="ar"] .badge { letter-spacing: 0; text-transform: none; }
.badge::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-deep);
  animation: pulse 2.4s infinite var(--ease);
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- 10. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--blue-deep);
  color: #fff;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(197,157,88,.18), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(197,157,88,.14), transparent 45%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; text-wrap: balance; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 60ch; margin: 0 auto 2rem; }
.cta-band .eyebrow { color: var(--gold-soft); justify-content: center; }
.cta-band .eyebrow::before { background: var(--gold-soft); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- 11. Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 1rem; text-wrap: balance; }
.page-hero p { max-width: 62ch; }

/* ---------- 12. Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-details { display: grid; gap: 1.5rem; }
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-item__icon {
  width: 44px; height: 44px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper-2);
  color: var(--blue);
  border-radius: 12px;
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; margin-bottom: .2rem; }
.contact-item p { font-size: .95rem; }

/* Form */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: .95rem;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gold);
  background: var(--white);
  outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.checkbox {
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: .88rem; color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.form-status {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(36,76,123,.08);
  color: var(--blue);
  font-size: .92rem;
}

/* Map */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 21 / 9;
  background: var(--paper-2);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- 13. Legal pages ---------- */
.legal { padding-block: clamp(2.5rem, 5vw, 4rem); }
.legal h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: .9rem; max-width: 72ch; }
.legal ul { list-style: disc; padding-inline-start: 1.25rem; margin-bottom: 1rem; }
.legal ul li { margin-bottom: .4rem; }
.legal .meta { font-size: .85rem; color: var(--muted); }

/* ---------- 14. Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand p { color: rgba(255,255,255,.62); font-size: .92rem; margin-top: 1rem; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1rem;
}
html[lang="ar"] .footer-col h4 { letter-spacing: 0; text-transform: none; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a, .footer-col li { font-size: .92rem; color: rgba(255,255,255,.72); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom a:hover { color: var(--gold-soft); }

/* ---------- 15. Utilities ---------- */
.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;
  top: -100px;
  inset-inline-start: 1rem;
  background: var(--blue);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ---------- 16. Responsive ---------- */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 16 / 10; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-band { grid-template-columns: 1fr; }
  .product-band__media { order: -1; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .activity-row { grid-template-columns: 1fr; gap: .5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__controls { position: static; padding-top: 2rem; }
  .hero__slide { padding-block: calc(var(--header-h) + 3rem) 2.5rem; }
  .hero__controls-inner { color: #fff; }
  .hero__count { display: none; }
}

/* ---------- 17. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero__slide { transition: opacity 1ms; }
}