/* ==========================================================================
   Jambudweep Global Exports — Core Stylesheet
   Premium international B2B agricultural export aesthetic.
   Palette: deep/forest green, warm beige, off-white, earth tones, gold accent.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Greens */
  --forest-900: #0A2116;
  --forest-800: #0F2E1E;
  --forest-700: #14442C;
  --forest-600: #1B5A39;
  --green-500:  #2A7A4E;
  --green-400:  #3E9668;

  /* Earth & neutrals */
  --earth-700:  #6B5844;
  --earth-500:  #8C7558;
  --beige-300:  #E3D7C2;
  --beige-200:  #EDE4D4;
  --beige-100:  #F5EFE4;
  --offwhite:   #FBFAF6;
  --white:      #FFFFFF;

  /* Gold accents.
     --gold-600 is the text-on-light gold: darkened to clear WCAG AA (4.5:1)
     against off-white and beige surfaces at small label sizes.
     --gold-500 / --gold-400 are decorative (rules, borders, fills, dark-bg text). */
  --gold-600:   #7D6210;
  --gold-500:   #C6A44B;
  --gold-400:   #DCC07E;

  /* Text */
  --ink:        #16211B;
  --ink-soft:   #37453D;
  --muted:      #5E6C64;
  --muted-light: rgba(255,255,255,.72);

  /* Lines & surfaces */
  --line:        rgba(15, 46, 30, .12);
  --line-strong: rgba(15, 46, 30, .22);
  --line-light:  rgba(255, 255, 255, .16);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10,33,22,.06), 0 2px 8px rgba(10,33,22,.05);
  --shadow-md: 0 4px 14px rgba(10,33,22,.08), 0 12px 34px rgba(10,33,22,.07);
  --shadow-lg: 0 10px 30px rgba(10,33,22,.10), 0 30px 70px rgba(10,33,22,.12);

  /* Type */
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1220px;
  --container-narrow: 880px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-600); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold-600); }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--forest-800);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.15rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.85rem, 1.25rem + 2.3vw, 2.95rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.55rem); }
h4 { font-size: 1.125rem; letter-spacing: -.005em; }
p  { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

strong { color: var(--forest-800); font-weight: 600; }

::selection { background: var(--forest-700); color: var(--beige-100); }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 16px; top: -80px;
  z-index: 999;
  background: var(--forest-800);
  color: var(--white);
  padding: .8rem 1.3rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.container-narrow { max-width: var(--container-narrow); }

.section { padding: clamp(64px, 8vw, 118px) 0; }
.section--tight { padding: clamp(48px, 5.5vw, 78px) 0; }

.section--beige { background: var(--beige-100); }
.section--beige-deep { background: var(--beige-200); }
.section--white { background: var(--white); }
.section--forest {
  background: var(--forest-800);
  color: var(--muted-light);
  background-image: radial-gradient(1200px 480px at 12% -10%, rgba(62,150,104,.22), transparent 60%),
                    radial-gradient(900px 420px at 92% 108%, rgba(198,164,75,.14), transparent 62%);
}
.section--forest h1, .section--forest h2, .section--forest h3, .section--forest h4 { color: var(--beige-100); }
.section--forest strong { color: var(--white); }
.section--forest a { color: var(--gold-400); }

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.split--reverse .split-media { order: 2; }

.text-center { text-align: center; }
.mt-l { margin-top: clamp(28px, 3.5vw, 48px); }
.mt-m { margin-top: 22px; }

/* --------------------------------------------------------------------------
   4. Typographic components
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1.15rem;
  font-family: var(--font-body);
}
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: currentColor;
  opacity: .65;
}
.eyebrow--center { justify-content: center; }
.section--forest .eyebrow { color: var(--gold-400); }

.lede {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.24rem);
  line-height: 1.72;
  color: var(--muted);
}
.section--forest .lede { color: var(--muted-light); }

.section-head { max-width: 760px; margin-bottom: clamp(38px, 4.5vw, 62px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

.rule {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  border: 0; border-radius: 3px;
  margin: 0 0 1.6rem;
}
.rule--center { margin-inline: auto; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--forest-700);
  --btn-fg: var(--white);
  --btn-bd: var(--forest-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .92rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .012em;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }

.btn-primary:hover { --btn-bg: var(--forest-600); --btn-bd: var(--forest-600); }

.btn-gold {
  --btn-bg: var(--gold-500);
  --btn-bd: var(--gold-500);
  --btn-fg: var(--forest-900);
}
.btn-gold:hover { --btn-bg: var(--gold-400); --btn-bd: var(--gold-400); --btn-fg: var(--forest-900); }

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--forest-800);
  --btn-bd: var(--line-strong);
}
.btn-outline:hover { --btn-bg: var(--forest-800); --btn-fg: var(--white); --btn-bd: var(--forest-800); }

.btn-ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bd: rgba(255,255,255,.42);
}
.btn-ghost-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-bd: rgba(255,255,255,.75); --btn-fg: var(--white); }

.btn-sm { padding: .62rem 1.25rem; font-size: .85rem; }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1rem; }

.btn-arrow::after {
  content: "";
  width: 16px; height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M10.6.3 15.7 4.5a.6.6 0 0 1 0 1L10.6 9.7a.6.6 0 0 1-1-.5V6.1H.9a.6.6 0 0 1 0-1.2h8.7V.8a.6.6 0 0 1 1-.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M10.6.3 15.7 4.5a.6.6 0 0 1 0 1L10.6 9.7a.6.6 0 0 1-1-.5V6.1H.9a.6.6 0 0 1 0-1.2h8.7V.8a.6.6 0 0 1 1-.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .3s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .93rem;
  letter-spacing: .01em;
  color: var(--forest-600);
}
.link-arrow::after { content: "\2192"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(10,33,22,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--forest-800); }
.brand:hover { color: var(--forest-800); }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--forest-700), var(--forest-900));
  box-shadow: inset 0 0 0 1px rgba(198,164,75,.35);
  flex: none;
}
.brand-mark svg { width: 23px; height: 23px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--forest-800);
}
.brand-text span {
  font-size: .655rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
}

.primary-nav { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; align-items: center; gap: 26px; }
.nav-list a {
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
  white-space: nowrap;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav-list a:hover { color: var(--forest-800); }
.nav-list a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-list a.is-active { color: var(--forest-800); font-weight: 600; }
.nav-list a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex: none;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  width: 20px; height: 2px;
  background: var(--forest-800);
  border-radius: 2px;
  transition: transform .3s var(--ease), background-color .2s var(--ease);
}
.nav-toggle span { left: 50%; top: 50%; margin-left: -10px; margin-top: -1px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after  { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--offwhite);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 10px 22px 26px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
  }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a {
    padding: 15px 2px;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-list a::after { display: none; }
  .nav-cta { margin-top: 20px; width: 100%; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--forest-900);
  color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(10,33,22,.93) 0%, rgba(10,33,22,.80) 42%, rgba(10,33,22,.46) 72%, rgba(10,33,22,.34) 100%);
}
.hero-inner {
  position: relative;
  padding: clamp(84px, 12vw, 168px) 0 clamp(64px, 8vw, 104px);
  max-width: 810px;
}
.hero h1 { color: var(--white); margin-bottom: .45em; }
.hero h1 .accent {
  display: block;
  color: var(--gold-400);
  font-style: italic;
  font-weight: 600;
}
.hero .eyebrow { color: var(--gold-400); }
.hero-sub {
  font-size: clamp(1.05rem, 1rem + .45vw, 1.28rem);
  line-height: 1.72;
  color: rgba(255,255,255,.86);
  max-width: 650px;
  margin-bottom: 2.1rem;
}
.hero-company {
  font-family: var(--font-display);
  font-size: clamp(.95rem, .9rem + .3vw, 1.08rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  margin-bottom: 1.1rem;
}

.hero-strip {
  position: relative;
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(10,33,22,.5);
  backdrop-filter: blur(6px);
}
.hero-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-strip li {
  padding: 26px;
  border-left: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.hero-strip li:first-child { border-left: 0; padding-left: 0; }
.hero-strip .strip-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--white);
  font-weight: 600;
}
.hero-strip .strip-text { font-size: .85rem; color: rgba(255,255,255,.66); line-height: 1.55; }

.page-hero {
  position: relative;
  isolation: isolate;
  background: var(--forest-800);
  color: var(--white);
  overflow: hidden;
}
.page-hero .hero-media img { object-position: center 55%; }
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(10,33,22,.94) 0%, rgba(10,33,22,.82) 55%, rgba(10,33,22,.58) 100%);
}
.page-hero-inner { padding: clamp(64px, 8.5vw, 122px) 0 clamp(56px, 7vw, 100px); max-width: 760px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); }
.page-hero p { color: rgba(255,255,255,.85); font-size: clamp(1rem, .97rem + .3vw, 1.16rem); max-width: 640px; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: .8rem; letter-spacing: .04em;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.4rem;
}
.breadcrumb a { color: rgba(255,255,255,.78); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 2.6vw, 36px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--beige-200), var(--beige-100));
  border: 1px solid var(--line);
  margin-bottom: 1.3rem;
  color: var(--forest-700);
}
.card-icon svg { width: 25px; height: 25px; }

.section--forest .card { background: rgba(255,255,255,.045); border-color: var(--line-light); }
.section--forest .card:hover { background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.3); box-shadow: none; }
.section--forest .card p { color: var(--muted-light); }
.section--forest .card-icon {
  background: rgba(198,164,75,.14);
  border-color: rgba(198,164,75,.32);
  color: var(--gold-400);
}

/* Product cards ---------------------------------------------------------- */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(198,164,75,.5); }

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--beige-200);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,33,22,0) 45%, rgba(10,33,22,.42) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.product-card:hover .product-media::after { opacity: 1; }

.product-tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: rgba(251,250,246,.94);
  color: var(--forest-800);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: .4rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(15,46,30,.1);
}

.product-body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.2vw, 30px); }
.product-body h3 { margin-bottom: .45rem; }
.product-body > p { color: var(--muted); font-size: .96rem; margin-bottom: 1.1rem; }

.product-note {
  margin: 0 0 1.4rem;
  padding: .85rem 1rem;
  background: var(--beige-100);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.product-note strong {
  display: block;
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: .25rem;
  font-weight: 600;
}
.product-actions { margin-top: auto; }

/* Category chips --------------------------------------------------------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px, 3.5vw, 46px); }
.chip {
  padding: .55rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.chip:hover { border-color: var(--forest-600); color: var(--forest-700); }
.chip.is-active { background: var(--forest-800); border-color: var(--forest-800); color: var(--white); }

/* --------------------------------------------------------------------------
   9. Feature lists, pillars, media
   -------------------------------------------------------------------------- */
.check-list li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: .99rem;
}
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(42,122,78,.12);
  border: 1px solid rgba(42,122,78,.32);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px; top: .78em;
  width: 8px; height: 4px;
  border-left: 2px solid var(--green-500);
  border-bottom: 2px solid var(--green-500);
  transform: rotate(-45deg);
}
.check-list li strong { color: var(--forest-800); }
.section--forest .check-list li { color: var(--muted-light); }
.section--forest .check-list li::before { background: rgba(198,164,75,.16); border-color: rgba(198,164,75,.4); }
.section--forest .check-list li::after { border-color: var(--gold-400); }

.pillar {
  padding: clamp(24px, 2.4vw, 34px);
  border-top: 2px solid var(--line);
  transition: border-color .35s var(--ease), background-color .35s var(--ease);
  border-radius: 0 0 var(--radius) var(--radius);
}
.pillar:hover { border-top-color: var(--gold-500); background: var(--white); }
.pillar h3 { font-size: 1.2rem; }
.pillar p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.pillar-index {
  font-size: .74rem;
  letter-spacing: .18em;
  color: var(--gold-600);
  font-weight: 600;
  display: block;
  margin-bottom: .9rem;
}

.feature-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.feature-media img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }

.media-badge {
  position: absolute;
  right: 18px;
  bottom: 22px;
  background: var(--forest-800);
  color: var(--beige-100);
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 250px;
  border: 1px solid rgba(198,164,75,.3);
}
.media-badge strong {
  display: block;
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.02rem;
  margin-bottom: .2rem;
}
.media-badge span { font-size: .82rem; color: rgba(255,255,255,.7); line-height: 1.5; display: block; }

/* --------------------------------------------------------------------------
   10. Process timeline
   -------------------------------------------------------------------------- */
.timeline { position: relative; display: grid; }
.timeline::before {
  content: "";
  position: absolute;
  left: 27px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-500), rgba(198,164,75,.18));
}
.timeline-item { position: relative; padding: 0 0 clamp(30px, 3.6vw, 44px) 76px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: 0; top: -2px;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--offwhite);
  border: 2px solid var(--gold-500);
  color: var(--forest-800);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.timeline-item:hover .timeline-marker { background: var(--forest-800); color: var(--gold-400); transform: scale(1.06); }
.section--beige .timeline-marker { background: var(--beige-100); }
.section--white .timeline-marker { background: var(--white); }
.timeline-item h3 { margin-bottom: .4rem; }
.timeline-item p { color: var(--muted); margin-bottom: 0; max-width: 720px; }
.timeline-step {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
  display: block;
  margin-bottom: .35rem;
}

/* --------------------------------------------------------------------------
   11. Global trade
   -------------------------------------------------------------------------- */
.globe-wrap { position: relative; display: grid; place-items: center; padding: clamp(10px, 2vw, 28px); }
.globe-wrap img { width: 100%; max-width: 620px; }

.trade-stat { padding: 26px 0; border-bottom: 1px solid var(--line-light); }
.trade-stat:last-child { border-bottom: 0; }
.trade-stat h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.trade-stat p { font-size: .93rem; margin-bottom: 0; color: var(--muted-light); }

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 4vw, 58px);
  align-items: center;
}
.logo-strip li {
  font-family: var(--font-display);
  font-size: .96rem;
  letter-spacing: .04em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.logo-strip li svg { width: 22px; height: 22px; color: var(--forest-600); flex: none; }

/* --------------------------------------------------------------------------
   12. CTA band
   -------------------------------------------------------------------------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--forest-800); color: var(--white); }
.cta-band .hero-media img { opacity: .32; }
.cta-band::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10,33,22,.94), rgba(15,46,30,.82));
}
.cta-band-inner {
  position: relative;
  padding: clamp(56px, 7vw, 96px) 0;
  display: grid;
  grid-template-columns: 1.35fr auto;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.cta-band h2 { color: var(--white); margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,.8); margin-bottom: 0; max-width: 620px; }

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 48px);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }

.field label { font-size: .84rem; font-weight: 600; letter-spacing: .03em; color: var(--forest-800); }
.field .req { color: var(--gold-600); }
.field .hint { font-size: .78rem; color: var(--muted); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .82rem 1rem;
  font-family: inherit;
  font-size: .96rem;
  color: var(--ink);
  background: var(--offwhite);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 132px; line-height: 1.65; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%235E6C64' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 11px;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--forest-600);
  box-shadow: 0 0 0 3px rgba(42,122,78,.14);
}
.field input::placeholder, .field textarea::placeholder { color: #9AA5A0; }

.field-error { font-size: .78rem; color: #A8332B; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #C2453B; box-shadow: 0 0 0 3px rgba(194,69,59,.12); }

.form-consent { display: flex; align-items: flex-start; gap: .7rem; font-size: .86rem; color: var(--muted); line-height: 1.6; }
.form-consent input { width: 18px; height: 18px; margin-top: .28rem; flex: none; accent-color: var(--forest-700); }

.form-note { font-size: .82rem; color: var(--muted); margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.form-status {
  display: none;
  margin-top: 1.4rem;
  padding: 1.05rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: .93rem;
  line-height: 1.6;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(42,122,78,.09); border: 1px solid rgba(42,122,78,.3); color: var(--forest-700); }
.form-status--err { background: rgba(194,69,59,.07); border: 1px solid rgba(194,69,59,.28); color: #93312A; }

/* Contact details -------------------------------------------------------- */
.contact-item { display: flex; gap: 1rem; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ci-icon {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--beige-200);
  color: var(--forest-700);
  border: 1px solid var(--line);
}
.contact-item .ci-icon svg { width: 20px; height: 20px; }
.contact-item h4 { margin-bottom: .15rem; font-size: 1rem; }
.contact-item p { margin: 0; font-size: .92rem; color: var(--muted); }

/* Live contact details (email / phone / WhatsApp links). */
.contact-value {
  font-size: .92rem;
  color: var(--forest-700);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.contact-value:hover,
.contact-value:focus-visible { color: var(--gold-600); border-bottom-color: currentColor; }

.contact-address { font-size: .92rem; font-style: normal; line-height: 1.6; }
.nowrap { white-space: nowrap; }

.placeholder-value {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .88rem;
  color: var(--muted);
  font-style: italic;
}
.placeholder-value::before { content: ""; width: 22px; height: 1px; background: var(--line-strong); }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--forest-900);
  color: rgba(255,255,255,.68);
  padding-top: clamp(54px, 6vw, 82px);
  font-size: .94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.35fr;
  gap: clamp(28px, 3.5vw, 56px);
  padding-bottom: clamp(40px, 4.5vw, 60px);
}
.site-footer .brand-text strong { color: var(--white); }
.site-footer .brand:hover { color: var(--white); }
.footer-about { margin-top: 1.35rem; max-width: 380px; line-height: 1.72; color: rgba(255,255,255,.6); font-size: .92rem; }

.footer-title {
  font-family: var(--font-body);
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.footer-links li { margin-bottom: .72rem; }
.footer-links a { color: rgba(255,255,255,.68); font-size: .93rem; }
.footer-links a:hover { color: var(--gold-400); }

.footer-contact li {
  display: flex;
  gap: .75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
  color: rgba(255,255,255,.62);
  font-size: .91rem;
  line-height: 1.55;
}
.footer-contact svg { width: 17px; height: 17px; margin-top: .22rem; flex: none; color: var(--gold-400); }
.footer-contact strong { display: block; color: rgba(255,255,255,.9); font-weight: 600; font-size: .84rem; }
.footer-contact .contact-value { color: rgba(255,255,255,.62); font-size: .91rem; font-weight: 400; }
.footer-contact .contact-value:hover,
.footer-contact .contact-value:focus-visible { color: var(--gold-400); border-bottom-color: currentColor; }
.footer-contact .contact-address { font-size: .91rem; line-height: 1.55; }
.footer-contact .placeholder-value { color: rgba(255,255,255,.45); }
.footer-contact .placeholder-value::before { background: rgba(255,255,255,.25); }

.social-row { display: flex; gap: 10px; margin-top: 1.4rem; }
.social-row a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: rgba(255,255,255,.72);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.social-row a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--forest-900); transform: translateY(-2px); }
.social-row svg { width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 24px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   15. Scroll reveal & utilities
   -------------------------------------------------------------------------- */
/* Reveal-on-scroll only engages when scripting is available, so the page
   remains fully readable if main.js fails to load. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--forest-800);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), visibility .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--forest-800); color: var(--gold-400); border-color: var(--forest-800); }
.back-to-top svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   16. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1060px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-strip ul { grid-template-columns: repeat(2, 1fr); }
  .hero-strip li { padding: 20px 18px; }
  .hero-strip li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .media-badge { position: static; margin-top: 16px; max-width: none; }
}

@media (max-width: 680px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-strip ul { grid-template-columns: 1fr; }
  .hero-strip li { border-left: 0; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
  .hero-strip li:first-child { border-top: 0; }
  .timeline::before { left: 21px; }
  .timeline-item { padding-left: 60px; }
  .timeline-marker { width: 44px; height: 44px; font-size: 1rem; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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

@media print {
  .site-header, .back-to-top, .cta-band, .hero-media { display: none !important; }
  body { background: #fff; color: #000; }
}
