﻿/* 领梵家具 - 响应式静态页面样式（参考祥源家具视觉） */
:root {
  --dark: #231815;
  --dark-soft: #2d2420;
  --gold: #c5a059;
  --gold-light: #d4b87a;
  --beige: #ffffff;
  --beige-dark: #f0f0f0;
  --white: #ffffff;
  --gray-bg: #ffffff;
  --cream: #ffffff;
  --text: #333333;
  --text-muted: #888888;
  --border: #e5e5e5;
  --container: 1560px;
  --header-h: 72px;
  --radius: 4px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: #ffffff;
}
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: #ffffff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.wrap { width: min(var(--container), 96vw); margin: 0 auto; }

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
}
.logo-text { line-height: 1.2; }
.logo-text strong {
  display: block;
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 2px;
}
.logo-text span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  letter-spacing: 2px;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
  max-width: 220px;
  object-fit: contain;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > li { position: relative; }
.main-nav > li > a,
.main-nav > li > button.nav-link {
  display: block;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  white-space: nowrap;
}
.main-nav > li > a:hover,
.main-nav > li > a.active,
.main-nav > li > button.nav-link:hover { color: var(--gold); }

.nav-drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--dark-soft);
  border-top: 2px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  box-shadow: var(--shadow);
  z-index: 40;
}
.main-nav > li:hover .nav-drop,
.main-nav > li.is-open .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-drop-item {
  position: relative;
}
.nav-drop-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-drop-item > a:hover,
.nav-drop-item.has-sub:hover > a {
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold);
}
.nav-drop-arrow {
  opacity: 0.55;
  font-size: 14px;
  line-height: 1;
}
.nav-drop-sub {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 180px;
  background: var(--dark-soft);
  border-left: 2px solid var(--gold);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: var(--transition);
}
.nav-drop-item.has-sub:hover > .nav-drop-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.nav-drop-sub a {
  display: block;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}
.nav-drop-sub a:hover {
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 6px 14px;
  min-width: 160px;
}
.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 13px;
  outline: none;
  min-width: 0;
}
.search-box input::placeholder { color: rgba(255, 255, 255, 0.45); }
.search-box button { color: rgba(255, 255, 255, 0.7); padding: 0; }
.lang-switch {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  letter-spacing: 1px;
}
.lang-switch:hover { color: var(--gold); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.mob-nav-panel {
  display: none;
  background: var(--dark-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mob-nav-panel.is-open { display: block; }
.mob-nav-panel a,
.mob-nav-panel .mob-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}
.mob-sub { display: none; background: rgba(0, 0, 0, 0.2); }
.mob-sub.is-open { display: block; }
.mob-sub a { padding-left: 36px; font-size: 14px; }
.mob-sub a.mob-sub-l2 {
  padding-left: 52px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}
.mob-search { padding: 12px 20px; }
.mob-search .search-box { width: 100%; min-width: 0; }

/* ========== Hero / Banner ========== */
.hero-banner {
  position: relative;
  overflow: hidden;
  background: #111;
}
.hero-slide {
  position: relative;
  aspect-ratio: 21 / 7;
  min-height: 280px;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(35, 24, 21, 0.75) 0%, rgba(35, 24, 21, 0.2) 60%, transparent 100%);
}
.hero-caption .wrap { max-width: 640px; }
.hero-caption h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.3;
}
.hero-caption p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(14px, 2vw, 18px);
}
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}
.hero-dots button.is-active { background: var(--gold); }

.page-banner {
  position: relative;
  aspect-ratio: 21 / 5;
  min-height: 200px;
  overflow: hidden;
}
.page-banner img { width: 100%; height: 100%; object-fit: cover; }
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(35, 24, 21, 0.35);
}

/* ========== Section common ========== */
.section { padding: clamp(48px, 8vw, 80px) 0; }
.section-dark { background: var(--dark); color: #fff; }
.section-beige { background: #fff; }
.section-gray { background: #fff; }

.section-head {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.section-head h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 600;
  letter-spacing: 2px;
}
.section-head .en {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.section-dark .section-head .en { color: rgba(255, 255, 255, 0.45); }
.section-head .deco {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 24px;
  font-size: 14px;
  transition: var(--transition);
}
.btn-primary {
  background: var(--dark);
  color: #fff;
}
.btn-primary:hover { background: var(--gold); color: var(--dark); }
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--dark); }
.btn-outline-dark {
  border: 1px solid var(--dark);
  color: var(--dark);
}
.btn-outline-dark:hover { background: var(--dark); color: #fff; }
.section-foot { text-align: center; margin-top: 36px; }

/* ========== About block ========== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}
.about-split .about-text p { margin: 0 0 16px; text-align: justify; }
.about-split .about-media img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* ========== Advantages ========== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.adv-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.adv-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.adv-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 24px;
}
.adv-card h3 { margin: 0 0 10px; font-size: 17px; }
.adv-card p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ========== Solutions ========== */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sol-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 220px;
}
.sol-card img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.sol-card .sol-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(35, 24, 21, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
}
.sol-card h3 { margin: 0 0 6px; font-size: 18px; }
.sol-card p { margin: 0; font-size: 13px; opacity: 0.85; }

/* ========== Cases grid ========== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
}
.case-card img { width: 100%; height: 100%; object-fit: cover; }
.case-card .case-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-size: 14px;
}


/* ========== Product grid / slider ========== */
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}
.cat-tabs--sub {
  margin-top: -16px;
  margin-bottom: 28px;
  gap: 8px;
}
.cat-tabs--sub a,
.cat-tabs--sub button {
  padding: 6px 16px;
  font-size: 13px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.cat-tabs--sub a.active,
.cat-tabs--sub a:hover,
.cat-tabs--sub button.active,
.cat-tabs--sub button:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}
.cat-tabs a,
.cat-tabs button {
  padding: 8px 20px;
  background: var(--gray-bg);
  color: var(--text);
  font-size: 14px;
  border-radius: 2px;
  transition: var(--transition);
}
.cat-tabs a.active,
.cat-tabs a:hover,
.cat-tabs button.active,
.cat-tabs button:hover {
  background: var(--dark);
  color: #fff;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prod-card {
  background: #fff;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prod-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.prod-card figcaption {
  padding: 14px;
  text-align: center;
  font-size: 14px;
}

.prod-slider-wrap { position: relative; }
.prod-slider { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.prod-slider::-webkit-scrollbar { display: none; }
.prod-slider .prod-card { flex: 0 0 calc(33.333% - 14px); scroll-snap-align: start; min-width: 260px; }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  z-index: 2;
  box-shadow: var(--shadow);
}
.slider-btn.prev { left: -12px; }
.slider-btn.next { right: -12px; }

/* ========== News ========== */
.news-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}
.news-feature {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.news-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-feature .news-body { padding: 20px 0 0; }
.news-feature h3 { margin: 0 0 10px; font-size: 20px; }
.news-feature p { margin: 0 0 8px; color: var(--text-muted); font-size: 14px; }
.news-feature time { font-size: 13px; color: var(--text-muted); }

.news-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.news-list li:first-child { padding-top: 0; }
.news-list img { width: 100px; height: 72px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.news-list h4 { margin: 0 0 6px; font-size: 15px; font-weight: 500; line-height: 1.45; }
.news-list time { font-size: 12px; color: var(--text-muted); }

.news-row {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.news-row img { width: 220px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.news-row h3 { margin: 0 0 10px; font-size: 18px; }
.news-row p { margin: 0 0 8px; color: var(--text-muted); font-size: 14px; }

/* ========== Partners ========== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.partner-item {
  background: #fff;
  border: 1px solid var(--border);
  padding: 20px 12px;
  display: grid;
  place-items: center;
  min-height: 80px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  border-radius: var(--radius);
}

/* ========== FAQ ========== */
.faq-list { max-width: 1100px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 36px 18px 0;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  color: var(--text);
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 22px;
}
.faq-item.is-open .faq-q::after { content: "−"; }
.faq-a {
  display: none;
  padding: 0 0 18px;
  color: var(--text-muted);
  font-size: 14px;
}
.faq-item.is-open .faq-a { display: block; }

/* ========== About page tabs ========== */
.page-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.page-tabs a {
  padding: 10px 22px;
  background: var(--gray-bg);
  font-size: 14px;
  border-radius: 2px;
}
.page-tabs a.active,
.page-tabs a:hover { background: var(--dark); color: #fff; }

.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.culture-item { text-align: center; }
.culture-item .circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--gold);
}
.culture-item h4 { margin: 0 0 6px; }
.culture-item p { margin: 0; font-size: 13px; color: var(--text-muted); }

.timeline {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.timeline-card {
  flex: 0 0 280px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
}
.timeline-card .year { color: var(--gold); font-size: 22px; font-weight: 600; margin-bottom: 10px; }

.team-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
.team-block.reverse { direction: rtl; }
.team-block.reverse > * { direction: ltr; }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cert-grid img { border: 1px solid var(--border); border-radius: var(--radius); }

/* ========== Product detail ========== */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a:hover { color: var(--gold); }

.detail-gallery { max-width: 1200px; margin: 0 auto; }
.detail-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.detail-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
}
.detail-thumbs button {
  flex: 0 0 90px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
}
.detail-thumbs button.active { border-color: #c0392b; }
.detail-thumbs img { aspect-ratio: 4 / 3; object-fit: cover; }

.detail-info {
  max-width: 1200px;
  margin: 32px auto 0;
}
.detail-info h1 { font-size: 26px; margin: 0 0 16px; }
.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
  font-size: 14px;
}
.detail-meta dt { color: var(--text-muted); }
.detail-meta dd { margin: 0; font-weight: 500; }

/* ========== Contact ========== */
.contact-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.contact-icon-item { text-align: center; }
.contact-icon-item .icon-circle {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 22px;
}
.contact-icon-item h4 { margin: 0 0 6px; font-size: 15px; }
.contact-icon-item p { margin: 0; font-size: 13px; color: var(--text-muted); }

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--gray-bg);
  padding: 32px;
  border-radius: var(--radius);
}
.contact-map {
  min-height: 320px;
  background: #ddd;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 14px;
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 14px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.captcha-row { display: flex; gap: 12px; align-items: center; }
.captcha-box {
  width: 100px;
  height: 38px;
  background: linear-gradient(135deg, #eee, #ccc);
  display: grid;
  place-items: center;
  font-size: 18px;
  letter-spacing: 4px;
  font-weight: 700;
  color: var(--dark);
  border-radius: var(--radius);
  user-select: none;
}

/* ========== Pagination ========== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  font-size: 14px;
  border-radius: 2px;
}
.pagination a.active,
.pagination a:hover { background: var(--dark); color: #fff; border-color: var(--dark); }

/* ========== Footer ========== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}
.footer-grid .logo-text strong { font-size: 18px; }
.footer-grid .logo img { height: 42px; }
.footer-contact p { margin: 8px 0; font-size: 14px; line-height: 1.8; }
.footer-nav h4 {
  color: var(--gold);
  font-size: 16px;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: none;
  position: relative;
}
.footer-nav h4::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.55);
}
.footer-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  column-gap: 36px;
  row-gap: 2px;
}
.footer-nav a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.footer-nav a:hover { color: var(--gold); }
.footer-qr {
  display: flex;
  gap: 20px;
}
.qr-box { text-align: center; }
.qr-box .qr-img {
  width: 100px;
  height: 100px;
  background: #fff;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--text-muted);
}
.qr-box span { font-size: 12px; color: rgba(255, 255, 255, 0.7); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: var(--gold); }

/* ========== 右侧悬浮工具栏 ========== */
.float-sidebar {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: var(--dark);
  border: 1px solid rgba(197, 160, 89, 0.28);
  box-shadow: 0 8px 32px rgba(35, 24, 21, 0.22);
}
.float-sidebar-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.92);
  border: none;
  border-bottom: 1px solid rgba(197, 160, 89, 0.12);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  padding: 0;
}
.float-sidebar-btn:last-child {
  border-bottom: none;
}
.float-sidebar-btn:hover,
.float-sidebar-btn:focus-visible {
  background: var(--dark-soft);
  color: var(--gold);
}
.float-sidebar-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.float-sidebar-item {
  position: relative;
}
.float-sidebar-pop {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  padding: 14px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(197, 160, 89, 0.2);
  box-shadow: 0 12px 36px rgba(35, 24, 21, 0.14);
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.float-sidebar-pop::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #fff;
}
.float-sidebar-qr {
  width: 100px;
  height: 100px;
  margin: 0 auto 8px;
  background: var(--cream, var(--gray-bg));
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--text-muted);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 6px;
}
.float-sidebar-pop span {
  font-size: 12px;
  color: var(--text-muted);
}
.float-sidebar-item.has-pop:hover .float-sidebar-pop,
.float-sidebar-item.has-pop.is-open .float-sidebar-pop {
  opacity: 1;
  visibility: visible;
}

/* ========== Inquiry modal ========== */
.inquiry-bar {
  background: var(--dark);
  color: #fff;
  padding: 20px 0;
  text-align: center;
}
.inquiry-bar p { margin: 0 0 12px; }
.inquiry-mini {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.inquiry-mini input {
  padding: 10px 14px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  min-width: 140px;
}
.inquiry-captcha {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.inquiry-captcha input {
  width: 96px;
  min-width: 96px;
}
.captcha-code {
  min-width: 88px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px dashed rgba(197, 160, 89, 0.55);
  background: rgba(255, 255, 255, 0.12);
  color: #f0e6c8;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 4px;
  font-family: "Courier New", Consolas, monospace;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}
.captcha-code:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--gold);
}
.inquiry-mini button[type="submit"] {
  padding: 10px 24px;
  background: var(--gold);
  color: var(--dark);
  border-radius: var(--radius);
  font-weight: 600;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); } 
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 56px; }

  .main-nav,
  .header-tools .search-box,
  .header-tools .lang-switch { display: none; }
  .menu-toggle { display: flex; }

  .hero-slide { aspect-ratio: 16 / 10; min-height: 240px; }
  .page-home .hero-slide {
    aspect-ratio: auto;
    min-height: 0;
  }
  .hero-caption {
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: 0 16px 48px;
    background: linear-gradient(180deg, rgba(35, 24, 21, 0.2) 0%, rgba(35, 24, 21, 0.72) 100%);
  }
  .page-home .hero-caption {
    /* 由 home.css 接管贴底，这里只做兜底 */
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    align-items: stretch;
    justify-content: flex-end;
  }
  .hero-caption .wrap {
    max-width: 100%;
    width: 100%;
  }
  .hero-caption h1 { font-size: 22px; }
  .hero-caption p { font-size: 13px; margin-left: auto; margin-right: auto; }
  .page-banner { aspect-ratio: 16 / 9; min-height: 160px; }

  .about-split,
  .news-layout,
  .team-block,
  .team-block.reverse,
  .contact-split,
  .sol-grid { grid-template-columns: 1fr; }
  .team-block.reverse { direction: ltr; }

  .adv-grid,
  .case-grid,
  .prod-grid,
  .contact-icons,
  .detail-meta,
  .form-row { grid-template-columns: 1fr; }

  .news-row { flex-direction: column; }
  .news-row img { width: 100%; }

  .partner-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-qr { justify-content: center; }

  .slider-btn { display: none; }
  .prod-slider .prod-card { flex: 0 0 75%; }

  .float-sidebar {
    right: 8px;
    bottom: 20px;
    top: auto;
    transform: none;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(26, 23, 20, 0.18);
  }
  .float-sidebar-btn {
    width: 42px;
    height: 42px;
  }
  .float-sidebar-btn svg {
    width: 18px;
    height: 18px;
  }
  .float-sidebar-pop {
    display: none;
  }

  .page-tabs a { padding: 8px 14px; font-size: 13px; }
}

@media (max-width: 480px) {
  .case-grid { grid-template-columns: 1fr; } 
  .inquiry-mini input { width: 100%; min-width: 0; }
  .inquiry-captcha { width: 100%; }
  .inquiry-captcha input { flex: 1; width: auto; min-width: 0; }
  .captcha-code { flex-shrink: 0; }
}
