/* ==========================================================================
   INKLINKTEK — Design System
   Zhuhai Inklink Technology Co., Ltd. · LED Lighting Manufacturer
   Theme: energy-efficient · innovative · tech-forward
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts — self-hosted Inter variable (no third-party requests)
   -------------------------------------------------------------------------- */
@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+0304, U+0308, U+0329, U+2000-206F, 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: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ink & neutrals — 暖色调，呼应品牌橙 */
  --ink: #211710;
  --ink-2: #5D5045;
  --ink-3: #8B7D6F;
  --line: #EFE4D7;
  --line-2: #F7F0E6;

  /* Layout — 桌面 header 高度（640px 以下媒体查询覆盖为 64px） */
  --header-h: 72px;

  /* Surfaces */
  --surface: #ffffff;
  --surface-2: #FBF7F1;
  --surface-3: #F4ECDF;

  /* Dark bands — 暖炭色（变量名保留 navy 以免全站重命名） */
  --navy-950: #120C06;
  --navy-900: #191008;
  --navy-850: #211509;
  --navy-800: #2A1C0D;
  --navy-700: #392713;
  --navy-line: rgba(255, 255, 255, 0.09);

  /* Brand: 橙 = Ink 主色，锈红 = Link 辅色，琥珀 = 高光 */
  --energy: #F88020;
  --energy-2: #FFA24D;
  --cyan: #FFB547;
  --tech: #A03008;
  --grad: linear-gradient(120deg, #F88020 0%, #FFB547 100%);
  --grad-soft: linear-gradient(120deg, rgba(248, 128, 32, 0.12), rgba(255, 181, 71, 0.12));

  /* Semantic */
  --link: #A03008;
  --focus: #E8720C;

  /* Layout & tokens（v2 换色时丢失，v4 补回） */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --stack-gap: 1rem;
  --radius: 12px;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.32s;

  /* Elevation — 暖色调阴影 */
  --shadow-xs: 0 1px 2px rgba(33, 23, 16, 0.06), 0 2px 8px rgba(33, 23, 16, 0.05);
  --shadow-sm: 0 2px 6px rgba(33, 23, 16, 0.07), 0 10px 24px -12px rgba(33, 23, 16, 0.14);
  --shadow: 0 4px 12px rgba(33, 23, 16, 0.08), 0 20px 44px -18px rgba(33, 23, 16, 0.2);
  --shadow-lg: 0 8px 20px rgba(33, 23, 16, 0.1), 0 36px 72px -24px rgba(33, 23, 16, 0.26);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.08;
}
h2 {
  font-size: clamp(1.65rem, 1.1rem + 2.1vw, 2.6rem);
  letter-spacing: -0.028em;
}
h3 {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
}
h4 {
  font-size: 1.0625rem;
}

p {
  margin: 0 0 1rem;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover {
  color: var(--tech);
}

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

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}
li + li {
  margin-top: 0.35rem;
}

strong {
  color: var(--ink);
  font-weight: 650;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-3);
  padding: 0.1em 0.4em;
  border-radius: 5px;
}

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

::selection {
  background: rgba(248, 128, 32, 0.24);
  color: var(--ink);
}

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

.section {
  padding-block: var(--section-y);
}
.section--tight {
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}
.section--soft {
  background: var(--surface-2);
}
.section--dark {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}
.section--dark .lede {
  color: rgba(255, 255, 255, 0.66);
}

.stack > * + * {
  margin-top: var(--stack-gap, 1rem);
}

.grid {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.75rem);
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
}

/* Section heading block */
.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--energy);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.eyebrow--center::before {
  display: none;
}
.section--dark .eyebrow {
  color: var(--energy-2);
}

.lede {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  color: var(--ink-2);
  margin-top: 1rem;
}

.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  padding: 0.7rem 1.3rem;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus {
  transform: translate(-50%, 0);
  color: #fff;
}

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

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-py: 0.8rem;
  --btn-px: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: var(--btn-py) var(--btn-px);
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 640;
  letter-spacing: -0.005em;
  line-height: 1.25;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn svg {
  flex: none;
  width: 1.05em;
  height: 1.05em;
}

/* Gradient — primary CTA */
.btn--primary {
  background: var(--grad);
  color: #221509;
  box-shadow: 0 10px 26px -10px rgba(248, 128, 32, 0.62);
}
.btn--primary:hover {
  color: #221509;
  box-shadow: 0 16px 34px -10px rgba(248, 128, 32, 0.72);
  transform: translateY(-2px);
}

/* Solid dark — secondary CTA */
.btn--dark {
  background: var(--navy-850);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--dark:hover {
  background: var(--navy-700);
  color: #fff;
  transform: translateY(-2px);
}

/* Outline on light surfaces */
.btn--outline {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.btn--outline:hover {
  border-color: #DFC7A9;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Outline on dark surfaces */
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  transform: translateY(-2px);
}
.hero .btn--ghost {
  border-color: rgba(33, 23, 16, 0.22);
  background: #fff;
  color: var(--ink);
}
.hero .btn--ghost:hover {
  border-color: rgba(33, 23, 16, 0.4);
  background: var(--surface-2);
  color: var(--ink);
}
}

.btn--sm {
  --btn-py: 0.55rem;
  --btn-px: 1.05rem;
  font-size: 0.84375rem;
}
.btn--lg {
  --btn-py: 0.95rem;
  --btn-px: 1.9rem;
  font-size: 1rem;
}
.btn--block {
  width: 100%;
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 620;
  font-size: 0.9375rem;
  color: var(--ink);
}
.link-arrow svg {
  width: 1em;
  height: 1em;
  transition: transform var(--dur) var(--ease);
}
.link-arrow:hover {
  color: var(--energy);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.93);
}

/* Home page hero is dark — header floats transparent above it until scroll */
.header--over-dark:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.header--over-dark:not(.is-scrolled) .logo__name,
.header--over-dark:not(.is-scrolled) .nav__link {
  color: rgba(255, 255, 255, 0.9);
}
.header--over-dark:not(.is-scrolled) .nav__link:hover,
.header--over-dark:not(.is-scrolled) .nav__link[aria-current="page"] {
  color: #fff;
}
.header--over-dark:not(.is-scrolled) .nav__link[aria-current="page"]::after {
  background: var(--grad);
}
.header--over-dark:not(.is-scrolled) .burger span {
  background: #fff;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}


/* 真实品牌 logo（InkLink 橙+锈红双色字标） */
.logo__img {
  display: block;
  height: 30px;
  width: auto;
}
.logo-chip {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
}
.logo-chip .logo__img { height: 26px; }

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
}
.logo__mark {
  width: 34px;
  height: 34px;
  flex: none;
}
.logo__name {
  font-size: 1.0625rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
  transition: color 0.3s var(--ease);
}
.logo__name span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo__sub {
  display: block;
  font-size: 0.625rem;
  font-weight: 550;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 1px;
}
.header--over-dark:not(.is-scrolled) .logo__sub {
  color: rgba(255, 255, 255, 0.5);
}

/* Nav */
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.8rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.90625rem;
  font-weight: 560;
  color: var(--ink-2);
  border-radius: 9px;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 2px;
  background: transparent;
  transition: background-color var(--dur) var(--ease);
}
.nav__link:hover {
  color: var(--ink);
}
.nav__link[aria-current="page"] {
  color: var(--ink);
  font-weight: 640;
}
.nav__link[aria-current="page"]::after {
  background: var(--grad);
}
.nav__caret {
  width: 12px;
  height: 12px;
  transition: transform 0.25s var(--ease);
}

.nav__group {
  position: relative;
}
.nav__group[data-open="true"] .nav__caret {
  transform: rotate(180deg);
}

/* Mega dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(640px, calc(100vw - 2rem));
  padding: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
}
.nav__group[data-open="true"] .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown__item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.65rem 0.7rem;
  border-radius: 11px;
  color: var(--ink);
  font-size: 0.90625rem;
  font-weight: 600;
  transition: background-color var(--dur) var(--ease);
}
.dropdown__item:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.dropdown__item svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--energy);
}
.dropdown__item small {
  display: block;
  font-size: 0.78rem;
  font-weight: 450;
  color: var(--ink-3);
  line-height: 1.45;
  margin-top: 0.1rem;
}
.dropdown__all {
  grid-column: 1 / -1;
  margin-top: 0.35rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84375rem;
  padding-inline: 0.7rem;
  color: var(--ink-3);
}

/* Header CTA */
.header__cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
  margin-left: 0.5rem;
}

/* Burger */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.header--over-dark:not(.is-scrolled) .burger {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

/* Mobile panel */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: #fff;
  padding: 1.25rem var(--gutter) 2.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease),
    visibility 0.24s;
}
.mobile-nav[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0.25rem;
  border-bottom: 1px solid var(--line-2);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
}
.mobile-nav__link[aria-current="page"] {
  color: var(--energy);
}
.mobile-nav__sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  padding: 0.85rem 0 1rem;
  border-bottom: 1px solid var(--line-2);
}
.mobile-nav__sub a {
  font-size: 0.84375rem;
  font-weight: 560;
  color: var(--ink-2);
  background: var(--surface-2);
  border-radius: 9px;
  padding: 0.6rem 0.7rem;
}
.mobile-nav__foot {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.7rem;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #FEFAF3 0%, #FAF2E4 62%, #F4EAD7 100%);
  color: rgba(33, 23, 16, 0.74);
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem));
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* 产品侧一道柔和的品牌橙光 + 底部淡锈红晕 */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46rem 32rem at 76% 24%, rgba(248, 128, 32, 0.16), transparent 62%),
    radial-gradient(30rem 22rem at 92% 96%, rgba(160, 48, 8, 0.06), transparent 62%);
  pointer-events: none;
}
.hero > .container {
  position: relative;
  z-index: 2;
}
.hero--compact {
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.hero h1 {
  color: var(--ink);
}
.hero__lede {
  margin-top: 1.35rem;
  font-size: clamp(1rem, 0.94rem + 0.42vw, 1.1875rem);
  line-height: 1.68;
  color: var(--ink-2);
  max-width: 34em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.15rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.45rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.36rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78125rem;
  font-weight: 580;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
}
.pill svg {
  width: 13px;
  height: 13px;
  color: var(--energy-2);
}
.hero .pill {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
}
.hero .pill svg {
  color: var(--energy);
}

/* Hero product stage — white-bg cut-outs sit on a lit glass plate */
.stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #FFFFFF 0%, #FDF9F3 100%);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 70px -28px rgba(33, 23, 16, 0.26),
    0 10px 26px -14px rgba(33, 23, 16, 0.12),
    inset 0 1px 0 #fff;
  isolation: isolate;
}
.stage img {
  position: absolute;
  top: 8%;
  left: 8%;
  width: 84%;
  height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(33, 23, 16, 0.24));
}

.stage__chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 40px -14px rgba(33, 23, 16, 0.42);
  backdrop-filter: blur(10px);
  font-size: 0.8125rem;
  font-weight: 620;
  color: var(--ink);
  line-height: 1.25;
}
.stage__chip small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.stage__chip svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--energy);
}
.stage__chip--tl {
  top: 8%;
  left: 3%;
}
.stage__chip--br {
  bottom: 12%;
  right: 3%;
}
.stage__chip--bl {
  bottom: 4%;
  left: 4%;
}

/* --------------------------------------------------------------------------
   8. Stat strip
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: #fff;
  padding: clamp(1.25rem, 2.6vw, 1.9rem);
}
.stat__num {
  font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.35rem);
  font-weight: 780;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.stat__num span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  margin-top: 0.45rem;
  font-size: 0.84375rem;
  font-weight: 550;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}

/* Dark variant */
.section--dark .stats {
  background: var(--navy-line);
  border-color: transparent;
}
.section--dark .stat {
  background: transparent;
}
.section--dark .stat__num {
  color: #fff;
}
.section--dark .stat__label {
  color: rgba(255, 255, 255, 0.52);
}

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #EAD7BF;
}

/* Category card */
.cat-card {
  color: inherit;
}
.cat-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #FBF7F1;
  overflow: hidden;
  border-bottom: 1px solid var(--line-2);
}
.cat-card__media img {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: calc(100% - 3rem);
  height: calc(100% - 3rem);
  object-fit: contain;
  transition: transform 0.5s var(--ease);
  mix-blend-mode: multiply;
  filter: drop-shadow(0 16px 22px rgba(33, 23, 16, 0.13));
}
.cat-card:hover .cat-card__media img {
  transform: scale(1.055);
}
.cat-card__count {
  position: absolute;
  z-index: 2;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  font-size: 0.71875rem;
  font-weight: 620;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.cat-card__body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.45rem;
}
.cat-card__body h3 {
  font-size: 1.125rem;
}
.cat-card__body p {
  font-size: 0.875rem;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.6;
}
.cat-card__foot {
  margin-top: auto;
  padding-top: 1rem;
}

/* Feature card */
.feature {
  padding: clamp(1.35rem, 2.6vw, 1.85rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #EAD7BF;
}
.feature__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--grad-soft);
  border: 1px solid rgba(248, 128, 32, 0.18);
  color: #D96C0A;
  margin-bottom: 1.05rem;
}
.feature__icon svg {
  width: 22px;
  height: 22px;
}
.feature h3 {
  font-size: 1.03125rem;
  margin-bottom: 0.5rem;
}
.feature p {
  font-size: 0.90625rem;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.65;
}

/* Compact horizontal feature — used for application lists */
.feature--row {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1rem 1.15rem;
}
.feature--row .feature__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
  border-radius: 11px;
  flex: none;
}
.feature--row .feature__icon svg {
  width: 19px;
  height: 19px;
}
.feature--row h3 {
  font-size: 0.96875rem;
  margin-bottom: 0.15rem;
}
.feature--row p {
  font-size: 0.84375rem;
  line-height: 1.55;
}

/* Dark surface feature */
.section--dark .feature {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--navy-line);
}
.section--dark .feature:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}
.section--dark .feature p {
  color: rgba(255, 255, 255, 0.6);
}
.section--dark .feature__icon {
  background: rgba(47, 227, 155, 0.12);
  border-color: rgba(47, 227, 155, 0.22);
  color: var(--energy-2);
}

/* --------------------------------------------------------------------------
   10. Product cards & catalog
   -------------------------------------------------------------------------- */
.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #EAD7BF;
}
.product__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #FBF7F1;
  cursor: zoom-in;
  border: 0;
  width: 100%;
  padding: 0;
  font: inherit;
  overflow: hidden;
}
/* 图片用绝对定位约束在卡片内：依靠 aspect-ratio 的容器里用百分比 max-height
   在部分浏览器中解析失败，会导致图片溢出并盖住角标 */
.product__media img {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  width: calc(100% - 2.2rem);
  height: calc(100% - 2.2rem);
  object-fit: contain;
  transition: transform 0.45s var(--ease);
  mix-blend-mode: multiply;
  filter: drop-shadow(0 12px 18px rgba(33, 23, 16, 0.12));
}
.product:hover .product__media img {
  transform: scale(1.05);
}
/* 深色影棚实拍图（如 SL007 黑底光束）：整块铺满卡片媒体区，取消正片叠底与投影，
   否则在浅色卡片上会变成一块突兀的黑方块 */
.product__media.is-photo {
  background: var(--navy-900);
}
.product__media.is-photo img {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
  filter: none;
}
.product__media.is-photo:hover img {
  filter: none;
}
.product__media.is-photo .product__tag {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}
/* 自带浅灰渐变底的产品图（如 KF002 / PN-007）：正片叠底后会留下硬边浅灰矩形，
   给四周做羽化把边缘融进卡片底色，看起来像柔和的影棚背景 */
.product__media.is-tinted img {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.product__tag {
  position: absolute;
  z-index: 2;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.22rem 0.55rem;
  border-radius: 7px;
  background: var(--navy-850);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 620;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.product__body {
  padding: 0.95rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.product__model {
  font-size: 0.984375rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.product__series {
  font-size: 0.78125rem;
  color: var(--ink-3);
  line-height: 1.5;
}
.product__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.4rem;
}
.tag-mini {
  padding: 0.16rem 0.46rem;
  border-radius: 6px;
  background: var(--surface-3);
  color: var(--ink-2);
  font-size: 0.6875rem;
  font-weight: 560;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.product__foot {
  margin-top: auto;
  padding-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.product__price {
  font-size: 0.78125rem;
  font-weight: 560;
  color: var(--ink-3);
}

/* Toolbar: filter + search */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.75rem;
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 30;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}
.chip {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 0.84375rem;
  font-weight: 570;
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.chip:hover {
  border-color: #DFC7A9;
  color: var(--ink);
}
.chip[aria-pressed="true"] {
  background: var(--navy-850);
  border-color: var(--navy-850);
  color: #fff;
}
.chip__n {
  opacity: 0.55;
  font-variant-numeric: tabular-nums;
  margin-left: 0.25rem;
  font-size: 0.9em;
}

.search {
  position: relative;
  flex: none;
  width: min(260px, 100%);
}
.search input {
  width: 100%;
  padding: 0.55rem 0.85rem 0.55rem 2.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.875rem;
  color: var(--ink);
  background: var(--surface-2);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.search input::placeholder {
  color: var(--ink-3);
}
.search input:focus {
  outline: none;
  border-color: rgba(248, 128, 32, 0.5);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(248, 128, 32, 0.14);
}
.search svg {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--ink-3);
  pointer-events: none;
}

.result-count {
  font-size: 0.84375rem;
  color: var(--ink-3);
  margin-bottom: 1.15rem;
  font-variant-numeric: tabular-nums;
}

.empty-state {
  padding: 3.5rem 1rem;
  text-align: center;
  color: var(--ink-3);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

/* --------------------------------------------------------------------------
   11. Energy calculator
   -------------------------------------------------------------------------- */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.calc__panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.8vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.calc__panel h3 {
  font-size: 1.03125rem;
  margin-bottom: 1.25rem;
}
.field {
  display: block;
  margin-bottom: 1.05rem;
}
.field__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 580;
  color: var(--ink-2);
  margin-bottom: 0.4rem;
}
.field__value {
  font-variant-numeric: tabular-nums;
  font-weight: 680;
  color: var(--ink);
}
.field input[type="range"] {
  width: 100%;
  height: 26px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.field input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--energy) 0%, var(--cyan) var(--fill, 50%), var(--surface-3) var(--fill, 50%));
}
.field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 19px;
  height: 19px;
  margin-top: -7px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--energy);
  box-shadow: 0 2px 8px rgba(33, 23, 16, 0.2);
  transition: transform 0.18s var(--ease);
}
.field input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.12);
}
.field input[type="range"]::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: var(--surface-3);
}
.field input[type="range"]::-moz-range-progress {
  height: 5px;
  border-radius: 999px;
  background: var(--grad);
}
.field input[type="range"]::-moz-range-thumb {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--energy);
}

.calc__results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr));
  gap: 0.85rem;
}
.metric {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.metric--hero {
  grid-column: 1 / -1;
  background: var(--navy-900);
  border-color: transparent;
  color: rgba(255, 255, 255, 0.68);
}
.metric--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 130% at 92% 8%, rgba(248, 128, 32, 0.3), transparent 62%);
  pointer-events: none;
}
.metric__label {
  position: relative;
  font-size: 0.78125rem;
  font-weight: 560;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.metric--hero .metric__label {
  color: rgba(255, 255, 255, 0.58);
}
.metric__num {
  position: relative;
  margin-top: 0.3rem;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  font-weight: 780;
  letter-spacing: -0.032em;
  color: var(--ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.metric--hero .metric__num {
  color: #fff;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
}
.metric__num span {
  font-size: 0.5em;
  font-weight: 600;
  color: var(--ink-3);
  margin-left: 0.2em;
  letter-spacing: 0;
}
.metric--hero .metric__num span {
  color: rgba(255, 255, 255, 0.55);
}
.metric__sub {
  position: relative;
  font-size: 0.75rem;
  color: var(--ink-3);
  margin-top: 0.25rem;
}

.bar-compare {
  margin-top: 1.15rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}
.bar {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78125rem;
  font-weight: 570;
  color: var(--ink-2);
}
.bar + .bar {
  margin-top: 0.6rem;
}
.bar__track {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: #e6edf5;
  overflow: hidden;
}
.bar__fill {
  display: block;
  height: 100%;
  min-width: 2px;
  border-radius: 999px;
  transition: width 0.5s var(--ease);
}
.bar__fill--base {
  background: #c8d3e2;
}
.bar__fill--led {
  background: var(--grad);
}
.bar__val {
  font-variant-numeric: tabular-nums;
  font-weight: 620;
  color: var(--ink);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   12. Split / media band
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.8rem;
}
.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  margin: 0;
}
.checklist svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 4px;
  color: var(--energy);
}
.checklist strong {
  color: var(--ink);
}
.section--dark .checklist li {
  color: rgba(255, 255, 255, 0.68);
}

/* Market / region cards */
.region {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--navy-line);
  background: rgba(255, 255, 255, 0.035);
}
.region h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.region h4 svg {
  width: 17px;
  height: 17px;
  color: var(--cyan);
  flex: none;
}
.region p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   13. Table
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.90625rem;
  min-width: 520px;
}
thead th {
  text-align: left;
  padding: 0.8rem 1.1rem;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 0.78125rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
tbody td {
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-2);
  vertical-align: top;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover td {
  background: #fbfdff;
}
tbody td:first-child {
  color: var(--ink);
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}
.table-num {
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--navy-900);
  border-radius: var(--radius-xl);
  padding: clamp(2.25rem, 5vw, 3.75rem);
  overflow: hidden;
  isolation: isolate;
  color: rgba(255, 255, 255, 0.7);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 120% at 88% 12%, rgba(248, 128, 32, 0.28), transparent 60%),
    radial-gradient(48% 110% at 4% 90%, rgba(255, 181, 71, 0.22), transparent 62%);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 70% 100% at 100% 0%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 100% 0%, #000, transparent 72%);
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  margin-top: 0.7rem;
  max-width: 46ch;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.66);
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* --------------------------------------------------------------------------
   15. Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.25rem;
  padding: 0;
  list-style: none;
}
.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.breadcrumb li + li::before {
  content: "/";
  opacity: 0.5;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.62);
}
.breadcrumb a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   16. Contact & forms
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: start;
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 1rem;
}
.form-field {
  margin-bottom: 1rem;
}
.form-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.form-field .req {
  color: #d64545;
  margin-left: 0.15rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.68rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.form-field textarea {
  resize: vertical;
  min-height: 130px;
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378879e' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 16px;
  padding-right: 2.2rem;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(248, 128, 32, 0.55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(248, 128, 32, 0.14);
}
.form-field .hint {
  font-size: 0.75rem;
  color: var(--ink-3);
  margin-top: 0.35rem;
}
.form-field input:user-invalid,
.form-field textarea:user-invalid,
.form-field select:user-invalid {
  border-color: #e08c8c;
  background: #fff8f8;
}
.form-note {
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin-top: 0.9rem;
  line-height: 1.6;
}
.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 11px;
  font-size: 0.875rem;
  font-weight: 550;
  display: none;
}
.form-status[data-state="ok"] {
  display: block;
  background: rgba(248, 128, 32, 0.1);
  border: 1px solid rgba(248, 128, 32, 0.3);
  color: #04724d;
}
.form-status[data-state="err"] {
  display: block;
  background: #fdf3f3;
  border: 1px solid #f2d0d0;
  color: #b03a3a;
}

/* Contact info list */
.info-list {
  display: grid;
  gap: 1rem;
}
.info-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.05rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.info-item__icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--grad-soft);
  color: #D96C0A;
}
.info-item__icon svg {
  width: 18px;
  height: 18px;
}
.info-item__label {
  font-size: 0.75rem;
  font-weight: 620;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 0.25rem;
}
.info-item__value {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 550;
  line-height: 1.55;
  /* 电话/地址保持在词内不随意断行；邮箱才允许任意位置断行 */
  overflow-wrap: break-word;
}
.info-item__value a {
  overflow-wrap: anywhere;
}
.info-item__value small {
  display: block;
  font-weight: 450;
  color: var(--ink-3);
  font-size: 0.8125rem;
  margin-top: 0.15rem;
}
.info-item__body {
  min-width: 0;
  flex: 1;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.55);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: 0.875rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(2.25rem, 4vw, 3rem);
}
.footer h4 {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 1.05rem;
}
.footer__brand .logo__name {
  color: #fff;
}
.footer__brand p {
  margin-top: 1.05rem;
  max-width: 34ch;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}
.footer a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}
.footer a:hover {
  color: #fff;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: 1.4rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}
.footer__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.footer__certs span {
  padding: 0.24rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  font-size: 0.71875rem;
  font-weight: 570;
  color: rgba(255, 255, 255, 0.6);
}
.footer__social {
  display: flex;
  gap: 0.5rem;
}
.footer__social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer__social a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}
.footer__social svg {
  width: 17px;
  height: 17px;
}

/* --------------------------------------------------------------------------
   18. Floating contact
   -------------------------------------------------------------------------- */
.float-cta {
  position: fixed;
  right: clamp(0.85rem, 2.5vw, 1.5rem);
  bottom: clamp(0.85rem, 2.5vw, 1.5rem);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-end;
}
.float-cta a {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.float-cta a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.float-cta a svg {
  width: 23px;
  height: 23px;
}
.float-cta .float-cta__wa {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

/* --------------------------------------------------------------------------
   19. Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(3, 7, 17, 0.88);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s var(--ease), visibility 0.24s;
}
.lightbox[data-open="true"] {
  opacity: 1;
  visibility: visible;
}
.lightbox__inner {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 3vw, 2rem);
  max-width: 720px;
  width: 100%;
  display: grid;
  gap: 1rem;
  transform: scale(0.96);
  transition: transform 0.26s var(--ease);
}
.lightbox[data-open="true"] .lightbox__inner {
  transform: scale(1);
}
.lightbox__inner img {
  width: 100%;
  max-height: 56vh;
  object-fit: contain;
  margin-inline: auto;
}
.lightbox__cap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.lightbox__close {
  position: absolute;
  top: clamp(0.75rem, 3vw, 1.75rem);
  right: clamp(0.75rem, 3vw, 1.75rem);
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox__close svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   20. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(2.5rem, 5.5vw, 4.25rem));
  padding-bottom: clamp(2.5rem, 5.5vw, 4.25rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.042) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 80% 100% at 20% 0%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 20% 0%, #000, transparent 76%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(52% 90% at 88% 10%, rgba(248, 128, 32, 0.24), transparent 62%),
    radial-gradient(46% 92% at 8% 96%, rgba(255, 181, 71, 0.18), transparent 64%);
}
.page-hero > .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  color: #fff;
}
.page-hero .lede {
  color: rgba(255, 255, 255, 0.68);
  max-width: 60ch;
}
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.65rem;
}

/* --------------------------------------------------------------------------
   21. Prose (legal / long text)
   -------------------------------------------------------------------------- */
.prose {
  max-width: 74ch;
}
.prose h2 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  margin-top: 2.5rem;
}
.prose h3 {
  margin-top: 1.9rem;
}
.prose ul,
.prose ol {
  padding-left: 1.3rem;
}
.prose li {
  margin-top: 0.45rem;
}

/* --------------------------------------------------------------------------
   22. Reveal animation
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   23. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  /* 必须给明确宽度：stage 的子元素全是绝对定位，没有宽度时 aspect-ratio 算不出高度，
     叠加 margin-inline:auto 会让 grid 项 used width 变成 fit-content → 整个产品台塌陷 */
  .stage {
    width: 100%;
    max-width: 470px;
    margin-inline: auto;
  }
  .stage__chip--tl {
    top: 6%;
    left: 3%;
  }
  .stage__chip--br {
    right: 3%;
    bottom: 8%;
  }
  .stage__chip--bl {
    left: 4%;
    bottom: 3%;
  }
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .header__cta .btn {
    display: none;
  }
}

@media (max-width: 900px) {
  .calc,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .toolbar {
    position: static;
  }
  .search {
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
    --radius-lg: 18px;
    --radius-xl: 22px;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .stage__chip--bl {
    display: none;
  }
  .stage__chip--tl,
  .stage__chip--br {
    padding: 0.42rem 0.6rem;
    font-size: 0.71875rem;
    border-radius: 11px;
  }
  .stage__chip small {
    font-size: 0.625rem;
  }
  .stage__chip svg {
    width: 15px;
    height: 15px;
  }
  .metric--hero .metric__num {
    font-size: 1.85rem;
  }
  .bar {
    grid-template-columns: 74px 1fr auto;
    gap: 0.5rem;
    font-size: 0.71875rem;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .float-cta a {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 420px) {
  .logo__sub {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   24. Motion & print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .header,
  .float-cta,
  .mobile-nav,
  .toolbar {
    display: none !important;
  }
  body {
    color: #000;
  }
}

/* --------------------------------------------------------------------------
   25. Progressive enhancement — skip reveal transitions without JS
   -------------------------------------------------------------------------- */
.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

/* 电话号码不折行 */
.info-item__value a[href^="tel"] { white-space: nowrap; }

/* 锚点直达「六大系列」区：粘性头部不遮挡标题 */
#families { scroll-margin-top: calc(var(--header-h) + 1.25rem); }

/* =========================================================
   v3 — Hero 氛围光 / 家族跑马灯 / 工厂实拍画廊 / 产线流程
   ========================================================= */

/* --- 芯片浮动 --- */
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.stage__chip--tl { animation: chip-float 7s ease-in-out infinite; }
.stage__chip--br { animation: chip-float 8.5s ease-in-out 1.1s infinite; }
.stage__chip--bl { animation: chip-float 7.6s ease-in-out 0.5s infinite; }
@media (prefers-reduced-motion: reduce) {
  .stage__chip--tl, .stage__chip--br, .stage__chip--bl { animation: none; }
}

/* --- Hero 事实条 --- */
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.85rem;
}
.hero__fact {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}
.hero__fact strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero__fact span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
}

/* --- Hero 家族跑马灯 --- */
.hero__ticker {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hero__ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 34s linear infinite;
}
.hero__ticker:hover .hero__ticker-track { animation-play-state: paused; }
.hero__ticker-group {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.hero__ticker-group span {
  display: inline-flex;
  align-items: center;
  color: rgba(33, 23, 16, 0.42);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0 1.6rem;
}
.hero__ticker-group span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--energy);
  margin-left: 3.2rem;
  opacity: 0.8;
}
@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__ticker-track { animation: none; }
}

/* --- Page-hero: 与首页同款品牌氛围光 --- */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46rem 26rem at 86% -20%, rgba(248, 128, 32, 0.18), transparent 62%),
    radial-gradient(40rem 24rem at -8% 130%, rgba(160, 48, 8, 0.26), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* --- About: 工厂实拍画廊 --- */
.factory-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 300px;
  gap: 1rem;
  margin-top: 2.5rem;
}
.factory-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-3);
  box-shadow: 0 22px 44px -26px rgba(33, 23, 16, 0.35);
}
.factory-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.6, 0.25, 1);
}
.factory-card:hover img { transform: scale(1.045); }
.factory-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.1rem 0.9rem;
  background: linear-gradient(transparent, rgba(18, 12, 6, 0.85));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.factory-card figcaption small {
  display: block;
  font-weight: 400;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.15rem;
}
.factory-card--pano { grid-column: span 12; }
.factory-card--wide { grid-column: span 7; }
.factory-card--mid  { grid-column: span 5; }
.factory-card--m42  { grid-column: span 4; }
.factory-card--m33  { grid-column: span 3; }

/* --- About: 产线流程 --- */
.flow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.85rem;
  margin-top: 2.4rem;
}
.flow__step {
  position: relative;
  padding: 1.15rem 1rem 1.05rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px -22px rgba(33, 23, 16, 0.3);
}
.flow__step::before {
  content: "";
  position: absolute;
  top: 1.55rem;
  right: -0.85rem;
  width: 0.85rem;
  height: 1px;
  background: var(--line);
}
.flow__step:last-child::before { display: none; }
.flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  box-shadow: 0 6px 14px -6px rgba(248, 128, 32, 0.55);
}
.flow__step h3 {
  font-size: 0.92rem;
  margin: 0 0 0.3rem;
}
.flow__step p {
  font-size: 0.8rem;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(4, 1fr); }
  .flow__step:nth-child(4n)::before { display: none; }
}
@media (max-width: 720px) {
  .factory-grid { gap: 0.7rem; grid-auto-rows: 220px; }
  .factory-card--wide, .factory-card--mid { grid-column: span 12; }
  .factory-card--m42, .factory-card--m33 { grid-column: span 6; }
  .factory-card figcaption { font-size: 0.78rem; padding-top: 1.6rem; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__step:nth-child(2n)::before { display: none; }
  .hero__facts { gap: 0.45rem; }
  .hero__fact { padding: 0.45rem 0.8rem; }
}

/* =========================================================
   v7 — Philips 式极简首页
   ========================================================= */

/* Hero: 透明底产品直接悬浮，无卡片框 */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__img {
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 34px 44px rgba(33, 23, 16, 0.22))
    drop-shadow(0 10px 16px rgba(33, 23, 16, 0.1));
}
.hero__visual .stage__chip--tl { top: 6%; left: -2%; }
.hero__visual .stage__chip--br { bottom: 12%; right: -2%; }

.hero__certline {
  margin: 2.3rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

/* 首页产品卡: 去框、图片主导 */
.main--home .card.cat-card {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
}
.main--home .cat-card__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FDF9F2;
  border: 1px solid var(--line-2);
}
.main--home .cat-card__media img {
  transition: transform 0.6s var(--ease);
}
.main--home .cat-card:hover .cat-card__media img {
  transform: scale(1.05);
}
.main--home .cat-card:hover {
  box-shadow: none;
  transform: none;
}
.main--home .cat-card__body {
  padding: 1.05rem 0.15rem 0;
}
.main--home .cat-card__body p {
  display: none;
}
.main--home .cat-card__foot {
  margin-top: 0.4rem;
}

/* 首页 features 去框，纯排版 */
.main--home .feature {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0.25rem 0;
}
.main--home .feature:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

@media (max-width: 720px) {
  .hero__visual .stage__chip--tl { left: 2%; }
  .hero__visual .stage__chip--br { right: 2%; }
  .hero__img { max-width: 420px; }
}

/* =========================================================
   v8 — 产品详情页（/products/<系列>/<型号>.html）
   ========================================================= */

/* 产品卡上的详情链接 */
.product__model a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.product__model a:hover { color: var(--energy); }
.product__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--energy);
  text-decoration: none;
}
.product__more svg { width: 13px; height: 13px; }
.product__more:hover { text-decoration: underline; }

/* 详情页顶部：图 + 参数表 */
.pd-sub {
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.62);
  margin-left: 0.4rem;
}
.pd-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
}
.pd-media { position: sticky; top: calc(var(--header-h) + 1.25rem); }
.pd-zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: clamp(1.25rem, 3.5vw, 2.75rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
/* 详情页主图回到正常文档流：基类用绝对定位约束卡片内缩略图，
   这里必须显式覆盖，否则图会被钉在容器左上角并留下大片空白 */
.pd-zoom img {
  position: static;
  inset: auto;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 14px 22px rgba(33, 23, 16, 0.12));
}
.product:hover .pd-zoom img { transform: none; }
.pd-zoom .product__tag { font-size: 0.9rem; }
.pd-hint {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.7rem 0.15rem 0;
  font-size: 0.8rem;
  color: var(--ink-3);
}
.pd-hint svg { width: 14px; height: 14px; }

.pd-summary h2 { margin: 0 0 1.1rem; }
.pd-tablewrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.pd-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.pd-table thead th {
  background: var(--grad);
  color: #fff;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pd-table tbody th {
  font-weight: 700;
  color: var(--ink);
  padding: 0.62rem 1rem;
  white-space: nowrap;
  text-align: left;
}
.pd-table tbody td {
  padding: 0.62rem 1rem;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pd-table tbody tr:nth-child(even) { background: var(--surface); }
.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.pd-actions .btn--ghost { display: inline-flex; align-items: center; gap: 0.45rem; }
.pd-actions .btn--ghost svg { width: 16px; height: 16px; color: #1FA855; }

@media (max-width: 900px) {
  .pd-top { grid-template-columns: 1fr; }
  .pd-media { position: static; max-width: 480px; }
}

/* =========================================================
   v11 — العربية / RTL（阿语版 /ar/）
   ========================================================= */

/* Tajawal 阿文字体（自托管，仅阿语页加载） */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ar/tajawal-arabic-400.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ar/tajawal-arabic-500.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/ar/tajawal-arabic-700.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ar/tajawal-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF;
}

/* 阿语页字体栈（拉丁数字/单位也走 Tajawal，保持风格统一） */
html[dir="rtl"] {
  --font-sans: "Tajawal", "Noto Kufi Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

/* 阿文严禁字母间距（会打断连写） */
[dir="rtl"] * { letter-spacing: 0 !important; }

/* 箭头图标镜像（由 i18n 转换时加 .rtl-flip） */
.rtl-flip { transform: scaleX(-1); }
.btn:hover .rtl-flip, .link-arrow:hover .rtl-flip { transform: scaleX(-1) translateX(3px); }

/* 语言切换药丸 */
.lang-switch {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.header--over-dark:not(.is-scrolled) .lang-switch { border-color: rgba(255,255,255,0.28); }

/* 物理方向修正 */
[dir="rtl"] ul,
[dir="rtl"] ol { padding-left: 0; padding-right: 1.15rem; }
[dir="rtl"] .prose ul,
[dir="rtl"] .prose ol { padding-left: 0; padding-right: 1.3rem; }
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .burger { margin-left: 0; margin-right: auto; }
[dir="rtl"] .chip__n { margin-left: 0; margin-right: 0.25rem; }
[dir="rtl"] .form-field .req { margin-left: 0; margin-right: 0.15rem; }
[dir="rtl"] .pd-sub { margin-left: 0; margin-right: 0.4rem; }
[dir="rtl"] .product__tag { left: auto; right: 0.7rem; }
[dir="rtl"] .cat-card__count { right: auto; left: 0.85rem; }
[dir="rtl"] .search svg { left: auto; right: 0.8rem; }
[dir="rtl"] .search input,
[dir="rtl"] .search #product-search { padding-left: 2.2rem; padding-right: 0.9rem; }
[dir="rtl"] .form-field input,
[dir="rtl"] .form-field select,
[dir="rtl"] .form-field textarea {
  background-position: left 0.8rem center;
  padding-right: 0.9rem;
  padding-left: 2.2rem;
}
[dir="rtl"] .float-cta { right: auto; left: clamp(0.85rem, 2.5vw, 1.5rem); }
[dir="rtl"] .lightbox__close { right: auto; left: clamp(0.75rem, 3vw, 1.75rem); }
[dir="rtl"] .flow__step::before { right: auto; left: -0.85rem; }

/* 表格保持 LTR：规格数值/型号为拉丁内容，混排更清晰 */
[dir="rtl"] .pd-table,
[dir="rtl"] .table-wrap table { direction: ltr; text-align: right; }
[dir="rtl"] .pd-table th,
[dir="rtl"] .table-wrap table th { text-align: right; }
