/* ==========================================================================
   NW TRADING SUPPLY CO., LTD. — Landing Page
   Design system: Swiss / Industrial Minimalism
   Brand: #005028 (logo forest green) · #209058 (logo arrow green)
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Brand — sampled from the company logo and the on-site signage */
  --brand-950: #041C0E;
  --brand-900: #052A15;
  --brand-800: #063A1D;
  --brand-700: #005028;
  --brand-600: #0A6634;
  --brand-500: #209058;
  --brand-400: #34B372;
  --brand-300: #6DD49C;
  --brand-200: #A8E7C5;
  --brand-100: #D8F5E5;
  --brand-50:  #EEFBF4;

  /* Steel / graphite neutrals */
  --ink-950: #080B0A;
  --ink-900: #0E1211;
  --ink-850: #151A18;
  --ink-800: #1C2220;
  --ink-700: #2A322F;
  --steel-600: #3D4A46;
  --steel-500: #5B6864;
  --steel-400: #7D8A85;
  --steel-300: #A6B1AD;
  --steel-200: #CBD3D0;
  --steel-150: #DDE3E1;
  --steel-100: #EBEFEE;
  --steel-50:  #F5F8F7;
  --white: #FFFFFF;

  /* Signal — used sparingly for status + price-validity notes */
  --amber-600: #8F4309;  /* 5.84:1 on the amber-tinted chip background */
  --amber-500: #D97706;
  --amber-100: #FEF3C7;
  --line-green: #06C755;

  /* Semantic (light) */
  --bg: var(--steel-50);
  --bg-alt: var(--white);
  --surface: var(--white);
  --surface-2: var(--steel-50);
  --surface-sunken: var(--steel-100);
  --fg: var(--ink-900);
  --fg-muted: #4F5C58;   /* 6.99:1 on white */
  --fg-subtle: #64716C;  /* 5.17:1 on white, 4.84:1 on --bg */
  --border: var(--steel-150);
  --border-strong: var(--steel-200);
  --primary: var(--brand-700);
  --primary-hover: var(--brand-800);
  --on-primary: #FFFFFF;
  --accent: var(--brand-600);
  --ring: var(--brand-500);

  /* Dark-section tokens (hero / CTA / footer are always dark) */
  --dark-bg: var(--ink-950);
  --dark-surface: rgba(255, 255, 255, .045);
  --dark-border: rgba(255, 255, 255, .11);
  --dark-fg: #F2F6F4;
  --dark-fg-muted: #9AA8A3;

  /* Type */
  --font-sans: 'Anuphan', 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  /* Anuphan sits in the mono stack purely to supply ฿ (U+0E3F) and Thai glyphs,
     which IBM Plex Mono lacks — without it the baht sign collides with digits. */
  --font-mono: 'IBM Plex Mono', 'Anuphan', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.8125rem;
  --text-base: 0.9375rem;
  --text-md:   1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.25rem;
  --text-4xl:  3rem;
  --text-5xl:  4rem;

  /* Space — density 4/10 (standard marketing rhythm) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --radius-full: 999px;

  --shadow-xs: 0 1px 2px rgba(8, 11, 10, .06);
  --shadow-sm: 0 2px 6px rgba(8, 11, 10, .07);
  --shadow: 0 8px 24px -8px rgba(8, 11, 10, .14), 0 2px 6px rgba(8, 11, 10, .05);
  --shadow-lg: 0 24px 56px -20px rgba(8, 11, 10, .28), 0 6px 16px rgba(8, 11, 10, .07);
  --shadow-brand: 0 18px 40px -18px rgba(0, 80, 40, .45);

  --ease-out: cubic-bezier(.22, .68, .36, 1);
  --ease-back: cubic-bezier(.24, 1.2, .38, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --dur-slow: 420ms;

  --container: 1240px;
  --header-h: 72px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--ink-950);
    --bg-alt: var(--ink-900);
    --surface: var(--ink-850);
    --surface-2: var(--ink-900);
    --surface-sunken: var(--ink-800);
    --fg: #F2F6F4;
    --fg-muted: #9AA8A3;
    --fg-subtle: #8A9792;  /* 5.80:1 on --surface in dark mode */
    --border: rgba(255, 255, 255, .10);
    --border-strong: rgba(255, 255, 255, .18);
    --primary: var(--brand-500);
    --primary-hover: var(--brand-400);
    --on-primary: #04180C;
    --accent: var(--brand-400);
    --ring: var(--brand-400);
    --amber-600: #FBBF24;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, .45);
    --shadow: 0 8px 24px -8px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .4);
    --shadow-lg: 0 24px 56px -20px rgba(0, 0, 0, .75), 0 6px 16px rgba(0, 0, 0, .4);
  }
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01";
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4 {
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection { background: var(--brand-500); color: #fff; }

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -80px;
  z-index: 200;
  padding: var(--space-3) var(--space-5);
  background: var(--brand-700);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus-visible { top: var(--space-4); }

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

/* ---------- 3. LAYOUT PRIMITIVES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section { padding-block: var(--space-9); position: relative; }
.section--tight { padding-block: var(--space-8); }

.section-head { max-width: 62ch; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
  font-family: var(--font-mono);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: currentColor;
}
.eyebrow--center { justify-content: center; }

.section-title {
  font-size: clamp(1.75rem, 1.15rem + 2.4vw, var(--text-3xl));
  margin-bottom: var(--space-4);
}
.section-lead {
  font-size: var(--text-lg);
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ---------- 4. BUTTONS ---------- */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: var(--on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: var(--text-md);
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.btn:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-brand); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  background: var(--surface-sunken);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.btn--on-dark {
  --btn-bg: rgba(255, 255, 255, .07);
  --btn-fg: var(--dark-fg);
  border-color: var(--dark-border);
  backdrop-filter: blur(8px);
}
.btn--on-dark:hover {
  background: rgba(255, 255, 255, .13);
  border-color: var(--brand-400);
  box-shadow: none;
}

.btn--line { --btn-bg: var(--line-green); --btn-fg: #04220F; }
.btn--line:hover { background: #05B34C; box-shadow: 0 18px 40px -18px rgba(6, 199, 85, .55); }

.btn--sm { min-height: 44px; padding: var(--space-2) var(--space-4); font-size: var(--text-sm); }
.btn--lg { min-height: 56px; padding: var(--space-4) var(--space-7); font-size: var(--text-lg); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- 5. HEADER ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  width: 100%;
}
.header.is-stuck {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.brand { display: flex; align-items: center; gap: var(--space-3); flex: none; min-height: 44px; }
.brand__mark { height: 38px; width: auto; }
.brand__text { display: none; line-height: 1.15; }
.brand__name { font-size: var(--text-sm); font-weight: 700; letter-spacing: -0.01em; }
.brand__sub {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: .1em;
  color: var(--fg-subtle);
  text-transform: uppercase;
}
/* The lockup is dark-green ink on transparency: flip it to white over dark surfaces */
.header:not(.is-stuck) .brand__mark { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand__mark { filter: brightness(0) invert(1); }
}

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: var(--space-2); list-style: none; padding: 0; }
.nav__link {
  position: relative;
  white-space: nowrap;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--fg-muted);
  border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: var(--space-3); right: var(--space-3); bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--fg); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.header:not(.is-stuck) .nav__link { color: rgba(255, 255, 255, .72); }
.header:not(.is-stuck) .nav__link:hover,
.header:not(.is-stuck) .nav__link.is-active { color: #fff; }
.header:not(.is-stuck) .brand__name { color: #fff; }
.header:not(.is-stuck) .brand__sub { color: rgba(255, 255, 255, .55); }

.header__actions { display: flex; align-items: center; gap: var(--space-2); flex: none; }
.header__cta { display: none; }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px; height: 48px;
  align-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.header:not(.is-stuck) .burger { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.header:not(.is-stuck) .burger span { background: #fff; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4) 0 var(--space-6);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur);
}
.mobile-nav.is-open { opacity: 1; transform: none; visibility: visible; }
.mobile-nav__list { list-style: none; padding: 0; display: grid; gap: 2px; }
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  font-weight: 600;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.mobile-nav__link:hover { background: var(--surface-sunken); color: var(--accent); }
.mobile-nav__link svg { color: var(--fg-subtle); }
.mobile-nav__cta { margin-top: var(--space-4); display: grid; gap: var(--space-3); }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  background: var(--dark-bg);
  color: var(--dark-fg);
  padding-top: calc(var(--header-h) + var(--space-8));
  padding-bottom: var(--space-8);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
/* Blueprint grid — echoes engineering drawings */
.hero__bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 30% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 30% 20%, #000 20%, transparent 78%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  width: min(1100px, 78vw); height: min(1100px, 78vw);
  right: -14vw; top: -30vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32,144,88,.30) 0%, rgba(32,144,88,.09) 42%, transparent 68%);
  filter: blur(10px);
}

.hero__grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 7px var(--space-4) 7px var(--space-3);
  border-radius: var(--radius-full);
  background: rgba(32, 144, 88, .14);
  border: 1px solid rgba(52, 179, 114, .32);
  color: var(--brand-300);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-5);
}
.hero__chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-400);
  box-shadow: 0 0 0 0 rgba(52,179,114,.7);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52,179,114,.6); }
  70%  { box-shadow: 0 0 0 9px rgba(52,179,114,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,179,114,0); }
}

.hero__title {
  font-size: clamp(2rem, 1rem + 4.6vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
  word-break: keep-all;
  overflow-wrap: normal;
}
.hero__title em {
  font-style: normal;
  color: var(--brand-400);
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .09em;
  background: linear-gradient(90deg, var(--brand-500), transparent);
  border-radius: 2px;
}
.hero__lead {
  font-size: var(--text-lg);
  color: var(--dark-fg-muted);
  max-width: 54ch;
  margin-bottom: var(--space-6);
  line-height: 1.75;
}
.hero__cta { margin-bottom: var(--space-7); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5) var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--dark-border);
}
.stat__value {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: block;
}
.stat__value small { font-family: var(--font-sans); font-size: .5em; font-weight: 600; color: var(--brand-400); margin-left: 3px; }
.stat__label {
  font-size: var(--text-sm);
  color: var(--dark-fg-muted);
  margin-top: 2px;
  display: block;
}

.hero__visual { position: relative; }
.hero__img {
  width: 100%;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .65));
}
.hero__badge {
  position: absolute;
  left: 0; bottom: -8px;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  background: rgba(14, 18, 17, .82);
  backdrop-filter: blur(14px);
  border: 1px solid var(--dark-border);
  box-shadow: var(--shadow-lg);
}
.hero__badge-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(32,144,88,.18);
  color: var(--brand-400);
  flex: none;
}
.hero__badge-value { font-size: var(--text-lg); font-weight: 700; color: #fff; line-height: 1.25; display: block; }
.hero__badge-label { font-size: var(--text-xs); color: var(--dark-fg-muted); }

/* ---------- 7. VALUE STRIP ---------- */
.values { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.values__grid {
  display: grid;
  gap: var(--space-6);
  padding-block: var(--space-7);
}
.value { display: flex; gap: var(--space-4); align-items: flex-start; }
.value__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .value__icon {
    background: rgba(32,144,88,.14);
    border-color: rgba(52,179,114,.22);
    color: var(--brand-400);
  }
}
.value__title { font-size: var(--text-md); font-weight: 700; margin-bottom: 3px; }
.value__desc { font-size: var(--text-sm); color: var(--fg-muted); line-height: 1.6; }

/* ---------- 8. PRODUCTS ---------- */
.products__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}
.products__head .section-head { margin-bottom: 0; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.chip {
  min-height: 44px;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--fg-muted);
  font-size: var(--text-base);
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--dur) var(--ease-out);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-brand);
}
.chip__count {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  opacity: .92;
  margin-left: 6px;
}
/* The selected chip already sits on a saturated fill; fading the count as well
   drops it under 4.5:1. */
.chip[aria-pressed="true"] .chip__count { opacity: 1; }

.product-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-lg);
}
.card.is-hidden { display: none; }

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: var(--space-5);
  background:
    radial-gradient(ellipse 80% 60% at 50% 115%, rgba(0,80,40,.10), transparent 70%),
    linear-gradient(160deg, var(--steel-100), var(--steel-50) 55%, var(--steel-150));
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
/* Kept light in dark mode on purpose: the cut-outs are dark steel and vanish
   against a dark panel. This reads as a product lightbox, not a theme bug. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .card__media { border-bottom-color: rgba(0,0,0,.35); }
  :root:not([data-theme="light"]) .card__unit {
    background: rgba(255,255,255,.82);
    border-color: rgba(0,0,0,.12);
    color: var(--steel-600);
  }
}
.card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.22) 48%, transparent 58%);
  transform: translateX(-100%);
  transition: transform 650ms var(--ease-out);
  pointer-events: none;
}
.card:hover .card__media::after { transform: translateX(100%); }
.card__img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform var(--dur-slow) var(--ease-out);
  filter: drop-shadow(0 12px 18px rgba(8,11,10,.22));
}
.card:hover .card__img { transform: scale(1.06) rotate(-1deg); }

.card__unit {
  position: absolute;
  top: var(--space-3); right: var(--space-3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(6px);
  border: 1px solid var(--steel-200);
  font-size: 11px;
  font-weight: 600;
  color: var(--steel-600);
}
.card__body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: var(--text-xl); margin-bottom: 2px; }
.card__en {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: var(--space-3);
}
.card__desc { font-size: var(--text-sm); color: var(--fg-muted); margin-bottom: var(--space-4); }

.card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px dashed var(--border-strong);
}
.card__price-label { font-size: var(--text-sm); color: var(--fg-muted); }
.card__price-value {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.card__price-unit { font-size: var(--text-sm); color: var(--fg-subtle); }

/* Spec table */
.spec {
  font-size: var(--text-sm);
  margin-bottom: var(--space-5);
}
.spec caption { text-align: left; font-weight: 600; padding-bottom: var(--space-2); color: var(--fg-muted); font-size: var(--text-xs); }
.spec th, .spec td { padding: 7px 0; text-align: left; }
.spec thead th {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--fg-subtle);
  border-bottom: 1px solid var(--border);
}
.spec tbody tr + tr td { border-top: 1px solid var(--border); }
.spec td:last-child, .spec th:last-child { text-align: right; }
.spec .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--fg);
  white-space: nowrap;
}
.spec .size { color: var(--fg-muted); font-variant-numeric: tabular-nums; }

.card__foot { margin-top: auto; display: grid; gap: var(--space-2); }

.note {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--amber-500) 9%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--amber-500) 26%, transparent);
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.6;
}
.note svg { color: var(--amber-600); flex: none; margin-top: 2px; }
.note strong { color: var(--fg); }

/* ---------- 9. PROCESS ---------- */
.process { background: var(--bg-alt); }
.steps {
  display: grid;
  gap: var(--space-6);
  counter-reset: step;
}
.step { position: relative; padding-top: var(--space-5); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--accent);
  display: block;
  margin-bottom: var(--space-2);
}
.step::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border-strong);
}
.step[data-accent]::after { background: linear-gradient(90deg, var(--brand-600), var(--brand-400)); }
.step__title { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.step__desc { font-size: var(--text-sm); color: var(--fg-muted); line-height: 1.65; }

/* ---------- 10. ABOUT / WAREHOUSE ---------- */
.about__grid { display: grid; gap: var(--space-7); align-items: center; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 132px;
  gap: var(--space-3);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-sunken);
  cursor: zoom-in;
  padding: 0;
  display: block;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,11,10,.45), transparent 55%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px var(--space-4);
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--amber-500) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--amber-500) 32%, transparent);
  color: var(--amber-600);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.status-chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
  animation: pulse-amber 2.4s var(--ease-out) infinite;
}
@keyframes pulse-amber {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--amber-500) 60%, transparent); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.facts {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fact__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--fg-subtle);
  margin-bottom: 3px;
}
.fact__value { font-size: var(--text-md); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--space-5);
  background: rgba(4, 7, 6, .92);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 84vh;
  width: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: scale(.96);
  transition: transform var(--dur-slow) var(--ease-back);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: var(--space-5); right: var(--space-5);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  transition: background-color var(--dur) var(--ease-out);
}
.lightbox__close:hover { background: rgba(255,255,255,.2); }
.lightbox__caption {
  position: absolute;
  bottom: var(--space-6);
  left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.8);
  font-size: var(--text-sm);
  text-align: center;
  padding-inline: var(--space-5);
}

/* ---------- 10b. FAQ ---------- */
.faq-list {
  display: grid;
  gap: var(--space-3);
  max-width: 800px;
  margin-inline: auto;
}
.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.faq:hover { border-color: var(--brand-300); }
.faq[open] { border-color: var(--brand-300); box-shadow: var(--shadow); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 60px;
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-md);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--accent); }
.faq[open] .faq__q { color: var(--accent); }

.faq__icon {
  flex: none;
  color: var(--fg-subtle);
  transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.faq[open] .faq__icon { transform: rotate(180deg); color: var(--accent); }

.faq__a {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--fg-muted);
  font-size: var(--text-base);
  line-height: 1.75;
}
.faq__a strong { color: var(--fg); font-weight: 600; }

/* `details` reveals its panel instantly; a short fade keeps that from jarring */
@media (prefers-reduced-motion: no-preference) {
  .faq[open] .faq__a { animation: faq-in 260ms var(--ease-out); }
}
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 11. LOCATIONS ---------- */
.locations__grid { display: grid; gap: var(--space-5); }
.loc {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.loc:hover { border-color: var(--brand-300); box-shadow: var(--shadow); }
.loc__map {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-sunken);
  border-bottom: 1px solid var(--border);
}
.loc__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.loc__body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; gap: var(--space-3); }
.loc__kicker {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
}
.loc__title { font-size: var(--text-lg); }
.loc__addr { font-size: var(--text-sm); color: var(--fg-muted); line-height: 1.7; }
.loc__coords {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--fg-subtle);
  font-variant-numeric: tabular-nums;
}
.loc__foot { margin-top: auto; padding-top: var(--space-3); }

/* ---------- 12. CONTACT CTA ---------- */
.contact {
  position: relative;
  background: var(--dark-bg);
  color: var(--dark-fg);
  overflow: hidden;
  isolation: isolate;
}
.contact::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 70% 50%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 50%, #000 10%, transparent 72%);
}
.contact::after {
  content: "";
  position: absolute; z-index: -1;
  width: 900px; height: 900px;
  left: -300px; bottom: -520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32,144,88,.26), transparent 65%);
}
.contact .section-title { color: #fff; }
.contact .section-lead { color: var(--dark-fg-muted); }
.contact .eyebrow { color: var(--brand-400); }

.contact__grid { display: grid; gap: var(--space-7); align-items: center; }

.contact-list { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
a.contact-item:hover { background: rgba(255,255,255,.09); border-color: var(--brand-500); transform: translateX(4px); }
.contact-item__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  background: rgba(32,144,88,.16);
  color: var(--brand-400);
}
.contact-item__label { font-size: var(--text-xs); font-weight: 600; color: var(--dark-fg-muted); }
.contact-item__value { font-size: var(--text-lg); font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.contact-item__arrow { margin-left: auto; color: var(--dark-fg-muted); flex: none; }

.qr-card {
  display: grid;
  gap: var(--space-4);
  justify-items: center;
  text-align: center;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  backdrop-filter: blur(10px);
}
.qr-card__img {
  width: 200px; height: 200px;
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}
.qr-card__id {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  color: var(--brand-300);
  letter-spacing: .04em;
}
.qr-card__hint { font-size: var(--text-sm); color: var(--dark-fg-muted); }

/* ---------- 13. QUOTE BUILDER ---------- */
.quote-fab {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 56px;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  background: var(--brand-700);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(0,80,40,.14);
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--dur-slow) var(--ease-back), opacity var(--dur) var(--ease-out),
              visibility var(--dur-slow), background-color var(--dur) var(--ease-out);
}
.quote-fab.is-visible { transform: none; opacity: 1; visibility: visible; }
.quote-fab:hover { background: var(--brand-600); }
.quote-fab__count {
  display: grid; place-items: center;
  min-width: 26px; height: 26px;
  padding-inline: 7px;
  border-radius: var(--radius-full);
  background: var(--brand-400);
  color: #04240F;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
}
.quote-fab.is-bumped { animation: bump 420ms var(--ease-back); }
@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.09); }
  100% { transform: scale(1); }
}

.drawer-backdrop {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(4,7,6,.6);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  z-index: 120;
  inset: auto 0 0 0;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform var(--dur-slow) var(--ease-out), visibility var(--dur-slow);
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  border-bottom: 1px solid var(--border);
}
.drawer__title { font-size: var(--text-xl); }
.drawer__sub { font-size: var(--text-sm); color: var(--fg-muted); }
.drawer__close {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: background-color var(--dur-fast) var(--ease-out);
}
.drawer__close:hover { background: var(--surface-sunken); }
.drawer__body { overflow-y: auto; padding: var(--space-5); flex: 1; }
.drawer__foot {
  padding: var(--space-5);
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  display: grid;
  gap: var(--space-3);
}

.quote-empty { text-align: center; padding: var(--space-8) var(--space-4); color: var(--fg-muted); }
.quote-empty svg { margin-inline: auto; margin-bottom: var(--space-4); color: var(--fg-subtle); }

.quote-list { display: grid; gap: var(--space-3); list-style: none; padding: 0; }
.quote-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.quote-row__img {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  object-fit: contain;
  padding: 5px;
}
.quote-row__name { font-weight: 600; font-size: var(--text-base); line-height: 1.35; }
.quote-row__size { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.quote-row__price { font-size: var(--text-sm); font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.quote-row__actions { display: flex; align-items: center; gap: var(--space-2); }
.stepper {
  display: flex; align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.stepper button {
  width: 36px; height: 36px;
  flex: none;                 /* must not collapse when the input flexes */
  display: grid; place-items: center;
  color: var(--fg-muted);
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.stepper button:hover { background: var(--surface-sunken); color: var(--accent); }
.stepper input {
  width: 48px; height: 36px;
  border: 0;
  border-inline: 1px solid var(--border);
  text-align: center;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  background: var(--surface);
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quote-row__remove {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  color: var(--fg-subtle);
  transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.quote-row__remove:hover { color: #DC2626; background: color-mix(in srgb, #DC2626 10%, transparent); }

@media (max-width: 420px) {
  .quote-row { grid-template-columns: 48px 1fr; row-gap: var(--space-3); }
  .quote-row__img { width: 48px; height: 48px; }
  .quote-row__actions { grid-column: 1 / -1; justify-content: space-between; }
  .stepper { flex: 1; max-width: 170px; }
  /* min-width:0 is required: an <input> defaults to min-width:auto (its `size`
     intrinsic width), which blocks flex shrinking and pushes + out of the
     overflow:hidden stepper. */
  .stepper input { flex: 1; width: auto; min-width: 0; }
}

.quote-total {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.quote-total__label { font-size: var(--text-sm); color: var(--fg-muted); }
.quote-total__value {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.drawer__actions { display: grid; gap: var(--space-3); grid-template-columns: 1fr 1fr; }
.drawer__note { font-size: var(--text-xs); color: var(--fg-muted); line-height: 1.55; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--space-4) + 76px);
  transform: translate(-50%, 16px);
  z-index: 150;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: calc(100vw - 32px);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  background: var(--ink-900);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-back), visibility var(--dur);
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { color: var(--brand-400); flex: none; }

/* ---------- 14. FOOTER ---------- */
.footer {
  background: var(--ink-950);
  color: var(--dark-fg-muted);
  padding-block: var(--space-8) var(--space-5);
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer__grid { display: grid; gap: var(--space-7); }
.footer__brand { max-width: 42ch; }
/* Uses the pre-rendered white lockup, so no filter is needed here */
.footer__logo { height: 52px; width: auto; margin-bottom: var(--space-4); opacity: .95; }
.footer__desc { font-size: var(--text-sm); line-height: 1.75; }
.footer__col-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-4);
}
.footer__list { list-style: none; padding: 0; display: grid; font-size: var(--text-sm); }
.footer__list a {
  display: flex;                    /* full-row target, not just the glyph width */
  align-items: center;
  min-height: 44px;                 /* standalone nav links need a real target */
  transition: color var(--dur-fast) var(--ease-out);
}
.footer__list a:hover { color: var(--brand-400); }

.legal {
  display: grid;
  gap: var(--space-3);
  font-size: var(--text-sm);
  line-height: 1.7;
}
.legal dt {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--steel-400);  /* 5.50:1 on --ink-950 */
}
.legal dd { margin: 0; color: var(--dark-fg-muted); font-variant-numeric: tabular-nums; }
/* Inline links inside a sentence take the WCAG 2.5.8 inline exception, but a
   little vertical padding still makes them comfortably tappable. */
.legal dd a { display: inline-block; padding-block: 5px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--steel-600); }
.legal dd a:hover { color: var(--brand-400); text-decoration-color: currentColor; }

.footer__bottom {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
}
.footer__bottom p { color: var(--steel-400); }

/* ---------- 15. REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 16. RESPONSIVE ---------- */
@media (min-width: 560px) {
  .hero__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-auto-rows: 160px; }
  .brand__text { display: block; }
}

@media (min-width: 768px) {
  :root { --header-h: 80px; }
  .container { padding-inline: var(--space-6); }
  .locations__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .quote-row { grid-template-columns: 64px 1fr auto; }
  .drawer {
    inset: 0 0 0 auto;
    width: min(460px, 100%);
    max-height: none;
    border-radius: 0;
    border-top: 0;
    border-left: 1px solid var(--border);
    transform: translateX(100%);
  }
  .drawer.is-open { transform: none; }
  .toast { bottom: var(--space-6); }
}

@media (min-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + var(--space-9)); padding-bottom: var(--space-9); }
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: var(--space-8); }
  .values__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .contact__grid { grid-template-columns: 1.15fr .85fr; }
  .gallery { grid-auto-rows: 150px; }
  .nav { display: block; }
  .burger { display: none; }
  .header__cta { display: inline-flex; }
  .section { padding-block: var(--space-10); }
}

@media (min-width: 1100px) {
  .gallery { grid-auto-rows: 175px; }
}

/* ---------- 17. MOTION / PRINT ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .quote-fab, .drawer, .drawer-backdrop, .mobile-nav, .toast, .lightbox, .loc__map { display: none !important; }
  .hero, .contact, .footer { background: #fff !important; color: #000 !important; }
  .card { break-inside: avoid; border: 1px solid #ccc; }
  body { background: #fff; }
}
