/* =========================================================
   ADESH GROUP — DESIGN SYSTEM
   Adefunke Desh Nigeria Limited
   ========================================================= */

/* ---------- Design tokens ---------- */
:root{
  --green-900:#14532D;   /* Primary Deep Green */
  --green-700:#1c6b3a;
  --green-600:#2E7D32;   /* Secondary Green */
  --green-100:#EAF4EA;   /* Light Agricultural Green */
  --gold:#D4A72C;        /* Warm Gold / Grain Accent */
  --gold-dark:#B78E20;
  --off-white:#F8FAF8;
  --white:#FFFFFF;
  --charcoal:#1F2933;
  --gray:#667085;
  --gray-200:#E3E8E4;
  --gray-100:#F1F4F1;

  --font-head:'Poppins', 'Segoe UI', sans-serif;
  --font-body:'Inter', 'Segoe UI', sans-serif;

  --container:1240px;
  --radius-sm:6px;
  --radius-md:10px;
  --radius-lg:16px;
  --shadow-sm:0 1px 2px rgba(20,83,45,0.06), 0 1px 1px rgba(20,83,45,0.04);
  --shadow-md:0 8px 24px rgba(20,83,45,0.10);
  --shadow-lg:0 20px 48px rgba(20,83,45,0.16);

  --space-1:0.5rem;
  --space-2:1rem;
  --space-3:1.5rem;
  --space-4:2rem;
  --space-5:3rem;
  --space-6:4.5rem;
  --space-7:6rem;

  --header-h:84px;
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important;}
}
body{margin:0;font-family:var(--font-body);color:var(--charcoal);background:var(--white);line-height:1.6;-webkit-font-smoothing:antialiased;}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
button{font-family:inherit;cursor:pointer;}
h1,h2,h3,h4{font-family:var(--font-head);color:var(--green-900);line-height:1.18;margin:0;font-weight:800;}
p{margin:0;}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}

/* Focus visibility */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:3px solid var(--gold);
  outline-offset:2px;
  border-radius:4px;
}

/* ---------- Layout helpers ---------- */
.wrap{max-width:var(--container);margin:0 auto;padding:0 1.5rem;}
main{display:block;}
.section{padding:var(--space-6) 0;}
.section--tight{padding:var(--space-5) 0;}
.section--white{background:var(--white);}
.section--light{background:var(--green-100);}
.section--charcoal{background:var(--charcoal);color:var(--off-white);}
.section--deep{background:var(--green-900);color:var(--off-white);}
.section--deep h2, .section--deep h3{color:var(--white);}

.eyebrow{
  display:inline-flex;align-items:center;gap:.6rem;
  font-family:var(--font-head);font-weight:700;font-size:0.8rem;
  letter-spacing:.06em;color:var(--green-600);text-transform:uppercase;
  margin-bottom:.75rem;
}
.eyebrow::before{content:"";width:28px;height:3px;background:var(--gold);border-radius:2px;display:inline-block;}
.section--deep .eyebrow, .section--charcoal .eyebrow{color:var(--gold);}

.section-head{max-width:720px;margin-bottom:var(--space-4);}
.section-head h2{font-size:clamp(1.6rem,3vw,2.35rem);margin-bottom:.85rem;}
.section-head p{color:var(--gray);font-size:1.05rem;}
.section--deep .section-head p, .section--charcoal .section-head p{color:#CFE3D3;}
.section-head--center{margin-left:auto;margin-right:auto;text-align:center;}
.section-head--split{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;max-width:none;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.85rem 1.6rem;border-radius:var(--radius-sm);
  font-family:var(--font-head);font-weight:700;font-size:0.95rem;
  border:2px solid transparent;transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--green-900);color:var(--white);}
.btn-primary:hover{background:var(--green-700);box-shadow:var(--shadow-md);}
.btn-gold{background:var(--gold);color:var(--green-900);}
.btn-gold:hover{background:var(--gold-dark);box-shadow:var(--shadow-md);}
.btn-outline{background:transparent;color:var(--green-900);border-color:var(--green-900);}
.btn-outline:hover{background:var(--green-900);color:var(--white);}
.btn-outline-light{background:transparent;color:var(--white);border-color:rgba(255,255,255,.55);}
.btn-outline-light:hover{background:var(--white);color:var(--green-900);border-color:var(--white);}
.btn-white{background:var(--white);color:var(--green-900);}
.btn-white:hover{background:var(--green-100);}
.btn-sm{padding:.6rem 1.1rem;font-size:.85rem;}
.btn-row{display:flex;gap:1rem;flex-wrap:wrap;}

.link-arrow{display:inline-flex;align-items:center;gap:.4rem;font-family:var(--font-head);font-weight:700;color:var(--green-700);font-size:.95rem;}
.link-arrow svg{transition:transform .15s ease;}
.link-arrow:hover svg{transform:translateX(4px);}
.section--deep .link-arrow, .section--charcoal .link-arrow{color:var(--gold);}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:1000;
  background:rgba(255,255,255,0.0);
  border-bottom:1px solid transparent;
  transition:background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled, .site-header.menu-open{
  background:var(--white);
  box-shadow:var(--shadow-sm);
  border-bottom-color:var(--gray-200);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:var(--header-h);gap:1.5rem;
}
.brand{display:flex;align-items:center;gap:.75rem;flex-shrink:0;}
.brand img{height:58px;width:auto;}
@media(min-width:1080px){.brand img{height:66px;}}

.primary-nav{display:none;}
.primary-nav > ul{display:flex;align-items:center;gap:.25rem;}
.nav-item{position:relative;}
.nav-link{
  display:flex;align-items:center;gap:.35rem;
  padding:.75rem .85rem;font-family:var(--font-head);font-weight:700;font-size:.95rem;
  color:var(--charcoal);border-radius:var(--radius-sm);
}
.nav-item.has-dropdown .nav-link svg{transition:transform .15s ease;}
.nav-link:hover{color:var(--green-700);background:var(--green-100);}
.nav-item.is-active > .nav-link{color:var(--green-700);}

.dropdown{
  position:absolute;top:100%;left:0;min-width:260px;
  background:var(--white);border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg);border:1px solid var(--gray-200);
  padding:.6rem;opacity:0;visibility:hidden;transform:translateY(6px);
  transition:opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown{opacity:1;visibility:visible;transform:translateY(0);}
.dropdown a{
  display:block;padding:.65rem .75rem;border-radius:var(--radius-sm);
  font-size:.92rem;font-weight:600;color:var(--charcoal);
}
.dropdown a:hover{background:var(--green-100);color:var(--green-700);}

.header-actions{display:flex;align-items:center;gap:.75rem;flex-shrink:0;}
.header-actions .btn{display:none;}

.menu-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:var(--radius-sm);border:1px solid var(--gray-200);
  background:var(--white);
}
.menu-toggle span{display:block;width:20px;height:2px;background:var(--charcoal);position:relative;}
.menu-toggle span::before,.menu-toggle span::after{content:"";position:absolute;left:0;width:20px;height:2px;background:var(--charcoal);transition:transform .2s ease, top .2s ease;}
.menu-toggle span::before{top:-6px;}
.menu-toggle span::after{top:6px;}
.menu-toggle[aria-expanded="true"] span{background:transparent;}
.menu-toggle[aria-expanded="true"] span::before{top:0;transform:rotate(45deg);}
.menu-toggle[aria-expanded="true"] span::after{top:0;transform:rotate(-45deg);}

.mobile-nav{
  position:fixed;inset:var(--header-h) 0 0 0;background:var(--white);
  transform:translateX(100%);transition:transform .25s ease;
  overflow-y:auto;padding:1.5rem;z-index:999;
}
.mobile-nav.is-open{transform:translateX(0);}
.mobile-nav-group{border-bottom:1px solid var(--gray-200);padding:.6rem 0;}
.mobile-nav-top{
  display:flex;justify-content:space-between;align-items:center;
  width:100%;background:none;border:none;padding:.7rem .2rem;
  font-family:var(--font-head);font-weight:700;font-size:1.05rem;color:var(--green-900);
}
.mobile-nav-top svg{transition:transform .2s ease;}
.mobile-nav-top[aria-expanded="true"] svg{transform:rotate(180deg);}
.mobile-sub{max-height:0;overflow:hidden;transition:max-height .2s ease;padding-left:.6rem;}
.mobile-sub.is-open{max-height:500px;}
.mobile-sub a{display:block;padding:.55rem .4rem;color:var(--gray);font-weight:600;}
.mobile-nav-cta{margin-top:1.5rem;display:flex;flex-direction:column;gap:.75rem;}
.mobile-nav-cta .btn{width:100%;}

@media (min-width:1080px){
  .primary-nav{display:block;}
  .header-actions .btn{display:inline-flex;}
  .menu-toggle{display:none;}
  .mobile-nav{display:none;}
}

/* ---------- Hero ---------- */
.hero{
  position:relative;color:var(--white);
  min-height:640px;display:flex;align-items:flex-end;
  background:linear-gradient(180deg, rgba(14,40,24,.55), rgba(12,32,20,.82)), var(--green-900);
  background-size:cover;background-position:center;
  overflow:hidden;
}
.hero-inner{position:relative;z-index:2;padding-top:var(--space-7);padding-bottom:3.5rem;padding-left:clamp(1.25rem, 5vw, 4.5rem);padding-right:1.5rem;max-width:720px;}
.hero .eyebrow{color:var(--gold);}
.hero h1{color:var(--white);font-size:clamp(2.1rem,4.6vw,3.4rem);margin-bottom:1.2rem;}
.hero p.lede{font-size:1.15rem;color:#E5F0E7;margin-bottom:2rem;max-width:600px;}
.hero-badge{
  position:absolute;bottom:0;right:0;background:var(--white);color:var(--green-900);
  padding:1rem 1.5rem;border-radius:var(--radius-md) 0 0 0;
  font-family:var(--font-head);font-weight:700;font-size:.85rem;
  display:none;box-shadow:var(--shadow-lg);
}
@media(min-width:900px){.hero-badge{display:block;}}

.hero-graphic{
  position:absolute;inset:0;z-index:1;opacity:.5;
}

/* Divider between hero and next section: silo skyline */
.silo-divider{display:block;width:100%;height:auto;margin-top:-2px;}

/* Page hero (non-home pages) */
.page-hero{
  background:var(--green-900);color:var(--white);
  padding:calc(var(--space-6) + 12px) 0 var(--space-5);
  position:relative;overflow:hidden;
}
.page-hero .eyebrow{color:var(--gold);}
.page-hero h1{color:var(--white);font-size:clamp(1.9rem,4vw,2.9rem);max-width:760px;}
.page-hero p{color:#DCEEDF;max-width:620px;margin-top:1rem;font-size:1.05rem;}
.breadcrumbs{display:flex;gap:.5rem;align-items:center;font-size:.85rem;color:#B9D8C0;margin-bottom:1.25rem;font-weight:600;}
.breadcrumbs a{color:#B9D8C0;}
.breadcrumbs a:hover{color:var(--white);}

/* ---------- Snapshot / stats strip ---------- */
.stats-strip{background:var(--off-white);border-top:1px solid var(--gray-200);border-bottom:1px solid var(--gray-200);}
.stats-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;padding:var(--space-4) 0;
}
.stat-item{display:flex;align-items:flex-start;gap:.9rem;}
.stat-icon{
  flex-shrink:0;width:46px;height:46px;border-radius:50%;
  background:var(--green-100);display:flex;align-items:center;justify-content:center;color:var(--green-700);
}
.stat-item strong{display:block;font-family:var(--font-head);font-size:1.05rem;color:var(--green-900);}
.stat-item span{color:var(--gray);font-size:.92rem;}
@media(min-width:760px){.stats-grid{grid-template-columns:repeat(4,1fr);}}

/* ---------- Two-column feature (Who We Are) ---------- */
.split{display:grid;gap:var(--space-5);align-items:center;}
.split img{border-radius:var(--radius-lg);box-shadow:var(--shadow-md);}
.split-copy p + p{margin-top:1rem;}
.split-copy p{color:var(--gray);font-size:1.02rem;}
.split-list{margin-top:1.5rem;display:grid;gap:.75rem;}
.split-list li{display:flex;gap:.65rem;align-items:flex-start;font-weight:600;color:var(--charcoal);font-size:.96rem;}
.split-list svg{flex-shrink:0;color:var(--green-600);margin-top:.15rem;}
@media(min-width:900px){
  .split{grid-template-columns:1fr 1fr;}
  .split.reverse{direction:rtl;}
  .split.reverse > *{direction:ltr;}
}

/* ---------- Cards ---------- */
.card-grid{display:grid;gap:1.5rem;grid-template-columns:1fr;}
@media(min-width:640px){.card-grid--2{grid-template-columns:repeat(2,1fr);}}
@media(min-width:760px){
  .card-grid--3{grid-template-columns:repeat(3,1fr);}
  .card-grid--4{grid-template-columns:repeat(2,1fr);}
}
@media(min-width:1040px){
  .card-grid--4{grid-template-columns:repeat(4,1fr);}
  .card-grid--5{grid-template-columns:repeat(5,1fr);}
  .card-grid--6{grid-template-columns:repeat(3,1fr);}
}

.solution-card{
  background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius-lg);
  padding:1.75rem;display:flex;flex-direction:column;gap:.9rem;
  transition:box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.solution-card:hover{box-shadow:var(--shadow-md);border-color:var(--green-600);transform:translateY(-3px);}
.card-icon{
  width:52px;height:52px;border-radius:12px;background:var(--green-900);color:var(--white);
  display:flex;align-items:center;justify-content:center;
}
.solution-card h3{font-size:1.12rem;}
.solution-card p{color:var(--gray);font-size:.95rem;flex-grow:1;}

.product-card{
  border-radius:var(--radius-lg);overflow:hidden;background:var(--white);
  border:1px solid var(--gray-200);display:flex;flex-direction:column;
  transition:box-shadow .2s ease, transform .2s ease;
}
.product-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);}
.product-card .product-media{height:200px;min-height:200px;max-height:200px;overflow:hidden;background:var(--green-100);position:relative;}
.product-card .product-media img{width:100%;height:100%;object-fit:cover;}
.product-card .product-media .card-icon{position:absolute;left:1rem;bottom:-24px;background:var(--white);color:var(--green-700);box-shadow:var(--shadow-md);}
.product-card .product-body{padding:2rem 1.25rem 1.5rem;flex-grow:1;display:flex;flex-direction:column;gap:.65rem;}
.product-card h3{font-size:1.1rem;}
.product-card p{color:var(--gray);font-size:.93rem;flex-grow:1;}

.facility-card{border-radius:var(--radius-lg);overflow:hidden;background:var(--white);box-shadow:var(--shadow-sm);border:1px solid var(--gray-200);}
.facility-card .facility-media{height:280px;min-height:280px;max-height:280px;flex-shrink:0;overflow:hidden;background:var(--green-900);position:relative;}
.facility-card .facility-media img{width:100%;height:100%;object-fit:cover;object-position:center 25%;display:block;}
@media(max-width:639px){.facility-card .facility-media{height:320px;min-height:320px;max-height:320px;}}
.facility-card .facility-icon{
  position:absolute;left:1rem;bottom:-22px;width:44px;height:44px;border-radius:50%;
  background:var(--white);box-shadow:var(--shadow-md);display:flex;align-items:center;justify-content:center;color:var(--green-700);
}
.facility-card .facility-body{padding:1rem 1.25rem 1.25rem;}
.facility-card h3{font-size:1.05rem;margin-bottom:.4rem;}
.facility-card p{color:var(--gray);font-size:.9rem;margin-bottom:.9rem;}

.pillar{text-align:left;}
.pillar .card-icon{margin-bottom:.4rem;}
.pillar h3{font-size:1.02rem;margin-bottom:.35rem;}
.pillar p{color:var(--gray);font-size:.9rem;}

/* Value prop rows (Why ADESH) */
.value-row{display:flex;gap:1.1rem;align-items:flex-start;padding:1.4rem 0;border-top:1px solid rgba(255,255,255,.14);}
.value-row:first-of-type{border-top:none;}
.value-row .num{font-family:var(--font-head);font-weight:800;font-size:1rem;color:var(--gold);flex-shrink:0;width:2.2rem;}
.value-row h3{color:var(--white);font-size:1.05rem;margin-bottom:.3rem;}
.value-row p{color:#CFE3D3;font-size:.93rem;}

/* Impact pillars */
.impact-card{background:var(--white);border-radius:var(--radius-lg);padding:1.6rem;border:1px solid var(--gray-200);}
.impact-card .card-icon{background:var(--green-100);color:var(--green-700);margin-bottom:1rem;}
.impact-card h3{font-size:1.05rem;margin-bottom:.4rem;}
.impact-card p{color:var(--gray);font-size:.92rem;}

/* Certification cards */
.cert-card{
  display:flex;gap:1rem;background:var(--white);border:1px solid var(--gray-200);
  border-radius:var(--radius-lg);padding:1.4rem;align-items:flex-start;
}
.cert-badge{width:48px;height:48px;border-radius:50%;background:var(--green-100);color:var(--green-700);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.cert-card h3{font-size:1rem;margin-bottom:.25rem;}
.cert-card p{color:var(--gray);font-size:.88rem;}
.status-pill{
  display:inline-block;margin-top:.5rem;font-size:.72rem;font-weight:700;
  padding:.25rem .6rem;border-radius:999px;letter-spacing:.02em;
}
.status-pill--pending{background:#FBF1DA;color:#8A6512;}
.status-pill--verified{background:var(--green-100);color:var(--green-700);}

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--green-900);color:var(--white);border-radius:var(--radius-lg);
  padding:var(--space-5);display:grid;gap:2rem;align-items:center;
}
.cta-band h2{color:var(--white);font-size:clamp(1.5rem,3vw,2.1rem);}
.cta-band p{color:#CFE3D3;margin-top:.75rem;}
@media(min-width:860px){.cta-band{grid-template-columns:1.3fr 1fr;padding:var(--space-6);}}
.cta-band.cta-full{border-radius:0;}

/* ---------- Partners ---------- */
.partner-note{
  background:var(--white);border:1px dashed var(--gray-200);border-radius:var(--radius-lg);
  padding:2.5rem;text-align:center;color:var(--gray);
}
.partner-note strong{display:block;color:var(--green-900);font-family:var(--font-head);margin-bottom:.5rem;font-size:1.1rem;}

/* ---------- Insights / articles ---------- */
.filter-row{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:var(--space-4);}
.filter-pill{
  border:1px solid var(--gray-200);background:var(--white);color:var(--charcoal);
  padding:.55rem 1.1rem;border-radius:999px;font-weight:600;font-size:.88rem;
}
.filter-pill.is-active,.filter-pill:hover{background:var(--green-900);color:var(--white);border-color:var(--green-900);}

.article-card{background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column;}
.article-media{height:210px;min-height:210px;max-height:210px;flex-shrink:0;overflow:hidden;background:var(--green-100);}
.article-media img{width:100%;height:100%;object-fit:cover;display:block;}
.article-media .media-pattern{width:100%;height:100%;}
.article-body{padding:1.4rem;display:flex;flex-direction:column;gap:.6rem;flex-grow:1;}
.article-cat{font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--green-700);}
.article-body h3{font-size:1.05rem;}
.article-meta{font-size:.82rem;color:var(--gray);}

.empty-state{
  text-align:center;padding:var(--space-6) var(--space-3);
  border:1px dashed var(--gray-200);border-radius:var(--radius-lg);background:var(--off-white);
}
.empty-state svg{color:var(--green-600);margin-bottom:1rem;}
.empty-state h3{margin-bottom:.5rem;}
.empty-state p{color:var(--gray);max-width:460px;margin:0 auto;}

/* ---------- Timeline ---------- */
.timeline{position:relative;padding-left:2rem;border-left:2px solid var(--gray-200);display:grid;gap:2.5rem;}
.timeline-item{position:relative;}
.timeline-item::before{
  content:"";position:absolute;left:-2.42rem;top:.3rem;width:14px;height:14px;border-radius:50%;
  background:var(--gold);border:3px solid var(--white);box-shadow:0 0 0 2px var(--green-600);
}
.timeline-year{font-family:var(--font-head);font-weight:800;color:var(--green-700);font-size:1.1rem;}
.timeline-item h3{margin:.3rem 0 .4rem;font-size:1.1rem;}
.timeline-item p{color:var(--gray);}

/* ---------- Tabs (Solutions/Products pages) ---------- */
.tab-list{display:flex;flex-wrap:wrap;gap:.6rem;border-bottom:1px solid var(--gray-200);margin-bottom:var(--space-4);padding-bottom:1rem;}
.tab-btn{
  padding:.7rem 1.2rem;border-radius:999px;border:1px solid var(--gray-200);background:var(--white);
  font-family:var(--font-head);font-weight:700;font-size:.9rem;color:var(--charcoal);
}
.tab-btn.is-active{background:var(--green-900);color:var(--white);border-color:var(--green-900);}
.tab-panel{display:none;}
.tab-panel.is-active{display:block;animation:fadein .25s ease;}
@keyframes fadein{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);}}
.tab-panel-inner{display:grid;gap:2.5rem;}
@media(min-width:900px){.tab-panel-inner{grid-template-columns:1.1fr 1fr;align-items:start;}}
.detail-list{display:grid;gap:.85rem;margin-top:1.25rem;}
.detail-list li{display:flex;gap:.6rem;align-items:flex-start;font-size:.95rem;color:var(--charcoal);}
.detail-list svg{color:var(--green-600);flex-shrink:0;margin-top:.2rem;}
.tab-media{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-md);position:relative;flex-shrink:0;}
.tab-media img{width:100%;height:100%;object-fit:cover;display:block;}
.tab-media-caption{
  position:absolute;left:0;right:0;bottom:0;padding:2.5rem 1.5rem 1.25rem;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(8,26,16,.82) 100%);
  color:var(--white);font-family:var(--font-head);font-weight:700;font-size:1.1rem;
}

/* ---------- Forms ---------- */
.form-grid{display:grid;gap:1.25rem;}
@media(min-width:700px){.form-grid.two-col{grid-template-columns:1fr 1fr;}}
.field{display:flex;flex-direction:column;gap:.45rem;}
.field.full{grid-column:1 / -1;}
.field label{font-family:var(--font-head);font-weight:700;font-size:.88rem;color:var(--charcoal);}
.field input,.field select,.field textarea{
  padding:.85rem 1rem;border-radius:var(--radius-sm);border:1.5px solid var(--gray-200);
  font-family:var(--font-body);font-size:.95rem;color:var(--charcoal);background:var(--white);
  transition:border-color .15s ease, box-shadow .15s ease;width:100%;
}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--green-600);box-shadow:0 0 0 3px rgba(46,125,50,.15);outline:none;}
.field small{color:var(--gray);font-size:.8rem;}
.form-note{font-size:.82rem;color:var(--gray);margin-top:.5rem;}
.form-status{margin-top:1rem;padding:.9rem 1.1rem;border-radius:var(--radius-sm);font-weight:600;font-size:.92rem;display:none;}
.form-status.is-success{display:block;background:var(--green-100);color:var(--green-900);}
.form-status.is-error{display:block;background:#FBEAEA;color:#8A2020;}
.honeypot{position:absolute;left:-9999px;top:-9999px;}

/* ---------- Contact info cards ---------- */
.contact-info-grid{display:grid;gap:1.25rem;grid-template-columns:1fr;}
@media(min-width:640px){.contact-info-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1040px){.contact-info-grid{grid-template-columns:repeat(4,1fr);}}
.contact-info-card{background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius-lg);padding:1.5rem;}
.contact-info-card .card-icon{background:var(--green-100);color:var(--green-700);margin-bottom:.9rem;}
.contact-info-card h3{font-size:1rem;margin-bottom:.4rem;}
.contact-info-card p, .contact-info-card a{color:var(--gray);font-size:.92rem;}
.contact-info-card a:hover{color:var(--green-700);}

.map-frame{border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--gray-200);}
.map-frame iframe{width:100%;height:340px;border:0;display:block;}

/* ---------- Footer ---------- */
.site-footer{background:var(--green-900);color:#CFE3D3;}
.footer-top{padding-top:var(--space-6);padding-bottom:var(--space-4);display:grid;gap:2.5rem;grid-template-columns:1fr;}
@media(min-width:860px){.footer-top{grid-template-columns:1.4fr 1fr 1fr 1fr;}}
.footer-brand img{height:52px;width:auto;margin-bottom:1rem;filter:brightness(0) invert(1);}
.footer-brand p{color:#B9D8C0;font-size:.92rem;max-width:320px;}
.footer-social{display:flex;gap:.6rem;margin-top:1.25rem;}
.footer-social a{
  width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.25);
  display:flex;align-items:center;justify-content:center;color:var(--white);transition:background .15s ease;
}
.footer-social a:hover{background:rgba(255,255,255,.12);}
.footer-col h4{color:var(--white);font-size:.92rem;text-transform:uppercase;letter-spacing:.04em;margin-bottom:1.1rem;}
.footer-col ul{display:grid;gap:.7rem;}
.footer-col a{color:#B9D8C0;font-size:.93rem;}
.footer-col a:hover{color:var(--white);}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.14);padding-top:1.4rem;padding-bottom:1.4rem;
  display:flex;flex-wrap:wrap;justify-content:center;text-align:center;gap:1rem;font-size:.85rem;color:#9CC1A4;
}
.footer-bottom a:hover{color:var(--white);}
.footer-legal{display:flex;gap:1.25rem;flex-wrap:wrap;}

/* ---------- 404 ---------- */
.error-page{min-height:60vh;display:flex;align-items:center;padding:var(--space-7) 0;}
.error-page .code{font-family:var(--font-head);font-weight:800;font-size:clamp(3.5rem,10vw,6rem);color:var(--green-100);line-height:1;}
.error-page h1{margin-top:-1.2rem;}
.error-page p{color:var(--gray);max-width:480px;margin-top:1rem;font-size:1.05rem;}

/* ---------- Misc ---------- */
.center{text-align:center;}
.mt-1{margin-top:1rem;}
.mt-2{margin-top:2rem;}
.badge-soft{display:inline-block;background:var(--green-100);color:var(--green-700);font-weight:700;font-size:.78rem;padding:.35rem .7rem;border-radius:999px;}

/* ---------- Media placeholder pattern (used until authentic photography is supplied) ---------- */
.media-pattern{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.media-pattern svg{position:absolute;inset:0;width:100%;height:100%;}
.media-pattern-icon{position:relative;z-index:1;width:64px;height:64px;border-radius:50%;background:var(--white);box-shadow:var(--shadow-md);display:flex;align-items:center;justify-content:center;color:var(--green-700);}
.media-pattern--dark .media-pattern-icon{background:rgba(255,255,255,.12);color:var(--white);box-shadow:none;border:1px solid rgba(255,255,255,.25);}

/* Company snapshot logo mark under hero */
.brand-mark-row{display:flex;align-items:center;gap:.6rem;color:var(--gray);font-size:.85rem;font-weight:600;}
.brand-mark-row img{height:22px;width:auto;opacity:.85;}

/* ---------- Real photo panels (fills product/facility/tab media slots) ---------- */
.media-photo{position:relative;width:100%;height:100%;}
.media-photo img{width:100%;height:100%;object-fit:cover;display:block;}
.media-photo .photo-badge{position:absolute;top:.75rem;left:.75rem;width:44px;height:44px;}

/* Feature photo used in split sections (Quality / Impact pages) */
.feature-photo{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-md);}
.feature-photo img{width:100%;height:100%;object-fit:cover;display:block;}


/* ---------- Hero slideshow ---------- */
.hero.has-slideshow{background:var(--green-900);}
.hero-slides{position:absolute;inset:0;z-index:0;overflow:hidden;}
.hero-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1.4s ease;}
.hero-slide.is-active{opacity:1;}
.hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg, rgba(9,30,19,.6), rgba(8,26,16,.88));}
.hero-inner{z-index:2;}
.hero-badge{z-index:2;}
.silo-divider{position:relative;z-index:2;}
@media (prefers-reduced-motion: reduce){.hero-slide{transition:none;}}


/* ---------- Back to top ---------- */
.back-to-top{
  position:fixed;right:1.25rem;bottom:1.25rem;z-index:900;
  width:46px;height:46px;border-radius:50%;background:var(--green-900);color:var(--white);
  display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-lg);
  opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
  border:none;
}
.back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0);}
.back-to-top:hover{background:var(--green-700);}
@media(min-width:1080px){.back-to-top{bottom:1.5rem;right:1.5rem;}}

/* ---------- Top utility bar (contact + social, sits above the sticky header) ---------- */
.topbar{background:var(--green-900);color:#CFE3D3;}
.topbar-inner{display:flex;align-items:center;justify-content:flex-end;gap:1.5rem;height:38px;font-size:.8rem;}
.topbar-contact{display:none;align-items:center;gap:1.25rem;margin-right:auto;}
.topbar-contact a{display:inline-flex;align-items:center;gap:.4rem;color:#CFE3D3;font-weight:600;}
.topbar-contact a:hover{color:var(--white);}
.topbar-social{display:flex;align-items:center;gap:.85rem;}
.topbar-social a{color:#CFE3D3;display:flex;align-items:center;}
.topbar-social a:hover{color:var(--gold);}
@media(min-width:700px){.topbar-contact{display:flex;}}

/* Category tag on insight article cards */
.pill{display:inline-block;background:var(--green-100);color:var(--green-900);font-family:var(--font-head);font-weight:700;font-size:.72rem;letter-spacing:.02em;text-transform:uppercase;padding:.3rem .7rem;border-radius:999px;width:fit-content;}

/* ---------- Client / partner wordmarks (text, not third-party logo artwork) ---------- */
.logo-wordmarks{display:flex;flex-wrap:wrap;justify-content:center;gap:.9rem 1.1rem;margin-top:1.5rem;}
.wordmark{
  display:inline-flex;align-items:center;padding:.85rem 1.5rem;background:var(--white);
  border:1px solid var(--gray-200);border-radius:var(--radius-md);
  font-family:var(--font-head);font-weight:700;color:var(--green-900);font-size:1rem;
  box-shadow:var(--shadow-sm);
}

/* ---------- Team member cards ---------- */
.team-avatar{width:88px;height:88px;border-radius:50%;overflow:hidden;background:var(--green-100);flex-shrink:0;}
.team-avatar img{width:100%;height:100%;object-fit:cover;display:block;}
.team-card{
  background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius-lg);
  padding:1.5rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.4rem;
}
.team-card .team-avatar{margin-bottom:.5rem;}
.team-card h3{font-size:1rem;}
.team-card p{color:var(--gray);font-size:.85rem;}

/* Team grid: centre the last row (e.g. 5 staff = 3 on top, 2 centred below) */
.team-grid{display:flex;flex-wrap:wrap;justify-content:center;}
.team-grid > .team-card{flex:0 0 100%;}
@media(min-width:640px){.team-grid > .team-card{flex-basis:calc((100% - 1.5rem) / 2);}}
@media(min-width:760px){.team-grid > .team-card{flex-basis:calc((100% - 3rem) / 3);}}

/* Larger avatar variant, used for the top Leadership cards */
.team-avatar--lg{width:190px;height:190px;}

/* ---------- Leadership cards: full-width photo header, not a circular avatar ---------- */
.leader-card{
  background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius-lg);
  overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow-sm);
}
.leader-photo{width:100%;height:340px;background:var(--green-100);}
.leader-photo img{width:100%;height:100%;object-fit:cover;display:block;}
.leader-photo--icon{display:flex;align-items:center;justify-content:center;background:var(--green-900);color:var(--white);}
.leader-body{padding:1.5rem;}
.leader-body h3{margin-bottom:.3rem;}
.leader-body p{color:var(--gray);}

/* ---------- Circular client/partner logo badges (real logo images) ---------- */
.logo-badges{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:1.5rem;margin-top:1.5rem;}
.logo-badge{
  width:130px;height:130px;border-radius:50%;background:var(--white);
  box-shadow:var(--shadow-md);display:flex;align-items:center;justify-content:center;
  padding:1.1rem;flex-shrink:0;overflow:hidden;
}
.logo-badge img{width:100%;height:100%;object-fit:contain;display:block;}
.logo-badge--dark{background:#000;padding:0;}
.logo-badge--dark img{object-fit:cover;}
@media(max-width:480px){.logo-badge{width:104px;height:104px;padding:.9rem;}}

/* ---------- Site-wide search ---------- */
.search-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:var(--radius-sm);border:1px solid var(--gray-200);
  background:var(--white);color:var(--green-900);cursor:pointer;transition:background .15s ease,border-color .15s ease;
}
.search-toggle:hover,.search-toggle[aria-expanded="true"]{background:var(--green-100);border-color:var(--green-600);}
.site-search{
  position:absolute;left:0;right:0;top:100%;z-index:1001;
  background:var(--white);border-top:1px solid var(--gray-200);box-shadow:var(--shadow-lg);
  padding:1rem 0 1.25rem;opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .15s ease,transform .15s ease,visibility .15s ease;
}
.site-search.is-open{opacity:1;visibility:visible;transform:translateY(0);}
.site-search-box{
  display:flex;align-items:center;gap:.6rem;max-width:760px;margin:0 auto;
  border:1.5px solid var(--gray-200);border-radius:var(--radius-md);padding:0 .5rem 0 .9rem;background:var(--white);color:var(--gray);
}
.site-search-box:focus-within{border-color:var(--green-600);box-shadow:0 0 0 3px rgba(46,125,50,.15);}
.site-search-box input{
  flex:1;min-width:0;border:none;outline:none;background:transparent;
  padding:.85rem 0;font:inherit;font-size:1rem;color:var(--charcoal);
}
.site-search-box input::-webkit-search-cancel-button{display:none;}
.site-search-close{
  border:none;background:none;font-size:1.6rem;line-height:1;color:var(--gray);
  width:38px;height:38px;border-radius:var(--radius-sm);cursor:pointer;
}
.site-search-close:hover{background:var(--gray-100);color:var(--charcoal);}
.site-search-results{max-width:760px;margin:.6rem auto 0;max-height:min(60vh,460px);overflow-y:auto;}
.site-search-results:empty{display:none;}
.site-search-results li a{
  display:block;padding:.7rem .85rem;border-radius:var(--radius-sm);color:var(--charcoal);text-decoration:none;
}
.site-search-results li a:hover,.site-search-results li a.is-active{background:var(--green-100);}
.ssr-title{display:block;font-family:var(--font-head);font-weight:700;color:var(--green-900);font-size:.95rem;}
.ssr-section{display:inline-block;font-size:.7rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--green-600);margin-bottom:.15rem;}
.ssr-snippet{display:block;font-size:.86rem;color:var(--gray);margin-top:.15rem;line-height:1.45;}
.site-search-results mark{background:#FCE9B6;color:inherit;border-radius:2px;padding:0 1px;}
.ssr-empty{padding:.8rem .85rem;color:var(--gray);font-size:.92rem;}
.search-hit{outline:3px solid #E8AA28;outline-offset:6px;border-radius:4px;transition:outline-color 1.2s ease;}
.search-hit.search-hit-fade{outline-color:transparent;}
.site-search-go{
  border:none;background:var(--green-900);color:var(--white);font-family:var(--font-head);font-weight:700;font-size:.85rem;
  padding:.55rem .9rem;border-radius:var(--radius-sm);cursor:pointer;flex-shrink:0;
}
.site-search-go:hover{background:var(--green-700);}

/* ---------- Contact persons ---------- */
.contact-persons{display:flex;flex-wrap:wrap;justify-content:center;gap:1.25rem;}
.contact-persons > .contact-person{flex:0 1 380px;}
.contact-person{display:flex;gap:1.1rem;align-items:center;background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius-lg);padding:1.25rem 1.5rem;}
.contact-person-avatar{width:72px;height:72px;}
.contact-person h3{font-size:1rem;margin-bottom:.1rem;}
.contact-person-role{color:var(--gray);font-size:.85rem;margin-bottom:.45rem;}
.contact-person a{display:flex;align-items:center;gap:.45rem;color:var(--green-900);font-weight:600;font-size:.92rem;text-decoration:none;padding:.15rem 0;}
.contact-person a svg{color:var(--green-700);flex-shrink:0;}
.contact-person a:hover{color:var(--green-700);text-decoration:underline;}

/* Keep anchored sections clear of the sticky header */
[id]{scroll-margin-top:calc(var(--header-h) + 1.25rem);}

/* second top-bar email only where there is room */
.topbar-contact .tb-email2{display:none;}
@media(min-width:1000px){.topbar-contact .tb-email2{display:inline-flex;}}
