body {
  background: red !important;
}
/* ==============================
   基础变量与重置
================================ */

:root {
  --primary: #8e1c2a;
  --primary-dark: #67101b;
  --primary-light: #b72d40;
  --accent: #c7a66a;

  --ink: #171717;
  --ink-soft: #3f3f3f;
  --muted: #6f6f6f;
  --line: #e4e0da;

  --paper: #ffffff;
  --paper-warm: #f7f5f1;
  --paper-deep: #efebe5;
  --dark: #151616;
  --dark-soft: #222323;

  --container: 1200px;
  --header-height: 82px;

  --shadow-small: 0 12px 35px rgba(20, 20, 20, 0.08);
  --shadow-large: 0 24px 70px rgba(20, 20, 20, 0.15);

  --radius-small: 6px;
  --radius-medium: 12px;
  --radius-large: 22px;

  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans CJK SC",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

figure,
p,
h1,
h2,
h3,
ul {
  margin-top: 0;
}

address {
  font-style: normal;
}

section {
  position: relative;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section-padding {
  padding: 110px 0;
}

.section-anchor {
  scroll-margin-top: 95px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--primary);
  transform: translateY(-150%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ==============================
   通用标题与按钮
================================ */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow.light {
  color: #e6c98d;
}

.section-title {
  margin-bottom: 22px;
  font-family:
    "Songti SC",
    "SimSun",
    serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.section-title span {
  display: block;
  color: var(--primary);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 52px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-heading.light {
  color: #fff;
}

.section-heading.light > p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
}

.heading-row > div {
  max-width: 680px;
}

.heading-row > p {
  max-width: 440px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 25px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--primary);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-dark {
  color: #fff;
  background: var(--dark);
}

.button-dark:hover {
  background: var(--primary);
}

.button-white {
  color: var(--primary);
  background: #fff;
}

.button-white:hover {
  color: #fff;
  background: var(--primary-dark);
}

.button-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
}

.button-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.button-outline-dark {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.button-outline-dark:hover {
  color: #fff;
  background: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 800;
}

/* ==============================
   顶部信息和导航
================================ */

.topbar {
  position: relative;
  z-index: 1002;
  color: rgba(255, 255, 255, 0.82);
  background: var(--dark);
  font-size: 12px;
}

.topbar-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar p {
  margin: 0;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar a:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  display: inline-flex;
  width: 47px;
  height: 47px;
  align-items: center;
  justify-content: center;
  border-radius: 9px 2px 9px 2px;
  color: #fff;
  background: var(--primary);
  font-family: "Songti SC", "SimSun", serif;
  font-size: 25px;
  font-weight: 900;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

.logo-text small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.17em;
}

.main-navigation {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  content: "";
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-phone {
  display: flex;
  flex-direction: column;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  line-height: 1.3;
}

.nav-phone span {
  color: var(--muted);
  font-size: 11px;
}

.nav-phone strong {
  color: var(--primary);
  font-size: 17px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
  transition:
    transform var(--transition),
    opacity var(--transition);
}

/* ==============================
   首页首屏
================================ */

.hero {
  display: flex;
  min-height: calc(100vh - 120px);
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #232323;
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  /* 推荐替换为门店展厅横版照片 */
  background:
    url("https://images.unsplash.com/photo-1600566753051-f0b89df2dd90?auto=format&fit=crop&w=2000&q=88")
    center 58% / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(10, 10, 10, 0.92) 0%,
      rgba(10, 10, 10, 0.72) 45%,
      rgba(10, 10, 10, 0.3) 100%
    ),
    linear-gradient(
      0deg,
      rgba(10, 10, 10, 0.4),
      transparent 45%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: 90px;
  padding-top: 80px;
  padding-bottom: 110px;
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  margin-bottom: 25px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: clamp(50px, 6.2vw, 84px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero h1 span {
  display: block;
  margin-top: 10px;
  color: #f0d49c;
}

.hero-description {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.hero-badges span {
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(18, 18, 18, 0.6);
  box-shadow: var(--shadow-large);
  backdrop-filter: blur(12px);
}

.hero-panel-label {
  margin-bottom: 22px;
  color: #e6c98d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-stat {
  display: flex;
  align-items: end;
  gap: 16px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stat strong {
  font-family: Georgia, serif;
  font-size: 62px;
  line-height: 1;
}

.hero-stat strong small,
.hero-panel-grid strong small {
  margin-left: 3px;
  font-family: inherit;
  font-size: 16px;
}

.hero-stat > span {
  padding-bottom: 7px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-panel-grid div {
  display: flex;
  min-height: 110px;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel-grid div:nth-child(odd) {
  padding-left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel-grid div:nth-child(even) {
  padding-right: 0;
}

.hero-panel-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.hero-panel-grid strong {
  font-family: Georgia, serif;
  font-size: 28px;
}

.hero-panel-grid span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 25px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  letter-spacing: 0.14em;
  transform: translateX(-50%);
}

.hero-scroll i {
  display: block;
  width: 1px;
  height: 35px;
  background: rgba(255, 255, 255, 0.5);
  animation: scrollPulse 1.8s infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
    transform-origin: top;
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ==============================
   门店介绍
================================ */

.intro {
  background: var(--paper-warm);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 95px;
}

.intro-gallery {
  position: relative;
  min-height: 650px;
}

.intro-image {
  overflow: hidden;
  margin: 0;
  box-shadow: var(--shadow-large);
}

.intro-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.intro-image:hover img {
  transform: scale(1.035);
}

.intro-image-main {
  position: absolute;
  inset: 0 80px 85px 0;
}

.intro-image-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 310px;
  border: 10px solid var(--paper-warm);
}

.experience-card {
  position: absolute;
  top: 55px;
  right: 25px;
  display: flex;
  width: 170px;
  height: 170px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: var(--primary);
  box-shadow: var(--shadow-large);
}

.experience-card strong {
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: 1;
}

.experience-card span {
  font-size: 13px;
  line-height: 1.5;
}

.intro-copy .lead {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 700;
}

.intro-copy > p:not(.eyebrow, .lead) {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 18px;
  margin: 34px 0;
}

.feature-item {
  display: flex;
  gap: 15px;
}

.feature-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.feature-item strong {
  display: block;
  margin-bottom: 2px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ==============================
   数据条
================================ */

.trust-strip {
  color: #fff;
  background: var(--primary);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  min-height: 140px;
  flex-direction: column;
  justify-content: center;
  padding: 30px 35px;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  margin-bottom: 4px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 27px;
}

.trust-item span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

/* ==============================
   品牌产品
================================ */

.brands {
  background:
    linear-gradient(rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(
      45deg,
      #eee 0,
      #eee 1px,
      transparent 1px,
      transparent 10px
    );
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.brand-card {
  position: relative;
  grid-column: span 2;
  min-height: 390px;
  overflow: hidden;
  padding: 38px 30px 32px;
  border: 1px solid var(--line);
  background: #fff;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.brand-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.brand-card:hover {
  z-index: 2;
  border-color: rgba(142, 28, 42, 0.35);
  box-shadow: var(--shadow-large);
  transform: translateY(-8px);
}

.brand-card-featured {
  color: #fff;
  border-color: var(--primary);
  background:
    linear-gradient(rgba(113, 15, 28, 0.93), rgba(113, 15, 28, 0.96)),
    url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=900&q=80")
    center / cover;
}

.brand-number {
  position: absolute;
  top: 13px;
  right: 20px;
  color: rgba(0, 0, 0, 0.055);
  font-family: Georgia, serif;
  font-size: 82px;
  font-weight: 700;
  line-height: 1;
}

.brand-card-featured .brand-number {
  color: rgba(255, 255, 255, 0.12);
}

.brand-label {
  margin-bottom: 45px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.brand-card-featured .brand-label {
  color: #f0d49c;
}

.brand-card h3 {
  margin-bottom: 16px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 28px;
}

.brand-card > p:not(.brand-label) {
  color: var(--muted);
  font-size: 14px;
}

.brand-card-featured > p:not(.brand-label) {
  color: rgba(255, 255, 255, 0.72);
}

.brand-card ul {
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.brand-card-featured ul {
  border-color: rgba(255, 255, 255, 0.18);
}

.brand-card li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 16px;
  font-size: 13px;
}

.brand-card li::before {
  position: absolute;
  top: 0.76em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.brand-card-featured li::before {
  background: #e6c98d;
}

.size-panel {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 60px;
  margin-top: 70px;
  padding: 44px;
  color: #fff;
  background: var(--dark);
}

.size-panel h3 {
  margin-bottom: 0;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 28px;
}

.size-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.size-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.adhesive-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  margin-top: 30px;
  overflow: hidden;
  background: var(--paper-warm);
}

.adhesive-visual {
  position: relative;
  min-height: 470px;
}

.adhesive-visual img {
  height: 100%;
  object-fit: cover;
}

.adhesive-badge {
  position: absolute;
  right: 25px;
  bottom: 25px;
  display: inline-flex;
  width: 110px;
  height: 110px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
  box-shadow: var(--shadow-small);
}

.adhesive-copy {
  padding: 65px;
}

.adhesive-copy h3 {
  margin-bottom: 20px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 42px;
}

.adhesive-lead {
  color: var(--ink-soft);
  font-size: 18px;
}

.adhesive-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 30px 0 20px;
}

.adhesive-features span {
  position: relative;
  padding-left: 18px;
  font-weight: 700;
}

.adhesive-features span::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--primary);
  content: "";
  transform: rotate(45deg);
}

.note {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
}

/* ==============================
   优势板块
================================ */

.advantages {
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.advantages-background {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url("https://images.unsplash.com/photo-1600566752355-35792bedcfea?auto=format&fit=crop&w=1900&q=85")
    center / cover;
}

.advantages .container {
  position: relative;
  z-index: 2;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.advantage-card {
  position: relative;
  min-height: 320px;
  padding: 38px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  transition: background var(--transition);
}

.advantage-card:last-child {
  border-right: 0;
}

.advantage-card:hover {
  background: var(--primary);
}

.advantage-index {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(255, 255, 255, 0.25);
  font-family: Georgia, serif;
  font-size: 13px;
}

.advantage-icon {
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin: 60px 0 35px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #e6c98d;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 20px;
  transform: rotate(45deg);
}

.advantage-icon::first-letter {
  transform: rotate(-45deg);
}

.advantage-card h3 {
  margin-bottom: 13px;
  font-size: 19px;
}

.advantage-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.advantage-card:hover p {
  color: rgba(255, 255, 255, 0.78);
}

/* ==============================
   案例板块
================================ */

.cases {
  background: var(--paper-warm);
}

.case-gallery {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  grid-template-rows: repeat(2, 300px);
  gap: 16px;
}

.case-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  color: #fff;
  background: #292929;
}

.case-card-large {
  grid-row: 1 / span 2;
}

.case-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.case-card:hover img {
  transform: scale(1.045);
}

.case-card::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.8),
      rgba(0, 0, 0, 0.02) 65%
    );
  content: "";
}

.case-overlay {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px;
}

.case-overlay span {
  display: block;
  margin-bottom: 6px;
  color: #e6c98d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.case-overlay h3 {
  margin-bottom: 3px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 25px;
}

.case-card-large .case-overlay h3 {
  font-size: 34px;
}

.case-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.client-panel {
  margin-top: 45px;
  padding: 38px 42px;
  border: 1px solid var(--line);
  background: #fff;
}

.client-panel > p {
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.client-list {
  display: flex;
  flex-wrap: wrap;
}

.client-list span {
  margin: 5px 0;
  padding: 2px 22px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.client-list span:first-child {
  padding-left: 0;
}

/* ==============================
   免费服务
================================ */

.services {
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 100px;
}

.services-copy {
  position: sticky;
  top: 125px;
  align-self: start;
}

.services-copy > p:not(.eyebrow) {
  margin-bottom: 32px;
  color: var(--muted);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: padding var(--transition);
}

.service-item:hover {
  padding-left: 15px;
}

.service-number {
  color: var(--primary);
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
}

.service-item h3 {
  margin-bottom: 7px;
  font-size: 20px;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ==============================
   行动号召
================================ */

.cta {
  overflow: hidden;
  padding: 85px 0;
  color: #fff;
  background: var(--primary);
}

.cta-background {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background:
    linear-gradient(90deg, #6d0c19, #8e1c2a),
    url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=1800&q=80")
    center / cover;
  background-blend-mode: multiply;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta h2 {
  max-width: 780px;
  margin-bottom: 8px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1.25;
}

.cta p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.cta-actions {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

/* ==============================
   联系与地图
================================ */

.contact {
  background: var(--paper-warm);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 600px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-large);
}

.contact-card {
  padding: 58px 55px;
}

.contact-card > h3 {
  margin-bottom: 2px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 31px;
}

.company-name {
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 12px;
}

.contact-row {
  display: flex;
  gap: 18px;
  margin-bottom: 25px;
}

.contact-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(142, 28, 42, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.contact-row strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.contact-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-row a:hover {
  color: var(--primary);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.map-card {
  position: relative;
  display: flex;
  min-height: 600px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(229, 225, 216, 0.6), rgba(229, 225, 216, 0.6)),
    repeating-linear-gradient(
      35deg,
      #dad6ce 0,
      #dad6ce 2px,
      transparent 2px,
      transparent 80px
    ),
    #eeebe4;
}

.map-pattern {
  position: absolute;
  inset: 0;
}

.road {
  position: absolute;
  display: block;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 2px rgba(150, 145, 135, 0.12),
    inset 0 0 0 1px rgba(150, 145, 135, 0.12);
}

.road-one {
  top: 48%;
  left: -10%;
  width: 120%;
  height: 45px;
  transform: rotate(-12deg);
}

.road-two {
  top: -10%;
  left: 60%;
  width: 35px;
  height: 130%;
  transform: rotate(20deg);
}

.road-three {
  top: -15%;
  left: 22%;
  width: 23px;
  height: 130%;
  transform: rotate(-8deg);
}

.road-four {
  top: 73%;
  left: -10%;
  width: 120%;
  height: 22px;
  transform: rotate(7deg);
}

.map-marker {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(330px, calc(100% - 40px));
  flex-direction: column;
  align-items: center;
  padding: 35px;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-large);
}

.marker-pin {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--primary);
  transform: rotate(-45deg);
}

.marker-pin::after {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.map-marker strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.map-marker small {
  color: var(--muted);
  line-height: 1.6;
}

.map-link {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  padding: 11px 16px;
  color: #fff;
  background: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

/* ==============================
   页脚
================================ */

.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: #121313;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.9fr 1fr;
  gap: 60px;
  padding-top: 75px;
  padding-bottom: 65px;
}

.logo-light .logo-text strong {
  color: #fff;
}

.logo-light .logo-text small {
  color: rgba(255, 255, 255, 0.45);
}

.footer-brand p {
  max-width: 370px;
  margin: 25px 0 0;
  font-size: 13px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
}

.footer-column h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 15px;
}

.footer-column a:hover {
  color: #fff;
}

.footer-phone {
  color: #e6c98d;
  font-family: Georgia, serif;
  font-size: 23px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom-inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

/* ==============================
   返回顶部与手机快捷栏
================================ */

.back-to-top {
  position: fixed;
  z-index: 800;
  right: 24px;
  bottom: 25px;
  width: 46px;
  height: 46px;
  border: 0;
  color: #fff;
  background: var(--dark);
  box-shadow: var(--shadow-small);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    background var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
}

.mobile-action-bar {
  display: none;
}

/* ==============================
   滚动出现动画
================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 尊重减少动画的系统设置 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==============================
   平板适配
================================ */

@media (max-width: 1100px) {
  :root {
    --header-height: 72px;
  }

  .main-navigation {
    gap: 18px;
  }

  .nav-phone {
    display: none;
  }

  .hero-content {
    gap: 45px;
  }

  .intro-grid {
    gap: 60px;
  }

  .advantage-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .advantage-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .advantage-card:nth-child(3) {
    border-right: 0;
  }

  .advantage-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .services-grid {
    gap: 60px;
  }

  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-contact {
    grid-column: 2 / 4;
  }
}

/* ==============================
   手机与小平板适配
================================ */

@media (max-width: 860px) {
  body {
    padding-bottom: 68px;
  }

  .topbar {
    display: none;
  }

  .section-padding {
    padding: 75px 0;
  }

  .site-header {
    height: 70px;
  }

  .menu-button {
    display: block;
  }

  .menu-button.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-button.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .main-navigation {
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 25px 28px 90px;
    overflow-y: auto;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition:
      opacity var(--transition),
      transform var(--transition);
  }

  .main-navigation.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav-link {
    height: auto;
    padding: 16px 5px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-phone {
    display: flex;
    margin-top: 25px;
    padding: 18px;
    border: 0;
    color: #fff;
    background: var(--primary);
  }

  .nav-phone span,
  .nav-phone strong {
    color: #fff;
  }

  .hero {
    min-height: 810px;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(10, 10, 10, 0.9),
        rgba(10, 10, 10, 0.62)
      ),
      linear-gradient(
        0deg,
        rgba(10, 10, 10, 0.85),
        transparent 65%
      );
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 85px;
    padding-bottom: 100px;
  }

  .hero-copy {
    max-width: 670px;
  }

  .hero h1 {
    font-size: clamp(43px, 10vw, 68px);
  }

  .hero-panel {
    max-width: 520px;
  }

  .hero-scroll {
    display: none;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-gallery {
    min-height: 570px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  }

  .brand-grid {
    grid-template-columns: 1fr 1fr;
  }

  .brand-card,
  .brand-card:nth-child(4) {
    grid-column: auto;
  }

  .brand-card:last-child {
    grid-column: 1 / -1;
  }

  .size-panel,
  .adhesive-panel {
    grid-template-columns: 1fr;
  }

  .adhesive-visual {
    min-height: 390px;
  }

  .advantage-grid {
    grid-template-columns: 1fr 1fr;
  }

  .advantage-card,
  .advantage-card:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .advantage-card:nth-child(even) {
    border-right: 0;
  }

  .advantage-card:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .advantage-card:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }

  .heading-row {
    display: block;
  }

  .case-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 480px 280px;
  }

  .case-card-large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-copy {
    position: static;
  }

  .cta-inner {
    display: block;
  }

  .cta-actions {
    margin-top: 30px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-card {
    min-height: 480px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: auto;
  }

  .back-to-top {
    right: 15px;
    bottom: 83px;
  }

  .mobile-action-bar {
    position: fixed;
    z-index: 1500;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    min-height: 68px;
    grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
  }

  .mobile-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: #fff;
    line-height: 1.1;
  }

  .mobile-action-call {
    background: var(--dark);
  }

  .mobile-action-map {
    background: var(--primary);
  }

  .mobile-action-icon {
    font-size: 22px;
  }

  .mobile-action span:last-child {
    display: flex;
    flex-direction: column;
  }

  .mobile-action small {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 9px;
  }

  .mobile-action strong {
    font-size: 14px;
  }
}

/* ==============================
   小屏手机适配
================================ */

@media (max-width: 580px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section-padding {
    padding: 62px 0;
  }

  .section-title {
    font-size: 33px;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
  }

  .logo-text strong {
    font-size: 17px;
  }

  .hero {
    min-height: auto;
  }

  .hero-background {
    background-position: 62% center;
  }

  .hero-content {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-panel {
    padding: 24px;
  }

  .hero-stat strong {
    font-size: 52px;
  }

  .intro-gallery {
    min-height: 440px;
  }

  .intro-image-main {
    right: 35px;
    bottom: 60px;
  }

  .intro-image-small {
    width: 53%;
    height: 210px;
    border-width: 6px;
  }

  .experience-card {
    top: 30px;
    right: 0;
    width: 125px;
    height: 125px;
  }

  .experience-card strong {
    font-size: 45px;
  }

  .experience-card span {
    font-size: 10px;
  }

  .trust-item {
    min-height: 115px;
    padding: 20px 18px;
  }

  .trust-item strong {
    font-size: 21px;
  }

  .brand-grid {
    grid-template-columns: 1fr;
  }

  .brand-card,
  .brand-card:nth-child(4),
  .brand-card:last-child {
    grid-column: auto;
  }

  .brand-card {
    min-height: auto;
  }

  .size-panel {
    gap: 30px;
    padding: 30px 22px;
  }

  .adhesive-visual {
    min-height: 300px;
  }

  .adhesive-copy {
    padding: 38px 23px;
  }

  .adhesive-copy h3 {
    font-size: 34px;
  }

  .adhesive-features {
    grid-template-columns: 1fr;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .advantage-card,
  .advantage-card:nth-child(3),
  .advantage-card:nth-child(even),
  .advantage-card:last-child {
    grid-column: auto;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .advantage-card:last-child {
    border-bottom: 0;
  }

  .advantage-icon {
    margin-top: 30px;
  }

  .case-gallery {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 400px 280px 280px;
  }

  .case-card-large {
    grid-column: auto;
  }

  .case-card-large .case-overlay h3 {
    font-size: 27px;
  }

  .client-panel {
    padding: 28px 22px;
  }

  .client-list {
    display: grid;
  }

  .client-list span,
  .client-list span:first-child {
    padding: 7px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-item {
    grid-template-columns: 45px 1fr;
    gap: 15px;
  }

  .cta {
    padding: 65px 0;
  }

  .cta-actions {
    display: grid;
  }

  .contact-card {
    padding: 38px 22px;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .map-card {
    min-height: 410px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 55px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom-inner {
    display: block;
    padding: 20px 0;
  }

  .footer-bottom p + p {
    margin-top: 5px;
  }
}
/* ==============================
   文章列表
================================ */

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.articles {
  background: #fff;
}

.article-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.article-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-category {
  padding: 9px 15px;
  border: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition:
    color var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.article-category:hover,
.article-category.active {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}

.article-search {
  display: flex;
  width: 230px;
  flex: 0 0 230px;
  align-items: center;
  border-bottom: 1px solid var(--ink);
}

.article-search input {
  width: 100%;
  padding: 10px 5px;
  border: 0;
  outline: 0;
  background: transparent;
}

.article-search span {
  color: var(--primary);
  font-size: 22px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.article-card:hover {
  box-shadow: var(--shadow-large);
  transform: translateY(-7px);
}

.article-card-cover {
  position: relative;
  height: 240px;
  overflow: hidden;
  margin: 0;
  background: var(--paper-deep);
}

.article-card-cover img {
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.article-card:hover .article-card-cover img {
  transform: scale(1.04);
}

.article-card-category {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 8px 13px;
  color: #fff;
  background: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

.article-card-content {
  padding: 27px 25px 25px;
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
}

.article-card-content h3 {
  margin-bottom: 12px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 24px;
  line-height: 1.35;
}

.article-card-content > p {
  display: -webkit-box;
  min-height: 52px;
  margin-bottom: 20px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-read-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 0;
  border: 0;
  color: var(--primary);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.article-read-button:hover {
  gap: 19px;
}

.article-empty {
  padding: 80px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  background: var(--paper-warm);
}

.article-empty > span {
  display: inline-flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-family: "Songti SC", "SimSun", serif;
  font-size: 22px;
}

.article-empty h3 {
  margin-bottom: 5px;
}

.article-empty p {
  margin: 0;
  color: var(--muted);
}

/* ==============================
   文章详情弹窗
================================ */

.article-modal[hidden],
.admin-login-modal[hidden],
.article-admin[hidden] {
  display: none;
}

.article-modal,
.admin-login-modal,
.article-admin {
  position: fixed;
  z-index: 3000;
  inset: 0;
}

.article-modal-backdrop,
.admin-login-backdrop,
.article-admin-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(7px);
}

.article-modal {
  display: grid;
  place-items: center;
  padding: 25px;
}

.article-modal-panel {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  max-height: calc(100vh - 50px);
  overflow-y: auto;
  background: #fff;
  box-shadow: var(--shadow-large);
}

.article-modal-close,
.admin-dialog-close,
.article-admin-close {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: var(--primary);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.article-modal-close {
  position: absolute;
  z-index: 3;
  top: 15px;
  right: 15px;
}

.article-modal-cover {
  height: 430px;
  margin: 0;
  background: var(--paper-deep);
}

.article-modal-cover img {
  height: 100%;
  object-fit: cover;
}

.article-modal-content {
  padding: 50px 60px 65px;
}

.article-modal-meta {
  display: flex;
  gap: 18px;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 12px;
}

.article-modal-meta span {
  color: var(--primary);
  font-weight: 900;
}

.article-modal-content h2 {
  margin-bottom: 18px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.3;
}

.article-modal-summary {
  padding: 20px 22px;
  border-left: 3px solid var(--primary);
  color: var(--ink-soft);
  background: var(--paper-warm);
  font-weight: 700;
}

.article-modal-body {
  margin-top: 35px;
  color: var(--ink-soft);
  line-height: 2;
}

.article-modal-body p {
  margin-bottom: 22px;
}

/* ==============================
   管理入口与登录
================================ */

.article-admin-entry {
  position: fixed;
  z-index: 850;
  right: 24px;
  bottom: 82px;
  width: 46px;
  height: 46px;
  border: 0;
  color: #fff;
  background: var(--primary);
  box-shadow: var(--shadow-small);
  cursor: pointer;
  opacity: 0.42;
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.article-admin-entry:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.admin-login-modal {
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-login-panel {
  position: relative;
  z-index: 2;
  width: min(430px, 100%);
  padding: 45px;
  background: #fff;
  box-shadow: var(--shadow-large);
}

.admin-dialog-close {
  position: absolute;
  top: 0;
  right: 0;
}

.admin-login-panel h2 {
  margin-bottom: 28px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 30px;
}

.admin-login-panel .button {
  width: 100%;
}

.admin-security-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.admin-login-message,
.article-form-message {
  min-height: 24px;
  margin: 8px 0;
  color: var(--primary);
  font-size: 13px;
}

/* ==============================
   文章管理面板
================================ */

.article-admin {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.article-admin-panel {
  position: relative;
  z-index: 2;
  width: min(1180px, 94vw);
  height: 100vh;
  overflow-y: auto;
  background: var(--paper-warm);
  box-shadow: -25px 0 80px rgba(0, 0, 0, 0.25);
}

.article-admin-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 35px;
  color: #fff;
  background: var(--dark);
}

.article-admin-header p {
  margin: 0;
  color: #e6c98d;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.article-admin-header h2 {
  margin: 3px 0 0;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 27px;
}

.article-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  gap: 25px;
  padding: 30px;
}

.article-form,
.article-manager {
  padding: 32px;
  background: #fff;
  box-shadow: var(--shadow-small);
}

.article-form-heading {
  margin-bottom: 25px;
}

.article-form-heading h3,
.article-manager-heading h3 {
  margin-bottom: 3px;
  font-size: 21px;
}

.article-form-heading p,
.article-manager-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.article-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.admin-field-wide {
  grid-column: 1 / -1;
}

.admin-field > span {
  font-size: 13px;
  font-weight: 800;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  outline: 0;
  color: var(--ink);
  background: #fff;
  resize: vertical;
  transition: border-color var(--transition);
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
  border-color: var(--primary);
}

.admin-field small {
  color: var(--muted);
  font-size: 11px;
}

.article-image-preview {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--paper-deep);
}

.article-image-preview img {
  height: 100%;
  object-fit: cover;
}

.article-image-preview button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border: 0;
  color: #fff;
  background: var(--primary);
  cursor: pointer;
}

.article-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 23px;
}

.article-cancel-edit {
  padding: 10px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.article-manager-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 23px;
}

.article-export-button {
  padding: 8px 11px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
}

.article-manager-list {
  display: grid;
  gap: 12px;
  max-height: calc(100vh - 210px);
  overflow-y: auto;
}

.article-manager-empty {
  padding: 45px 15px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
}

.article-manager-item {
  padding: 16px;
  border: 1px solid var(--line);
}

.article-manager-item-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
}

.article-status {
  padding: 3px 7px;
  color: #fff;
  background: #8c8c8c;
}

.article-status.published {
  background: var(--primary);
}

.article-manager-item h4 {
  margin: 0 0 13px;
  line-height: 1.45;
}

.article-manager-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.article-manager-actions button {
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: var(--paper-warm);
  cursor: pointer;
}

.article-manager-actions .delete {
  color: var(--primary);
}

/* ==============================
   文章模块响应式
================================ */

@media (max-width: 1000px) {
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }

  .article-admin-layout {
    grid-template-columns: 1fr;
  }

  .article-manager-list {
    max-height: none;
  }
}

@media (max-width: 860px) {
  .article-admin-entry {
    right: 15px;
    bottom: 138px;
  }

  .article-admin-panel {
    width: 100%;
  }

  .article-admin-layout {
    padding: 18px;
  }
}

@media (max-width: 650px) {
  .article-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .article-search {
    width: 100%;
    flex-basis: auto;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-card-cover {
    height: 230px;
  }

  .article-modal {
    padding: 0;
  }

  .article-modal-panel {
    width: 100%;
    height: 100%;
    max-height: none;
  }

  .article-modal-cover {
    height: 280px;
  }

  .article-modal-content {
    padding: 32px 20px 55px;
  }

  .article-form,
  .article-manager {
    padding: 22px 17px;
  }

  .article-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-field-wide {
    grid-column: auto;
  }

  .article-form-actions {
    display: grid;
  }

  .article-form-actions .button {
    width: 100%;
  }

  .admin-login-panel {
    padding: 40px 24px 28px;
  }
}