/* =====================================================================
   site.css — THE LOOK OF THE WHOLE WEBSITE (all pages, both languages)
   =====================================================================
   HOW TO EDIT (plain language)
   - To change a COLOUR, FONT or SIZE: edit "DESIGN TOKENS" just below.
     Change one value and every page follows. Keep the # and 6 characters
     for colours, e.g. #115D37.
   - Everything else here is the shared design. Normally leave it alone.
   - Styles used by only one page live in that page's own file
     (for example css/home.css).

   TABLE OF CONTENTS
    1. Design tokens (colours, fonts, sizes, corners, speeds)
    2. Base
    3. Layout helpers
    4. Components (buttons, labels, cards, photos, numbers, placeholders)
    5. Announcement strip
    6. Header & navigation
    7. Hero
    8. Decorations (leaves, sun glow, hill divider)
    9. Footer & floating buttons
   10. Animations & reduced motion
   11. Extra components (centered button row, wide photo, quote)
   12. Production cycle
   13. Numbered list
   14. Page transitions
   15. Plain banner
   ===================================================================== */

/* =====================================================================
   ===== SECTION: Design tokens =====
   Change a value here and the whole site follows.
   ===================================================================== */
:root {
  /* --- Brand colours (taken from the logo and company profile) --- */
  --green-900: #0B3B24;  /* deepest green: footer, dark sections */
  --green-700: #115D37;  /* main brand green (exact logo background), headings, buttons */
  --green-600: #1C7347;  /* button colour when pointed at / pressed */
  --lime-500:  #B2C544;  /* logo lime: decoration, and LARGE text on dark green only */
  --lime-100:  #E3EAC6;  /* soft lime: icon circles, photo placeholders */
  --olive-700: #4F6A17;  /* readable olive for small accent text on light backgrounds */
  --cream-50:  #FBF9F4;  /* page background (very light warm white) */
  --paper:     #FFFFFF;  /* cards */
  --sand-100:  #FFF8DC;  /* alternate section background ("cornsilk" beige) */
  --ink:       #22261F;  /* main text */
  --ink-soft:  #4A4F45;  /* secondary text (still high contrast) */
  --white:     #FFFFFF;
  --focus-color: var(--green-900); /* keyboard focus ring on light backgrounds */

  /* --- Fonts --- */
  --font-heading: "Noto Naskh Arabic", "Times New Roman", serif;   /* friendly serif headings */
  --font-body:    "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif; /* clear body text */

  /* --- Text sizes (body is 20px: comfortable for older readers) --- */
  --text-body:  1.25rem;
  --text-small: 1.125rem;   /* never smaller than 18px */
  --text-h1: clamp(2.2rem, 4vw + 1rem, 3.75rem);
  --text-h2: clamp(1.9rem, 2.5vw + 1rem, 2.75rem);
  --text-h3: 1.5rem;
  --leading-body: 1.8;      /* Arabic needs generous line spacing */

  /* --- Spacing scale --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: clamp(3.5rem, 6vw, 6rem); /* space between sections */
  --gutter: 20px;           /* side margin on phones */
  --max-width: 1180px;      /* widest the content gets */

  /* --- Rounded corners (organic, soft) --- */
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-blob: 28px 28px 140px 28px; /* leaf-like photo corner, as in the profile */
  --radius-pill: 999px;

  /* --- Shadows --- */
  --shadow-soft: 0 6px 24px rgba(11, 59, 36, 0.08);
  --shadow-lift: 0 14px 36px rgba(11, 59, 36, 0.16);

  /* --- Animation speeds --- */
  --speed-fast: 200ms;
  --speed-base: 500ms;
  --speed-slow: 900ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* --- Paper grain texture (CSS only, very faint) --- */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.15 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* English pages swap the fonts automatically (same CSS everywhere) */
:root:lang(en) {
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", Arial, sans-serif;
  --leading-body: 1.7;
}
/* ===== END SECTION: Design tokens ===== */


/* ===== SECTION: Base ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--ink);
  background-color: var(--cream-50);
  background-image: var(--grain);
}

/* Anything marked hidden stays hidden, whatever its other styles say */
[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--green-700);
  line-height: 1.4;
  margin: 0 0 var(--space-3);
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

p { margin: 0 0 var(--space-3); max-width: 68ch; }

a { color: var(--green-700); text-underline-offset: 0.25em; }

/* Clear keyboard focus ring on everything */
:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark { --focus-color: var(--lime-500); }

/* "Skip to content" link for keyboard and screen-reader users */
.skip-link {
  position: absolute;
  inset-inline-start: var(--space-3);
  top: -100px;
  z-index: 100;
  padding: var(--space-2) var(--space-4);
  background: var(--white);
  color: var(--green-900);
  border-radius: var(--radius-s);
  font-weight: 600;
}
.skip-link:focus { top: var(--space-3); }

/* Hidden from eyes, still read aloud by screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* ===== END SECTION: Base ===== */


/* ===== SECTION: Layout helpers ===== */
.container {
  width: min(100% - 2 * var(--gutter), var(--max-width));
  margin-inline: auto;
}

.section { padding-block: var(--space-7); position: relative; }
.section--sand { background-color: var(--sand-100); }
.section--dark { background-color: var(--green-900); color: #E9EFD8; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.center { text-align: center; }
.center p, p.center { margin-inline: auto; }

.lead { font-size: 1.375rem; color: var(--ink-soft); }
.section--dark .lead { color: #E9EFD8; }

.grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* Photo beside text */
.split { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
}
/* ===== END SECTION: Layout helpers ===== */


/* ===== SECTION: Components ===== */

/* --- Buttons (large, easy to tap) --- */
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.center .btn-row { justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 56px;
  padding: 0 var(--space-5);
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--speed-fast) var(--ease), background-color var(--speed-fast) var(--ease);
}
.btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn--primary { background: var(--green-700); color: var(--white); }
.btn--primary:hover { background: var(--green-600); }
.btn--lime { background: var(--lime-500); color: var(--green-900); }
.btn--outline-light { border-color: var(--white); color: var(--white); }
.btn--outline-green { border-color: var(--green-700); color: var(--green-700); }
.btn:active { transform: scale(0.98); }

/* --- Section label (as in the profile: "01 | ABOUT US / من نحن") --- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--olive-700);
}
.eyebrow-num {
  font-size: 2.25rem;
  line-height: 1;
  color: var(--olive-700);
  padding-inline-end: var(--space-3);
  border-inline-end: 2px solid var(--lime-500);
}
.eyebrow-text { display: flex; flex-direction: column; line-height: 1.4; font-size: var(--text-small); }
.eyebrow-text [lang="en"] { font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; }
.section--dark .eyebrow, .section--dark .eyebrow-num { color: var(--lime-500); }
.center .eyebrow { justify-content: center; }

.subtitle { display: block; font-weight: 600; color: var(--green-700); opacity: 0.85; }

/* --- Cards --- */
.card {
  background: var(--paper);
  border-radius: var(--radius-m);
  padding: var(--space-5);
  box-shadow: var(--shadow-soft);
  transition: transform var(--speed-base) var(--ease), box-shadow var(--speed-base) var(--ease);
}
.card h3 { margin-bottom: var(--space-2); }
.card p { color: var(--ink-soft); margin-bottom: 0; }
.card-head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.card-head h3 { margin: 0; }

/* Gentle lift (the card's content never depends on this) */
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
}
.card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.icon-circle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lime-100);
  color: var(--green-700);
}
.icon-circle svg { width: 26px; height: 26px; }

/* --- Photo box: shows a labelled placeholder until the real photo exists ---
   Use:  <figure class="media ratio-3x2" data-label="PHOTO: ... (file-name.webp)">
           <img src="images/file-name.webp" alt="..." width="1200" height="800" loading="lazy">
         </figure> */
.media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-l);
  background-color: var(--lime-100);
  background-image: repeating-linear-gradient(135deg, rgba(17, 94, 57, 0.05) 0 14px, transparent 14px 28px);
  aspect-ratio: 3 / 2;
}
.media::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  text-align: center;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--green-700);
  direction: ltr;
}
.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--speed-base) var(--ease);
}
.media.is-missing img { opacity: 0; }

.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-4x3  { aspect-ratio: 4 / 3; }
.ratio-1x1  { aspect-ratio: 1 / 1; }
.ratio-3x4  { aspect-ratio: 3 / 4; }
.media--blob { border-radius: var(--radius-blob); }
.media--arch { border-radius: 999px 999px var(--radius-m) var(--radius-m); border: 4px solid var(--lime-500); }
.media--round { border-radius: 50%; border: 5px solid var(--lime-500); }

/* --- Farm numbers --- */
.stat {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--paper);
  border-radius: var(--radius-m);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-soft);
}
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1.1;
  color: var(--green-700);
  direction: ltr;
  text-align: start;
}
.stat-label { display: block; font-weight: 600; }
.stat-note  { display: block; color: var(--ink-soft); font-size: var(--text-small); }

/* --- Placeholder text that still needs the owner's input --- */
.placeholder-note {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border: 2px dashed var(--olive-700);
  border-radius: var(--radius-s);
  color: var(--olive-700);
  font-size: var(--text-small);
  direction: ltr;
}
/* ===== END SECTION: Components ===== */


/* ===== SECTION: Announcement strip ===== */
.announce {
  background: var(--lime-500);
  color: var(--green-900);
  text-align: center;
  font-size: var(--text-small);
  font-weight: 600;
}
.announce p { margin: 0 auto; padding: var(--space-2) 0; max-width: none; }
/* ===== END SECTION: Announcement strip ===== */


/* ===== SECTION: Header & navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green-700);
  color: var(--white);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 80px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 62px; width: auto; }
.brand-text {
  display: none;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--lime-500);
}
.brand.is-missing img { position: absolute; width: 1px; height: 1px; opacity: 0; }
.brand.is-missing .brand-text { display: inline; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: 0 var(--space-4);
  border: 2px solid var(--lime-500);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 var(--space-4);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-s);
}
.nav-list a:hover { background: rgba(255, 255, 255, 0.08); }
.nav-list a[aria-current="page"] {
  color: var(--lime-500);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.5em;
}
.nav-list .nav-lang { font-family: "Nunito Sans", "IBM Plex Sans Arabic", Arial, sans-serif; }

/* Phones and tablets: menu opens under the header */
.js .site-nav { display: none; }
.site-nav {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  background: var(--green-900);
  padding: var(--space-3) var(--gutter) var(--space-5);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
.site-header.is-open .site-nav { display: block; }

/* Large screens: menu sits in the header */
@media (min-width: 1150px) {
  .nav-toggle { display: none; }
  .js .site-nav, .site-nav {
    display: block;
    position: static;
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .nav-list { display: flex; align-items: center; gap: var(--space-1); }
  .nav-list a { font-size: 1.125rem; padding: 0 var(--space-3); }
  .nav-list .nav-lang { margin-inline-start: var(--space-3); border: 2px solid var(--lime-500); border-radius: var(--radius-pill); }
}
/* ===== END SECTION: Header & navigation ===== */


/* ===== SECTION: Hero | big photo banner at the top of a page ===== */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(88vh, 760px);
  overflow: hidden;
  color: var(--white);
  background: var(--green-700);
}
.hero .media { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.hero .media::before { place-items: start center; padding-top: var(--space-6); }
.hero-parallax { position: absolute; inset: -10% 0; will-change: transform; }
.hero-parallax img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 59, 36, 0.92) 0%, rgba(11, 59, 36, 0.55) 45%, rgba(11, 59, 36, 0.15) 100%);
}
.hero-content { position: relative; z-index: 2; padding-block: var(--space-6) calc(var(--space-6) + 70px); }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero .lead { color: #EEF3DF; }
.hero-wave {
  position: absolute;
  bottom: -1px;
  inset-inline: 0;
  z-index: 3;
  width: 100%;
  height: 70px;
  color: var(--cream-50);
}
/* Smaller hero for inner pages */
.hero--small { min-height: min(55vh, 480px); }
/* ===== END SECTION: Hero ===== */


/* ===== SECTION: Decorations | leaves, sun glow, hill divider (purely decorative) ===== */
.leaves { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.leaf {
  position: absolute;
  width: 34px;
  height: 34px;
  color: var(--lime-500);
  opacity: 0.85;
  animation: leaf-drift 16s ease-in-out infinite;
}
.leaf:nth-child(1) { top: 18%; inset-inline-start: 8%;  }
.leaf:nth-child(2) { top: 32%; inset-inline-start: 78%; width: 26px; height: 26px; animation-delay: -4s; animation-duration: 19s; }
.leaf:nth-child(3) { top: 58%; inset-inline-start: 62%; width: 22px; height: 22px; animation-delay: -9s; }
.leaf:nth-child(4) { top: 12%; inset-inline-start: 45%; width: 28px; height: 28px; animation-delay: -13s; animation-duration: 21s; }

.sun-glow {
  position: absolute;
  top: -120px;
  inset-inline-end: -80px;
  z-index: 1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 120, 0.55) 0%, rgba(255, 214, 120, 0) 68%);
  pointer-events: none;
  animation: sun-breathe 9s ease-in-out infinite;
}

/* Hand-drawn hills line. A cover slides away to "draw" it (transform only). */
.hill-divider {
  position: relative;
  width: min(560px, 85%);
  margin: 0 auto;
  overflow: hidden;
  color: var(--olive-700);
  --divider-cover: var(--cream-50);
}
.section--sand .hill-divider { --divider-cover: var(--sand-100); }
.hill-divider svg { width: 100%; height: auto; }
.hill-divider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--divider-cover);
  transition: transform 1.6s var(--ease);
}
.hill-divider.is-visible::after { transform: translateX(-101%); }
/* ===== END SECTION: Decorations ===== */


/* ===== SECTION: Footer & floating buttons ===== */
.site-footer {
  background: var(--green-900);
  color: #E9EFD8;
  padding-block: var(--space-5) calc(var(--space-4) + 80px); /* extra room on phones for the floating call button */
}
/* Phones: everything centred in one column */
.footer-grid { display: grid; gap: var(--space-4); justify-items: center; text-align: center; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.footer-brand p { margin: 0; max-width: 38ch; font-size: var(--text-small); }
.footer-logo { width: 150px; height: auto; }
.footer-title { font-family: var(--font-heading); font-size: 1.25rem; color: var(--lime-500); margin: 0 0 var(--space-1); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 48px;
  color: var(--white);
  font-size: var(--text-small);
}
.footer-list svg { width: 22px; height: 22px; color: var(--lime-500); flex-shrink: 0; }
/* Wider screens: logo and sentence on one side, contact details on the other, both vertically centred */
@media (min-width: 860px) {
  .site-footer { padding-bottom: var(--space-4); }
  .footer-grid { grid-template-columns: 1fr auto; align-items: center; justify-items: stretch; text-align: start; gap: var(--space-6); }
  .footer-brand { flex-direction: row; align-items: center; gap: var(--space-4); }
  .footer-contact { justify-self: end; }
}
.footer-bottom {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(178, 197, 68, 0.3);
  font-size: 1rem;
  text-align: center;
}
.footer-bottom p { margin: 0; max-width: none; }

.float-actions {
  position: fixed;
  bottom: var(--space-3);
  inset-inline-end: var(--space-3);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.float-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 56px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--green-700);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-lift);
  border: 2px solid var(--lime-500);
}
.float-btn svg { width: 24px; height: 24px; }
/* ===== END SECTION: Footer & floating buttons ===== */


/* ===== SECTION: Animations & reduced motion ===== */
/* Soft reveal on scroll (only when JavaScript works) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--speed-slow) var(--ease), transform var(--speed-slow) var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 120ms; }
.delay-2 { transition-delay: 240ms; }
.delay-3 { transition-delay: 360ms; }

@keyframes leaf-drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(-18px, 22px) rotate(25deg); }
  50%  { transform: translate(10px, 44px) rotate(-10deg); }
  75%  { transform: translate(-8px, 20px) rotate(18deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes sun-breathe {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.08); }
}

/* People who ask their device for less motion get a calm, still page */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .leaf, .sun-glow { animation: none; }
  .hill-divider::after { transform: translateX(-101%); }
}
/* ===== END SECTION: Animations & reduced motion ===== */


/* ===== SECTION: Extra components | used on several pages ===== */
.center-row { justify-content: center; margin-top: var(--space-5); }
.ratio-5x2 { aspect-ratio: 5 / 2; }

/* Highlighted quote (green box with lime edge) */
.quote {
  margin: var(--space-4) 0;
  padding: var(--space-4) var(--space-5);
  border-inline-start: 5px solid var(--lime-500);
  border-radius: var(--radius-s);
  background: var(--green-700);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.35rem;
}
.quote p { margin: 0; }
/* ===== END SECTION: Extra components ===== */


/* ===== SECTION: Production cycle | three steps with arrows, "to the table" band, benefits ===== */
/* Production cycle: three steps with arrows between them */
.cycle {
  list-style: none;
  margin: var(--space-6) 0 var(--space-5);
  padding: 0;
  display: grid;
  gap: var(--space-6);
}
.cycle-step { position: relative; text-align: center; }
.cycle-step p { margin-inline: auto; color: var(--ink-soft); }
.cycle-photo { width: 160px; margin: 0 auto var(--space-3); }
/* Arrow pointing to the next step: down on phones, sideways on wide screens */
.cycle-step:not(:last-child)::after {
  content: "↓";
  position: absolute;
  bottom: calc(var(--space-6) * -0.95);
  inset-inline: 0;
  font-size: 2rem;
  line-height: 1;
  color: var(--green-700);
}
@media (min-width: 860px) {
  .cycle { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
  .cycle-step:not(:last-child)::after {
    content: "→";
    bottom: auto;
    top: 60px;
    inset-inline: auto calc(var(--space-5) * -0.9);
  }
  [dir="rtl"] .cycle-step:not(:last-child)::after { content: "←"; }
}

/* "To the table" band */
.table-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-pill);
  background: var(--green-700);
  color: var(--white);
  text-align: center;
}
.table-band p { margin: 0; }
.table-band-title { font-family: var(--font-heading); font-size: 1.4rem; color: var(--lime-500); }

.cycle-benefits {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.cycle-benefits li { display: flex; align-items: center; gap: var(--space-3); font-weight: 600; }
.cycle-benefits svg { width: 32px; height: 32px; flex-shrink: 0; color: var(--green-700); }
@media (min-width: 860px) {
  .cycle-benefits { grid-template-columns: repeat(3, 1fr); }
  .cycle-benefits li { justify-content: center; }
}
/* ===== END SECTION: Production cycle ===== */


/* ===== SECTION: Numbered list | big lime numbers on dark green (Why Rawabi, husbandry) ===== */
.reasons { list-style: none; margin: var(--space-4) 0 0; padding: 0; }
.reasons li {
  display: flex;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-top: 1px solid rgba(178, 197, 68, 0.3);
}
.reasons li:last-child { border-bottom: 1px solid rgba(178, 197, 68, 0.3); }
.reason-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  line-height: 1.1;
  color: var(--lime-500);
  flex-shrink: 0;
  min-width: 2.5ch;
}
.reasons h3 { margin-bottom: var(--space-1); font-size: 1.375rem; }
.reasons p { margin: 0; color: #E9EFD8; }
/* ===== END SECTION: Numbered list ===== */


/* ===== SECTION: Page transitions | soft fade between pages (modern browsers; others switch instantly) ===== */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 350ms; animation-timing-function: var(--ease); }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
/* ===== END SECTION: Page transitions ===== */


/* ===== SECTION: Plain banner | green banner without a photo (Products, Partnership) ===== */
.hero--plain {
  background: radial-gradient(circle at 80% 0%, var(--green-600) 0%, var(--green-700) 45%, var(--green-900) 100%);
  min-height: min(48vh, 420px);
}
.hero--plain .eyebrow,
.hero--plain .eyebrow-num { color: var(--lime-500); }
/* ===== END SECTION: Plain banner ===== */
