/* ==========================================================================
   QLD IMPORT EXPORT PTY LTD — CORPORATE DESIGN SYSTEM
   Australian Agribusiness International B2B Trading Portal
   Theme: Luminous Australian Agribusiness & Maritime Authority
   ========================================================================== */

:root {
  /* Brand Core: Maritime Navy & Deep Authority */
  --navy-950: #050c14;
  --navy-900: #081320;
  --navy-800: #0b192c;
  --navy-700: #142840;
  --navy-600: #1e3e62;
  --navy-500: #2d5684;

  /* Harvest Gold / Australian Sun (Grain, Pulses, Prestige) */
  --gold-600: #a87922;
  --gold-500: #c99632;
  --gold-400: #dfb15b;
  --gold-300: #f4d160;
  --gold-100: #fef8eb;
  --gold-soft: rgba(201, 150, 50, 0.12);
  --gold-glow: rgba(201, 150, 50, 0.28);
  --gold-ink: #1e1303;

  /* Clean Luminous Surfaces (Light Corporate Theme) */
  --bg-page: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-alt: #fcfdfe;
  --surface-warm: #fefdfa;

  /* Agricultural Emerald Accents (Phytosanitary & Organic Integrity) */
  --emerald-800: #0a3d24;
  --emerald-700: #0f5132;
  --emerald-600: #198754;
  --emerald-100: #e8f5e9;

  /* Ink & Typography */
  --ink-900: #09131f;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-muted: #64748b;
  --ink-light: #94a3b8;
  --ink-inverted: #ffffff;

  /* Borders & Dividers */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(201, 150, 50, 0.35);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(11, 25, 44, 0.04), 0 1px 1px rgba(11, 25, 44, 0.02);
  --shadow-md: 0 4px 16px -2px rgba(11, 25, 44, 0.06), 0 2px 6px -1px rgba(11, 25, 44, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(11, 25, 44, 0.08), 0 4px 12px -2px rgba(11, 25, 44, 0.04);
  --shadow-xl: 0 24px 60px -12px rgba(11, 25, 44, 0.14), 0 8px 20px -4px rgba(11, 25, 44, 0.06);
  --shadow-gold: 0 10px 28px -6px rgba(201, 150, 50, 0.42);

  /* Typography Stacks */
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Radius & Curves */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;

  /* Layout */
  --gutter: max(1.5rem, (100vw - 1280px) / 2);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-page);
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--ink-700);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-900);
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

p {
  margin: 0;
}

figure {
  margin: 0;
}

.wrap {
  width: min(1280px, 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.h2 {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--navy-900);
  line-height: 1.12;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--gold-500);
  color: #ffffff;
}

/* Scroll progress indicator */
.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 100;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

@supports (animation-timeline: scroll()) {
  .progress {
    animation: grow linear both;
    animation-timeline: scroll(root);
  }
  @keyframes grow {
    to { transform: scaleX(1); }
  }
}

/* ==========================================================================
   Buttons & Interactive Pills
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  white-space: nowrap;
  cursor: pointer;
  padding: 0.85rem 1.6rem;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  transition: all 0.28s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn .ph {
  font-size: 1.15em;
  transition: transform 0.28s var(--ease);
}

.btn:hover .ph-arrow-right {
  transform: translateX(4px);
}

/* Primary Harvest Gold Button */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-400), #f3c76d);
  box-shadow: 0 14px 34px -6px rgba(201, 150, 50, 0.55);
  transform: translateY(-2px);
  color: var(--navy-950);
}

/* Secondary Maritime Navy Button */
.btn-navy {
  background: var(--navy-800);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--navy-700);
}

.btn-navy:hover {
  background: var(--navy-700);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* White / Luminous Glass Button */
.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Outline Crisp Button */
.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border: 1.5px solid var(--border-medium);
}

.btn-outline:hover {
  border-color: var(--gold-500);
  background: var(--gold-100);
  color: var(--navy-900);
}

.btn-sm {
  padding: 0.65rem 1.15rem;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
  padding-block: 1rem;
}

/* ==========================================================================
   Top Corporate Bar
   ========================================================================== */
.topbar {
  background-color: var(--navy-950);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0;
  position: relative;
  z-index: 60;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar-item a {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s;
}

.topbar-item a:hover {
  color: var(--gold-400);
}

a[href^="mailto:"], a[href^="tel:"] { white-space: nowrap; }

.topbar-item .ph {
  color: var(--gold-400);
  font-size: 0.95rem;
}

.topbar-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.topbar-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.35rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.74rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.topbar-lang a {
  color: rgba(255, 255, 255, 0.65);
  padding: 0.2rem 0.5rem;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: all 0.2s var(--ease);
  line-height: 1;
}

.topbar-lang a:hover {
  color: #ffffff;
}

.topbar-lang a.active {
  color: var(--navy-950);
  background: var(--gold-400);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.topbar-lang-sep {
  opacity: 0.3;
  font-size: 0.7rem;
}

/* ==========================================================================
   Sticky Main Navigation
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: height 0.3s, background-color 0.3s, box-shadow 0.3s;
  height: 80px;
  display: flex;
  align-items: center;
}

.scrolled .nav {
  height: 68px;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-frame {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--gold-400), var(--navy-800));
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.12);
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand-logo-frame {
  transform: rotate(-6deg) scale(1.05);
}

.brand-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  object-fit: cover;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.1;
  color: var(--navy-900);
  display: flex;
  flex-direction: column;
}

.brand-text small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--gold-600);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links > a:not(.btn) {
  position: relative;
  padding: 0.55rem 0.95rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink-700);
  transition: color 0.25s;
}

.nav-links > a:not(.btn):hover {
  color: var(--navy-900);
}

.nav-links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.1rem;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav-links > a:not(.btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links .btn {
  margin-left: 0.8rem;
}

.menu-toggle, .menu-btn {
  display: none;
}

@media (max-width: 960px) {
  .menu-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--border-medium);
    font-size: 1.4rem;
    cursor: pointer;
    background: #ffffff;
    color: var(--navy-900);
  }
  .menu-toggle {
    display: block;
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
  }
  .nav-links {
    position: fixed;
    inset: 0 0 auto;
    padding: 6.5rem 1.5rem 2rem;
    z-index: -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #ffffff;
    border-bottom: 2px solid var(--gold-500);
    box-shadow: var(--shadow-xl);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.45s var(--ease);
  }
  .nav-links > a:not(.btn) {
    padding: 1rem 0.5rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 1.15rem;
    font-weight: 700;
  }
  .nav-links .btn {
    margin: 1.5rem 0 0;
  }
  .menu-toggle:checked ~ .nav-links {
    clip-path: inset(0 0 0 0);
  }
}

/* ==========================================================================
   High-Impact Executive Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 85% 20%, #1e3e62 0%, var(--navy-800) 50%, var(--navy-900) 100%);
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(4rem, 7vw, 6.5rem);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.18;
  mix-blend-mode: luminosity;
  background-image: url("img/wheat-hd.jpg");
  background-size: cover;
  background-position: center 35%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(8, 19, 32, 0.94) 0%, rgba(11, 25, 44, 0.82) 55%, rgba(30, 62, 98, 0.65) 100%),
    radial-gradient(circle at 15% 90%, rgba(201, 150, 50, 0.15), transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  padding: 0.45rem 1rem;
  border-radius: var(--r-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
}

.hero-badge .flag-icon {
  font-size: 1.1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: #ffffff;
  margin-bottom: 1.4rem;
}

.hero-title .gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
  margin-bottom: 2.2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

/* Hero Key Indicators / Live Counter Row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  width: 100%;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  line-height: 1;
  color: var(--gold-400);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.hero-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
}

/* Hero Floating Trade Summary Card */
.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-xl);
  padding: 2.2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
  position: relative;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(25, 135, 84, 0.25);
  color: #34d399;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.hero-card-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.hero-card-item .ph {
  font-size: 1.25rem;
  color: var(--gold-400);
  margin-top: 2px;
  flex-shrink: 0;
}

.hero-card-item strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
}

.hero-card-item span {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero-card-ports {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.port-pill {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Marquee / Trade Standards Ticker
   ========================================================================== */
.ticker {
  background-color: #ffffff;
  border-block: 1px solid var(--border-light);
  padding: 1.1rem 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 40s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.ticker li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-right: 2.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy-800);
  white-space: nowrap;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--gold-100);
  color: var(--gold-600);
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
  border: 1px solid var(--border-gold);
}

.ticker-star {
  color: var(--gold-500);
  font-size: 0.85rem;
}

@keyframes tickerScroll {
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   About & Australian Advantage Section
   ========================================================================== */
.about {
  background-color: var(--bg-page);
}

.about-header {
  max-width: 800px;
  margin-bottom: 3.5rem;
}

.statement {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  margin-top: 0.8rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.about-img-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.about-img-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.about-img-frame:hover img {
  transform: scale(1.04);
}

.about-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(8, 19, 32, 0.88);
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  max-width: 85%;
}

.about-img-badge p {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.about-copy p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-700);
}

.advantage-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.advantage-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
}

.advantage-card .ph {
  font-size: 1.5rem;
  color: var(--gold-500);
  margin-bottom: 0.5rem;
}

.advantage-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--navy-900);
}

.advantage-card p {
  font-size: 0.84rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* ==========================================================================
   Product Showcase with Category Tabs
   ========================================================================== */
.products-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
}

.products-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

.products-head .eyebrow {
  margin-bottom: 0.6rem;
}

.products-head .h2 {
  max-width: 22ch;
  margin-bottom: 1rem;
}

.products-head p.subtitle {
  font-size: 1.1rem;
  color: var(--ink-600);
  max-width: 60ch;
}

/* Category Filter Bar */
.filter-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.4rem;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--r-full);
  margin-bottom: 3.5rem;
}

.filter-btn {
  background: transparent;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-600);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.filter-btn:hover {
  color: var(--navy-900);
}

.filter-btn.active {
  background: var(--navy-800);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.15);
}

/* Product Card Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-xl);
}

.product-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product-card:hover .product-media img {
  transform: scale(1.08);
}

.product-pattern {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
}

.product-pattern .ph {
  font-size: 6rem;
  color: var(--gold-400);
  opacity: 0.8;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-pattern .ph {
  transform: rotate(-10deg) scale(1.1);
}

.product-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-full);
  background: rgba(8, 19, 32, 0.85);
  color: var(--gold-300);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.product-origin-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.product-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.6rem;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--ink-600);
  line-height: 1.55;
  margin-bottom: 1.3rem;
  flex-grow: 1;
}

/* Micro Spec Badges */
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border-light);
}

.spec-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--navy-800);
  border: 1px solid var(--border-light);
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-actions .btn {
  flex: 1;
  font-size: 0.86rem;
  padding: 0.7rem 0.9rem;
}

/* ==========================================================================
   Laboratory-Grade Technical Specification Matrix
   ========================================================================== */
.quality-section {
  background-color: var(--bg-page);
  border-top: 1px solid var(--border-light);
}

.quality-header {
  text-align: center;
  max-width: 750px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.tabs-container {
  max-width: 1040px;
  margin-inline: auto;
}

.spec-tabs {
  position: relative;
}

.spec-tabs > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.spec-tab-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.4rem;
  border-radius: var(--r-full);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.spec-tab-nav label {
  padding: 0.75rem 1.6rem;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-600);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.spec-tab-nav label:hover {
  color: var(--navy-900);
}

#tab-lup:checked ~ .spec-tab-nav [for="tab-lup"],
#tab-wht:checked ~ .spec-tab-nav [for="tab-wht"],
#tab-mung:checked ~ .spec-tab-nav [for="tab-mung"],
#tab-prot:checked ~ .spec-tab-nav [for="tab-prot"] {
  background: var(--navy-800);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.2);
}

.spec-panel {
  display: none;
  animation: fadeIn 0.45s var(--ease);
}

#tab-lup:checked ~ .panel-lup,
#tab-wht:checked ~ .panel-wht,
#tab-mung:checked ~ .panel-mung,
#tab-prot:checked ~ .panel-prot {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Technical Metric Tiles */
.spec-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.spec-tile {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.spec-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  opacity: 0;
  transition: opacity 0.3s;
}

.spec-tile:hover {
  transform: translateY(-5px);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-lg);
}

.spec-tile:hover::before {
  opacity: 1;
}

.spec-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  line-height: 1;
  color: var(--navy-900);
  letter-spacing: -0.04em;
  margin-bottom: 0.6rem;
}

.spec-num small {
  font-size: 0.45em;
  margin-left: 0.15em;
  color: var(--gold-600);
  font-weight: 700;
}

.spec-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.spec-card-footer {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 1.25rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.spec-card-footer p {
  font-size: 0.92rem;
  color: var(--ink-700);
}

.spec-card-footer strong {
  color: var(--navy-900);
}

/* Mung Bean Visual Grade Cards */
.grades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.grade-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.grade-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.grade-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.grade-card:hover img {
  transform: scale(1.06);
}

.grade-card-body {
  padding: 1.4rem;
}

.grade-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.grade-card-desc {
  font-size: 0.86rem;
  color: var(--ink-600);
  line-height: 1.5;
}

/* ==========================================================================
   5-Step Visual Export Journey
   ========================================================================== */
.journey-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
}

.journey-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  position: relative;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.journey-step-num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg-page);
  border: 2px solid var(--border-medium);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy-800);
  margin-bottom: 1.4rem;
  transition: all 0.35s var(--ease);
  position: relative;
  z-index: 2;
}

.journey-step:hover .journey-step-num {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-950);
  box-shadow: 0 0 0 6px var(--gold-soft);
  transform: scale(1.1);
}

.journey-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}

.journey-step-desc {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* Connecting line */
.journey-steps::before {
  content: "";
  position: absolute;
  top: 29px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-medium);
  z-index: 1;
}

/* ==========================================================================
   Boots-On-The-Ground Proof & Field Presence (Real Photos)
   ========================================================================== */
.proof-section {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #ffffff;
  padding-block: clamp(5rem, 9vw, 8rem);
  position: relative;
  overflow: hidden;
}

.proof-header {
  max-width: 780px;
  margin-bottom: 3.5rem;
}

.proof-header .h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.proof-header p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  line-height: 1.6;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.proof-card-hero {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  min-height: 420px;
}

.proof-card-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.proof-card-hero:hover img {
  transform: scale(1.05);
}

.proof-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 19, 32, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.2rem;
}

.proof-overlay-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  margin-bottom: 0.6rem;
}

.proof-overlay h3 {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.proof-overlay p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.proof-side-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.proof-side-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  flex: 1;
}

.proof-side-card img {
  width: 40%;
  object-fit: cover;
}

.proof-side-card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.proof-side-card-body h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.proof-side-card-body p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

/* ==========================================================================
   Partners & Trade Ecosystem
   ========================================================================== */
.partners-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  padding-block: clamp(4rem, 6vw, 6rem);
}

.partners-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.partner-col-title {
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-600);
  margin-bottom: 1.4rem;
}

.partner-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.partner-pill {
  padding: 0.85rem 1.4rem;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, background-color 0.3s;
}

.partner-pill:hover {
  transform: translateY(-2px);
  border-color: var(--gold-500);
  background: #ffffff;
  color: var(--gold-600);
}

/* ==========================================================================
   Sample Gallery
   ========================================================================== */
.gallery-section {
  background-color: var(--bg-page);
  border-top: 1px solid var(--border-light);
}

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.gallery-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-400) var(--border-light);
}

.g-item {
  flex: 0 0 clamp(280px, 30vw, 380px);
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #ffffff;
  cursor: zoom-in;
  padding: 0;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.g-item:hover img {
  transform: scale(1.08);
}

.g-item span {
  position: absolute;
  inset: auto 0 0;
  padding: 1.6rem 1rem 0.75rem;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  background: linear-gradient(to top, rgba(8, 19, 32, 0.92) 0%, rgba(8, 19, 32, 0.45) 75%, transparent 100%);
  transform: translateY(0);
  transition: all 0.3s var(--ease);
}

.g-item:hover span {
  color: var(--gold-300);
}

/* Lightbox Dialog */
.lightbox {
  background: transparent;
  border: none;
  max-width: min(1000px, 94vw);
  max-height: 92vh;
  padding: 0;
}

.lightbox::backdrop {
  background: rgba(8, 19, 32, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox img {
  max-height: 80vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
}

.lightbox p {
  text-align: center;
  color: #ffffff;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.05rem;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.faq-head {
  position: sticky;
  top: 120px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-list details {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 1.25rem 1.6rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-list details[open] {
  border-color: var(--gold-400);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy-900);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary .ph {
  font-size: 1.1rem;
  color: var(--gold-500);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-list details[open] summary .ph {
  transform: rotate(45deg);
}

.faq-list details p {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-700);
}

/* ==========================================================================
   Interactive RFQ & Contact Desk
   ========================================================================== */
.contact-section {
  background: radial-gradient(ellipse at 15% 10%, rgba(30, 62, 98, 0.08), transparent 60%), var(--bg-page);
  border-top: 1px solid var(--border-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-info .h2 {
  margin-bottom: 0.2rem;
}

.contact-info p.lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-700);
}

.contact-lines {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-lines li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-900);
}

.contact-lines .ph-frame {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--gold-100);
  border: 1px solid var(--border-gold);
  color: var(--gold-600);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-lines a {
  color: var(--navy-900);
  transition: color 0.2s;
}

.contact-lines a:hover {
  color: var(--gold-600);
  text-decoration: underline;
}

.rfq-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  box-shadow: var(--shadow-xl);
}

.rfq-card-head {
  margin-bottom: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border-light);
}

.rfq-card-head h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.rfq-card-head p {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--navy-900);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink-900);
  background: var(--bg-page);
  border: 1.5px solid var(--border-medium);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px var(--gold-glow);
}

.pulse-focus {
  animation: pulseGold 1.2s ease;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 var(--gold-500); }
  50% { box-shadow: 0 0 0 8px var(--gold-glow); border-color: var(--gold-500); }
  100% { box-shadow: 0 0 0 4px var(--gold-glow); }
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field .invalid {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.validation-message, .form-error {
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 600;
}

.form-error {
  margin-top: 1rem;
  padding: 0.85rem;
  background: #fee2e2;
  border-radius: 8px;
}

.form-done {
  text-align: center;
  padding: 3.5rem 1rem;
}

.form-done .ph {
  font-size: 3.8rem;
  color: var(--emerald-600);
}

.form-done h3 {
  font-size: 1.8rem;
  color: var(--navy-900);
  margin-top: 1rem;
}

.form-done p {
  color: var(--ink-muted);
  margin-top: 0.5rem;
}

/* ==========================================================================
   Product Specification Dialog Modal
   ========================================================================== */
.modal {
  width: min(840px, 94vw);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  background: #ffffff;
  padding: 0;
  overflow: hidden;
}

.modal::backdrop {
  background: rgba(8, 19, 32, 0.85);
  backdrop-filter: blur(8px);
}

.modal-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.modal-media {
  position: relative;
  background: var(--bg-subtle);
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
}

.modal-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

.modal-close button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  cursor: pointer;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--ink-700);
  transition: all 0.25s var(--ease);
}

.modal-close button:hover {
  background: var(--gold-500);
  color: var(--navy-950);
  transform: rotate(90deg);
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0;
  width: 100%;
}

.spec-list div {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.75rem 0.95rem;
}

.spec-list dt {
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.spec-list dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-900);
}

/* ==========================================================================
   Corporate Institutional Footer
   ========================================================================== */
.footer {
  background-color: var(--navy-950);
  color: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(4rem, 7vw, 6rem) 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer .brand-text {
  color: #ffffff;
}

.footer-brand-col p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 32ch;
}

.footer-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.footer-badge {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-400);
  margin-bottom: 1.2rem;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2.2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 40;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-800);
  color: var(--gold-400);
  border: 1px solid var(--gold-500);
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.35s var(--ease);
}

.scrolled .to-top {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  background: var(--gold-500);
  color: var(--navy-950);
  transform: translateY(-3px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1120px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .spec-tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .journey-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .journey-steps::before { display: none; }
}

@media (max-width: 860px) {
  .about-grid, .faq-grid, .contact-grid, .proof-grid, .partners-wrap {
    grid-template-columns: 1fr;
  }
  .faq-head { position: static; }
  .topbar-left { display: none; }
  .modal-layout { grid-template-columns: 1fr; }
  .modal-media img { min-height: 200px; aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 2rem); }
  .product-grid, .grades-grid, .advantage-pills, .fields, .spec-tiles, .footer-top {
    grid-template-columns: 1fr;
  }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { width: 100%; }
  .product-actions { flex-direction: column; }
  .product-actions .btn { width: 100%; }
  .topbar-inner { justify-content: center; }
  .topbar-right { flex-wrap: wrap; justify-content: center; gap: 0.35rem 1rem; }
}

/* ==========================================================================
   Accessibility & Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ticker-track { animation: none; }
}

/* Scroll reveal (class added by site.js) */
.sr {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.sr.sr-up { transform: translateY(-32px); }
.sr.sr-in { opacity: 1; transform: none; }

/* Honeypot & Animation Utilities */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.magnet {
  will-change: transform;
}
