﻿/* ============================================================
   荣荣科教设备 · 官网原型
   视觉规范：极简工业风
   墨黑 #111315 / 工业橙 #E8552D / 纯白 #FFFFFF / 浅灰 #F5F5F4
   ============================================================ */

:root {
  --ink: #111315;
  --ink-soft: #1A1A1A;
  --grey: #6B6B6B;
  --grey-light: #9A9A9A;
  --line: #E5E5E5;
  --bg: #FFFFFF;
  --bg-alt: #F5F5F4;
  --orange: #E8552D;

  --max: 1280px;
  --pad: 24px;
  --header-h: 76px;

  --font-sans: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, "Courier New", monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

/* ---------- 布局工具 ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: 104px 0;
}

.section--tight {
  padding: 72px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--ink {
  background: var(--ink);
  color: #fff;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.sec-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  display: block;
}

.sec-title {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section--ink .sec-title {
  color: #fff;
}

.sec-desc {
  color: var(--grey);
  font-size: 15px;
  max-width: 560px;
  margin-top: 14px;
}

.section--ink .sec-desc {
  color: rgba(255, 255, 255, 0.62);
}

.link-more {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.link-more:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  font-family: inherit;
}

.btn--primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.btn--primary:hover {
  background: #D24A24;
  border-color: #D24A24;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn--light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn--light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.btn .arrow {
  transition: transform 0.22s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* ---------- 头部 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.04em;
  border-radius: 2px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-cn {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.logo-en {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--grey-light);
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 4px;
  margin-right: auto;
}

.nav a {
  padding: 8px 14px;
  font-size: 15px;
  color: var(--ink-soft);
  border-radius: 2px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.lang-switch {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-switch a {
  padding: 4px 2px;
  transition: color 0.18s var(--ease);
}

.lang-switch a.is-active {
  color: var(--ink);
  font-weight: 700;
}

.lang-switch a:hover {
  color: var(--orange);
}

.lang-switch .sep {
  color: var(--line);
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.header-tel .dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: none;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* ---------- 首页主视觉 ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 132px 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -120px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(232, 85, 45, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 14px;
  border-radius: 2px;
  margin-bottom: 32px;
  line-height: 1.5;
}

.hero-tag i {
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 15em;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero-sub {
  margin-top: 28px;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 1;
  margin-top: 88px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-stat {
  padding: 30px 28px 34px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-stat b span {
  font-size: 18px;
  color: var(--orange);
  margin-left: 4px;
}

.hero-stat small {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

/* ---------- 产品分类 ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.cat-item {
  position: relative;
  padding: 44px 36px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease);
  display: block;
}

.cat-item:hover {
  background: var(--bg-alt);
}

.cat-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey-light);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 26px;
}

.cat-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.cat-en {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

.cat-desc {
  margin-top: 18px;
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
  min-height: 48px;
}

.cat-arrow {
  margin-top: 24px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: all 0.25s var(--ease);
  color: var(--ink);
}

.cat-item:hover .cat-arrow {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateX(4px);
}

/* ---------- 优势 ---------- */

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.adv-item {
  padding: 40px 32px 0 0;
  border-right: 1px solid var(--line);
}

.adv-item:last-child {
  border-right: 0;
}

.adv-item:not(:first-child) {
  padding-left: 32px;
}

.adv-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: block;
}

.adv-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.adv-item p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.75;
}

/* ---------- 产品卡 ---------- */

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.prod-card {
  background: #fff;
  display: block;
  transition: background 0.2s var(--ease);
}

.prod-card:hover {
  background: #FCFCFB;
}

.ph {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(rgba(17, 19, 21, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(17, 19, 21, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    #F2F2F1;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ph::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.prod-card:hover .ph::after {
  opacity: 1;
}

.ph-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--grey-light);
  text-align: center;
  padding: 0 20px;
  line-height: 1.6;
}

.ph img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 11% 13%;
  display: block;
}

.ph--lg {
  aspect-ratio: 1 / 1;
}

.prod-body {
  padding: 26px 26px 30px;
}

.prod-model {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
}

.prod-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 8px;
  letter-spacing: 0.01em;
}

.prod-meta {
  font-size: 13px;
  color: var(--grey);
  margin-top: 10px;
}

/* ---------- 方案 ---------- */

.sol-list {
  border-top: 1px solid var(--line);
}

.sol-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr 120px;
  gap: 32px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.25s var(--ease);
}

.sol-row:hover {
  padding-left: 12px;
}

.sol-no {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--grey-light);
}

.sol-row h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.sol-row p {
  font-size: 14px;
  color: var(--grey);
}

.sol-go {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sol-row:hover .sol-go {
  color: var(--orange);
}

/* ---------- 院校 ---------- */

.school-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.school-cell {
  aspect-ratio: 16 / 9;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--grey-light);
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0 12px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.school-cell:hover {
  color: var(--ink);
  background: var(--bg-alt);
}

/* ---------- CTA ---------- */

.cta {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 72px 0;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.cta p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 12px;
  font-size: 15px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- 页脚 ---------- */

.site-footer {
  background: #0C0E0F;
  color: rgba(255, 255, 255, 0.6);
  padding: 72px 0 0;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-mark {
  background: var(--orange);
}

.footer-brand p {
  margin-top: 20px;
  line-height: 1.8;
  max-width: 300px;
  font-size: 13px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  transition: color 0.18s var(--ease);
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  line-height: 1.7;
}

.footer-contact b {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 16px;
  display: block;
  letter-spacing: 0.02em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- 内页小主视觉 ---------- */

.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

.page-hero .wrap {
  position: relative;
}

.page-hero h1 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 16px;
}

.page-hero p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.62);
  max-width: 620px;
}

.crumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  gap: 8px;
  align-items: center;
}

.crumb a:hover {
  color: #fff;
}

.crumb .sep {
  opacity: 0.4;
}

/* ---------- 产品列表页 ---------- */

.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}

.side-block {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
  margin-bottom: 44px;
}

.side-block h3 {
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
}

.side-list li {
  border-bottom: 1px solid var(--line);
}

.side-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color 0.18s var(--ease), padding-left 0.18s var(--ease);
}

.side-list a:hover,
.side-list a.is-active {
  color: var(--orange);
  padding-left: 6px;
}

.side-list .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-light);
}

.filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  font-size: 13px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--grey);
  cursor: pointer;
  background: none;
  font-family: inherit;
  transition: all 0.18s var(--ease);
}

.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.result-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.04em;
}

.pager {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 56px;
}

.pager a {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--grey);
  border-radius: 2px;
  transition: all 0.18s var(--ease);
}

.pager a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.pager a.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- 产品详情 ---------- */

.detail-top {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}

.gallery-main {
  background: #F2F2F1;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6% 7%;
  transition: transform 0.45s var(--ease), transform-origin 0.45s var(--ease);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8%;
  pointer-events: none;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.thumb {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  background: #F7F7F6;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--grey-light);
  transition: border-color 0.18s var(--ease);
  padding: 0;
  font-family: var(--font-mono);
}

.thumb.is-active,
.thumb:hover {
  border-color: var(--ink);
}

.detail-model {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--orange);
  text-transform: uppercase;
}

.detail-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-top: 12px;
  letter-spacing: -0.01em;
}

.detail-lead {
  color: var(--grey);
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.8;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 32px;
}

.spec-strip div {
  padding: 18px 0;
  border-right: 1px solid var(--line);
}

.spec-strip div:last-child {
  border-right: 0;
}

.spec-strip span {
  display: block;
  font-size: 12px;
  color: var(--grey-light);
  margin-bottom: 6px;
}

.spec-strip b {
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--ink);
  font-weight: 700;
}

.detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.detail-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--grey);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.detail-note i {
  color: var(--orange);
  font-style: normal;
}

/* 选项卡 */

.tabs {
  margin-top: 88px;
  border-top: 1px solid var(--line);
}

.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.tab-btn {
  padding: 20px 32px;
  font-size: 15px;
  font-family: inherit;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--grey);
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
  font-weight: 500;
}

.tab-btn:hover {
  color: var(--ink);
}

.tab-btn.is-active {
  color: var(--ink);
  border-bottom-color: var(--orange);
  font-weight: 700;
}

.tab-panel {
  display: none;
  padding: 48px 0 0;
}

.tab-panel.is-active {
  display: block;
}

.param-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.param-table th,
.param-table td {
  border: 1px solid var(--line);
  padding: 14px 20px;
  text-align: left;
  vertical-align: top;
}

.param-table th {
  background: var(--bg-alt);
  font-weight: 500;
  color: var(--grey);
  width: 200px;
  font-size: 13px;
}

.param-table td {
  font-family: var(--font-mono);
  color: var(--ink);
  font-size: 13.5px;
}

.rich h3 {
  font-size: 18px;
  color: var(--ink);
  margin: 28px 0 12px;
}

.rich h3:first-child {
  margin-top: 0;
}

.rich p {
  color: var(--grey);
  margin-bottom: 14px;
  line-height: 1.9;
}

.rich ul {
  list-style: none;
  margin: 0 0 16px;
}

.rich ul li {
  position: relative;
  padding-left: 20px;
  color: var(--grey);
  margin-bottom: 8px;
  line-height: 1.8;
}

.rich ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background: var(--orange);
}

.dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.dl-row:first-child {
  border-top: 1px solid var(--line);
}

.dl-name {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dl-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.dl-name b {
  display: block;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

.dl-name span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-light);
}

/* ---------- 关于我们 ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-text p {
  color: var(--grey);
  margin-bottom: 18px;
  line-height: 1.95;
  font-size: 15.5px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.fact {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact b {
  font-family: var(--font-mono);
  font-size: 30px;
  color: var(--ink);
  display: block;
  line-height: 1;
  letter-spacing: -0.02em;
}

.fact b span {
  font-size: 14px;
  color: var(--orange);
  margin-left: 3px;
}

.fact small {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--grey);
}

.timeline {
  border-left: 1px solid var(--line);
  margin-left: 8px;
}

.tl-item {
  position: relative;
  padding: 0 0 44px 40px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 8px;
  width: 8px;
  height: 8px;
  background: #fff;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-year {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.06em;
}

.tl-item h3 {
  font-size: 17px;
  color: var(--ink);
  margin: 8px 0 8px;
  font-weight: 700;
}

.tl-item p {
  font-size: 14px;
  color: var(--grey);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.works-grid .ph {
  aspect-ratio: 16 / 11;
}

/* ---------- 联系我们 ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.contact-block {
  border-top: 2px solid var(--ink);
  padding-top: 24px;
  margin-bottom: 40px;
}

.contact-block h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 16px;
}

.contact-tel {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: block;
  line-height: 1.2;
}

.contact-block p {
  color: var(--grey);
  line-height: 1.9;
  font-size: 15px;
}

.qr-box {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 8px;
}

.qr {
  width: 108px;
  height: 108px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--grey-light);
  text-align: center;
  background:
    repeating-linear-gradient(45deg, #F5F5F4 0 6px, #fff 6px 12px);
  flex-shrink: 0;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 40px;
}

.form-card h3 {
  font-size: 22px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 8px;
}

.form-card > p {
  color: var(--grey);
  font-size: 14px;
  margin-bottom: 28px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-weight: 500;
}

.field label .req {
  color: var(--orange);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.18s var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-hint {
  font-size: 12px;
  color: var(--grey-light);
  margin-top: 14px;
  line-height: 1.7;
}

.form-ok {
  display: none;
  background: #F0F7F2;
  border: 1px solid #BFE3CB;
  color: #1E6B3A;
  padding: 14px 18px;
  font-size: 14px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.form-ok.is-show {
  display: block;
}

.map-box {
  margin-top: 0;
  border: 1px solid var(--line);
  aspect-ratio: 21 / 7;
  background:
    linear-gradient(rgba(17, 19, 21, 0.05) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(17, 19, 21, 0.05) 1px, transparent 1px) 0 0 / 40px 40px,
    #F5F5F4;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey-light);
  letter-spacing: 0.08em;
  position: relative;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  font-size: 22px;
  color: var(--orange);
}

/* ---------- 留资弹窗 ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open {
  display: flex;
}

.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 15, 0.62);
  backdrop-filter: blur(3px);
}

.modal-card {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 460px;
  padding: 40px 36px 32px;
  border-radius: 2px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.5);
  animation: modalIn 0.24s var(--ease);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.modal-x {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: var(--grey-light);
  cursor: pointer;
  transition: color 0.18s var(--ease);
}

.modal-x:hover {
  color: var(--ink);
}

.modal-card h3 {
  font-size: 22px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 10px;
}

.modal-sub {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 24px;
  line-height: 1.7;
}

.modal-sub b {
  color: var(--ink);
  font-weight: 500;
}

body.is-locked {
  overflow: hidden;
}

/* ---------- 风格切换条（原型专用） ---------- */

.style-switch {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(17, 19, 21, 0.93);
  backdrop-filter: blur(10px);
  padding: 7px 9px;
  border-radius: 200px;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.55);
}

.style-switch span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 8px 0 10px;
  text-transform: uppercase;
}

.style-switch a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  padding: 7px 12px;
  border-radius: 200px;
  transition: all 0.18s var(--ease);
  white-space: nowrap;
}

.style-switch a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.style-switch a.is-on {
  background: #fff;
  color: #111315;
  font-weight: 700;
}

@media (max-width: 720px) {
  .style-switch {
    left: 8px;
    right: 8px;
    bottom: 8px;
    transform: none;
    justify-content: flex-start;
    padding: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .style-switch a {
    font-size: 11.5px;
    padding: 6px 10px;
  }

  .style-switch span {
    display: none;
  }
}

/* ---------- 滚动淡入 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .header-tel { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-item:nth-child(2) { border-right: 0; }
  .adv-item:nth-child(3) { padding-left: 0; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .school-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .shop-layout { grid-template-columns: 1fr; gap: 40px; }
  .detail-top { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .sol-row { grid-template-columns: 50px 1fr; gap: 12px 20px; }
  .sol-row p { grid-column: 2; }
  .sol-go { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat:nth-child(1),
  .hero-stat:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
}

@media (max-width: 720px) {
  :root { --pad: 18px; }
  body { overflow-x: clip; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 8px; }
  .header-actions .btn--sm { padding: 0 13px; font-size: 12.5px; white-space: nowrap; }
  .logo { gap: 8px; }
  .logo-en { display: none; }
  .logo-cn { font-size: 13.5px; letter-spacing: 0.02em; }
  .hero-tag { font-size: 10px; letter-spacing: 0.1em; padding: 6px 10px; margin-bottom: 24px; }
  .hero h1 { font-size: clamp(28px, 7.4vw, 42px); letter-spacing: -0.01em; }
  .hero-sub { font-size: 15px; }
  .tab-panel { overflow-x: auto; }
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 36px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-item { padding: 32px 24px; }
  .adv-grid { grid-template-columns: 1fr; }
  .adv-item { border-right: 0; padding: 28px 0 0 !important; border-bottom: 1px solid var(--line); }
  .adv-item:last-child { border-bottom: 0; }
  .prod-grid { grid-template-columns: 1fr; }
  .school-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .hero { padding-top: 96px; }
  .hero::after { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { padding-right: 16px; }
  .hero-stat b { font-size: 28px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .form-card { padding: 26px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .tab-btn { padding: 16px 18px; font-size: 14px; }
  .param-table th { width: 110px; }
  .param-table th,
  .param-table td { padding: 11px 13px; font-size: 13px; }
  .works-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tabs { margin-top: 56px; }
  .detail-actions .btn { flex: 1; }
}

/* 移动端展开菜单 */
@media (max-width: 1080px) {
  .nav.is-open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 16px;
    gap: 0;
    margin-right: 0;
    box-shadow: 0 18px 28px -20px rgba(0, 0, 0, 0.35);
  }

  .nav.is-open a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .nav.is-open a:last-child {
    border-bottom: 0;
  }
}

/* ---------- 产品中心：分类吸顶导航 ---------- */

.cat-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.cat-nav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.cat-nav-inner::-webkit-scrollbar {
  display: none;
}

.cat-nav .chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.chip-n {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--grey-light);
  transition: color 0.18s var(--ease);
}

.cat-nav .chip:hover .chip-n,
.cat-nav .chip.is-active .chip-n {
  color: inherit;
}

.cat-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.cat-section {
  scroll-margin-top: calc(var(--header-h) + 64px);
}

.sec-head .sec-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
/* 暂无实拍图的产品：做成型号卡片，而不是空白占位 */
.ph--empty {
  background-image:
    linear-gradient(rgba(17, 19, 21, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 21, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  background-color: #F7F7F6;
}

.ph--empty .ph-label {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #4A4A46;
  line-height: 1.7;
}

.ph--empty .ph-label em {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #B9B9B4;
  display: inline-block;
  margin-top: 10px;
}
/* 分类下的补充实拍 */
.cat-gallery {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.gallery-note {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.gallery-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.gallery-strip img {
  width: 148px;
  height: 148px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #F7F7F6;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.prod-filler { background: #fff; }

/* 窄屏：分类条仍然换行展示，绝不隐藏任何分类 */
@media (max-width: 720px) {
  .cat-nav {
    position: static;
  }

  .cat-nav-inner {
    gap: 6px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .cat-nav .chip {
    font-size: 12px;
    padding: 5px 10px;
  }

  .chip-n {
    font-size: 9px;
    margin-left: 5px;
  }
}

/* 分类条换行后导航变高，锚点滚动要留出空间 */
.cat-section {
  scroll-margin-top: 190px;
}

@media (max-width: 720px) {
  .cat-section {
    scroll-margin-top: 96px;
  }
}
/* 产品卡图片：铺满，不留白边 */
.prod-card .ph {
  aspect-ratio: 1 / 1;
  background-image: none;
  background-color: #FFFFFF;
}

.prod-card .ph img {
  object-fit: cover;
  padding: 0;
}

.prod-detail-photo .ph img {
  padding: 0;
}
/* 详情页主图同样铺满 */
.gallery-main {
  aspect-ratio: 1 / 1;
}

.gallery-main img {
  object-fit: cover;
  padding: 0;
}
/* ---------- 配置对照表（产品详情） ---------- */

.mx-hint {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 16px;
}

.mx-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.mx {
  border-collapse: collapse;
  font-size: 12.5px;
  min-width: 100%;
  white-space: nowrap;
}

.mx th,
.mx td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 10px 8px;
  text-align: center;
  color: var(--ink-soft);
}

.mx thead th {
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.02em;
  position: sticky;
  top: 0;
  z-index: 1;
}

.mx-name {
  text-align: left !important;
  padding-left: 14px !important;
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 2;
  font-weight: 500;
  color: var(--ink);
}

.mx thead .mx-name {
  background: var(--ink);
  color: #fff;
  z-index: 3;
}

.mx tbody tr:hover td,
.mx tbody tr:hover .mx-name {
  background: var(--bg-alt);
}

.mx-yes {
  color: var(--orange);
  font-size: 13px;
}

.mx-note {
  text-align: left !important;
  padding-left: 12px !important;
  color: var(--grey) !important;
  font-size: 12px;
}
/* ================= 首页改版：分屏首屏 + 图标分类 ================= */

.hero-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: 72px;
  align-items: center;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.mos {
  position: relative;
  display: block;
  overflow: hidden;
  background: #16181b;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.mos img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.6s var(--ease), opacity 0.3s var(--ease);
}

.mos:hover img {
  transform: scale(1.045);
  opacity: 1;
}

.mos span {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 7px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  color: #fff;
  background: rgba(17, 19, 21, 0.74);
}

.mos--tall {
  grid-row: span 2;
  height: 100%;
}

.mos--tall img {
  height: 100%;
}

.mos--sq {
  aspect-ratio: 1 / 1;
}

/* 分类网格 */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.cat-tile {
  position: relative;
  display: block;
  padding: 30px 26px 24px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.cat-tile:hover {
  background: var(--bg-alt);
  box-shadow: inset 0 0 0 1px var(--orange);
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  color: var(--ink);
  margin-bottom: 22px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.tile-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.cat-tile:hover .tile-icon {
  color: var(--orange);
  border-color: var(--orange);
  background: #fff;
}

.tile-no {
  position: absolute;
  top: 30px;
  right: 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--grey-light);
}

.tile-name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.tile-en {
  display: block;
  margin-top: 6px;
  min-height: 26px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--grey-light);
  line-height: 1.4;
}

.tile-foot {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--grey);
}

.tile-foot b {
  color: var(--ink);
  font-weight: 700;
}

.tile-dot {
  margin: 0 6px;
  color: var(--line);
}

@media (max-width: 1180px) {
  .hero-split { gap: 48px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; gap: 44px; }
  .hero-mosaic { grid-template-columns: 1fr 1fr 1fr; }
  .mos--tall { grid-row: span 1; aspect-ratio: 1 / 1; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .hero-mosaic { grid-template-columns: 1fr 1fr; }
  .mos--tall {
    grid-column: span 2;
    grid-row: span 1;
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-tile {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    padding: 18px 18px 16px;
  }
  .tile-icon { grid-row: span 2; margin-bottom: 0; }
  .tile-name { grid-column: 2; }
  .tile-en { grid-column: 2; min-height: 0; margin-top: 3px; }
  .tile-foot { grid-column: 1 / -1; margin-top: 12px; padding-top: 10px; }
  .tile-no { top: 18px; right: 18px; }
}

.gallery-hint {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--grey-light);
}

/* ================= 品牌标识 ================= */

.logo-img {
  display: block;
  height: 30px;
  width: auto;
  flex: none;
}

.site-footer .logo-img {
  height: 34px;
  margin-bottom: 2px;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-watermark {
  position: absolute;
  right: -130px;
  top: 50%;
  transform: translateY(-54%);
  width: 720px;
  height: auto;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}

.hero-lockup {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.hero-lockup > img {
  height: 44px;
  width: auto;
  flex: none;
}

.lockup-text b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
  line-height: 1.2;
}

.lockup-text i {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 5px;
}

@media (max-width: 960px) {
  .hero-watermark { width: 460px; right: -120px; opacity: 0.045; }
  .hero-lockup > img { height: 36px; }
}

@media (max-width: 560px) {
  .hero-watermark { display: none; }
  .logo-img { height: 26px; }
}

/* ================= 英文版页面 ================= */

.en-cat-list { border-top: 1px solid var(--line); }

.en-cat-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.en-cat-media {
  aspect-ratio: 4 / 3;
  background: #F5F5F4;
  border: 1px solid var(--line);
  overflow: hidden;
}

.en-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.en-cat-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 10px;
}

.en-cat-body h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.en-cat-body p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--grey);
  max-width: 62ch;
  margin-bottom: 16px;
}

.en-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 64px;
  align-items: start;
}

.en-about-main h3,
.en-contact-info h3,
.en-form h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 10px;
}

.en-about-main h3:first-child,
.en-contact-info h3:first-child { margin-top: 0; }

.en-about-main p,
.en-contact-info p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--grey);
}

.en-about-side {
  border-top: 1px solid var(--line);
}

.en-fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.en-fact span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grey-light);
  text-transform: uppercase;
}

.en-fact b { font-size: 15px; color: var(--ink); }

.en-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}

.en-form label {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-light);
}

.en-form input,
.en-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  border-radius: 0;
}

.en-form input:focus,
.en-form textarea:focus { outline: none; border-color: var(--orange); }

.en-form-done {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
}

@media (max-width: 960px) {
  .en-cat-row { grid-template-columns: 1fr; gap: 20px; }
  .en-about { grid-template-columns: 1fr; gap: 32px; }
  .en-contact { grid-template-columns: 1fr; gap: 40px; }
}

.form-err {
  display: none;
  margin-bottom: 16px;
  padding: 11px 14px;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 13px;
  line-height: 1.6;
}

.footer-contact li > span {
  flex: none;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.45);
}

.footer-contact li {
  align-items: flex-start;
}

/* ================= 关于我们（装饰） ================= */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 72px;
  align-items: start;
}

.about-brand {
  margin-bottom: 34px;
}

.about-brand img {
  height: 96px;
  width: auto;
  display: block;
}

.about-rule {
  width: 56px;
  height: 2px;
  background: var(--orange);
  margin: 26px 0 30px;
}

.about-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-shots figure {
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.about-shots img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.about-shots figure:hover img {
  transform: scale(1.04);
}

.about-shots figcaption {
  padding: 9px 11px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--grey-light);
  border-top: 1px solid var(--line);
}

.about-strip {
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.about-strip figure {
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #F7F7F6;
}

.about-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 960px) {
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-brand img { height: 72px; }
  .about-strip { grid-template-columns: 1fr 1fr; }
}
