/* ═══════════════════════════════════════════════════════════════
   AGRITECH — Growing Tomorrow
   Organic premium editorial · deep forest green / warm cream / sun yellow
   ═══════════════════════════════════════════════════════════════ */

:root {
  --green-deep: #04220e;
  --green-900:  #06331a;
  --green-800:  #084a1f;
  --green:      #095f20;
  --green-tint: #e9f1e2;
  --yellow:     #fdbf0a;
  --yellow-deep:#eaa900;
  --paper:      #f8f3e7;
  --paper-2:    #f1ead8;
  --white:      #fffdf7;
  --ink:        #13291a;
  --muted:      #5d6f5c;
  --cream:      #f6efdd;
  --cream-60:   rgba(246, 239, 221, .6);
  --cream-10:   rgba(246, 239, 221, .1);
  --line:       rgba(19, 41, 26, .12);

  --font-display: "Fraunces", "Cairo", serif;
  --font-body: "Instrument Sans", "Cairo", sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --radius: 24px;
  --header-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: .05;
  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.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--yellow); color: var(--green-deep); }

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

[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* Arabic typography adjustments */
html[lang="ar"] body,
html[lang="ar"] .h2,
html[lang="ar"] .hero__title { font-family: "Cairo", sans-serif; }
html[lang="ar"] * { letter-spacing: 0 !important; }
html[lang="ar"] em { font-style: normal; }
[dir="rtl"] .arr { display: inline-block; transform: scaleX(-1); }

/* ─────────────── Typography helpers ─────────────── */

.h2 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin-bottom: .5em;
  text-wrap: balance;
}
html[lang="ar"] .h2 { font-weight: 800; line-height: 1.3; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--yellow);
}
.kicker--light { color: var(--yellow); }

.lead {
  font-size: 1.12rem;
  color: inherit;
  opacity: .88;
  margin-bottom: 1em;
  max-width: 56ch;
}
.body-text { color: var(--muted); margin-bottom: 1.4em; max-width: 58ch; }

.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section--paper { background: var(--paper-2); }
.section--dark {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(253, 191, 10, .07), transparent 60%),
    linear-gradient(180deg, var(--green-deep), var(--green-900));
  color: var(--cream);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head__note {
  max-width: 320px;
  color: var(--muted);
  font-size: .98rem;
  padding-bottom: .6em;
}
.section--dark .section-head__note { color: var(--cream-60); }

/* ─────────────── Buttons ─────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 650;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn--solid {
  background: var(--yellow);
  color: var(--green-deep);
  box-shadow: 0 4px 18px rgba(253, 191, 10, .25);
}
.btn--solid:hover {
  background: var(--yellow-deep);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(253, 191, 10, .35);
}
.btn--ghost {
  border: 1.5px solid rgba(246, 239, 221, .55);
  color: var(--cream);
}
.btn--ghost:hover { background: var(--cream-10); transform: translateY(-3px); border-color: var(--cream); }
.btn--outline {
  border: 1.5px solid var(--green);
  color: var(--green);
}
.btn--outline:hover { background: var(--green); color: var(--cream); transform: translateY(-3px); }
.btn--dark {
  background: var(--green-deep);
  color: var(--cream);
  box-shadow: 0 6px 22px rgba(4, 34, 14, .3);
}
.btn--dark:hover { background: var(--green-900); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(4, 34, 14, .38); }
.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn--sm { padding: 10px 22px; font-size: .88rem; }
.btn--block { width: 100%; }

/* ─────────────── Loader ─────────────── */

.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .55s ease, visibility .55s;
}
body.loaded .loader { opacity: 0; visibility: hidden; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.loader__mark { width: 86px; animation: loaderPulse 1.4s ease-in-out infinite; }
.loader__bar {
  width: 150px; height: 3px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
}
.loader__bar span {
  display: block; height: 100%; width: 40%;
  background: var(--yellow);
  border-radius: 99px;
  animation: loaderBar 1.1s var(--ease-out) infinite;
}
@keyframes loaderPulse { 50% { transform: scale(1.07); } }
@keyframes loaderBar {
  0% { transform: translateX(-160%); }
  100% { transform: translateX(420%); }
}
[dir="rtl"] .loader__bar span { animation-name: loaderBarRtl; }
@keyframes loaderBarRtl {
  0% { transform: translateX(160%); }
  100% { transform: translateX(-420%); }
}

/* ─────────────── Header ─────────────── */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(248, 243, 231, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s, border-color .35s, background .35s;
}
.header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(19, 41, 26, .07);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand__img { height: 58px; width: auto; transition: transform .35s var(--ease-out); }
.brand:hover .brand__img { transform: scale(1.04); }

.nav { display: flex; gap: 6px; }
.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: .95rem;
  font-weight: 550;
  color: var(--ink);
  transition: color .25s;
}
.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--green); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  transition: border-color .3s;
}
.lang-toggle:hover { border-color: var(--green); }
.lang-toggle__opt { opacity: .45; transition: opacity .25s, color .25s; }
.lang-toggle__opt.is-on { opacity: 1; color: var(--green); }
.lang-toggle__sep { opacity: .3; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .25s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: linear-gradient(180deg, var(--green-deep), var(--green-900));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__nav { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mobile-menu__nav a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 560;
  color: var(--cream);
  padding: 8px 20px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .3s;
}
.mobile-menu.is-open .mobile-menu__nav a { opacity: 1; transform: none; }
.mobile-menu__nav a:hover { color: var(--yellow); }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(1) { transition-delay: .08s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2) { transition-delay: .14s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3) { transition-delay: .2s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4) { transition-delay: .26s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(5) { transition-delay: .32s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(6) { transition-delay: .38s; }

/* ─────────────── Hero ─────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  color: var(--cream);
}
.hero__bg { position: absolute; inset: 0; }
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(4, 34, 14, .25), transparent 30%, rgba(4, 34, 14, .55) 88%),
    linear-gradient(100deg, rgba(4, 34, 14, .88) 8%, rgba(4, 34, 14, .45) 48%, rgba(4, 34, 14, .12) 78%);
}
[dir="rtl"] .hero__veil {
  background:
    linear-gradient(to bottom, rgba(4, 34, 14, .25), transparent 30%, rgba(4, 34, 14, .55) 88%),
    linear-gradient(-100deg, rgba(4, 34, 14, .88) 8%, rgba(4, 34, 14, .45) 48%, rgba(4, 34, 14, .12) 78%);
}
[dir="rtl"] .hero__scroll { right: auto; left: 48px; }
html[lang="ar"] .hero__scroll span { display: none; }
html[lang="ar"] .about__badge-ring text { letter-spacing: .22em !important; }

.hero__content { position: relative; z-index: 2; padding-block: 60px; }

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 26px;
}
.kicker-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(253, 191, 10, .5);
  animation: dotPulse 2.2s ease-out infinite;
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(253, 191, 10, .5); }
  70% { box-shadow: 0 0 0 12px rgba(253, 191, 10, 0); }
  100% { box-shadow: 0 0 0 0 rgba(253, 191, 10, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: clamp(2.9rem, 7.2vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  margin-bottom: 30px;
  max-width: 14ch;
}
html[lang="ar"] .hero__title { font-weight: 800; line-height: 1.28; font-size: clamp(2.5rem, 6vw, 4.6rem); }
.hero__title-accent em { color: var(--yellow); font-style: italic; }
html[lang="ar"] .hero__title-accent em { color: var(--yellow); }

.reveal-line { display: block; overflow: hidden; }
.reveal-line > * {
  display: inline-block;
  transform: translateY(130%);
}
body.loaded .reveal-line > * {
  animation: lineUp 1s var(--d, 0s) var(--ease-out) forwards;
}
@keyframes lineUp { to { transform: translateY(0); } }
/* group multiple children (e.g. two CTA buttons) on one line */
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__sub {
  font-size: 1.13rem;
  max-width: 52ch;
  color: rgba(246, 239, 221, .85);
  margin-bottom: 38px;
}

.hero__scroll {
  position: absolute;
  bottom: 110px;
  right: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--cream-60);
  writing-mode: vertical-rl;
}
.hero__scroll i {
  width: 1px; height: 54px;
  background: linear-gradient(to bottom, var(--yellow), transparent);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─────────────── Stats ─────────────── */

.stats { position: relative; z-index: 3; margin-top: -78px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(19, 41, 26, .12);
  overflow: hidden;
}
.stat {
  padding: 34px 30px;
  text-align: center;
  border-inline-start: 1px solid var(--line);
}
.stat:first-child { border-inline-start: none; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: var(--green);
  line-height: 1.1;
}
.stat__label { font-size: .9rem; color: var(--muted); }

/* ─────────────── Marquee ─────────────── */

.marquee {
  margin-top: 70px;
  padding: 20px 0;
  background: var(--green-deep);
  overflow: hidden;
  direction: ltr;
  transform: rotate(-1deg) scale(1.02);
}
.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-inline-end: 34px;
}
.marquee__group span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 480;
  font-size: 1.35rem;
  color: var(--cream);
  white-space: nowrap;
}
html[lang="ar"] .marquee__group span { font-style: normal; font-weight: 700; }
.marquee__group i { color: var(--yellow); font-style: normal; font-size: .9rem; }

/* ─────────────── About ─────────────── */

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.about__media { position: relative; }
.about__photo-main {
  border-radius: var(--radius);
  overflow: hidden;
  height: clamp(420px, 46vw, 560px);
}
.about__photo-main img { width: 100%; height: 115%; object-fit: cover; }
.about__photo-small {
  position: absolute;
  bottom: -44px;
  inset-inline-end: -28px;
  width: 46%;
  border-radius: 18px;
  overflow: hidden;
  border: 8px solid var(--paper);
  box-shadow: 0 20px 44px rgba(19, 41, 26, .18);
}
.about__photo-small img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1.05; }

.about__badge {
  position: absolute;
  top: -46px;
  inset-inline-start: -34px;
  width: 136px; height: 136px;
  display: grid;
  place-items: center;
}
.about__badge-ring {
  position: absolute;
  inset: 0;
  animation: spin 16s linear infinite;
}
.about__badge-ring text {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .22em;
  fill: var(--green);
}
@keyframes spin { to { transform: rotate(360deg); } }
.about__badge img {
  width: 58px;
  filter: drop-shadow(0 4px 10px rgba(19, 41, 26, .2));
}

.about__points { list-style: none; margin: 26px 0 34px; display: grid; gap: 14px; }
.about__points li { display: flex; align-items: center; gap: 14px; font-weight: 550; }
.point-ico {
  flex: none;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--green-deep);
  font-size: .8rem;
  font-weight: 800;
}

/* ─────────────── Divisions ─────────────── */

.div-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.div-card {
  background: rgba(255, 253, 247, .045);
  border: 1px solid rgba(246, 239, 221, .1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .4s, background .4s;
}
.div-card:hover {
  transform: translateY(-8px);
  border-color: rgba(253, 191, 10, .45);
  background: rgba(255, 253, 247, .07);
}
.div-card__media { height: 210px; overflow: hidden; }
.div-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.div-card:hover .div-card__media img { transform: scale(1.07); }
.div-card__body { padding: 26px 24px 28px; }
.div-card__index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--yellow);
  opacity: .85;
}
.div-card__title {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.32rem;
  line-height: 1.2;
  margin: 8px 0 12px;
  color: var(--white);
}
html[lang="ar"] .div-card__title { font-weight: 800; }
.div-card__text { font-size: .93rem; color: rgba(246, 239, 221, .68); margin-bottom: 18px; }
.div-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-size: .92rem;
  color: var(--yellow);
}
.div-card__link .arr { transition: transform .35s var(--ease-out); font-style: normal; }
.div-card__link:hover .arr { transform: translateX(5px); }
[dir="rtl"] .div-card__link:hover .arr { transform: scaleX(-1) translateX(5px); }

/* ─────────────── Paulownia ─────────────── */

.paulownia { background: var(--paper); overflow: hidden; }
.paulownia__watermark {
  position: absolute;
  top: 10px;
  inset-inline-start: -2%;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(6rem, 16vw, 13rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(9, 95, 32, .13);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.paulownia__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(48px, 6vw, 90px);
  align-items: center;
  position: relative;
}

.pau-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: clamp(24px, 3.5vw, 52px);
  margin: 34px 0;
  padding-block: 26px;
  border-block: 1px solid var(--line);
}
.pau-fact__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--green);
  line-height: 1.1;
}
.pau-fact__num small { font-size: .6em; }
.pau-fact__label { font-size: .86rem; color: var(--muted); max-width: 15ch; display: inline-block; }

.pau-varieties-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  padding: 8px 18px;
  border: 1.5px solid rgba(9, 95, 32, .3);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(9, 95, 32, .05);
  transition: background .3s, color .3s, transform .3s var(--ease-out);
}
.chip:hover { background: var(--green); color: var(--cream); transform: translateY(-2px); }

.paulownia__media {
  position: relative;
  display: flex;
  justify-content: center;
}
.pau-photo { position: relative; overflow: hidden; margin: 0; }
.pau-photo figcaption {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 14px;
  padding: 7px 16px;
  background: rgba(4, 34, 14, .72);
  backdrop-filter: blur(6px);
  color: var(--cream);
  font-size: .8rem;
  font-weight: 600;
  border-radius: 999px;
}
.pau-photo--tall {
  width: 68%;
  border-radius: 500px 500px 26px 26px;
  z-index: 1;
}
.pau-photo--tall img { height: clamp(430px, 44vw, 560px); width: 100%; object-fit: cover; }
.pau-photo--low {
  position: absolute;
  bottom: -34px;
  inset-inline-start: 0;
  width: 46%;
  border-radius: 20px;
  border: 8px solid var(--paper);
  box-shadow: 0 20px 44px rgba(19, 41, 26, .18);
  z-index: 2;
}
.pau-photo--low img { aspect-ratio: 1.15; width: 100%; object-fit: cover; }

/* ─────────────── Products ─────────────── */

.prod-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.prod-filter {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  transition: all .3s;
}
.prod-filter:hover { border-color: var(--green); color: var(--green); }
.prod-filter.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.prod-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), opacity .4s;
}
.prod-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 44px rgba(19, 41, 26, .13);
}
.prod-card.is-hidden { display: none; }
.prod-card__media { height: 185px; overflow: hidden; }
.prod-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.prod-card:hover .prod-card__media img { transform: scale(1.08); }
.prod-card__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prod-card__tag {
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(9, 95, 32, .1);
  color: var(--green);
  margin-bottom: 12px;
}
.prod-card__tag--agro { background: rgba(253, 191, 10, .18); color: #8a6800; }
.prod-card__tag--feed { background: rgba(140, 90, 30, .12); color: #7a4b12; }
.prod-card__tag--vet  { background: rgba(160, 40, 60, .1);  color: #8d2f42; }
.prod-card__body h3 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.14rem;
  line-height: 1.25;
  margin-bottom: 6px;
}
html[lang="ar"] .prod-card__body h3 { font-weight: 800; }
.prod-card__meta { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.prod-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.prod-card__price {
  font-family: var(--font-display);
  font-weight: 620;
  font-size: 1.12rem;
  color: var(--green);
}
.prod-card__price small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .72rem;
  color: var(--muted);
  margin-inline-end: 2px;
}
.prod-card__btn {
  position: relative;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 100%;
  transition: color .3s, background-size .35s var(--ease-out);
}
.prod-card__btn:hover { color: var(--green); background-size: 30% 2px; }

/* ─────────────── Process ─────────────── */

.process { background: var(--paper); }
.proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.proc-step {
  position: relative;
  padding: 30px 26px 30px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
  overflow: hidden;
}
.proc-step::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 4px; height: 100%;
  background: var(--yellow);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s var(--ease-out);
}
.proc-step:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(19, 41, 26, .1); }
.proc-step:hover::before { transform: scaleY(1); }
.proc-step__num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 3rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(9, 95, 32, .45);
  margin-bottom: 18px;
}
.proc-step h3 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.22rem;
  margin-bottom: 10px;
}
html[lang="ar"] .proc-step h3 { font-weight: 800; }
.proc-step p { font-size: .93rem; color: var(--muted); }

/* ─────────────── Gallery ─────────────── */

.gallery {
  background: var(--paper);
  padding-bottom: clamp(80px, 10vw, 120px);
}
.gallery__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-inline: max(24px, calc((100vw - 1200px) / 2));
  padding-block: 10px;
  scroll-snap-type: x proximity;
  cursor: grab;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__track figure {
  flex: none;
  width: clamp(260px, 30vw, 380px);
  height: clamp(340px, 36vw, 450px);
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: center;
}
.gallery__track figure:nth-child(even) { margin-top: 34px; height: clamp(310px, 33vw, 416px); }
.gallery__track img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
  pointer-events: none;
}
.gallery__track figure:hover img { transform: scale(1.05); }

/* ─────────────── Quotes ─────────────── */

.quotes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 30px 30px;
  position: relative;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.quote-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(19, 41, 26, .1); }
.quote-card::before {
  content: "“";
  position: absolute;
  top: 6px;
  inset-inline-start: 22px;
  font-family: var(--font-display);
  font-size: 4.4rem;
  line-height: 1;
  color: var(--yellow);
}
[dir="rtl"] .quote-card::before { content: "”"; }
.quote-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 450;
  font-size: 1.04rem;
  line-height: 1.55;
  margin: 26px 0 22px;
}
html[lang="ar"] .quote-card p { font-family: "Cairo", sans-serif; font-style: normal; }
.quote-card footer { display: flex; flex-direction: column; gap: 2px; }
.quote-card footer strong { font-size: .95rem; }
.quote-card footer span { font-size: .85rem; color: var(--muted); }

/* ─────────────── CTA band ─────────────── */

.cta-band {
  position: relative;
  background: var(--yellow);
  color: var(--green-deep);
  padding: clamp(70px, 8vw, 110px) 0;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .35), transparent 65%);
  transform: translateX(30%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.cta-band__title {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  max-width: 20ch;
  text-wrap: balance;
}
html[lang="ar"] .cta-band__title { font-weight: 800; line-height: 1.3; }
.cta-band__sub { font-size: 1.08rem; opacity: .85; max-width: 52ch; margin-bottom: 14px; }

/* ─────────────── Contact ─────────────── */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(48px, 6vw, 90px);
  align-items: start;
}
.contact__list { list-style: none; margin-top: 36px; display: grid; gap: 24px; }
.contact__list li { display: flex; align-items: flex-start; gap: 18px; }
.contact__list svg {
  flex: none;
  width: 44px; height: 44px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(253, 191, 10, .14);
  color: var(--yellow);
}
.contact__list li div { display: flex; flex-direction: column; gap: 2px; }
.contact__list li div > span:first-child {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-60);
}
.contact__list li div a, .contact__list li div span:not(:first-child) {
  font-size: 1.05rem;
  font-weight: 550;
  color: var(--cream);
  transition: color .3s;
}
.contact__list li div a:hover { color: var(--yellow); }

.contact__form {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.form-field label {
  font-size: .85rem;
  font-weight: 700;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: .97rem;
  color: var(--ink);
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  transition: border-color .3s, box-shadow .3s;
  width: 100%;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(9, 95, 32, .12);
}
.form-note {
  margin-top: 14px;
  font-size: .84rem;
  color: var(--muted);
  text-align: center;
}
.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--green-tint);
  color: var(--green);
  font-weight: 650;
  text-align: center;
}

/* ─────────────── Footer ─────────────── */

.footer {
  background: var(--green-deep);
  color: var(--cream);
  padding-top: clamp(60px, 7vw, 90px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(32px, 4vw, 60px);
  padding-bottom: 54px;
}
.footer__logo-card {
  display: inline-block;
  background: var(--paper);
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 20px;
}
.footer__logo-card img { height: 64px; }
.footer__brand p { font-size: .93rem; color: rgba(246, 239, 221, .65); max-width: 34ch; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col h4 {
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}
.footer__col a, .footer__col span {
  font-size: .95rem;
  color: rgba(246, 239, 221, .75);
  transition: color .3s;
  width: fit-content;
}
.footer__col a:hover { color: var(--yellow); }
.footer__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 22px;
  border-top: 1px solid var(--cream-10);
  font-size: .85rem;
  color: rgba(246, 239, 221, .5);
}
.footer__powered a {
  color: var(--yellow);
  font-weight: 650;
  transition: color .3s;
}
.footer__powered a:hover { color: var(--cream); }

/* ─────────────── WhatsApp float ─────────────── */

.wa-float {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  z-index: 900;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .4);
  transition: transform .35s var(--ease-out);
}
.wa-float:hover { transform: scale(1.1) rotate(6deg); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPing 2s ease-out infinite;
}
@keyframes waPing {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ─────────────── Scroll reveal ─────────────── */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ─────────────── Language switch fade ─────────────── */

main, .header, .footer { transition: opacity .28s ease; }
body.lang-switching main,
body.lang-switching .header,
body.lang-switching .footer { opacity: 0; }

/* ─────────────── Responsive ─────────────── */

@media (max-width: 1080px) {
  .div-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .proc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header .btn { display: none; }
  .about__grid, .paulownia__grid, .contact__grid { grid-template-columns: 1fr; }
  .paulownia__media { margin-top: 30px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-inline-start: none; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: none; }
  .stat:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes__grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__scroll { display: none; }
}

@media (max-width: 560px) {
  .prod-grid, .proc-grid, .div-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats { margin-top: -60px; }
  .stat { padding: 24px 16px; }
  .about__photo-small { inset-inline-end: 8px; }
  .about__badge { inset-inline-start: -10px; top: -34px; width: 110px; height: 110px; }
  .about__badge img { width: 46px; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__img { height: 46px; }
  .hero__cta .btn { width: 100%; }
  .pau-photo--tall { width: 82%; }
  .pau-photo--low { width: 54%; }
}

/* ─────────────── Reduced motion ─────────────── */

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