/* ---------- Self-hosted Inter (GDPR-safe, no Google Fonts request) ----------
   Inter v20 is a variable font: one file covers weights 100–900. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   HONG MING TAI DOORS & WINDOWS — Export B2B Standalone Site
   Design language: European high-end door/window brands
   (More Millimeter · Impronta · The French Steel Company)
   Palette: ink black / charcoal / off-white + brass-gold accent
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ink: #0B0B0D;
  --ink-2: #121216;
  --ink-3: #1A1A20;
  --ink-4: #24242C;
  --paper: #F4F3EF;
  --paper-2: #ECEBE6;
  --white: #FFFFFF;
  --grey: #8E929B;
  --grey-2: #B9BDC4;
  --accent: #C2A25B;
  --accent-2: #D9BE83;
  --accent-dark: #7A622E;
  --line-d: rgba(255, 255, 255, 0.09);
  --line-l: rgba(11, 11, 13, 0.10);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
  --shadow-l: 0 18px 44px -20px rgba(11, 11, 13, 0.25);
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
  --radius: 2px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }

::selection { background: var(--accent); color: var(--ink); }

/* ---------- Accessibility: skip link + visible keyboard focus ---------- */
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 1000;
  background: var(--accent); color: var(--ink);
  padding: 12px 20px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible,
summary:focus-visible, input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible, input[type="file"]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.lang-switch__menu button:focus-visible { outline-color: var(--accent); }

/* ---------- Utility ---------- */
.container { width: min(1240px, 92vw); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--dark { background: var(--bg); color: var(--text); }
.section--dark-2 { background: var(--bg-2); color: var(--text); }
.section--light { background: var(--bg); }
.section--white { background: var(--bg-2); }
/* Always-light content section: filter bars, product/blog cards, forms and
   tables inside stay on a light surface in BOTH themes (no black blocks). */
.section--surface {
  background: var(--surface-2);
  color: #0B0B0D;
  --text: #0B0B0D;
  --text-2: #646871;
  --text-3: #3A3D44;
  --line: rgba(11,11,13,0.10);
  --line-2: rgba(11,11,13,0.10);
  --accent-dark: #7A622E;
  --bg: #F4F3EF;
}
.section--surface .chip { border-color: rgba(11,11,13,0.18); }
.section--surface .chip.active { background: #0B0B0D; color: #F4F3EF; border-color: #0B0B0D; }

.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.kicker--center::after { content: ""; width: 34px; height: 1px; background: var(--accent); }
.kicker--center { justify-content: center; }

.h2 {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 600; letter-spacing: -0.03em;
  margin-top: 18px; line-height: 1.08;
}
.h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -0.02em; }
.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--text-2); margin-top: 18px; max-width: 620px; }
.section--dark .lead, .section--dark-2 .lead { color: var(--text-3); }
.lead--center { margin-inline: auto; text-align: center; }
.center { text-align: center; }
.section-heading-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-64 { margin-top: 64px; }

.text-accent { color: var(--accent); }
.eyebrow { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: var(--radius); border: 1px solid transparent;
  transition: all 0.35s var(--ease); white-space: nowrap;
}
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--gold { background: var(--accent); color: var(--ink); }
.btn--gold:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(194, 162, 91, 0.55); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }
.btn--outline { border-color: var(--line-2); color: var(--text); }
.btn--outline:hover { border-color: var(--text); background: var(--text); color: var(--bg); transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: 11.5px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--header-h);
  transition: background 0.4s var(--ease), height 0.4s var(--ease), box-shadow 0.4s var(--ease);
  color: var(--white);
  background: linear-gradient(180deg, rgba(7,8,11,0.62), rgba(7,8,11,0));
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 40px; }
.site-header.scrolled {
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  height: 68px;
  box-shadow: 0 10px 40px -18px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid var(--line-d);
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand__mark {
  height: 44px; width: auto; display: block;
  object-fit: contain; filter: drop-shadow(0 2px 10px rgba(194, 162, 91, 0.18));
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.brand:hover .brand__mark { opacity: 0.88; transform: translateY(-1px); }
.brand__name { font-size: 15.5px; font-weight: 700; letter-spacing: 0.14em; line-height: 1.15; }
.brand__sub { font-size: 9.5px; letter-spacing: 0.34em; color: var(--accent); text-transform: uppercase; margin-top: 3px; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.main-nav a.nav-link {
  padding: 10px 14px; font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82);
  position: relative; transition: color 0.3s;
}
.main-nav a.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active { color: var(--white); }
.main-nav a.nav-link:hover::after, .main-nav a.nav-link.active::after { transform: scaleX(1); }
.nav-drop { position: relative; }
.nav-drop__menu {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 250px;
  background: var(--ink-2); border: 1px solid var(--line-d);
  padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.3s var(--ease); box-shadow: var(--shadow);
}
.nav-drop:hover .nav-drop__menu, .nav-drop:focus-within .nav-drop__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop__menu a { display: block; padding: 11px 22px; font-size: 13px; color: rgba(255,255,255,0.8); letter-spacing: 0.04em; transition: all 0.25s; }
.nav-drop__menu a:hover { color: var(--accent); background: rgba(255,255,255,0.03); padding-left: 28px; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { position: relative; }
.lang-switch__btn {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px;
  border: 1px solid rgba(255,255,255,0.22); border-radius: var(--radius);
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: var(--white);
  transition: border-color 0.3s;
}
.lang-switch__btn:hover { border-color: var(--accent); }
.lang-switch__menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 150px;
  background: var(--ink-2); border: 1px solid var(--line-d);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.3s var(--ease);
}
.lang-switch.open .lang-switch__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch__menu button { display: flex; justify-content: space-between; gap: 20px; width: 100%; padding: 11px 18px; font-size: 13px; color: rgba(255,255,255,0.8); text-align: left; transition: all 0.25s; }
.lang-switch__menu button:hover { color: var(--accent); background: rgba(255,255,255,0.03); }
.lang-switch__menu button.active { color: var(--accent); }
.lang-switch__menu button small { color: var(--grey); font-size: 11px; }

.header-cta { padding: 11px 20px; font-size: 11px; }
.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 300; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: all 0.35s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
body.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
body.menu-open { overflow: hidden; }
body.menu-open .site-header.scrolled {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 250; background: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: calc(var(--header-h) + 34px) 8vw 40px;
  opacity: 0; visibility: hidden; transition: all 0.45s var(--ease);
  overflow-y: auto; overscroll-behavior: contain;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a.m-link {
  font-size: clamp(26px, 6vw, 38px); font-weight: 600; letter-spacing: -0.02em;
  color: var(--white); padding: 10px 0; display: flex; align-items: baseline; gap: 16px;
  opacity: 0; transform: translateY(18px); transition: all 0.5s var(--ease);
}
body.menu-open .mobile-menu a.m-link { opacity: 1; transform: none; }
.mobile-menu a.m-link small { font-size: 12px; color: var(--accent); letter-spacing: 0.2em; }
.mobile-menu a.m-link:hover { color: var(--accent-2); }
.mobile-menu .m-sub { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-d); }
.mobile-menu .m-sub a { font-size: 14px; letter-spacing: 0.08em; color: var(--grey-2); text-transform: uppercase; }
.mobile-menu .m-sub a:hover { color: var(--accent); }
.mobile-menu .m-foot { margin-top: auto; font-size: 13px; color: var(--grey); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--white); overflow: hidden; background: var(--ink); isolation: isolate;
}
.hero__bg {
  position: absolute; inset: -12% -2%; z-index: 0;
  background-size: cover; background-position: center 46%;
  filter: saturate(0.78) contrast(1.08) brightness(0.82);
  transform: scale(1.08);
  will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(circle at 78% 28%, rgba(194,162,91,0.18) 0%, rgba(194,162,91,0.06) 18%, transparent 38%),
    linear-gradient(90deg, rgba(7,8,11,0.94) 0%, rgba(8,10,13,0.82) 34%, rgba(8,10,13,0.38) 64%, rgba(8,10,13,0.52) 100%),
    linear-gradient(180deg, rgba(7,8,11,0.72) 0%, rgba(7,8,11,0.16) 34%, rgba(7,8,11,0.34) 68%, rgba(7,8,11,0.96) 100%);
}
.hero__veil::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent calc(clamp(76px, 10vw, 148px) - 1px), rgba(255,255,255,0.07) clamp(76px, 10vw, 148px)),
    linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 50.15%);
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.75), rgba(0,0,0,0.2) 72%, transparent 96%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.75), rgba(0,0,0,0.2) 72%, transparent 96%);
}
.hero__veil::after {
  content: ""; position: absolute; top: 18%; right: 5vw;
  width: clamp(170px, 25vw, 360px); height: 56%;
  border-top: 1px solid rgba(217,190,131,0.5);
  border-right: 1px solid rgba(217,190,131,0.5);
  box-shadow: 28px -28px 80px rgba(194,162,91,0.07);
}
.hero__inner { position: relative; z-index: 2; padding: calc(var(--header-h) + 40px) 0 110px; }
.hero__inner::before {
  content: ""; position: absolute; z-index: -1;
  left: -4vw; top: calc(var(--header-h) + 4px); bottom: 76px;
  width: min(690px, 62vw);
  background: linear-gradient(90deg, rgba(8,10,13,0.42), rgba(8,10,13,0.16) 72%, transparent);
  border-left: 1px solid rgba(217,190,131,0.42);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}
.hero__kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 26px;
}
.hero__kicker::before { content: ""; width: 40px; height: 1px; background: var(--accent); }
.hero h1 {
  font-size: clamp(38px, 6.4vw, 82px); font-weight: 600; letter-spacing: -0.035em;
  line-height: 1.02; max-width: 15ch;
}
.hero h1 .thin { font-weight: 300; color: #D5D7DC; }
.hero__sub { margin-top: 26px; font-size: clamp(15px, 1.7vw, 18px); color: #C7CAD0; max-width: 600px; font-weight: 350; line-height: 1.75; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 42px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-d); }
.hero__meta div { display: flex; align-items: center; gap: 12px; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-2); }
.hero__meta .dot { width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 44px; border: 1px solid rgba(255,255,255,0.4); border-radius: 14px;
  display: grid; place-items: start center; padding-top: 8px;
}
.hero__scroll::after { content: ""; width: 2px; height: 9px; background: var(--accent); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 90px) 0 80px;
  background: var(--ink); color: var(--white); overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.32; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,13,0.6), rgba(11,11,13,0.9)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.03em; margin-top: 16px; }
.page-hero p { color: var(--grey-2); max-width: 600px; margin-top: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--grey); opacity: 0.5; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { position: relative; padding: 10px 0; }
.stat + .stat::before { content: ""; position: absolute; left: -16px; top: 8px; bottom: 8px; width: 1px; background: var(--line-d); }
.stat__num { font-size: clamp(38px, 4.6vw, 58px); font-weight: 600; letter-spacing: -0.03em; color: var(--text); line-height: 1; }
.stat__num .suffix { color: var(--accent); }
.stat__label { margin-top: 12px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-3); }
.stats--light .stat__num { color: var(--text); }

/* ---------- Product series cards ---------- */
.series-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.series-card {
  position: relative; overflow: hidden; background: var(--bg-3); aspect-ratio: 4/5;
  display: flex; align-items: flex-end; color: var(--text);
  border: 1px solid transparent; transition: border-color 0.4s var(--ease);
}
.series-card__img { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: #1C1C22; transition: transform 1.2s var(--ease); }
.series-card:hover .series-card__img { transform: scale(1.06); }
.series-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,13,0.14) 18%, rgba(11,11,13,0.52) 55%, rgba(11,11,13,0.97) 100%); }
.series-card__body { position: relative; z-index: 2; padding: 30px; width: 100%; }
.series-card__no { font-size: 11px; letter-spacing: 0.3em; color: var(--accent); text-transform: uppercase; }
.series-card h3 { font-size: 24px; margin-top: 10px; letter-spacing: -0.01em; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.series-card p { font-size: 13.5px; color: #D5D5DA; margin-top: 8px; max-width: 300px; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.series-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #FFFFFF; }
.series-card__link .arrow { transition: transform 0.35s var(--ease); }
.series-card:hover .series-card__link { color: var(--accent-2); }
.series-card:hover .series-card__link .arrow { transform: translateX(5px); }

/* ---------- Product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.p-card {
  background: var(--surface); border: 1px solid var(--line-2); position: relative;
  display: flex; flex-direction: column; transition: all 0.45s var(--ease);
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: var(--accent); }
.p-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.p-card:hover .p-card__media img { transform: scale(1.06); }
.p-card__tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--text); color: #FFFFFF; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; padding: 6px 10px; }
.p-card__compare {
  position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--line-2);
  padding: 7px 11px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--text);
  cursor: pointer; transition: all 0.3s;
}
.p-card__compare:hover { border-color: var(--text); }
.p-card__compare input { accent-color: var(--accent); width: 18px; height: 18px; }
.p-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.p-card__cat { font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent-dark); }
.p-card h3 { font-size: 17px; margin-top: 8px; line-height: 1.25; }
.p-card__desc { font-size: 13px; color: var(--text-2); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card__spec { margin-top: 14px; display: flex; justify-content: space-between; font-size: 12px; color: var(--text-2); border-top: 1px dashed var(--line-2); padding-top: 12px; }
.p-card__spec b { color: var(--text); font-weight: 600; }
.p-card__hw { margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--text-2); }
.p-card__hw span { flex-shrink: 0; letter-spacing: 0.08em; }
.p-card__hw b { color: var(--accent-dark); font-weight: 600; text-align: right; }
.p-card__foot { margin-top: 18px; display: flex; gap: 10px; }
.p-card__foot .btn { flex: 1; padding: 11px 12px; font-size: 11px; }

/* ---------- Features (why us) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  border: 1px solid var(--line); padding: 34px 30px; background: var(--bg-3);
  transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.feature:hover { background: var(--bg-3); border-color: rgba(194,162,91,0.4); transform: translateY(-4px); }
.feature__ico { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(194,162,91,0.5); color: var(--accent); }
.feature__ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 17.5px; margin-top: 22px; color: var(--text); }
.feature p { font-size: 13.5px; color: var(--text-3); margin-top: 10px; }
.feature--light { border-color: var(--line-2); background: var(--surface); }
.feature--light:hover { border-color: rgba(194,162,91,0.6); box-shadow: var(--shadow-l); }
.feature--light h3 { color: var(--text); }
.feature--light p { color: var(--text-2); }

/* ---------- Split / editorial blocks ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; object-fit: cover; }
.split__media--tall img { aspect-ratio: 4/5; }
.split__frame { position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--accent); z-index: -1; }
.split__badge {
  position: absolute; bottom: -26px; right: -14px; background: var(--accent); color: var(--ink);
  padding: 18px 26px; text-align: center; box-shadow: var(--shadow);
}
.split__badge b { display: block; font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.split__badge span { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; }
.split__body .lead { color: var(--text-2); }
.split__body--dark .lead { color: var(--text-3); }
.check-list { margin-top: 26px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; font-size: 14.5px; align-items: flex-start; }
.check-list .tick { color: var(--accent); font-weight: 700; flex-shrink: 0; line-height: 1.4; }

/* ---------- Gallery / marquee ---------- */
.img-strip {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  /* Images have different native height attributes. Size the grid tracks,
     rather than the images, so every thumbnail remains the same shape. */
  container-type: inline-size;
  grid-auto-rows: calc((100cqw - 60px) / 6);
}
.img-strip img {
  height: 100%; width: 100%; object-fit: cover;
  filter: grayscale(0.55) contrast(1.02); transition: all 0.6s var(--ease);
}
.img-strip img:hover { filter: none; transform: scale(1.03); }

.marquee { overflow: hidden; border-block: 1px solid var(--line-d); padding: 22px 0; }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span { font-size: 13px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; display: flex; align-items: center; gap: 64px; }
.marquee__track span::after { content: "◆"; color: var(--accent); font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Certifications ---------- */
.cert-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.cert-badge {
  border: 1px solid var(--line); padding: 18px 30px; min-width: 150px; text-align: center;
  background: var(--bg-3); transition: all 0.35s var(--ease);
}
.cert-badge:hover { border-color: var(--accent); background: rgba(194,162,91,0.08); }
.cert-badge b { display: block; font-size: 17px; letter-spacing: 0.06em; color: var(--text); font-weight: 700; }
.cert-badge span { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-2); margin-top: 4px; display: block; }

/* ---------- Project cards ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj-card { position: relative; overflow: hidden; aspect-ratio: 4/3; color: var(--white); background: var(--ink-3); display: block; }
.proj-card__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.1s var(--ease); }
.proj-card:hover .proj-card__img { transform: scale(1.07); }
.proj-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(11,11,13,0.88) 100%); transition: background 0.4s; }
.proj-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px; }
.proj-card__tag { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent-2); }
.proj-card h3 { font-size: 19px; margin-top: 8px; }
.proj-card__meta { display: flex; gap: 14px; margin-top: 8px; font-size: 12px; color: var(--grey-2); }
.proj-card__meta span { display: flex; align-items: center; gap: 6px; }
.proj-card__meta svg { width: 13px; height: 13px; color: var(--accent); }

/* ---------- Testimonials ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.t-card { border: 1px solid var(--line-2); background: var(--surface); padding: 34px; display: flex; flex-direction: column; transition: all 0.4s var(--ease); }
.t-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.t-card__stars { color: var(--accent-dark); letter-spacing: 4px; font-size: 13px; }
.t-card blockquote { font-size: 14.5px; color: var(--text); margin-top: 18px; line-height: 1.7; flex: 1; }
.t-card blockquote::before { content: "“"; font-size: 44px; line-height: 0; color: var(--accent); font-family: Georgia, serif; display: block; margin-bottom: 14px; }
.t-card__who { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.t-card__ava { width: 46px; height: 46px; border-radius: 50%; background: var(--text); color: #FFFFFF; display: grid; place-items: center; font-weight: 700; font-size: 15px; letter-spacing: 0.05em; }
.t-card__who b { display: block; font-size: 14px; }
.t-card__who span:not(.t-card__ava) { font-size: 12px; color: var(--text-2); }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { background: var(--surface); border: 1px solid var(--line-2); overflow: hidden; display: flex; flex-direction: column; transition: all 0.4s var(--ease); }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.blog-card:focus-visible { border-color: var(--accent-dark); box-shadow: var(--shadow-l); }
.blog-card__media { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card__date { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-2); }
.blog-card h3 { font-size: 16.5px; margin-top: 10px; line-height: 1.35; }
.blog-card h3 a:hover { color: var(--accent-dark); }
.blog-card p { font-size: 13px; color: var(--text-2); margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__more { margin-top: auto; padding-top: 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); display: inline-flex; gap: 8px; align-items: center; }
.blog-card__more:hover { color: var(--accent-dark); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; background: var(--ink); color: var(--white);
  padding: clamp(70px, 8vw, 110px) 0; text-align: center;
}
.cta-band__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.22; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(11,11,13,0.35), rgba(11,11,13,0.9)); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(30px, 4.6vw, 52px); letter-spacing: -0.03em; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: var(--grey-2); margin-top: 18px; max-width: 560px; margin-inline: auto; }
.cta-band .btn-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: var(--white); border-top: 1px solid var(--line-d); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding: 72px 0 56px; }
.footer-brand p { font-size: 13.5px; color: var(--grey-2); margin-top: 20px; max-width: 340px; }
.footer-col h2.footer-col__h, .footer-col h4 { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.footer-col ul { margin-top: 22px; display: grid; gap: 12px; }
.footer-col a { font-size: 13.5px; color: var(--grey-2); transition: all 0.25s; }
.footer-col a:hover { color: var(--white); padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; font-size: 13.5px; color: var(--grey-2); margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid var(--line-d); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 12px; color: var(--grey); }
.footer-bottom a { color: var(--grey-2); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Floating contact (WhatsApp / Email / Phone) ---------- */
.float-cta { position: fixed; right: 22px; bottom: 22px; z-index: 180; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.float-cta.hidden { opacity: 0; pointer-events: none; transform: translateY(14px); transition: all .4s var(--ease); }
.float-cta.hidden.show-again { opacity: 1; pointer-events: auto; transform: none; }
.float-cta__main {
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.65);
  transition: all 0.35s var(--ease); position: relative;
}
.float-cta__main:hover { transform: scale(1.08); }
.float-cta__main svg { width: 28px; height: 28px; }
.float-cta__main::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(37,211,102,0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
.float-cta__sub { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; opacity: 0; visibility: hidden; transform: translateX(12px); transition: all 0.35s var(--ease); }
.float-cta:hover .float-cta__sub, .float-cta__sub:hover { opacity: 1; visibility: visible; transform: none; }
.float-cta__sub a {
  display: flex; align-items: center; gap: 9px; background: var(--ink); color: var(--white);
  padding: 11px 16px; border-radius: 30px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.05em;
  box-shadow: var(--shadow); border: 1px solid var(--line-d); transition: all 0.3s;
}
.float-cta__sub a:hover { border-color: var(--accent); color: var(--accent-2); }
.float-cta__sub svg { width: 15px; height: 15px; }

/* ---------- Compare bar ---------- */
.compare-bar {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 190;
  background: var(--ink); color: var(--white); border: 1px solid var(--line-d);
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 18px; padding: 12px 16px 12px 22px;
  transition: transform 0.5s var(--ease); max-width: calc(100vw - 32px);
}
.compare-bar.show { transform: translate(-50%, 0); }
.compare-bar__items { display: flex; gap: 10px; overflow-x: auto; }
.compare-bar__chip { display: flex; align-items: center; gap: 8px; background: var(--ink-3); border: 1px solid var(--line-d); padding: 7px 10px 7px 12px; font-size: 12px; white-space: nowrap; }
.compare-bar__chip button { color: var(--grey-2); font-size: 14px; line-height: 1; padding: 0 2px; }
.compare-bar__chip button:hover { color: var(--accent); }

/* ---------- Modals ---------- */
.modal {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center;
  background: rgba(11, 11, 13, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: all 0.4s var(--ease); padding: 24px;
}
.modal.open { opacity: 1; visibility: visible; }
.modal__box {
  background: var(--paper); color: var(--ink); width: min(920px, 100%); max-height: 88vh;
  overflow-y: auto; position: relative; box-shadow: var(--shadow);
  transform: translateY(24px) scale(0.98); transition: transform 0.45s var(--ease);
}
.modal.open .modal__box { transform: none; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 32px; border-bottom: 1px solid var(--line-2); background: var(--surface); position: sticky; top: 0; z-index: 2; }
.modal__head h3 { font-size: 20px; }
.modal__close { width: 40px; height: 40px; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 17px; color: var(--text); transition: all 0.3s; flex-shrink: 0; }
.modal__close:hover { background: var(--text); color: #FFFFFF; border-color: var(--text); }
.modal__body { padding: 32px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); }
.field label .req { color: var(--accent-dark); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line-2); background: var(--surface); padding: 13px 15px;
  font-size: 14px; color: var(--text); border-radius: var(--radius); transition: border-color 0.3s, box-shadow 0.3s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-dark); box-shadow: 0 0 0 3px rgba(194,162,91,0.18); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--text-2); margin-top: 14px; }
.cfg-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.cfg-opt-row { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); padding: 8px 12px; background: var(--surface); }
.cfg-opt-label { flex: 1; font-size: 12.5px; color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfg-opt-row input { width: 86px; padding: 7px 10px; border: 1px solid var(--line-2); font-size: 13px; background: var(--surface); color: var(--text); border-radius: var(--radius); }
.cfg-opt-row input:focus { outline: none; border-color: var(--accent-dark); }
.cfg-opt-unit { font-size: 11px; color: var(--grey); flex-shrink: 0; }
@media (max-width: 640px) {
  .cfg-opts { grid-template-columns: 1fr; }
}
.form-ok { display: none; margin-top: 18px; padding: 16px 20px; border: 1px solid rgba(37,161,102,0.4); background: rgba(37,161,102,0.08); color: #0d6b3f; font-size: 14px; }
.form-ok.show { display: block; animation: fadeUp 0.5s var(--ease); }

/* ---------- Filters (products page) ---------- */
.filter-bar { background: var(--surface); border: 1px solid var(--line-2); padding: 20px 24px; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 18px; align-items: end; }
.filter-group label { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--text);
  transition: all 0.25s; cursor: pointer; background: transparent; white-space: nowrap;
}
.chip:hover { border-color: var(--text); }
.chip.active { background: var(--text); color: #FFFFFF; border-color: var(--text); }
.search-box { position: relative; }
.search-box input { width: 100%; padding: 12px 14px 12px 40px; border: 1px solid var(--line-2); font-size: 13.5px; background: var(--surface); color: var(--text); }
.search-box svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--grey); }
.result-count { font-size: 13px; color: var(--text-2); margin-top: 18px; }
.result-count b { color: var(--text); }

/* ---------- Compare table ---------- */
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cmp-table th, .cmp-table td { border: 1px solid var(--line-2); padding: 12px 14px; text-align: left; vertical-align: top; }
.cmp-table th { background: var(--surface); font-size: 12.5px; }
.cmp-table th img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 10px; }
.cmp-table td:first-child { font-weight: 600; background: var(--surface-2); width: 150px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }
.cmp-table .na { color: var(--text-2); font-style: italic; }

/* ---------- Spec table (detail page) ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table tr { border-bottom: 1px solid var(--line-2); }
.spec-table td { padding: 13px 4px; }
.spec-table td:first-child { color: var(--text-2); width: 42%; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.spec-table td:last-child { color: var(--text); font-weight: 500; }

/* ---------- Breadcrumb (detail) ---------- */
.crumbs--light a, .crumbs--light span { color: var(--grey); }
.crumbs--light a:hover { color: var(--ink); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.t-item { position: relative; padding: 0 0 34px 58px; }
.t-item:last-child { padding-bottom: 0; }
.t-item::before { content: ""; position: absolute; left: 10px; top: 6px; width: 15px; height: 15px; border: 1px solid var(--accent); transform: rotate(45deg); background: var(--bg-2); z-index: 1; }
.t-item h4 { font-size: 17px; color: var(--text); letter-spacing: 0.01em; }
.t-item p { font-size: 13.5px; color: var(--text-3); margin-top: 6px; }
.t-item .t-no { position: absolute; left: 0; top: -4px; font-size: 10px; letter-spacing: 0.2em; color: var(--accent); writing-mode: vertical-rl; }

/* ---------- Export map ---------- */
.map-wrap { position: relative; }
.map-wrap svg { width: 100%; height: auto; }
.map-wrap .pin { cursor: pointer; }
.map-wrap .pin circle { fill: var(--accent); transition: all 0.3s; }
.map-wrap .pin:hover circle { fill: var(--accent-2); r: 9; }
.map-wrap .pin text { fill: var(--white); font-size: 9px; letter-spacing: 0.08em; font-family: var(--font); }

/* ---------- Steps (custom design) ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { border: 1px solid var(--line); padding: 26px 20px; position: relative; background: var(--bg-3); transition: all 0.35s var(--ease); }
.step:hover { border-color: var(--accent); transform: translateY(-4px); }
.step::before { counter-increment: step; content: "0" counter(step); font-size: 12px; letter-spacing: 0.24em; color: var(--accent); font-weight: 700; }
.step h4 { font-size: 15px; color: var(--text); margin-top: 14px; }
.step p { font-size: 12.5px; color: var(--text-3); margin-top: 8px; }

/* ---------- Option cards (custom) ---------- */
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-grid--4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1080px) {
  .feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
.opt-card { border: 1px solid var(--line-2); background: var(--surface); padding: 30px 26px; transition: all 0.4s var(--ease); }
.opt-card:hover { border-color: var(--accent); box-shadow: var(--shadow-l); transform: translateY(-4px); }
.opt-card .ico { color: var(--accent-dark); }
.opt-card h3 { font-size: 17px; margin-top: 16px; }
.opt-card p { font-size: 13.5px; color: var(--text-2); margin-top: 10px; }
.opt-card ul { margin-top: 14px; display: grid; gap: 8px; }
.opt-card li { font-size: 12.5px; color: var(--text); display: flex; gap: 8px; align-items: baseline; }
.opt-card li::before { content: "—"; color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line-2); background: var(--surface); margin-bottom: 12px; }
.faq-item__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 24px; font-size: 15px; font-weight: 600; color: var(--text); text-align: left; }
.faq-item__q .pm { font-size: 20px; color: var(--accent-dark); transition: transform 0.35s var(--ease); font-weight: 400; }
.faq-item.open .faq-item__q .pm { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-item__a p { padding: 0 24px 22px; font-size: 14px; color: var(--text-2); line-height: 1.75; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--zoom { transform: scale(0.94); }
.reveal.in { transform: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; } .d5 { transition-delay: 0.4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Detail page layout ---------- */
.detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.gallery { position: sticky; top: 100px; }
.gallery__main { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line-2); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery__thumbs button { width: 84px; aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface-2); opacity: 0.65; transition: all 0.3s; }
.gallery__thumbs button.active, .gallery__thumbs button:hover { opacity: 1; border-color: var(--accent); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-panel { background: var(--surface); border: 1px solid var(--line-2); padding: 30px; }
.detail-panel h2 { font-size: 19px; letter-spacing: -0.01em; }
.detail-panel .price-note { margin-top: 14px; font-size: 12px; color: var(--text-2); letter-spacing: 0.04em; }
.moq-box { margin-top: 22px; border: 1px dashed rgba(194,162,91,0.55); background: rgba(194,162,91,0.06); padding: 16px 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.moq-box div b { display: block; font-size: 14px; color: var(--text); }
.moq-box div span { font-size: 11px; color: var(--text-2); letter-spacing: 0.1em; text-transform: uppercase; }
.feat-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.feat-mini li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text); }
.feat-mini svg { width: 16px; height: 16px; color: var(--accent-dark); flex-shrink: 0; margin-top: 2px; }

/* ---------- Numbered headings ---------- */
.num-head { display: flex; align-items: baseline; gap: 14px; }
.num-head .n { font-size: 13px; letter-spacing: 0.2em; color: var(--accent); font-weight: 700; }

/* ---------- Language selector (inline pages) ---------- */
[dir="rtl"] body { letter-spacing: 0; }
[dir="rtl"] .brand__sub, [dir="rtl"] .kicker, [dir="rtl"] .eyebrow { letter-spacing: 0.05em; }
[dir="rtl"] .main-nav a.nav-link::after { transform-origin: right; }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: translateX(-5px) scaleX(-1); }
[dir="rtl"] .hero__meta .dot { transform: rotate(45deg); }
[dir="rtl"] .timeline::before { left: auto; right: 17px; }
[dir="rtl"] .t-item { padding: 0 58px 34px 0; }
[dir="rtl"] .t-item::before { left: auto; right: 10px; }
[dir="rtl"] .t-item .t-no { left: auto; right: 0; }
[dir="rtl"] .split__frame { inset: 22px 22px -22px -22px; }
[dir="rtl"] .search-box input { padding: 12px 40px 12px 14px; }
[dir="rtl"] .search-box svg { left: auto; right: 13px; }

/* ---------- Simplified Chinese typography (no big letter-spacing) ---------- */
html[lang^="zh"] .kicker, html[lang^="zh"] .eyebrow, html[lang^="zh"] .brand__sub,
html[lang^="zh"] .brand__name, html[lang^="zh"] .nav-link, html[lang^="zh"] .lang-switch__btn,
html[lang^="zh"] .hero__kicker, html[lang^="zh"] .hero__meta div, html[lang^="zh"] .stat__label,
html[lang^="zh"] .series-card__no, html[lang^="zh"] .series-card__link, html[lang^="zh"] .p-card__cat,
html[lang^="zh"] .p-card__tag, html[lang^="zh"] .p-card__compare, html[lang^="zh"] .proj-card__tag,
html[lang^="zh"] .blog-card__date, html[lang^="zh"] .blog-card__more, html[lang^="zh"] .crumbs,
html[lang^="zh"] .btn, html[lang^="zh"] .field label, html[lang^="zh"] .filter-group label,
html[lang^="zh"] .footer-col h4, html[lang^="zh"] .footer-col h2.footer-col__h, html[lang^="zh"] .cert-badge span, html[lang^="zh"] .step::before,
html[lang^="zh"] .t-item .t-no, html[lang^="zh"] .split__badge span, html[lang^="zh"] .num-head .n,
html[lang^="zh"] .moq-box span, html[lang^="zh"] .float-cta__sub a, html[lang^="zh"] .form-note {
  letter-spacing: 0.04em;
}
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3, html[lang^="zh"] h4 {
  letter-spacing: 0;
}

/* ---------- Responsive ---------- */
/* Desktop header compression: between 1092px (8 items + actions) and 1440px */
@media (min-width: 1081px) and (max-width: 1460px) {
  .main-nav { gap: 2px; }
  .main-nav a.nav-link { padding: 10px 10px; font-size: 11.5px; letter-spacing: 0.09em; }
  .header-cta { padding: 11px 16px; font-size: 10.5px; letter-spacing: 0.1em; }
  .site-header .container { gap: 22px; }
}
@media (min-width: 1081px) and (max-width: 1240px) {
  .main-nav a.nav-link { padding: 10px 7px; font-size: 10.5px; letter-spacing: 0.05em; }
  .lang-switch__btn { padding: 8px 9px; }
  .theme-toggle { width: 36px; height: 36px; }
  .header-actions { gap: 9px; }
}
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .burger { display: block; }
  .site-header .container { gap: 22px; }
  .brand__name { font-size: 13.5px; letter-spacing: 0.1em; }
  .brand__sub { font-size: 8.5px; letter-spacing: 0.26em; }
  .brand__mark { height: 36px; }
  .p-grid, .series-grid, .proj-grid, .blog-grid, .t-grid, .feature-grid, .feature-grid--4, .opt-grid { grid-template-columns: repeat(2, 1fr); }
  .img-strip { grid-template-columns: repeat(3, 1fr); grid-auto-rows: calc((100cqw - 24px) / 3); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stat + .stat::before { display: none; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .detail-grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .split__frame { display: none; }
  .split__badge { right: 12px; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .site-header .container { gap: 12px; }
  .brand { gap: 10px; }
  .brand__name { font-size: 12.5px; letter-spacing: 0.08em; }
  .brand__sub { display: none; }
  .header-actions { gap: 8px; }
  .lang-switch__btn { padding: 7px 9px; font-size: 10px; }
  .p-grid, .series-grid, .proj-grid, .blog-grid, .t-grid, .feature-grid, .feature-grid--4, .opt-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .moq-box { grid-template-columns: 1fr; }
  .hero { align-items: flex-end; min-height: max(680px, 100svh); }
  .hero__inner { padding: calc(var(--header-h) + 32px) 0 78px; }
  .hero__inner::before { left: -4vw; right: -4vw; top: var(--header-h); bottom: 46px; width: auto; border-left: 0; border-top: 1px solid rgba(217,190,131,0.34); background: linear-gradient(180deg, rgba(8,10,13,0.2), rgba(8,10,13,0.64)); }
  .hero__veil::before { opacity: 0.34; }
  .hero__veil::after { top: 16%; right: 4vw; width: 38vw; height: 42%; opacity: 0.7; }
  .hero__kicker { margin-bottom: 18px; line-height: 1.5; }
  .hero h1 { font-size: clamp(38px, 12vw, 52px); max-width: 12ch; }
  .hero__sub { margin-top: 20px; line-height: 1.65; }
  .hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .hero__cta .btn { width: 100%; padding: 13px 10px; font-size: 10.5px; letter-spacing: 0.08em; }
  .hero__meta { gap: 10px 18px; margin-top: 28px; padding-top: 20px; }
  .hero__meta div { font-size: 11px; letter-spacing: 0.06em; }
  .hero__scroll { display: none; }
  .float-cta { right: 14px; bottom: 14px; }
  .float-cta__main { width: 44px; height: 44px; }
  .float-cta__main svg { width: 22px; height: 22px; }
  .float-cta__sub { display: none; }
  .compare-bar { left: 16px; right: 16px; transform: translateY(140%); }
  .compare-bar.show { transform: translateY(0); }
  .modal__body { padding: 20px; }
  .split__frame { display: none; }
  .split__badge { right: 8px; bottom: -16px; padding: 14px 18px; }
  .split__badge b { font-size: 24px; }
  .cert-badge { padding: 14px 20px; min-width: 120px; }
  .map-wrap .pin text { font-size: 7px; }
}

/* Small handsets and short viewports need a little more room than the
   standard mobile layout. Keep every header action available, while letting
   the wordmark yield space before the navigation control does. */
@media (max-width: 420px) {
  .site-header .container { width: min(100% - 24px, 1240px); gap: 6px; }
  .brand { gap: 7px; }
  .brand__mark { height: 32px; }
  .brand__name { font-size: 11px; letter-spacing: 0.04em; }
  .header-actions { gap: 4px; }
  .theme-toggle { width: 36px; height: 36px; }
  .lang-switch__btn { min-width: 40px; justify-content: center; padding: 7px; }
  .burger { width: 40px; height: 40px; }
  .burger span { left: 8px; right: 8px; }
  .burger span:nth-child(1) { top: 13px; }
  .burger span:nth-child(2) { top: 19px; }
  .burger span:nth-child(3) { top: 25px; }
  body.menu-open .burger span:nth-child(1),
  body.menu-open .burger span:nth-child(3) { top: 19px; }
  .modal { padding: 12px; }
  .modal__box { max-height: calc(100svh - 24px); }
  .modal__head { padding: 18px; gap: 12px; }
  .modal__head h3 { font-size: 18px; }
  .modal__body { padding: 18px; }
  .compare-bar { width: calc(100vw - 24px); gap: 10px; padding: 10px 12px; }
  .compare-bar__items { min-width: 0; }
}

@media (max-width: 350px) {
  .brand__txt { display: none; }
  .hero__cta { grid-template-columns: 1fr; }
  .hero__cta .btn { min-height: 46px; }
  .showcase__stats { gap: 18px; }
  .showcase__stats div { min-width: 78px; }
}

@media (max-height: 600px) and (max-width: 900px) {
  .hero { min-height: 600px; }
  .hero__inner { padding-bottom: 52px; }
  .hero__meta { margin-top: 20px; }
  .mobile-menu { padding-top: 80px; }
  .mobile-menu a.m-link { font-size: clamp(22px, 5vw, 30px); padding-block: 6px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__bg { will-change: auto; }
}

/* ==========================================================================
   THEME SYSTEM — dark (default) / light
   ========================================================================== */
:root {
  --bg: #0B0B0D; --bg-2: #121216; --bg-3: #1A1A20;
  --surface: #FFFFFF; --surface-2: #F4F3EF;
  --text: #FFFFFF; --text-2: #8E929B; --text-3: #B9BDC4;
  --line: rgba(255,255,255,0.09); --line-2: rgba(11,11,13,0.10);
}
html[data-theme="light"] {
  --bg: #F4F3EF; --bg-2: #FFFFFF; --bg-3: #ECEBE6;
  --surface: #FFFFFF; --surface-2: #ECEBE6;
  --text: #0B0B0D; --text-2: #646871; --text-3: #3A3D44;
  --line: rgba(11,11,13,0.10); --line-2: rgba(255,255,255,0.95);
  --accent: #7A622E; --accent-2: #8A6F35; --accent-dark: #6E572A;
  --shadow: 0 24px 60px -24px rgba(11,11,13,0.28);
  --shadow-l: 0 18px 44px -20px rgba(11,11,13,0.14);
}

/* light surfaces: grey token also darkened for AA (4.5:1 on white/paper) */
.section--surface, .section--white, .section--light,
.p-card, .t-card, .blog-card, .opt-card, .faq-item, .detail-panel,
.filter-bar, .modal__box, .modal__head, .feature--light {
  --grey: #646871;
}

/* always-dark surfaces keep their identity in light mode */
.hero, .page-hero, .cta-band, .showcase, .site-footer, .mobile-menu,
.float-cta__sub a, .compare-bar, .nav-drop__menu, .lang-switch__menu,
.map-wrap, .proj-card, .inquiry-dark {
  --bg: #0B0B0D; --bg-2: #121216; --bg-3: #1A1A20;
  --surface: #FFFFFF; --surface-2: #F4F3EF;
  --text: #FFFFFF; --text-2: #8E929B; --text-3: #B9BDC4;
  --line: rgba(255,255,255,0.09); --line-2: rgba(11,11,13,0.10);
  --accent: #C2A25B; --accent-2: #D9BE83; --accent-dark: #9A7F43;
}

/* smooth theme transition */
.theme-anim, .theme-anim * {
  transition: background-color 0.45s ease, color 0.45s ease,
    border-color 0.45s ease, box-shadow 0.45s ease !important;
}

/* ---------- Theme toggle button ---------- */
.theme-toggle {
  width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.22); border-radius: var(--radius);
  color: var(--white); transition: all 0.3s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent-2); transform: translateY(-1px); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .ico-moon { display: none; }
html[data-theme="light"] .theme-toggle .ico-moon { display: block; }
html[data-theme="light"] .theme-toggle .ico-sun { display: none; }

/* ---------- Brand logo (image mark + wordmark) ---------- */
.brand__txt { display: flex; flex-direction: column; min-width: 0; }
.brand__name { color: var(--white); }
.brand--lg .brand__mark { height: 58px; }
.brand--lg .brand__name { font-size: 19px; letter-spacing: 0.16em; }
.brand--lg .brand__sub { font-size: 11px; letter-spacing: 0.32em; }
.brand:hover .brand__name { opacity: 0.85; }
@media (max-width: 640px) {
  .brand--lg .brand__mark { height: 48px; }
  .brand--lg .brand__name { font-size: 16px; }
  .brand--lg .brand__sub { font-size: 9.5px; }
}

/* ---------- Export map panel ---------- */
.map-wrap {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-d);
  background:
    radial-gradient(ellipse at 50% 38%, rgba(194,162,91,0.10), transparent 62%),
    linear-gradient(180deg, #121218, #0B0B0D);
  padding: 30px 26px 20px;
}
.map-wrap::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
}
.map-wrap svg { position: relative; }
.map-wrap--visual::before { opacity: 0; }
.map-wrap .map-visual {
  position: relative; z-index: 1; display: block; width: 100%; height: auto;
  border: 1px solid rgba(194,162,91,0.18);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.8);
}
.map-wrap .dot-layer { }
.map-wrap .pin { cursor: pointer; }
.map-wrap .pin circle { fill: var(--accent); transition: all 0.3s; }
.map-wrap .pin text { fill: #D9D9DE; font-size: 9.5px; letter-spacing: 0.08em; font-family: var(--font); pointer-events: none; }
.map-wrap .pin:hover circle { fill: var(--accent-2); r: 9; }
.map-wrap .pin .halo { fill: none; stroke: rgba(194,162,91,0.5); stroke-width: 1; }
.map-wrap .arc {
  fill: none; stroke: rgba(194,162,91,0.45); stroke-width: 1;
  stroke-dasharray: 3 8; animation: dashFlow 2.6s linear infinite;
}
@keyframes dashFlow { to { stroke-dashoffset: -22; } }
.map-wrap .origin-ring {
  fill: none; stroke: rgba(194,162,91,0.7); stroke-width: 1.4;
  animation: mapPulse 2.4s ease-out infinite;
  transform-box: fill-box; transform-origin: center;
}
@keyframes mapPulse { 0% { opacity: 0.95; transform: scale(0.55); } 100% { opacity: 0; transform: scale(1.7); } }
.map-legend {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center;
  margin-top: 20px; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--grey-2);
}
.map-legend span { display: inline-flex; align-items: center; gap: 9px; }
.map-legend i { width: 9px; height: 9px; transform: rotate(45deg); flex-shrink: 0; }
.map-legend .g { background: var(--accent); }
.map-legend .o { background: transparent; border: 1px solid var(--accent); }

/* ---------- Inquiry preference radios ---------- */
.pref-row { display: flex; gap: 26px; flex-wrap: wrap; }
.pref-row label { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em; text-transform: none; cursor: pointer; color: var(--text); }
.pref-row input { accent-color: var(--accent); width: 18px; height: 18px; }

/* ---------- Light-surface scope ----------
   Cards, panels, tables and form fields stay light (white surface)
   with dark text in BOTH themes. */
.p-card, .t-card, .blog-card, .opt-card, .faq-item, .detail-panel,
.filter-bar, .modal__box, .modal__head, .feature--light,
.field input, .field select, .field textarea, .search-box input {
  color: #0B0B0D;
  --text: #0B0B0D;
  --text-2: #646871;
  --text-3: #3A3D44;
  --line-2: rgba(11,11,13,0.10);
  --accent-dark: #7A622E;
  --surface: #FFFFFF;
  --surface-2: #ECEBE6;
}

/* ============================================================
   PRICE SYSTEM — from 产品报价 (export quotation workbook)
   ============================================================ */

/* ---------- Product card price badge ---------- */
.p-card__price {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line-2);
  display: flex; align-items: baseline; gap: 7px;
  font-size: 12px; flex-wrap: wrap;
}
.p-card__price span {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-dark);
}
.p-card__price b { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.p-card__price i { font-style: normal; font-size: 11px; color: var(--text-2); }
.p-card__price .p-card__price-usd {
  width: 100%; font-size: 10.5px; letter-spacing: 0.06em; text-transform: none;
  color: var(--text-2); display: block;
}

/* ---------- Detail page price block ---------- */
.pd-price {
  margin-top: 22px; border: 1px solid rgba(194, 162, 91, 0.45);
  background: rgba(194, 162, 91, 0.07);
  padding: 16px 18px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
}
.pd-price__lbl { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent-dark); width: 100%; }
.pd-price__val { font-size: 24px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.pd-price__val i { font-style: normal; font-size: 13px; font-weight: 500; color: var(--text-2); }
.pd-price__cny { font-size: 12.5px; color: var(--text-2); }
.pd-price__ref { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-dark); margin-left: auto; }

/* ---------- Export price list table (products page) ---------- */
.pl-group { margin-top: 48px; }
.pl-group__title {
  font-size: 18px; letter-spacing: -0.01em; margin-bottom: 16px;
  display: flex; align-items: center; gap: 14px;
}
.pl-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pl-table-wrap { overflow-x: auto; }
.pl-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 760px; }
.pl-table th {
  text-align: left; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--grey); font-weight: 600; padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.pl-table td { padding: 14px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.pl-table tr:last-child td { border-bottom: 0; }
.pl-table td > b { font-size: 13.5px; display: block; }
.pl-table td small { display: block; margin-top: 4px; font-size: 11px; color: var(--grey); font-weight: 400; letter-spacing: 0.02em; text-transform: none; }
.pl-cert {
  display: inline-block; margin-top: 6px; font-size: 9.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); border: 1px solid rgba(194, 162, 91, 0.45);
  padding: 3px 7px; font-weight: 600;
}
.pl-item { display: block; line-height: 1.75; }
.pl-item i { font-style: normal; color: var(--text-2); }
.pl-item em { font-style: normal; color: var(--accent); font-weight: 600; margin-left: 4px; }
.pl-item--acc i { color: var(--grey); }
.pl-acc { display: block; margin-top: 4px; }
.pl-extra { margin-top: 8px; color: var(--grey); font-size: 11px; line-height: 1.6; display: block; }
.pl-hw { margin-top: 6px; color: var(--accent-dark); font-size: 11px; line-height: 1.5; display: block; letter-spacing: 0.02em; }
.pl-usd b { font-size: 15px; color: var(--accent); }
.pl-note { margin-top: 24px; font-size: 12px; color: var(--grey); line-height: 1.75; max-width: 900px; }

/* ============================================================
   SHOWCASE BAND (home · static, replaces live-render section)
   ============================================================ */
.showcase {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(84px, 9vw, 128px) 0;
  background: var(--ink);
}
.showcase__bg {
  position: absolute; inset: 0; z-index: 1;
  background-size: cover; background-position: center 42%;
  opacity: 0.30;
}
.showcase__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(11, 11, 13, 0.15), rgba(11, 11, 13, 0.92));
}
.showcase__inner { position: relative; z-index: 2; }
.showcase .kicker, .showcase .h2, .showcase .lead { color: #fff; }
.showcase .lead { color: rgba(255, 255, 255, 0.62); max-width: 640px; margin-inline: auto; }
.showcase h2 { font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.02em; }
.showcase__stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(32px, 6vw, 76px);
  margin-top: 52px; padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.showcase__stats div { display: flex; flex-direction: column; gap: 9px; min-width: 120px; }
.showcase__stats b {
  font-size: clamp(22px, 2.6vw, 30px); font-weight: 700;
  color: var(--accent); letter-spacing: 0.04em;
}
.showcase__stats span {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--grey-2);
}
.showcase .btn-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 46px; }
@media (max-width: 640px) {
  .showcase__stats { gap: 26px; }
  .showcase__stats div { min-width: 92px; }
}

/* ============================================================
   B2B ADDITIONS — inquiry list, performance, datasheet links,
   project detail facts, dense map labels, upload field
   ============================================================ */

/* product card: "Add to Inquiry" state */
.btn--inq { border-color: var(--accent-dark); color: var(--accent-dark); }
.btn--inq.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--inq:hover { border-color: var(--accent-dark); }

/* detail page: datasheet / CAD / reports row */
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.dl-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-dark); border: 1px dashed rgba(194,162,91,0.55);
  padding: 9px 14px; transition: all .3s var(--ease);
}
.dl-link:hover { background: rgba(194,162,91,0.12); border-style: solid; }

/* gallery: label that separates product photos from applications */
.gallery__hint {
  margin-top: 10px; font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--grey); text-align: center;
}

/* detail page: performance grid */
.perf-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.perf-cell {
  border: 1px solid var(--line-2); background: var(--surface);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 6px;
}
.perf-cell span {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-2); font-weight: 600;
}
.perf-cell b { font-size: 13.5px; color: var(--text); font-weight: 600; line-height: 1.4; }
@media (max-width: 900px) { .perf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .perf-grid { grid-template-columns: 1fr; } }

/* testimonial: verifiable project meta line */
.t-card__meta {
  display: block; margin-top: 3px; font-size: 11px;
  letter-spacing: 0.04em; color: var(--accent-dark); font-weight: 600;
}

/* project detail facts strip */
.proj-facts {
  display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 30px;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.16);
}
.proj-facts span { display: flex; flex-direction: column; gap: 4px; min-width: 110px; }
.proj-facts b { font-size: 15px; color: #fff; font-weight: 600; }
.proj-facts span {
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grey-2);
}
.proj-facts b { font-size: 15px; }

/* export map: dense (overlapping) labels hidden until hover / tap */
.map-wrap .pin--dense text { opacity: 0; transition: opacity .25s; }
.map-wrap .pin--dense:hover text, .map-wrap .pin--dense:focus text { opacity: 1; }
@media (max-width: 900px) {
  /* keep only every-other label on small screens */
  .map-wrap .pin:nth-child(odd) text { opacity: 0; }
  .map-wrap .pin:nth-child(odd):hover text { opacity: 1; }
}

/* inquiry form: grouped product select + list note + upload */
.field select optgroup { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-dark); font-weight: 700; }
.inquiry-list-note {
  display: none; margin-top: 14px; padding: 11px 15px;
  border: 1px dashed rgba(194,162,91,0.55); background: rgba(194,162,91,0.08);
  font-size: 13px; color: var(--accent-dark); font-weight: 600;
}
.field input[type="file"] {
  border: 1px dashed var(--line-2); background: var(--surface);
  padding: 12px 15px; font-size: 13px; color: var(--text-2); width: 100%;
}
.field input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 8px 14px; border: 1px solid var(--accent-dark);
  background: transparent; color: var(--accent-dark);
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; cursor: pointer;
}
.field input[type="file"]::file-selector-button:hover { background: rgba(194,162,91,0.12); }
.upload-hint { font-size: 11.5px; color: var(--grey); margin-top: 5px; }

/* quote modal: example + validation */
.cfg-note--example { color: var(--accent-dark); font-weight: 600; }

/* --------------------------------------------------------------------------
   Homepage visual refinement — tighter rhythm, clearer hierarchy and less
   obstruction on long desktop/tablet journeys.
   -------------------------------------------------------------------------- */
.home-page .section { padding: clamp(68px, 6.5vw, 92px) 0; }
.home-page main > .section + .section { border-top: 1px solid var(--line); }
.home-page .h2 { max-width: 18ch; }
.home-page .center .h2 { margin-inline: auto; }
.home-page .lead { line-height: 1.75; }

.home-page .home-featured { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.home-page .home-featured #featuredGrid .p-card:nth-child(n + 4) { display: none; }
.home-page .home-featured .p-card__media { aspect-ratio: 16 / 10; }
.home-page .home-featured .p-card__body { padding: 20px 22px 22px; }

.home-page .home-projects { padding-bottom: clamp(68px, 6vw, 84px); }
.home-page .home-map {
  padding-top: clamp(68px, 6vw, 84px);
  background:
    radial-gradient(circle at 50% 0%, rgba(194,162,91,0.08), transparent 36%),
    var(--bg-2);
}
.home-page .home-map .map-wrap { width: min(1080px, 100%); margin-inline: auto; }
.home-page .home-certifications .cert-row { max-width: 1080px; margin-inline: auto; }

.home-page .cta-band__bg { opacity: 0.14; filter: saturate(0.45) contrast(1.08) blur(1px); transform: scale(1.02); }
.home-page .cta-band__bg::after {
  background: linear-gradient(90deg, rgba(11,11,13,0.94), rgba(11,11,13,0.78) 50%, rgba(11,11,13,0.94));
}
.home-page .cta-band h2 { max-width: 18ch; }
.home-page .float-cta__main { width: 52px; height: 52px; }

@media (min-width: 641px) and (max-width: 1080px) {
  .home-page .home-series .series-grid,
  .home-page .home-featured #featuredGrid,
  .home-page .home-projects .proj-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 46vw);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    padding: 2px 4vw 18px;
    margin-inline: -4vw;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
  }
  .home-page .home-series .series-card,
  .home-page .home-featured .p-card,
  .home-page .home-projects .proj-card { scroll-snap-align: start; }
  .home-page .section { padding-block: 72px; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .home-page .home-why .feature:nth-child(n + 5),
  .home-page .home-testimonials .t-card:nth-child(n + 3),
  .home-page .home-resources .blog-card:nth-child(n + 3) { display: none; }
}

/* --------------------------------------------------------------------------
   Mobile home — decision-first layout
   A phone visitor should reach a product group or quotation path within the
   first few swipes. The full catalog, projects and articles remain available
   from their dedicated pages instead of repeating a desktop-length homepage.
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .hero {
    min-height: min(640px, 100svh);
    align-items: center;
  }
  .hero__inner { padding: calc(var(--header-h) + 18px) 0 38px; }
  .hero__kicker { margin-bottom: 12px; font-size: 10px; letter-spacing: 0.24em; }
  .hero h1 { font-size: clamp(34px, 10.8vw, 46px); }
  .hero__sub { margin-top: 14px; font-size: 14px; }
  .hero__cta { margin-top: 20px; }
  .hero__meta { margin-top: 20px; padding-top: 14px; }

  /* Retain proof points, but remove the repeated campaign band on phones. */
  .stats { gap: 20px; }
  #stats.section { padding: 46px 0; }
  .stat { padding: 0; }
  .stat__label { margin-top: 7px; font-size: 10px; letter-spacing: 0.14em; }
  .showcase { display: none; }

  /* Keep every product series visible on phones. This is a short, direct
     catalogue rather than a horizontal picker, so there is no hidden content
     or sideways swipe required. */
  .series-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: visible;
    padding: 0;
    margin-inline: 0;
  }
  .series-card { aspect-ratio: 16 / 9; }
  .series-card__body { padding: 20px; }
  .series-card h3 { font-size: 21px; margin-top: 6px; }
  .series-card p { display: none; }
  .series-card__link { margin-top: 10px; }

  /* The category picker already takes visitors to the full catalog. Avoid
     making them scroll through a duplicate product feed on the homepage. */
  .mobile-featured { display: none; }

  /* Keep the strongest proof points in the feed; deeper content is one tap
     away through the global navigation or the section's existing CTA. */
  .feature-grid { gap: 12px; }
  .feature-grid > .feature:nth-child(n + 4),
  .proj-grid > .proj-card:nth-child(n + 2),
  #testiGrid > .t-card:nth-child(n + 2),
  .blog-grid > .blog-card:nth-child(n + 2) { display: none; }
  .feature { padding: 22px 18px; }
  .feature__ico { margin-bottom: 14px; }
  .feature p { margin-top: 8px; }
  .proj-card { aspect-ratio: 16 / 10; }

  .section { padding: 56px 0; }
  .mt-64 { margin-top: 36px; }
  .mt-40 { margin-top: 28px; }
  .lead { margin-top: 14px; }
  .cta-band { padding: 64px 0; }

  .section-heading-row { align-items: flex-start; gap: 18px; }
  .section-heading-row .btn { padding: 11px 16px; font-size: 10px; }
  .home-page .home-map .map-wrap { padding: 14px 10px 12px; }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 18px;
    padding: 52px 0 40px;
  }
  .footer-brand,
  .footer-top > .footer-col:last-child { grid-column: 1 / -1; }
  .footer-brand .cert-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .footer-brand .cert-badge { padding-inline: 6px !important; }
  .footer-col ul { margin-top: 16px; gap: 9px; }
  .footer-bottom { padding-block: 18px; }
}

@media (hover: none) {
  .p-card:hover, .t-card:hover, .blog-card:hover, .feature:hover { transform: none; }
  .series-card:hover .series-card__img,
  .p-card:hover .p-card__media img,
  .proj-card:hover .proj-card__img,
  .blog-card:hover .blog-card__media img { transform: none; }
}
