/*
  Le Marocain Fruits & Nuts — design system

  Phase 3.6 visual identity: a natural / vegetal / premium-export palette,
  replacing the earlier WordPress-matched colors (documented in
  docs/PHASE-3.6-VISUAL-IDENTITY.md, with the old values kept there for
  reference). Structure, layout, components, breakpoints and the square
  button/section shape convention are all unchanged from before — only
  color values (and the couple of rules noted inline) were touched.
*/

:root{
  --color-primary: #1F5C3C;        /* deep green — trust, agriculture, primary actions */
  --color-primary-dark: #12331F;   /* darkest green — footer, heavy CTA surfaces */
  --color-primary-hover: #2F7A4E;  /* brighter natural green — hover/active feedback */
  --color-accent: #357A47;         /* natural mid-green — secondary buttons, small accents */
  --color-text: #1E2A22;           /* dark green-charcoal, replaces pure black */
  --color-text-muted: #5B6B5C;     /* muted sage-grey body text */
  --color-bg: #FBF9F4;             /* crème / off-white page background */
  --color-bg-alt: #EEF3EA;         /* pale sage — alternate section background */
  --color-border: #DCE3D8;         /* soft sage-grey border */
  --color-surface: #FFFFFF;        /* white — cards/surfaces sitting on the crème page bg */
  --font-heading: "Quicksand", Arial, sans-serif;
  --font-body: "Quicksand", Arial, sans-serif;
  --radius: 0px;                   /* unchanged: real site buttons/sections use square corners */
  --shadow: 0 0 14px rgba(0,0,0,0.09); /* unchanged: real box-shadow value from the live CSS */
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: var(--color-primary); text-decoration: none; }
a:hover{ color: var(--color-primary-hover); }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5,h6{
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--color-text);
}
h1{ font-size: 48.83px; letter-spacing: -1px; }
h2{ font-size: 30px; letter-spacing: -1px; }
h3{ font-size: 24px; }
h4{ font-size: 20px; }
h5{ font-size: 20px; }
h6{ font-size: 16px; text-transform: uppercase; color: var(--color-accent); } /* brand green replaces the old brown/citrus accent */
@media (max-width: 1024px){
  h1{ font-size: 42px; } h2{ font-size: 34px; } h3{ font-size: 28px; }
  h4{ font-size: 24px; } h5{ font-size: 20px; } h6{ font-size: 15px; }
}
@media (max-width: 767px){
  body{ font-size: 14px; }
}
p{ margin: 0 0 1em; color: var(--color-text-muted); text-align: justify; text-justify: inter-word; }
@media (max-width: 480px){ p{ text-align: left; } } /* justify creates awkward gaps on very narrow columns */
.container{
  width: 80%;
  margin: 0 auto;
}
@media (max-width: 767px){ .container{ width: 95%; } }
.visually-hidden{
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link{
  position: absolute; left: -999px; top: 0; background: var(--color-primary);
  color: #fff; padding: 10px 16px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

/* Buttons */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: "Montserrat", Arial, sans-serif; font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: .03em; line-height: 1;
  padding: 16px 28px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:focus-visible{ outline: 3px solid var(--color-accent); outline-offset: 2px; }
.btn-primary{ background: var(--color-primary); color: #fff; }
.btn-primary:hover{ background: var(--color-primary-hover); color: #fff; transform: translateY(-1px); }
.btn-accent{ background: var(--color-accent); color: #fff; }
.btn-accent:hover{ filter: brightness(0.92); transform: translateY(-1px); }
.btn-outline{ background: transparent; border-color: currentColor; color: var(--color-primary); }
.btn-outline:hover{ background: var(--color-primary); color: #fff; }

/* Header */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: var(--color-primary-dark); border-bottom: 1px solid rgba(255,255,255,.1); /* same deep green as the footer */
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled{ box-shadow: 0 4px 16px rgba(0,0,0,.25); } /* subtle shadow once scrolled, never a hard jump */
.site-header::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, transparent, #9FCBA6 50%, transparent);
  opacity: .55; pointer-events: none;
} /* one subtle organic accent line - not a decorative leaf, just a soft green gradient */
.site-header .container{
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 108px; transition: height .2s ease; /* fixed - the header's own visual height, unaffected by the logo size below */
}
.site-header.is-scrolled .container{ height: 84px; }
.site-header.is-scrolled .brand img{ height: 56px; transition: height .2s ease; }
.brand{ display: flex; align-items: center; }
.brand img{ width: auto; height: 72px; transition: height .2s ease; }
.main-nav{ display: none; }
.main-nav ul{ display: flex; gap: 26px; align-items: center; }
.main-nav a{ font-weight: 500; font-size: .95rem; padding-bottom: 4px; border-bottom: 2px solid transparent; color: #EAF0E5; } /* light on the dark green header, same family as footer text */
.main-nav a:hover, .main-nav a[aria-current="page"]{ border-bottom-color: #9FCBA6; color: #9FCBA6; } /* same light green used for footer link hover - verified readable on this dark background */
.header-actions{ display: flex; align-items: center; gap: 14px; }
/* The shared .btn-primary is deep green - on this now-deep-green header it
   would disappear. Override just here so the CTA still pops. */
.site-header .btn-primary{ background: #fff; color: var(--color-primary); }
.site-header .btn-primary:hover{ background: var(--color-bg-alt); color: var(--color-primary); }
.lang-switcher{ position: relative; }
.lang-switcher button{
  font: inherit; background: var(--color-bg-alt); border: 1px solid var(--color-border);
  border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 600; font-size: .85rem;
  color: var(--color-primary); /* pale sage pill, deep green text - Phase 3.7 */
}
.lang-switcher button:hover{ background: var(--color-border); }
.lang-switcher ul{
  display: none; position: absolute; right: 0; top: calc(100% + 6px);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 8px;
  box-shadow: var(--shadow); min-width: 160px; overflow: hidden;
}
.lang-switcher.open ul{ display: block; }
.lang-switcher li a{ display: flex; justify-content: space-between; gap: 8px; padding: 10px 14px; font-size: .9rem; }
.lang-switcher li a:hover{ background: var(--color-bg-alt); }
.lang-switcher li[aria-disabled="true"] a{ color: #aaa; cursor: not-allowed; pointer-events: none; }
.nav-toggle{
  display: inline-flex; background: none; border: none; padding: 6px; cursor: pointer;
}
.nav-toggle span{ display: block; width: 24px; height: 2px; background: #EAF0E5; margin: 5px 0; transition: transform .2s ease, opacity .2s ease; } /* light bar on the dark header, matches nav text */
.mobile-nav{
  display: none; flex-direction: column; gap: 4px; background: var(--color-primary-dark);
  border-top: 1px solid rgba(255,255,255,.12); padding: 10px 20px 18px;
}
.mobile-nav.open{ display: flex; }
.mobile-nav a{ padding: 10px 0; font-weight: 500; color: #EAF0E5; border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-nav a:hover, .mobile-nav a[aria-current="page"]{ color: #9FCBA6; }
.mobile-nav .lang-row{ display: flex; gap: 8px; padding-top: 12px; flex-wrap: wrap; }
.mobile-nav .lang-row a{ border: 1px solid rgba(255,255,255,.3); color: #EAF0E5; border-radius: 999px; padding: 6px 14px; font-size: .85rem; }
.mobile-nav .lang-row a:hover{ background: rgba(255,255,255,.1); }

@media (min-width: 960px){
  .main-nav{ display: block; }
  .nav-toggle{ display: none; }
  .mobile-nav{ display: none !important; }
}

/* Hero */
.hero{
  position: relative; overflow: hidden; color: #fff;
  /* real homepage hero min-height from the live site's own CSS (post-7.css):
     800px desktop, 700px <=1024px, 500px <=767px - not a viewport-relative guess */
  min-height: 800px; display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(18,51,31,.5), rgba(18,51,31,.7)), var(--color-primary);
  background-size: cover; background-position: center;
}
@media (max-width: 1024px){ .hero{ min-height: 700px; } }
@media (max-width: 767px){ .hero{ min-height: 500px; } }
.hero-media{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-slideshow{ position: absolute; inset: 0; z-index: 0; }
.hero-slide{ opacity: 0; transition: opacity 1s ease; }
.hero-slide.active{ opacity: 1; }
@media (prefers-reduced-motion: reduce){ .hero-slide{ transition: none; } }
.hero-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,51,31,.4), rgba(18,51,31,.72)); /* natural green tint, not black */
  z-index: 1;
}
.hero-content{ position: relative; z-index: 2; padding: 90px 0; max-width: 640px; margin: 0 auto; text-align: center; }
.hero-eyebrow{
  display: inline-block; color: #fff; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: 6px 16px; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 18px;
}
.hero-content h1{ color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-content p{ font-size: 1.05rem; opacity: .95; color: #fff; text-align: center; }
.hero-cta{ display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; justify-content: center; }
.hero-stats{ display: flex; gap: 32px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.25); justify-content: center; }
.hero-stats > div{ text-align: center; }
.hero-stats strong{ display: block; font-family: var(--font-heading); font-size: 1.6rem; color: #fff; }
.hero-stats span{ display: block; font-size: .8rem; color: rgba(255,255,255,.85); }
.hero-scroll-cue{
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 2; color: #fff; font-size: 1.4rem; opacity: .8; text-decoration: none;
  animation: hero-bounce 2s ease-in-out infinite;
}
.hero-scroll-cue:hover{ opacity: 1; }
@keyframes hero-bounce{ 0%,100%{ transform: translateX(-50%) translateY(0); } 50%{ transform: translateX(-50%) translateY(8px); } }
@media (prefers-reduced-motion: reduce){ .hero-scroll-cue{ animation: none; } }
@media (max-width: 767px){ .hero-scroll-cue{ display: none; } }
.hero.hero-page{ min-height: 360px; } /* no per-page hero CSS was found for inner pages; scaled down from the real homepage hero proportionally */
@media (max-width: 1024px){ .hero.hero-page{ min-height: 300px; } }
@media (max-width: 767px){ .hero.hero-page{ min-height: 240px; } }
.hero.hero-page .hero-content{ padding: 56px 0; }

/* Sections */
.section{ padding: 50px 0; } /* real site's common section padding (post-7.css: 50px 0 50px 0) */
.section-alt{ background: var(--color-bg-alt); }
.section-title{ text-align: center; max-width: 720px; margin: 0 auto 40px; }

/* Homepage intro + "Why us" side by side on wide screens */
.home-intro-grid{ display: grid; gap: 48px; }
@media (min-width: 960px){ .home-intro-grid{ grid-template-columns: 1fr 1fr; align-items: start; } } /* both headings line up at the top now that the left column also has the map image */
.section-title h2{ font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
.section-title .eyebrow{
  display: inline-block; color: var(--color-accent); font-weight: 700; /* brand green replaces the old brown/citrus accent */
  letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px;
}

/* Product grid / cards */
.product-grid{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; /* real site gap value from post-7.css */
}
@media (min-width: 640px){ .product-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px){ .product-grid{ grid-template-columns: repeat(4, 1fr); } }
/*
  Real site note: the live homepage's product images use a circular mask
  (confirmed via 8 masked .elementor-widget-image rules in its own CSS,
  webkit-mask-image: circle.svg, one per product) - not a bordered/shadowed
  square card. Reproduced here as a plain circular image + caption, no card
  chrome, matching that source rather than the boxed-card look guessed at
  in an earlier phase.
*/
.product-card{ text-align: center; transition: transform .2s ease; }
.product-card:hover{ transform: translateY(-3px); }
.product-card img{ width: 110px; height: 110px; object-fit: cover; border-radius: 50%; margin: 0 auto; }
@media (max-width: 767px){ .product-card img{ width: 88px; height: 88px; } }

/* Export markets / flags (real flag icons from the live site), grouped by region */
.flag-groups{ display: flex; flex-direction: column; gap: 36px; margin-top: 36px; }
.flag-group-title{
  text-align: center; font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--color-accent); margin-bottom: 20px;
  position: relative;
}
.flag-group-title::after{
  content: ""; display: block; width: 40px; height: 2px; background: var(--color-accent);
  opacity: .5; margin: 8px auto 0;
}
.flag-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 14px;
  text-align: center;
}
@media (min-width: 640px){ .flag-grid{ grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 960px){ .flag-grid{ grid-template-columns: repeat(8, 1fr); } }
.flag-item{
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 6px; border-radius: 14px; background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.flag-item:hover{
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--color-accent);
}
.flag-item img{
  width: 60px; height: 60px; object-fit: cover; border-radius: 50%;
  border: 3px solid var(--color-bg-alt); transition: border-color .18s ease;
}
.flag-item:hover img{ border-color: var(--color-accent); }
.flag-name{
  font-family: var(--font-heading); font-size: .78rem; font-weight: 600;
  letter-spacing: .01em; color: var(--color-text-muted);
}

/* Homepage intro: Morocco export map illustration */
.brand-map-img{
  width: 100%; height: auto; margin-bottom: 20px; display: block;
  border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--color-border);
  transition: transform .25s ease, box-shadow .25s ease;
}
.brand-map-img:hover{ transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.14); }

/* IQF page photo gallery (real product/export photos) */
.iqf-gallery{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px;
}
@media (min-width: 640px){ .iqf-gallery{ grid-template-columns: repeat(4, 1fr); } }
.iqf-gallery figure{ margin: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 4; }
.iqf-gallery img{ width: 100%; height: 100%; object-fit: cover; display: block; }

/* About page: brand photo + company logo */
.about-photo{ display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow); margin: 24px 0; }
.about-logo-wrap{ text-align: center; margin-top: 32px; }
.about-logo{ width: 160px; height: auto; }
.product-card .card-body{ padding: 14px 12px 4px; }
.product-card h3{ font-size: 1rem; margin-bottom: 4px; color: var(--color-primary); }
.product-card .card-tag{ font-size: .8rem; color: var(--color-text-muted); }

/* Stats */
.stats-grid{ display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; text-align: center; }
@media (min-width: 768px){ .stats-grid{ grid-template-columns: repeat(4,1fr); } }
.stat-item .stat-number{ font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: var(--color-primary); }
.stat-item .stat-label{ font-size: .9rem; color: var(--color-text-muted); }

/* Feature list */
.feature-list{ display: grid; gap: 18px; }
@media (min-width: 768px){ .feature-list{ grid-template-columns: repeat(2,1fr); } }
.feature-item{ display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--color-border); border-left: 3px solid var(--color-accent); border-radius: var(--radius); background: var(--color-surface); }
.feature-item .icon{ flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--color-bg-alt); display: flex; align-items: center; justify-content: center; color: var(--color-primary); font-weight: 700; }
.feature-item p{
  text-align: justify; text-align-last: left; hyphens: auto; -webkit-hyphens: auto;
  word-spacing: -0.5px;
}

/* Product detail page */
.product-hero{
  display: grid; gap: 40px; align-items: start;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
}
@media (min-width: 860px){ .product-hero{ grid-template-columns: 1fr 1fr; padding: 40px; } }
.product-hero > *{ min-width: 0; }
.product-hero img{ border-radius: var(--radius); }

/* Product image gallery: main photo + a scrollable strip of real product
   photos below it; click a thumbnail to show it large. Vanilla JS only. */
.product-gallery{ display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.gallery-main{
  height: 340px; overflow: hidden; border-radius: var(--radius);
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
}
@media (min-width: 640px){ .gallery-main{ height: 420px; } }
.gallery-main img{ width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs{ display: flex; align-items: center; gap: 8px; min-width: 0; }
.gallery-thumbs-track{
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 2px; min-width: 0;
  scrollbar-width: none; -ms-overflow-style: none; /* hide scrollbar: Firefox, IE/Edge legacy */
}
.gallery-thumbs-track::-webkit-scrollbar{ display: none; } /* hide scrollbar: Chrome, Safari, Edge */
.gallery-thumb{
  flex: none; width: 96px; height: 96px; padding: 0; border-radius: var(--radius);
  border: 2px solid transparent; background: none; cursor: pointer; overflow: hidden;
  scroll-snap-align: start; opacity: .7; transition: opacity .15s ease, border-color .15s ease;
}
.gallery-thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover{ opacity: 1; }
.gallery-thumb.active{ opacity: 1; border-color: var(--color-primary); }
.gallery-nav{
  flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--color-border);
  background: var(--color-surface); cursor: pointer; font-size: 1.1rem; line-height: 1; color: var(--color-text-muted);
}
.gallery-nav:hover{ color: var(--color-primary); border-color: var(--color-primary); }
.product-hero > div{ display: flex; flex-direction: column; }
.spec-table{ width: 100%; border-collapse: collapse; margin: 20px 0; }
.spec-table th, .spec-table td{ text-align: left; padding: 12px; border-bottom: 1px solid var(--color-border); font-size: .92rem; }
.spec-table tr:nth-child(odd){ background: var(--color-bg-alt); }
.spec-table th{ width: 40%; color: var(--color-text-muted); font-weight: 600; }
.spec-table th .spec-icon{ margin-right: 8px; }

.incoterms-note{ margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--color-border); }
.incoterms-lead{ margin: 0 0 14px; font-size: .85rem; color: var(--color-text-muted); }
.incoterms-row{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.incoterm-badge{
  text-align: center; padding: 14px 8px;
  border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-bg-alt);
}
.incoterm-icon{ color: var(--color-primary); display: flex; justify-content: center; margin-bottom: 6px; }
.incoterm-badge strong{ display: block; font-family: var(--font-heading); font-size: .95rem; }
.incoterm-badge span{ display: block; font-size: .72rem; color: var(--color-text-muted); margin-top: 2px; }
.prose h2{ margin-top: 1.6em; font-size: 1.35rem; }
.prose h3, .prose h4, .prose h5{ margin-top: 1.4em; font-size: 1.1rem; }
.prose ul{ list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.prose li{ margin-bottom: .4em; }
@media (min-width: 800px){
  .prose-columns{ column-count: 2; column-gap: 48px; }
  .prose-columns h2{ break-after: avoid; }
  .prose-columns p, .prose-columns ul, .prose-columns img, .prose-columns .about-logo-wrap{ break-inside: avoid; }
}

/* FAQ */
.faq-item{ border-bottom: 1px solid var(--color-border); padding: 16px 0; }
.faq-item summary{ cursor: pointer; font-weight: 600; font-family: var(--font-heading); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{ content: "+"; font-size: 1.3rem; color: var(--color-primary); }
.faq-item[open] summary::after{ content: "\2212"; }
.faq-item p{ margin-top: 12px; color: var(--color-text-muted); }

/* CTA banner */
.cta-banner{
  background: var(--color-primary); color: #fff; border-radius: var(--radius);
  padding: 40px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center;
}
.cta-banner h2{ color: #fff; }

/* Contact */
.contact-grid{ display: grid; gap: 32px; }
@media (min-width: 860px){ .contact-grid{ grid-template-columns: 1fr 1fr; } }
.contact-info-list{ display: grid; gap: 16px; }
.contact-info-item{ display: flex; gap: 12px; padding: 16px; border: 1px solid var(--color-border); border-left: 3px solid var(--color-accent); border-radius: var(--radius); background: var(--color-surface); }
.contact-form{ display: grid; gap: 14px; }
.contact-form label{ font-size: .85rem; font-weight: 600; display: block; margin-bottom: 6px; }
.contact-form input, .contact-form textarea{
  width: 100%; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 8px;
  font: inherit; background: var(--color-surface);
}
.contact-form input:focus, .contact-form textarea:focus{ outline: 2px solid var(--color-accent); border-color: var(--color-primary); }
.contact-form .form-check{ display: flex; align-items: flex-start; gap: 10px; }
.contact-form .form-check input{ width: auto; margin-top: 3px; flex: none; }
.contact-form .form-check label{ font-size: .85rem; font-weight: 400; margin-bottom: 0; }
.form-status{ font-size: .9rem; padding: 10px 14px; border-radius: 8px; display: none; }
.form-status.visible{ display: block; }
.form-status.info{ background: #FFF7E0; color: #7A5B00; }
.form-status.error{ background: #FDE8E8; color: #9B1C1C; }

/* WhatsApp floating button */
.whatsapp-fab{
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  font-size: 1.4rem; transition: transform .15s ease;
}
.whatsapp-fab:hover{ transform: scale(1.08); }
.whatsapp-fab-ring{
  position: absolute; inset: 0; border-radius: 50%; background: #25D366;
  animation: whatsapp-pulse 2.2s ease-out infinite; z-index: -1;
}
@keyframes whatsapp-pulse{
  0%{ transform: scale(1); opacity: .55; }
  100%{ transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .whatsapp-fab-ring{ animation: none; display: none; }
}

/* Cookie consent banner */
.cookie-banner{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: var(--color-primary-dark); color: #EAF0E5; box-shadow: 0 -4px 16px rgba(0,0,0,.2);
}
.cookie-banner-inner{
  max-width: 1180px; margin: 0 auto; padding: 18px 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.cookie-banner-inner p{ margin: 0; color: #EAF0E5; flex: 1 1 320px; text-align: left; font-size: .92rem; }
.cookie-banner-inner a{ color: #9FCBA6; text-decoration: underline; }
.cookie-banner-inner .btn{ flex: 0 0 auto; }

/* Footer */
.site-footer{ background: var(--color-primary-dark); color: #EAF0E5; padding: 56px 0 24px; } /* deep green - "international agricultural exporter", not generic corporate */
.footer-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-bottom: 32px; }
.footer-grid > .footer-brand{ grid-column: 1 / -1; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 768px){
  .footer-grid{ grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
  .footer-grid > .footer-brand{ grid-column: auto; padding-bottom: 0; border-bottom: none; }
}
.site-footer h3{ color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-logo{ width: 140px; height: 140px; margin-bottom: 14px; }
.site-footer a{ color: #BFDCC4; }
.site-footer a:hover{ color: #9FCBA6; } /* light natural green - --color-accent is too dark for AA contrast on this very dark footer bg */
.footer-brand p{ color: #C7DBC9; font-size: .92rem; }
.footer-list li{ margin-bottom: 8px; font-size: .92rem; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: .82rem; color: #9FB0A6;
}
@media (max-width: 480px){ .footer-bottom{ justify-content: center; text-align: center; } }
.footer-bottom a{ color: #9FB0A6; }

/* 404 */
.error-page{ text-align: center; padding: 100px 0; }
.error-page .code{ font-family: var(--font-heading); font-size: 5rem; color: var(--color-primary); font-weight: 700; }

/* Empty state (news) */
.empty-state{ text-align: center; padding: 60px 20px; border: 1px dashed var(--color-border); border-radius: var(--radius); background: var(--color-bg-alt); }

/* Product intro: video beside the first paragraphs, side by side on wider screens */
.product-intro-grid{ display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px){ .product-intro-grid{ grid-template-columns: 1fr 1fr; } }

/* Product video placeholder - widescreen (16:9, YouTube-style) box, ready to
   receive a real <video> once supplied */
.video-placeholder{
  max-width: 100%; margin: 0 auto; text-align: center;
  border: 1px dashed var(--color-border); border-radius: var(--radius);
  background: var(--color-surface); padding: 16px;
}
.video-placeholder .poster{ position: relative; margin: 0 auto 16px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); }
.video-placeholder .poster img{ display: block; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.video-placeholder .play-badge{
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; background: rgba(0,0,0,.55);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}

/* Real product video (widescreen, same box treatment as the placeholder) */
.video-embed{ aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-embed video{ display: block; width: 100%; height: 100%; object-fit: cover; }
.video-placeholder p{ margin: 0; font-size: .9rem; }
