/* ==========================================================================
   Alef-style Custom Packaging — Shared Template Stylesheet
   标准 HTML 模板共用样式（首页 / 产品栏目 / 产品详情 / 资源 / 博客 / 文章）
   所有资源本地化，无任何外链依赖
   ========================================================================== */

/* ---------- 1. Font faces (self-hosted Inter) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-latin-ext-500.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext-800.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-latin-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext-900.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/inter-latin-900.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 2. Design tokens ---------- */
:root {
  --primary: #e84a3a;
  --primary-dark: #d63d2e;
  --primary-deep: #d62103;
  --primary-tint: #fff7f5;
  --ink: #1f0f0b;
  --gray-900: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --gold: #f5b041;
  --white: #ffffff;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container: 1280px;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 1px 3px rgba(31, 15, 11, 0.06);
  --header-h: 84px;
}

/* ---------- 3. 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);
}

/* 细滚动条：默认滚动条过宽，且灰蓝色与暖色站点不协调
   注意：scrollbar-width/color 会把 Chrome 切回标准滚动条并忽略下面的伪元素，
   所以只在 Firefox 下启用 */
@supports (-moz-appearance: none) {
  html {
    scrollbar-width: thin;
    scrollbar-color: rgba(31, 15, 11, 0.18) transparent;
  }
}
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: rgba(31, 15, 11, 0.18); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(31, 15, 11, 0.34); }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-corner { background: transparent; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img, picture, video, svg { display: block; max-width: 100%; }

input, button, textarea, select { font: inherit; color: inherit; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; padding: 0; }

button { background: none; border: 0; cursor: pointer; }

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

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

/* ---------- 4. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.main { flex: 1 0 auto; padding-top: var(--header-h); }

.section { padding-block: 96px; }
.section-sm { padding-block: 56px; }
.section-tint { background: var(--primary-tint); }
.section-dark { background: var(--ink); color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--primary);
}
.eyebrow.center::after {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--primary);
}
.eyebrow.center { justify-content: center; }

.h1, .h2, .h3 {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-transform: lowercase;
}
.h1 { font-size: clamp(40px, 6vw, 80px); }
.h2 { font-size: clamp(30px, 4vw, 48px); }
.h3 { font-size: 22px; }

.lead { color: var(--gray-600); font-size: 18px; line-height: 1.7; }
.muted { color: var(--gray-500); }

.text-center { text-align: center; }
.section-head { margin-bottom: 48px; }
.section-head.row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(232, 74, 58, 0.45); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--gray-200);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--gray-100); transform: translateY(-2px); }
.btn-on-dark { background: var(--primary); color: #fff; }
.btn-on-dark:hover { background: var(--primary-dark); }
.btn-lg { min-height: 52px; padding: 14px 36px; font-size: 16px; }
.btn-block { width: 100%; }
.btn .icon { width: 16px; height: 16px; transition: transform 0.25s ease; }
.btn:hover .icon.arrow-right { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  transition: gap 0.25s ease;
}
.link-arrow:hover { gap: 12px; }
.link-arrow .icon { width: 16px; height: 16px; }

/* ---------- 6. Badges / pills ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.badge-primary { color: var(--primary); background: var(--primary-tint); }
.badge-dark { color: #fff; background: var(--ink); }
.badge-gray { color: var(--gray-600); background: var(--gray-100); }
.badge-gold { color: #8a5a00; background: #fef3d8; }
.badge-stack { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 7. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
  transition: padding 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--gray-100), 0 8px 24px -16px rgba(31, 15, 11, 0.25); }
.site-header.scrolled .header-inner { padding-block: 10px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 38px; width: auto; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -0.04em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-since { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-400); }
.brand-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-400); margin-top: 3px; }

/* primary nav */
.main-nav { display: none; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-transform: lowercase;
  white-space: nowrap;
  color: var(--ink);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-link .icon { width: 14px; height: 14px; color: var(--gray-400); transition: transform 0.25s ease; }
.nav-link:hover,
.nav-link.active,
.nav-item.open .nav-link { color: var(--primary); background: var(--gray-50); }
.nav-item:hover .nav-link,
.nav-item:focus-within .nav-link { color: var(--primary); background: var(--gray-50); }
.nav-item.open .nav-link .icon,
.nav-item:hover .nav-link .icon,
.nav-item:focus-within .nav-link .icon { transform: rotate(180deg); }

/* dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -16px rgba(31, 15, 11, 0.18);
  padding: 10px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
/* invisible bridge so the hover survives the 10px gap above the dropdown */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -24px;
  right: -24px;
  height: 12px;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.nav-dropdown a .dd-sub { display: block; font-size: 12px; font-weight: 500; color: var(--gray-400); margin-top: 2px; }
.nav-dropdown a:hover { background: var(--primary-tint); color: var(--primary); }

.header-actions { display: none; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone { font-size: 12px; font-weight: 700; white-space: nowrap; transition: color 0.2s; }
.header-phone:hover { color: var(--primary); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(243, 244, 246, 0.85);
  color: var(--gray-500);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.icon-btn:hover { background: var(--gray-200); color: var(--ink); }
.icon-btn .icon { width: 17px; height: 17px; }

.nav-toggle { display: inline-flex; padding: 8px; margin-right: -8px; color: var(--ink); }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
body.menu-open .nav-toggle .icon-menu { display: none; }
body.menu-open .nav-toggle .icon-close { display: block; }

/* search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(31, 15, 11, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 24px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box {
  width: 100%;
  max-width: 680px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
  transform: translateY(-14px);
  transition: transform 0.25s ease;
}
.search-overlay.open .search-box { transform: translateY(0); }
.search-box form { display: flex; align-items: center; gap: 12px; }
.search-box .icon { width: 20px; height: 20px; color: var(--gray-400); flex-shrink: 0; }
.search-box input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 17px;
  font-weight: 500;
  background: transparent;
}
.search-close { color: var(--gray-400); padding: 4px; }
.search-close .icon { width: 20px; height: 20px; }
.search-hint { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--gray-100); font-size: 13px; color: var(--gray-400); font-weight: 500; }
.search-hint a { color: var(--primary); font-weight: 700; }

/* mobile drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 110;
  width: min(86vw, 380px);
  height: 100dvh;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -20px 0 50px -20px rgba(31, 15, 11, 0.3);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav-body { flex: 1; overflow-y: auto; padding: 12px 14px 24px; }
.mobile-nav-body .m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 12px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-transform: lowercase;
}
.mobile-nav-body .m-link:hover { background: var(--gray-50); color: var(--primary); }
.mobile-nav-body .m-link .icon { width: 18px; height: 18px; color: var(--gray-400); }
/* 父级链接负责跳转，右侧按钮单独负责展开子菜单 */
.m-row { display: flex; align-items: center; gap: 4px; }
.m-row .m-link { flex: 1; min-width: 0; }
.m-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--gray-400);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.m-toggle:hover { background: var(--gray-50); color: var(--primary); }
.m-toggle .icon { width: 18px; height: 18px; transition: transform 0.2s ease; }
.m-group.open .m-toggle .icon { transform: rotate(180deg); }
.m-sub { display: none; padding: 4px 0 8px 14px; }
.m-sub a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
}
.m-sub a:hover { color: var(--primary); background: var(--primary-tint); }
.m-group.open .m-sub { display: block; }
.m-group.open > .m-link .icon { transform: rotate(180deg); }
.mobile-nav-foot { padding: 18px 22px 30px; border-top: 1px solid var(--gray-100); }
.mobile-nav-foot .header-phone { display: block; margin-bottom: 12px; font-size: 14px; }
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(31, 15, 11, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.nav-backdrop.open { opacity: 1; visibility: visible; }

/* mobile sticky quote bar */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--gray-100);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}
.mobile-cta .btn { flex: 1; min-height: 46px; border-radius: var(--radius); }
body.has-mobile-cta { padding-bottom: 76px; }

/* ---------- 8. Hero (home) ---------- */
.hero { padding: 34px 0 56px; overflow: hidden; }
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero-desc { color: var(--gray-600); font-size: 18px; line-height: 1.7; max-width: 380px; }
.hero-actions { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; margin-bottom: 40px; }
.quote-card {
  display: block;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 22px 46px 22px 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -12px rgba(232, 74, 58, 0.2); }
.quote-card strong { display: block; color: var(--primary); font-size: 24px; font-weight: 800; margin-bottom: 4px; transition: color 0.2s; }
.quote-card:hover strong { color: var(--primary-dark); }
.quote-card span { display: inline-flex; align-items: center; gap: 6px; color: var(--gray-500); font-size: 14px; font-weight: 500; }
.quote-card .icon { width: 16px; height: 16px; transition: transform 0.25s; }
.quote-card:hover .icon { transform: translateX(3px); }

.trust-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stars { display: inline-flex; color: var(--gold); }
.stars .icon { width: 19px; height: 19px; fill: currentColor; }
.trust-bar strong { font-size: 14px; font-weight: 800; }
.trust-bar span { font-size: 13px; color: var(--gray-500); font-weight: 500; }

.hero-visual { position: relative; }
.hero-blob {
  position: absolute;
  inset: 0;
  background: var(--primary-tint);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
  transform: scale(0.75);
}
.hero-media {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(214, 33, 3, 0.05), rgba(214, 33, 3, 0.1));
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 30px 60px -24px rgba(31, 15, 11, 0.35);
  animation: floatAnim 6s ease-in-out infinite;
}
@keyframes floatAnim { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

/* trusted logos strip */
.logos-strip { border-top: 1px solid var(--gray-100); margin-top: 40px; padding: 36px 0 8px; }
.logos-strip p { font-size: 12px; font-weight: 700; color: var(--gray-400); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 22px; }
.logos-row { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; opacity: 0.55; }
.logos-row img { height: 34px; width: auto; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; }
.logos-row img.tall { height: 44px; }

/* ---------- 9. Stats band ---------- */
.stats-band { background: var(--ink); padding-block: 52px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 24px; text-align: center; }
.stat-num { font-size: clamp(30px, 4vw, 40px); font-weight: 900; color: #fff; line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 14px; font-weight: 500; color: var(--gray-400); }

/* ---------- 10. Category carousel / cards ---------- */
.carousel-nav { display: flex; gap: 12px; }
.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.carousel-btn:hover { border-color: var(--primary); color: var(--primary); }
.carousel-btn .icon { width: 20px; height: 20px; }

.cat-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  max-width: var(--container);
  margin-inline: auto;
  padding: 8px 24px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.cat-track::-webkit-scrollbar { display: none; }
.cat-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cat-card:hover { transform: translateY(-6px); }
.cat-thumb {
  position: relative;
  height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
  background: linear-gradient(180deg, rgba(214, 33, 3, 0.05), rgba(214, 33, 3, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.cat-thumb img { max-height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.cat-card:hover .cat-thumb img { transform: scale(1.06); }
.cat-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 0 8px 6px; }
.cat-meta h3 { font-size: 14px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; }
.cat-meta .icon { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; opacity: 0; transform: translateX(-8px); transition: opacity 0.25s, transform 0.25s; margin-top: 2px; }
.cat-card:hover .cat-meta .icon { opacity: 1; transform: translateX(0); }

/* ---------- 11. Product spotlight rows ---------- */
.spotlight-layout { display: grid; gap: 56px; }
.spotlight-aside h2 { margin-bottom: 20px; }
.spotlight-aside p { margin-bottom: 28px; }

.product-mini-grid { display: grid; gap: 24px; }
.mini-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.section-tint .mini-card { box-shadow: var(--shadow-card); }
.mini-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px -12px rgba(232, 74, 58, 0.16);
}
.mini-thumb {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.mini-thumb img { max-height: 100%; object-fit: contain; }
.mini-card h3 { font-size: 19px; font-weight: 900; text-transform: none; letter-spacing: -0.01em; margin-bottom: 10px; }
.mini-card h3 a:hover { color: var(--primary); }
.mini-list { margin: 8px 0 18px; display: grid; gap: 7px; }
.mini-list li { position: relative; padding-left: 18px; font-size: 14px; font-weight: 500; color: var(--gray-600); }
.mini-list li::before { content: '•'; position: absolute; left: 2px; color: var(--primary); font-weight: 900; }

/* ---------- 12. Feature / paper split ---------- */
.split { display: grid; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.split-media img { width: 100%; border-radius: var(--radius-lg); }
.check-list { display: grid; gap: 13px; margin-bottom: 34px; }
.check-list li { display: flex; align-items: center; gap: 13px; font-size: 14px; font-weight: 600; color: var(--gray-600); }
.check-list .icon { width: 21px; height: 21px; color: var(--primary); flex-shrink: 0; }

/* ---------- 13. Spec tables ---------- */
.spec-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--gray-100); margin-top: 28px; }
table.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 440px; }
.spec-table caption {
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 16px 20px;
  background: var(--gray-50);
}
.spec-table th, .spec-table td { padding: 14px 20px; text-align: left; }
.spec-table thead th {
  background: var(--gray-50);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-100);
}
.spec-table tbody tr + tr td { border-top: 1px solid var(--gray-100); }
.spec-table tbody td { font-weight: 500; color: var(--gray-700); }
.spec-table tbody tr:hover td { background: var(--primary-tint); }
.spec-table td strong, .spec-table th strong { color: var(--ink); }

/* ---------- 14. FAQ accordion ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-group-title {
  font-size: 18px;
  font-weight: 900;
  margin: 36px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
}
.faq-group-title:first-child { margin-top: 0; }
.faq-item { background: #fff; border-radius: var(--radius); box-shadow: 0 1px 3px rgba(31, 15, 11, 0.08); overflow: hidden; }
.section-tint .faq-item, .section-dark .faq-item { box-shadow: none; }
.section-dark .faq-item { background: rgba(255, 255, 255, 0.06); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  text-align: left;
  font-weight: 700;
  font-size: 16px;
  transition: background-color 0.2s;
}
.faq-q:hover { background: var(--gray-50); }
.section-dark .faq-q { color: #fff; }
.section-dark .faq-q:hover { background: rgba(255, 255, 255, 0.05); }
.faq-q .icon { width: 20px; height: 20px; color: var(--gray-400); flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.open .faq-q .icon { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner { padding: 0 26px 24px; color: var(--gray-600); font-size: 15px; line-height: 1.75; }
.section-dark .faq-a-inner { color: #c9c4c1; }
.faq-a-inner p + p { margin-top: 10px; }

/* ---------- 15. CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary-deep), var(--primary));
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); max-width: 620px; }
.cta-band p { color: rgba(255, 255, 255, 0.88); margin-top: 10px; font-size: 16px; font-weight: 500; }
.cta-band .btn { flex-shrink: 0; }

/* feature highlights (3-col) */
.feature-grid { display: grid; gap: 28px; }
.feature-box { text-align: center; padding: 8px; }
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon .icon { width: 28px; height: 28px; }
.feature-box h3 { font-size: 18px; font-weight: 900; margin-bottom: 8px; text-transform: none; }
.feature-box p { font-size: 14px; color: var(--gray-500); font-weight: 500; line-height: 1.7; }

/* ---------- 16. Breadcrumb / page hero ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--gray-400); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .icon { width: 14px; height: 14px; }
.breadcrumb span[aria-current] { color: var(--gray-600); }

.page-hero { padding: 56px 0 72px; }
.page-hero-grid { display: grid; gap: 40px; align-items: center; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lead { margin-bottom: 30px; max-width: 560px; }
.page-hero-media img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(214, 33, 3, 0.05), rgba(214, 33, 3, 0.1));
  padding: 30px;
}
.page-hero .hero-actions-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 17. Product listing ---------- */
.listing-layout { display: grid; gap: 40px; }
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-count b { font-weight: 900; font-size: 26px; }
.filter-count span { display: block; font-size: 14px; font-weight: 500; color: var(--gray-500); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--gray-200);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-600);
  background: #fff;
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.select-wrap { position: relative; display: inline-flex; align-items: center; }
.select-wrap select {
  appearance: none;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  padding: 10px 44px 10px 18px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
}
.select-wrap .icon { position: absolute; right: 16px; width: 15px; height: 15px; color: var(--gray-400); pointer-events: none; }

.product-grid { display: grid; gap: 24px; }
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px -12px rgba(232, 74, 58, 0.16);
}
.product-card .corner-badges { position: absolute; top: 18px; left: 18px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.product-thumb {
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 18px;
}
.product-thumb img { max-height: 100%; object-fit: contain; transition: transform 0.45s ease; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-card h3 { font-size: 17px; font-weight: 900; line-height: 1.35; margin-bottom: 6px; }
.product-card h3 a::after { content: ''; position: absolute; inset: 0; }
.product-card h3 a:hover { color: var(--primary); }
.product-sub { font-size: 14px; color: var(--gray-500); font-weight: 500; margin-bottom: 12px; }
.product-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-500);
  line-height: 1.6;
}

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 56px; }
.pagination a, .pagination span {
  min-width: 42px;
  height: 42px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-600);
  border: 1.5px solid transparent;
  transition: all 0.2s;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--ink); color: #fff; }
.pagination .disabled { color: var(--gray-300); pointer-events: none; }
.pagination .icon { width: 17px; height: 17px; }

/* listing sidebar */
.listing-side { display: grid; gap: 22px; align-self: start; }
.side-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: #fff;
}
.side-card.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.side-title { font-size: 12px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 14px; }
.side-card.dark .side-title { color: var(--gray-400); }
.side-nav li + li { margin-top: 2px; }
.side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  transition: background-color 0.18s, color 0.18s;
}
.side-nav a:hover { background: var(--primary-tint); color: var(--primary); }
.side-nav a.active { background: var(--primary-tint); color: var(--primary); font-weight: 800; }
.side-nav .count { font-size: 12px; font-weight: 700; color: var(--gray-400); }
.side-card.dark h3 { font-size: 19px; font-weight: 900; text-transform: none; color: #fff; margin-bottom: 8px; }
.side-card.dark p { font-size: 13.5px; color: #b9b3af; margin-bottom: 18px; line-height: 1.7; }
.side-check { display: grid; gap: 10px; margin-bottom: 20px; }
.side-check li { display: flex; gap: 10px; font-size: 13px; font-weight: 600; color: var(--gray-600); }
.side-check .icon { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* ---------- 18. Product detail ---------- */
.pd-layout { display: grid; gap: 56px; }
.pd-gallery .main-img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  background: linear-gradient(180deg, rgba(214, 33, 3, 0.04), rgba(214, 33, 3, 0.08));
  padding: 34px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-gallery .main-img img { max-height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pd-thumbs button {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-100);
  background: #fff;
  padding: 8px;
  transition: border-color 0.2s;
}
.pd-thumbs button:hover, .pd-thumbs button.active { border-color: var(--primary); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.pd-info h1 { font-size: clamp(30px, 4vw, 44px); margin: 10px 0 14px; }
.pd-summary { color: var(--gray-600); font-size: 16px; line-height: 1.75; margin-bottom: 24px; }
.pd-quick {
  display: grid;
  gap: 12px;
  padding: 22px 24px;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin-bottom: 26px;
}
.pd-quick-row { display: flex; gap: 12px; font-size: 14px; font-weight: 600; color: var(--gray-600); }
.pd-quick-row .icon { width: 19px; height: 19px; color: var(--primary); flex-shrink: 0; margin-top: 1px; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.pd-actions .btn { flex: 1 1 200px; }
.pd-assure { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; font-weight: 600; color: var(--gray-500); }
.pd-assure span { display: inline-flex; align-items: center; gap: 7px; }
.pd-assure .icon { width: 16px; height: 16px; color: var(--primary); }

.pd-section { margin-top: 72px; }
.pd-tabs-nav { display: flex; gap: 6px; border-bottom: 2px solid var(--gray-100); margin-bottom: 36px; overflow-x: auto; scrollbar-width: none; }
.pd-tabs-nav::-webkit-scrollbar { display: none; }
.pd-tab {
  padding: 13px 22px;
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.pd-tab:hover { color: var(--ink); }
.pd-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.pd-pane { display: none; }
.pd-pane.active { display: block; }
.pd-pane p { color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; }
.pd-pane h3 { text-transform: none; font-size: 20px; margin: 28px 0 12px; }

/* ---------- 19. Resources hub / static page ---------- */
.resource-grid { display: grid; gap: 24px; }
.resource-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.resource-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px -12px rgba(232, 74, 58, 0.16);
}
.resource-card h3 { font-size: 21px; font-weight: 900; text-transform: none; margin: 18px 0 10px; }
.resource-card p { font-size: 14.5px; color: var(--gray-500); line-height: 1.7; margin-bottom: 22px; }
.resource-card .link-arrow { margin-top: auto; }

.faq-layout { display: grid; gap: 48px; align-items: start; }
.faq-sidebar { position: static; }
.faq-side-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
}
.faq-side-card h3 { color: #fff; font-size: 20px; text-transform: none; margin-bottom: 10px; }
.faq-side-card p { color: var(--gray-400); font-size: 14px; margin-bottom: 22px; line-height: 1.7; }
.faq-anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-anchor-nav a {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background-color 0.2s;
}
.faq-anchor-nav a:hover { background: var(--primary); }

/* ---------- 20. Blog ---------- */
.post-grid { display: grid; gap: 28px; }
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px -12px rgba(232, 74, 58, 0.16);
}
.post-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #ffe9e5, #fff7f5); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-media.placeholder { display: flex; align-items: center; justify-content: center; }
.post-media.placeholder img { width: 62%; height: auto; object-fit: contain; }
.post-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.post-date { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--gray-400); }
.post-date .icon { width: 14px; height: 14px; }
.post-card h3 { font-size: 18.5px; font-weight: 900; line-height: 1.4; text-transform: none; margin-bottom: 10px; }
.post-card h3 a:hover { color: var(--primary); }
.post-excerpt { font-size: 14px; color: var(--gray-500); line-height: 1.7; margin-bottom: 20px; }
.post-card .link-arrow { margin-top: auto; font-size: 13.5px; }

.featured-post {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.featured-post:hover { border-color: var(--primary); box-shadow: 0 24px 48px -16px rgba(232, 74, 58, 0.2); }
.featured-media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #ffe9e5, #fff7f5); display: flex; align-items: center; justify-content: center; padding: 30px; }
.featured-media img { max-height: 100%; object-fit: contain; }
.featured-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { font-size: clamp(24px, 3vw, 34px); text-transform: none; line-height: 1.2; margin: 14px 0 14px; }
.featured-body h2 a:hover { color: var(--primary); }
.featured-body p { color: var(--gray-600); font-size: 15.5px; line-height: 1.75; margin-bottom: 24px; }

/* ---------- 21. Article ---------- */
.article-head { max-width: 820px; margin: 0 auto 44px; text-align: center; }
.article-head .post-meta { justify-content: center; margin-bottom: 18px; }
.article-head h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.12; }
.article-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
  background: linear-gradient(135deg, #ffe9e5, #fff7f5);
  aspect-ratio: 21 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.article-cover img { max-height: 100%; object-fit: contain; }

.prose { max-width: 760px; margin-inline: auto; color: var(--gray-700); font-size: 16.5px; line-height: 1.85; }
.prose > * + * { margin-top: 1.4em; }
.prose h2 {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: 2em;
  text-transform: none;
}
.prose h3 { color: var(--ink); font-size: 21px; font-weight: 800; margin-top: 1.8em; }
.prose p { margin: 0; }
.prose a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 800; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 10px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--primary); font-weight: 700; }
.prose blockquote {
  border-left: 4px solid var(--primary);
  background: var(--primary-tint);
  padding: 22px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  font-style: italic;
}
.prose blockquote cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; font-weight: 700; color: var(--gray-500); }
.prose .img-pull { border-radius: var(--radius); margin-inline: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--gray-200); padding: 12px 16px; text-align: left; }
.prose th { background: var(--gray-50); font-weight: 800; color: var(--ink); }

.article-foot {
  max-width: 760px;
  margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.share-row { display: flex; align-items: center; gap: 10px; }
.share-row span { font-size: 13px; font-weight: 800; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.06em; }
.share-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all 0.2s;
}
.share-row a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.share-row .icon { width: 16px; height: 16px; }

/* ---------- 22. Forms ---------- */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 500;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 74, 58, 0.12);
}
.form-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 24px 60px -30px rgba(31, 15, 11, 0.25);
}

/* ---------- 23. Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 64px 0 32px; margin-top: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 52px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #c9c4c1; font-size: 14px; line-height: 1.7; margin: 16px 0 20px; max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: #d8d3d0; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14px; font-weight: 500; color: #c9c4c1; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: grid; gap: 2px; margin-bottom: 14px; }
.footer-contact .lbl { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); }
.footer-contact .val { font-size: 14px; color: #e6e2e0; font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: var(--gray-400); font-weight: 500; }
.footer-bottom .legal { display: flex; gap: 20px; }
.footer-bottom .legal a { font-size: 13px; color: var(--gray-400); font-weight: 500; }
.footer-bottom .legal a:hover { color: #fff; }

/* ---------- 24. Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 25. Generic grids / utilities ---------- */
.grid-2 { display: grid; gap: 24px; }
.grid-3 { display: grid; gap: 24px; }
.grid-4 { display: grid; gap: 24px; }

.narrow { max-width: 900px; margin-inline: auto; }
.mt-9 { margin-top: 36px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-7 { margin-bottom: 28px; }
.eyebrow .icon { width: 16px; height: 16px; }
.footer-brand .brand img { height: 34px; }
.font-medium { font-weight: 500; }
.mt-5 { margin-top: 20px; }
.text-primary { color: var(--primary); font-weight: 700; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; align-items: center; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .featured-post { grid-template-columns: 1.05fr 1fr; }
  .featured-media { aspect-ratio: auto; min-height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .product-mini-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
}

/* Desktop header nav needs ~1100px to fit all items without clipping */
@media (min-width: 1100px) {
  .main-nav { display: flex; }
  .header-actions { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav, .nav-backdrop { display: none; }
  .mobile-cta { display: none; }
  body.has-mobile-cta { padding-bottom: 0; }
}

@media (min-width: 1024px) {
  .hero { padding: 56px 0 96px; }
  .hero-grid { grid-template-columns: 3fr 2fr; gap: 64px; }
  .hero-actions { flex-direction: row; align-items: center; }

  .page-hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .page-hero { padding: 72px 0 96px; }

  .spotlight-layout { grid-template-columns: 1fr 2fr; gap: 64px; }
  .spotlight-aside { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }

  .listing-layout { grid-template-columns: 260px 1fr; gap: 56px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }

  .pd-layout { grid-template-columns: 1fr 1.15fr; }
  .pd-gallery { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }

  .faq-layout { grid-template-columns: 300px 1fr; }
  .faq-sidebar { position: sticky; top: calc(var(--header-h) + 24px); }

  .footer-grid { grid-template-columns: 2fr 1fr 1.2fr 1.2fr 1.3fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1200px) {
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1023.98px) {
  .cta-band { padding: 40px 28px; }
  .section { padding-block: 68px; }
}

@media (max-width: 639.98px) {
  .container { padding-inline: 18px; }
  .site-header .header-inner { gap: 12px; }
  .brand img { height: 30px; }
  .brand-tag { display: none; }
  .eyebrow { font-size: 12.5px; }
  .cat-track { padding-inline: 18px; }
  .logos-row { gap: 24px 32px; }
  .logos-row img { height: 26px; }
  .logos-row img.tall { height: 34px; }
  .faq-q { padding: 18px 20px; font-size: 15px; }
  .faq-a-inner { padding: 0 20px 20px; }
  .featured-body { padding: 28px; }
  .form-card { padding: 24px; }
  .article-cover { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   24. Quote / Contact form page
   ========================================================================== */
.page-hero-form { background: linear-gradient(180deg, var(--primary-tint) 0, #fff 100%); }
.page-hero-form .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
.page-hero-form .page-hero-media {
  order: -1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero-form .page-hero-media img {
  max-width: 280px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(31, 15, 11, 0.18));
}

.hero-checks {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.hero-checks .icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Two-column layout: form + aside */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

/* Form card head */
.form-card-head { margin-bottom: 28px; }
.form-card-head .h3 { margin: 0; }
.form-sub { margin: 6px 0 0; font-size: 13.5px; color: var(--gray-500); }
.req { color: var(--primary); font-weight: 700; }

/* Form groups (fieldsets) */
.form-group {
  border: 0;
  padding: 0;
  margin: 0 0 32px;
}
.form-group:last-of-type { margin-bottom: 0; }
.form-legend {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.field-full { grid-column: 1 / -1; }

/* Select arrow (cross-browser) */
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f0f0b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.field select:disabled { background-color: var(--gray-50); cursor: not-allowed; }

/* Field-level inline error (hidden by default; revealed via .has-error) */
.field-error {
  display: none;
  margin: 6px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--primary);
  background: rgba(232, 74, 58, 0.04);
}
.field.has-error .field-error { display: block; }

/* File drop zone */
.file-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 28px 20px;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  color: var(--gray-500);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
}
.file-drop:hover,
.file-drop.is-drag {
  border-color: var(--primary);
  background: var(--primary-tint);
  color: var(--ink);
}
.file-drop .icon { width: 28px; height: 28px; color: var(--primary); }
.file-drop-text { font-size: 14px; font-weight: 600; }
.link-text { color: var(--primary); text-decoration: underline; }
.file-drop-hint { font-size: 12px; }
.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-name {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
}

/* Custom checkboxes */
.field-consent { margin-top: 8px; display: grid; gap: 14px; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--gray-700);
  cursor: pointer;
}
.checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.checkbox-mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: 5px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.checkbox-mark .icon { width: 13px; height: 13px; color: #fff; opacity: 0; }
.checkbox input:checked + .checkbox-mark {
  background: var(--primary);
  border-color: var(--primary);
}
.checkbox input:checked + .checkbox-mark .icon { opacity: 1; }
.checkbox input:focus-visible + .checkbox-mark {
  box-shadow: 0 0 0 3px rgba(232, 74, 58, 0.18);
}
.checkbox a { color: var(--primary); text-decoration: underline; }
.checkbox.has-error .checkbox-mark { border-color: var(--primary); }

/* Form actions */
.form-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.form-actions .btn { width: 100%; justify-content: center; }
.form-note { margin: 0; font-size: 12.5px; color: var(--gray-500); }

/* Success state */
.form-success {
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--primary-tint);
  border: 1px solid rgba(232, 74, 58, 0.25);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.form-success .icon { width: 32px; height: 32px; color: var(--primary); flex-shrink: 0; }
.form-success h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; color: var(--ink); }
.form-success p { margin: 0; font-size: 14px; color: var(--gray-700); }
.form-success a { color: var(--primary); font-weight: 700; }
.quote-form.is-submitted .form-group,
.quote-form.is-submitted .field-consent,
.quote-form.is-submitted .form-actions { display: none; }

/* Aside cards */
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.aside-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 28px;
}
.aside-card .h4 { margin: 0 0 10px; font-size: 18px; }
.aside-card p { margin: 0 0 16px; font-size: 14px; color: var(--gray-600); }
.aside-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.aside-list li { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: baseline; }
.aside-list .lbl {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.aside-list .val {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.aside-list a.val:hover { color: var(--primary); }

.aside-card-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.aside-card-dark .h4 { color: #fff; }
.aside-card-dark p { color: rgba(255, 255, 255, 0.7); }
.aside-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.aside-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.aside-checks .icon { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* Map placeholder */
.aside-map .h4 { margin-bottom: 10px; }
.aside-address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-700);
  margin: 0 0 16px;
}
.map-embed {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--gray-100);
}
.map-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) brightness(0.85);
}
.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: 50% 50% 50% 0;
  transform-origin: center;
  rotate: -45deg;
  box-shadow: 0 6px 18px rgba(214, 33, 3, 0.45);
}
.map-pin .icon { width: 18px; height: 18px; rotate: 45deg; }

/* Trust eyebrow */
.trust-eyebrow {
  margin: 0 0 24px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  text-align: center;
}

/* ---------- Responsive: 768+ ---------- */
@media (min-width: 768px) {
  .form-grid-2 { grid-template-columns: 1fr 1fr; }
  .form-actions { flex-direction: row; align-items: center; }
  .form-actions .btn { width: auto; }
  .form-success { padding: 28px; }
}

/* ---------- Responsive: 1024+ ---------- */
@media (min-width: 1024px) {
  .page-hero-form .page-hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .page-hero-form .page-hero-media { order: 0; }
  .contact-layout { grid-template-columns: 1.55fr 1fr; gap: 48px; }
}


/* CMS: [hidden] 需覆盖 .form-success 的 display:flex（否则成功提示默认可见） */
.form-success[hidden] { display: none !important; }
