/* ============================================================
   Brand Ticaret — Premium Saffron Trade
   "Deep Leaf" design system
   Anchored on the logo leaf green (#0E9038)
   Deep green-black · leaf green · ivory · saffron whisper
   Typography: Georgia editorial serif + Tajawal Arabic
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark light;
  --bg: #0A0F0B;
  --bg-elev: #0F1510;
  --surface: #121A14;
  --surface-2: #18231A;
  --ink: #EDF2EC;
  --ink-strong: #F6FAF4;
  --muted: #9AA89D;
  --accent: #129B43;        /* logo leaf green */
  --accent-bright: #4ED47F; /* readable green for action states */
  --accent-dim: #0C6E2F;
  --crimson: #C8472F;       /* saffron whisper — used sparingly */
  --saffron-red: #D44932;
  --saffron-gold: #D8A73A;
  --saffron-amber: #F0C75E;
  --ivory: #F4EFE4;
  --copper: #9A5A32;
  --leaf: #0E9038;
  --line: rgba(244, 239, 228, 0.11);
  --line-strong: rgba(244, 239, 228, 0.20);

  /* Typography — Georgia across all non-Arabic content; Tajawal remains for Arabic */
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Georgia, "Times New Roman", serif;

  /* Rounded */
  --rounded-xs: 4px;
  --rounded-sm: 5px;
  --rounded-md: 8px;
  --rounded-lg: 12px;
  --rounded-xl: 20px;
  --rounded-pill: 9999px;

  --radius-card: var(--rounded-lg);

  --shadow-soft: 0 2px 6px rgba(0, 0, 0, 0.35), 0 14px 38px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 4px 10px rgba(0, 0, 0, 0.40), 0 26px 60px rgba(0, 0, 0, 0.50);

  --container: 1180px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #FFFFFF;
    --bg-elev: #F7FAF6;
    --surface: #FFFFFF;
    --surface-2: #F1F6EF;
    --ink: #203026;
    --ink-strong: #07130A;
    --muted: #526459;
    --accent: #0A6F2D;
    --accent-bright: #0B7A33;
    --accent-dim: #0A6429;
    --saffron-gold: #8A650F;
    --saffron-amber: #93620A;
    --line: rgba(15, 47, 27, 0.13);
    --line-strong: rgba(15, 47, 27, 0.24);
    --shadow-soft: 0 2px 8px rgba(17, 35, 23, 0.08), 0 16px 42px rgba(17, 35, 23, 0.10);
    --shadow-lift: 0 5px 14px rgba(17, 35, 23, 0.10), 0 28px 70px rgba(17, 35, 23, 0.14);
  }
}

:root[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-elev: #F7FAF6;
  --surface: #FFFFFF;
  --surface-2: #F1F6EF;
  --ink: #203026;
  --ink-strong: #07130A;
  --muted: #526459;
  --accent: #0A6F2D;
  --accent-bright: #0B7A33;
  --accent-dim: #0A6429;
  --saffron-gold: #8A650F;
  --saffron-amber: #93620A;
  --line: rgba(15, 47, 27, 0.13);
  --line-strong: rgba(15, 47, 27, 0.24);
  --shadow-soft: 0 2px 8px rgba(17, 35, 23, 0.08), 0 16px 42px rgba(17, 35, 23, 0.10);
  --shadow-lift: 0 5px 14px rgba(17, 35, 23, 0.10), 0 28px 70px rgba(17, 35, 23, 0.14);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

/* body-md: 16 / 420 / 1.5 */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.58;
  letter-spacing: 0;
  font-optical-sizing: auto;
  font-feature-settings: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) body {
    background:
      radial-gradient(80% 52% at 84% 0%, rgba(216, 167, 58, 0.10), transparent 58%),
      radial-gradient(58% 46% at 0% 18%, rgba(14, 144, 56, 0.08), transparent 55%),
      var(--bg);
  }
}

:root[data-theme="light"] body {
  background:
    radial-gradient(80% 52% at 84% 0%, rgba(216, 167, 58, 0.10), transparent 58%),
    radial-gradient(58% 46% at 0% 18%, rgba(14, 144, 56, 0.08), transparent 55%),
    var(--bg);
}

::selection { background: rgba(18, 155, 67, 0.35); color: var(--ink-strong); }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--rounded-xs);
}

/* Skip-to-content link — visible only on keyboard focus */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-150%);
  padding: 11px 20px;
  border-radius: var(--rounded-pill);
  background: var(--accent-dim);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s var(--ease-expo);
}
.skip-link:focus { transform: none; outline: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

strong { font-weight: 550; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-feature-settings: normal;
  margin: 0 0 0.5em;
  color: var(--ink-strong);
}

/* display-xl: 70 / 330 / 1.0 */
h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.375rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

/* display-lg: 55 / 330 / 1.16 */
h2 {
  font-size: clamp(1.95rem, 3.6vw, 3.4375rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

/* heading-lg: 24 / 400 / 1.14 */
h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

/* eyebrow-cap host */
h4 {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.72px;
}

.accent-i {
  font-style: italic;
  color: var(--saffron-amber);
}

p { margin: 0 0 1em; }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
  position: relative;
}

main { position: relative; z-index: 1; }

/* ---------- Animated background ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-mandala {
  position: absolute;
  background-image: url("../assets/img/bg-mandala-transparent.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: screen;
  filter: saturate(0.92) contrast(0.94);
  will-change: transform;
}
.bg-mandala--1 {
  width: 120vmin;
  height: 90vmin;
  top: -16vmin;
  right: -28vmin;
  opacity: 0.18;
}
.bg-mandala--2 {
  width: 100vmin;
  height: 75vmin;
  bottom: -22vmin;
  left: -30vmin;
  opacity: 0.11;
  transform: scaleX(-1);
}
.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, transparent 55%, rgba(10, 15, 11, 0.85) 100%),
    linear-gradient(180deg, rgba(10, 15, 11, 0.25), transparent 30%, transparent 70%, rgba(10, 15, 11, 0.55));
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-dim), var(--saffron-red), var(--saffron-amber));
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 100;
  pointer-events: none;
}

/* ---------- Eyebrow / section heads ---------- */
/* eyebrow-cap: 12 / 400 / 1.2 / 0.72px */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.72px;
  text-transform: uppercase;
  color: var(--saffron-gold);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-dim), var(--saffron-red));
}

.section { padding: 110px 0; position: relative; }

.section--alt {
  background:
    radial-gradient(70% 60% at 85% 12%, rgba(154, 90, 50, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(15, 21, 16, 0.0), rgba(15, 21, 16, 0.85) 12%, rgba(15, 21, 16, 0.85) 88%, rgba(15, 21, 16, 0.0));
}

.section-head { max-width: 680px; margin-bottom: 60px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--saffron-red), var(--accent-dim)); }
.section-head p { color: var(--muted); margin-bottom: 0; }

/* body-lg: 18 / 550 / 1.56 */
.lead {
  color: var(--muted);
  font-size: 18px;
  font-weight: 550;
  line-height: 1.56;
  letter-spacing: 0;
}

/* ---------- Buttons ---------- */
/* button pill: body-md type, 12px 24px, pill */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--rounded-pill);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.58;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  overflow: hidden;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-expo), box-shadow 0.35s var(--ease-expo),
              background-color 0.3s, border-color 0.3s, color 0.3s;
}

.btn svg { transition: transform 0.35s var(--ease-expo); position: relative; z-index: 1; }
.btn span, .btn { z-index: 0; }
.btn:hover svg { transform: translateX(4px); }

/* sheen sweep */
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-expo);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

.btn--primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  background-color: var(--accent);
  color: #06130A;
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(18, 155, 67, 0.35);
}

.btn--ghost {
  background: rgba(237, 233, 223, 0.03);
  color: var(--ink);
  border-color: var(--line-strong);
  padding: 12px 26px;
}
.btn--ghost::after { background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.12), transparent); }
.btn--ghost:hover {
  border-color: rgba(216, 167, 58, 0.7);
  color: var(--saffron-amber);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: transparent;
  transition: background-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.site-header.is-scrolled {
  background: rgba(10, 15, 11, 0.72);
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
  backdrop-filter: saturate(1.3) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 12px 36px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo::before {
  content: "";
  flex: 0 0 auto;
  width: 27.64px;
  height: 38px;
  background: url("../assets/logos/mark-tight.png") center / contain no-repeat;
}
.brand-logo img { height: 34px; width: auto; }
.brand-logo .logo-mark {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Text wordmark — white, stacked like the original logo */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-display);
  color: #FFFFFF;
  user-select: none;
}
.logo-text strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 3.2px;
}
.logo-text span {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 5.4px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.92);
}

.main-nav { display: flex; align-items: center; gap: 1px; }

/* nav links: body-md */
.main-nav a:not(.btn) {
  position: relative;
  padding: 9px 10px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.58;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.35s var(--ease-expo);
}
.main-nav a:not(.btn):hover { color: var(--accent-bright); }
.main-nav a:not(.btn):hover::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--accent-bright); }
.main-nav a.is-active::after { transform: scaleX(1); }

.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 10px 20px; font-size: 14px; }

.theme-toggle {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(237, 242, 236, 0.055);
  color: var(--saffron-amber);
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease-expo);
}
.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 167, 58, 0.55);
  background: rgba(216, 167, 58, 0.10);
}
.theme-toggle svg {
  grid-area: 1 / 1;
  width: 18px;
  height: 18px;
  transition: opacity 0.22s, transform 0.28s var(--ease-expo);
}
.theme-toggle__sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-toggle__moon { opacity: 0; transform: rotate(-45deg) scale(0.72); }
:root[data-theme="light"] .theme-toggle__sun,
:root:not([data-theme="dark"]) .theme-toggle[data-system-theme="light"] .theme-toggle__sun {
  opacity: 0;
  transform: rotate(45deg) scale(0.72);
}
:root[data-theme="light"] .theme-toggle__moon,
:root:not([data-theme="dark"]) .theme-toggle[data-system-theme="light"] .theme-toggle__moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(237, 233, 223, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--rounded-md);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-expo), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero — full-bleed video background ---------- */
.hero--video {
  position: relative;
  z-index: 1;
  min-height: max(92vh, 620px);
  display: grid;
  align-items: center;
  padding: 140px 0 110px;
  margin-top: -80px; /* pull behind the transparent sticky header */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

/* calm, slow Ken Burns drift — full quality footage */
.hero-bg .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.03) brightness(0.9);
  animation: hero-drift 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hero-drift {
  from { transform: scale(1.04); }
  to   { transform: scale(1.13) translate3d(0, -1.4%, 0); }
}

/* legibility scrim — darker behind the headline, fades into the page below */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 85% at 50% 38%, rgba(10, 15, 11, 0.62), rgba(10, 15, 11, 0.38) 55%, rgba(10, 15, 11, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 15, 11, 0.66) 0%, rgba(10, 15, 11, 0.18) 34%, rgba(10, 15, 11, 0.30) 72%, var(--bg) 100%);
}

.hero-content {
  text-align: center;
  max-width: 880px;
}

/* display-xl — centered over the footage */
.hero--video h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  font-weight: 330;
  line-height: 1.06;
  letter-spacing: 1.2px;
  text-shadow: 0 2px 40px rgba(10, 15, 11, 0.55);
  margin-inline: auto;
  max-width: 18ch;
}

.hero-content .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--saffron-red), var(--accent-dim));
}

.hero-content .lead {
  max-width: 560px;
  margin-inline: auto;
  color: rgba(237, 242, 236, 0.82);
  text-shadow: 0 1px 24px rgba(10, 15, 11, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 56px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(237, 242, 236, 0.16);
}
.hero-meta div { min-width: 130px; }
/* heading-md: 20 / 500 / 1.4 / 0.3px */
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.3px;
  color: var(--saffron-amber);
}
/* caption: 14 / 500 / 1.49 / 0.28px */
.hero-meta span {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.49;
  letter-spacing: 0.28px;
  color: var(--muted);
}
.hero-meta--compact {
  justify-content: flex-start;
  gap: 18px;
  margin-top: 24px;
  padding-top: 0;
  border-top: 0;
}
.hero-meta--compact div {
  min-width: 0;
  padding: 16px 18px;
  border-radius: var(--rounded-lg);
  border: 1px solid var(--line);
  background: rgba(18, 26, 20, 0.72);
}
.hero-meta--compact strong {
  font-size: 14px;
  font-weight: 550;
  line-height: 1.35;
  letter-spacing: 0.28px;
}
.hero-meta--compact span {
  font-size: 13px;
  letter-spacing: 0;
}

.company-hero {
  padding: 118px 0 78px;
  background:
    radial-gradient(62% 78% at 15% 0%, rgba(216, 167, 58, 0.12), transparent 54%),
    radial-gradient(54% 62% at 82% 8%, rgba(18, 155, 67, 0.14), transparent 58%);
}
.company-hero .hero-copy {
  max-width: 860px;
}
.company-hero h1 {
  max-width: 860px;
  margin-bottom: 18px;
}
.company-hero .lead {
  max-width: 720px;
  color: rgba(237, 242, 236, 0.82);
  margin-bottom: 0;
}

.capability-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.capability-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: var(--rounded-pill);
  border: 1px solid rgba(216, 167, 58, 0.26);
  background: rgba(18, 26, 20, 0.78);
  color: var(--ink);
  font-size: 14px;
  font-weight: 520;
  line-height: 1.4;
}
.capability-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(216, 167, 58, 0.12);
  color: var(--saffron-amber);
  font-size: 12px;
  font-weight: 600;
}

/* ---------- Capability marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(15, 21, 16, 0.6);
  overflow: hidden;
  padding: 22px 0;
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
/* heading-sm: 18 / 500 / 1.25 / 0.72px */
.marquee li {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.72px;
  color: rgba(237, 233, 223, 0.85);
  white-space: nowrap;
}
.marquee li::after {
  content: "✦";
  font-size: 0.7rem;
  color: var(--accent);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}
.split--reverse > .split-media { order: 2; }

.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--rounded-xl);
  box-shadow: var(--shadow-soft);
}
.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--rounded-xl);
  border: 1px solid rgba(237, 233, 223, 0.12);
  pointer-events: none;
}

.split-copy h2 { max-width: 520px; }
.split-copy p { color: var(--muted); max-width: 540px; }
.split-copy .btn { margin-top: 16px; }

/* Checklist */
.checklist {
  list-style: none;
  margin: 28px 0 10px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink);
}
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1px solid rgba(18, 155, 67, 0.5);
  background: rgba(18, 155, 67, 0.10)
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M6 10.3l2.6 2.6L14 7.4" fill="none" stroke="%23E9C476" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>')
    center / 17px no-repeat;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* card: rounded-lg, 32px padding */
.card {
  position: relative;
  background: linear-gradient(165deg, var(--surface-2), var(--surface) 60%);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease-expo), box-shadow 0.45s var(--ease-expo), border-color 0.45s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 155, 67, 0.0), transparent);
  transition: background 0.45s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(18, 155, 67, 0.35);
}
.card:hover::before {
  background: linear-gradient(90deg, transparent, rgba(78, 212, 127, 0.6), transparent);
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; }
.portfolio-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.portfolio-card p {
  margin-bottom: 22px;
}
.portfolio-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--saffron-amber);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
  text-decoration: none;
}
.portfolio-card__link svg {
  transition: transform 0.25s var(--ease-expo);
}
.portfolio-card__link:hover svg,
.portfolio-card__link:focus-visible svg {
  transform: translateX(3px);
}
.portfolio-card--muted {
  min-height: 100%;
  background:
    radial-gradient(circle at 12% 0%, rgba(18, 155, 67, 0.08), transparent 30%),
    linear-gradient(165deg, var(--surface-2), var(--surface) 60%);
}
.portfolio-card--muted .card-tag {
  color: var(--accent-bright);
}

/* pill-tag / eyebrow-cap */
.card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.72px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Grade cards — caption: 14 / 500 / 1.49 / 0.28px */
.grade-card .grade-use {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.49;
  letter-spacing: 0.28px;
  color: var(--muted);
}
.grade-card .grade-use strong { color: var(--accent-bright); font-weight: 550; }

/* Saffron-color accents: product warmth without losing the green brand base */
.marquee li::after { color: var(--saffron-gold); }
.checklist li::before {
  border-color: rgba(216, 167, 58, 0.55);
  background-color: rgba(216, 167, 58, 0.10);
}
.card {
  background:
    radial-gradient(circle at 15% 0%, rgba(216, 167, 58, 0.07), transparent 30%),
    linear-gradient(165deg, var(--surface-2), var(--surface) 60%);
}
.card:hover { border-color: rgba(216, 167, 58, 0.38); }
.card:hover::before { background: linear-gradient(90deg, transparent, rgba(216, 167, 58, 0.65), transparent); }
.card-tag { color: var(--saffron-gold); }
.grade-card .grade-use strong { color: var(--saffron-amber); }

/* Image cards — photo frame: rounded-xl */
.img-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--rounded-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease-expo), box-shadow 0.45s var(--ease-expo), border-color 0.45s;
}
.img-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(18, 155, 67, 0.35);
}
.img-card figure { margin: 0; }
.img-card .img-wrap { overflow: hidden; }
.img-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease-expo);
}
.img-card:hover img { transform: scale(1.045); }
.img-card figcaption { padding: 24px 26px 28px; }
.packaging-format-grid .img-card { cursor: pointer; }
.packaging-format-grid .img-card figure { position: relative; z-index: 1; }
.packaging-format-grid .card-cover-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  text-decoration: none;
}
.packaging-format-grid .card-cover-link:focus-visible {
  outline: 2px solid var(--saffron-amber);
  outline-offset: -5px;
}

/* heading-md: 20 / 500 / 1.4 / 0.3px */
.img-card figcaption h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}
/* caption */
.img-card figcaption p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.49;
  letter-spacing: 0.28px;
  margin: 0;
}

/* ---------- Catalog ---------- */
.catalog-section { scroll-margin-top: 100px; }

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-top: 24px;
}
.catalog-tools--filters-only {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 22px;
  width: min(860px, 100%);
  margin-top: clamp(34px, 4.5vw, 54px);
}
.catalog-tools--filters-only .catalog-filter {
  width: 100%;
  justify-content: flex-start;
}
/* Result count sits below the filters (filter first, then see the count) */
.catalog-tools--filters-only .catalog-toolbar__status {
  order: 3;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(234, 239, 232, 0.14);
}
/* The count sits on the always-dark hero, so keep it a readable light tone
   regardless of the site light/dark theme (WCAG-safe on the hero). */
.catalog-tools .catalog-result-count { color: rgba(234, 239, 232, 0.66); }
.catalog-filter--product {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.catalog-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.catalog-filter button {
  min-height: 42px;
  padding: 8px 16px;
  border-radius: var(--rounded-pill);
  border: 1px solid var(--line-strong);
  background: rgba(237, 242, 236, 0.04);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}
.catalog-filter button:hover,
.catalog-filter button.is-active {
  border-color: rgba(216, 167, 58, 0.68);
  background: rgba(216, 167, 58, 0.13);
  color: var(--saffron-amber);
}

/* ---- Filter dropdowns (Product + Pack type), built from the chip rows ---- */
.catalog-select-row { display: flex; flex-wrap: wrap; gap: 18px; }
.catalog-select { position: relative; display: flex; flex-direction: column; gap: 8px; }
.catalog-select__caption {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--unified-muted, var(--muted));
}
.catalog-select__trigger {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  min-width: 236px; min-height: 48px; padding: 11px 16px;
  border: 1px solid var(--unified-line, var(--line-strong)); border-radius: 12px;
  background: var(--unified-panel, rgba(237, 242, 236, 0.04));
  color: var(--unified-ink, var(--ink-strong));
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.catalog-select__trigger:hover,
.catalog-select.is-open .catalog-select__trigger { border-color: var(--unified-gold-bright, var(--saffron-gold)); }
.catalog-select__trigger:focus-visible { outline: 2px solid var(--unified-gold-bright, var(--saffron-gold)); outline-offset: 2px; }
.catalog-select__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-select__caret { flex-shrink: 0; transition: transform 0.2s; }
.catalog-select.is-open .catalog-select__caret { transform: rotate(180deg); }
.catalog-select__menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 45;
  display: none; flex-direction: column; gap: 2px;
  min-width: 100%; width: max-content; max-width: min(300px, calc(100vw - 48px));
  max-height: 328px; overflow-y: auto; margin: 0; padding: 6px;
  border: 1px solid var(--unified-line, var(--line-strong)); border-radius: 12px;
  background: rgba(20, 25, 17, 0.97);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
:root[data-theme="light"] .catalog-select__menu { background: rgba(255, 255, 255, 0.98); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .catalog-select__menu { background: rgba(255, 255, 255, 0.98); }
}
.catalog-select.is-open .catalog-select__menu { display: flex; }
/* Open upward when there isn't room below (filters sit low in the hero) */
.catalog-select--up .catalog-select__menu { top: auto; bottom: calc(100% + 6px); }
.catalog-select__menu button {
  display: block; width: 100%; min-height: 40px; padding: 10px 12px;
  text-align: left; border: 0; border-radius: 8px; background: transparent;
  color: var(--unified-ink, var(--ink)); font: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background-color 0.15s, color 0.15s;
}
.catalog-select__menu button:hover,
.catalog-select__menu button:focus-visible {
  background: color-mix(in srgb, var(--unified-gold, #C4963E) 16%, transparent);
  color: var(--unified-gold-bright, var(--saffron-gold)); outline: none;
}
.catalog-select__menu button.is-active {
  color: var(--unified-gold-bright, var(--saffron-gold)); font-weight: 700;
}
@media (max-width: 620px) {
  .catalog-select-row { flex-direction: column; gap: 14px; }
  .catalog-select { width: 100%; }
  .catalog-select__trigger { width: 100%; min-width: 0; }
}

.catalog-support {
  margin-top: 54px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.product-card.is-hidden,
.product-card.is-limit-hidden,
.catalog-section.is-hidden,
.catalog-support.is-hidden {
  display: none;
}

.product-card .img-wrap {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0.12), transparent 34%),
    linear-gradient(145deg, #050605, #151815 58%, #090a09);
}
.product-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.product-card figcaption {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  min-height: 156px;
}
.product-card figcaption::before {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--saffron-gold);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.72px;
  line-height: 1.2;
  text-transform: uppercase;
}
.product-card[data-category="retail"] figcaption::before { content: "Retail pack"; }
.product-card[data-category="gift"] figcaption::before { content: "Gift pack"; }
.product-card[data-category="mini"] figcaption::before { content: "Mini / sample"; }
.product-card[data-category="bulk"] figcaption::before { content: "Bulk pack"; }
.product-card figcaption h3 {
  margin-bottom: 0;
  min-height: 3.9em;
}
.product-card figcaption > p,
.product-card figcaption > .spec-list {
  display: none;
}

.quote-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: var(--rounded-pill);
  border: 1px solid rgba(216, 167, 58, 0.48);
  background: rgba(216, 167, 58, 0.10);
  color: var(--saffron-amber);
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  transition: transform 0.3s var(--ease-expo), border-color 0.25s, background-color 0.25s;
}
.quote-link:hover {
  transform: translateY(-2px);
  border-color: var(--saffron-amber);
  background: rgba(216, 167, 58, 0.18);
}
.quote-link svg { transition: transform 0.3s var(--ease-expo); }
.quote-link:hover svg { transform: translateX(3px); }

.spec-list {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 7px;
}
.spec-list div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}
.spec-list dt {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  white-space: nowrap;
}
.spec-list dd {
  margin: 0;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0;
  color: var(--ink);
  text-align: right;
}

/* ---------- Process steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step;
}
.process-step {
  position: relative;
  background: linear-gradient(165deg, var(--surface-2), var(--surface) 60%);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease-expo), box-shadow 0.45s var(--ease-expo), border-color 0.45s;
}
.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(18, 155, 67, 0.35);
}
/* display number — heading-xl scale, light display weight */
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 330;
  line-height: 1.28;
  letter-spacing: 0.42px;
  color: var(--accent);
  margin-bottom: 14px;
}
/* heading-md */
.process-step h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}
/* caption */
.process-step p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.49;
  letter-spacing: 0.28px;
  margin: 0;
}

/* ---------- Buyer confidence ---------- */
.trust-section {
  background:
    radial-gradient(70% 70% at 50% 18%, rgba(216, 167, 58, 0.07), transparent 58%),
    linear-gradient(180deg, rgba(10, 15, 11, 0), rgba(11, 19, 13, 0.92) 22%, rgba(11, 19, 13, 0.92) 78%, rgba(10, 15, 11, 0));
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  min-height: 100%;
  padding: 28px 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, rgba(245, 241, 232, 0.065), rgba(18, 26, 20, 0.72)),
    radial-gradient(circle at 18% 0%, rgba(212, 73, 50, 0.16), transparent 34%);
  box-shadow: var(--shadow-soft);
}
.trust-item span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 1px solid rgba(216, 167, 58, 0.46);
  color: var(--saffron-amber);
  font-family: var(--font-display);
  font-size: 14px;
}
.trust-item h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.28;
}
.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    linear-gradient(150deg, rgba(24, 35, 26, 0.98), #0E1810 68%),
    radial-gradient(circle at 88% 18%, rgba(216, 167, 58, 0.18), transparent 42%);
  background-color: #0E1810;
  border: 1px solid rgba(216, 167, 58, 0.32);
  color: var(--ink);
  border-radius: var(--rounded-xl);
  padding: 80px 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -160px; top: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 167, 58, 0.20), transparent 65%);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  left: -120px; bottom: -180px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 73, 50, 0.14), transparent 65%);
  pointer-events: none;
}
.cta-band h2 { max-width: 580px; margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0; }
.cta-band .btn { position: relative; z-index: 1; }
.cta-band .accent-i,
.cta-band .eyebrow {
  color: #E8C15A;
}

/* ---------- Value strip ---------- */
.value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.value-strip .card { padding: 32px 26px; }
/* heading-md */
.value-strip h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

/* ---------- Page hero ---------- */
.page-hero { padding: 92px 0 68px; position: relative; z-index: 1; }
.page-hero h1 { max-width: 840px; }
.page-hero .lead { max-width: 660px; }
.page-hero--with-cards { padding-bottom: 88px; }
.page-hero--with-cards .packaging-format-grid { margin-top: 44px; }
.page-hero--with-cards .img-card { background: rgba(237, 242, 236, 0.045); }
.portfolio-hero .lead {
  max-width: 720px;
}
.bridge-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 34px;
  align-items: stretch;
}
.bridge-panel {
  background:
    radial-gradient(circle at 12% 0%, rgba(216, 167, 58, 0.11), transparent 30%),
    linear-gradient(165deg, var(--surface-2), var(--surface) 60%);
  border: 1px solid var(--line);
  border-radius: var(--rounded-xl);
  padding: 38px;
  box-shadow: var(--shadow-soft);
}
.bridge-panel p:last-child {
  margin-bottom: 0;
}
.bridge-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.bridge-stat {
  min-height: 100%;
  padding: 26px 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: rgba(18, 26, 20, 0.78);
  box-shadow: var(--shadow-soft);
}
.bridge-stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--saffron-amber);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 420;
  line-height: 1.25;
  letter-spacing: 0.18px;
}
.bridge-stat span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}
.placeholder-shell {
  max-width: 760px;
}
.placeholder-shell .lead {
  max-width: 660px;
}
.placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 16px;
  border-radius: var(--rounded-pill);
  border: 1px solid rgba(216, 167, 58, 0.28);
  background: rgba(18, 26, 20, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 520;
}
.placeholder-note::before {
  content: "01";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(216, 167, 58, 0.12);
  color: var(--saffron-amber);
  font-family: var(--font-display);
  font-size: 12px;
}
.text-note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}
.info-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--rounded-xl);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 0%, rgba(216, 167, 58, 0.06), transparent 34%),
    linear-gradient(165deg, var(--surface-2), var(--surface) 60%);
  box-shadow: var(--shadow-soft);
}
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table th,
.info-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.info-table th {
  width: 28%;
  color: var(--accent-bright);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.info-table td {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}
.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

/* ---------- Figure panel (light island) ---------- */
.figure-panel {
  background:
    radial-gradient(circle at 8% 0%, rgba(216, 167, 58, 0.22), transparent 36%),
    var(--ivory);
  color: #221F18;
  border: 1px solid rgba(154, 90, 50, 0.24);
  border-radius: var(--rounded-xl);
  padding: 48px;
  box-shadow: var(--shadow-lift);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.figure-panel img { width: 100%; max-width: 430px; margin-inline: auto; }
/* display-md: 48 / 330 / 1.14 */
.figure-panel h2 {
  color: #1D1A12;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 330;
  line-height: 1.14;
  letter-spacing: 0;
}
.figure-panel p { color: #5C574A; }
.figure-panel .eyebrow { color: #8A4F2B; }
.figure-panel .eyebrow::before { background: linear-gradient(90deg, #8A4F2B, var(--saffron-gold)); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.contact-info > p { color: var(--muted); max-width: 440px; }

.contact-channels { display: grid; gap: 16px; margin-top: 36px; }
.contact-channel {
  background: linear-gradient(165deg, var(--surface-2), var(--surface) 60%);
  border: 1px solid var(--line);
  border-radius: var(--rounded-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.35s, transform 0.45s var(--ease-expo);
}
.contact-channel:hover { border-color: rgba(18, 155, 67, 0.35); transform: translateY(-3px); }
/* eyebrow-cap */
.contact-channel span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.72px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
/* body-strong: 16 / 550 / 1.5 */
.contact-channel a, .contact-channel strong {
  font-size: 16px;
  font-weight: 550;
  line-height: 1.5;
  color: var(--ink-strong);
  text-decoration: none;
}
.contact-channel a:hover { color: var(--accent-bright); }
/* caption */
.contact-channel p {
  margin: 5px 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.49;
  letter-spacing: 0.28px;
  color: var(--muted);
}

/* Form */
.contact-form {
  background: linear-gradient(165deg, var(--surface-2), var(--surface) 55%);
  border: 1px solid var(--line);
  border-radius: var(--rounded-xl);
  padding: 46px;
  box-shadow: var(--shadow-lift);
  scroll-margin-top: 100px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid--quick .form-field--full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
/* caption */
.form-field label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.49;
  letter-spacing: 0.28px;
  color: var(--ink);
}
/* text-input: body-md, rounded-md, 10px 12px */
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.58;
  color: var(--ink-strong);
  background: rgba(10, 15, 11, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--rounded-md);
  padding: 10px 12px;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(155, 163, 176, 0.55); }
.form-field select { appearance: none; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M3 5l4 4 4-4" fill="none" stroke="%239BA3B0" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>'); background-repeat: no-repeat; background-position: right 12px center; }
.form-field textarea { resize: vertical; min-height: 132px; }
.form-grid--quick .form-field textarea { min-height: 118px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: rgba(10, 15, 11, 0.85);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(18, 155, 67, 0.18);
}
/* micro: 13 / 500 / 1.5 / 0 */
.form-note {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--muted);
  margin: 18px 0 0;
}
.contact-form .btn { margin-top: 24px; width: 100%; justify-content: center; }

/* Use the browser's single native select arrow. Some file-preview engines tile
   inline SVG backgrounds inside an open select, producing rows of chevrons. */
.contact-form .form-field select {
  -webkit-appearance: menulist;
  appearance: auto;
  background-image: none !important;
  background-repeat: no-repeat !important;
  padding-inline-end: 12px;
}

.form-advanced {
  margin-top: 18px;
  border-radius: var(--rounded-lg);
  border: 1px solid rgba(216, 167, 58, 0.18);
  background: rgba(244, 239, 228, 0.035);
  overflow: hidden;
}
.form-advanced summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  color: var(--ink-strong);
}
.form-advanced summary::-webkit-details-marker { display: none; }
.form-advanced summary span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.form-advanced summary small {
  max-width: 250px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-align: right;
}
.form-advanced summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(216, 167, 58, 0.32);
  color: var(--saffron-amber);
  font-size: 18px;
  line-height: 1;
}
.form-advanced[open] {
  border-color: rgba(216, 167, 58, 0.36);
  background: rgba(216, 167, 58, 0.045);
}
.form-advanced[open] summary {
  border-bottom: 1px solid rgba(244, 239, 228, 0.10);
}
.form-advanced[open] summary::after { content: "-"; }
.form-advanced .form-grid {
  padding: 18px 16px 20px;
}
.form-advanced .rfq-divider {
  display: none;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--rounded-md);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.49;
  letter-spacing: 0.28px;
  background: rgba(18, 155, 67, 0.10);
  border: 1px solid rgba(18, 155, 67, 0.4);
  color: var(--accent-bright);
}
.form-status.is-visible { display: block; }
.form-status.is-error {
  background: rgba(200, 71, 47, 0.10);
  border-color: rgba(200, 71, 47, 0.45);
  color: #E89384;
}

.rfq-divider {
  margin: 8px 0 -2px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.rfq-divider span {
  display: inline-flex;
  color: var(--saffron-gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.72px;
  line-height: 1.2;
  text-transform: uppercase;
}

/* ---------- Commercial buyer page ---------- */
.buyer-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 54px;
  align-items: center;
}
.buyer-brief {
  overflow: hidden;
  padding: 18px 18px 30px;
  border-radius: var(--rounded-xl);
  border: 1px solid rgba(216, 167, 58, 0.28);
  background:
    radial-gradient(circle at 12% 0%, rgba(216, 167, 58, 0.14), transparent 36%),
    linear-gradient(165deg, rgba(24, 35, 26, 0.92), rgba(18, 26, 20, 0.86));
  box-shadow: var(--shadow-soft);
}
.buyer-visual,
.document-visual {
  position: relative;
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid rgba(216, 167, 58, 0.22);
  background: rgba(244, 239, 228, 0.045);
}
.buyer-visual img,
.document-visual img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.buyer-visual img { aspect-ratio: 4 / 3; }
.document-visual img { aspect-ratio: 16 / 10; }
.buyer-visual figcaption,
.document-visual figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 9px 12px;
  border: 1px solid rgba(216, 167, 58, 0.24);
  border-radius: var(--rounded-pill);
  background: rgba(10, 15, 11, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.35;
}
.brief-label {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--saffron-amber);
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.72px;
  text-transform: uppercase;
}
.buyer-brief dl,
.product-modal__specs {
  display: grid;
  gap: 12px;
  margin: 0;
}
.buyer-brief dl div,
.product-modal__specs div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.buyer-brief dt,
.product-modal__specs dt {
  color: var(--saffron-gold);
  font-size: 13px;
  font-weight: 550;
}
.buyer-brief dd,
.product-modal__specs dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.buyer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.buyer-card {
  padding: 30px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 0% 0%, rgba(212, 73, 50, 0.12), transparent 32%),
    linear-gradient(165deg, var(--surface-2), var(--surface) 62%);
  box-shadow: var(--shadow-soft);
}
.buyer-card span,
.document-card span,
.timeline-step span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--saffron-gold);
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.72px;
  text-transform: uppercase;
}
.buyer-card h3,
.document-card h3,
.timeline-step h3 { font-size: 20px; font-weight: 500; }
.buyer-card p,
.document-card p,
.timeline-step p { color: var(--muted); font-size: 14px; font-weight: 500; margin: 0; }
.buyer-card a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--saffron-amber);
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}
.buyer-card a:hover { color: var(--accent-bright); }
.document-stack {
  display: grid;
  gap: 16px;
}
.document-card {
  padding: 26px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(216, 167, 58, 0.24);
  background: rgba(244, 239, 228, 0.055);
  box-shadow: var(--shadow-soft);
}
.order-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.timeline-step {
  min-height: 100%;
  padding: 24px 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(24, 35, 26, 0.82), rgba(18, 26, 20, 0.72));
}
.lead-magnet-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 36px;
  align-items: center;
  padding: 46px;
  border-radius: var(--rounded-xl);
  border: 1px solid rgba(216, 167, 58, 0.32);
  background:
    radial-gradient(circle at 88% 50%, rgba(216, 167, 58, 0.16), transparent 38%),
    linear-gradient(165deg, rgba(24, 35, 26, 0.94), rgba(14, 24, 16, 0.94));
  box-shadow: var(--shadow-soft);
}
.lead-magnet-band h2 { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.7rem); }
.lead-actions {
  display: grid;
  gap: 12px;
}
.lead-actions a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: var(--rounded-md);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}
.lead-actions a::after {
  content: "Request";
  color: var(--saffron-amber);
  font-size: 13px;
  font-weight: 550;
}
.lead-actions a:hover {
  border-color: rgba(216, 167, 58, 0.55);
  background: rgba(216, 167, 58, 0.08);
  color: var(--saffron-amber);
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  max-width: 840px;
}
.faq-item {
  display: block;
  width: 100%;
  break-inside: avoid;
  margin: 0;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--surface-2), var(--surface) 62%);
  padding: 0;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: border-color 0.25s, background-color 0.25s;
}
.faq-item summary {
  display: grid;
  grid-template-columns: 1fr 32px;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 18px 20px;
  cursor: pointer;
  color: var(--ink-strong);
  font-size: 16px;
  font-weight: 550;
  line-height: 1.35;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(216, 167, 58, 0.28);
  color: var(--saffron-amber);
  font-size: 18px;
  line-height: 1;
}
.faq-item[open] summary::after { content: "-"; }
.faq-item[open] {
  border-color: rgba(216, 167, 58, 0.35);
  background: linear-gradient(165deg, rgba(24, 35, 26, 0.98), rgba(18, 26, 20, 0.98) 62%);
}
.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

/* ---------- Catalog product modal ---------- */
.product-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.product-actions .quote-link {
  justify-content: center;
  margin-top: 0;
  min-width: 0;
  width: 100%;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}
.product-actions .quote-link svg { flex: 0 0 auto; }
.detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 8px 13px;
  border-radius: var(--rounded-pill);
  border: 1px solid var(--line-strong);
  background: rgba(244, 239, 228, 0.04);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}

/* The capability section already contains the complete coordinated route.
   Remove the older repeated summary to keep the home-page funnel concise. */
.home-page #advantages { display: none; }

.catalog-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}
.catalog-tools--filters-only .catalog-search {
  width: 100%;
  max-width: 620px;
}
.catalog-search svg {
  position: absolute;
  inset-inline-start: 15px;
  color: var(--muted);
  pointer-events: none;
}
.catalog-search input {
  width: 100%;
  min-height: 48px;
  padding: 11px 46px 11px 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--rounded-md);
  background: rgba(244, 239, 228, 0.04);
  color: var(--ink-strong);
  font: inherit;
  font-size: 16px;
}
html[dir="rtl"] .catalog-search input { padding: 11px 44px 11px 46px; }
.catalog-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(18, 155, 67, 0.16);
}
.catalog-search input::placeholder { color: var(--muted); opacity: .82; }
/* Hide the browser's native search clear so only our × shows */
.catalog-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.catalog-search__clear {
  position: absolute;
  inset-inline-end: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s, background-color 0.15s;
}
.catalog-search__clear:hover,
.catalog-search__clear:focus-visible {
  color: var(--ink-strong);
  background: rgba(120, 120, 120, 0.16);
  outline: none;
}
.catalog-search__clear[hidden] { display: none; }
.catalog-more {
  display: flex;
  justify-content: center;
  padding: 12px 20px 72px;
}
.catalog-more .btn { min-width: 220px; justify-content: center; }
.catalog-more .btn[hidden] { display: none; }
.detail-link:hover {
  border-color: rgba(216, 167, 58, 0.55);
  color: var(--saffron-amber);
  background: rgba(216, 167, 58, 0.08);
}
body.modal-open { overflow: hidden; }
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.product-modal.is-open { display: flex; }
.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 5, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.product-modal__panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  border-radius: var(--rounded-xl);
  border: 1px solid rgba(216, 167, 58, 0.32);
  background: linear-gradient(165deg, #18231A, #0F1510 72%);
  box-shadow: var(--shadow-lift);
}
.product-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(10, 15, 11, 0.82);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.product-modal__body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  padding: 34px;
}
.product-modal__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--rounded-lg);
  background: rgba(10, 15, 11, 0.55);
}
.product-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
  transition: transform 0.24s var(--ease-expo);
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .product-modal__media { cursor: zoom-in; }
  .product-modal__media.is-zooming img { transform: scale(2.08); }
}
.product-modal__copy h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
.commercial-notes {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--rounded-md);
  border: 1px solid rgba(216, 167, 58, 0.28);
  background: rgba(216, 167, 58, 0.08);
}
.commercial-notes span {
  display: block;
  margin-bottom: 6px;
  color: var(--saffron-amber);
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.72px;
  text-transform: uppercase;
}
.commercial-notes p { color: var(--ink); font-size: 14px; margin: 0; }
.product-modal__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.product-modal__actions .btn {
  justify-content: center;
  min-height: 52px;
  min-width: 0;
  width: 100%;
  padding: 12px 18px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

/* Honeypot — visually removed, still in the form for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Thank-you page ---------- */
.thanks-hero {
  min-height: calc(100vh - 80px - 1px);
  display: grid;
  align-items: center;
  padding: 80px 0;
  position: relative;
  z-index: 1;
  text-align: center;
}
.thanks-hero .container { max-width: 720px; }
.thanks-hero .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent-dim);
}
.thanks-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.thanks-hero .lead { max-width: 520px; margin-inline: auto; }
.thanks-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-bright);
  border: 1px solid rgba(18, 155, 67, 0.45);
  background: radial-gradient(circle at 50% 35%, rgba(18, 155, 67, 0.18), rgba(18, 155, 67, 0.05));
  box-shadow: 0 0 50px rgba(18, 155, 67, 0.18);
}
.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 14vw, 9.5rem);
  font-weight: 330;
  line-height: 1;
  letter-spacing: 6px;
  margin-bottom: 10px;
  background: linear-gradient(160deg, var(--accent-bright) 10%, var(--accent-dim) 60%, rgba(12, 110, 47, 0.35));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 80px rgba(18, 155, 67, 0.25);
}

/* ---------- Footer ---------- */
/* footer-dark: caption type, 64px 24px */
.site-footer {
  position: relative;
  z-index: 1;
  background: #07110B;
  border-top: 1px solid var(--line);
  color: rgba(210, 218, 209, 0.66);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.49;
  letter-spacing: 0.28px;
  padding: 78px 0 38px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) minmax(180px, 0.95fr) minmax(220px, 1.05fr) minmax(240px, 1.15fr);
  gap: clamp(42px, 7vw, 118px);
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(244, 239, 228, 0.10);
}
.footer-brand .brand-logo { margin-bottom: 22px; }
.footer-brand .brand-logo img { height: 30px; }
.footer-brand .brand-logo .logo-mark { height: 34px; }
.footer-brand .brand-logo::before { width: 24.73px; height: 34px; }
.footer-brand .logo-text,
.footer-brand .logo-text span { color: #FFFFFF; }
.footer-brand p {
  max-width: 330px;
  margin: 0;
  color: rgba(210, 218, 209, 0.70);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

/* eyebrow-cap */
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.site-footer ul a {
  color: rgba(210, 218, 209, 0.70);
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.25;
  transition: color 0.25s, padding-left 0.3s var(--ease-expo);
}
.site-footer ul a:hover { color: var(--accent-bright); padding-left: 4px; }
.footer-address {
  max-width: 280px;
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 239, 228, 0.10);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: 0;
  color: rgba(155, 163, 176, 0.78);
}

/* micro */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 30px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  color: rgba(210, 218, 209, 0.72);
}

/* ---------- Reveal system ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(2px);
  transition:
    opacity 0.5s var(--ease-expo),
    transform 0.5s var(--ease-expo),
    filter 0.5s var(--ease-expo);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform, filter;
}
.page-hero .reveal,
.origin-home__copy.reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}
.reveal[data-r="left"]  { transform: translateX(-44px); }
.reveal[data-r="right"] { transform: translateX(44px); }
.reveal[data-r="zoom"]  { transform: scale(0.94); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; flex-wrap: wrap; }
  .bg-mandala { transform: none !important; }
  .scroll-progress { display: none; }
}

/* ---------- Language switcher ---------- */
.lang-switcher { position: relative; margin-left: auto; }
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: var(--rounded-pill);
  background: rgba(237, 242, 236, 0.04);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}
.lang-trigger:hover { border-color: var(--accent); color: var(--accent-bright); }
.lang-current { letter-spacing: 0.05em; }
.lang-caret { transition: transform 0.3s var(--ease-expo); opacity: 0.7; }
.lang-switcher.is-open .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  padding: 6px;
  display: grid;
  gap: 2px;
  background: rgba(10, 15, 11, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--rounded-lg);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease-expo);
  z-index: 80;
}
.lang-switcher.is-open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu button,
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: var(--rounded-md);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.lang-menu button:hover,
.lang-menu a:hover { background: rgba(18, 155, 67, 0.12); color: var(--accent-bright); }
.lang-menu button[aria-current="true"],
.lang-menu a[aria-current="true"] { color: var(--accent-bright); }
.lang-code {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  min-width: 22px;
}
@media (max-width: 820px) {
  .lang-switcher { margin-right: 10px; }
  .lang-trigger { padding: 9px 12px; }
}

/* ---------- Back-to-top (mobile orientation aid) ---------- */
.to-top {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 70;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: rgba(10, 15, 11, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--accent-bright);
  cursor: pointer;
  place-items: center;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  transition: opacity 0.3s var(--ease-expo), transform 0.3s var(--ease-expo);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 78px;
  z-index: 72;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 17px;
  border-radius: var(--rounded-pill);
  border: 1px solid rgba(78, 212, 127, 0.44);
  background: rgba(10, 15, 11, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--accent-bright);
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease-expo), border-color 0.25s, background-color 0.25s;
}
.wa-float:hover {
  transform: translateY(-3px);
  border-color: var(--accent-bright);
  background: rgba(11, 31, 17, 0.9);
}

.mobile-carousel-controls { display: none; }

/* ---------- Light theme surfaces ---------- */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .bg-mandala {
    mix-blend-mode: multiply;
    opacity: 0.08;
  }
  :root:not([data-theme="dark"]) .bg-vignette {
    background:
      radial-gradient(120% 90% at 50% 0%, transparent 60%, rgba(255, 255, 255, 0.74) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.20), transparent 34%, transparent 70%, rgba(255, 255, 255, 0.64));
  }
  :root:not([data-theme="dark"]) .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.84);
  }
  :root:not([data-theme="dark"]) .main-nav {
    background: transparent;
  }
  :root:not([data-theme="dark"]) .logo-text,
  :root:not([data-theme="dark"]) .logo-text span {
    color: var(--ink-strong);
  }
  :root:not([data-theme="dark"]) .section--alt {
    background:
      radial-gradient(70% 60% at 85% 12%, rgba(216, 167, 58, 0.10), transparent 55%),
      linear-gradient(180deg, rgba(247, 250, 246, 0), rgba(247, 250, 246, 0.92) 12%, rgba(247, 250, 246, 0.92) 88%, rgba(247, 250, 246, 0));
  }
  :root:not([data-theme="dark"]) .card,
  :root:not([data-theme="dark"]) .process-step,
  :root:not([data-theme="dark"]) .trust-item,
  :root:not([data-theme="dark"]) .bridge-panel,
  :root:not([data-theme="dark"]) .bridge-stat,
  :root:not([data-theme="dark"]) .contact-form,
  :root:not([data-theme="dark"]) .buyer-brief,
  :root:not([data-theme="dark"]) .lead-magnet-band,
  :root:not([data-theme="dark"]) .product-modal__panel {
    background: linear-gradient(165deg, #FFFFFF, #F3F7F1 66%);
  }
  :root:not([data-theme="dark"]) .lang-menu {
    background: rgba(255, 255, 255, 0.94);
  }
  :root:not([data-theme="dark"]) .site-footer {
    background: #07110B;
  }
  :root:not([data-theme="dark"]) .to-top,
  :root:not([data-theme="dark"]) .wa-float {
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 30px rgba(17, 35, 23, 0.14);
  }
  :root:not([data-theme="dark"]) .trust-section {
    background:
      radial-gradient(70% 62% at 50% 4%, rgba(216, 167, 58, 0.10), transparent 58%),
      linear-gradient(180deg, rgba(247, 250, 246, 0.92), rgba(255, 255, 255, 0.98));
  }
  :root:not([data-theme="dark"]) .trust-section .section-head h2,
  :root:not([data-theme="dark"]) .trust-item h3 {
    color: var(--ink-strong);
  }
  :root:not([data-theme="dark"]) .trust-section .section-head p,
  :root:not([data-theme="dark"]) .trust-item p {
    color: var(--muted);
  }
  :root:not([data-theme="dark"]) .trust-item span {
    color: #8A650F;
    border-color: rgba(216, 167, 58, 0.42);
    background: rgba(216, 167, 58, 0.11);
  }
  :root:not([data-theme="dark"]) .cta-band {
    color: #122018;
    background:
      radial-gradient(circle at 88% 18%, rgba(216, 167, 58, 0.16), transparent 38%),
      linear-gradient(145deg, #FFFFFF 0%, #F8FBF6 58%, #EEF5EC 100%);
    background-color: #FFFFFF;
    border-color: rgba(21, 91, 48, 0.18);
    box-shadow: 0 22px 60px rgba(17, 35, 23, 0.12);
  }
  :root:not([data-theme="dark"]) .cta-band::before {
    background: radial-gradient(circle, rgba(18, 155, 67, 0.12), transparent 66%);
  }
  :root:not([data-theme="dark"]) .cta-band::after {
    background: radial-gradient(circle, rgba(216, 167, 58, 0.16), transparent 64%);
  }
  :root:not([data-theme="dark"]) .cta-band h2 {
    color: #102017;
  }
  :root:not([data-theme="dark"]) .cta-band p {
    color: #526357;
  }
  :root:not([data-theme="dark"]) .cta-band .accent-i {
    color: #A36A08;
  }
  :root:not([data-theme="dark"]) .cta-band .eyebrow {
    color: #0F7F3A;
  }
  :root:not([data-theme="dark"]) .product-modal__close {
    color: #102017;
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(22, 55, 32, 0.22);
    box-shadow: 0 14px 30px rgba(17, 35, 23, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }
  :root:not([data-theme="dark"]) .product-modal__close:hover,
  :root:not([data-theme="dark"]) .product-modal__close:focus-visible {
    color: #07130A;
    background: #EAF4ED;
    border-color: rgba(15, 127, 58, 0.36);
    box-shadow: 0 16px 34px rgba(17, 35, 23, 0.18), 0 0 0 3px rgba(18, 155, 67, 0.14);
  }
  :root:not([data-theme="dark"]) .contact-form .form-field input,
  :root:not([data-theme="dark"]) .contact-form .form-field select,
  :root:not([data-theme="dark"]) .contact-form .form-field textarea {
    color: #102017;
    background-color: #FFFFFF;
    border-color: rgba(22, 55, 32, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 1px 2px rgba(17, 35, 23, 0.04);
  }
  :root:not([data-theme="dark"]) .contact-form .form-field input::placeholder,
  :root:not([data-theme="dark"]) .contact-form .form-field textarea::placeholder {
    color: #708074;
    opacity: 1;
  }
  :root:not([data-theme="dark"]) .contact-form .form-field select {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M3 5l4 4 4-4" fill="none" stroke="%23586658" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  }
  :root:not([data-theme="dark"]) .contact-form .form-field select option {
    color: #102017;
    background: #FFFFFF;
  }
  :root:not([data-theme="dark"]) .contact-form .form-field input:focus,
  :root:not([data-theme="dark"]) .contact-form .form-field select:focus,
  :root:not([data-theme="dark"]) .contact-form .form-field textarea:focus {
    background-color: #FFFFFF;
    border-color: #11823D;
    box-shadow: 0 0 0 3px rgba(18, 155, 67, 0.16), 0 10px 24px rgba(17, 35, 23, 0.08);
  }
  :root:not([data-theme="dark"]) .contact-form .form-advanced {
    background: rgba(255, 252, 242, 0.86);
    border-color: rgba(216, 167, 58, 0.38);
  }
  :root:not([data-theme="dark"]) .contact-form .form-advanced[open] {
    background: #FFFDF7;
    border-color: rgba(216, 167, 58, 0.52);
  }
  :root:not([data-theme="dark"]) .contact-form .form-advanced[open] summary {
    border-bottom-color: rgba(216, 167, 58, 0.24);
  }
}

:root[data-theme="light"] .bg-mandala {
  mix-blend-mode: multiply;
  opacity: 0.08;
}
:root[data-theme="light"] .bg-vignette {
  background:
    radial-gradient(120% 90% at 50% 0%, transparent 60%, rgba(255, 255, 255, 0.74) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.20), transparent 34%, transparent 70%, rgba(255, 255, 255, 0.64));
}
:root[data-theme="light"] .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.84);
}
:root[data-theme="light"] .main-nav {
  background: transparent;
}
:root[data-theme="light"] .logo-text,
:root[data-theme="light"] .logo-text span {
  color: var(--ink-strong);
}
:root[data-theme="light"] .section--alt {
  background:
    radial-gradient(70% 60% at 85% 12%, rgba(216, 167, 58, 0.10), transparent 55%),
    linear-gradient(180deg, rgba(247, 250, 246, 0), rgba(247, 250, 246, 0.92) 12%, rgba(247, 250, 246, 0.92) 88%, rgba(247, 250, 246, 0));
}
:root[data-theme="light"] .card,
:root[data-theme="light"] .process-step,
:root[data-theme="light"] .trust-item,
:root[data-theme="light"] .bridge-panel,
:root[data-theme="light"] .bridge-stat,
:root[data-theme="light"] .contact-form,
:root[data-theme="light"] .buyer-brief,
:root[data-theme="light"] .lead-magnet-band,
:root[data-theme="light"] .product-modal__panel {
  background: linear-gradient(165deg, #FFFFFF, #F3F7F1 66%);
}
:root[data-theme="light"] .lang-menu {
  background: rgba(255, 255, 255, 0.94);
}
:root[data-theme="light"] .site-footer {
  background: #07110B;
}
:root[data-theme="light"] .to-top,
:root[data-theme="light"] .wa-float {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(17, 35, 23, 0.14);
}
:root[data-theme="light"] .trust-section {
  background:
    radial-gradient(70% 62% at 50% 4%, rgba(216, 167, 58, 0.10), transparent 58%),
    linear-gradient(180deg, rgba(247, 250, 246, 0.92), rgba(255, 255, 255, 0.98));
}
:root[data-theme="light"] .trust-section .section-head h2,
:root[data-theme="light"] .trust-item h3 {
  color: var(--ink-strong);
}
:root[data-theme="light"] .trust-section .section-head p,
:root[data-theme="light"] .trust-item p {
  color: var(--muted);
}
:root[data-theme="light"] .trust-item span {
  color: #8A650F;
  border-color: rgba(216, 167, 58, 0.42);
  background: rgba(216, 167, 58, 0.11);
}
:root[data-theme="light"] .cta-band {
  color: #122018;
  background:
    radial-gradient(circle at 88% 18%, rgba(216, 167, 58, 0.16), transparent 38%),
    linear-gradient(145deg, #FFFFFF 0%, #F8FBF6 58%, #EEF5EC 100%);
  background-color: #FFFFFF;
  border-color: rgba(21, 91, 48, 0.18);
  box-shadow: 0 22px 60px rgba(17, 35, 23, 0.12);
}
:root[data-theme="light"] .cta-band::before {
  background: radial-gradient(circle, rgba(18, 155, 67, 0.12), transparent 66%);
}
:root[data-theme="light"] .cta-band::after {
  background: radial-gradient(circle, rgba(216, 167, 58, 0.16), transparent 64%);
}
:root[data-theme="light"] .cta-band h2 {
  color: #102017;
}
:root[data-theme="light"] .cta-band p {
  color: #526357;
}
:root[data-theme="light"] .cta-band .accent-i {
  color: #A36A08;
}
:root[data-theme="light"] .cta-band .eyebrow {
  color: #0F7F3A;
}

:root[data-theme="light"] .product-modal__close {
  color: #102017;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(22, 55, 32, 0.22);
  box-shadow: 0 14px 30px rgba(17, 35, 23, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}
:root[data-theme="light"] .product-modal__close:hover,
:root[data-theme="light"] .product-modal__close:focus-visible {
  color: #07130A;
  background: #EAF4ED;
  border-color: rgba(15, 127, 58, 0.36);
  box-shadow: 0 16px 34px rgba(17, 35, 23, 0.18), 0 0 0 3px rgba(18, 155, 67, 0.14);
}

:root[data-theme="light"] .contact-form .form-field input,
:root[data-theme="light"] .contact-form .form-field select,
:root[data-theme="light"] .contact-form .form-field textarea {
  color: #102017;
  background-color: #FFFFFF;
  border-color: rgba(22, 55, 32, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 1px 2px rgba(17, 35, 23, 0.04);
}
:root[data-theme="light"] .contact-form .form-field input::placeholder,
:root[data-theme="light"] .contact-form .form-field textarea::placeholder {
  color: #708074;
  opacity: 1;
}
:root[data-theme="light"] .contact-form .form-field select {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M3 5l4 4 4-4" fill="none" stroke="%23586658" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}
:root[data-theme="light"] .contact-form .form-field select option {
  color: #102017;
  background: #FFFFFF;
}
:root[data-theme="light"] .contact-form .form-field input:focus,
:root[data-theme="light"] .contact-form .form-field select:focus,
:root[data-theme="light"] .contact-form .form-field textarea:focus {
  background-color: #FFFFFF;
  border-color: #11823D;
  box-shadow: 0 0 0 3px rgba(18, 155, 67, 0.16), 0 10px 24px rgba(17, 35, 23, 0.08);
}
:root[data-theme="light"] .contact-form .form-advanced {
  background: rgba(255, 252, 242, 0.86);
  border-color: rgba(216, 167, 58, 0.38);
}
:root[data-theme="light"] .contact-form .form-advanced[open] {
  background: #FFFDF7;
  border-color: rgba(216, 167, 58, 0.52);
}
:root[data-theme="light"] .contact-form .form-advanced[open] summary {
  border-bottom-color: rgba(216, 167, 58, 0.24);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .btn--primary {
    color: #FFFFFF;
  }
}

:root[data-theme="light"] .btn--primary {
  color: #FFFFFF;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .site-footer .logo-text,
  :root:not([data-theme="dark"]) .site-footer .logo-text span {
    color: #FFFFFF;
  }
  :root:not([data-theme="dark"]) .site-footer h4 {
    color: #20B956;
  }
}

:root[data-theme="light"] .site-footer .logo-text,
:root[data-theme="light"] .site-footer .logo-text span {
  color: #FFFFFF;
}
:root[data-theme="light"] .site-footer h4 {
  color: #20B956;
}

@media (max-width: 820px) {
  .to-top { display: grid; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .section { padding: 88px 0; }
  .hero-grid { gap: 48px; }
  .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .value-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .buyer-grid { grid-template-columns: 1fr; }
  .order-timeline { grid-template-columns: repeat(3, 1fr); }
  .split, .split--reverse { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 58px 44px; }
}

/* Shared funnel refinements: less repetition on the home page, clearer form
   priority on small screens, and touch-safe controls in every locale. */
.home-page .simplified-section { padding-block: clamp(58px, 6vw, 82px); }

@media (max-width: 820px) {
  .contact-grid { display: flex; flex-direction: column; }
  .contact-grid > .contact-form { order: -1; }
  .contact-grid > .contact-info { order: 1; }

  .nav-toggle,
  .theme-toggle {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
  .lang-trigger { min-height: 44px; }
  .lang-menu a,
  .lang-menu button { min-height: 44px; padding-block: 10px; }
  .catalog-filter-toggle,
  .catalog-clear,
  .catalog-filter button,
  .detail-link,
  .quote-link { min-height: 44px; }
  .form-field input,
  .form-field select { min-height: 48px; }

  .page-hero h1 { font-size: clamp(2.45rem, 11vw, 3.25rem); line-height: 1.02; }
  .home-page .origin-home__copy h1 { font-size: clamp(2.55rem, 12vw, 3.2rem); line-height: 1; }
  .page-hero .lead,
  .section-head p,
  .img-card figcaption p,
  .contact-channel p { font-size: 16px; }

  .catalog-more { padding-bottom: 56px; }
  .catalog-more .btn { width: 100%; }
}

/* Collapse to hamburger nav early enough that longer translated
   labels (ES/FR/RU) never overflow the header. */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(10, 15, 11, 0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 26px;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.45);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a:not(.btn) { padding: 13px 16px; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .lang-switcher { margin-right: 10px; }
  .company-hero { padding: 104px 0 72px; }
  .bridge-grid { grid-template-columns: 1fr; }
  .bridge-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) and (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .main-nav {
    background: rgba(255, 255, 255, 0.94);
  }
}

@media (max-width: 1024px) {
  :root[data-theme="light"] .main-nav {
    background: rgba(255, 255, 255, 0.94);
  }
}

@media (max-width: 820px) {
  .hero--video { min-height: max(84vh, 560px); padding: 120px 0 80px; }
  .hero--video h1 { letter-spacing: 0.5px; }

  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse > .split-media { order: 0; }

  .figure-panel { grid-template-columns: 1fr; padding: 34px 26px; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .catalog-tools { grid-template-columns: 1fr; align-items: stretch; }
  .catalog-filter { justify-content: flex-start; }
  .buyer-hero-grid,
  .lead-magnet-band,
  .product-modal__body { grid-template-columns: 1fr; }
  .product-modal__panel { max-height: 88vh; }

  .bg-mandala--2 { display: none; }
}

@media (max-width: 600px) {
  /* ---- Tighter vertical rhythm: shorter pages ---- */
  .section { padding: 50px 0; }
  .section[style*="padding-top: 0"] { padding-top: 0 !important; }
  .container { width: calc(100% - 40px); }
  .section-head { margin-bottom: 28px; }
  .page-hero { padding: 92px 0 36px; }
  .page-hero--with-cards { padding-bottom: 50px; }
  .page-hero--with-cards .packaging-format-grid { margin-top: 30px; }
  .split, .split--reverse { gap: 28px; }
  .split-copy .checklist { margin-top: 20px; }
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }
  .info-table th {
    padding-bottom: 6px;
    border-bottom: 0;
  }
  .info-table td {
    padding-top: 0;
  }
  .figure-panel { padding: 28px 22px; gap: 26px; }
  .site-footer { margin-top: 0; padding: 48px 0 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 38px; }
  .cta-band { padding: 40px 26px; }
  .cta-band h2 { margin-bottom: 8px; }
  .trust-grid { grid-template-columns: 1fr; gap: 14px; }
  .company-hero { padding: 88px 0 58px; }
  .capability-chips { gap: 10px; }
  .capability-chip {
    width: 100%;
    justify-content: flex-start;
  }
  .hero-meta--compact { gap: 12px; }
  .hero-meta--compact div { width: 100%; }
  .bridge-stats { grid-template-columns: 1fr; }
  .trust-item { padding: 24px 22px; }
  .buyer-brief,
  .lead-magnet-band,
  .product-modal__body { padding: 24px 20px; }
  .buyer-visual,
  .document-visual { margin-bottom: 20px; }
  .buyer-visual figcaption,
  .document-visual figcaption {
    position: static;
    margin: 0;
    border-width: 1px 0 0;
    border-radius: 0;
    background: rgba(10, 15, 11, 0.84);
  }
  .order-timeline { grid-template-columns: 1fr; }
  .faq-grid {
    max-width: none;
  }
  .lead-actions a {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .product-modal {
    align-items: stretch;
    padding: 0;
  }
  .product-modal__panel {
    width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    border-width: 0;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }
  .product-modal__close {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 180;
    background: rgba(10, 15, 11, 0.86);
  }
  .product-modal__body {
    min-height: 0;
    gap: 14px;
    padding: 14px 16px 0;
  }
  .product-modal__media {
    aspect-ratio: 16 / 10;
    margin: 44px -16px 0;
    border-radius: 0;
    cursor: zoom-in;
  }
  .product-modal__media::after {
    content: "Tap to enlarge";
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 11px;
    border-radius: var(--rounded-pill);
    background: rgba(10, 15, 11, 0.68);
    color: var(--ink);
    font-size: 12px;
    font-weight: 550;
    pointer-events: none;
  }
  .product-modal.is-image-expanded .product-modal__media {
    position: fixed;
    inset: 0;
    z-index: 170;
    margin: 0;
    width: 100%;
    height: 100dvh;
    aspect-ratio: auto;
    border-radius: 0;
    background: rgba(4, 8, 5, 0.96);
    cursor: zoom-out;
  }
  .product-modal.is-image-expanded .product-modal__media img {
    object-fit: contain;
    padding: 18px;
  }
  .product-modal.is-image-expanded .product-modal__media::after {
    content: "Tap to close";
  }
  .product-modal__copy {
    padding-bottom: 0;
  }
  .product-modal__copy h2 {
    font-size: clamp(1.65rem, 7.4vw, 2.2rem);
    line-height: 1.08;
  }
  .product-modal__specs div {
    grid-template-columns: 88px 1fr;
    gap: 10px;
  }
  .commercial-notes {
    display: none;
  }
  .product-modal__actions {
    position: sticky;
    bottom: 0;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 16px -16px 0;
    padding: 12px 16px max(16px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(10, 15, 11, 0.88);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
  .product-modal__actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 50px;
    padding-inline: 12px;
  }
  .product-actions { display: grid; grid-template-columns: 1fr; }
  .product-actions .quote-link,
  .detail-link { justify-content: center; width: 100%; }
  .wa-float {
    right: 14px;
    bottom: 72px;
    min-height: 46px;
    padding: 11px 14px;
  }
  .wa-float span { display: none; }

  .form-grid { grid-template-columns: 1fr; }
  .form-advanced summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-right: 58px;
    position: relative;
  }
  .form-advanced summary small {
    max-width: none;
    text-align: left;
  }
  .form-advanced summary::after {
    position: absolute;
    top: 14px;
    right: 16px;
  }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .brand-logo img { height: 28px; }
  .brand-logo .logo-mark { height: 32px; }
  .brand-logo::before { width: 23.27px; height: 32px; }
  .logo-text strong { font-size: 15px; letter-spacing: 2.6px; }
  .logo-text span { font-size: 10px; letter-spacing: 4.4px; }
  .marquee li { font-size: 16px; gap: 26px; padding-right: 26px; }

  /* ---- Compact hero ---- */
  .hero--video { min-height: 74vh; padding: 100px 0 60px; }
  .hero--video h1 { font-size: clamp(2.05rem, 8.4vw, 2.9rem); line-height: 1.08; }
  .hero-meta { gap: 18px 34px; margin-top: 30px; padding-top: 22px; }

  .reveal,
  .reveal[data-r="left"],
  .reveal[data-r="right"],
  .reveal[data-r="zoom"] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  /* ---- Card collections → horizontal swipe carousels ---- */
  /* One swipeable row instead of a tall stack. The peek of the next
     card signals there's more, dramatically shortening each page. */
  .card-grid,
  .card-grid--2,
  .card-grid--4,
  .process-grid,
  .value-strip,
  .trust-grid,
  .order-timeline {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    margin-inline: -20px;          /* bleed to screen edges */
    padding: 4px 20px 14px;        /* gutter + room for snap */
    scrollbar-width: none;
  }
  .mobile-carousel-track.is-enhanced-mobile-carousel {
    overflow-x: hidden;
    touch-action: pan-y;
  }
  .card-grid::-webkit-scrollbar,
  .card-grid--2::-webkit-scrollbar,
  .card-grid--4::-webkit-scrollbar,
  .process-grid::-webkit-scrollbar,
  .value-strip::-webkit-scrollbar,
  .trust-grid::-webkit-scrollbar,
  .order-timeline::-webkit-scrollbar { display: none; }

  .card-grid > *,
  .card-grid--2 > *,
  .card-grid--4 > *,
  .process-grid > *,
  .value-strip > *,
  .trust-grid > *,
  .order-timeline > * {
    flex: 0 0 80%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  /* slightly wider single-spec cards so text isn't cramped */
  .card-grid--2 > * { flex-basis: 84%; }

  .mobile-carousel-controls {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 12px;
    margin: 4px 0 22px;
  }
  .mobile-carousel-controls[hidden] { display: none !important; }
  .mobile-carousel-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(216, 167, 58, 0.34);
    background: rgba(244, 239, 228, 0.05);
    color: var(--saffron-amber);
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s, opacity 0.2s;
  }
  .mobile-carousel-btn:disabled {
    opacity: 0.34;
    cursor: default;
  }
  .mobile-carousel-meter {
    height: 3px;
    border-radius: var(--rounded-pill);
    overflow: hidden;
    background: rgba(244, 239, 228, 0.10);
  }
  .mobile-carousel-meter span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--saffron-amber));
    transform: scaleX(0.25);
    transform-origin: 0 50%;
    transition: transform 0.24s var(--ease-expo);
  }

  @media (hover: none) {
    .btn:hover,
    .card:hover,
    .img-card:hover,
    .process-step:hover,
    .contact-channel:hover,
    .quote-link:hover,
    .detail-link:hover,
    .wa-float:hover {
      transform: none;
    }
    .img-card:hover img { transform: none; }
  }

  /* tame oversized card padding on phones */
  .card, .process-step { padding: 26px 24px; }
  .img-card figcaption { padding: 20px 22px 24px; }
}


/* Editorial serif system — Georgia */
.logo-text,
.language-welcome__brand,
.language-welcome__code,
.lang-code {
  font-family: Georgia, "Times New Roman", serif;
}

.main-nav,
.btn,
button,
input,
textarea,
select,
.eyebrow,
.origin-product-card__origin,
.product-kicker,
.badge,
.tag,
.lang-switcher {
  font-family: var(--font-body);
}

h1, h2, .hero-title, .origin-home__copy h1 {
  text-wrap: balance;
}

/* ============================================================
   Arabic RTL + first-visit language selection
   ============================================================ */
html[dir="rtl"] {
  --font-display: "Tajawal", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  --font-body: "Tajawal", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}
html[dir="rtl"] body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  font-family: var(--font-body);
}
/* Arabic UI/content uses Tajawal; the Latin wordmark remains Georgia. */
html[dir="rtl"] .logo-text {
  font-family: Georgia, "Times New Roman", serif;
}
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .header-inner,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .footer-bottom,
html[dir="rtl"] .origin-commercial-note,
html[dir="rtl"] .section-head,
html[dir="rtl"] .catalog-toolbar,
html[dir="rtl"] .product-meta,
html[dir="rtl"] .contact-method,
html[dir="rtl"] .form-row { direction: rtl; }
html[dir="rtl"] .brand-logo,
html[dir="rtl"] .lang-switcher,
html[dir="rtl"] .language-welcome__option,
html[dir="rtl"] a[href^="mailto:"],
html[dir="rtl"] a[href^="tel:"],
html[dir="rtl"] .phone,
html[dir="rtl"] .lang-code,
html[dir="rtl"] .language-welcome__code { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .lang-switcher { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .lang-menu { right: auto; left: 0; text-align: right; }
html[dir="rtl"] .lang-menu button,
html[dir="rtl"] .lang-menu a { text-align: right; }
html[dir="rtl"] .nav-links,
html[dir="rtl"] .footer-grid,
html[dir="rtl"] .process-grid,
html[dir="rtl"] .trust-grid,
html[dir="rtl"] .bridge-grid,
html[dir="rtl"] .origin-products__grid { direction: rtl; }
html[dir="rtl"] .btn svg:not(.no-rtl-flip),
html[dir="rtl"] .origin-card__link svg { transform: scaleX(-1); }
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select { text-align: right; }
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="tel"] { direction: ltr; text-align: left; }
html[dir="rtl"] .origin-map,
html[dir="rtl"] video,
html[dir="rtl"] picture,
html[dir="rtl"] img { direction: ltr; }
html.language-dialog-open { overflow: hidden; }

.language-welcome {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(4, 8, 5, 0.78);
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.language-welcome.is-visible { opacity: 1; }
.language-welcome.is-closing { opacity: 0; }
.language-welcome__panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(19,28,21,0.98), rgba(8,14,10,0.98));
  box-shadow: 0 32px 90px rgba(0,0,0,0.5);
  text-align: center;
  color: #f6f3e9;
  transform: translateY(18px) scale(0.985);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1);
}
.language-welcome.is-visible .language-welcome__panel { transform: none; }
.language-welcome__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
html[dir="rtl"] .language-welcome__close { right: auto; left: 18px; }
.language-welcome__close:hover { background: rgba(255,255,255,0.1); }
.language-welcome__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 0 auto 24px;
  direction: ltr;
  unicode-bidi: isolate;
}
.language-welcome__brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.language-welcome__brand span {
  display: grid;
  gap: 4px;
  text-align: left;
  line-height: 1;
}
.language-welcome__brand strong {
  color: #fff;
  font: 700 17px/1 Georgia, "Times New Roman", serif;
  letter-spacing: .18em;
}
.language-welcome__brand small {
  color: rgba(255,255,255,.72);
  font: 600 10px/1 Georgia, "Times New Roman", serif;
  letter-spacing: .36em;
}
.language-welcome h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(29px, 5vw, 44px);
  line-height: 1.08;
}
.language-welcome__lead {
  max-width: 500px;
  margin: 15px auto 28px;
  color: rgba(255,255,255,0.68);
  font-size: 15px;
  line-height: 1.7;
}
.language-welcome__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}
.language-welcome__option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 15px;
  background: rgba(255,255,255,0.035);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.language-welcome__option:hover,
.language-welcome__option:focus-visible {
  border-color: rgba(205,169,88,0.72);
  background: rgba(205,169,88,0.1);
  transform: translateY(-1px);
  outline: none;
}
.language-welcome__option.is-suggested::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d2ac58;
  box-shadow: 0 0 0 4px rgba(210,172,88,0.12);
}
html[dir="rtl"] .language-welcome__option.is-suggested::after { right: auto; left: 10px; }
.language-welcome__code {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 31px;
  border-radius: 9px;
  background: rgba(255,255,255,0.07);
  color: #d4b36c;
  font: 700 11px/1 Georgia, "Times New Roman", serif;
  letter-spacing: .08em;
}
.language-welcome__option strong { font-size: 15px; font-weight: 650; }
@media (max-width: 560px) {
  .language-welcome { padding: 12px; align-items: end; }
  .language-welcome__panel { width: 100%; max-height: calc(100vh - 24px); padding: 34px 18px 20px; border-radius: 24px; }
  .language-welcome__options { grid-template-columns: 1fr; gap: 8px; }
  .language-welcome__option { min-height: 52px; }
  .language-welcome__lead { margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .language-welcome,
  .language-welcome__panel,
  .language-welcome__option { transition: none !important; }
}

.language-welcome__option[lang="ar"] strong { direction: rtl; unicode-bidi: isolate; }

/* ============================================================
   Exact Georgia enforcement — all non-Arabic interface/content
   Loaded after the complete design system to prevent overrides.
   ============================================================ */
html:not([dir="rtl"]) body,
html:not([dir="rtl"]) body *,
html:not([dir="rtl"]) body *::before,
html:not([dir="rtl"]) body *::after,
html:not([dir="rtl"]) svg text {
  font-family: Georgia, "Times New Roman", serif !important;
}

html:not([dir="rtl"]) body {
  font-weight: 400;
  font-synthesis: none;
  font-kerning: normal;
}

html:not([dir="rtl"]) h1,
html:not([dir="rtl"]) h2,
html:not([dir="rtl"]) h3,
html:not([dir="rtl"]) h4,
html:not([dir="rtl"]) strong,
html:not([dir="rtl"]) b,
html:not([dir="rtl"]) .btn,
html:not([dir="rtl"]) button,
html:not([dir="rtl"]) .main-nav,
html:not([dir="rtl"]) .eyebrow,
html:not([dir="rtl"]) .origin-product-card__origin,
html:not([dir="rtl"]) .product-kicker,
html:not([dir="rtl"]) .badge,
html:not([dir="rtl"]) .tag {
  font-weight: 700;
}

html:not([dir="rtl"]) p,
html:not([dir="rtl"]) li,
html:not([dir="rtl"]) input,
html:not([dir="rtl"]) textarea,
html:not([dir="rtl"]) select,
html:not([dir="rtl"]) label {
  font-weight: 400;
}

html:not([dir="rtl"]) .accent-i,
html:not([dir="rtl"]) em,
html:not([dir="rtl"]) i {
  font-family: Georgia, "Times New Roman", serif !important;
  font-style: italic;
}

/* Arabic remains Tajawal. */
html[dir="rtl"] body,
html[dir="rtl"] body *,
html[dir="rtl"] body *::before,
html[dir="rtl"] body *::after,
html[dir="rtl"] svg text {
  font-family: "Tajawal", "Noto Sans Arabic", Tahoma, Arial, sans-serif !important;
}
html[dir="rtl"] .logo-text,
html[dir="rtl"] .language-welcome__code,
html[dir="rtl"] .lang-code {
  font-family: Georgia, "Times New Roman", serif !important;
}

/* Restore the original Brand Ticaret wordmark typography. */
.logo-text,
.logo-text strong,
.logo-text span,
html[dir="rtl"] .logo-text,
html[dir="rtl"] .logo-text strong,
html[dir="rtl"] .logo-text span {
  font-family: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-synthesis: none;
}


/* 2026-07-13: catalog cards link back to product detail pages */
.catalog-product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(128, 145, 132, 0.24);
  color: var(--green, #12a34a);
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}
.catalog-product-link::after {
  content: "→";
  line-height: 1;
}
.catalog-product-link:hover,
.catalog-product-link:focus-visible {
  color: #43d878;
  transform: translateX(3px);
  outline: none;
}
html[dir="rtl"] .catalog-product-link::after {
  content: "←";
}
html[dir="rtl"] .catalog-product-link:hover,
html[dir="rtl"] .catalog-product-link:focus-visible {
  transform: translateX(-3px);
}


/* 2026-07-13: Josefin Sans body typography */
:root {
  --font-body: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
}

/* Apply Josefin Sans to all non-Arabic interface and body copy. */
html:not([dir="rtl"]) body,
html:not([dir="rtl"]) body *,
html:not([dir="rtl"]) body *::before,
html:not([dir="rtl"]) body *::after,
html:not([dir="rtl"]) svg text {
  font-family: "Josefin Sans", "Helvetica Neue", Arial, sans-serif !important;
}

html:not([dir="rtl"]) body {
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.005em;
}

/* Keep the editorial Georgia treatment for headings and emphasized display copy. */
html:not([dir="rtl"]) h1,
html:not([dir="rtl"]) h2,
html:not([dir="rtl"]) h3,
html:not([dir="rtl"]) h4,
html:not([dir="rtl"]) h5,
html:not([dir="rtl"]) h6,
html:not([dir="rtl"]) .hero-title,
html:not([dir="rtl"]) .product-title,
html:not([dir="rtl"]) .catalog-title,
html:not([dir="rtl"]) .accent-i,
html:not([dir="rtl"]) em,
html:not([dir="rtl"]) i {
  font-family: Georgia, "Times New Roman", serif !important;
}

/* Preserve the original Brand Ticaret wordmark typography. */
.logo-text,
.logo-text strong,
.logo-text span,
.language-welcome__brand strong,
.language-welcome__brand small,
html[dir="rtl"] .logo-text,
html[dir="rtl"] .logo-text strong,
html[dir="rtl"] .logo-text span {
  font-family: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* Arabic content remains Tajawal, including the Arabic option in the welcome dialog. */
html[dir="rtl"] body,
html[dir="rtl"] body *,
html[dir="rtl"] body *::before,
html[dir="rtl"] body *::after,
html[dir="rtl"] svg text,
.language-welcome__option[lang="ar"] strong {
  font-family: "Tajawal", "Noto Sans Arabic", Tahoma, Arial, sans-serif !important;
}

/* 2026-07-13: readable sourcing components in light mode */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .sourcing-page .buyer-card,
  :root:not([data-theme="dark"]) .sourcing-page .document-card,
  :root:not([data-theme="dark"]) .sourcing-page .timeline-step {
    border-color: rgba(20, 82, 43, 0.16);
    background: linear-gradient(155deg, #ffffff 0%, #eef4ec 100%);
    box-shadow: 0 14px 34px rgba(24, 49, 31, 0.08);
  }

  :root:not([data-theme="dark"]) .sourcing-page .buyer-card h3,
  :root:not([data-theme="dark"]) .sourcing-page .document-card h3,
  :root:not([data-theme="dark"]) .sourcing-page .timeline-step h3 {
    color: #102017;
  }

  :root:not([data-theme="dark"]) .sourcing-page .buyer-card p,
  :root:not([data-theme="dark"]) .sourcing-page .document-card p,
  :root:not([data-theme="dark"]) .sourcing-page .timeline-step p {
    color: #526357;
  }

  :root:not([data-theme="dark"]) .sourcing-page .document-visual {
    border-color: rgba(154, 105, 13, 0.2);
    background: #f5f7f3;
    box-shadow: 0 16px 38px rgba(24, 49, 31, 0.09);
  }

  :root:not([data-theme="dark"]) .sourcing-page .document-visual figcaption {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(7, 17, 11, 0.84);
    color: #f6faf4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  }

  :root:not([data-theme="dark"]) .sourcing-page .faq-item {
    border-color: rgba(20, 82, 43, 0.16);
    background: linear-gradient(165deg, #ffffff 0%, #f2f7f0 100%);
    box-shadow: 0 12px 30px rgba(24, 49, 31, 0.08);
  }

  :root:not([data-theme="dark"]) .sourcing-page .faq-item[open] {
    border-color: rgba(166, 111, 10, 0.3);
    background: linear-gradient(165deg, #fffefb 0%, #f8f2e5 100%);
  }

  :root:not([data-theme="dark"]) .sourcing-page .faq-item summary {
    color: #102017;
  }

  :root:not([data-theme="dark"]) .sourcing-page .faq-item p {
    color: #526357;
  }
}

:root[data-theme="light"] .sourcing-page .buyer-card,
:root[data-theme="light"] .sourcing-page .document-card,
:root[data-theme="light"] .sourcing-page .timeline-step {
  border-color: rgba(20, 82, 43, 0.16);
  background: linear-gradient(155deg, #ffffff 0%, #eef4ec 100%);
  box-shadow: 0 14px 34px rgba(24, 49, 31, 0.08);
}

:root[data-theme="light"] .sourcing-page .buyer-card h3,
:root[data-theme="light"] .sourcing-page .document-card h3,
:root[data-theme="light"] .sourcing-page .timeline-step h3 {
  color: #102017;
}

:root[data-theme="light"] .sourcing-page .buyer-card p,
:root[data-theme="light"] .sourcing-page .document-card p,
:root[data-theme="light"] .sourcing-page .timeline-step p {
  color: #526357;
}

:root[data-theme="light"] .sourcing-page .document-visual {
  border-color: rgba(154, 105, 13, 0.2);
  background: #f5f7f3;
  box-shadow: 0 16px 38px rgba(24, 49, 31, 0.09);
}

:root[data-theme="light"] .sourcing-page .document-visual figcaption {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(7, 17, 11, 0.84);
  color: #f6faf4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

:root[data-theme="light"] .sourcing-page .faq-item {
  border-color: rgba(20, 82, 43, 0.16);
  background: linear-gradient(165deg, #ffffff 0%, #f2f7f0 100%);
  box-shadow: 0 12px 30px rgba(24, 49, 31, 0.08);
}

:root[data-theme="light"] .sourcing-page .faq-item[open] {
  border-color: rgba(166, 111, 10, 0.3);
  background: linear-gradient(165deg, #fffefb 0%, #f8f2e5 100%);
}

:root[data-theme="light"] .sourcing-page .faq-item summary {
  color: #102017;
}

:root[data-theme="light"] .sourcing-page .faq-item p {
  color: #526357;
}

/* 2026-07-13: mobile light-mode catalog modal contrast and wrapping. */
@media (max-width: 600px) and (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .product-modal__actions {
    border-top-color: rgba(21, 91, 48, 0.16);
    background: rgba(247, 250, 246, 0.96);
    box-shadow: 0 -14px 34px rgba(17, 35, 23, 0.1);
  }

  :root:not([data-theme="dark"]) .product-modal__actions .btn--ghost {
    color: #0b6f33;
    border-color: rgba(15, 127, 58, 0.3);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 35, 23, 0.07);
  }
}

@media (max-width: 600px) {
  :root[data-theme="light"] .product-modal__actions {
    border-top-color: rgba(21, 91, 48, 0.16);
    background: rgba(247, 250, 246, 0.96);
    box-shadow: 0 -14px 34px rgba(17, 35, 23, 0.1);
  }

  :root[data-theme="light"] .product-modal__actions .btn--ghost {
    color: #0b6f33;
    border-color: rgba(15, 127, 58, 0.3);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 35, 23, 0.07);
  }

  .product-modal__specs div {
    grid-template-columns: minmax(104px, 0.42fr) minmax(0, 1fr);
    gap: 10px;
  }

  .product-modal__specs dt,
  .product-modal__specs dd {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 350px) {
  .product-modal__actions,
  .product-modal__specs div {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-modal__specs div { gap: 4px; }
}
/* Static Arabic locale */
html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="rtl"] .header-inner,
html[dir="rtl"] .main-nav,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .footer-bottom,
html[dir="rtl"] .commerce-breadcrumb { flex-direction: row-reverse; }
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="url"],
html[dir="rtl"] a[href^="mailto:"],
html[dir="rtl"] a[href^="tel:"] { direction: ltr; text-align: left; unicode-bidi: isolate; }

/* Desktop Arabic header: logo starts at the right, navigation follows in
   reading order, and utility controls finish at the left. */
@media (min-width: 821px) {
  html[dir="rtl"] .header-inner {
    direction: rtl;
    flex-direction: row;
  }
  html[dir="rtl"] .header-inner > .brand-logo { order: 0; }
  html[dir="rtl"] .header-inner > .main-nav {
    order: 1;
    direction: rtl;
    flex-direction: row;
    margin-inline-start: auto;
  }
  html[dir="rtl"] .header-inner > .theme-toggle {
    order: 2;
    margin: 0;
  }
  html[dir="rtl"] .header-inner > .lang-switcher {
    order: 3;
    margin: 0;
  }
  html[dir="rtl"] .main-nav .nav-cta {
    margin-left: 0;
    margin-right: 8px;
  }
}
.static-language-links { max-width: 1200px; margin: 1.25rem auto 0; padding: 0 1.25rem 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.static-language-links a { color: inherit; opacity: .72; font-size: .82rem; }
.static-language-links a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: .25rem; }
.static-header-language-links { display: flex; align-items: center; gap: .55rem; margin-inline-start: auto; }
.static-header-language-links a { color: inherit; font-size: .72rem; opacity: .68; text-decoration: none; }

/* Keep every heading as one typographic unit in all languages.
   Accent spans remain in the markup for translation compatibility, but must
   never switch color, typeface, weight, or slant in the middle of a phrase. */
html body :is(h1, h2, h3, h4, h5, h6) .accent-i {
  color: inherit !important;
  font-size: inherit !important;
  font-style: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
}
html:not([dir="rtl"]) body :is(h1, h2, h3, h4, h5, h6) .accent-i {
  font-family: Georgia, "Times New Roman", serif !important;
}
html[dir="rtl"] body :is(h1, h2, h3, h4, h5, h6) .accent-i {
  font-family: "Tajawal", "Noto Sans Arabic", Tahoma, Arial, sans-serif !important;
}
.static-header-language-links a[aria-current="page"] { opacity: 1; font-weight: 700; }
@media (max-width: 760px) {
  .static-header-language-links { max-width: 10rem; overflow-x: auto; }
}

/* Final cascade guard for the static Arabic build. The header follows the
   actual RTL reading direction on both desktop and mobile. */
html[dir="rtl"] .header-inner { direction: rtl; flex-direction: row; }
html[dir="rtl"] .main-nav { direction: rtl; }

@media (min-width: 1025px) {
  .header-inner {
    display: grid;
    grid-template-columns: max-content minmax(20px, 1fr) max-content max-content max-content;
    gap: 24px;
    position: relative;
  }
  /* Order: logo · (flexible gap) · theme+lang · nav · CTA */
  .header-inner > .brand-logo {
    grid-column: 1;
    grid-row: 1;
    order: initial;
  }
  .header-inner > .header-utilities {
    grid-column: 3;
    grid-row: 1;
    order: initial;
    display: flex;
    align-items: center;
    gap: 10px;
    direction: ltr;
    flex-direction: row-reverse;
    justify-self: end;
    margin: 0;
    z-index: 4;
  }
  html[dir="rtl"] .header-inner > .header-utilities { flex-direction: row; }
  .header-utilities > .theme-toggle,
  .header-utilities > .lang-switcher { margin: 0; }
  .header-inner > .main-nav {
    grid-column: 4;
    grid-row: 1;
    order: initial;
    flex-direction: row;
    justify-self: start;
    min-width: 0;
    margin: 0;
    padding: 0;
  }
  html[dir="rtl"] .header-inner > .main-nav { margin: 0; }
  .header-inner > .desktop-header-cta {
    grid-column: 5;
    grid-row: 1;
    align-self: center;
    margin: 0;
  }
  .main-nav > .nav-cta { display: none; }
}

@media (max-width: 1024px) {
  /* Use natural direction (not row-reverse) so logical order + auto margin
     work identically in LTR and RTL. Order: logo · theme · lang · (gap) · hamburger */
  html[dir="rtl"] .header-inner { flex-direction: row; }
  .header-utilities { display: contents; }
  .desktop-header-cta { display: none; }
  .header-inner > .brand-logo { order: 0; }
  .header-utilities > .theme-toggle { order: 2; margin: 0; }
  .header-utilities > .lang-switcher { order: 3; margin: 0; }
  .header-inner > .nav-toggle { order: 4; margin-inline-start: auto; }
  html[dir="rtl"] .main-nav {
    flex-direction: column;
    align-items: stretch;
    text-align: right;
  }
  html[dir="rtl"] .main-nav .nav-cta { margin: 10px 0 0; }
}

/* Phones and tablets use a quiet, static canvas. Removing this fixed,
   blend-mode parallax layer avoids mobile Chrome compositor jumps. */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  .bg-fx {
    display: none !important;
  }
  .bg-mandala {
    transform: none !important;
    will-change: auto;
    mix-blend-mode: normal;
  }
}
