/* ==========================================================================
   Lyambai DMCC — website styles
   ========================================================================== */

:root {
  --forest-900: #0A2A20;
  --forest-800: #0E3B2E;
  --forest-700: #145040;
  --green-600: #1F8A3B;
  --lime: #5CCB3C;          /* brand green from the Lyambai logo */
  --lime-hover: #78DA5B;
  --gold: #C8922E;
  --gold-soft: #F4E7C8;
  --terracotta: #A4452C;
  --sand: #F5F0E4;
  --cream: #FBF9F4;
  --ink: #13211B;
  --muted: #56665D;
  --line: #E4DDCD;
  --white: #FFFFFF;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -14px rgba(10, 42, 32, .28);
  --shadow-lg: 0 30px 60px -28px rgba(10, 42, 32, .45);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
ul { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.005em;
  color: var(--forest-900);
  margin: 0 0 .55em;
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; font-variation-settings: "opsz" 36; }
h4 { font-size: 1.05rem; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--forest-900); }

.icon { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--forest-900); padding: 10px 18px; border-radius: 8px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(76px, 9vw, 124px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--forest-900); color: #C9D8CF; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--tight { padding-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--lime); }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.65; color: var(--muted); }
.section--dark .lead { color: #A9BDB2; }

.section-head { max-width: 740px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow::after { content: ""; width: 30px; height: 2px; background: currentColor; }
.section-head--split {
  max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end;
}
.section-head--split h2, .section-head--split .lead { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.65em; border-radius: 999px; border: 2px solid transparent;
  font: 700 .95rem/1.2 var(--font-body); letter-spacing: .01em; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--lime); color: var(--forest-900); }
.btn--primary:hover { background: var(--lime-hover); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(92, 203, 60, .7); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--forest-900); }
.btn--dark { background: var(--forest-800); color: var(--white); }
.btn--dark:hover { background: var(--forest-700); transform: translateY(-2px); }
.btn--outline { border-color: var(--forest-800); color: var(--forest-800); }
.btn--outline:hover { background: var(--forest-800); color: var(--white); }
.btn--sm { padding: .7em 1.25em; font-size: .9rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--green-600);
  text-decoration: none;
}
.text-link .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white);
  transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 26, 19, .55), rgba(6, 26, 19, 0));
  transition: opacity .3s ease;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(255, 255, 255, .97); color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(0, 0, 0, .35);
}
.site-header.is-scrolled::before, .site-header.is-open::before { opacity: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .3s ease; }
.site-header.is-scrolled .header-inner { height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark { width: 40px; height: 40px; }
.brand-mark .l-dark { fill: currentColor; }
.brand-mark .l-green { fill: var(--lime); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; letter-spacing: -.01em; }
.brand-tag { font-size: .62rem; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; opacity: .72; margin-top: 6px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative; padding: .55em .95em; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none; opacity: .92;
  transition: background-color .2s ease, opacity .2s ease;
}
.nav a:not(.btn):hover { opacity: 1; background: rgba(255, 255, 255, .14); }
.site-header.is-scrolled .nav a:not(.btn):hover { background: var(--sand); }
.nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .95em; right: .95em; bottom: .2em; height: 2px; border-radius: 2px; background: var(--lime);
}
.nav .btn { margin-left: 12px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 12px;
  background: transparent; color: inherit; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 20px 26px; background: var(--white); color: var(--ink);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .35); border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: .9em 1em; border-radius: 10px; font-size: 1.05rem; }
  .nav a:not(.btn):hover, .site-header.is-scrolled .nav a:not(.btn):hover { background: var(--sand); }
  .nav a[aria-current="page"] { background: var(--sand); color: var(--forest-800); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 14px 0 0; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; display: flex; align-items: center;
  min-height: min(100vh, 940px); padding: calc(var(--header-h) + 64px) 0 170px;
  color: var(--white);
  background: var(--forest-900) url("../img/hero-granules.jpg") right center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(7, 30, 22, .9) 0%, rgba(7, 30, 22, .7) 40%, rgba(7, 30, 22, .25) 100%),
    linear-gradient(180deg, rgba(7, 30, 22, .55) 0%, rgba(7, 30, 22, 0) 30%),
    linear-gradient(0deg, rgba(7, 30, 22, .6) 0%, rgba(7, 30, 22, 0) 35%);
}
.hero-inner { max-width: 1200px; }
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: .45em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--lime); }
.hero .lead { color: rgba(255, 255, 255, .84); max-width: 580px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: .5em 1.1em .5em .8em; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(92, 203, 60, .25); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Stats strip ---------- */
.stats { position: relative; z-index: 2; margin-top: -96px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 34px 30px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-value {
  font-family: var(--font-head); font-size: clamp(2.2rem, 3.4vw, 2.9rem); font-weight: 600; line-height: 1;
  color: var(--forest-800); letter-spacing: -.02em;
}
.stat-value span { color: var(--lime); }
.stat-label { margin-top: 12px; font-size: .93rem; line-height: 1.45; color: var(--muted); }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 6vw, 96px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.split-media::before {
  content: ""; position: absolute; inset: 28px -18px -18px 28px; z-index: -1;
  border-radius: var(--radius-lg); background: var(--gold-soft);
}
.media-badge {
  position: absolute; right: -22px; bottom: 34px; max-width: 250px;
  padding: 22px 24px; border-radius: 18px; background: var(--forest-800); color: var(--white);
  box-shadow: var(--shadow-lg);
}
.media-badge strong { display: block; font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.media-badge span { display: block; margin-top: 6px; font-size: .88rem; color: #A9C7B6; }
.split--reverse .media-badge { right: auto; left: -22px; }
.media-badge .icon { width: 28px; height: 28px; color: var(--lime); margin-bottom: 12px; }

.checklist { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .tick {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px;
  border-radius: 50%; background: rgba(92, 203, 60, .18); color: var(--green-600);
}
.checklist .tick .icon { width: 15px; height: 15px; stroke-width: 3; }
.section--dark .checklist .tick { color: var(--lime); }

/* ---------- Product category cards ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  display: flex; flex-direction: column; padding: 32px 28px 30px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  color: inherit; text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card h3 { margin-bottom: .4em; }
.cat-card p { color: var(--muted); font-size: .97rem; }
.cat-card .chips { margin-top: auto; }
.cat-card .text-link { margin-top: 24px; }

.element {
  position: relative; display: grid; place-items: center; flex: none;
  width: 76px; height: 76px; margin-bottom: 26px; border-radius: 16px;
  font-family: var(--font-head); font-size: 2.1rem; font-weight: 600; color: var(--white);
  background: linear-gradient(145deg, var(--green-600), var(--forest-700));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
}
.element small { position: absolute; top: 7px; left: 9px; font: 800 .62rem/1 var(--font-body); opacity: .75; }
.element--p { background: linear-gradient(145deg, #D9A441, #A8731C); }
.element--k { background: linear-gradient(145deg, #C2603F, var(--terracotta)); }
.element--npk { background: linear-gradient(145deg, var(--lime), #2E9C35); color: var(--forest-900); font-size: 1.45rem; }
.element--lg { width: 96px; height: 96px; font-size: 2.7rem; border-radius: 20px; }
.element--lg.element--npk { font-size: 1.8rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: .38em .85em; border-radius: 999px; background: var(--sand);
  font-size: .8rem; font-weight: 700; color: var(--forest-800);
}

/* ---------- Steps (dark) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 56px; }
.step { position: relative; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .16); }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 52px; height: 3px; border-radius: 3px; background: var(--lime); }
.step-num { font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: .12em; color: var(--lime); }
.step h3 { margin: 14px 0 10px; font-size: 1.3rem; }
.step p { margin: 0; font-size: .98rem; color: #A9BDB2; }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  padding: 34px 30px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px;
  border-radius: 14px; background: var(--gold-soft); color: var(--forest-800);
}
.feature-icon .icon { width: 26px; height: 26px; stroke-width: 1.8; }
.feature h3 { font-size: 1.25rem; margin-bottom: .45em; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }
.features--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Trade network ---------- */
.network { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.network-col {
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
}
.network-col h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.network-col h3 .icon { width: 26px; height: 26px; color: var(--green-600); }
.partner-list { list-style: none; padding: 0; display: grid; }
.partner-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.partner-list li:first-child { border-top: 0; padding-top: 0; }
.partner-list strong { display: block; font-weight: 700; color: var(--forest-900); }
.partner-list span { display: block; margin-top: 3px; font-size: .92rem; color: var(--muted); }
.partner-list .tag {
  display: inline-block; margin-top: 8px; padding: .25em .7em; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--gold-soft); color: #7A5413;
}

/* ---------- Supply-chain flow diagram ---------- */
.flow {
  display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; align-items: center; gap: 0;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.flow-col { display: grid; gap: 12px; }
.flow-label {
  font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 2px;
}
.flow-node {
  padding: 16px 18px; border-radius: 14px; background: var(--sand); border: 1px solid var(--line);
  font-weight: 700; color: var(--forest-900); line-height: 1.35;
}
.flow-node span { display: block; margin-top: 3px; font-size: .84rem; font-weight: 500; color: var(--muted); }
.flow-node--hub {
  padding: 26px 24px; background: var(--forest-800); border-color: var(--forest-800); color: var(--white);
  box-shadow: var(--shadow-lg);
}
.flow-node--hub .hub-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; }
.flow-node--hub .brand-mark { width: 34px; height: 34px; color: var(--white); }
.flow-node--hub > span { color: #A9C7B6; }
.flow-node--hub ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: .9rem; font-weight: 500; color: #D6E4DC; }
.flow-node--hub li { display: flex; gap: 10px; align-items: flex-start; }
.flow-node--hub li .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--lime); stroke-width: 3; }
.flow-arrow {
  position: relative; display: grid; justify-items: center; gap: 8px; width: 150px; padding: 0 10px;
  text-align: center; font-size: .78rem; font-weight: 700; color: var(--green-600); line-height: 1.35;
}
.flow-arrow::before {
  content: ""; display: block; width: 100%; height: 2px; order: 2;
  background: repeating-linear-gradient(90deg, var(--green-600) 0 8px, transparent 8px 14px);
}
.flow-arrow .icon { order: 3; width: 22px; height: 22px; margin-top: -19px; justify-self: end; color: var(--green-600); stroke-width: 2.4; }
.flow-goods {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-top: 32px;
  padding: 18px 22px; border-radius: 14px; border: 2px dashed rgba(200, 146, 46, .55); background: #FCF6E8;
  font-size: .95rem; color: #5E4313;
}
.flow-goods .icon { width: 30px; height: 30px; color: var(--gold); }
.flow-goods strong { color: #4A330B; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; padding: clamp(90px, 10vw, 130px) 0; color: var(--white);
  background: var(--forest-900) url("../img/harvest-field.jpg") center 60% / cover no-repeat;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 30, 22, .94) 0%, rgba(7, 30, 22, .72) 55%, rgba(7, 30, 22, .35) 100%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px 64px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); max-width: 18ch; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 540px; color: rgba(255, 255, 255, .8); font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; padding: calc(var(--header-h) + 96px) 0 100px; color: var(--white);
  background: var(--forest-900) center / cover no-repeat;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(7, 30, 22, .95) 0%, rgba(7, 30, 22, .78) 50%, rgba(7, 30, 22, .4) 100%);
}
.page-hero h1 { color: var(--white); max-width: 17ch; font-size: clamp(2.4rem, 4.8vw, 3.8rem); }
.page-hero .lead { color: rgba(255, 255, 255, .82); max-width: 620px; margin: 0; }
.breadcrumb { display: flex; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; font-size: .85rem; color: rgba(255, 255, 255, .65); }
.breadcrumb a { text-decoration: none; color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }

/* ---------- About: journey ---------- */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.journey-item {
  position: relative; padding: 36px 30px 32px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
}
.journey-when {
  display: inline-block; margin-bottom: 18px; padding: .35em .9em; border-radius: 999px;
  background: var(--forest-800); color: var(--white); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.journey-item:last-child .journey-when { background: var(--lime); color: var(--forest-900); }
.journey-item h3 { font-size: 1.3rem; }
.journey-item p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- About: corporate info ---------- */
.info-table {
  display: grid; grid-template-columns: repeat(2, 1fr); margin: 0;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line);
}
.info-row { padding: 24px 28px; border-bottom: 1px solid var(--line); }
.info-row:nth-child(odd) { border-right: 1px solid var(--line); }
.info-row:nth-last-child(-n+2) { border-bottom: 0; }
.info-row dt { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.info-row dd { margin: 6px 0 0; font-size: 1.05rem; font-weight: 700; color: var(--forest-900); line-height: 1.45; }

/* ---------- Products page ---------- */
.subnav {
  position: sticky; top: 70px; z-index: 20;
  background: rgba(251, 249, 244, .94); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.subnav-inner { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: .55em 1.1em; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  font-size: .9rem; font-weight: 700; text-decoration: none; color: var(--forest-800);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.subnav a:hover { background: var(--forest-800); border-color: var(--forest-800); color: var(--white); }
.subnav a b { font-family: var(--font-head); font-weight: 600; color: var(--green-600); }
.subnav a:hover b { color: var(--lime); }

.cat-section { display: grid; grid-template-columns: 330px 1fr; gap: clamp(36px, 5vw, 72px); padding: clamp(64px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.cat-section:first-of-type { border-top: 0; }
.cat-intro { align-self: start; position: sticky; top: 150px; }
.cat-intro h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.cat-intro p { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.product {
  display: flex; flex-direction: column; padding: 28px 26px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.product-type { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); }
.product h3 { margin: 8px 0 4px; font-size: 1.45rem; }
.product-formula { font-size: .9rem; font-weight: 600; color: var(--muted); }
.product-grade {
  display: flex; align-items: baseline; gap: 10px; margin: 20px 0 16px; padding: 14px 16px; border-radius: 12px; background: var(--sand);
}
.product-grade b { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--forest-800); letter-spacing: -.01em; white-space: nowrap; }
.product-grade small { font-size: .78rem; font-weight: 700; color: var(--muted); }
.product-grade sub { font-size: .6em; line-height: 0; vertical-align: -.2em; }
.product p { margin: 0; font-size: .96rem; color: var(--muted); }
.product--cta {
  justify-content: center; background: var(--forest-800); border-color: var(--forest-800); color: #C9D8CF;
}
.product--cta h3 { color: var(--white); }
.product--cta p { color: #A9C7B6; margin-bottom: 22px; }
.product--cta .btn { align-self: flex-start; }

.spec-note {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 8px; padding: 18px 22px; border-radius: 14px;
  background: var(--sand); color: var(--muted); font-size: .92rem;
}
.spec-note .icon { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.spec-note p { margin: 0; }

/* ---------- How we work: detailed steps ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: proc; }
.process li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding-bottom: 34px; }
.process li::before {
  counter-increment: proc; content: counter(proc, decimal-leading-zero);
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--lime); color: var(--forest-800);
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; position: relative; z-index: 1;
}
.process li::after { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: var(--line); }
.process li:last-child { padding-bottom: 0; }
.process li:last-child::after { display: none; }
.process h3 { margin: 14px 0 6px; font-size: 1.3rem; }
.process p { margin: 0; color: var(--muted); }

.ddu-card {
  padding: clamp(30px, 4vw, 46px); border-radius: var(--radius-lg); background: var(--forest-800); color: #C9D8CF;
  box-shadow: var(--shadow-lg);
}
.ddu-card h3 { color: var(--white); font-size: 1.6rem; }
.ddu-card .abbr { display: block; margin-bottom: 6px; font-family: var(--font-head); font-size: 3.6rem; font-weight: 600; line-height: 1; color: var(--lime); }
.ddu-card .checklist { margin-bottom: 0; }
.ddu-card .checklist .tick { background: rgba(92, 203, 60, .2); color: var(--lime); }

.risk-note {
  margin-top: 32px; padding: 24px 26px; border-left: 4px solid var(--gold); border-radius: 0 14px 14px 0; background: var(--white);
}
.risk-note strong { display: block; margin-bottom: 4px; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--forest-900); }
.risk-note p { margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 4vw, 56px); align-items: stretch; }
.contact-cards { display: grid; gap: 14px; margin-top: 28px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--line);
}
.contact-card .feature-icon { flex: none; width: 48px; height: 48px; margin: 0; border-radius: 12px; }
.contact-card .feature-icon .icon { width: 22px; height: 22px; }
.contact-card h3 { margin: 0 0 4px; font-family: var(--font-body); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card p, .contact-card a { margin: 0; font-weight: 700; color: var(--forest-900); text-decoration: none; line-height: 1.5; }
.contact-card a:hover { color: var(--green-600); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.map-wrap { position: relative; min-height: 440px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sand); box-shadow: var(--shadow); }
.map-wrap iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }

/* ---------- 404 ---------- */
.error-page { min-height: 100vh; padding-bottom: 120px; }
.error-code { display: block; font-family: var(--font-head); font-size: clamp(5rem, 14vw, 9rem); font-weight: 600; line-height: .9; color: var(--lime); margin-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-900); color: #9FB5A9; font-size: .95rem; padding-top: 84px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.5fr; gap: 48px; }
.footer-brand .brand { color: var(--white); margin-bottom: 22px; }
.footer-brand p { max-width: 340px; }
.footer-legal { font-size: .84rem; color: #7E978A; }
.site-footer h4 { margin-bottom: 18px; font-family: var(--font-body); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--white); }
.footer-links { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; transition: color .2s ease; }
.footer-links a:hover { color: var(--lime); }
.footer-contact { list-style: none; padding: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--lime); }
.footer-contact a { text-decoration: none; color: #D6E4DC; }
.footer-contact a:hover { color: var(--lime); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap;
  margin-top: 64px; padding: 26px 0 30px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #7E978A;
}
.footer-bottom p { margin: 0; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards-4, .features--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; gap: 6px; }
  .flow-arrow { width: auto; padding: 14px 0; grid-auto-flow: row; }
  .flow-arrow::before { width: 2px; height: 36px; order: 0; background: repeating-linear-gradient(180deg, var(--green-600) 0 8px, transparent 8px 14px); }
  .flow-arrow .icon { order: 1; margin-top: -12px; justify-self: center; transform: rotate(90deg); }
  .flow-arrow span { order: 2; }
  .flow-arrow br { display: none; }
  .flow-goods { margin-top: 22px; }
}

@media (max-width: 900px) {
  .split, .contact-grid, .network, .section-head--split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media { max-width: 560px; }
  .split-media img { aspect-ratio: 4 / 3; }
  .media-badge { right: 16px; bottom: 16px; }
  .split--reverse .media-badge { left: auto; right: 16px; }
  .features, .journey { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cat-section { grid-template-columns: 1fr; }
  .cat-intro { position: static; }
  .info-table { grid-template-columns: 1fr; }
  .info-row:nth-child(odd) { border-right: 0; }
  .info-row:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { width: calc(100% - 32px); }
  .hero { padding-bottom: 140px; min-height: 0; background-position: 78% center; }
  .hero::before { background: linear-gradient(180deg, rgba(7, 30, 22, .82) 0%, rgba(7, 30, 22, .72) 60%, rgba(7, 30, 22, .88) 100%); }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .cards-4, .features, .features--4, .steps, .journey, .footer-grid { grid-template-columns: 1fr; }
  .stat { padding: 24px 20px; }
  .split-media::before { inset: 16px -10px -10px 16px; }
  .brand-name { font-size: 1.4rem; }
  .brand-mark { width: 36px; height: 36px; }
  .page-hero { padding: calc(var(--header-h) + 64px) 0 72px; }
  .map-wrap { min-height: 360px; }
  .subnav { top: 70px; }
}
