/* ============================================================
   El-Sadeem — Frontend Stylesheet (v5)
   Aesthetic: refined institutional agritech.
   Warm paper canvas · deep forest panels · luminous green accent.
   Backend-themeable: --page-bg / --surface / --accent.
   Direction-aware (RTL for AR, LTR for EN) via logical properties.
   ============================================================ */

:root {
  /* ---- Backend-controllable theme tokens (overridden by JS) ---- */
  --page-bg: #fbfbf6;
  --surface: #f3f5ec;
  --accent: #7fbd79;
  --accent-soft: #e9f6e4;
  --accent-dark: #2c6b43;

  /* ---- Ink / neutrals ---- */
  --black: #0b140e;
  --ink: #1c241f;
  --muted: #6a716a;
  --faint: #9aa097;
  --white: #ffffff;

  /* ---- On-canvas text (adapts to page background luminance via JS) ---- */
  --text: var(--ink);
  --text-strong: var(--black);
  --text-muted: var(--muted);

  /* ---- Forest dark panels ---- */
  --forest: #0c1711;
  --forest-2: #0f2017;

  /* ---- Lines ---- */
  --line: rgba(12, 23, 17, .09);
  --line-strong: rgba(12, 23, 17, .16);
  --line-dark: rgba(255, 255, 255, .12);

  /* ---- Shape ---- */
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --container: 1240px;
  --header-height: 80px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --shadow-sm: 0 4px 18px rgba(12, 23, 17, .05);
  --shadow: 0 22px 60px rgba(12, 23, 17, .08);
  --shadow-lg: 0 40px 110px rgba(12, 23, 17, .12);
  --shadow-glow: 0 30px 90px rgba(127, 189, 121, .22);

  --font-latin: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-ar: "Cairo", "IBM Plex Sans Arabic", "Noto Kufi Arabic", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-latin);
  color: var(--text);
  background: var(--page-bg);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 450;
  letter-spacing: -0.003em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Arabic typography */
[dir="rtl"] body,
[dir="rtl"] { font-family: var(--font-ar); letter-spacing: 0; }
[dir="rtl"] { --font-display: var(--font-ar); }

/* Subtle paper grain on the whole canvas */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 600px at 88% -8%, rgba(127, 189, 121, .12), transparent 60%),
    radial-gradient(900px 520px at -6% 12%, rgba(44, 107, 67, .07), transparent 55%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--accent); color: var(--black); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -80px; z-index: 999;
  background: var(--black); color: var(--white); padding: 10px 16px;
  border-radius: 999px; transition: top .2s; font-weight: 700; font-size: 13px;
}
.skip-link:focus { top: 12px; }

.page-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1000; background: transparent; }
.page-progress span {
  display: block; height: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
}
[dir="rtl"] .page-progress span { transform-origin: right; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 120; height: var(--header-height);
  background: color-mix(in srgb, var(--page-bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(12, 23, 17, .06);
}
.header-inner {
  width: min(1440px, calc(100% - 48px)); height: 100%; margin-inline: auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 200px; height: auto; transition: transform .3s var(--ease); }
.brand:hover img { transform: scale(1.02); }

.site-nav { display: flex; align-items: center; justify-content: center; gap: 2px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; min-height: 38px;
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--text); letter-spacing: -0.01em;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 5px; height: 2px;
  border-radius: 2px; background: var(--accent); transform: scaleX(0);
  transform-origin: center; transition: transform .28s var(--ease);
}
.nav-link:hover { color: var(--text-strong); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { background: var(--black); color: var(--white); }
.nav-link.active::after { transform: scaleX(0); }

/* Arabic-only larger navbar */
[dir="rtl"] .nav-link { font-size: 16.5px; font-weight: 700; padding: 8px 16px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  min-width: 56px; height: 44px; border-radius: 999px; padding: 0 16px;
  border: 1px solid var(--line-strong); background: var(--white); color: var(--black);
  font-size: 13px; font-weight: 800; letter-spacing: .02em; cursor: pointer;
  transition: all .25s var(--ease);
}
.lang-toggle:hover { border-color: var(--black); background: var(--black); color: var(--white); transform: translateY(-1px); }
[dir="rtl"] .lang-toggle { font-size: 15px; font-family: var(--font-latin); }

.menu-toggle {
  display: none; width: 46px; height: 44px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: var(--white); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 13px 26px; border-radius: 999px;
  border: 1px solid var(--black); background: var(--black); color: var(--white);
  font-family: var(--font-latin); font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease);
}
[dir="rtl"] .btn { font-family: var(--font-ar); font-weight: 800; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--accent), var(--accent-dark));
  transform: translateY(101%); transition: transform .4s var(--ease);
}
.btn:hover { color: var(--black); border-color: transparent; transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn:hover::before { transform: translateY(0); }
.btn-small { min-height: 44px; padding: 10px 18px; font-size: 13px; }
.btn-compact { min-height: 46px; padding: 11px 20px; }
.btn-secondary {
  background: transparent; color: var(--text-strong); border-color: var(--line-strong);
}
.btn-secondary:hover { color: var(--black); border-color: transparent; }
.btn-light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-light:hover { color: var(--black); }

/* ============================================================
   SECTION SHELL · EYEBROW · HEADINGS
   ============================================================ */
.section { position: relative; padding: 96px 0; scroll-margin-top: calc(var(--header-height) + 20px); }
.soft-section { background: var(--surface); }
.section.has-bg { overflow: hidden; }
.section.has-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--page-bg) 90%, transparent), color-mix(in srgb, var(--page-bg) 94%, transparent)),
    var(--section-bg-image);
  background-size: cover; background-position: center;
}
.soft-section.has-bg::before {
  background-image:
    linear-gradient(color-mix(in srgb, var(--surface) 90%, transparent), color-mix(in srgb, var(--surface) 94%, transparent)),
    var(--section-bg-image);
}
.section.has-bg > * { position: relative; z-index: 1; }

.section-head { max-width: 740px; text-align: start; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-dark);
  font-family: var(--font-latin); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  line-height: 1.4;
}
[dir="rtl"] .eyebrow { font-family: var(--font-ar); letter-spacing: 0; text-transform: none; font-size: 14px; padding: 6px 10px 6px 16px; }
.eyebrow::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 28%, transparent);
}
.eyebrow.dark { background: rgba(127, 189, 121, .14); color: var(--accent); }

.section-head h2, .hero-copy h1, .asset-statement h2 {
  margin: 0; color: var(--text-strong); font-family: var(--font-display);
  font-weight: 700; line-height: 1.18; letter-spacing: -0.025em;
}
[dir="rtl"] .section-head h2,
[dir="rtl"] .hero-copy h1,
[dir="rtl"] .asset-statement h2 { font-family: var(--font-ar); font-weight: 800; line-height: 1.4; letter-spacing: 0; }

.section-head h2, .asset-statement h2 { font-size: clamp(26px, 2.4vw, 38px); }
.section-head .lead { margin: 14px 0 0; color: var(--text); font-size: clamp(17px, 1.2vw, 20px); font-weight: 550; line-height: 1.7; }
.section-head p:not(.lead) { margin: 12px 0 0; color: var(--text-muted); font-size: 16px; line-height: 1.85; max-width: 660px; }

/* ============================================================
   ICONS
   ============================================================ */
.ui-icon {
  width: 50px; height: 50px; flex: 0 0 50px; display: inline-grid; place-items: center;
  border-radius: 16px; background: var(--accent-soft); color: var(--accent-dark);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.ui-icon svg { width: 24px; height: 24px; }
.ui-icon.mini { width: 40px; height: 40px; flex-basis: 40px; border-radius: 13px; }
.ui-icon.mini svg { width: 20px; height: 20px; }
.emoji-icon { font-size: 22px; line-height: 1; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: clamp(48px, 6vw, 84px) 0 64px;
  min-height: calc(100svh - var(--header-height));
  display: grid; align-items: center; overflow: hidden;
  background: var(--page-bg);
}
.hero-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 82% 30%, rgba(127, 189, 121, .16), transparent 70%),
    radial-gradient(50% 50% at 0% 80%, rgba(44, 107, 67, .08), transparent 70%);
}
.hero-pattern::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 75%);
}
.hero-shell {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, .82fr);
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.hero-copy { padding: 8px 0; }
.hero-copy h1 { font-size: clamp(33px, 3.4vw, 52px); max-width: 14ch; }
[dir="rtl"] .hero-copy h1 { font-size: clamp(28px, 3vw, 46px); max-width: 18ch; }
.hero-subtitle { margin: 20px 0 0; color: var(--text-strong); font-size: clamp(18px, 1.4vw, 22px); font-weight: 650; line-height: 1.6; max-width: 36ch; }
[dir="rtl"] .hero-subtitle { font-weight: 700; }
.hero-desc { margin: 16px 0 0; max-width: 52ch; color: var(--text-muted); font-size: 16.5px; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Hero visual — premium dark ecosystem panel */
.hero-visual {
  position: relative; width: 100%; max-width: 540px; justify-self: center;
  border-radius: var(--radius-xl); padding: 24px;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(127, 189, 121, .22), transparent 55%),
    linear-gradient(160deg, var(--forest-2), var(--forest));
  color: var(--white); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .08); overflow: hidden;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.visual-topline { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; color: rgba(255, 255, 255, .82); font-size: 13px; font-weight: 700; }
.visual-topline span { width: 90px; height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--accent), transparent); }
.visual-illustration {
  position: relative; display: grid; place-items: center; min-height: 290px;
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .08);
}
.visual-illustration img { width: 100%; height: 290px; object-fit: cover; }
.visual-illustration > .ui-icon { width: 90px; height: 90px; border-radius: 26px; background: rgba(127, 189, 121, .16); color: var(--accent); border-color: rgba(127, 189, 121, .3); }
.visual-illustration > .ui-icon svg { width: 44px; height: 44px; }
.stat-cloud { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.stat-cloud article {
  display: flex; gap: 12px; align-items: center; min-width: 0; padding: 14px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px;
  background: rgba(255, 255, 255, .05); transition: background .25s var(--ease), border-color .25s var(--ease);
}
.stat-cloud article:hover { background: rgba(127, 189, 121, .12); border-color: rgba(127, 189, 121, .35); }
.stat-cloud .ui-icon { background: rgba(127, 189, 121, .16); color: var(--accent); border-color: rgba(127, 189, 121, .28); }
.stat-cloud strong { display: block; font-size: 15px; line-height: 1.3; color: var(--white); font-weight: 700; }
.stat-cloud span { display: block; color: rgba(255, 255, 255, .62); font-size: 12px; font-weight: 500; }

.insight-row { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.insight-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
  padding: 26px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.insight-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: inline-start; transition: transform .35s var(--ease); }
.insight-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.insight-card:hover::before { transform: scaleX(1); }
.insight-card:hover .ui-icon { background: var(--accent); color: var(--white); transform: rotate(-4deg); }
.insight-card > span { display: block; margin-top: 14px; color: var(--accent-dark); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.insight-card h3 { margin: 8px 0 8px; font-size: 19px; line-height: 1.4; color: var(--black); font-family: var(--font-display); font-weight: 600; }
[dir="rtl"] .insight-card h3 { font-family: var(--font-ar); font-weight: 800; }
.insight-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.75; }

/* ============================================================
   Shared card primitives
   ============================================================ */
.sector-card, .insight-card, .process-card, .asset-list article, .reason-card,
.location-grid article, .sustain-cards article, .highlight-grid article {
  position: relative;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .82fr); gap: 40px; align-items: center; }
.about-copy { display: grid; align-content: center; gap: 24px; }
.about-panel {
  display: grid; gap: 18px; align-content: start; padding: 30px;
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  background: linear-gradient(165deg, var(--white), color-mix(in srgb, var(--surface) 60%, var(--white)));
  box-shadow: var(--shadow-sm);
}
.panel-badge { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 9px 15px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 700; border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); }
.panel-badge .ui-icon { background: transparent; border: 0; width: 22px; height: 22px; flex-basis: 22px; }
.panel-badge .ui-icon svg { width: 18px; height: 18px; }
.about-panel p { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.85; }
.about-image { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); min-height: 200px; }
.about-image img { width: 100%; height: 100%; max-height: 260px; object-fit: cover; }
.highlight-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.highlight-grid article {
  display: grid; gap: 16px; align-content: start; padding: 22px; min-height: 160px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.highlight-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.highlight-grid article:hover .ui-icon { background: var(--accent); color: var(--white); }
.highlight-grid span { color: var(--black); font-size: 15px; font-weight: 600; line-height: 1.6; }

/* ============================================================
   SECTORS
   ============================================================ */
.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; align-items: stretch; }
.sector-card {
  display: flex; flex-direction: column; gap: 8px; padding: 28px; min-height: 250px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.sector-card::after { content: ""; position: absolute; inset-inline-end: -40px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); opacity: 0; transition: opacity .35s var(--ease); }
.sector-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.sector-card:hover::after { opacity: 1; }
.sector-card:hover .ui-icon { background: var(--accent); color: var(--white); transform: rotate(-4deg); }
.sector-card h3 { margin: 18px 0 6px; font-size: 21px; line-height: 1.4; color: var(--black); font-family: var(--font-display); font-weight: 600; }
[dir="rtl"] .sector-card h3, [dir="rtl"] .process-card h3, [dir="rtl"] .asset-list h3,
[dir="rtl"] .reason-card h3, [dir="rtl"] .location-grid h3, [dir="rtl"] .sustain-cards h3,
[dir="rtl"] .contact-channels strong { font-family: var(--font-ar); font-weight: 800; }
.sector-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.section-action { display: flex; justify-content: center; margin-top: 36px; }

/* ============================================================
   MODEL
   ============================================================ */
.model-grid { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr); gap: 52px; align-items: start; }
.sticky-copy { position: sticky; top: calc(var(--header-height) + 28px); display: grid; gap: 24px; align-items: start; }
.process-cards { display: grid; gap: 16px; counter-reset: step; }
.process-card {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
  box-shadow: var(--shadow-sm); position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.process-card:hover { transform: translateX(0) translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.process-card:hover .ui-icon { background: var(--accent); color: var(--white); }
.process-label { display: inline-block; color: var(--accent-dark); font-size: 12.5px; font-weight: 700; margin-bottom: 5px; letter-spacing: .02em; }
.process-card h3 { margin: 0 0 7px; font-size: 20px; line-height: 1.4; color: var(--black); font-family: var(--font-display); font-weight: 600; }
.process-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }

/* ============================================================
   ASSETS
   ============================================================ */
.assets-layout { display: grid; grid-template-columns: minmax(340px, .88fr) minmax(0, 1.12fr); gap: 26px; align-items: stretch; }
.asset-statement {
  position: relative; border-radius: var(--radius-xl); padding: 40px;
  background:
    radial-gradient(120% 90% at 85% 8%, rgba(127, 189, 121, .2), transparent 55%),
    linear-gradient(160deg, var(--forest-2), var(--forest));
  color: var(--white); min-height: 460px; display: grid; align-content: center; gap: 16px; overflow: hidden;
  box-shadow: var(--shadow);
}
.asset-statement::after { content: ""; position: absolute; inset-inline-end: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(127, 189, 121, .3), transparent 70%); }
.asset-statement::before {
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.asset-statement > * { position: relative; z-index: 1; }
.asset-statement h2 { color: var(--white); }
.asset-statement p { color: rgba(255, 255, 255, .76); margin: 0; max-width: 48ch; font-size: 17.5px; line-height: 1.9; }
.asset-statement .btn-light { margin-top: 8px; width: fit-content; }
.asset-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.asset-list article {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 24px; min-height: 150px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.asset-list article:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.asset-list article:hover .ui-icon { background: var(--accent); color: var(--white); }
.asset-list h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.4; color: var(--black); font-family: var(--font-display); font-weight: 600; }
.asset-list p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.78; }

/* ============================================================
   WHY
   ============================================================ */
.why-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.reason-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.reason-card {
  grid-column: span 3; min-height: 210px; padding: 26px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.reason-card:nth-child(1), .reason-card:nth-child(4) { grid-column: span 3; }
.reason-card:nth-child(n+5) { grid-column: span 4; }
.reason-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.reason-card:hover .ui-icon { background: var(--accent); color: var(--white); }
.reason-card h3 { margin: 16px 0 7px; font-size: 18px; line-height: 1.4; color: var(--black); font-family: var(--font-display); font-weight: 600; }
[dir="rtl"] .reason-card h3 { font-family: var(--font-ar); font-weight: 800; }
.reason-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }

/* ============================================================
   PRESENCE
   ============================================================ */
.presence-grid { display: grid; grid-template-columns: minmax(380px, 500px) minmax(0, 1fr); gap: 52px; align-items: center; }
.presence-visual {
  position: relative; min-height: 440px; border-radius: var(--radius-xl); overflow: hidden;
  display: grid; place-items: center; box-shadow: var(--shadow);
  background:
    radial-gradient(80% 80% at 50% 30%, rgba(127, 189, 121, .18), transparent 60%),
    linear-gradient(160deg, var(--forest-2), var(--forest));
}
.presence-visual img { width: 78%; max-height: 340px; object-fit: contain; position: relative; z-index: 1; }
.presence-visual > .ui-icon { width: 90px; height: 90px; border-radius: 26px; background: rgba(127, 189, 121, .16); color: var(--accent); border-color: rgba(127, 189, 121, .3); z-index: 1; }
.presence-visual > .ui-icon svg { width: 44px; height: 44px; }
.route-line { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 72px 72px; }
.route-line span { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(127, 189, 121, .4); animation: ping 2.8s var(--ease) infinite; }
.route-line span:nth-child(1) { inset-inline-start: 22%; top: 38%; animation-delay: 0s; }
.route-line span:nth-child(2) { inset-inline-start: 52%; top: 54%; animation-delay: .9s; }
.route-line span:nth-child(3) { inset-inline-start: 74%; top: 34%; animation-delay: 1.8s; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(127, 189, 121, .4); } 70%, 100% { box-shadow: 0 0 0 22px rgba(127, 189, 121, 0); } }
.location-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.location-grid article {
  display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--white); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.location-grid article:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.location-grid h3 { margin: 0 0 4px; font-size: 17px; color: var(--black); font-family: var(--font-display); font-weight: 600; }
.location-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ============================================================
   SUSTAINABILITY
   ============================================================ */
.sustain-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 30px; align-items: stretch; }
.sustain-grid > div { display: flex; flex-direction: column; }
.sustain-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; flex: 1; }
.sustain-cards article {
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
  box-shadow: var(--shadow-sm); min-height: 200px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.sustain-cards article:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.sustain-cards article:hover .ui-icon { background: var(--accent); color: var(--white); }
.sustain-cards h3 { margin: 16px 0 7px; font-size: 18px; line-height: 1.4; color: var(--black); font-family: var(--font-display); font-weight: 600; }
.sustain-cards p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.mission-card {
  display: grid; gap: 16px; border-radius: var(--radius-xl); padding: 30px; height: 100%;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  background:
    radial-gradient(110% 80% at 15% 0%, rgba(127, 189, 121, .18), transparent 55%),
    linear-gradient(160deg, var(--forest-2), var(--forest));
  color: var(--white); box-shadow: var(--shadow);
}
.mission-card > div { display: grid; align-content: start; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg); padding: 22px; background: rgba(255, 255, 255, .05); }
.mission-card .ui-icon { background: rgba(127, 189, 121, .16); color: var(--accent); border-color: rgba(127, 189, 121, .28); }
.mission-card span { display: block; margin-top: 14px; font-size: 18px; font-weight: 700; color: var(--accent); }
.mission-card p { margin: 8px 0 0; color: rgba(255, 255, 255, .76); font-size: 15px; line-height: 1.8; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 26px; align-items: start; }
.contact-card {
  padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-xl);
  background: linear-gradient(165deg, var(--white), color-mix(in srgb, var(--surface) 55%, var(--white)));
  box-shadow: var(--shadow-sm);
}
.contact-channels { display: grid; gap: 12px; margin-top: 26px; }
.contact-channels a { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.contact-channels a:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: var(--shadow-sm); }
.contact-channels a:hover .ui-icon { background: var(--accent); color: var(--white); }
.contact-channels span { display: block; color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.contact-channels strong { display: block; font-size: 15px; word-break: break-word; color: var(--black); }
.socials { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.socials a { border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; background: var(--white); font-size: 13px; font-weight: 600; transition: all .25s var(--ease); }
.socials a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); transform: translateY(-2px); }
.contact-form { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 9px; color: var(--black); font-size: 14.5px; font-weight: 600; }
.field.full { grid-column: 1 / -1; }
.field span { display: flex; align-items: center; gap: 8px; }
.field em { color: var(--accent-dark); font-style: normal; font-size: 12px; font-weight: 700; }
input, textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  padding: 14px 16px; background: var(--white); color: var(--black); outline: none; font-size: 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea { min-height: 170px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.form-footer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.form-message { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.form-message.is-success { color: var(--accent-dark); }
.form-message.is-error { color: #c0392b; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative; color: rgba(255, 255, 255, .82); padding: 60px 0 28px; overflow: hidden;
  background: radial-gradient(90% 120% at 80% 0%, rgba(127, 189, 121, .12), transparent 55%), linear-gradient(180deg, var(--forest-2), var(--forest));
}
.footer-layout { display: grid; grid-template-columns: minmax(280px, 1fr) auto minmax(260px, .85fr); gap: 44px; align-items: start; }
.footer-brand img { width: 200px; height: auto; margin-bottom: 16px; }
.footer-brand p, .footer-contact span { margin: 0; color: rgba(255, 255, 255, .62); font-size: 14px; line-height: 1.8; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .78); font-size: 14px; font-weight: 500; transition: color .2s; width: fit-content; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact { display: grid; gap: 10px; }
.footer-contact .socials a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .82); }
.footer-contact .socials a:hover { background: rgba(127, 189, 121, .16); border-color: var(--accent); color: var(--white); }
.footer-bottom { display: flex; justify-content: center; text-align: center; gap: 18px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 22px; color: rgba(255, 255, 255, .5); font-size: 13px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
[data-animate] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }
.insight-row [data-animate].is-visible:nth-child(2) { transition-delay: .08s; }
.insight-row [data-animate].is-visible:nth-child(3) { transition-delay: .16s; }

.load-error { min-height: 100svh; display: grid; place-items: center; padding: 24px; text-align: center; }
.load-error h1 { margin: 0; font-size: 24px; }

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .site-nav { display: none; }
  .site-nav.is-open {
    position: fixed; inset: var(--header-height) 16px auto 16px; display: grid; gap: 6px;
    padding: 14px; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); z-index: 130;
  }
  .site-nav.is-open .nav-link { justify-content: center; min-height: 46px; }
  .menu-toggle { display: inline-flex; }
  .hero-shell, .about-grid, .model-grid, .assets-layout, .presence-grid, .sustain-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .sticky-copy { position: static; }
  .hero-visual { max-width: 620px; }
  .highlight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reason-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .reason-card, .reason-card:nth-child(1), .reason-card:nth-child(4), .reason-card:nth-child(n+5) { grid-column: span 3; }
  .footer-layout { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  :root { --header-height: 70px; }
  .container { width: min(100% - 32px, var(--container)); }
  .header-inner { width: calc(100% - 28px); gap: 12px; }
  .brand img { width: 150px; }
  .btn-small { display: none; }
  .section { padding: 64px 0; }
  .hero { padding-top: 40px; }
  .hero-copy h1 { font-size: clamp(28px, 8vw, 38px); }
  [dir="rtl"] .hero-copy h1 { font-size: clamp(25px, 7.5vw, 34px); }
  .hero-subtitle { font-size: 18px; }
  .section-head h2, .asset-statement h2 { font-size: clamp(24px, 6vw, 30px); }
  .hero-visual, .contact-form, .contact-card, .about-panel, .asset-statement, .mission-card { border-radius: var(--radius-lg); padding: 20px; }
  .stat-cloud, .insight-row, .highlight-grid, .asset-list, .location-grid, .sustain-cards, .form-grid, .reason-grid, .sector-grid { grid-template-columns: 1fr; }
  .reason-card, .reason-card:nth-child(1), .reason-card:nth-child(4), .reason-card:nth-child(n+5) { grid-column: auto; }
  .visual-illustration, .visual-illustration img { min-height: 230px; height: 230px; }
  .presence-visual { min-height: 320px; }
  .why-head { align-items: flex-start; }
  .footer-bottom { display: grid; }
}
@media (max-width: 420px) {
  .lang-toggle { min-width: 46px; padding: 0 12px; }
  .hero-actions, .form-footer { display: grid; }
  .hero-actions .btn, .form-footer .btn { width: 100%; }
}
