/* ===================================================
   SAPL — Société Algérienne des Pneumatiques et Lubrifiants
   Main stylesheet
   =================================================== */

:root {
  --bg: #0A1219;
  --bg-2: #0F1A24;
  --bg-warm: #160F0A;
  --line: #1C2A38;
  --line-soft: #142030;
  --bone: #F2EBE0;
  --ink: #E8EEF4;
  --ink-2: #8FA1B4;
  --ink-3: #4D5C6E;
  --blue: #B8CDE0;
  --orange: #E8541C;
  --orange-soft: #FF6B30;
  --amber: #FFC83A;

  --container: min(1320px, 92vw);
  --gutter: clamp(20px, 4vw, 60px);

  --display: "Fraunces", "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --arabic: "Reem Kufi", "Noto Naskh Arabic", "Noto Sans Arabic", sans-serif;
  --arabic-body: "Noto Naskh Arabic", "Reem Kufi", sans-serif;

  --header-h: 78px;
}

/* ============== RESET ============== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

.container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ============== ATMOSPHERIC LAYERS ============== */
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
}
.bg-noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.7;
  mix-blend-mode: overlay;
}
.bg-aura {
  position: absolute; top: 380px; left: 50%;
  width: 1100px; height: 1100px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232, 84, 28, 0.20), transparent 55%);
  filter: blur(60px);
  pointer-events: none; z-index: 0;
  animation: pulse 9s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.95); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* ============== HEADER ============== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(10, 18, 25, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}
.topbar.scrolled {
  background: rgba(10, 18, 25, 0.92);
  border-bottom-color: var(--line);
  padding: 14px 0;
}
.topbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 0 var(--gutter);
}
.wordmark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: color 0.2s ease;
}
.wordmark:hover { color: var(--bone); }
.wordmark-icon {
  width: 38px;
  height: 38px;
  flex: none;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.nav a::after {
  content: "";
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width 0.3s ease;
}
.nav a:hover { color: var(--bone); }
.nav a:hover::after { width: 100%; }
.nav a.active { color: var(--bone); }
.nav a.active::after { width: 100%; }

.topbar-right {
  display: flex; align-items: center; gap: 16px;
}

.lang-switch {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-2);
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.lang-switch:hover { border-color: var(--orange); color: var(--bone); }
.lang-switch .lang-divider { color: var(--ink-3); }
.lang-switch .lang-ar {
  font-family: var(--arabic);
  font-size: 13px;
  letter-spacing: 0;
}
[lang="fr"] .lang-switch .lang-fr { color: var(--bone); }
[lang="ar"] .lang-switch .lang-ar { color: var(--bone); }

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 40px; height: 40px;
  padding: 0;
  position: relative;
}
.menu-btn span {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 16px; height: 1px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 19px; }
.menu-btn span:nth-child(3) { top: 24px; }
.menu-btn.open span:nth-child(1) { top: 19px; transform: translateX(-50%) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { top: 19px; transform: translateX(-50%) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: rgba(10, 18, 25, 0.98);
  backdrop-filter: blur(20px);
  z-index: 90;
  padding: 40px var(--gutter);
  display: flex; flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.4, 1);
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu a {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-variation-settings: "SOFT" 50;
}

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .topbar-inner { grid-template-columns: auto 1fr auto; }
}

/* ============== HERO ============== */
.hero {
  position: relative; z-index: 5;
  padding: calc(var(--header-h) + 60px) 0 80px;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
}
.hero-meta {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 36px;
  padding: 0 var(--gutter);
}
.hero-meta::before {
  content: ""; width: 36px; height: 1px; background: var(--orange);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: end;
  padding: 0 var(--gutter);
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.55fr 1fr; gap: 80px; }
}
.display {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(64px, 13vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--bone);
  font-variation-settings: "SOFT" 50, "opsz" 144;
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--blue);
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.display .display-end {
  display: inline-block;
  white-space: nowrap;
}
.display .dot {
  display: inline-block;
  width: 0.16em; height: 0.16em;
  border-radius: 50%;
  background: var(--orange);
  margin-left: 0.04em;
  vertical-align: baseline;
  transform: translateY(-0.04em);
  box-shadow: 0 0 30px rgba(232, 84, 28, 0.5);
  animation: dotPulse 3s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { transform: translateY(-0.04em) scale(1); box-shadow: 0 0 30px rgba(232, 84, 28, 0.5); }
  50% { transform: translateY(-0.04em) scale(1.15); box-shadow: 0 0 50px rgba(232, 84, 28, 0.8); }
}
.hero-arabic {
  font-family: var(--arabic);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 400;
  color: var(--ink-2);
  margin: 24px 0 0;
  direction: rtl;
  letter-spacing: 0;
  opacity: 0.85;
}
.hero-side { padding-bottom: 8px; }
.hero-lede {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 460px;
  font-variation-settings: "SOFT" 100;
}
.hero-lede strong {
  font-style: normal;
  font-weight: 400;
  color: var(--bone);
}
.hero-stats {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.stat-value {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  color: var(--bone);
  letter-spacing: -0.005em;
}
.stat-value .num {
  font-variant-numeric: tabular-nums;
  color: var(--amber);
}

.scroll-cue {
  margin: 60px var(--gutter) 0;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  width: fit-content;
  align-self: flex-start;
  transition: color 0.25s ease;
}
.scroll-cue:hover { color: var(--bone); }
.scroll-cue::after {
  content: ""; width: 60px; height: 1px;
  background: linear-gradient(to right, var(--ink-3), transparent);
  animation: slide 2.5s ease-in-out infinite;
}
@keyframes slide {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(8px); opacity: 1; }
}

/* ============== MARQUEE ============== */
.marquee {
  position: relative; z-index: 5;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  background: var(--bg-2);
}
.marquee-track {
  display: flex; gap: 56px;
  width: max-content;
  animation: scroll 60s linear infinite;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.marquee-track > span { white-space: nowrap; }
.marquee-track .sep { color: var(--orange); font-size: 6px; align-self: center; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============== SECTIONS ============== */
.section {
  position: relative; z-index: 5;
  padding: clamp(80px, 14vh, 160px) 0;
}
.section > .container { padding: 0 var(--gutter); }

.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 16px;
  padding: 30px 0 50px;
  border-top: 1px solid var(--line);
}
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.section-label .marker { color: var(--orange); }
.section-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.section-title {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 300;
  margin: 0 0 24px;
  color: var(--bone);
  font-variation-settings: "SOFT" 50;
}
.section-title em {
  font-style: italic;
  color: var(--blue);
  font-variation-settings: "SOFT" 100;
}
.section-arabic {
  font-family: var(--arabic);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.5;
  direction: rtl;
  color: var(--ink-2);
  margin: 24px 0 0;
  font-weight: 500;
}

/* ============== ABOUT ============== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 80px;
}
@media (min-width: 880px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
}
.about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 20px;
  max-width: 540px;
}
.about-text p strong {
  color: var(--ink);
  font-weight: 500;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 60px;
}
@media (min-width: 720px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value {
  background: var(--bg);
  padding: 36px 30px 40px;
  transition: background 0.3s ease;
}
.value:hover { background: var(--bg-2); }
.value-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--orange);
  margin-bottom: 24px;
}
.value-title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--bone);
}
.value-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

/* ============== PRODUCTS ============== */
.product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.product:first-of-type { border-top: 1px solid var(--line); }
@media (min-width: 880px) {
  .product { grid-template-columns: 80px 130px 1.4fr 200px; gap: 48px; }
}
.product-num {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 300;
  color: var(--orange);
  letter-spacing: -0.02em;
  font-style: italic;
  line-height: 1;
  font-variation-settings: "SOFT" 100;
}
.product-icon {
  width: 100%;
  max-width: 130px;
  aspect-ratio: 1;
  color: var(--blue);
}
.product-content { max-width: 580px; }
.product-title {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--bone);
  display: flex; align-items: baseline; gap: 16px;
  flex-wrap: wrap;
}
.product-title .ar {
  font-family: var(--arabic);
  font-size: 0.55em;
  color: var(--ink-2);
  direction: rtl;
  font-weight: 400;
}
.product-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 20px;
}
.product-tags {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.product-tags li {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 6px 12px;
}
.product-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  line-height: 1.9;
  display: flex; flex-direction: column;
}
.product-meta strong {
  display: block;
  color: var(--bone);
  font-weight: 500;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
}

/* ============== NETWORK ============== */
.network-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 60px;
  align-items: end;
}
@media (min-width: 880px) {
  .network-head { grid-template-columns: 1fr auto; }
}
.big-number {
  font-family: var(--display);
  font-size: clamp(120px, 18vw, 240px);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--orange);
  margin: 0;
  font-style: italic;
  font-variation-settings: "SOFT" 100;
  text-align: right;
}
.big-number sup {
  font-size: 0.18em;
  color: var(--ink-2);
  font-style: normal;
  letter-spacing: 0.1em;
  font-family: var(--mono);
  vertical-align: top;
  margin-left: 8px;
  font-weight: 400;
}

.wilaya-wall {
  column-count: 2;
  column-gap: 32px;
  column-rule: 1px solid var(--line-soft);
  padding-top: 40px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
}
@media (min-width: 640px) { .wilaya-wall { column-count: 3; } }
@media (min-width: 880px) { .wilaya-wall { column-count: 4; } }
@media (min-width: 1100px) { .wilaya-wall { column-count: 5; } }
.wilaya-wall .w {
  display: flex; align-items: baseline; gap: 8px;
  break-inside: avoid;
  transition: color 0.2s ease;
}
.wilaya-wall .w:hover { color: var(--bone); }
.wilaya-wall .code {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  min-width: 22px;
  font-variant-numeric: tabular-nums;
}
.wilaya-wall .new-mark {
  color: var(--orange);
  font-size: 10px;
  margin-left: 4px;
}
.wilaya-foot {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.wilaya-foot .legend { display: inline-flex; align-items: baseline; gap: 6px; }
.wilaya-foot .legend .new-mark { color: var(--orange); font-size: 12px; }

/* ============== PARTNERSHIP ============== */
.partnership {
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: clamp(80px, 14vh, 140px) 0;
}
.partnership::before {
  content: ""; position: absolute;
  top: 50%; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232, 84, 28, 0.12), transparent 60%);
  transform: translateY(-50%);
  filter: blur(40px);
}
.partnership-inner { position: relative; }
.partnership-headline-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
}
@media (min-width: 980px) {
  .partnership-headline-row {
    grid-template-columns: 1fr auto;
    gap: 60px;
  }
}
.partnership-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 0 30px rgba(232, 84, 28, 0.15));
  justify-self: end;
  transition: opacity 0.3s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.partnership-logo:hover {
  opacity: 1;
  transform: rotate(2deg) scale(1.02);
}
@media (max-width: 980px) {
  .partnership-logo { max-width: 200px; justify-self: center; }
}
.exclusive-headline {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 100px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 300;
  margin: 0 0 32px;
  color: var(--bone);
  font-variation-settings: "SOFT" 50;
}
.exclusive-headline em {
  font-style: italic;
  color: var(--orange);
  font-variation-settings: "SOFT" 100;
}
.partnership-lede {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  color: var(--ink);
  max-width: 680px;
  margin: 0 0 60px;
  font-variation-settings: "SOFT" 100;
}
.partnership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(232, 84, 28, 0.2);
}
@media (min-width: 720px) { .partnership-grid { grid-template-columns: repeat(2, 1fr); gap: 48px; } }
@media (min-width: 1080px) { .partnership-grid { grid-template-columns: repeat(4, 1fr); } }
.cell-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.cell-value {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.45;
}

/* ============== CONTACT ============== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
@media (min-width: 920px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; }
}
.contact-lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 32px 0 40px;
  max-width: 460px;
}
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.info-cell { display: flex; flex-direction: column; gap: 6px; }
.info-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.info-value {
  font-family: var(--display);
  font-size: 16px;
  color: var(--ink);
  font-weight: 400;
  transition: color 0.2s ease;
}
a.info-value:hover { color: var(--blue); }

/* ============== CONTACT FORM ============== */
.contact-form {
  display: flex; flex-direction: column;
  gap: 24px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 540px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field {
  display: flex; flex-direction: column;
  gap: 8px;
}
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 0;
  outline: none;
  transition: border-color 0.25s ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--orange);
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%238FA1B4' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
  cursor: pointer;
}
.field select option {
  background: var(--bg-2);
  color: var(--ink);
}
.field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--sans);
}

.form-submit {
  align-self: flex-start;
  background: transparent;
  color: var(--orange);
  border: none;
  padding: 18px 0 14px;
  border-bottom: 1px solid var(--orange);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 12px;
  transition: gap 0.25s ease, color 0.25s ease;
  margin-top: 16px;
}
.form-submit:hover { gap: 18px; color: var(--orange-soft); }
.form-submit:disabled { color: var(--ink-3); border-bottom-color: var(--ink-3); cursor: not-allowed; }
.form-submit .arrow {
  width: 16px; height: 1px; background: currentColor; position: relative;
}
.form-submit .arrow::after {
  content: "";
  position: absolute; right: 0; top: 50%;
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.form-status {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-2);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  min-height: 18px;
}
.form-status.success { color: var(--amber); }
.form-status.error { color: var(--orange-soft); }

/* ============== FOOTER ============== */
.footer {
  position: relative; z-index: 5;
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
  background: var(--bg-2);
}
.footer .container { padding: 0 var(--gutter); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }
.footer-tag {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  max-width: 320px;
  font-variation-settings: "SOFT" 100;
}
.footer-col {
  display: flex; flex-direction: column;
  gap: 12px;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 8px;
  font-weight: 500;
}
.footer-col a, .footer-col span {
  font-family: var(--display);
  font-size: 16px;
  color: var(--ink);
  font-weight: 400;
  transition: color 0.2s ease;
  letter-spacing: -0.005em;
}
.footer-col a:hover { color: var(--blue); }

.colophon {
  padding-top: 24px;
  display: flex; flex-wrap: wrap;
  gap: 20px; align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.colophon-left,
.colophon-center,
.colophon-right { flex: 1 1 200px; }
.colophon-left { text-align: start; }
.colophon-center { text-align: center; }
.colophon-right { text-align: end; }
.colophon a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.colophon a:hover { color: var(--orange); }

.colophon-credit {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.colophon-credit a {
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: 0.04em;
  font-weight: 500;
  transition: color 0.2s ease;
}
.colophon-credit a:hover { color: var(--orange); }

/* ============== ANIMATIONS ============== */
.fade { opacity: 0; transform: translateY(24px); animation: fadeUp 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.d1 { animation-delay: 0.05s; } .d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.34s; } .d4 { animation-delay: 0.52s; }
.d5 { animation-delay: 0.72s; } .d6 { animation-delay: 0.94s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .bg-aura, .marquee-track, .display .dot, .scroll-cue::after { animation: none; }
  .fade, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================
   RTL SUPPORT — Arabic mode
   ============================================ */
[lang="ar"] body {
  font-family: var(--arabic-body);
}
[lang="ar"] .display,
[lang="ar"] .section-title,
[lang="ar"] .exclusive-headline,
[lang="ar"] .product-title,
[lang="ar"] .value-title,
[lang="ar"] .info-value,
[lang="ar"] .stat-value,
[lang="ar"] .cell-value,
[lang="ar"] .footer-tag,
[lang="ar"] .hero-lede,
[lang="ar"] .partnership-lede,
[lang="ar"] .footer-col a,
[lang="ar"] .footer-col span {
  font-family: var(--arabic);
  letter-spacing: 0;
  font-variation-settings: normal;
}
[lang="ar"] .display em,
[lang="ar"] .section-title em,
[lang="ar"] .exclusive-headline em,
[lang="ar"] .hero-lede,
[lang="ar"] .partnership-lede {
  font-style: normal;
}
[lang="ar"] .display { font-size: clamp(56px, 11vw, 170px); line-height: 1.1; }
[lang="ar"] .section-title { line-height: 1.2; }
[lang="ar"] .exclusive-headline { line-height: 1.2; }

[lang="ar"] .topbar-inner,
[lang="ar"] .container { direction: rtl; }
[lang="ar"] .nav { direction: rtl; }
[lang="ar"] .hero-meta { direction: rtl; }
[lang="ar"] .hero-meta::before { margin-left: 0; }
[lang="ar"] .section-head,
[lang="ar"] .network-head,
[lang="ar"] .wilaya-foot,
[lang="ar"] .colophon,
[lang="ar"] .hero-grid,
[lang="ar"] .about-grid,
[lang="ar"] .contact-grid,
[lang="ar"] .partnership-grid,
[lang="ar"] .contact-info,
[lang="ar"] .field-row,
[lang="ar"] .footer-grid {
  direction: rtl;
}
[lang="ar"] .product-title { direction: rtl; }
[lang="ar"] .product-title .ar { direction: rtl; font-family: var(--arabic-body); font-size: 1em; }
[lang="ar"] .product-title > span:first-child { display: none; }
[lang="ar"] .product-tags { direction: rtl; }
[lang="ar"] .hero-arabic,
[lang="ar"] .section-arabic { display: none; } /* avoid duplication when in AR */

[lang="ar"] .scroll-cue::after { display: none; }
[lang="ar"] .scroll-cue::before {
  content: ""; width: 60px; height: 1px;
  background: linear-gradient(to left, var(--ink-3), transparent);
  animation: slide 2.5s ease-in-out infinite;
}

[lang="ar"] .form-submit { flex-direction: row-reverse; }
[lang="ar"] .form-submit .arrow { transform: scaleX(-1); }
[lang="ar"] .field input,
[lang="ar"] .field select,
[lang="ar"] .field textarea { text-align: right; }
[lang="ar"] .field select {
  background-position: left 4px center;
  padding-right: 0;
  padding-left: 28px;
}

[lang="ar"] .marquee-track { animation-direction: reverse; }

[lang="ar"] .big-number { text-align: left; direction: ltr; }

[lang="ar"] .wilaya-wall { direction: rtl; }
[lang="ar"] .wilaya-wall .w { flex-direction: row-reverse; justify-content: flex-end; }
