/* Al Faraina, Site 3 «الملصق» The Label.
   The page is set like the back label of an agrochemical pack: a committed teal field, a white
   data panel, ink header bands with gold numerals, and a datasheet for every range. One family per
   script with a width axis (Noto Sans Arabic, Archivo), condensed for display. Real pack shots only.
   No icon badges, no gradients, no glow, no glass. */

:root {
  --teal: #0A6A5D;
  --teal-d: #085649;
  --on-teal: #D6E7E3;
  --paper: #F1F2EE;
  --white: #FFFFFF;
  --ink: #0F1412;
  --ink-2: #545B57;
  --rule: #D9DCD6;
  --gold: #C29A4B;
  --wa: #25D366;
  --wa-ink: #1A8F47;
  --wrap: 1320px;
  --gut: clamp(16px, 3.6vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Archivo', 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.85; -webkit-font-smoothing: antialiased; }
html[lang="en"] body { line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { letter-spacing: normal; text-wrap: balance; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a, button { touch-action: manipulation; }
q { quotes: "«" "»"; }
html[lang="en"] q { quotes: "\201C" "\201D"; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.ic { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100; background: var(--white); color: var(--ink); padding: .5rem .9rem; }
.skip:focus { top: 12px; }
/* condensed display: Arabic narrows less than Latin so the letterforms keep their joins */
.disp, h1, .h2, .label-head h3, .toc b, .steps b { font-stretch: 86%; }
html[lang="en"] h1, html[lang="en"] .h2, html[lang="en"] .label-head h3, html[lang="en"] .toc b, html[lang="en"] .steps b { font-stretch: 72%; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--ink); color: #fff; }
.top-in { height: 66px; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img:first-child { width: 40px; height: auto; }
.brand img:last-child { width: 140px; height: auto; }
.top-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); margin-inline-start: auto; }
.top-nav a, .lang { font-size: .95rem; color: #B9C1BD; padding-block: 6px; transition: color .2s var(--ease); }
.lang { border-inline-start: 1px solid #2E3633; padding-inline-start: clamp(14px, 2.4vw, 32px); }
.wa { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 14px; background: var(--wa); color: var(--ink); font-weight: 600; font-size: .95rem; border-radius: 3px; transition: background-color .2s var(--ease); }
.wa .ic { width: 20px; height: 20px; }
.wa span { font-variant-numeric: tabular-nums; }
.wa:active { transform: translateY(1px); }
@media (hover: hover) and (pointer: fine) { .top-nav a:hover, .lang:hover { color: #fff; } .wa:hover { background: #3BE07A; } }

/* ---------- hero: teal field, white data panel, packs standing on the edge ---------- */
.hero { background: var(--teal); color: #fff; padding-top: clamp(44px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.hero-kick { font-size: .95rem; color: var(--on-teal); }
.hero h1 { margin-top: 10px; font-size: clamp(3.2rem, 8vw, 7.4rem); font-weight: 800; line-height: 1.18; }
.hero h1 span { display: block; }
html[lang="en"] .hero h1 { line-height: .94; letter-spacing: -.01em; text-transform: uppercase; }
.hero-sub { margin-top: 22px; max-width: 50ch; color: var(--on-teal); font-size: 1.1rem; }
.hero-act { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding-inline: 22px; border-radius: 3px; background: var(--white); color: var(--ink); font-weight: 600; transition: background-color .2s var(--ease), color .2s var(--ease); }
.btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn--line .ic { width: 22px; height: 22px; color: var(--wa); }
.btn:active { transform: translateY(1px); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--paper); } .btn--line:hover { background: var(--white); color: var(--ink); } .btn--line:hover .ic { color: var(--wa-ink); } }

.panel { background: var(--white); color: var(--ink); border: 2px solid var(--ink); }
.panel-head { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 2px solid var(--ink); }
.panel-head img { width: 64px; height: auto; flex: none; }
.panel-head p { display: grid; line-height: 1.5; }
.panel-head b { font-weight: 700; font-size: 1.08rem; }
.panel-head span { font-size: .82rem; color: var(--ink-2); }
.panel-data div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 9px 16px; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.panel-data div:last-child { border-bottom: 0; }
.panel-data dt { color: var(--ink-2); }
.panel-data dd { font-weight: 600; }

.lineup { margin-top: clamp(40px, 5vw, 72px); height: clamp(140px, 19vw, 260px); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.lineup li { height: calc(var(--h) * 100%); display: flex; align-items: flex-end; }
.lineup a { display: block; height: 100%; }
.lineup img { height: 100%; width: auto; transition: transform .35s var(--ease); transform-origin: 50% 100%; }
@media (hover: hover) and (pointer: fine) { .lineup a:hover img { transform: translateY(-6px); } }

/* ---------- contents ---------- */
.contents { padding-block: clamp(56px, 7vw, 100px) clamp(32px, 4vw, 56px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px clamp(28px, 5vw, 80px); align-items: end; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.sec-head p { color: var(--ink-2); max-width: 56ch; }
.h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); font-weight: 800; line-height: 1.2; }
html[lang="en"] .h2 { line-height: .98; text-transform: uppercase; }
.toc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.toc li { border-bottom: 1px solid var(--rule); border-inline-start: 1px solid var(--rule); }
.toc li:nth-child(4n + 1) { border-inline-start: 0; }
.toc a { display: grid; gap: 2px; padding: 18px 18px 20px; height: 100%; transition: background-color .2s var(--ease); }
.toc li:nth-child(4n + 1) a { padding-inline-start: 0; }
.toc .no { font-size: .9rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.toc b { font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-weight: 700; line-height: 1.35; }
.toc .ct { font-size: .88rem; color: var(--teal); }
@media (hover: hover) and (pointer: fine) { .toc a:hover b { color: var(--teal); } }

/* ---------- labels ---------- */
.labels { display: grid; gap: clamp(28px, 4vw, 48px); padding-block: clamp(24px, 3vw, 40px) clamp(64px, 8vw, 110px); }
.label { scroll-margin-top: 76px; }
.label-box { background: var(--white); border: 2px solid var(--ink); }
.label-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px clamp(16px, 3vw, 36px); align-items: start; padding: clamp(18px, 2.4vw, 28px) clamp(18px, 2.6vw, 32px); background: var(--ink); color: #fff; }
.label-head .no { font-size: clamp(2.6rem, 4.4vw, 4rem); line-height: 1; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; font-stretch: 86%; }
.label-head h3 { font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 800; line-height: 1.25; }
html[lang="en"] .label-head h3 { line-height: 1; text-transform: uppercase; }
.label-head p { margin-top: 8px; color: #BAC2BE; max-width: 70ch; font-size: .98rem; }
.label-head .ask { align-self: center; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding-inline: 14px; border: 1px solid #4A524E; border-radius: 3px; font-weight: 600; font-size: .92rem; white-space: nowrap; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.label-head .ask .ic { color: var(--wa); width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .label-head .ask:hover { border-color: #fff; background: #1C2320; } }
.label-body { display: grid; grid-template-columns: minmax(200px, 3fr) minmax(0, 9fr); }
.comp { padding: 22px clamp(18px, 2.6vw, 32px); border-inline-end: 1px solid var(--rule); }
.lbl { font-size: .85rem; font-weight: 700; color: var(--ink-2); }
html[lang="en"] .lbl { text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; }
.comp ul { margin-top: 10px; border-top: 2px solid var(--ink); }
.comp li { padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: .95rem; font-weight: 500; line-height: 1.5; }

.sheet { padding: 10px clamp(18px, 2.6vw, 32px) 18px; }
.thead, .rows a { display: grid; grid-template-columns: 76px minmax(0, 5fr) minmax(0, 5fr) auto; gap: 18px; align-items: center; }
.thead { padding: 12px 0 8px; border-bottom: 2px solid var(--ink); font-size: .85rem; font-weight: 700; color: var(--ink-2); }
html[lang="en"] .thead { text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; }
.rows li { border-bottom: 1px solid var(--rule); }
.rows li:last-child { border-bottom: 0; }
.rows a { padding: 10px 0; transition: background-color .2s var(--ease); }
.th { position: relative; display: block; width: 76px; height: 76px; background: var(--paper); border-radius: 2px; }
.th img { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); object-fit: contain; transition: transform .3s var(--ease); }
.nm { display: grid; line-height: 1.45; }
.nm b { font-weight: 700; font-size: 1.05rem; }
.nm span { font-size: .88rem; color: var(--ink-2); }
.us { font-size: .95rem; color: var(--ink-2); line-height: 1.55; }
.npk { display: inline-block; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--teal); }
.go .ic { width: 18px; height: 18px; color: var(--wa-ink); }
@media (hover: hover) and (pointer: fine) {
  .rows a:hover .th img { transform: scale(1.06); }
  .rows a:hover .nm b { color: var(--teal); }
  .rows a:hover .go span { text-decoration: underline; text-underline-offset: 4px; }
}
.sheet--none { display: grid; align-content: center; justify-items: start; gap: 18px; padding-block: 32px; }
.sheet--none p { max-width: 52ch; color: var(--ink-2); }
.btn-ink { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding-inline: 18px; border-radius: 3px; background: var(--ink); color: #fff; font-weight: 600; }
.btn-ink .ic { color: var(--wa); width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .btn-ink:hover { background: #262E2B; } }

/* ---------- company ---------- */
.company { background: var(--white); border-block: 2px solid var(--ink); padding-block: clamp(64px, 8vw, 110px); }
.co-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.h2--big { max-width: 16ch; }
.body { margin-top: 20px; color: var(--ink-2); max-width: 60ch; font-size: 1.08rem; }
.vision { margin-top: 30px; padding-top: 16px; border-top: 2px solid var(--ink); max-width: 60ch; display: grid; gap: 4px; }
.vision span { font-size: .85rem; font-weight: 700; color: var(--teal); }
.vision q { font-size: 1.15rem; font-weight: 600; line-height: 1.75; }
html[lang="en"] .vision q { line-height: 1.45; }
.co-side .lbl { padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.brands li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 600; direction: ltr; unicode-bidi: isolate; text-align: start; }
html[dir="rtl"] .brands li { text-align: right; }

/* ---------- order ---------- */
.order { background: var(--teal); color: #fff; padding-block: clamp(64px, 8vw, 110px); }
.steps { margin-top: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid #fff; }
.steps li { padding: 22px clamp(16px, 2vw, 28px) 26px; border-inline-start: 1px solid rgba(255, 255, 255, .28); }
.steps li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.sn { display: block; font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 800; line-height: 1; font-stretch: 86%; }
.steps b { display: block; margin-top: 14px; font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.35; }
.steps p { margin-top: 6px; color: var(--on-teal); font-size: .98rem; max-width: 38ch; }
.order-card { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); background: var(--white); color: var(--ink); border: 2px solid var(--ink); }
.wa-big { display: flex; align-items: center; gap: 16px; padding: 24px clamp(18px, 2.6vw, 32px); background: var(--ink); color: #fff; transition: background-color .2s var(--ease); }
.wa-big .ic { width: 44px; height: 44px; color: var(--wa); }
.wa-big small { display: block; color: #BAC2BE; font-size: .88rem; line-height: 1.4; }
.wa-big b { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
@media (hover: hover) and (pointer: fine) { .wa-big:hover { background: #1C2320; } }
.lines { padding: 8px clamp(18px, 2.6vw, 32px); }
.lines div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.lines div:last-child { border-bottom: 0; }
.lines dt { color: var(--ink-2); font-size: .92rem; }
.lines dd a { border-bottom: 1px solid var(--rule); transition: border-color .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .lines dd a:hover { border-color: var(--ink); } }
.lines [data-phones] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
.lines .phone { display: flex; border: 0; }
.lines .phone .ic { display: none; }
.lines .phone span { display: flex; justify-content: space-between; gap: 12px; width: 100%; }
.lines .phone b { font-weight: 700; font-variant-numeric: tabular-nums; }
.lines .phone small { color: var(--ink-2); font-size: .88rem; }
.ig { display: inline-flex; align-items: center; gap: 8px; }
.ig .ic { width: 20px; height: 20px; color: #C13584; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #BAC2BE; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 30px 96px; font-size: .88rem; }
.foot-in img { width: 76px; height: auto; }
.foot-in .motto { color: #fff; font-weight: 600; font-size: 1.05rem; }
.foot-in a { border-bottom: 1px solid #4A524E; color: #fff; }

.wa-float { position: fixed; z-index: 45; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(15, 20, 18, .55); }
.wa-float .ic { width: 30px; height: 30px; }
.wa-float:active { transform: scale(.95); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid, .co-grid, .sec-head { grid-template-columns: minmax(0, 1fr); }
  .panel { max-width: 560px; }
  .toc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc li:nth-child(4n + 1) { border-inline-start: 1px solid var(--rule); }
  .toc li:nth-child(4n + 1) a { padding-inline-start: 18px; }
  .toc li:nth-child(2n + 1) { border-inline-start: 0; }
  .toc li:nth-child(2n + 1) a { padding-inline-start: 0; }
  .label-body { grid-template-columns: minmax(0, 1fr); }
  .comp { border-inline-end: 0; border-bottom: 1px solid var(--rule); }
  .comp ul { display: flex; flex-wrap: wrap; gap: 6px; border-top: 0; }
  .comp li { border: 1px solid var(--rule); border-radius: 3px; padding: 4px 10px; font-size: .88rem; }
  .order-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .top-in { height: 60px; gap: 12px; }
  .brand img:first-child { width: 34px; } .brand img:last-child { width: 108px; }
  .top-nav a { display: none; }
  .lang { border: 0; padding-inline-start: 0; }
  .wa span { display: none; }
  .wa { width: 40px; justify-content: center; padding: 0; }
  .lineup { gap: 6px; }
  .lineup li:nth-child(n + 6) { display: none; }
  .label-head { grid-template-columns: auto minmax(0, 1fr); }
  .label-head .ask { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
  .thead { display: none; }
  .rows a { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 4px 12px; }
  .th { width: 64px; height: 64px; grid-row: span 2; }
  .nm { grid-column: 2; }
  .us { grid-column: 2; grid-row: 2; font-size: .88rem; }
  .go { grid-column: 3; grid-row: 1 / span 2; }
  .go span { display: none; }
  .go .ic { width: 24px; height: 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { border-inline-start: 0; padding-inline: 0; border-bottom: 1px solid rgba(255, 255, 255, .28); }
  .lines div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .lines [data-phones] { grid-template-columns: minmax(0, 1fr); }
  .wa-float { width: 52px; height: 52px; }
}
