/* ===========================================================
   CRESSIDA AGROTRADE — STYLESHEET
   Design tokens derived from brand marks:
   forest green (CAT wordmark), harvest gold (CAT accent),
   navy (Cressida Axis Services), warm paper background.
   =========================================================== */

:root{
  /* --- color --- */
  --ink:        #15201a;
  --forest-900: #102015;
  --forest-800: #16301f;
  --forest-700: #1f4027;
  --forest-600: #3a6b42;
  --forest-500: #4f7f57;
  --forest-100: #e8efe6;
  --forest-050: #f2f6f0;

  --gold-700:   #8f7019;
  --gold-600:   #c0962e;
  --gold-500:   #d3ac4c;
  --gold-100:   #f6ecd3;

  --navy-900:   #131c2b;
  --navy-700:   #233149;
  --navy-500:   #3a4c6c;

  --brick-600:  #a8392f;

  --paper:      #f7f7f2;
  --paper-deep: #eef0e6;
  --white:      #ffffff;

  --line:       rgba(16,32,21,0.12);
  --line-soft:  rgba(16,32,21,0.07);
  --shadow-sm:  0 2px 10px rgba(16,32,21,0.08);
  --shadow-md:  0 12px 32px rgba(16,32,21,0.12);
  --shadow-lg:  0 24px 60px rgba(16,32,21,0.20);

  /* --- type --- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* --- layout --- */
  --container-w: 1200px;
  --header-h: 84px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 26px;

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

/* ===========================================================
   RESET & BASE
   =========================================================== */
*,*::before,*::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
ul,ol{ margin:0; padding:0; list-style:none; }
a{ color:inherit; text-decoration:none; }
button{ font-family: inherit; cursor:pointer; }
input,textarea,select{ font-family: inherit; font-size: 1rem; }
h1,h2,h3,h4,h5{ margin:0; font-family: var(--font-display); font-weight:600; color: var(--forest-900); }
p{ margin:0 0 1em; }
p:last-child{ margin-bottom:0; }

.sr-only{
  position:absolute; width:1px;height:1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap;
}

.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--forest-900); color:#fff; padding:.6em 1em;
  z-index:999; border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; }

:focus-visible{
  outline: 2.5px solid var(--gold-600);
  outline-offset: 2px;
}

.container{
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================================================
   REVEAL ANIMATION
   =========================================================== */
.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  *{ animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ===========================================================
   TYPE UTILITIES
   =========================================================== */
.eyebrow{
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--forest-600);
  font-weight: 500;
  margin: 0 0 .9em;
  display:flex;
  align-items:center;
  gap:.6em;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 2px;
  background: var(--gold-600);
  display:inline-block;
}
.eyebrow-light{ color: var(--gold-500); }
.eyebrow-light::before{ background: var(--gold-500); }
.eyebrow-on-dark{ color: var(--gold-500); }
.eyebrow-on-dark::before{ background: var(--gold-500); }

.section-title{
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.85rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: .55em;
}
.section-sub{
  max-width: 620px;
  color: #45503f;
  font-size: 1.05rem;
}
.section-head{
  max-width: 760px;
  margin-bottom: 3rem;
}
.lead{
  font-size: 1.15rem;
  color: var(--forest-800);
}

.text-link{
  display:inline-flex;
  align-items:center;
  gap:.4em;
  background:none;
  border:none;
  padding:0;
  font-family: var(--font-body);
  font-weight:700;
  font-size: .95rem;
  color: var(--forest-700);
  border-bottom: 1.5px solid var(--gold-600);
  padding-bottom: .15em;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.text-link:hover{ gap:.65em; color: var(--forest-900); }
.text-link span{ transition: transform .25s var(--ease); }

.divider-tick{
  height: 18px;
  margin: 1.6em 0;
  background-image: repeating-linear-gradient(
    to right, var(--line) 0 1.5px, transparent 1.5px 18px
  );
  background-position: bottom;
  background-size: 100% 1.5px;
  background-repeat: repeat-x;
}

/* ===========================================================
   BUTTONS
   =========================================================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5em;
  font-family: var(--font-body);
  font-weight:700;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: .95em 1.7em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn-gold{
  background: linear-gradient(180deg, var(--gold-500), var(--gold-600));
  color: var(--forest-900);
  box-shadow: 0 10px 24px rgba(192,150,46,0.35);
}
.btn-gold:hover{ box-shadow: 0 14px 30px rgba(192,150,46,0.45); }

.btn-primary{
  background: var(--forest-700);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31,64,39,0.25);
}
.btn-primary:hover{ background: var(--forest-800); }

.btn-outline-light{
  border-color: rgba(255,255,255,.55);
  color: #fff;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover{ background: rgba(255,255,255,.16); border-color:#fff; }

.btn-whatsapp{
  background: #25963f;
  color:#fff;
  box-shadow: 0 10px 24px rgba(37,150,63,0.3);
}
.btn-whatsapp:hover{ background:#1f7f35; }

.btn-small{ padding: .65em 1.3em; font-size:.85rem; }
.btn-full{ width:100%; }

/* ===========================================================
   HEADER / NAV
   =========================================================== */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 500;
  height: var(--header-h);
  display:flex;
  align-items:center;
  background: rgba(247,247,242,0);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.is-scrolled{
  background: rgba(247,247,242,0.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  height: 70px;
}
.header-inner{
  width:100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1.5rem;
}
.brand{ display:flex; align-items:center; gap:.65rem; flex-shrink:0; }
.brand-icon{ height: 40px; width:auto; transition: height .35s var(--ease); }
.site-header.is-scrolled .brand-icon{ height: 34px; }
.brand-text{
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 400;
  color: rgba(255,255,255,.95);
  line-height: 1.15;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: color .35s var(--ease);
}
.brand-text strong{ font-weight: 700; color: var(--gold-500); transition: color .35s var(--ease); }
.site-header.is-scrolled .brand-text{ color: var(--forest-800); }
.site-header.is-scrolled .brand-text strong{ color: var(--forest-700); }

.main-nav ul{
  display:flex;
  align-items:center;
  gap: 2rem;
}
.nav-link{
  font-weight:600;
  font-size: .94rem;
  color: rgba(255,255,255,.92);
  position:relative;
  padding: .3em 0;
  transition: color .35s var(--ease);
}
.nav-link::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:-2px; height:2px;
  background: var(--gold-500);
  transition: right .3s var(--ease);
}
.nav-link:hover::after{ right:0; }
.site-header.is-scrolled .nav-link{ color: var(--forest-900); }
.site-header.is-scrolled .nav-link::after{ background: var(--gold-600); }

.header-actions{ display:flex; align-items:center; gap: 1rem; position:relative; z-index: 490; }

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width: 38px; height: 38px;
  background:none; border:none;
  padding:0;
}
.nav-toggle span{
  display:block; width:100%; height:2px;
  background: #fff;
  border-radius:2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .35s var(--ease);
}
.site-header.is-scrolled .nav-toggle span{ background: var(--forest-900); }
.nav-toggle[aria-expanded="true"] span{ background: var(--forest-900) !important; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-backdrop{
  position:fixed; inset:0; background: rgba(16,32,21,.45);
  z-index: 450; opacity:0; visibility:hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.mobile-nav-backdrop.is-active{ opacity:1; visibility:visible; }

/* ===========================================================
   HERO
   =========================================================== */
.hero{
  position:relative;
  min-height: 100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-top: var(--header-h);
  overflow:hidden;
}
.hero-media{
  position:absolute; inset:0; z-index:0;
}
.hero-img{
  width:100%; height:100%; object-fit:cover;
  object-position: center 35%;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom{
  from{ transform: scale(1.12); }
  to{ transform: scale(1.0); }
}
.hero-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(16,32,21,.78) 0%, rgba(16,32,21,.55) 38%, rgba(16,32,21,.88) 100%),
    linear-gradient(100deg, rgba(16,32,21,.55) 0%, rgba(16,32,21,.15) 55%, rgba(16,32,21,.45) 100%);
}
.hero-content{
  position:relative; z-index:2;
  padding-top: 4rem;
  padding-bottom: 5rem;
  max-width: 760px;
}
.hero-title{
  font-size: clamp(2.4rem, 1.5rem + 4vw, 4.2rem);
  line-height: 1.08;
  color: #fff;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: .6em;
}
.hero-sub{
  color: rgba(255,255,255,.86);
  font-size: 1.12rem;
  max-width: 560px;
  margin-bottom: 2em;
}
.hero-cta{
  display:flex;
  flex-wrap:wrap;
  gap: 1rem;
  margin-bottom: 2.2em;
}
.hero-powered{
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  font-family: var(--font-mono);
  letter-spacing: .03em;
}
.hero-powered strong{ color: rgba(255,255,255,.92); }

/* Manifest strip (signature stat ticket) */
.manifest-strip{
  position:relative; z-index:2;
  display:flex;
  align-items:center;
  background: rgba(16,32,21,.55);
  border-top: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  overflow-x:auto;
}
.manifest-tick{
  flex: 0 0 auto;
  width: 1px; height: 36px;
  background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,.35) 0 4px, transparent 4px 9px);
}
.manifest-item{
  flex: 1 0 auto;
  min-width: 150px;
  display:flex;
  align-items:center;
  gap:.7em;
  padding: 1.1rem 1.6rem;
}
.manifest-num{
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height:1;
}
.manifest-label{
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.78);
  line-height:1.35;
}

/* ===========================================================
   SECTIONS — GENERIC
   =========================================================== */
.section{ padding: 6.5rem 0; }
.section-alt{ background: var(--paper-deep); }

/* ===========================================================
   ABOUT
   =========================================================== */
.about-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 4rem;
  align-items:center;
  margin-bottom: 5rem;
}
.about-text p{ color: #3c473a; }
.about-media{
  position:relative;
  margin:0;
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-md);
}
.about-media img{ width:100%; height: 460px; object-fit:cover; }
.tag-chip{
  position:absolute;
  left: 1.2rem; bottom: 1.2rem;
  background: rgba(16,32,21,.78);
  color:#fff;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing:.03em;
  padding: .55em 1em;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  display:flex; align-items:center; gap:.5em;
}
.tag-chip--dark{ background: rgba(16,32,21,.88); }
.tag-dot{
  width:7px; height:7px; border-radius:50%;
  background: var(--gold-500);
  flex-shrink:0;
  box-shadow: 0 0 0 3px rgba(211,172,76,.25);
}

.mv-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}
.mv-card{
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.mv-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mv-icon{
  display:inline-flex;
  align-items:center; justify-content:center;
  width: 52px; height:52px;
  border-radius: 50%;
  background: var(--forest-100);
  color: var(--forest-700);
  margin-bottom: 1.1rem;
}
.mv-icon svg{ width:24px; height:24px; }
.mv-card h3{ font-size: 1.3rem; margin-bottom:.5rem; }
.mv-card p{ color:#45503f; font-size:.97rem; }

.values-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4.5rem;
}
.value-card{
  text-align:left;
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius-md);
  background: var(--forest-050);
  border: 1px solid var(--line-soft);
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.value-card:hover{ transform: translateY(-4px); background: var(--forest-100); }
.value-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:10px;
  background: var(--white);
  color: var(--gold-700);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.value-icon svg{ width:21px; height:21px; }
.value-card h4{ font-size: 1.05rem; margin-bottom:.4rem; }
.value-card p{ font-size: .9rem; color:#4a5547; }

/* Parent panel (Cressida Axis Services Ltd) */
.parent-panel{
  background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: rgba(255,255,255,.92);
  position:relative;
  overflow:hidden;
}
.parent-panel::before{
  content:"";
  position:absolute; inset:0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 26px);
  pointer-events:none;
}
.parent-panel-head{
  display:flex;
  align-items:center;
  gap: 1.6rem;
  margin-bottom: 2.4rem;
  position:relative; z-index:1;
}
.parent-logo{
  height: 58px; width: 58px;
  object-fit: contain;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  padding: 10px;
  flex-shrink:0;
  box-shadow: var(--shadow-sm);
}
.parent-title{ color:#fff; font-size: 1.6rem; margin: .1em 0 .15em; }
.parent-tagline{ font-family: var(--font-mono); font-size:.85rem; color: var(--gold-500); letter-spacing:.04em; }

.parent-panel-body{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  position:relative; z-index:1;
}
.parent-col h4{
  color: var(--gold-500);
  font-size: 1rem;
  margin-bottom: .7rem;
  font-family: var(--font-mono);
  text-transform:uppercase;
  letter-spacing:.05em;
  font-weight:500;
}
.parent-col p{ color: rgba(255,255,255,.82); font-size:.95rem; }
.focus-list li{
  font-size:.95rem;
  color: rgba(255,255,255,.86);
  padding: .5em 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-left: 1.2em;
  position:relative;
}
.focus-list li::before{
  content:"";
  position:absolute; left:0; top:1.05em;
  width:7px; height:7px; border-radius:50%;
  background: var(--gold-500);
}
.focus-list li:last-child{ border-bottom:none; }

.parent-panel-foot{
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.15);
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.65);
  position:relative; z-index:1;
  text-align:center;
}

/* ===========================================================
   COMMODITY PORTFOLIO
   =========================================================== */
.filter-tabs{
  display:flex;
  flex-wrap:wrap;
  gap: .7rem;
  margin-bottom: 3rem;
}
.filter-tab{
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--forest-800);
  font-weight: 600;
  font-size: .88rem;
  padding: .65em 1.3em;
  border-radius: 999px;
  transition: all .3s var(--ease);
}
.filter-tab:hover{ border-color: var(--forest-600); }
.filter-tab.is-active{
  background: var(--forest-700);
  border-color: var(--forest-700);
  color: #fff;
}

.commodity-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.commodity-card{
  background: var(--white);
  border-radius: var(--radius-md);
  overflow:hidden;
  border: 1px solid var(--line-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .35s var(--ease);
  display:flex;
  flex-direction:column;
}
.commodity-card.is-hidden{ display:none; }
.commodity-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.commodity-media{
  position:relative;
  height: 260px;
  overflow:hidden;
}
.commodity-media img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .6s var(--ease);
}
.commodity-card:hover .commodity-media img{ transform: scale(1.07); }

.manifest-tag{
  position:absolute;
  top: 14px; right: -3px;
  background: rgba(16,32,21,.86);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: .5em .9em .5em 1.1em;
  border-radius: 4px 0 0 4px;
  font-family: var(--font-mono);
  line-height:1.3;
  box-shadow: var(--shadow-sm);
}
.manifest-tag::before{
  content:"";
  position:absolute;
  left: 6px; top:50%;
  transform: translateY(-50%);
  width:5px; height:5px;
  border-radius:50%;
  background: rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.5);
}
.manifest-tag span{ display:block; font-size:.72rem; font-weight:600; letter-spacing:.03em; padding-left:.5em; }
.manifest-tag small{ display:block; font-size:.62rem; color: var(--gold-500); padding-left:.5em; letter-spacing:.02em; }

.commodity-body{
  padding: 1.5rem 1.6rem 1.7rem;
  display:flex;
  flex-direction:column;
  flex:1;
}
.commodity-kicker{
  font-family: var(--font-mono);
  font-size:.7rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color: var(--gold-700);
  font-weight:600;
  margin-bottom:.5rem;
}
.commodity-body h3{ font-size: 1.35rem; margin-bottom:.5rem; }
.commodity-body p{ color:#4a5547; font-size:.93rem; flex:1; margin-bottom: 1.1rem; }

/* ===========================================================
   OPERATIONS — PROCESS RAIL + GALLERY
   =========================================================== */
.process-rail{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 4rem;
  position:relative;
}
.process-rail::before{
  content:"";
  position:absolute;
  top: 26px; left:0; right:0;
  height:1px;
  background-image: repeating-linear-gradient(to right, var(--line) 0 8px, transparent 8px 16px);
  z-index:0;
}
.process-step{
  position:relative;
  z-index:1;
  padding: 0 1.6rem 0 0;
}
.process-step:first-child{ padding-left:0; }
.process-num{
  display:inline-flex;
  align-items:center; justify-content:center;
  width:54px; height:54px;
  border-radius:50%;
  background: var(--paper);
  border: 1.5px solid var(--forest-600);
  color: var(--forest-700);
  font-family: var(--font-display);
  font-weight:700;
  font-size:1.1rem;
  margin-bottom: 1.3rem;
}
.process-step h3{ font-size: 1.15rem; margin-bottom:.5rem; }
.process-step p{ font-size:.92rem; color:#4a5547; }

.process-rail--compact{
  grid-template-columns: 1fr;
  gap: 1.8rem;
  margin-bottom: 2.2rem;
}
.process-rail--compact::before{ display:none; }
.process-rail--compact .process-step{ padding:0; display:flex; gap:1.2rem; align-items:flex-start; }
.process-rail--compact .process-num{ flex-shrink:0; margin-bottom:0; width:46px; height:46px; font-size:1rem; }

.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 1.2rem;
}
.gallery-item{
  margin:0;
  position:relative;
  border-radius: var(--radius-md);
  overflow:hidden;
  box-shadow: var(--shadow-sm);
}
.gallery-item--wide{ grid-column: span 2; }
.gallery-item img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .6s var(--ease);
}
.gallery-item:hover img{ transform: scale(1.06); }
.gallery-item figcaption{
  position:absolute; left:0; right:0; bottom:0;
  padding: 1rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(16,32,21,.82));
  color:#fff;
  font-size:.85rem;
  font-weight:600;
}

/* ===========================================================
   LOGISTICS
   =========================================================== */
.logistics-grid{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 3.5rem;
  align-items:center;
  margin-bottom: 3.5rem;
}
.logistics-media{
  position:relative; margin:0;
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-md);
}
.logistics-media img{ width:100%; height: 520px; object-fit:cover; }
.logistics-media .tag-chip{ left:1.2rem; bottom:1.2rem; }

.logistics-banner{
  margin:0;
  position:relative;
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-md);
}
.logistics-banner img{ width:100%; height: 380px; object-fit:cover; }
.logistics-banner figcaption{
  position:absolute; left:0; right:0; bottom:0;
  padding: 1.6rem 2rem;
  background: linear-gradient(180deg, transparent, rgba(16,32,21,.85));
  color:#fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

/* ===========================================================
   CERTIFICATIONS
   =========================================================== */
.cert-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.cert-card{
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow:hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cert-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cert-card--badge{ border-color: var(--gold-600); background: linear-gradient(180deg, var(--white) 0%, var(--gold-100) 130%); }
.cert-card--badge .cert-badge{ background: var(--gold-100); color: var(--gold-700); }
.cert-thumb{
  position:relative;
  height: 280px;
  background: var(--forest-050);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  padding: 1.2rem;
}
.cert-thumb img{
  max-height:100%; width:auto;
  object-fit:contain;
  box-shadow: var(--shadow-sm);
  border-radius: 4px;
}
.cert-thumb--badge{ background: var(--navy-900); }
.cert-body{ padding: 1.6rem 1.7rem 1.9rem; }
.cert-badge{
  display:inline-block;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-weight:600;
  color: var(--forest-700);
  background: var(--forest-100);
  padding: .35em .8em;
  border-radius:999px;
  margin-bottom: .9rem;
}
.cert-body h3{ font-size: 1.2rem; margin-bottom:.5rem; }
.cert-body p{ font-size: .92rem; color:#4a5547; margin-bottom: 1rem; }

/* ===========================================================
   CONTACT
   =========================================================== */
.contact-grid{
  display:grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 3.5rem;
}
.contact-info{ display:flex; flex-direction:column; gap: .9rem; }
.contact-card{
  display:flex;
  align-items:center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.contact-card:hover{ border-color: var(--forest-600); transform: translateX(4px); }
.contact-card--static:hover{ transform:none; border-color: var(--line-soft); }
.contact-card strong{ display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.04em; color: var(--forest-700); font-family: var(--font-mono); font-weight:600; margin-bottom:.15em; }
.contact-card span > span{ font-size:.97rem; color: var(--ink); font-weight:600; }
.contact-icon{
  flex-shrink:0;
  width:46px; height:46px;
  border-radius:50%;
  background: var(--forest-100);
  color: var(--forest-700);
  display:flex; align-items:center; justify-content:center;
}
.contact-icon svg{ width:21px; height:21px; }

.map-frame{
  margin-top: .4rem;
  border-radius: var(--radius-md);
  overflow:hidden;
  border: 1px solid var(--line-soft);
  height: 220px;
  box-shadow: var(--shadow-sm);
}
.map-frame iframe{ width:100%; height:100%; border:0; }

.contact-form{
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
}
.form-note{
  font-size:.85rem;
  color: var(--forest-700);
  background: var(--forest-050);
  border-radius: var(--radius-sm);
  padding: .8em 1em;
  margin-bottom: 1.6rem;
}
.form-row{ margin-bottom: 1.3rem; }
.form-row--split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-row label{
  display:block;
  font-size:.83rem;
  font-weight:700;
  color: var(--forest-800);
  margin-bottom:.45rem;
}
.form-row input,
.form-row textarea,
.form-row select{
  width:100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .75em .9em;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .25s var(--ease), background .25s var(--ease);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus{
  border-color: var(--forest-600);
  background:#fff;
  outline:none;
}

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer{
  background: var(--forest-900);
  color: rgba(255,255,255,.82);
  padding-top: 4.5rem;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr .8fr .8fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand--footer{ margin-bottom: 1.1rem; }
.brand--footer .brand-icon{ height: 38px; }
.footer-brand p{ font-size:.92rem; color: rgba(255,255,255,.68); margin-bottom: 1.2rem; }
.footer-axis{ display:flex; align-items:center; gap:.7rem; font-size:.82rem; color: rgba(255,255,255,.6); }
.footer-axis-mark{
  height: 26px; width: 26px;
  object-fit: contain;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  padding: 4px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.footer-axis strong{ color: rgba(255,255,255,.85); }

.site-footer h5{
  color: var(--gold-500);
  font-family: var(--font-mono);
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom: 1.2rem;
  font-weight:600;
}
.footer-links ul, .footer-contact ul{ display:flex; flex-direction:column; gap:.7rem; }
.footer-links a, .footer-contact a{ font-size:.92rem; color: rgba(255,255,255,.75); transition: color .25s var(--ease); }
.footer-links a:hover, .footer-contact a:hover{ color: var(--gold-500); }
.footer-contact li{ font-size:.92rem; color: rgba(255,255,255,.75); }

.footer-cta p{ font-size:.88rem; color: rgba(255,255,255,.65); margin-bottom: 1.1rem; }

.footer-bottom{ padding: 1.6rem 0; }
.footer-bottom-inner{ text-align:center; }
.footer-bottom p{ font-size:.82rem; color: rgba(255,255,255,.55); }

/* ===========================================================
   MODALS
   =========================================================== */
.modal-overlay{
  position:fixed; inset:0;
  background: rgba(12,20,14,.62);
  backdrop-filter: blur(4px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 1.5rem;
  z-index: 900;
  opacity:0; visibility:hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.modal-overlay.is-active{ opacity:1; visibility:visible; }
.modal-box{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  max-width: 540px;
  width:100%;
  max-height: 90vh;
  overflow-y:auto;
  position:relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(.98);
  transition: transform .35s var(--ease);
}
.modal-overlay.is-active .modal-box{ transform: translateY(0) scale(1); }
.modal-close{
  position:absolute; top: 1.3rem; right:1.3rem;
  width:36px; height:36px;
  border-radius:50%;
  background: var(--paper-deep);
  border:none;
  display:flex; align-items:center; justify-content:center;
  color: var(--forest-800);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.modal-close:hover{ background: var(--forest-100); transform: rotate(90deg); }
.modal-close svg{ width:17px; height:17px; }

.modal-box h3{ font-size: 1.55rem; margin: 0 0 .5rem; padding-right:2rem; }
.modal-sub{ color:#4a5547; font-size:.94rem; margin-bottom: 1.6rem; }
.modal-actions{
  display:flex;
  flex-wrap:wrap;
  gap: .9rem;
  margin-top: 1.6rem;
}
.modal-actions .btn{ flex:1; min-width: 180px; }

.modal-box--cert{
  max-width: 720px;
  text-align:center;
  padding: 2rem;
}
#certModalImg{
  max-height: 70vh;
  width:auto;
  margin: 0 auto 1.2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}
.cert-modal-caption{
  font-size:.88rem;
  color: #4a5547;
  max-width: 480px;
  margin: 0 auto;
}

/* ===========================================================
   TOAST
   =========================================================== */
.toast{
  position:fixed;
  bottom: 24px; left:50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--forest-900);
  color:#fff;
  padding: .9em 1.5em;
  border-radius: 999px;
  font-size:.9rem;
  font-weight:600;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity:0;
  visibility:hidden;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s var(--ease);
}
.toast.is-active{ opacity:1; visibility:visible; transform: translateX(-50%) translateY(0); }

/* ===========================================================
   RESPONSIVE — TABLET (<=1024px)
   =========================================================== */
@media (max-width: 1024px){
  .about-grid{ grid-template-columns: 1fr; gap: 2.6rem; }
  .about-media img{ height: 360px; }
  .mv-grid{ grid-template-columns: 1fr; }
  .values-grid{ grid-template-columns: repeat(2, 1fr); }
  .parent-panel-body{ grid-template-columns: 1fr; gap: 1.8rem; }
  .parent-panel{ padding: 2.4rem; }

  .commodity-grid{ grid-template-columns: repeat(2, 1fr); }

  .process-rail{ grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1.2rem; }
  .process-rail::before{ display:none; }

  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery-item--wide{ grid-column: span 2; }

  .logistics-grid{ grid-template-columns: 1fr; gap: 2.4rem; }
  .logistics-media img{ height: 340px; }

  .cert-grid{ grid-template-columns: repeat(2, 1fr); }

  .contact-grid{ grid-template-columns: 1fr; gap: 2.4rem; }

  .footer-grid{ grid-template-columns: repeat(2, 1fr); gap: 2.4rem; }
}

/* ===========================================================
   RESPONSIVE — MOBILE NAV (<=900px)
   =========================================================== */
@media (max-width: 900px){
  .nav-toggle{ display:flex; }

  .main-nav{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(86vw, 360px);
    background: var(--paper);
    z-index: 480;
    padding: 7rem 2.2rem 2.5rem;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: var(--shadow-lg);
    overflow-y:auto;
  }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav ul{
    flex-direction:column;
    align-items:flex-start;
    gap: 1.6rem;
  }
  .main-nav .nav-link{
    font-size: 1.15rem;
    color: var(--forest-900);
  }
  .main-nav .nav-link::after{ background: var(--gold-600); }

  .header-actions .btn-small{ display:none; }
}
@media (min-width: 901px){
  .mobile-nav-backdrop{ display:none; }
}

/* ===========================================================
   RESPONSIVE — SMALL TABLET / LARGE PHONE (<=768px)
   =========================================================== */
@media (max-width: 768px){
  .section{ padding: 4.5rem 0; }
  .section-head{ margin-bottom: 2.2rem; }

  .hero{ min-height: auto; padding-bottom: 0; }
  .hero-content{ padding-top: 3rem; padding-bottom: 3rem; }
  .hero-cta{ flex-direction:column; align-items:stretch; }
  .hero-cta .btn{ width:100%; }

  .manifest-strip{ flex-wrap:nowrap; }
  .manifest-item{ min-width: 130px; padding: 1rem 1.1rem; }
  .manifest-num{ font-size: 1.5rem; }
  .manifest-label{ font-size:.66rem; }

  .values-grid{ grid-template-columns: 1fr; }
  .commodity-grid{ grid-template-columns: 1fr; }
  .filter-tabs{ flex-wrap: nowrap; overflow-x:auto; padding-bottom:.4rem; -webkit-overflow-scrolling:touch; }
  .filter-tabs::-webkit-scrollbar{ display:none; }

  .process-rail{ grid-template-columns: 1fr; gap: 2rem; }

  .gallery-grid{ grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .gallery-item--wide{ grid-column: span 1; }

  .cert-grid{ grid-template-columns: 1fr; }

  .form-row--split{ grid-template-columns: 1fr; gap: 0; }

  .footer-grid{ grid-template-columns: 1fr; gap: 2.2rem; }
  .parent-panel-head{ flex-direction:column; align-items:flex-start; gap:1rem; }

  .modal-box{ padding: 2rem 1.5rem; }
  .modal-actions{ flex-direction:column; }
  .modal-actions .btn{ width:100%; }
}

/* ===========================================================
   RESPONSIVE — MOBILE (<=480px)
   =========================================================== */
@media (max-width: 480px){
  .container{ padding: 0 18px; }
  .brand-icon{ height: 32px; }
  .brand-text{ font-size: 1rem; }
  .header-inner{ gap: .8rem; }

  .hero-title{ font-size: clamp(2rem, 1.6rem + 4vw, 2.6rem); }
  .hero-sub{ font-size: 1rem; }

  .about-media img{ height: 280px; }
  .logistics-media img{ height: 260px; }
  .logistics-banner img{ height: 240px; }

  .cert-thumb{ height: 230px; }

  .parent-panel{ padding: 1.8rem; }
  .contact-form{ padding: 1.8rem; }
}

/* ===========================================================
   PRINT — ensure reveal-on-scroll content is never invisible
   when printing or when a screenshot/crawler tool doesn't scroll
   =========================================================== */
@media print{
  .reveal{ opacity: 1 !important; transform: none !important; }
  .site-header{ position: static !important; background: var(--paper) !important; }
  .nav-link, .brand-text, .brand-text strong{ color: var(--forest-900) !important; }
  .nav-toggle, .mobile-nav-backdrop, .modal-overlay, .toast{ display:none !important; }
  .hero{ min-height: auto; }
  .hero-img{ animation: none; transform:none; }
}
