/* BIGAGRI – site stylesheet
   Layout concept: field rows. Deep forest bands for the brand moments, a pale leaf-tinted ground for
   reading, sunflower yellow reserved for calls to action, and nutrient "element tiles" as the signature. */
:root {
  --forest: #12372A;
  --forest-2: #1C4D3A;
  --leaf: #2E7D4F;
  --sprout: #CFE6B8;
  --sun: #F2B632;
  --sun-ink: #3A2A00;
  --ground: #F4F7F1;
  --paper: #FFFFFF;
  --ink: #15231C;
  --ink-2: #4A5A51;
  --line: #DDE6DA;
  --ok: #1F7A43;   --ok-bg: #E3F3E8;
  --warn: #9A6200; --warn-bg: #FFF1D6;
  --bad: #B3261E;  --bad-bg: #FBE6E4;
  --wa: #1DA851;
  --f-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --wrap: 1180px;
  color-scheme: light;
}
:lang(ar) { --f-display: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif; --f-body: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1rem/1.6 var(--f-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; text-wrap: balance; margin: 0; color: var(--forest); }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { line-height: 1.35; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--sun); color: var(--sun-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap-narrow { max-width: 780px; }
.ic { width: 20px; height: 20px; flex: none; }
:dir(rtl) .flip, [dir="rtl"] .flip { transform: scaleX(-1); }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--leaf); }
:lang(ar) .eyebrow { letter-spacing: 0; font-size: .85rem; }
.eyebrow-light { color: var(--sun); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 .98rem/1 var(--f-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-sun { background: var(--sun); color: var(--sun-ink); }
.btn-sun:hover { background: #FFC94D; color: var(--sun-ink); }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: var(--forest-2); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17924A; color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow .ic { width: 18px; height: 18px; }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: #fff; }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-mark svg { width: 40px; height: 40px; display: block; }
.logo-word { font: 800 1.35rem/1 'Bricolage Grotesque', system-ui, sans-serif; color: var(--forest); letter-spacing: .01em; }
.logo-word b { color: var(--leaf); font-weight: 800; }
.logo-light .logo-word { color: #fff; }
.logo-light .logo-word b { color: var(--sun); }
.main-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.main-nav a { padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.main-nav a:hover { background: var(--ground); color: var(--forest); }
.main-nav a[aria-current="page"] { color: var(--forest); background: var(--sprout); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch a { padding: 6px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.lang-switch a[aria-current="true"] { background: var(--forest); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--forest); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 1020px) {
  .header-cta span { display: none; }
  .header-cta { padding: 0 12px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); box-shadow: 0 16px 30px rgba(18,55,42,.12); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 12px; font-size: 1.05rem; }
  .header-tools { margin-inline-start: auto; }
}
@media (max-width: 420px) { .header-cta { display: none; } .header-in { gap: 12px; } }

/* hero */
.hero { background: var(--forest); color: #E8F1EA; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -45% auto; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(242,182,50,.16), transparent 65%); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; padding-block: clamp(48px, 8vw, 96px); position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-block: 14px 18px; }
.hero .lead { color: #CFE0D4; margin-bottom: 28px; }
.hero-elements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 420px; justify-self: end; width: 100%; direction: ltr; }
.el { aspect-ratio: 1; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: space-between; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff; font-family: 'Bricolage Grotesque', system-ui, sans-serif; }
.el b { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1; }
.el .z { font-size: .8rem; opacity: .7; font-family: 'Inter', system-ui, sans-serif; }
.el .nm { font-size: .72rem; opacity: .75; font-family: 'Inter', system-ui, sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.el-n { background: var(--sun); color: var(--sun-ink); border-color: var(--sun); }
.el-p { background: var(--leaf); border-color: var(--leaf); }
.el-k { background: #fff; color: var(--forest); }
.el-ca, .el-fe, .el-zn { transform: translateY(12px); }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .hero-elements { justify-self: start; grid-template-columns: repeat(6, 1fr); max-width: 100%; gap: 8px; }
  .el { padding: 6px; border-radius: 8px; } .el .nm { display: none; } .el b { font-size: 1.3rem; } .el .z { font-size: .65rem; }
  .el-ca, .el-fe, .el-zn { transform: none; }
}

/* strengths */
.strengths { background: var(--forest-2); color: #DCE9DF; }
.strengths-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strength { padding: 26px 22px; border-inline-start: 1px solid rgba(255,255,255,.12); }
.strength:first-child { border-inline-start: 0; padding-inline-start: 0; }
.strength h2 { font-size: 1.05rem; color: var(--sun); margin-bottom: 6px; font-weight: 700; }
.strength p { font-size: .93rem; }
@media (max-width: 860px) { .strengths-grid { grid-template-columns: 1fr 1fr; } .strength, .strength:first-child { border: 0; padding: 18px 0; } .strength:nth-child(even) { padding-inline-start: 16px; } }
@media (max-width: 480px) { .strengths-grid { grid-template-columns: 1fr; } .strength:nth-child(even) { padding-inline-start: 0; } }

/* sections */
.section { padding-block: clamp(48px, 7vw, 84px); }
.section-tight { padding-block: 32px 64px; }
.section-tint { background: var(--paper); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head .eyebrow { margin-bottom: 6px; }
.h2 { margin-bottom: 24px; }
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: clamp(36px, 6vw, 64px); }
.page-head h1 { margin-bottom: 12px; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.cat-card:hover { border-color: var(--leaf); transform: translateY(-2px); color: var(--ink); }
.cat-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sprout); color: var(--forest); }
.cat-ic .ic { width: 24px; height: 24px; }
.cat-t { font: 700 1.02rem/1.3 var(--f-display); color: var(--forest); }
.cat-d { font-size: .88rem; color: var(--ink-2); flex: 1; }
.cat-n { font-size: .8rem; font-weight: 600; color: var(--leaf); }
@media (max-width: 1020px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .cat-grid { grid-template-columns: 1fr; } }

/* product cards */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.p-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.section-tint .p-card { background: var(--ground); }
.p-card:hover { box-shadow: 0 12px 28px rgba(18,55,42,.1); transform: translateY(-2px); }
.p-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.p-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.p-title a { color: var(--forest); text-decoration: none; }
.p-title a::after { content: ""; position: absolute; inset: 0; }
.p-card { position: relative; }
.p-sum { font-size: .9rem; color: var(--ink-2); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.p-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-disponible { background: var(--ok-bg); color: var(--ok); }
.pill-sur-commande { background: var(--warn-bg); color: var(--warn); }
.pill-rupture { background: var(--bad-bg); color: var(--bad); }
.npk { font: 600 .78rem/1 var(--f-body); font-variant-numeric: tabular-nums; padding: 5px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink-2); }

/* filters */
.filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 9px 16px; font: 500 .9rem/1 var(--f-body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.filter-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.search { display: flex; align-items: center; gap: 8px; flex: 1 1 260px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; color: var(--ink-2); }
.search input { border: 0; outline: 0; background: transparent; font: inherit; padding: 12px 0; width: 100%; min-width: 0; color: var(--ink); }
.search:focus-within { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(46,125,79,.15); }
select, input, textarea { font: inherit; color: var(--ink); }
.filter-row select { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--paper); }
.count { font-size: .9rem; color: var(--ink-2); }
.empty { padding: 40px; text-align: center; color: var(--ink-2); background: var(--paper); border-radius: var(--radius); border: 1px dashed var(--line); }

/* band & cta */
.band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--sprout); border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.band, .cta { max-width: calc(var(--wrap) - 32px); margin-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 1212px) { .band, .cta { margin-inline: auto; } }
.band-copy { max-width: 60ch; display: flex; flex-direction: column; gap: 6px; }
.cta { background: var(--forest); color: #D6E5DA; border-radius: 20px; padding: clamp(28px, 5vw, 52px); display: grid; gap: 24px; }
.cta h2 { color: #fff; margin-bottom: 8px; }

/* news */
.n-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.n-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.section-tint .n-card { background: var(--ground); }
.n-media img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.n-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.n-body time, .article time { font-size: .85rem; color: var(--leaf); font-weight: 600; }
.n-body h3 a { color: var(--forest); text-decoration: none; }
.n-body h3 a::after { content: ""; position: absolute; inset: 0; }
.n-body p { color: var(--ink-2); font-size: .93rem; }

/* prose */
.prose { display: flex; flex-direction: column; gap: 14px; max-width: 70ch; }
.prose h2 { font-size: 1.4rem; margin-top: 12px; }
.prose ul { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 6px; }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.values { display: grid; gap: 14px; }
.value { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.value h2 { font-size: 1.1rem; margin-bottom: 4px; }
.value p { color: var(--ink-2); }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }

/* product detail */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--ink-2); margin-bottom: 20px; }
.crumbs a { color: var(--ink-2); }
.product-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.product-media img#main-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; width: 72px; }
.thumbs button[aria-current="true"] { border-color: var(--leaf); }
.product-info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--forest); font-size: .92rem; }
.facts dd { margin: 0; color: var(--ink-2); }
.dl-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; padding: 14px 16px; border: 1px dashed var(--leaf); border-radius: 12px; text-decoration: none; background: var(--paper); align-self: flex-start; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.spec { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; overflow-x: auto; }
.spec h2 { font-size: 1.15rem; margin-bottom: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th { text-align: start; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); font-weight: 600; padding: 8px 0; border-bottom: 2px solid var(--line); }
:lang(ar) th { letter-spacing: 0; font-size: .85rem; }
td { padding: 10px 0; border-bottom: 1px solid var(--line); }
td.num { text-align: end; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--forest); padding-inline-start: 12px; }
th:last-child { text-align: end; }
.product-body { margin-top: 32px; }
@media (max-width: 800px) { .product-grid, .spec-grid { grid-template-columns: 1fr; } .facts div { grid-template-columns: 1fr; gap: 2px; } }

/* catalogs */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.doc-card { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.doc-card:hover { border-color: var(--leaf); color: var(--ink); }
.doc-cover { aspect-ratio: 3/4; background: var(--forest); border-radius: 8px; display: flex; flex-direction: column; justify-content: space-between; padding: 10px; color: #fff; font-size: .8rem; }
.doc-cover b { color: var(--sun); font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: .95rem; }
.doc-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.doc-t { font: 700 1.05rem/1.3 var(--f-display); color: var(--forest); }
.doc-d { color: var(--ink-2); font-size: .9rem; flex: 1; }
.doc-dl { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--leaf); font-size: .9rem; }
.sheet-group { margin-bottom: 24px; }
.sheet-group h3 { margin-bottom: 10px; }
.sheet-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.sheet-list a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--ground); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; }
.sheet-list a span:nth-child(2) { flex: 1; }
.sheet-pdf { font-size: .72rem; font-weight: 700; color: var(--bad); background: var(--bad-bg); padding: 3px 6px; border-radius: 4px; }

/* article */
.article h1 { margin-block: 8px 14px; }
.article-img { border-radius: 16px; margin-block: 28px; width: 100%; }
.article .prose { margin-bottom: 32px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f label { font-weight: 600; font-size: .9rem; color: var(--forest); }
.f input, .f select, .f textarea { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--ground); width: 100%; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 0; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(46,125,79,.15); background: #fff; }
.f [aria-invalid="true"] { border-color: var(--bad); }
.f-note { font-size: .84rem; color: var(--ink-2); }
.f-status { font-weight: 600; }
.f-status.ok { color: var(--ok); } .f-status.err { color: var(--bad); } .f-status.demo { color: var(--warn); }
.form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; }
.contact-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.quick { display: grid; gap: 10px; }
.quick-btn { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.quick-btn .ic { width: 26px; height: 26px; color: var(--leaf); }
.quick-btn span { display: flex; flex-direction: column; min-width: 0; }
.quick-btn small { color: var(--ink-2); font-size: .8rem; }
.quick-btn b { color: var(--forest); overflow-wrap: anywhere; }
.quick-wa .ic { color: var(--wa); }
.map { aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: var(--sprout); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-ph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; color: var(--forest); background-image: repeating-linear-gradient(45deg, rgba(18,55,42,.05) 0 2px, transparent 2px 18px); }
.map-ph .ic { width: 36px; height: 36px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .f-row { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: var(--forest); color: #C4D6CA; padding-top: 56px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand p { max-width: 34ch; font-size: .93rem; }
.foot-h { font: 700 .82rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--sun); margin-bottom: 14px; }
:lang(ar) .foot-h { letter-spacing: 0; font-size: .95rem; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .93rem; }
.foot-list a { color: #E2ECE5; text-decoration: none; }
.foot-list a:hover { color: #fff; text-decoration: underline; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--sun); }
.foot-contact a, .foot-contact span { overflow-wrap: anywhere; min-width: 0; }
.social { display: flex; gap: 8px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.footer-bottom a { color: #C4D6CA; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* floating WhatsApp */
.wa-float { position: fixed; inset-inline-end: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); z-index: 40; display: inline-flex; align-items: center; gap: 8px; background: var(--wa); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.wa-float:hover { color: #fff; background: #17924A; }
.wa-float .ic { width: 22px; height: 22px; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* root language chooser */
.root-body, .root { background: var(--forest); }
.root { min-height: 100vh; display: grid; place-items: center; padding: 40px max(16px, env(safe-area-inset-right, 0px)) 40px max(16px, env(safe-area-inset-left, 0px)); color: #DCE9DF; }
.root-in { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; max-width: 760px; width: 100%; }
.root .logo-mark svg { width: 56px; height: 56px; }
.root .logo-word { font-size: 2rem; }
.root-t { font-size: 1rem; }
.lang-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; }
.lang-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; text-decoration: none; text-align: start; }
.lang-card:hover { background: var(--sun); color: var(--sun-ink); }
.lang-card b { font-size: 1.3rem; font-family: 'Bricolage Grotesque', 'IBM Plex Sans Arabic', system-ui, sans-serif; }
.lang-card[lang="ar"] b, .lang-card[lang="ar"] span { font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; }
.lang-card span { font-size: .88rem; opacity: .85; }
.root-note { font-size: .88rem; opacity: .85; }
.root-note a { color: var(--sun); }
@media (max-width: 640px) { .lang-cards { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* services */
.services .lead { margin-top: 8px; }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--forest); counter-reset: svc; }
.svc { padding: 24px 22px 8px 0; display: flex; flex-direction: column; gap: 10px; counter-increment: svc; position: relative; }
[dir="rtl"] .svc { padding: 24px 0 8px 22px; }
.svc::before { content: "0" counter(svc); position: absolute; top: 24px; inset-inline-end: 22px; font: 800 .85rem/1 var(--f-body); color: var(--leaf); opacity: .6; font-variant-numeric: tabular-nums; }
.svc-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--sun); }
.svc-ic .ic { width: 24px; height: 24px; }
.svc p { color: var(--ink-2); font-size: .94rem; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; row-gap: 8px; } }
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; } .svc, [dir="rtl"] .svc { padding-inline: 0; } }

/* stats */
.stats { background: var(--sun); color: var(--sun-ink); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 28px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding-inline: 16px; border-inline-start: 1px solid rgba(58,42,0,.2); }
.stat:first-child { border: 0; padding-inline-start: 0; }
.stat b { font: 800 clamp(1.8rem, 3.6vw, 2.6rem)/1 'Bricolage Grotesque', system-ui, sans-serif; color: var(--forest); font-variant-numeric: tabular-nums; }
.stat span { font-size: .9rem; font-weight: 500; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 20px; } .stat:nth-child(3) { border: 0; padding-inline-start: 0; } }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.quote { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; position: relative; padding-top: 28px; }
.quote blockquote::before { content: "\201C"; position: absolute; top: -14px; inset-inline-start: 0; font: 800 3.4rem/1 'Bricolage Grotesque', Georgia, serif; color: var(--sun); }
.quote figcaption { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 12px; }
.quote figcaption b { color: var(--forest); }
.quote figcaption span { font-size: .88rem; color: var(--ink-2); }

/* news categories */
.news-chips { margin-bottom: 24px; }
.n-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.n-cat { font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--sprout); color: var(--forest); }

/* crops */
.crop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.crop-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; }
.section-tint .crop-card { background: var(--ground); }
.crop-card:hover { transform: translateY(-2px); border-color: var(--leaf); color: var(--ink); }
.crop-card img { width: 100%; aspect-ratio: 600/380; object-fit: cover; }
.crop-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.crop-t { font: 700 1.1rem/1.25 var(--f-display); color: var(--forest); }
.crop-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.crop-head h1 { margin-block: 6px 12px; }
.crop-head img { border-radius: 16px; border: 1px solid var(--line); width: 100%; }
@media (max-width: 760px) { .crop-head { grid-template-columns: 1fr; } }
.crop-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.crop-chips a { font-size: .85rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--sprout); color: var(--forest); text-decoration: none; }
.badge-new { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; background: var(--sun); color: var(--sun-ink); font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.main-nav a { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 901px) { .main-nav a { padding: 10px 8px; font-size: .9rem; } .header-in { gap: 14px; } }
