/* ============================================================
   AGRICOLARIQUE — STYLESHEET  v2
   Mobile-first · Full-screen menu · Video hero · Multi-page
   ============================================================ */

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Prevent display rules from overriding the HTML hidden attribute */
[hidden] { display: none !important; }

:root {
  --green-deep:   #1A3C2B;
  --green-mid:    #2D6A4F;
  --green-bright: #52B788;
  --green-light:  #B7E4C7;
  --green-dark:   #0A1510;
  --gold:         #F0A500;
  --gold-light:   #FFC845;
  --cream:        #FAFAF5;
  --cream-dark:   #F0EDE4;
  --white:        #FFFFFF;
  --text-dark:    #111814;
  --text-body:    #3A4A3F;
  --text-muted:   #7A8C81;
  --border:       #D8E4DC;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.07);
  --shadow-md: 0 8px 32px rgba(0,0,0,.13);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.2);

  --ease: cubic-bezier(.4,0,.2,1);
  --navbar-h: 68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a  { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}

.navbar.scrolled {
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 24px rgba(0,0,0,.08);
}

.nav-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon svg { display: block; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  transition: color .3s;
}

.logo-tagline {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  transition: color .3s;
}

.navbar.scrolled .logo-name    { color: var(--green-deep); }
.navbar.scrolled .logo-tagline { color: var(--text-muted); }

/* Inner pages: logo always dark since no hero video behind it */
.inner-page .navbar:not(.scrolled) .logo-name    { color: var(--green-deep); }
.inner-page .navbar:not(.scrolled) .logo-tagline { color: var(--text-muted); }

/* NAV ACTIONS */
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* LOGIN BUTTON */
.btn-login {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: .83rem;
  font-weight: 600;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.08);
  transition: background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}

.btn-login svg { width: 14px; height: 14px; flex-shrink: 0; }

.btn-login:hover {
  background: var(--white);
  color: var(--green-deep);
  border-color: var(--white);
}

.navbar.scrolled .btn-login,
.inner-page .navbar:not(.scrolled) .btn-login {
  color: var(--green-deep);
  border-color: var(--border);
  background: transparent;
}

.navbar.scrolled .btn-login:hover,
.inner-page .navbar:not(.scrolled) .btn-login:hover {
  background: var(--green-deep);
  color: var(--white);
  border-color: var(--green-deep);
}

/* MENU BUTTON */
.btn-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 20px;
  border-radius: 50px;
  background: var(--gold);
  color: var(--green-deep);
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .25s, transform .15s;
}

.btn-menu:hover  { background: var(--gold-light); }
.btn-menu:active { transform: scale(.97); }

.menu-btn-txt { display: none; }

@media (min-width: 460px) { .menu-btn-txt { display: inline; } }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--green-deep);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}

.btn-menu.is-open .hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.btn-menu.is-open .hamburger span:nth-child(2) { opacity: 0; }
.btn-menu.is-open .hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   SLIDE-IN DRAWER MENU
   ============================================================ */

/* Backdrop */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer panel */
.menu-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 1000;
  width: min(500px, 100vw);
  background: #0b1c10;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .44s cubic-bezier(.16,1,.3,1);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.menu-drawer.open {
  transform: translateX(0);
}

/* Drawer header */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}

/* Menu logo (inside drawer) */
.menu-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-logo .logo-name    { color: var(--white); font-size: 1.05rem; }
.menu-logo .logo-tagline { color: rgba(255,255,255,.38); }

/* Close button */
.menu-close-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.75);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s, color .2s, transform .25s;
}
.menu-close-btn:hover {
  background: rgba(255,255,255,.14);
  color: var(--white);
  transform: rotate(90deg);
}

/* Drawer body */
.drawer-body {
  flex: 1;
  padding: 36px 28px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Section labels */
.drawer-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 12px;
}

/* Company nav links */
.drawer-nav { display: flex; flex-direction: column; }

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  font-weight: 700;
  color: rgba(255,255,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .22s, transform .22s;
}
.drawer-link:last-child { border-bottom: none; }
.drawer-link:hover { color: var(--white); transform: translateX(5px); }

.drawer-link-arrow {
  font-size: .9rem;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity .2s, transform .2s;
  flex-shrink: 0;
}
.drawer-link:hover .drawer-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Divider */
.drawer-divider {
  height: 1px;
  background: rgba(255,255,255,.07);
  flex-shrink: 0;
}

/* Division rows */
.drawer-divisions { display: flex; flex-direction: column; }

.drawer-div-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: transform .2s;
  cursor: pointer;
}
.drawer-div-link:last-child { border-bottom: none; }

a.drawer-div-link:hover { transform: translateX(5px); }
a.drawer-div-link:hover .div-dot { background: var(--gold); box-shadow: 0 0 0 3px rgba(240,165,0,.25); }
a.drawer-div-link:hover .drawer-link-arrow { opacity: 1; transform: translateX(0); }

.drawer-div-link--soon { cursor: default; }

.div-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
  transition: background .2s, box-shadow .2s;
}
.div-dot--active {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(240,165,0,.22);
}

.div-name {
  flex: 1;
  font-size: .97rem;
  font-weight: 600;
  line-height: 1.35;
}
a.drawer-div-link .div-name { color: rgba(255,255,255,.85); }
.drawer-div-link--soon .div-name { color: rgba(255,255,255,.38); }

.div-badge {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  padding: 3px 9px;
  border-radius: 20px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Link arrow inside division rows */
a.drawer-div-link .drawer-link-arrow {
  opacity: 0;
  transform: translateX(-5px);
}

/* ============================================================
   GLOBAL BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  background: var(--gold);
  color: var(--green-deep);
  font-size: .95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .25s, transform .2s, box-shadow .25s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(240,165,0,.38);
}

.btn-primary.btn-full { width: 100%; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 50px;
  color: var(--white);
  font-size: .95rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.45);
  background: transparent;
  transition: background .25s, border-color .25s;
}

.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 50px;
  color: var(--green-mid);
  font-size: .9rem;
  font-weight: 600;
  border: 2px solid var(--green-mid);
  transition: background .25s, color .25s;
}

.btn-outline:hover {
  background: var(--green-mid);
  color: var(--white);
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  background: var(--green-light);
  color: var(--green-deep);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-header p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ============================================================
   LANDING PAGE HERO (video version)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
/* Local fallback video — sits at z-index 1, hidden until needed */
.hero-video-local {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-video-local.visible { opacity: 1; }

/* YouTube player container — sits above local video at z-index 2 */
#yt-player {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max(100%, calc(100vh * 16 / 9));
  height: max(100%, calc(100vw * 9 / 16));
  z-index: 2;
  opacity: 0;
  transition: opacity 1s ease;
}
#yt-player.visible { opacity: 1; }
#yt-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.hero-video-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: opacity 1.2s ease;
}
.hero-video-poster.loaded {
  opacity: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(8,24,14,.82) 0%,
    rgba(8,24,14,.55) 50%,
    rgba(8,24,14,.72) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 20px 160px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.8);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
  max-width: 700px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: clamp(.9rem, 2.2vw, 1.1rem);
  color: rgba(255,255,255,.78);
  max-width: 520px;
  line-height: 1.78;
  margin-bottom: 38px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 100px;
  right: 28px;
  z-index: 2;
}

.scroll-pulse {
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(.5); opacity: .4; }
}

/* Stats ribbon */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 24px;
  gap: 2px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
}

.stat-sep {
  width: 1px;
  background: rgba(255,255,255,.12);
  align-self: stretch;
  margin: 14px 0;
}

/* ============================================================
   INNER PAGES (shared)
   ============================================================ */
.inner-page {
  background: var(--cream);
}

/* push content below fixed navbar */
.inner-page main { padding-top: var(--navbar-h); }

/* Inner page hero (banner) */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,24,14,.9) 0%, rgba(8,24,14,.45) 55%, rgba(8,24,14,.2) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 52px 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.6);
  font-size: .78rem;
  font-weight: 500;
  margin-bottom: 20px;
  transition: color .2s;
}

.page-back:hover { color: var(--white); }

.page-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.28);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.page-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.12;
}

.page-hero-content p {
  font-size: clamp(.88rem, 2vw, 1rem);
  color: rgba(255,255,255,.78);
  max-width: 580px;
  line-height: 1.75;
}

/* Section padding for inner pages */
.page-section { padding: 72px 0; }
.page-section.bg-white   { background: var(--white); }
.page-section.bg-cream   { background: var(--cream); }
.page-section.bg-cream-d { background: var(--cream-dark); }
.page-section.bg-dark    { background: var(--green-deep); }

/* ============================================================
   SUBSIDIARY PAGE
   ============================================================ */
.sub-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

.sub-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1.5px solid var(--border);
}

.sub-feature svg { flex-shrink: 0; margin-top: 2px; }

.sub-feature h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 4px;
}

.sub-feature p {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.products-heading {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-light);
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 32px;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--green-bright);
}

.product-img {
  height: 160px;
  background: linear-gradient(135deg, #d6ead8 0%, #b8d9bb 50%, #a0c8a4 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,.18) 100%);
  pointer-events: none;
}

.product-info {
  padding: 16px 18px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-tag {
  display: inline-block;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.product-info h4 {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 700;
  color: var(--green-deep);
  margin: 4px 0 0;
  line-height: 1.3;
}

.product-sublabel {
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.product-price {
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-mid);
  margin: 2px 0 0;
}

.product-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--green-deep);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  margin-top: auto;
  padding-top: 12px;
  transition: background .25s, transform .15s;
  border: none;
  cursor: pointer;
}

.product-btn:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
}

/* Division Coming-Soon Feature List */
.division-coming-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  margin-top: 32px;
  text-align: left;
}

.div-coming-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cream);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px;
  padding: 14px 16px;
}

.div-coming-item svg {
  flex-shrink: 0;
}

.div-coming-item span {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.45;
}

@media (max-width: 480px) {
  .division-coming-features {
    grid-template-columns: 1fr;
  }
}

/* CTA Banner */
.cta-banner {
  background: var(--green-deep);
  padding: 72px 20px;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white);
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  max-width: 480px;
  margin: 0 auto 30px;
  line-height: 1.75;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.about-img-col { position: relative; }

.about-img-main {
  border-radius: var(--radius-lg);
  height: 300px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}

.about-img-accent {
  position: absolute;
  bottom: -24px; right: -10px;
  width: 145px; height: 105px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  border: 4px solid var(--cream-dark);
  box-shadow: var(--shadow-md);
}

.about-float-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: var(--shadow-md);
}

.about-float-badge .big { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; color: var(--green-deep); line-height: 1; }
.about-float-badge .sm  { font-size: .6rem; font-weight: 700; color: var(--green-deep); text-align: center; line-height: 1.3; margin-top: 2px; }

.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 18px;
  line-height: 1.25;
}

.about-lead {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-text p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-values {
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 28px; padding-top: 28px;
  border-top: 1px solid var(--border);
}

.value-item { display: flex; gap: 14px; align-items: flex-start; }

.value-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 6px;
}

.value-item strong { display: block; font-size: .9rem; font-weight: 700; color: var(--green-deep); margin-bottom: 2px; }
.value-item span   { font-size: .82rem; color: var(--text-muted); }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }

.tl-item {
  display: flex;
  gap: 20px;
  padding-bottom: 36px;
  position: relative;
}

.tl-item::before {
  content: '';
  position: absolute;
  left: 20px; top: 40px; bottom: 0;
  width: 2px;
  background: var(--green-light);
}

.tl-item:last-child::before { display: none; }

.tl-year {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; letter-spacing: .04em;
  z-index: 1;
}

.tl-body h4 { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--green-deep); margin-bottom: 4px; }
.tl-body p  { font-size: .84rem; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   MEDIA PAGE
   ============================================================ */
.media-featured {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.media-feat-img {
  height: 240px;
  background-size: cover;
  background-position: center;
}

.media-feat-body { padding: 28px 24px; }

.media-feat-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem; font-weight: 700;
  color: var(--green-deep); margin-bottom: 10px; line-height: 1.3;
}

.media-feat-body p {
  font-size: .88rem; color: var(--text-muted); line-height: 1.72; margin-bottom: 20px;
}

.media-tag {
  display: inline-block; font-size: .63rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-mid); background: var(--green-light);
  padding: 4px 12px; border-radius: 50px; margin-bottom: 14px;
}

.media-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  margin-bottom: 40px;
}

.media-card {
  border-radius: var(--radius-md); overflow: hidden;
  background: var(--white); border: 1.5px solid var(--border);
  transition: box-shadow .3s, transform .3s;
}

.media-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.media-card-img { height: 170px; background-size: cover; background-position: center; }

.media-card-body { padding: 18px; }
.media-card-body h4 { font-family: var(--font-serif); font-size: .95rem; font-weight: 700; color: var(--green-deep); margin: 10px 0 8px; line-height: 1.35; }
.media-card-body p  { font-size: .82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }
.media-date { font-size: .7rem; font-weight: 600; color: var(--green-bright); letter-spacing: .04em; }

.media-date--img-overlay {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0,0,0,.52);
  color: #fff;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .68rem;
  letter-spacing: .04em;
}

.media-card { position: relative; }

.media-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  cursor: zoom-in;
  transition: transform .3s, filter .3s;
  overflow: hidden;
}

.gallery-item:hover { transform: scale(1.04); filter: brightness(1.08); }

/* ---- Media gallery badge (image count on card) ---- */
.media-gallery-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* ---- Lightbox / Carousel ---- */
.media-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.93);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-lb-img {
  width: min(90vw, 960px);
  height: min(82vh, 720px);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.media-lb-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
}

.media-lb-close:hover { background: rgba(255,255,255,.25); }

.media-lb-prev,
.media-lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  width: 48px;
  height: 64px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
}

.media-lb-prev { left: 12px; }
.media-lb-next { right: 12px; }
.media-lb-prev:hover,
.media-lb-next:hover { background: rgba(255,255,255,.25); }

.media-lb-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
}

.media-lb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  padding: 0;
  transition: background .18s, transform .18s;
}

.media-lb-dot.active {
  background: #fff;
  transform: scale(1.3);
}

.media-lb-counter {
  position: absolute;
  bottom: 18px;
  right: 20px;
  color: rgba(255,255,255,.5);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
}

@media (max-width: 600px) {
  .media-lb-prev { left: 4px; }
  .media-lb-next { right: 4px; }
  .media-lb-img  { width: 96vw; height: 70vh; }
}

/* ============================================================
   LEADERSHIP PAGE
   ============================================================ */
.leadership-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}

.leader-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  transition: background .25s, transform .25s;
}

.leader-card:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }

.leader-img {
  width: 74px; height: 74px; border-radius: 50%;
  background-size: cover; background-position: center top;
  flex-shrink: 0;
  border: 2.5px solid var(--green-bright);
}

.leader-info h4 { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.leader-role    { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.leader-info p  { font-size: .82rem; color: rgba(255,255,255,.58); line-height: 1.65; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: flex; flex-direction: column; gap: 52px;
}

.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700;
  color: var(--green-deep); margin-bottom: 14px;
}

.contact-info > p { font-size: .9rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 36px; }

.contact-details { display: flex; flex-direction: column; gap: 22px; }

.contact-item { display: flex; align-items: flex-start; gap: 14px; }

.contact-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-deep); flex-shrink: 0;
}

.contact-item strong { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green-mid); margin-bottom: 2px; }
.contact-item span   { font-size: .88rem; color: var(--text-body); }

.contact-form {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-md);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label { font-size: .8rem; font-weight: 600; color: var(--text-body); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--cream);
  color: var(--text-dark);
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(82,183,136,.14);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A8C81' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-success { font-size: .88rem; font-weight: 600; color: var(--green-mid); text-align: center; min-height: 22px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--green-deep);
  padding: 60px 0 0;
  color: rgba(255,255,255,.65);
}

.footer-top {
  display: flex; flex-direction: column; gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.footer-brand p {
  font-size: .85rem; line-height: 1.72; margin-top: 16px;
  max-width: 290px; color: rgba(255,255,255,.48);
}

.footer-brand .logo-name    { color: var(--white); }
.footer-brand .logo-tagline { color: rgba(255,255,255,.38); }

.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.footer-col h5 { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col a  { display: block; font-size: .84rem; color: rgba(255,255,255,.48); margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 0;
  font-size: .76rem;
}

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,.35); transition: color .2s; }
.footer-legal a:hover { color: var(--white); }

/* ============================================================
   RESPONSIVE — TABLET 640px+
   ============================================================ */
@media (min-width: 640px) {
  .sub-features       { grid-template-columns: repeat(3, 1fr); }
  .products-grid      { grid-template-columns: repeat(2, 1fr); }
  .media-grid         { grid-template-columns: repeat(3, 1fr); }
  .media-featured     { flex-direction: row; }
  .media-feat-img     { width: 44%; height: auto; flex-shrink: 0; }
  .media-feat-body    { padding: 36px 32px; }
  .leadership-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-links       { grid-template-columns: repeat(3, 1fr); }
  .about-img-main     { height: 380px; }
}

/* ============================================================
   RESPONSIVE — DESKTOP 900px+
   ============================================================ */
@media (min-width: 900px) {
  :root { --navbar-h: 76px; }

  .products-grid   { grid-template-columns: repeat(4, 1fr); }
  .media-gallery   { grid-template-columns: repeat(6, 1fr); gap: 10px; }
  .leadership-grid { grid-template-columns: repeat(3, 1fr); }

  .about-grid { flex-direction: row; align-items: center; gap: 72px; }
  .about-img-col { flex: 1; }
  .about-text    { flex: 1; }
  .about-img-main { height: 480px; }

  .contact-grid { flex-direction: row; gap: 72px; align-items: flex-start; }
  .contact-info { flex: 1; }
  .contact-form { flex: 1.1; }

  .footer-top { flex-direction: row; justify-content: space-between; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }

  .page-hero { min-height: 68vh; }
  .page-hero-content { padding: 72px 20px; }
}

/* ============================================================
   NEWS TICKER (landing page only)
   ============================================================ */
.news-ticker {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 850;
  height: 46px;
  display: flex;
  align-items: center;
  background: rgba(6,12,8,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(240,165,0,.28);
  overflow: hidden;
}

.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  height: 100%;
  background: var(--gold);
  color: var(--green-deep);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
}

.ticker-label::after {
  content: '';
  position: absolute;
  right: -12px; top: 0; bottom: 0;
  width: 12px;
  background: linear-gradient(90deg, var(--gold), transparent);
  pointer-events: none;
}

.ticker-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-deep);
  animation: tickPulse 1.3s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes tickPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .35; transform: scale(.55); }
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-left: 18px;
  mask-image: linear-gradient(90deg, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
}

.ticker-content {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerMove 90s linear infinite;
  will-change: transform;
}

.ticker-content:hover { animation-play-state: paused; }

@keyframes tickerMove {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  font-size: .76rem;
  color: rgba(255,255,255,.88);
  padding: 0 22px;
  white-space: nowrap;
  letter-spacing: .01em;
}

.ticker-item--link {
  cursor: pointer;
  text-decoration: none;
  color: rgba(255,255,255,.88);
  transition: color .2s;
}
.ticker-item--link:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ticker-sep {
  color: var(--gold);
  font-size: .5rem;
  flex-shrink: 0;
  padding: 0 2px;
  opacity: .75;
}

/* Push hero stats above the ticker on the home page */
.home-page .hero-stats { bottom: 46px; }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   ORDER MODAL (injected by products.js)
   ============================================================ */
/* ============================================================
   PRODUCT DETAIL MODAL
   ============================================================ */
.order-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(10,24,12,.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.order-modal-box {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
}

/* Product image at top of modal */
.order-modal-img {
  height: 240px;
  background: linear-gradient(135deg, #d6ead8 0%, #a0c8a4 100%);
  background-size: cover;
  background-position: center;
  border-radius: 18px 18px 0 0;
  position: relative;
  flex-shrink: 0;
}
.order-modal-img--empty {
  background: linear-gradient(135deg, #1E5631 0%, #2D7A43 100%);
}

/* Close button overlaid on the image */
.order-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  transition: background .18s, transform .2s;
}
.order-modal-close:hover { background: rgba(0,0,0,.65); transform: rotate(90deg); }

/* Body content */
.order-modal-body {
  padding: 28px 28px 28px;
}

.order-modal-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 10px 0 10px;
  color: var(--green-deep);
  line-height: 1.3;
}

.order-modal-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.order-modal-divider {
  height: 1px;
  background: var(--border);
  margin: 22px 0;
}

/* Region label */
.order-modal-body label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

/* Region select */
#order-region {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: .88rem;
  color: var(--green-deep);
  background: var(--cream);
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s;
  appearance: auto;
}
#order-region:focus { border-color: var(--green-mid); }

/* WhatsApp buy button */
.order-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background .2s, transform .15s;
  margin-top: 16px;
}
.order-submit-btn:hover { background: #1ebe5a; transform: translateY(-1px); }
.order-submit-btn:active { transform: translateY(0); }
.order-submit-btn:disabled { background: #a0d8b0; cursor: not-allowed; transform: none; }

.order-modal-note {
  font-size: .76rem;
  color: #aaa;
  text-align: center;
  margin: 10px 0 0;
  line-height: 1.55;
}

.order-form-error {
  font-size: .82rem;
  color: #c0392b;
  background: #fde8e8;
  border-radius: 6px;
  padding: 8px 12px;
  margin: 10px 0 0;
}

/* Region states info box */
.region-states-info {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 8px;
  padding: 8px 12px;
  background: #f0f7f2;
  border: 1px solid #c8e6c9;
  border-radius: 7px;
  font-size: .8rem;
  color: #2D6A4F;
  line-height: 1.5;
}
.region-states-info svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #2D6A4F;
}
