/* ==========================================================================
   EverFlowGoods — Wholesale Catalog
   Design system: "Cargo Manifest" — a wholesale/logistics-inspired language
   of crate labels, dashed borders, SKU stamps and monospace data, built on
   the brand's forest green + gold identity.
   ========================================================================== */

:root {
  /* Brand colors */
  --c-green-dark: #0F4A32;
  --c-green: #1B6B4A;
  --c-green-mid: #227D58;
  --c-green-tint: #EAF2EC;
  --c-gold: #C9971F;
  --c-gold-light: #E8C468;
  --c-gold-tint: #FBF3DF;

  /* Neutrals */
  --c-ink: #13221B;
  --c-ink-soft: #45564D;
  --c-paper: #FCFCFA;
  --c-surface: #F3F6F3;
  --c-border: #DDE5DD;
  --c-white: #FFFFFF;

  /* Type */
  --f-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --f-body: 'Inter', 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Scale */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(15, 74, 50, 0.08);
  --shadow-md: 0 8px 28px rgba(15, 74, 50, 0.12);
  --shadow-lg: 0 20px 48px rgba(15, 74, 50, 0.18);
  --container: 1280px;
  --nav-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
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; }
input, textarea, select { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

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

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

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--c-gold);
  display: inline-block;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--surface { background: var(--c-surface); }
.section--dark {
  background: linear-gradient(135deg, var(--c-green-dark), var(--c-green-mid));
  color: var(--c-paper);
}
.section--dark .eyebrow { color: var(--c-gold-light); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 10px; }
.section-head p { margin-top: 14px; color: var(--c-ink-soft); font-size: 1.05rem; }
.section--dark .section-head p { color: rgba(252,252,250,0.82); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--c-gold);
  color: var(--c-green-dark);
  box-shadow: var(--shadow-sm);
}
.btn--gold:hover { background: var(--c-gold-light); box-shadow: var(--shadow-md); }

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn--outline:hover { background: rgba(255,255,255,0.08); }

.section:not(.section--dark) .btn--outline { border-color: var(--c-green); color: var(--c-green); }
.section:not(.section--dark) .btn--outline:hover { background: var(--c-green-tint); }

.btn--ghost {
  background: var(--c-green-tint);
  color: var(--c-green-dark);
}
.btn--ghost:hover { background: var(--c-green); color: var(--c-paper); }

.btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(252, 252, 250, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow .3s var(--ease);
}
.nav.is-scrolled { box-shadow: var(--shadow-sm); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--c-ink-soft);
  transition: color .2s, background .2s;
  position: relative;
}
.nav-links a:hover { color: var(--c-green-dark); background: var(--c-green-tint); }
.nav-links a.is-active { color: var(--c-green-dark); }
.nav-links a.is-active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--c-gold);
  border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 40px; height: 40px;
  position: relative;
  flex-shrink: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); background: var(--c-ink); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); background: var(--c-ink); }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--c-paper);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 2px;
    border-bottom: 1px solid var(--c-border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; }
  .nav-toggle { display: block; }
  .nav-actions .btn span.btn-label-long { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--c-green-dark) 0%, var(--c-green) 55%, var(--c-green-mid) 100%);
  color: var(--c-paper);
  padding: 72px 0 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(252,252,250,0.035) 0, rgba(252,252,250,0.035) 2px, transparent 2px, transparent 34px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 60px;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  margin-top: 18px;
  max-width: 15ch;
}
.hero-copy p {
  margin-top: 20px;
  font-size: 1.12rem;
  color: rgba(252,252,250,0.85);
  max-width: 46ch;
}
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-manifest {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px dashed rgba(232, 196, 104, 0.5);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-manifest div {
  padding: 18px 16px;
  border-right: 1px dashed rgba(232, 196, 104, 0.35);
}
.hero-manifest div:last-child { border-right: none; }
.hero-manifest strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--c-gold-light);
}
.hero-manifest span {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(252,252,250,0.7);
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.hero-visual .crate-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-lg);
  transform: translateY(0);
  transition: transform .4s var(--ease);
}
.hero-visual .crate-card:hover { transform: translateY(-6px); }
.hero-visual .crate-card:nth-child(2) { margin-top: 28px; }
.hero-visual .crate-card:nth-child(3) { margin-top: -28px; }

.hero-bottom-edge {
  height: 46px;
  background: var(--c-paper);
  border-radius: 46px 46px 0 0;
  margin-top: -1px;
}

/* ---------- Marquee strip ---------- */
.strip {
  background: var(--c-ink);
  color: var(--c-paper);
  overflow: hidden;
  padding: 14px 0;
}
.strip-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scroll-left 26s linear infinite;
}
.strip-track span {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gold-light);
  white-space: nowrap;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Cards: category ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-green-dark);
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .cat-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(to top, rgba(15,74,50,0.85) 0%, transparent 55%);
}
.cat-card .cat-code {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--c-gold-light);
}
.cat-card h3 { color: var(--c-paper); font-size: 1.25rem; margin-top: 4px; }
.cat-card p { color: rgba(252,252,250,0.78); font-size: 0.88rem; margin-top: 6px; }

/* ---------- Cards: product ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  opacity: 0;
  transform: translateY(16px);
  animation: card-in .5s var(--ease) forwards;
}
@keyframes card-in { to { opacity: 1; transform: translateY(0); } }
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-gold);
}
.product-card .thumb { position: relative; aspect-ratio: 1; background: var(--c-green-tint); overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .sku-tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  background: var(--c-gold);
  color: var(--c-green-dark);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
}
.product-card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .cat-label {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-green);
  font-weight: 700;
}
.product-card h3 { font-size: 1.02rem; font-weight: 600; font-family: var(--f-body); letter-spacing: 0; line-height: 1.35; }
.product-card .desc { font-size: 0.87rem; color: var(--c-ink-soft); flex: 1; }
.product-card .meta-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px dashed var(--c-border);
  font-size: 0.78rem;
}
.product-card .meta-row .moq { color: var(--c-ink-soft); }
.product-card .meta-row .moq strong { color: var(--c-ink); font-family: var(--f-mono); }
.product-card .view-link {
  font-weight: 700; color: var(--c-green);
  display: inline-flex; align-items: center; gap: 4px;
}
.product-card .view-link svg { width: 14px; height: 14px; transition: transform .2s; }
.product-card:hover .view-link svg { transform: translateX(3px); }

/* ---------- Filters / search ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding: 18px 20px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
}
.search-box {
  position: relative;
  flex: 1 1 260px;
  min-width: 220px;
}
.search-box input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  background: var(--c-surface);
  transition: border-color .2s, background .2s;
}
.search-box input:focus { border-color: var(--c-green); background: var(--c-white); outline: none; }
.search-box svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--c-ink-soft);
}
.chip-group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--c-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-ink-soft);
  background: var(--c-white);
  transition: all .2s;
}
.chip:hover { border-color: var(--c-green); color: var(--c-green-dark); }
.chip.is-active { background: var(--c-green); border-color: var(--c-green); color: var(--c-white); }

.results-meta {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--c-ink-soft);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--c-ink-soft);
  grid-column: 1 / -1;
}
.empty-state strong { display: block; font-family: var(--f-display); font-size: 1.2rem; color: var(--c-ink); margin-bottom: 8px; }

/* ---------- About / stats ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split-copy p + p { margin-top: 14px; }
.split-copy h2 { margin-top: 10px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.stat-card {
  padding: 24px 20px;
  border-radius: var(--radius-md);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  text-align: left;
}
.stat-card strong {
  font-family: var(--f-display);
  font-size: 2.1rem;
  color: var(--c-green-dark);
  display: block;
}
.stat-card span { font-size: 0.85rem; color: var(--c-ink-soft); }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.timeline-item {
  padding: 22px 20px;
  border-left: 3px solid var(--c-gold);
  background: var(--c-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.timeline-item .step-code { font-family: var(--f-mono); font-size: 0.75rem; color: var(--c-gold); font-weight: 700; }
.timeline-item h4 { margin-top: 8px; font-size: 1.05rem; }
.timeline-item p { margin-top: 8px; font-size: 0.88rem; color: var(--c-ink-soft); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  transition: transform .3s var(--ease), border-color .3s;
}
.value-card:hover { transform: translateY(-4px); border-color: var(--c-gold); }
.value-card .icon-badge {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--c-green-tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--c-green);
}
.value-card h4 { font-size: 1.05rem; }
.value-card p { margin-top: 8px; font-size: 0.9rem; color: var(--c-ink-soft); }

/* ---------- Product detail ---------- */
.breadcrumb {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--c-ink-soft);
  padding: 22px 0;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--c-green); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding-bottom: 40px;
}
.pdp-gallery { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.pdp-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-green-tint);
  aspect-ratio: 1;
  box-shadow: var(--shadow-md);
  position: relative;
}
.pdp-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-gallery-main .sku-tag {
  position: absolute; top: 18px; left: 18px;
  font-family: var(--f-mono); font-weight: 700; font-size: 0.75rem;
  background: var(--c-gold); color: var(--c-green-dark);
  padding: 6px 12px; border-radius: 5px;
}
.pdp-thumbs { display: flex; gap: 10px; margin-top: 14px; }
.pdp-thumbs button {
  width: 68px; height: 68px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--c-border);
  padding: 0;
  background: var(--c-green-tint);
  transition: border-color .2s;
}
.pdp-thumbs button.is-active { border-color: var(--c-gold); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info .cat-label {
  font-family: var(--f-mono); font-size: 0.75rem; text-transform: uppercase;
  color: var(--c-green); font-weight: 700; letter-spacing: 0.06em;
}
.pdp-info h1 { margin-top: 10px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.pdp-info .short-desc { margin-top: 12px; color: var(--c-ink-soft); font-size: 1.02rem; }
.pdp-moq-strip {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 24px; padding: 18px 20px;
  background: var(--c-surface);
  border: 1px dashed var(--c-border);
  border-radius: var(--radius-md);
}
.pdp-moq-strip div strong { display: block; font-family: var(--f-mono); font-size: 1.05rem; color: var(--c-green-dark); }
.pdp-moq-strip div span { font-size: 0.75rem; color: var(--c-ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }
.pdp-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.pdp-tabs { margin-top: 44px; }
.tab-headers { display: flex; gap: 4px; border-bottom: 1px solid var(--c-border); }
.tab-headers button {
  background: none; border: none;
  padding: 12px 20px;
  font-weight: 600; font-size: 0.92rem;
  color: var(--c-ink-soft);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
.tab-headers button.is-active { color: var(--c-green-dark); border-color: var(--c-gold); }
.tab-panel { padding: 26px 0; display: none; }
.tab-panel.is-active { display: block; animation: fade-in .35s var(--ease); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--c-border); }
.spec-table td { padding: 13px 4px; font-size: 0.92rem; }
.spec-table td:first-child { color: var(--c-ink-soft); width: 42%; font-family: var(--f-mono); font-size: 0.82rem; }
.spec-table td:last-child { font-weight: 600; }

.related-heading { margin-top: 64px; margin-bottom: 24px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.contact-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.contact-card .icon-badge {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 9px;
  background: var(--c-green-tint);
  color: var(--c-green);
  display: flex; align-items: center; justify-content: center;
}
.contact-card h4 { font-size: 0.95rem; }
.contact-card p, .contact-card a { font-size: 0.92rem; color: var(--c-ink-soft); margin-top: 4px; display: block; }
.contact-card a:hover { color: var(--c-green); }

.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-green-tint);
  color: var(--c-green);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, transform .2s;
}
.social-row a:hover { background: var(--c-green); color: var(--c-white); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; }

.form-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--c-surface);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-green); background: var(--c-white); outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--c-ink-soft); margin-top: 14px; }
.form-success {
  display: none;
  align-items: center; gap: 12px;
  padding: 16px 18px;
  background: var(--c-green-tint);
  border: 1px solid var(--c-green);
  border-radius: var(--radius-sm);
  color: var(--c-green-dark);
  font-weight: 600;
  margin-top: 18px;
}
.form-success.is-visible { display: flex; animation: fade-in .3s var(--ease); }

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-border);
  aspect-ratio: 16/9;
  position: relative;
}
.map-placeholder {
  width: 100%; height: 100%;
  background:
    linear-gradient(var(--c-surface), var(--c-surface)),
    repeating-linear-gradient(0deg, transparent, transparent 39px, var(--c-border) 39px, var(--c-border) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, var(--c-border) 39px, var(--c-border) 40px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--c-ink-soft);
}
.map-placeholder svg { width: 36px; height: 36px; color: var(--c-green); }
.map-placeholder strong { color: var(--c-ink); font-family: var(--f-display); }

/* ---------- FAQ / accordion (contact) ---------- */
.faq-list { max-width: 760px; border-top: 1px solid var(--c-border); }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item button {
  width: 100%;
  background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 4px;
  font-weight: 600; font-size: 0.98rem;
  text-align: left;
}
.faq-item button svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .3s var(--ease); color: var(--c-green); }
.faq-item.is-open button svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-answer p { padding: 0 4px 20px; color: var(--c-ink-soft); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--c-green-dark), var(--c-green));
  color: var(--c-paper);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(252,252,250,0.04) 0, rgba(252,252,250,0.04) 2px, transparent 2px, transparent 30px);
}
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: 20ch; position: relative; }
.cta-band p { margin-top: 10px; color: rgba(252,252,250,0.82); position: relative; }
.cta-band .cta-actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  background: var(--c-ink);
  color: rgba(252,252,250,0.75);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(252,252,250,0.12);
}
.footer-brand img { height: 32px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; max-width: 32ch; color: rgba(252,252,250,0.6); }
.footer-col h5 {
  font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--c-gold-light); margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 0.9rem; transition: color .2s; }
.footer-col a:hover { color: var(--c-gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 0.82rem; flex-wrap: wrap; gap: 10px;
  color: rgba(252,252,250,0.5);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(252,252,250,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.footer-social a:hover { background: var(--c-gold); color: var(--c-green-dark); }
.footer-social svg { width: 16px; height: 16px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--c-green-dark); color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 90;
  border: none;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Page loader ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--c-green-dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s var(--ease), visibility .5s;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; }
.page-loader .loader-mark {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.page-loader img { height: 40px; animation: pulse-fade 1.4s ease-in-out infinite; filter: brightness(0) invert(1); }
.page-loader .loader-bar {
  width: 160px; height: 2px; background: rgba(252,252,250,0.2); border-radius: 2px; overflow: hidden;
}
.page-loader .loader-bar::after {
  content: ''; display: block; width: 40%; height: 100%; background: var(--c-gold);
  animation: loader-sweep 1.1s ease-in-out infinite;
}
@keyframes pulse-fade { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes loader-sweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--c-green-dark), var(--c-green-mid));
  color: var(--c-paper);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(252,252,250,0.035) 0, rgba(252,252,250,0.035) 2px, transparent 2px, transparent 34px);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-top: 12px; }
.page-hero p { margin-top: 12px; color: rgba(252,252,250,0.82); max-width: 56ch; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-manifest { grid-template-columns: repeat(2, 1fr); }
  .hero-manifest div:nth-child(2) { border-right: none; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .pdp-grid { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .cat-grid, .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-grid, .timeline, .value-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-manifest { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .cat-grid, .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Legal / Policy pages ---------- */
.legal-content {
  max-width: 780px;
  color: var(--c-ink-soft);
  line-height: 1.75;
}
.legal-content .updated-note {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--c-gold);
  background: var(--c-green-tint);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.legal-content h2 {
  font-family: var(--f-display);
  color: var(--c-ink);
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--c-border);
}
.legal-content h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul { margin: 0 0 16px 0; padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--c-green); text-decoration: underline; text-underline-offset: 3px; }
.legal-content strong { color: var(--c-ink); }
.legal-toc {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 36px;
  max-width: 780px;
}
.legal-toc h3 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-ink-soft); margin-bottom: 10px; }
.legal-toc ol { padding-left: 20px; margin: 0; columns: 2; column-gap: 24px; }
.legal-toc li { margin-bottom: 6px; font-size: 0.92rem; }
.legal-toc a { color: var(--c-ink); text-decoration: none; }
.legal-toc a:hover { color: var(--c-green); }
@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
}
