/* ============================================================
   Carob Tree Food Industries — main.css
   Bilingual (AR/EN), RTL-aware, B2B-focused
   ============================================================ */

:root {
  /* Brand greens */
  --c-primary-50:  #f1f8f1;
  --c-primary-100: #dcefdc;
  --c-primary-200: #b9dcb9;
  --c-primary-300: #8bc48b;
  --c-primary-400: #5fab5f;
  --c-primary-500: #388e3c;
  --c-primary-600: #2e7531;
  --c-primary-700: #256425;
  --c-primary-800: #1a3d1a;
  --c-primary-900: #132912;

  --c-leaf-400: #8ed47a;
  --c-leaf-500: #66c73e;

  /* Accents */
  --c-olive-500: #c9a840;
  --c-olive-600: #96792e;
  --c-carob-500: #a0673a;
  --c-carob-600: #7a4a28;
  --c-amber-500: #d4a043;

  /* Neutrals */
  --c-n-0:  #ffffff;
  --c-n-50: #fafaf7;
  --c-n-100:#f4f4ef;
  --c-n-200:#e6e6df;
  --c-n-300:#d1d1c8;
  --c-n-400:#a3a399;
  --c-n-500:#74746b;
  --c-n-600:#54544c;
  --c-n-700:#3a3a34;
  --c-n-800:#23231f;
  --c-n-900:#13130f;

  /* Semantic */
  --c-bg: var(--c-n-50);
  --c-text: var(--c-n-800);
  --c-text-muted: var(--c-n-500);
  --c-border: var(--c-n-200);

  /* Fonts */
  --f-arabic: 'Cairo', 'Tahoma', sans-serif;
  --f-display: 'Fraunces', 'Georgia', serif;
  --f-body: 'Source Sans 3', 'Inter', system-ui, -apple-system, sans-serif;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-full: 999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(19,41,18,.06), 0 1px 3px rgba(19,41,18,.04);
  --sh-md: 0 4px 12px rgba(19,41,18,.08), 0 2px 4px rgba(19,41,18,.05);
  --sh-lg: 0 12px 32px rgba(19,41,18,.12), 0 4px 8px rgba(19,41,18,.06);
  --sh-xl: 0 24px 60px rgba(19,41,18,.18), 0 8px 16px rgba(19,41,18,.08);

  /* Layout */
  --container: 1240px;
  --gutter: 32px;
  --header-h: 76px;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[dir="rtl"] body { font-family: var(--f-arabic); }
html[dir="rtl"] .lang-en-only { display: none; }
html[dir="ltr"] .lang-ar-only { display: none; }

img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-primary-600);
}
html[dir="rtl"] .eyebrow {
  font-family: var(--f-arabic);
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--c-n-900);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  font-family: var(--f-arabic);
  letter-spacing: 0;
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: clamp(20px, 2vw, 24px); }

p { color: var(--c-n-600); }

.section {
  padding: clamp(64px, 8vw, 112px) 0;
  position: relative;
}
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--dark {
  background: var(--c-primary-900);
  color: var(--c-n-0);
}
.section--dark p { color: var(--c-primary-200); }
.section--dark h2 { color: var(--c-n-0); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.section-head .eyebrow { margin-bottom: 10px; display: inline-block; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
html[dir="rtl"] .btn { font-family: var(--f-arabic); font-size: 15px; }

.btn--lg { padding: 16px 32px; font-size: 15px; }
.btn--sm { padding: 9px 16px; font-size: 13px; }

.btn--primary {
  background: var(--c-primary-500);
  color: var(--c-n-0);
  box-shadow: var(--sh-sm);
}
.btn--primary:hover { background: var(--c-primary-600); transform: translateY(-1px); box-shadow: var(--sh-md); }

.btn--ghost {
  background: transparent;
  color: var(--c-primary-700);
  border-color: var(--c-primary-200);
}
.btn--ghost:hover { background: var(--c-primary-50); border-color: var(--c-primary-400); }

.btn--white {
  background: var(--c-n-0);
  color: var(--c-primary-900);
  box-shadow: var(--sh-md);
}
.btn--white:hover { transform: translateY(-1px); box-shadow: var(--sh-lg); }

.btn--outline-light {
  background: rgba(255,255,255,.08);
  color: var(--c-n-0);
  border-color: rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
}
.btn--outline-light:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }

.btn .arr { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
html[dir="rtl"] .btn .arr { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(3px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 90;
  transition: background .35s var(--ease), backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--c-border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.brand .logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-n-0);
  line-height: 1.1;
  transition: color .35s;
}
.brand-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  transition: color .35s;
  margin-top: 2px;
}
html[dir="rtl"] .brand-name { font-family: var(--f-arabic); font-size: 18px; }
html[dir="rtl"] .brand-sub { letter-spacing: 0; text-transform: none; font-family: var(--f-arabic); font-size: 11px; }

.site-header.is-scrolled .brand-name,
.site-header.menu-open .brand-name { color: var(--c-primary-800); }
.site-header.is-scrolled .brand-sub,
.site-header.menu-open .brand-sub { color: var(--c-n-500); }
.site-header.is-scrolled .logo-mark .ring,
.site-header.menu-open .logo-mark .ring { stroke: var(--c-primary-700); }
.site-header.is-scrolled .logo-mark .label,
.site-header.menu-open .logo-mark .label { fill: var(--c-primary-800); }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  border-radius: var(--r-md);
  transition: color .2s, background .2s;
}
html[dir="rtl"] .nav-link { font-family: var(--f-arabic); font-size: 15px; font-weight: 600; }
.nav-link:hover { color: var(--c-n-0); background: rgba(255,255,255,.08); }
.site-header.is-scrolled .nav-link,
.site-header.menu-open .nav-link { color: var(--c-n-700); }
.site-header.is-scrolled .nav-link:hover,
.site-header.menu-open .nav-link:hover { color: var(--c-primary-600); background: var(--c-primary-50); }

.nav-link .caret {
  width: 10px;
  height: 10px;
  margin-inline-start: 2px;
  transition: transform .25s var(--ease);
}
.nav-item[aria-expanded="true"] .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  min-width: 520px;
  background: var(--c-n-0);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  z-index: 100;
}
.nav-item[aria-expanded="true"] .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  transition: background .15s;
  text-align: start;
}
.dropdown-item:hover { background: var(--c-primary-50); }
.dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--c-primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--c-primary-600);
}
.dropdown-item-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--c-n-800);
  margin-bottom: 2px;
}
.dropdown-item-desc {
  font-size: 12px;
  color: var(--c-n-500);
  line-height: 1.4;
}
html[dir="rtl"] .dropdown-item-title { font-family: var(--f-arabic); font-size: 15px; }
html[dir="rtl"] .dropdown-item-desc { font-family: var(--f-arabic); font-size: 13px; }

/* Right actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.85);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(4px);
  transition: background .2s, color .2s, border-color .2s;
}
.lang-toggle .sep { width: 1px; height: 12px; background: currentColor; opacity: .35; }
.lang-toggle .lang-ar { font-family: var(--f-arabic); font-size: 13px; }
.lang-toggle .active { opacity: .55; } /* shows the OTHER option highlighted as toggle target */
.lang-toggle:hover { background: rgba(255,255,255,.18); }
.site-header.is-scrolled .lang-toggle,
.site-header.menu-open .lang-toggle {
  color: var(--c-n-600);
  background: var(--c-n-100);
  border-color: var(--c-n-200);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  align-items: center;
  justify-content: center;
  color: var(--c-n-0);
  transition: color .2s, background .2s;
}
.menu-toggle:hover { background: rgba(255,255,255,.1); }
.site-header.is-scrolled .menu-toggle,
.site-header.menu-open .menu-toggle { color: var(--c-n-700); }
.menu-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle .bar + .bar { margin-top: 5px; }
.site-header.menu-open .menu-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.menu-open .menu-toggle .bar:nth-child(2) { opacity: 0; }
.site-header.menu-open .menu-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(640px, 92vh, 880px);
  display: flex;
  align-items: center;
  color: var(--c-n-0);
  overflow: hidden;
  background: linear-gradient(170deg, #0c1f0c 0%, #163516 45%, #1f4a20 100%);
  padding: calc(var(--header-h) + 48px) 0 80px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(102,199,62,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(200,166,64,.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: -10%;
  background-image: url("../images/brand-banner-carob-island.jpg");
  background-size: cover;
  background-position: center;
  opacity: .18;
  filter: saturate(1.1);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-full);
  padding: 5px 14px 5px 5px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
html[dir="rtl"] .hero-badge { padding: 5px 5px 5px 14px; }
.hero-badge .pill {
  background: var(--c-leaf-500);
  color: var(--c-n-0);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--r-full);
  letter-spacing: .05em;
}
.hero-badge .pill-text {
  font-size: 13px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
html[dir="rtl"] .hero-badge .pill-text { font-family: var(--f-arabic); font-size: 14px; }

.hero h1 {
  color: var(--c-n-0);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--c-leaf-400); font-style: italic; font-weight: 500; }
html[dir="rtl"] .hero h1 .accent { font-style: normal; font-weight: 800; }

.hero-lede {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  max-width: 520px;
  margin-bottom: 36px;
}
html[dir="rtl"] .hero-lede { font-size: 18px; }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Hero visual stack (real product photo focus) */
.hero-visual { position: relative; height: 520px; }
.hero-visual .frame {
  position: absolute;
  border-radius: var(--r-xl);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.hero-visual .frame-1 {
  inset: 0 0 22% 28%;
  box-shadow: var(--sh-xl);
  background-image: url("../images/product-tropical-hero.jpg");
}
.hero-visual .frame-2 {
  inset: 32% 38% 0 0;
  border: 4px solid rgba(255,255,255,.12);
  box-shadow: var(--sh-lg);
  background-image: url("../images/promo-hands-seedling-real.jpg");
}
.hero-visual .seal {
  position: absolute;
  inset-block-end: -14px;
  inset-inline-start: 18%;
  width: 88px;
  height: 88px;
  background: var(--c-n-0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-lg);
  z-index: 3;
}

/* Wave divider */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 3;
  pointer-events: none;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-n-0);
  padding: 22px 0;
  overflow: hidden;
}
.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-n-500);
  flex-shrink: 0;
}
html[dir="rtl"] .trust-label { font-family: var(--f-arabic); font-size: 13px; letter-spacing: 0; text-transform: none; }
.trust-items {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-n-600);
}
html[dir="rtl"] .trust-item { font-family: var(--f-arabic); font-size: 14px; }
.trust-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-primary-500);
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products {
  background: var(--c-n-50);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--c-n-0);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  display: flex;
  flex-direction: column;
  text-align: start;
  width: 100%;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--c-primary-300);
}
.product-card-media {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: var(--c-primary-50);
}
.product-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.18), transparent 50%);
}
.product-card-tag {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  color: var(--c-primary-700);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--r-sm);
  z-index: 1;
}
html[dir="rtl"] .product-card-tag { font-family: var(--f-arabic); font-size: 12px; letter-spacing: 0; text-transform: none; }
.product-card-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.product-card-title {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-n-900);
  margin-bottom: 6px;
}
html[dir="rtl"] .product-card-title { font-family: var(--f-arabic); font-size: 19px; }
.product-card-desc {
  font-size: 14px;
  color: var(--c-n-500);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}
html[dir="rtl"] .product-card-desc { font-size: 14.5px; }
.product-card-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 14px;
  border-top: 1px solid var(--c-border);
  margin-bottom: 14px;
}
.product-card-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.product-card-meta-row .k { color: var(--c-n-500); font-weight: 500; }
.product-card-meta-row .v { color: var(--c-n-800); font-weight: 600; }
html[dir="rtl"] .product-card-meta-row { font-size: 13px; }
.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-primary-600);
}
.product-card-link:hover { color: var(--c-primary-800); }
.product-card-link .arr { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.product-card:hover .arr { transform: translateX(3px); }
html[dir="rtl"] .product-card:hover .arr { transform: scaleX(-1) translateX(3px); }
html[dir="rtl"] .product-card-link .arr { transform: scaleX(-1); }

/* ============================================================
   CERTIFICATIONS STRIP
   ============================================================ */
.certs {
  background: var(--c-n-0);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 36px 0;
}
.certs-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
}
.certs-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-n-500);
  max-width: 180px;
  line-height: 1.4;
}
html[dir="rtl"] .certs-title { font-family: var(--f-arabic); font-size: 14px; letter-spacing: 0; text-transform: none; }
.certs-items {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
}
.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-n-50);
  transition: border-color .2s, transform .2s, background .2s;
}
.cert-badge:hover { border-color: var(--c-primary-300); background: var(--c-primary-50); transform: translateY(-2px); }
.cert-badge-mark {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--c-primary-700);
  line-height: 1;
  letter-spacing: -0.02em;
}
.cert-badge-sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-n-500);
}
html[dir="rtl"] .cert-badge-sub { letter-spacing: 0; text-transform: none; font-family: var(--f-arabic); font-size: 11px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-content h2 { margin-bottom: 20px; }
.about-content p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}
html[dir="rtl"] .about-content p { font-size: 16.5px; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--c-border);
}
.stat-num {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-primary-600);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-n-500);
}
html[dir="rtl"] .stat-label { font-family: var(--f-arabic); font-size: 14px; }

.about-visual {
  position: relative;
  height: 480px;
}
.about-visual .frame {
  position: absolute;
  border-radius: var(--r-xl);
  background-size: cover;
  background-position: center;
}
.about-visual .frame-1 {
  inset: 0 0 30% 18%;
  background-image: url("../images/product-tropical-group.jpg");
  box-shadow: var(--sh-xl);
}
.about-visual .frame-2 {
  inset: 36% 45% 0 0;
  background-image: url("../images/promo-hands-seedling-real.jpg");
  border: 5px solid var(--c-n-0);
  box-shadow: var(--sh-lg);
}
.about-visual .badge-card {
  position: absolute;
  inset-block-end: 18%;
  inset-inline-end: 4%;
  background: var(--c-primary-500);
  color: var(--c-n-0);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  box-shadow: 0 10px 28px rgba(56,142,60,.35);
  max-width: 200px;
}
.about-visual .badge-card .k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 4px;
}
.about-visual .badge-card .v {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
}
.about-visual .badge-card .s {
  font-size: 12px;
  opacity: .85;
  margin-top: 2px;
}
html[dir="rtl"] .about-visual .badge-card .k,
html[dir="rtl"] .about-visual .badge-card .v,
html[dir="rtl"] .about-visual .badge-card .s { font-family: var(--f-arabic); letter-spacing: 0; text-transform: none; }

/* ============================================================
   SUSTAINABILITY (3-column)
   ============================================================ */
.sust {
  background: linear-gradient(180deg, var(--c-primary-50) 0%, var(--c-n-0) 100%);
}
.sust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sust-card {
  background: var(--c-n-0);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.sust-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.sust-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--c-primary-100);
  color: var(--c-primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.sust-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
  color: var(--c-n-900);
}
.sust-card p { font-size: 15px; line-height: 1.65; margin-bottom: 16px; }
.sust-metric {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--c-border);
  margin-top: 6px;
  width: 100%;
}
.sust-metric .num {
  font-family: var(--f-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--c-primary-600);
}
.sust-metric .lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-n-500);
}
html[dir="rtl"] .sust-metric .lbl { font-family: var(--f-arabic); font-size: 13px; }

/* ============================================================
   FARM TO EXPORT TIMELINE
   ============================================================ */
.timeline { background: var(--c-n-0); }
.timeline-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 40px;
}
.timeline-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-primary-300) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.tl-step {
  position: relative;
  text-align: center;
  padding: 0 14px;
  z-index: 1;
}
.tl-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-n-0);
  border: 2px solid var(--c-primary-500);
  color: var(--c-primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--c-n-0);
  position: relative;
  z-index: 2;
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.tl-step:hover .tl-dot {
  background: var(--c-primary-500);
  color: var(--c-n-0);
  transform: scale(1.05);
}
.tl-step h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-n-900);
  margin-bottom: 6px;
  font-family: var(--f-body);
}
html[dir="rtl"] .tl-step h4 { font-family: var(--f-arabic); font-size: 16px; }
.tl-step p {
  font-size: 13px;
  color: var(--c-n-500);
  line-height: 1.5;
}
html[dir="rtl"] .tl-step p { font-size: 13.5px; }

/* ============================================================
   MARKETS
   ============================================================ */
.markets { background: var(--c-primary-900); color: var(--c-n-0); }
.markets h2 { color: var(--c-n-0); }
.markets p { color: var(--c-primary-200); }
.markets .eyebrow { color: var(--c-leaf-400); }
.markets-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 48px;
}
.markets-stats { display: flex; flex-direction: column; gap: 24px; }
.market-stat {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  backdrop-filter: blur(6px);
}
.market-stat .icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: rgba(102,199,62,.18);
  color: var(--c-leaf-400);
  display: flex;
  align-items: center;
  justify-content: center;
}
.market-stat .num {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-n-0);
  line-height: 1;
  margin-bottom: 4px;
}
.market-stat .lbl {
  font-size: 14px;
  color: rgba(255,255,255,.7);
}
html[dir="rtl"] .market-stat .lbl { font-family: var(--f-arabic); font-size: 15px; }
.markets-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.country-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  transition: background .2s, border-color .2s;
}
.country-chip:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.country-chip .flag { font-size: 16px; }
html[dir="rtl"] .country-chip { font-family: var(--f-arabic); font-size: 14px; }

/* ============================================================
   INQUIRY CTA SECTION
   ============================================================ */
.inquiry { background: var(--c-n-0); }
.inquiry-card {
  background: linear-gradient(135deg, var(--c-primary-800) 0%, var(--c-primary-900) 100%);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.inquiry-card::before {
  content: "";
  position: absolute;
  inset-block-start: -30%;
  inset-inline-end: -10%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(102,199,62,.18) 0%, transparent 70%);
  border-radius: 50%;
}
.inquiry-card::after {
  content: "";
  position: absolute;
  inset-block-end: -30%;
  inset-inline-start: -10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(200,166,64,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.inquiry-content { position: relative; z-index: 1; }
.inquiry-content .eyebrow { color: var(--c-leaf-400); margin-bottom: 12px; }
.inquiry-content h2 { color: var(--c-n-0); margin-bottom: 16px; }
.inquiry-content p {
  color: var(--c-primary-200);
  font-size: 16px;
  line-height: 1.7;
}

.inquiry-checklist {
  position: relative;
  z-index: 1;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.inquiry-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,.92);
  line-height: 1.5;
}
.inquiry-checklist .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-leaf-500);
  color: var(--c-n-0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
html[dir="rtl"] .inquiry-checklist li { font-family: var(--f-arabic); font-size: 16px; }

.inquiry-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-primary-900);
  color: var(--c-n-0);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand-name { color: var(--c-n-0); }
.footer-brand .brand-sub { color: var(--c-primary-300); }
.footer-brand-blurb {
  font-size: 14px;
  color: var(--c-primary-200);
  line-height: 1.65;
  max-width: 320px;
  margin-top: 18px;
}
html[dir="rtl"] .footer-brand-blurb { font-family: var(--f-arabic); font-size: 15px; }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-primary-300);
  margin-bottom: 18px;
  font-family: var(--f-body);
}
html[dir="rtl"] .footer-col h4 { font-family: var(--f-arabic); font-size: 14px; letter-spacing: 0; text-transform: none; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--c-primary-200);
  transition: color .2s;
}
.footer-col a:hover { color: var(--c-n-0); }
html[dir="rtl"] .footer-col a { font-family: var(--f-arabic); font-size: 15px; }

.contact-line {
  font-size: 14px;
  color: var(--c-primary-200);
  margin-bottom: 8px;
  direction: ltr;
  text-align: start;
}
html[dir="rtl"] .contact-line { text-align: right; }
.contact-line a { color: inherit; }
.contact-line a:hover { color: var(--c-n-0); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom-copy {
  font-size: 13px;
  color: var(--c-primary-300);
}
html[dir="rtl"] .footer-bottom-copy { font-family: var(--f-arabic); font-size: 14px; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  font-size: 13px;
  color: var(--c-primary-300);
  transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--c-n-0); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 31, 12, .65);
  backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.is-open { opacity: 1; visibility: visible; }
.modal {
  background: var(--c-n-0);
  border-radius: var(--r-xl);
  max-width: 760px;
  width: 100%;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(.98);
  transition: transform .35s var(--ease);
  box-shadow: var(--sh-xl);
}
.modal--wide { max-width: 920px; }
.modal-backdrop.is-open .modal { transform: translateY(0) scale(1); }

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 32px 16px;
  gap: 16px;
}
.modal-title-block { flex: 1; }
.modal-title-block .eyebrow { margin-bottom: 6px; display: block; }
.modal-title-block h3 {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--c-n-900);
  line-height: 1.2;
}
html[dir="rtl"] .modal-title-block h3 { font-family: var(--f-arabic); }

.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c-n-100);
  color: var(--c-n-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--c-n-200); color: var(--c-n-900); }
.modal-body { padding: 8px 32px 32px; overflow-y: auto; flex: 1; }
.modal-footer {
  padding: 18px 32px;
  border-top: 1px solid var(--c-border);
  background: var(--c-n-50);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-n-700);
}
html[dir="rtl"] .field label { font-family: var(--f-arabic); font-size: 14px; }
.field label .req { color: var(--c-primary-600); margin-inline-start: 2px; }
.field input,
.field select,
.field textarea {
  padding: 11px 14px;
  font-size: 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-n-0);
  color: var(--c-n-900);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
html[dir="rtl"] .field input,
html[dir="rtl"] .field select,
html[dir="rtl"] .field textarea { font-family: var(--f-arabic); font-size: 15px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--c-primary-500);
  box-shadow: 0 0 0 3px var(--c-primary-100);
}
.field textarea { resize: vertical; min-height: 96px; }
.field-hint {
  font-size: 12px;
  color: var(--c-n-500);
  margin-top: 2px;
}
html[dir="rtl"] .field-hint { font-family: var(--f-arabic); font-size: 13px; }

/* Success state */
.form-success {
  text-align: center;
  padding: 40px 16px;
}
.form-success .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-primary-100);
  color: var(--c-primary-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.form-success h4 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-n-900);
  margin-bottom: 8px;
}
html[dir="rtl"] .form-success h4 { font-family: var(--f-arabic); }
.form-success p { font-size: 15px; color: var(--c-n-600); }

/* Product detail modal */
.pmodal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.pmodal-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--c-primary-100);
  aspect-ratio: 1 / 1;
}
.pmodal-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.pmodal-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--c-border);
  font-size: 14px;
}
.pmodal-list .k { color: var(--c-n-500); font-weight: 500; }
.pmodal-list .v { color: var(--c-n-900); font-weight: 600; }
html[dir="rtl"] .pmodal-list li { font-size: 15px; font-family: var(--f-arabic); }

.pmodal-skus {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pmodal-sku {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  background: var(--c-primary-50);
  color: var(--c-primary-700);
  border-radius: var(--r-full);
}
html[dir="rtl"] .pmodal-sku { font-family: var(--f-arabic); font-size: 13px; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-items { grid-template-columns: repeat(3, 1fr); }
  .markets-grid { grid-template-columns: 1fr; gap: 32px; }
  .timeline-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
}

@media (max-width: 880px) {
  :root { --gutter: 22px; }
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { height: 380px; }
  .hero-visual .frame-1 { inset: 0 0 28% 16%; }
  .hero-visual .frame-2 { inset: 36% 50% 0 0; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { height: 380px; }

  .sust-grid { grid-template-columns: 1fr; }
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .timeline-grid::before { display: none; }
  .tl-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    text-align: start;
    gap: 14px;
    align-items: center;
  }
  .tl-dot { margin: 0; box-shadow: none; }

  .inquiry-card { grid-template-columns: 1fr; gap: 28px; padding: 36px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }

  .form-grid { grid-template-columns: 1fr; }
  .pmodal-grid { grid-template-columns: 1fr; }

  .certs-row { grid-template-columns: 1fr; gap: 18px; }
  .certs-title { max-width: none; text-align: center; }
}

@media (max-width: 720px) {
  .menu-toggle { display: flex; }
  .nav, .header-actions .lang-toggle, .header-actions .btn { display: none; }
  .header-actions { gap: 4px; }
  .site-header.menu-open .nav,
  .site-header.menu-open .header-actions .lang-toggle,
  .site-header.menu-open .header-actions .btn { display: inline-flex; }

  .site-header.menu-open .nav {
    position: absolute;
    top: var(--header-h);
    inset-inline: 0;
    background: var(--c-n-0);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--sh-lg);
  }
  .site-header.menu-open .nav-link {
    padding: 14px 18px;
    color: var(--c-n-700);
    border-radius: var(--r-md);
    font-size: 16px;
  }
  .site-header.menu-open .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    box-shadow: none;
    padding: 0 0 0 18px;
    margin-top: 4px;
    border: 0;
    background: transparent;
    display: none;
  }
  .site-header.menu-open .nav-item[aria-expanded="true"] .dropdown { display: block; }
  .site-header.menu-open .dropdown-grid { grid-template-columns: 1fr; gap: 2px; }

  .certs-items { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-header { padding: 22px 22px 12px; }
  .modal-body { padding: 6px 22px 22px; }
  .modal-footer { padding: 16px 22px; flex-direction: column-reverse; }
  .modal-footer .btn { width: 100%; }
}
