/* ============================================================
   STFM — SEVEN TIGERS FOOD AND MEAT TRADING
   Design System V2 — "The Trading House"
   Executive Design Director · Deloitte Digital
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Manrope:wght@300;400;500;600;700&display=swap');

/* ── TOKENS ────────────────────────────────────────────────── */
:root {
  /* Colour */
  --c-black:       #080808;
  --c-deep:        #111111;
  --c-surface:     #1A1A1A;
  --c-border:      rgba(255,255,255,0.08);
  --c-border-mid:  rgba(255,255,255,0.14);
  --c-brand:       #01A14B;
  --c-brand-deep:  #007A38;
  --c-brand-glow:  rgba(1,161,75,0.18);
  --c-gold:        #C9A84C;
  --c-gold-light:  #E2C97E;
  --c-parchment:   #F7F4EF;
  --c-white:       #FFFFFF;
  --c-ink:         #2A2A2A;
  --c-muted:       rgba(255,255,255,0.45);
  --c-faint:       rgba(255,255,255,0.18);

  /* Type */
  --f-display: 'Playfair Display', Georgia, serif;
  --f-body:    'Manrope', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --nav-h:   88px;
  --max:     1400px;
  --pad:     clamp(20px, 5vw, 88px);
  --gap:     clamp(16px, 2vw, 32px);

  /* Motion */
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --t-fast:  0.28s;
  --t-mid:   0.55s;
  --t-slow:  0.9s;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--f-body); background: var(--c-black); color: var(--c-white); overflow-x: hidden; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ── SCROLL PROGRESS ───────────────────────────────────────── */
.scroll-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--c-brand); z-index: 9999;
  width: 0; transition: width 0.1s linear;
}

/* ── NAVIGATION ────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0;
  height: var(--nav-h); z-index: 1000;
  display: flex; align-items: center;
  transition: background var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease),
              backdrop-filter var(--t-mid) var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.solid {
  background: var(--c-brand);
  border-bottom-color: rgba(0,0,0,0.2);
}

.nav__inner {
  display: flex; align-items: center;
  justify-content: space-between;
  width: 100%; max-width: var(--max);
  margin: 0 auto; padding: 0 var(--pad);
}

/* Logo swap */
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 46px; width: auto; transition: opacity var(--t-fast); }
.nav__logo .logo-white { display: none; }
.nav.solid .logo-color { display: none; }
.nav.solid .logo-white { display: block; }

/* Links */
.nav__links {
  display: flex; align-items: center; gap: 36px;
  margin-left: 48px; margin-right: auto;
}
.nav__links > li > a {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-white); opacity: 0.85;
  transition: opacity var(--t-fast);
  position: relative; padding-bottom: 2px;
}
.nav__links > li > a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--c-white);
  transition: width var(--t-mid) var(--ease);
}
.nav__links > li > a:hover { opacity: 1; }
.nav__links > li > a:hover::after { width: 100%; }

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-trigger {
  display: flex; align-items: center; gap: 5px; cursor: pointer;
}
.nav__dropdown-trigger svg {
  width: 9px; height: 9px; transition: transform var(--t-fast);
  color: rgba(255,255,255,0.7);
}
.nav__dropdown:hover .nav__dropdown-trigger svg { transform: rotate(180deg); }

.nav__dropdown-menu {
  position: absolute; top: 100%; left: 0;
  transform: translateY(-4px);
  background: var(--c-deep);
  border: 1px solid var(--c-border-mid);
  min-width: 260px; padding: 16px 0 8px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
/* Invisible bridge fills the gap between trigger and menu so hover never breaks */
.nav__dropdown-menu::before {
  content: ''; position: absolute;
  top: -20px; left: 0; right: 0; height: 20px;
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}
.nav__dropdown-menu a {
  display: block; padding: 11px 24px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-muted);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.nav__dropdown-menu a:hover { color: var(--c-brand); padding-left: 30px; }

/* Nav CTA */
.nav__actions { display: flex; align-items: center; gap: 14px; }

/* Burger */
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav__burger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--c-white);
  transition: transform var(--t-mid), opacity var(--t-fast);
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.nav__mobile {
  position: fixed; inset: 0 0 0 auto;
  width: min(360px, 100vw); background: var(--c-deep);
  border-left: 1px solid var(--c-border-mid);
  padding: calc(var(--nav-h) + 32px) 40px 40px;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease);
  z-index: 999; overflow-y: auto;
}
.nav__mobile.open { transform: translateX(0); }
.nav__mobile a {
  display: block; padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
  font-family: var(--f-display); font-size: 24px;
  font-weight: 400; color: rgba(255,255,255,0.8);
  transition: color var(--t-fast);
}
.nav__mobile a:hover { color: var(--c-brand); }

.nav__overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 998; opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}
.nav__overlay.show { opacity: 1; pointer-events: auto; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px;
  font-family: var(--f-body); font-size: 11px;
  font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  border: none; border-radius: 0 !important;
  cursor: pointer; white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast),
              transform 0.15s, box-shadow var(--t-fast);
  position: relative; overflow: hidden;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 12px; height: 12px; flex-shrink: 0; }

.btn-primary {
  background: var(--c-brand); color: var(--c-white);
}
.btn-primary:hover { background: var(--c-brand-deep); }

.btn-gold {
  background: var(--c-gold); color: var(--c-black);
}
.btn-gold:hover { background: var(--c-gold-light); }

.btn-ghost {
  background: transparent; color: var(--c-white);
  border: 1px solid rgba(255,255,255,0.35) !important;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7) !important; }

.btn-ghost-brand {
  background: transparent; color: var(--c-brand);
  border: 1px solid var(--c-brand) !important;
}
.btn-ghost-brand:hover { background: var(--c-brand); color: var(--c-white); }

.btn-dark {
  background: rgba(255,255,255,0.08); color: var(--c-white);
  border: 1px solid var(--c-border-mid) !important;
}
.btn-dark:hover { background: rgba(255,255,255,0.14); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative; height: 100svh; min-height: 640px;
  display: flex; align-items: flex-end; overflow: hidden;
  background: var(--c-black);
}

/* Local MP4 video */
.hero__video {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero__video video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  pointer-events: none;
}

/* Multi-layer overlay: dark vignette + brand tint at bottom */
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top,  rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.5) 38%, rgba(8,8,8,0.15) 70%, transparent 100%),
    linear-gradient(to right, rgba(8,8,8,0.55) 0%, transparent 60%);
}

/* 1px rule decorative grid lines */
.hero__grid-line {
  position: absolute; z-index: 2;
  background: rgba(255,255,255,0.04);
}
.hero__grid-line--v { width: 1px; top: 0; bottom: 0; }
.hero__grid-line--v1 { left: calc(var(--pad) + (100% - var(--pad)*2) * 0.33); }
.hero__grid-line--v2 { left: calc(var(--pad) + (100% - var(--pad)*2) * 0.66); }

.hero__content {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--max);
  margin: 0 auto; padding: 0 var(--pad) clamp(52px, 7vh, 100px);
}

.hero__kicker {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
}
.hero__kicker-line { flex-shrink: 0; width: 40px; height: 1px; background: var(--c-gold); }
.hero__kicker span {
  font-size: 10px; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--c-gold);
}

/* The signature typographic split */
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(52px, 8.5vw, 130px);
  line-height: 0.88; letter-spacing: -0.025em;
  color: var(--c-white); margin-bottom: 36px;
}
.hero__title em {
  font-style: italic; font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.6);
}
.hero__title strong { font-weight: 700; font-style: normal; }

.hero__sub {
  max-width: 520px;
  font-size: 14px; font-weight: 400; line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 44px;
}

.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Certification ticker at bottom */
.hero__cert-strip {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 4;
  border-top: 1px solid var(--c-border-mid);
  background: rgba(8,8,8,0.8);
  backdrop-filter: blur(12px);
  overflow: hidden; height: 56px; display: flex; align-items: center;
}
.hero__cert-track {
  display: flex; align-items: center; gap: 0;
  animation: marquee 28s linear infinite;
  white-space: nowrap; will-change: transform;
}
.hero__cert-item {
  display: flex; align-items: center; gap: 12px;
  padding: 0 40px; border-right: 1px solid var(--c-border);
  flex-shrink: 0;
}
.hero__cert-item svg { width: 22px; height: 22px; color: var(--c-brand); flex-shrink: 0; }
.hero__cert-item span {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Scroll cue */
.hero__scroll {
  position: absolute; right: var(--pad); bottom: 72px; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scroll span {
  font-size: 8px; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  writing-mode: vertical-rl;
}
.hero__scroll-dot {
  width: 6px; height: 6px; background: var(--c-brand); border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%       { transform: translateY(8px); opacity: 1; }
}

/* ── MARQUEE STATS ─────────────────────────────────────────── */
.stats-marquee {
  background: var(--c-brand);
  border-bottom: 1px solid var(--c-brand-deep);
  overflow: hidden;
  padding: 0;
}
.stats-marquee__track {
  display: flex; align-items: stretch;
  animation: none; /* static grid, no scroll */
}
.stats-marquee__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}
.stats-marquee__item {
  padding: 40px 0;
  border-right: 1px solid rgba(255,255,255,0.18);
  text-align: center;
  position: relative;
}
.stats-marquee__item:last-child { border-right: none; }
.stats-num {
  font-family: var(--f-display); font-size: clamp(40px, 5vw, 64px);
  font-weight: 700; line-height: 1; color: var(--c-white);
}
.stats-num sup {
  font-family: var(--f-body); font-size: 0.4em;
  font-weight: 700; vertical-align: super;
}
.stats-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.65);
  margin-top: 6px;
}

/* ── SECTION BASE ──────────────────────────────────────────── */
.sec {
  padding: clamp(80px, 10vw, 160px) 0;
}
.container {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
}
.sec-eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
.sec-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--c-brand);
}
.sec-eyebrow span {
  font-size: 10px; font-weight: 700; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--c-brand);
}
.sec-title {
  font-family: var(--f-display);
  font-size: clamp(36px, 4.5vw, 72px);
  font-weight: 400; line-height: 0.96; letter-spacing: -0.02em;
  color: var(--c-white);
}
.sec-title em { font-style: italic; font-weight: 400; }
.sec-title--dark { color: var(--c-black); }
.sec-body {
  font-size: 15px; line-height: 1.8; color: var(--c-muted); max-width: 560px;
}
.sec-body--dark { color: rgba(0,0,0,0.55); }

/* ── ABOUT — SPLIT ─────────────────────────────────────────── */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.about-split__img {
  position: relative; overflow: hidden;
}
.about-split__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.about-split__img:hover img { transform: scale(1.04); }

/* Overlay badge on image */
.about-split__badge {
  position: absolute; bottom: 40px; right: 0; z-index: 2;
  background: var(--c-brand); padding: 24px 32px;
}
.about-split__badge-num {
  font-family: var(--f-display); font-size: 48px;
  font-weight: 700; line-height: 1; color: var(--c-white);
}
.about-split__badge-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

.about-split__content {
  background: var(--c-deep);
  padding: clamp(48px, 7vw, 112px) clamp(40px, 6vw, 96px);
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--c-border);
}

/* Cert badges row */
.cert-badges-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 40px;
}
.cert-badge-pill {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--c-border-mid);
  padding: 10px 16px;
  transition: border-color var(--t-fast), background var(--t-fast);
  cursor: default;
}
.cert-badge-pill:hover {
  border-color: var(--c-brand);
  background: var(--c-brand-glow);
}
.cert-badge-pill svg { width: 24px; height: 24px; flex-shrink: 0; }
.cert-badge-pill__name {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
}

/* ── PRODUCTS — EDITORIAL GRID ─────────────────────────────── */
.products-section { background: var(--c-black); }

.products-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 32px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

/* Tab filters */
.products-tabs {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--c-border-mid);
  overflow-x: auto;
}
.products-tab {
  padding: 12px 24px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-muted); background: transparent; border: none;
  border-right: 1px solid var(--c-border-mid);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  border-radius: 0 !important;
}
.products-tab:last-child { border-right: none; }
.products-tab.active, .products-tab:hover {
  background: var(--c-brand); color: var(--c-white);
}

/* Hero + subordinate grid layout */
.products-panel { display: none; }
.products-panel.active { display: block; }

.panel-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}

/* Big hero card */
.pcard-hero {
  grid-column: 1; grid-row: 1 / 3;
  position: relative; overflow: hidden;
  cursor: pointer; min-height: 540px;
  background: var(--c-surface);
  border-radius: 7px 0 0 7px;
}
.pcard-hero img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
  border-radius: 7px 0 0 7px;
}
.pcard-hero:hover img { transform: scale(1.06); }

.pcard-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
  border-radius: 7px 0 0 7px;
}
.pcard-hero__body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px;
}
.pcard-hero__cert {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-brand); padding: 6px 12px;
  margin-bottom: 16px;
}
.pcard-hero__cert span {
  font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-white);
}
.pcard-hero__title {
  font-family: var(--f-display); font-size: clamp(26px, 3vw, 38px);
  font-weight: 500; line-height: 1.1; color: var(--c-white);
  margin-bottom: 10px;
}
.pcard-hero__desc {
  font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}
.pcard-hero__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-brand);
  transition: gap var(--t-fast);
}
.pcard-hero:hover .pcard-hero__link { gap: 14px; }
.pcard-hero__link svg { width: 14px; height: 14px; }

/* Sub cards */
.pcard-sub {
  grid-column: 2;
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--c-surface); min-height: 265px;
  display: flex; flex-direction: column;
}
.pcard-sub:first-of-type { border-radius: 0 7px 0 0; }
.pcard-sub:last-of-type  { border-radius: 0 0 7px 0; }

.pcard-sub img {
  width: 100%; height: 100%; object-fit: cover; flex: 1;
  transition: transform var(--t-slow) var(--ease);
  border-radius: inherit;
}
.pcard-sub:hover img { transform: scale(1.07); }

.pcard-sub__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  border-radius: inherit;
}
.pcard-sub__body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 28px;
}
.pcard-sub__tag {
  font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-brand); margin-bottom: 6px;
}
.pcard-sub__title {
  font-family: var(--f-display); font-size: 20px; font-weight: 400;
  color: var(--c-white); line-height: 1.15;
}
.pcard-sub__arrow {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.8);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.pcard-sub__arrow svg { width: 14px; height: 14px; color: var(--c-white); }
.pcard-sub:hover .pcard-sub__arrow { opacity: 1; transform: scale(1); }

/* Commodities row — full-width smaller cards */
.panel-grid-commodities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px; margin-top: 2px;
}
.pcard-commodity {
  position: relative; overflow: hidden; cursor: pointer;
  aspect-ratio: 1 / 1; background: var(--c-surface);
  border-radius: 7px;
}
.pcard-commodity img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
  border-radius: 7px;
}
.pcard-commodity:hover img { transform: scale(1.1); }
.pcard-commodity__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  border-radius: 7px;
}
.pcard-commodity__body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px;
}
.pcard-commodity__title {
  font-family: var(--f-display); font-size: 15px;
  font-weight: 400; color: var(--c-white); line-height: 1.2;
}
.pcard-commodity__tag {
  font-size: 8px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--c-brand); margin-bottom: 4px;
}

/* "See all" text link */
.see-all-row {
  display: flex; justify-content: flex-end; margin-top: 28px;
}
.see-all {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  transition: color var(--t-fast), gap var(--t-fast);
}
.see-all:hover { color: var(--c-brand); gap: 14px; }
.see-all svg { width: 14px; height: 14px; }

/* ── GLOBAL REACH ──────────────────────────────────────────── */
.reach { background: var(--c-deep); position: relative; overflow: hidden; }

.reach__heading-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-bottom: 64px; flex-wrap: wrap;
}

.flags-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1px; background: var(--c-border);
}
.flag-cell {
  background: var(--c-deep); padding: 24px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: background var(--t-fast);
  cursor: default;
}
.flag-cell:hover { background: rgba(1,161,75,0.1); }
.flag-cell img {
  width: 52px; height: 34px; object-fit: cover;
  border-radius: 3px; display: block;
}
.flag-cell span {
  font-size: 9px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--c-faint);
  text-align: center; line-height: 1.3;
}

/* ── WHY STFM ──────────────────────────────────────────────── */
.why { background: var(--c-black); }

.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--c-border);
  margin-top: 64px;
}
.why-card {
  background: var(--c-deep); padding: 48px 40px;
  position: relative; overflow: hidden;
  transition: background var(--t-mid) var(--ease);
  cursor: default;
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 2px; height: 0; background: var(--c-brand);
  transition: height var(--t-mid) var(--ease);
}
.why-card:hover { background: var(--c-surface); }
.why-card:hover::before { height: 100%; }

.why-card__icon-wrap {
  width: 52px; height: 52px; border: 1px solid var(--c-border-mid);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.why-card:hover .why-card__icon-wrap {
  border-color: var(--c-brand); background: var(--c-brand-glow);
}
.why-card__icon-wrap svg { width: 24px; height: 24px; color: var(--c-brand); }

.why-card__title {
  font-family: var(--f-display); font-size: 22px; font-weight: 400;
  color: var(--c-white); margin-bottom: 14px; line-height: 1.2;
}
.why-card__text {
  font-size: 13px; line-height: 1.8; color: var(--c-muted);
}

/* ── CERTIFICATIONS ────────────────────────────────────────── */
.certs-section { background: var(--c-parchment); }
.certs-section .sec-eyebrow::before { background: var(--c-brand); }
.certs-section .sec-eyebrow span { color: var(--c-brand); }

.certs-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: rgba(0,0,0,0.1);
  margin-top: 56px;
}
.cert-tile {
  background: var(--c-white); padding: 40px 28px;
  text-align: center; position: relative;
  transition: background var(--t-mid), box-shadow var(--t-mid);
  overflow: hidden;
}
.cert-tile::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--c-brand);
  transform: scaleX(0); transition: transform var(--t-mid) var(--ease);
}
.cert-tile:hover { background: var(--c-parchment); }
.cert-tile:hover::after { transform: scaleX(1); }

.cert-tile__icon {
  width: 72px; height: 72px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.cert-tile__icon svg { width: 72px; height: 72px; }

.cert-tile__name {
  font-family: var(--f-display); font-size: 18px;
  font-weight: 500; color: var(--c-black); margin-bottom: 8px;
}
.cert-tile__desc {
  font-size: 12px; line-height: 1.65;
  color: rgba(0,0,0,0.5); letter-spacing: 0.02em;
}

/* Quality trio */
.quality-trio {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(0,0,0,0.1);
  margin-top: 1px;
}
.quality-cell {
  background: var(--c-white); padding: 36px 32px;
}
.quality-cell__num {
  font-family: var(--f-display); font-size: 48px;
  font-weight: 700; color: var(--c-brand); line-height: 1;
  margin-bottom: 8px;
}
.quality-cell__label {
  font-size: 14px; font-weight: 600; color: var(--c-black);
  margin-bottom: 10px;
}
.quality-cell__text { font-size: 13px; line-height: 1.7; color: rgba(0,0,0,0.5); }

/* ── OFFICES ────────────────────────────────────────────────── */
.offices { background: var(--c-deep); }
.offices-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--c-border); margin-top: 56px;
}
.office-card {
  background: var(--c-surface); padding: 40px 32px;
  border-top: 2px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.office-card:hover { border-top-color: var(--c-brand); background: var(--c-deep); }
.office-card__region {
  font-size: 9px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--c-brand); margin-bottom: 16px;
}
.office-card__city {
  font-family: var(--f-display); font-size: 26px; font-weight: 400;
  color: var(--c-white); margin-bottom: 20px; line-height: 1.1;
}
.office-card address {
  font-style: normal; font-size: 13px;
  line-height: 1.8; color: var(--c-muted);
}
.office-card address a { transition: color var(--t-fast); }
.office-card address a:hover { color: var(--c-brand); }

/* ── DOWNLOADS ─────────────────────────────────────────────── */
.downloads {
  background: var(--c-black);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.downloads__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.downloads__text .sec-title { font-size: clamp(30px, 3.5vw, 52px); }

.download-cards { display: flex; gap: 16px; flex-wrap: wrap; }
.download-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border-mid);
  padding: 24px 28px; min-width: 220px;
  display: flex; align-items: center; gap: 16px;
  transition: border-color var(--t-fast), background var(--t-fast);
  cursor: pointer;
}
.download-card:hover { border-color: var(--c-brand); background: var(--c-brand-glow); }
.download-card__icon {
  width: 44px; height: 44px; background: var(--c-brand);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.download-card__icon svg { width: 20px; height: 20px; color: var(--c-white); }
.download-card__label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 4px;
}
.download-card__name {
  font-size: 14px; font-weight: 600; color: var(--c-white);
}

/* ── INQUIRY FORM ──────────────────────────────────────────── */
.inquiry { background: var(--c-deep); }
.inquiry__grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 80px; align-items: start;
}
.inquiry__left .sec-body { margin-top: 20px; }

.inquiry__contacts {
  margin-top: 40px; display: flex; flex-direction: column; gap: 20px;
}
.contact-line {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; border: 1px solid var(--c-border);
  transition: border-color var(--t-fast);
}
.contact-line:hover { border-color: var(--c-brand); }
.contact-line__icon {
  width: 44px; height: 44px; background: var(--c-brand-glow);
  border: 1px solid var(--c-brand); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-line__icon svg { width: 18px; height: 18px; color: var(--c-brand); }
.contact-line__label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--c-brand); margin-bottom: 2px;
}
.contact-line__value { font-size: 14px; font-weight: 500; color: var(--c-white); }

/* Form */
.stfm-form {
  background: var(--c-surface);
  border: 1px solid var(--c-border-mid);
  padding: 48px;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgroup { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fgroup label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
}
.fgroup label .req { color: var(--c-brand); }
.fgroup input, .fgroup select, .fgroup textarea {
  width: 100%; padding: 13px 16px;
  background: var(--c-deep); border: 1px solid var(--c-border-mid);
  border-radius: 0 !important; color: var(--c-white);
  font-size: 14px; outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.fgroup input:focus, .fgroup select:focus, .fgroup textarea:focus {
  border-color: var(--c-brand); background: rgba(1,161,75,0.05);
}
.fgroup input.err, .fgroup select.err, .fgroup textarea.err {
  border-color: #e05260;
}
.fgroup textarea { min-height: 96px; resize: vertical; }
.fgroup select option { background: var(--c-deep); }

/* Phone row */
.phone-row { display: flex; }
.phone-row select { width: 120px; border-right: none; flex-shrink: 0; }
.phone-row input { flex: 1; }

/* Checkboxes */
.cb-section-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin-bottom: 10px; display: block;
}
.cb-section-label .req { color: var(--c-brand); }
.cb-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.cb-label {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; user-select: none;
}
.cb-label input[type="checkbox"] {
  width: 15px; height: 15px; flex-shrink: 0;
  appearance: none; -webkit-appearance: none;
  background: var(--c-deep); border: 1px solid var(--c-border-mid);
  border-radius: 0 !important; cursor: pointer; position: relative;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.cb-label input[type="checkbox"]:checked {
  background: var(--c-brand); border-color: var(--c-brand);
}
.cb-label input[type="checkbox"]:checked::after {
  content: ''; position: absolute; top: 2px; left: 5px;
  width: 4px; height: 7px; border: 1.5px solid white;
  border-top: none; border-left: none; transform: rotate(45deg);
}
.cb-label span { font-size: 12px; color: var(--c-muted); line-height: 1.3; }
.cb-err { font-size: 11px; color: #e05260; display: none; margin-top: -8px; margin-bottom: 8px; }

/* Consent */
.consent-block {
  background: rgba(1,161,75,0.05);
  border: 1px solid rgba(1,161,75,0.2);
  padding: 16px; margin-bottom: 20px;
}
.consent-block label {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
}
.consent-block input[type="checkbox"] {
  width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px;
  appearance: none; -webkit-appearance: none;
  background: var(--c-deep); border: 1px solid var(--c-border-mid);
  border-radius: 0 !important; position: relative; cursor: pointer;
  transition: background var(--t-fast);
}
.consent-block input[type="checkbox"]:checked {
  background: var(--c-brand); border-color: var(--c-brand);
}
.consent-block input[type="checkbox"]:checked::after {
  content: ''; position: absolute; top: 2px; left: 5px;
  width: 4px; height: 7px; border: 1.5px solid white;
  border-top: none; border-left: none; transform: rotate(45deg);
}
.consent-text { font-size: 13px; font-weight: 600; color: var(--c-white); }
.consent-sub { font-size: 11px; color: var(--c-muted); line-height: 1.6; margin-top: 4px; }

.form-success {
  display: none; padding: 20px;
  background: rgba(1,161,75,0.1); border: 1px solid var(--c-brand);
  margin-top: 12px; text-align: center;
}
.form-success p { font-size: 14px; color: var(--c-brand); font-weight: 600; }

/* ── CALENDAR ──────────────────────────────────────────────── */
.calendar-section { background: var(--c-black); }
.calendar-wrap {
  background: #ffffff;
  border: 1px solid var(--c-border-mid);
  padding: 0;
}
.calendar-wrap iframe {
  display: block;
  background: #ffffff;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer { background: var(--c-black); padding-top: 80px; }
.footer__top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 56px; padding-bottom: 60px;
  border-bottom: 1px solid var(--c-border);
}
.footer__brand img { height: 44px; margin-bottom: 24px; }
.footer__brand p { font-size: 13px; line-height: 1.8; color: var(--c-muted); max-width: 270px; }
.footer__brand-ctas { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.footer__col-title {
  font-size: 9px; font-weight: 700; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--c-brand); margin-bottom: 24px;
}
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul a {
  font-size: 13px; color: var(--c-muted);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.footer__col ul a:hover { color: var(--c-white); padding-left: 6px; }

.office-mini { margin-bottom: 24px; }
.office-mini__region {
  font-size: 9px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--c-brand); margin-bottom: 6px;
}
.office-mini address {
  font-style: normal; font-size: 12px;
  line-height: 1.75; color: var(--c-muted);
}

.footer__bottom {
  padding: 24px 0; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer__bottom p { font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 0.04em; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a {
  font-size: 11px; color: rgba(255,255,255,0.25);
  transition: color var(--t-fast); letter-spacing: 0.04em;
}
.footer__legal a:hover { color: var(--c-white); }

/* ── WHATSAPP FLOAT ────────────────────────────────────────── */
.wa-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 56px; height: 56px; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0 !important;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.wa-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(37,211,102,0.5); }
.wa-btn svg { width: 26px; height: 26px; color: white; }

/* ── ANIMATIONS ────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .flags-grid { grid-template-columns: repeat(6, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .certs-grid { grid-template-columns: repeat(3, 1fr); }
  .offices-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .about-split { grid-template-columns: 1fr; }
  .about-split__img { min-height: 380px; }
  .panel-grid { grid-template-columns: 1fr; }
  .pcard-hero { grid-column: 1; grid-row: 1; min-height: 380px; border-radius: 7px; }
  .pcard-sub { grid-column: 1; border-radius: 7px; }
  .inquiry__grid { grid-template-columns: 1fr; gap: 48px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .panel-grid-commodities { grid-template-columns: repeat(3, 1fr); }
  .downloads__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .flags-grid { grid-template-columns: repeat(4, 1fr); }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .quality-trio { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stfm-form { padding: 28px 20px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .cb-grid-2 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .stats-marquee__inner { grid-template-columns: repeat(2, 1fr); }
  .panel-grid-commodities { grid-template-columns: repeat(2, 1fr); }
  .products-tabs { flex-wrap: wrap; border: none; gap: 4px; }
  .products-tab { border: 1px solid var(--c-border-mid); border-right: 1px solid var(--c-border-mid) !important; }
  .products-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .flags-grid { grid-template-columns: repeat(3, 1fr); }
  .certs-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}
