/* //panda 三语官网 */
/* ============================================================
   户外储能 / 充电桩 官网主题  ——  主样式
   风格：干净浅色 + 局部深色技术区块；工业硬朗、产品前置。
   品牌色/圆角/字体全部抽为 CSS 变量，客户提供品牌资产后改这里即可。
   ============================================================ */

:root {
  /* —— 品牌色（占位，客户提供后替换）—— */
  --brand-primary: #0b5fff;      /* 能量蓝：主 CTA / 链接 / 强调 */
  --brand-primary-600: #0a4fd6;
  --brand-primary-700: #0940ad;
  --brand-accent: #b8f135;       /* 电光绿：充电/能量点缀、徽标、参数高亮 */
  --brand-accent-ink: #16220a;   /* 点缀色上的文字色 */

  /* —— 中性色 —— */
  --ink: #0e1116;                /* 主文字 / 深色区块底 */
  --ink-2: #1b1f24;
  --muted: #667085;              /* 次要文字 */
  --muted-2: #98a2b3;
  --line: #e6e9ef;               /* 描边 / 分隔 */
  --bg: #ffffff;                 /* 主体底 */
  --bg-soft: #f5f7fa;            /* 浅色分区 */
  --bg-dark: #0e1116;            /* 深色技术区块 */
  --bg-dark-2: #161b22;

  /* —— 结构 —— */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .1);
  --shadow: 0 4px 6px -2px rgba(16, 24, 40, .05), 0 12px 24px -6px rgba(16, 24, 40, .12);
  --shadow-lg: 0 24px 48px -12px rgba(16, 24, 40, .2);
  --container: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 900; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-primary) 55%, #fff); outline-offset: 3px; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.15em; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section__head { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 52px); text-align: center; }
.section__eyebrow { display: inline-block; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--brand-primary); margin-bottom: .6rem; }
.section--dark .section__eyebrow { color: var(--brand-accent); }
.section__title { margin: 0 0 .4rem; }
.section__sub { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section--dark .section__sub { color: var(--muted-2); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--brand-primary);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.5em; border: 1px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .98rem; line-height: 1;
  background: var(--btn-bg); color: var(--btn-fg);
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(11, 95, 255, .5); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--brand-primary); }
.btn--accent { --btn-bg: var(--brand-accent); --btn-fg: var(--brand-accent-ink); }
.btn--accent:hover { box-shadow: 0 10px 22px -8px rgba(184, 241, 53, .6); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--lg { padding: 1em 1.9em; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- topbar ---------- */
.topbar { background: var(--ink); color: #cfd6e4; font-size: .84rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.topbar__contact { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar__link { display: inline-flex; align-items: center; gap: .45em; color: #cfd6e4; }
.topbar__link:hover { color: #fff; }
.topbar__contact .topbar__link:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* language switch */
.lang-switch { position: relative; }
.lang-switch__toggle { display: inline-flex; align-items: center; gap: .4em; background: none; border: 0; color: #cfd6e4; font-size: .84rem; padding: 8px 0; }
.lang-switch__toggle:hover { color: #fff; }
.lang-switch__menu {
  position: absolute; right: 0; top: 100%; min-width: 150px; background: #fff; color: var(--ink);
  border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 6px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s var(--ease);
}
.lang-switch:hover .lang-switch__menu, .lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch__menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: .9rem; }
.lang-switch__menu a:hover { background: var(--bg-soft); color: var(--brand-primary); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { flex: none; display: flex; align-items: center; }
.brand__logo { height: 34px; width: auto; }

.main-nav { flex: 1; }
.main-nav__list { display: flex; align-items: center; gap: 4px; }
.main-nav__item { position: static; }
.main-nav__link { display: inline-flex; align-items: center; gap: .25em; padding: 10px 16px; font-weight: 600; border-radius: 10px; color: var(--ink-2); transition: color .15s, background .15s; }
.main-nav__link:hover { color: var(--brand-primary); background: var(--bg-soft); }
.main-nav__link .caret { width: 1em; height: 1em; transition: transform .2s; opacity: .6; }
.has-mega:hover .caret { transform: rotate(180deg); }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s var(--ease); z-index: 40; }
.has-mega:hover .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__inner { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px 28px; padding: 28px 24px 32px; }
.mega__col { min-width: 0; }
.mega__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 900; font-size: 1rem; padding: 8px 0; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.mega__title:hover { color: var(--brand-primary); }
.mega__thumb { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; background: var(--bg-soft); }
.mega__sub li a { display: block; padding: 6px 0; color: var(--muted); font-size: .92rem; }
.mega__sub li a:hover { color: var(--brand-primary); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.search { display: flex; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 14px; transition: border-color .15s; }
.search:focus-within { border-color: var(--brand-primary); background: #fff; }
.search__input { border: 0; background: none; outline: none; width: 140px; padding: 6px 0; color: var(--ink); }
.search__btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 0; border-radius: 999px; background: var(--brand-primary); color: #fff; }
.header-actions__cta { flex: none; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); transition: .2s var(--ease); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- mobile nav ---------- */
.mobile-nav { position: fixed; inset: 0; top: 0; z-index: 70; background: rgba(14, 17, 22, .5); opacity: 0; visibility: hidden; transition: .25s var(--ease); }
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav__panel { position: absolute; right: 0; top: 0; height: 100%; width: min(88vw, 380px); background: #fff; box-shadow: var(--shadow-lg); padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .28s var(--ease); }
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__close { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin: 0 0 12px auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 1.7rem; line-height: 1; }
.search--mobile { margin-bottom: 18px; }
.search--mobile .search__input { width: 100%; }
.mobile-nav__item { position: relative; border-bottom: 1px solid var(--line); }
.mobile-nav__link { display: block; padding: 14px 40px 14px 4px; font-weight: 600; font-size: 1.05rem; }
.mobile-nav__expand { position: absolute; right: 0; top: 6px; width: 40px; height: 40px; background: none; border: 0; color: var(--muted); border-radius: 8px; transition: transform .2s; }
.mobile-nav__item.is-open .mobile-nav__expand { transform: rotate(180deg); }
.mobile-nav__sub { display: none; padding: 0 0 10px 12px; }
.mobile-nav__item.is-open .mobile-nav__sub { display: block; }
.mobile-nav__sub li a { display: block; padding: 9px 4px; color: var(--muted); }
.mobile-nav__cta { margin-top: 20px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--bg-dark); color: #fff; overflow: hidden; }
.hero__slide { position: relative; min-height: min(78vh, 640px); display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 15% 20%, rgba(11, 95, 255, .28), transparent 60%), linear-gradient(90deg, rgba(14, 17, 22, .92), rgba(14, 17, 22, .35)); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; max-width: 640px; padding: 60px 0; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--brand-accent); margin-bottom: 1rem; }
.hero__title { color: #fff; margin-bottom: 1rem; }
.hero__desc { font-size: 1.15rem; color: #d5dbe6; max-width: 34em; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__dots { position: absolute; z-index: 3; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.hero__dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .4); border: 0; transition: .2s; }
.hero__dot.is-active { background: var(--brand-accent); width: 26px; }

/* ---------- stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.section--dark .stat__num { color: var(--brand-accent); }
.stat__label { color: var(--muted); font-size: .95rem; margin-top: .4rem; }
.section--dark .stat__label { color: var(--muted-2); }

/* ---------- category tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.tab { padding: .6em 1.3em; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--muted); transition: .15s; }
.tab:hover { color: var(--ink); border-color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- product grid & card ---------- */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--auto-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pcard__media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; }
.pcard__img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .3s var(--ease); }
.pcard:hover .pcard__img { transform: scale(1.05); }
.pcard__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; }
.badge { display: inline-block; padding: .3em .6em; border-radius: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.badge--hot { background: #ff5a3c; color: #fff; }
.badge--new { background: var(--brand-accent); color: var(--brand-accent-ink); }
.badge--recommended { background: var(--brand-accent); color: var(--brand-accent-ink); }
.badge--top { background: var(--brand-primary); color: #fff; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.pcard__cat { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-primary); margin-bottom: .3rem; }
.pcard__title { font-family: var(--font-display); font-weight: 900; font-size: 1.12rem; margin: 0 0 .5rem; }
.pcard__title a:hover { color: var(--brand-primary); }
.pcard__desc { color: var(--muted); font-size: .92rem; margin: 0 0 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* //panda 商品动态技术参数 */
.pcard__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1rem; }
.pcard__spec { max-width: 100%; overflow-wrap: anywhere; font-size: .78rem; font-weight: 600; line-height: 1.45; color: var(--ink-2); background: var(--bg-soft); border-radius: 6px; padding: .3em .6em; }
.pcard__spec-key { color: var(--muted); font-weight: 700; }
.pcard__foot { margin-top: auto; display: flex; gap: 10px; }
.pcard__link { display: inline-flex; align-items: center; gap: .3em; font-weight: 700; color: var(--brand-primary); }
.pcard__link .ico { transition: transform .18s; }
.pcard__link:hover .ico { transform: translateX(3px); }

/* ---------- scenarios ---------- */
.scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.scene { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; }
.scene__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.scene:hover .scene__img { transform: scale(1.06); }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 17, 22, .82), rgba(14, 17, 22, .05)); }
.scene__body { position: relative; z-index: 2; padding: 22px; }
.scene__title { font-size: 1.2rem; margin: 0 0 .25rem; color: #fff; }
.scene__desc { font-size: .9rem; color: #d5dbe6; margin: 0; }
.scene__link { display: inline-flex; align-items: center; gap: .35em; margin-top: 1rem; color: var(--brand-accent); font-size: .86rem; font-weight: 800; }
.scene__link .ico { width: 16px; height: 16px; transition: transform .18s; }
.scene:hover .scene__link .ico { transform: translateX(4px); }
.scenarios__more { margin-top: 40px; }
.scenes--listing { grid-template-columns: repeat(3, 1fr); }
.scenes--listing .scene { min-height: 380px; }
.empty-state { padding: 72px 24px; text-align: center; color: var(--muted); }

/* //panda 首页内容后台化 */
.scenario-mast { position: relative; min-height: clamp(400px, 60vw, 620px); display: flex; align-items: flex-end; overflow: hidden; background: var(--bg-dark); }
.scenario-mast__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scenario-mast__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 13, 20, .94) 0%, rgba(9, 13, 20, .62) 48%, rgba(9, 13, 20, .18) 100%), linear-gradient(0deg, rgba(9, 13, 20, .75), transparent 55%); }
.scenario-mast__inner { position: relative; z-index: 1; color: #fff; padding-top: 72px; padding-bottom: 72px; }
.scenario-mast__inner h1 { max-width: 760px; color: #fff; margin: .65rem 0 1rem; }
.scenario-mast__inner p { max-width: 620px; color: #d5dbe6; font-size: 1.12rem; margin: 0; }
.scenario-mast__eyebrow { display: inline-flex; padding: .45rem .8rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: var(--brand-accent); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.scenario-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: clamp(36px, 7vw, 88px); }
.scenario-detail__body { font-size: 1.08rem; }
.scenario-detail__body > :first-child { margin-top: 0; }
.scenario-detail__aside { position: sticky; top: 130px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); box-shadow: var(--shadow-sm); }
.scenario-detail__aside h2 { font-size: 1.5rem; margin: .45rem 0 .75rem; }
.scenario-detail__aside p { color: var(--muted); }
.scenario-detail__aside .btn { width: 100%; margin-top: .4rem; }
.scenario-detail__back { display: block; margin-top: 1.1rem; text-align: center; color: var(--brand-primary); font-weight: 700; }
.scenario-products { max-width: 980px; margin: 0 auto; }

/* ---------- services cards ---------- */
.svc { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .18s var(--ease); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc__icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--brand-primary) 12%, #fff); color: var(--brand-primary); margin-bottom: 16px; }
.svc__icon .ico { width: 26px; height: 26px; }
.svc__title { font-size: 1.15rem; margin: 0 0 .4rem; }
.svc__desc { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-primary), var(--brand-primary-700)); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 40em; margin: 0 auto 1.6rem; }

/* ---------- breadcrumb ---------- */
.crumb { display: flex; flex-wrap: wrap; gap: .5em; align-items: center; color: var(--muted); font-size: .88rem; padding: 20px 0; }
.crumb a:hover { color: var(--brand-primary); }
.crumb__sep { opacity: .5; }

/* ---------- page hero (inner) ---------- */
.page-hero { background: var(--bg-dark); color: #fff; padding: clamp(40px, 6vw, 80px) 0; text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 120% at 80% 0%, rgba(11, 95, 255, .3), transparent 55%); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #d5dbe6; max-width: 46em; margin: 0 auto; }

/* ---------- listing layout ---------- */
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.side { position: sticky; top: calc(var(--header-h) + 16px); }
.side__title { font-size: 1.05rem; margin-bottom: 12px; }
.side__list a { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; }
.side__list a:hover, .side__list a.is-active { background: var(--bg-soft); color: var(--brand-primary); }
.side__list .side__sub a { padding-left: 26px; font-size: .92rem; color: var(--muted); font-weight: 400; }
.listing__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 16px; flex-wrap: wrap; }
.listing__count { color: var(--muted); font-size: .92rem; }

/* ---------- pagination ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 44px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; }
.pager a:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.pager .current, .pager b { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- product detail ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; padding: 32px 0 8px; }
.pd > *, .pd__info, .keyspec > div:last-child { min-width: 0; }
.gallery__main { position: relative; aspect-ratio: 1 / 1; background: var(--bg-soft); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.gallery__thumb { width: 76px; height: 76px; border-radius: 10px; border: 2px solid var(--line); background: var(--bg-soft); overflow: hidden; padding: 0; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.gallery__thumb.is-active { border-color: var(--brand-primary); }
.pd__cat { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-primary); }
.pd__title { margin: .3rem 0 .8rem; }
.pd__desc { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.4rem; }
.pd__keyspecs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 1.6rem; }
.keyspec { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.keyspec__ico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); color: var(--brand-primary); }
.keyspec__k { overflow-wrap: anywhere; font-size: .8rem; color: var(--muted); }
.keyspec__v { overflow-wrap: anywhere; font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; }
.pd__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.2rem; }
.pd__note { color: var(--muted); font-size: .88rem; display: flex; align-items: center; gap: .5em; }

/* tabs (detail) */
.ptabs { margin-top: 20px; border-top: 1px solid var(--line); }
.ptabs__nav { display: flex; gap: 6px; flex-wrap: wrap; position: sticky; top: var(--header-h); background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); z-index: 10; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ptabs__btn { padding: .6em 1.2em; border: 0; background: none; font-weight: 700; color: var(--muted); border-radius: 10px; }
.ptabs__btn.is-active { background: var(--ink); color: #fff; }
.ptabs__panel { display: none; padding: 32px 0; }
.ptabs__panel.is-active { display: block; }

/* spec table */
.spec-table { width: 100%; table-layout: fixed; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:nth-child(even) { background: var(--bg-soft); }
.spec-table th { overflow-wrap: anywhere; text-align: left; width: 40%; padding: 14px 20px; font-weight: 700; color: var(--ink-2); vertical-align: top; }
.spec-table td { overflow-wrap: anywhere; padding: 14px 20px; color: var(--muted); }

/* rich content (details / article body) */
.rich { font-size: 1.02rem; color: var(--ink-2); line-height: 1.8; overflow-wrap: anywhere; }
.rich img { border-radius: var(--radius-sm); margin: 1.2em auto; }
.rich iframe, .rich video, .rich audio { max-width: 100%; }
.rich pre { max-width: 100%; overflow-x: auto; padding: 14px; border-radius: var(--radius-sm); background: var(--bg-soft); }
.rich h2, .rich h3 { margin-top: 1.6em; }
.rich p { margin-bottom: 1.1em; }
.rich a { color: var(--brand-primary); text-decoration: underline; }
.rich ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1.1em; }
.rich table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.2em 0; }
.rich table td, .rich table th { border: 1px solid var(--line); padding: 10px 14px; }

/* ---------- article / single page ---------- */
.article { max-width: 860px; margin: 0 auto; padding: 40px 0; }
.article__title { margin-bottom: .4rem; }
.article__meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.6rem; }
.prose { max-width: 900px; margin: 0 auto; }

/* company blocks */
.milestones { display: grid; gap: 0; margin: 20px 0; }
.milestone { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.milestone__year { font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; color: var(--brand-primary); }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { text-align: center; padding: 24px; }
.feature__ico { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--brand-primary) 12%, #fff); color: var(--brand-primary); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__group-title { margin: 32px 0 12px; }
.acc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; background: #fff; }
.acc__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; padding: 18px 22px; background: none; border: 0; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.acc__q .ico { transition: transform .22s var(--ease); color: var(--muted); }
.acc.is-open .acc__q .ico { transform: rotate(180deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .28s var(--ease); }
.acc__a-inner { padding: 0 22px 20px; color: var(--muted); }

/* ---------- downloads ---------- */
.dl-list { display: grid; gap: 12px; }
.dl { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .16s; }
.dl:hover { box-shadow: var(--shadow-sm); border-color: transparent; }
.dl__ico { width: 46px; height: 46px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); color: var(--brand-primary); }
.dl__body { flex: 1; min-width: 0; }
.dl__title { font-weight: 700; margin: 0; }
.dl__meta { color: var(--muted); font-size: .84rem; margin: .2rem 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
.dl__btn { flex: none; }

/* ---------- contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info__item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info__ico { width: 46px; height: 46px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--brand-primary) 12%, #fff); color: var(--brand-primary); }
.contact-info__k { font-weight: 700; margin: 0 0 .1rem; }
.contact-info__v { color: var(--muted); margin: 0; }
.contact-info__v, .site-footer__contact { overflow-wrap: anywhere; }
.contact-info__v a:hover { color: var(--brand-primary); }
.contact-map { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.contact-map iframe { display: block; width: 100%; min-height: 320px; border: 0; }
.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 20px; }
.region { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.region__name { font-weight: 800; font-family: var(--font-display); margin: 0 0 .4rem; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field .req { color: #ff5a3c; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 18%, transparent); }
.field textarea { min-height: 130px; resize: vertical; }
.field--captcha { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.field--captcha img { height: 46px; border-radius: var(--radius-sm); border: 1px solid var(--line); cursor: pointer; }
.form-msg { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: .92rem; display: none; }
.form-msg.is-ok { display: block; background: #eafaf0; color: #12794a; }
.form-msg.is-err { display: block; background: #fdecea; color: #c0341b; }

/* inquiry modal */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(14, 17, 22, .55); }
.modal.is-open { display: flex; }
.modal__box { width: min(560px, 100%); max-height: 92vh; overflow-y: auto; background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); position: relative; }
.modal__close { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border: 0; background: var(--bg-soft); border-radius: 10px; }

/* ---------- error page ---------- */
.error-page { min-height: 58vh; display: grid; place-items: center; padding: clamp(64px, 10vw, 128px) 0; text-align: center; }
.error-page__code { display: block; color: var(--brand-primary); font-family: var(--font-display); font-size: clamp(5rem, 17vw, 10rem); font-weight: 900; line-height: .85; letter-spacing: -.06em; }
.error-page h1 { margin-top: 1.2rem; }
.error-page p { max-width: 46rem; margin: 0 auto 1.8rem; color: var(--muted); }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--ink); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s var(--ease); z-index: 40; }
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack-lg > * + * { margin-top: 28px; }
.hide { display: none !important; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-dark); color: #aeb7c7; }
.site-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding: clamp(40px, 6vw, 72px) 24px; }
.site-footer__logo { height: 30px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.site-footer__desc { color: #8b95a7; font-size: .92rem; max-width: 32ch; margin: 0; }
.site-footer__h { color: #fff; font-size: 1rem; font-family: var(--font-display); font-weight: 900; margin: 0 0 16px; }
.site-footer__links li { margin-bottom: 10px; }
.site-footer__links a { color: #aeb7c7; font-size: .93rem; }
.site-footer__links a:hover { color: #fff; }
.site-footer__contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; font-size: .92rem; }
.site-footer__contact .ico { color: var(--brand-accent); margin-top: 3px; flex: none; }
.site-footer__contact a, .site-footer__contact span { color: #aeb7c7; }
.site-footer__contact a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social__link { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .06); color: #cfd6e4; transition: .15s; }
.social__link:hover { background: var(--brand-primary); color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px; }
.site-footer__copy { margin: 0; font-size: .86rem; color: #8b95a7; }
.site-footer__copy a { color: #aeb7c7; }
.site-footer__copy a:hover { color: #fff; }
.site-footer__langs { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.site-footer__langs a { font-size: .86rem; color: #aeb7c7; }
.site-footer__langs a:hover { color: #fff; }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; } .site-footer__bottom-inner { justify-content: center; text-align: center; } }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .site-header__inner { gap: 16px; }
  .main-nav__link { padding-right: 11px; padding-left: 11px; }
  .header-actions .search { display: none; }
}
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .scenes { grid-template-columns: repeat(2, 1fr); }
  .scenes--listing { grid-template-columns: repeat(2, 1fr); }
  .scenario-detail { grid-template-columns: 1fr 300px; gap: 36px; }
  .stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .main-nav, .header-actions__cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 900px) {
  .listing { grid-template-columns: 1fr; }
  .side { position: static; }
  .pd { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 28px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .pd__keyspecs { grid-template-columns: 1fr; }
  .milestone { grid-template-columns: 70px 1fr; }
  .topbar__contact .topbar__link:first-child { display: none; }
  .scenario-detail { grid-template-columns: 1fr; }
  .scenario-detail__aside { position: static; }
}
@media (max-width: 480px) {
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .scenes { grid-template-columns: 1fr; }
  .scenes--listing .scene { min-height: 330px; }
  .scenario-mast { min-height: 440px; }
  .scenario-mast__shade { background: linear-gradient(0deg, rgba(9, 13, 20, .94), rgba(9, 13, 20, .25)); }
  .scenario-mast__inner { padding-top: 54px; padding-bottom: 48px; }
  .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.25; }
  .pd__actions .btn { width: 100%; }
  .dl { align-items: stretch; flex-direction: column; }
  .dl__btn { width: 100%; }
  .field--captcha { grid-template-columns: 1fr; align-items: start; }
  .field--captcha img { max-width: 100%; }
}

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