/* =====================================================================
   NILE DELTA FOODS — Design System v1
   Palette derived from the NDF logo (green #3E7F3A / gold #FFC000).
   Every colour on the page comes from the tokens below, so the whole
   site re-themes from one place (Elementor → Site Settings → Global Colors).
   ===================================================================== */

:root {
  /* Brand */
  --ndf-green: #3E7F3A;       /* logo green — structure, links, icons   */
  --ndf-green-deep: #1F4F26;  /* headings on light, dark surfaces        */
  --ndf-gold: #FFC000;        /* logo gold — the ONE bold accent (CTAs)  */
  --ndf-gold-ink: #9A6B00;    /* gold that passes contrast as text       */

  /* Grounds & surfaces */
  --bg: #F3F6F1;              /* frost — slight green bias, not grey     */
  --surface: #FFFFFF;
  --surface-2: #E9EFE6;
  --ice: #DCEBEA;             /* cold-chain tint                          */
  --sand: #F3ECDA;            /* legumes / herbs warmth                   */
  --dark: #0E2418;            /* deep delta green ground                  */
  --dark-2: #163523;

  /* Text */
  --ink: #10261B;
  --ink-2: #3A4C40;
  --muted: #6B7A6E;
  --on-dark: #EEF3EC;
  --on-dark-muted: #A9BBAD;

  /* Lines */
  --line: #D6DFD3;
  --line-dark: #2A4634;

  /* Type */
  --font-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  /* Scale */
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.185rem;
  --step-2: 1.4rem;
  --step-3: 1.75rem;
  --step-4: 2.3rem;
  --step-5: clamp(2.6rem, 5.2vw, 4.4rem);

  --radius: 6px;
  --radius-lg: 14px;
  --gutter: clamp(16px, 5vw, 72px);
  --section: clamp(64px, 9vw, 128px);
  --max: 1240px;
  --shadow: 0 18px 50px -24px rgba(16, 38, 27, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1B13;
    --surface: #132A1D;
    --surface-2: #1A3325;
    --ice: #163531;
    --sand: #2B2A1E;
    --dark: #07120C;
    --dark-2: #0E2418;
    --ink: #EAF1E8;
    --ink-2: #C9D6CB;
    --muted: #97A99B;
    --on-dark: #EEF3EC;
    --on-dark-muted: #A9BBAD;
    --line: #27412F;
    --line-dark: #1D3527;
    --ndf-green: #6FB56A;
    --ndf-green-deep: #A9DBA2;
    --ndf-gold-ink: #FFD04D;
    --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7);
  }
}
:root[data-theme="dark"] {
  --bg: #0C1B13;
  --surface: #132A1D;
  --surface-2: #1A3325;
  --ice: #163531;
  --sand: #2B2A1E;
  --dark: #07120C;
  --dark-2: #0E2418;
  --ink: #EAF1E8;
  --ink-2: #C9D6CB;
  --muted: #97A99B;
  --on-dark: #EEF3EC;
  --on-dark-muted: #A9BBAD;
  --line: #27412F;
  --line-dark: #1D3527;
  --ndf-green: #6FB56A;
  --ndf-green-deep: #A9DBA2;
  --ndf-gold-ink: #FFD04D;
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ndf-green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ndf-gold); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: var(--step-5); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: var(--step-2); font-weight: 700; }
h4 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
.lede { font-size: var(--step-1); color: var(--ink-2); max-width: 62ch; }
.measure { max-width: 62ch; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ndf-green);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--ndf-gold); }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.num { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--ndf-gold); color: #1A1A00; border-color: var(--ndf-gold); }
.btn-gold:hover { background: #FFCB2E; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ndf-green); color: var(--ndf-green); }
.btn-outline-light { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,0.35); }
.btn-outline-light:hover { border-color: var(--ndf-gold); color: var(--ndf-gold); }
.btn-green { background: var(--ndf-green); color: #fff; border-color: var(--ndf-green); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none !important; }
.brand img { height: 34px; width: auto; }
.brand .mark-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .mark-light { display: none; }
  :root:not([data-theme="light"]) .brand .mark-dark { display: block; }
}
:root[data-theme="dark"] .brand .mark-light { display: none; }
:root[data-theme="dark"] .brand .mark-dark { display: block; }
.brand .brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; }
.brand .brand-name small { display: block; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.22em; color: var(--ndf-gold-ink); margin-top: 4px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--ndf-green); text-decoration: none; }
.nav .btn { padding: 11px 18px; font-size: 0.92rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 88px); }
.hero-copy { display: grid; gap: 22px; }
.hero h1 span { color: var(--ndf-green); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }
.hero-visual { position: relative; }
.hero-visual .frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--dark); }
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.ledger {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.chip {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em;
  background: rgba(14, 36, 24, 0.82); color: var(--on-dark);
  border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; padding: 7px 12px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.chip b { color: var(--ndf-gold); font-weight: 600; }
.season-card {
  position: absolute; top: -14px; right: -10px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow);
  display: grid; gap: 4px; min-width: 190px;
}
.season-card .k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.season-card .v { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.season-card .v em { font-style: normal; color: var(--ndf-green); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .season-card { position: static; margin-top: 14px; min-width: 0; }
}

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 18px 18px 18px 0; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item + .trust-item { padding-left: 18px; }
.trust-item svg { width: 34px; height: 34px; flex: none; color: var(--ndf-green); }
.trust-item .t { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; line-height: 1.1; }
.trust-item .s { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 900px) {
  .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(3) { padding-left: 0; }
}
@media (max-width: 480px) {
  .trust .wrap { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; }
  .trust-item:last-child { border-bottom: 0; }
}

/* ---------- Category rail ---------- */
.rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--dark); color: var(--on-dark); text-decoration: none !important; display: block; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-card:hover img { transform: scale(1.04); }
.cat-card .label { position: absolute; inset: auto 0 0 0; padding: 20px; background: linear-gradient(to top, rgba(8,20,13,0.92), rgba(8,20,13,0)); display: grid; gap: 4px; }
.cat-card .label b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: #fff; }
.cat-card .label span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--ndf-gold); }
@media (max-width: 900px) { .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- About ---------- */
.about .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-visual { position: relative; }
.about-visual .main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.about-visual .main img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .inset { position: absolute; right: -8px; bottom: -28px; width: 42%; border-radius: var(--radius); overflow: hidden; border: 6px solid var(--bg); aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.about-visual .inset img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { display: grid; gap: 22px; }
.about-copy p { color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.fact { border-top: 2px solid var(--ndf-green); padding-top: 12px; display: grid; gap: 4px; }
.fact b { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.fact span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 900px) {
  .about .wrap { grid-template-columns: 1fr; }
  .about-visual { margin-bottom: 32px; }
}

/* ---------- Stats band ---------- */
.stats { background: var(--dark); color: var(--on-dark); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.stat { padding: clamp(28px, 4vw, 48px) 24px; border-left: 1px solid var(--line-dark); display: grid; gap: 6px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .n { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 800; color: var(--ndf-gold); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .n small { font-size: 0.45em; font-weight: 600; margin-left: 4px; color: var(--on-dark); }
.stat .l { font-size: 0.95rem; color: var(--on-dark-muted); }
@media (max-width: 900px) {
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(odd) { padding-left: 0; }
}
@media (max-width: 520px) {
  .stat .n { font-size: 2.1rem; }
  .stat .n small { display: block; margin-left: 0; margin-top: 4px; white-space: nowrap; }
}

/* ---------- Products ---------- */
.products { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.tab {
  background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px;
  padding: 14px 18px; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--muted);
}
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ndf-gold); }
.tab:hover { color: var(--ndf-green); }
.tab .count { font-family: var(--font-mono); font-size: 0.7rem; margin-left: 6px; color: var(--ndf-green); }
.panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.panel-visual { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); position: sticky; top: 96px; }
.panel-visual img { width: 100%; height: 100%; object-fit: cover; }
.panel-copy { display: grid; gap: 22px; }
.panel-copy p { color: var(--ink-2); }
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.prod { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: grid; gap: 3px; }
.prod b { font-weight: 600; font-size: 0.95rem; }
.prod span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.prod.flag { border-color: var(--ndf-gold); background: color-mix(in srgb, var(--ndf-gold) 10%, var(--bg)); }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.spec { border-left: 2px solid var(--ndf-green); padding-left: 12px; display: grid; gap: 4px; }
.spec .k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.spec .v { font-size: 0.92rem; }
@media (max-width: 900px) {
  .panel { grid-template-columns: 1fr; }
  .panel-visual { position: static; aspect-ratio: 16 / 10; }
  .specs { grid-template-columns: 1fr; }
}

/* ---------- Process ---------- */
.process { background: var(--ice); }
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: var(--ndf-green); opacity: 0.35; }
.step { position: relative; padding: 0 18px 0 0; display: grid; gap: 10px; align-content: start; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--ndf-green); color: var(--ndf-green);
  position: relative; z-index: 1;
}
.step h4 { font-size: 1.05rem; }
.step p { font-size: 0.9rem; color: var(--ink-2); }
.step .m { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ndf-green); letter-spacing: 0.06em; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Quality ---------- */
.quality .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.quality-copy { display: grid; gap: 22px; }
.quality-copy p { color: var(--ink-2); }
.certs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cert { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; }
.cert .badge { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ndf-green) 14%, var(--surface)); color: var(--ndf-green); }
.cert .badge svg { width: 24px; height: 24px; }
.cert b { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.cert span { font-size: 0.85rem; color: var(--muted); }
.cert.soon { border-style: dashed; }
.cert.soon .badge { background: var(--surface-2); color: var(--muted); }
.tolerances { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tol { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 2px; }
.tol .n { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--ndf-green-deep); font-variant-numeric: tabular-nums; }
.tol .l { font-size: 0.82rem; color: var(--muted); }
.docs { display: flex; flex-wrap: wrap; gap: 8px; }
.docs span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--ink-2); background: var(--surface); }
.quality-visual { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); position: sticky; top: 96px; }
.quality-visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .quality .wrap { grid-template-columns: 1fr; } .quality-visual { position: static; aspect-ratio: 16 / 10; } .tolerances { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 520px) { .certs, .tolerances { grid-template-columns: 1fr; } }

/* ---------- Calendar ---------- */
.calendar { background: var(--sand); }
.cal-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
table.cal { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 0.88rem; }
table.cal th, table.cal td { padding: 0; height: 40px; border-bottom: 1px solid var(--line); }
table.cal th { font-family: var(--font-mono); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; height: 44px; }
table.cal th:first-child, table.cal td:first-child { text-align: left; padding-left: 18px; width: 200px; position: sticky; left: 0; background: var(--surface); }
table.cal td:first-child b { font-weight: 600; }
table.cal td:first-child span { display: block; font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted); letter-spacing: 0.06em; }
table.cal td.m { width: calc((100% - 200px) / 12); border-left: 1px solid var(--line); }
table.cal td.m i { display: block; height: 16px; margin: 12px 2px; border-radius: 3px; }
table.cal td.on i { background: var(--ndf-green); }
table.cal td.peak i { background: var(--ndf-gold); }
table.cal td.now { background: color-mix(in srgb, var(--ndf-gold) 12%, transparent); }
table.cal tr:last-child td { border-bottom: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; font-size: 0.85rem; color: var(--ink-2); }
.legend i { display: inline-block; width: 22px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; }
.legend .g i { background: var(--ndf-green); } .legend .y i { background: var(--ndf-gold); }

/* ---------- Markets ---------- */
.markets .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.market { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 14px; }
.market .flag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--ndf-green); text-transform: uppercase; }
.market h3 { font-size: 1.4rem; }
.market dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 0.9rem; }
.market dt { color: var(--muted); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 3px; }
.market dd { margin: 0; color: var(--ink-2); }
.logistics { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.log { border-top: 2px solid var(--ndf-gold); padding-top: 12px; display: grid; gap: 4px; }
.log b { font-family: var(--font-display); font-weight: 700; }
.log span { font-size: 0.88rem; color: var(--ink-2); }
@media (max-width: 900px) { .markets .grid { grid-template-columns: 1fr; } .logistics { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ---------- CTA band ---------- */
.cta { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,192,0,0.22), transparent); pointer-events: none; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; position: relative; }
.cta h2 { color: #fff; }
.cta p { color: var(--on-dark-muted); max-width: 56ch; margin-top: 12px; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) { .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- Contact / RFQ ---------- */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-info p { color: var(--ink-2); }
.info-list { display: grid; gap: 14px; }
.info { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.info svg { width: 22px; height: 22px; color: var(--ndf-green); margin-top: 2px; }
.info b { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.info a, .info span { color: var(--ink); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ndf-green); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ndf-green) 20%, transparent); }
.field textarea { min-height: 120px; resize: vertical; }
.form .fine { font-size: 0.8rem; color: var(--muted); }
.form-status { font-size: 0.9rem; color: var(--ndf-green); font-weight: 600; }
@media (max-width: 900px) { .contact .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 56px 32px; }
.site-footer img { width: 160px; }
.site-footer h4 { color: #fff; font-size: 0.8rem; font-family: var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--ndf-gold); }
.site-footer p { font-size: 0.9rem; max-width: 34ch; margin-top: 16px; }
.site-footer .bottom { border-top: 1px solid var(--line-dark); }
.site-footer .bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 18px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.js .reveal:not(.in) { opacity: 0.001; transform: translateY(14px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .js .reveal:not(.in) { opacity: 1; transform: none; transition: none; }
  .cat-card img { transition: none; }
}
