:root {
  --green-950: #09251d;
  --green-900: #0d3025;
  --green-800: #123e30;
  --green-700: #1a5742;
  --green-500: #27805f;
  --green-100: #e7f0ec;

  --gold-600: #b78a3f;
  --gold-500: #cda45d;
  --gold-100: #f5ead5;

  --ink: #17201d;
  --muted: #66716d;
  --line: #dfe5e2;
  --paper: #f5f6f3;
  --white: #ffffff;
  --danger: #a43a3a;

  --shadow-sm: 0 8px 24px rgba(9, 37, 29, 0.08);
  --shadow-lg: 0 28px 70px rgba(9, 37, 29, 0.17);
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans CJK SC",
    Arial,
    sans-serif;
  line-height: 1.75;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

section {
  scroll-margin-top: 84px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 9999;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green-900);
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-500);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--green-700);
}

.section {
  padding: 105px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2,
.center-heading h2,
.split-content h2,
.faq-intro h2,
.contact-copy h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.section-heading > p,
.split-content > p,
.faq-intro > p {
  margin: 0;
  color: var(--muted);
}

.center-heading {
  margin-bottom: 55px;
  text-align: center;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 25px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--green-950);
  background: var(--gold-500);
}

.button-primary:hover {
  background: #dab36d;
}

.button-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.button-outline {
  color: var(--green-900);
  border-color: var(--green-900);
  background: transparent;
}

.button-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  margin-top: 26px;
  align-items: center;
  gap: 10px;
  color: var(--green-700);
  font-weight: 800;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

/* 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--white);
  background: rgba(9, 37, 29, 0.97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--green-950);
  background: var(--gold-500);
  border-radius: 50% 50% 50% 12px;
  font-size: 22px;
  font-weight: 900;
}

.brand-copy {
  display: grid;
  line-height: 1.25;
}

.brand-copy strong {
  font-size: 17px;
  letter-spacing: 0.03em;
}

.brand-copy small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 23px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav > a {
  transition: color 0.2s ease;
}

.site-nav > a:hover {
  color: var(--gold-500);
}

.site-nav .nav-cta {
  padding: 9px 16px;
  color: var(--green-950);
  background: var(--gold-500);
  border-radius: 5px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

/* 首屏 */
.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  place-items: center;
  color: var(--white);
  background: var(--green-950);
}

.hero-background {
  position: absolute;
  inset: 0;
  background:
    url("4c3f9a8882c20b86221691d19f4a02a0.jpg")
    center 48% / cover no-repeat;
  transform: scale(1.015);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 26, 20, 0.94) 0%, rgba(5, 26, 20, 0.76) 48%, rgba(5, 26, 20, 0.18) 100%),
    linear-gradient(0deg, rgba(5, 26, 20, 0.45), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 75px;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
  margin-top: 15px;
  color: var(--gold-500);
  font-size: 0.58em;
  letter-spacing: -0.03em;
}

.hero-description {
  max-width: 670px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  margin-top: 35px;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  margin: 65px 0 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.hero-features li {
  display: grid;
  min-width: 190px;
  padding: 0 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-features li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-features strong {
  color: var(--white);
  font-size: 20px;
}

.hero-features span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

/* 信任条 */
.trust-bar {
  position: relative;
  z-index: 3;
  color: var(--white);
  background: var(--green-800);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  display: flex;
  min-height: 110px;
  padding: 25px 24px;
  align-items: center;
  gap: 17px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-grid > div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-grid span {
  color: var(--gold-500);
  font-size: 26px;
  font-weight: 300;
}

.trust-grid p {
  display: grid;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.trust-grid strong {
  color: var(--white);
  font-size: 15px;
}

/* 产品服务 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 265px;
  padding: 32px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card:hover {
  border-color: #ccd8d3;
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.service-card-featured {
  color: var(--white);
  background: var(--green-900);
}

.service-number {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--gold-600);
  font-size: 14px;
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 13px;
  font-size: 22px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-card-featured p {
  color: rgba(255, 255, 255, 0.68);
}

.service-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

/* 材料 */
.material-section {
  background: var(--paper);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(50px, 8vw, 105px);
  align-items: center;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-frame {
  height: 610px;
}

.image-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 12px 16px;
  color: var(--white);
  background: rgba(9, 37, 29, 0.78);
  border-radius: 8px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.split-content > p {
  margin-top: 22px;
}

.feature-list {
  display: grid;
  margin-top: 30px;
  gap: 18px;
}

.feature-list > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
}

.feature-list span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--white);
  background: var(--green-700);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
}

.feature-list strong {
  display: block;
  color: var(--ink);
}

/* 品牌 */
.brand-section {
  padding: 55px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.brand-title {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.15em;
}

.brand-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.brand-list span {
  padding: 10px 18px;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 100px;
  font-weight: 900;
}

.brand-note {
  margin: 23px 0 0;
  color: var(--gold-600);
  font-size: 14px;
  font-weight: 800;
}

/* 优势 */
.advantages-section {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(rgba(9, 37, 29, 0.95), rgba(9, 37, 29, 0.95)),
    url("26367a1d7d3848fb192ed21493d066cc.jpg")
    center / cover no-repeat;
}

.section-heading.light h2 {
  color: var(--white);
}

.section-heading.light > p {
  color: rgba(255, 255, 255, 0.62);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.advantage-grid article {
  min-height: 285px;
  padding: 32px 27px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(8px);
}

.advantage-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 42px;
  place-items: center;
  color: var(--green-950);
  background: var(--gold-500);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
}

.advantage-grid h3 {
  margin: 0 0 13px;
  font-size: 20px;
}

.advantage-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* 流程 */
.process-section {
  background: var(--paper);
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
}

.process-list li {
  position: relative;
  padding: 0 20px;
  text-align: center;
}

.process-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 29px;
  left: calc(50% + 30px);
  width: calc(100% - 60px);
  height: 1px;
  background: #bdcac5;
}

.process-list span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  place-items: center;
  color: var(--white);
  background: var(--green-800);
  border-radius: 50%;
  box-shadow: 0 0 0 8px var(--paper);
  font-weight: 900;
}

.process-list h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* 案例 */
.case-gallery {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  grid-template-rows: repeat(2, 290px);
  gap: 18px;
}

.case-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--green-950);
  border-radius: var(--radius-md);
}

.case-gallery .case-large {
  grid-row: 1 / 3;
}

.case-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.45s ease,
    opacity 0.45s ease;
}

.case-gallery figure:hover img {
  opacity: 0.8;
  transform: scale(1.035);
}

.case-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 50px 26px 22px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(5, 26, 20, 0.9));
}

.case-gallery figcaption strong {
  font-size: 19px;
}

.case-gallery figcaption span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

/* 文章 */
.article-section {
  background: var(--paper);
}

.article-toolbar {
  display: flex;
  margin-bottom: 27px;
  justify-content: space-between;
  gap: 15px;
}

.search-box {
  flex: 1;
}

.article-toolbar input,
.article-toolbar select {
  min-height: 48px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  background: var(--white);
}

.article-toolbar input {
  width: 100%;
}

.article-toolbar input:focus,
.article-toolbar select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(39, 128, 95, 0.1);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.article-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.article-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.article-cover {
  height: 210px;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--green-900), var(--green-500));
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.default-cover {
  display: grid;
  height: 100%;
  padding: 30px;
  place-items: end start;
  color: rgba(255, 255, 255, 0.85);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 46px,
      rgba(255, 255, 255, 0.06) 47px,
      rgba(255, 255, 255, 0.06) 48px
    );
  font-weight: 900;
  letter-spacing: 0.12em;
}

.article-card-content {
  padding: 25px;
}

.article-category {
  display: inline-flex;
  padding: 4px 9px;
  color: var(--green-800);
  background: var(--green-100);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
}

.article-card h3 {
  margin: 15px 0 10px;
  font-size: 20px;
  line-height: 1.45;
}

.article-card p {
  display: -webkit-box;
  min-height: 50px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-card-footer {
  display: flex;
  margin-top: 22px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.read-article {
  padding: 0;
  color: var(--green-700);
  border: 0;
  background: transparent;
  font-weight: 900;
}

.empty-state {
  padding: 70px 20px;
  border: 1px dashed #bdcac5;
  border-radius: var(--radius-md);
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 6px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.storage-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 90px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 115px;
}

.faq-intro > p {
  margin-top: 22px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 4px;
  color: var(--green-700);
  font-size: 28px;
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -4px 45px 24px 0;
  color: var(--muted);
}

/* 关于我们 */
.about-section {
  background: var(--paper);
}

.about-layout {
  grid-template-columns: 1fr 0.9fr;
}

.about-data {
  display: grid;
  margin-top: 38px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.about-data > div {
  display: grid;
  padding: 18px;
  background: var(--white);
  border-radius: 8px;
}

.about-data strong {
  color: var(--green-800);
  font-size: 22px;
}

.about-data span {
  color: var(--muted);
  font-size: 12px;
}

.about-image {
  height: 610px;
}

.about-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  padding: 18px 23px;
  color: var(--green-950);
  background: var(--gold-500);
  border-radius: 9px;
}

.about-badge span {
  font-size: 12px;
}

/* 联系 */
.contact-section {
  padding: 100px 0;
  color: var(--white);
  background: var(--green-900);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 85px;
  align-items: center;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p {
  color: rgba(255, 255, 255, 0.65);
}

.contact-details {
  display: grid;
  margin-top: 34px;
  gap: 10px;
}

.contact-details p {
  display: grid;
  margin: 0;
}

.contact-details span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.quote-form {
  padding: 36px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.quote-form label,
.article-form label {
  display: grid;
  margin-bottom: 18px;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea,
.article-form input,
.article-form select,
.article-form textarea {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  background: var(--white);
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus,
.article-form input:focus,
.article-form select:focus,
.article-form textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(39, 128, 95, 0.1);
}

.form-tip {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.form-status {
  min-height: 26px;
  margin: 7px 0 0;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

/* 页脚 */
.site-footer {
  padding: 70px 0 20px;
  color: rgba(255, 255, 255, 0.65);
  background: #061b15;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 45px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-grid h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 15px;
}

.footer-grid a,
.footer-grid p {
  margin: 0 0 9px;
  font-size: 13px;
}

.footer-grid a:hover {
  color: var(--gold-500);
}

.footer-brand {
  margin-bottom: 22px;
  color: var(--white);
}

.footer-grid > div:first-child > p {
  max-width: 390px;
}

.footer-bottom {
  display: flex;
  margin-top: 55px;
  padding-top: 20px;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
}

.mobile-contact-bar {
  display: none;
}

/* 弹窗 */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  padding: 25px;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 14, 0.8);
  backdrop-filter: blur(5px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 850px);
  max-height: calc(100vh - 50px);
  padding: 42px;
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 17px;
  z-index: 2;
  width: 40px;
  height: 40px;
  color: var(--ink);
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
}

.article-viewer-panel {
  width: min(100%, 760px);
}

.viewer-image {
  width: calc(100% + 84px);
  max-width: none;
  height: 360px;
  margin: -42px -42px 30px;
  object-fit: cover;
}

.article-viewer-panel h2 {
  margin: 15px 0 7px;
  color: var(--green-950);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.3;
}

.viewer-meta {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 13px;
}

.viewer-content {
  color: #38413e;
  line-height: 2;
  white-space: pre-wrap;
}

.manager-panel {
  width: min(100%, 1000px);
}

.manager-heading {
  display: flex;
  margin-bottom: 30px;
  padding-right: 32px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.manager-heading h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 30px;
}

.manager-actions,
.form-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.small-button {
  display: inline-flex;
  min-height: 38px;
  padding: 7px 12px;
  align-items: center;
  justify-content: center;
  color: var(--green-800);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.file-button input {
  display: none;
}

.danger-text {
  color: var(--danger);
}

.cover-preview-wrap {
  display: flex;
  margin: -4px 0 20px;
  align-items: end;
  gap: 12px;
}

.cover-preview {
  width: 190px;
  height: 115px;
  object-fit: cover;
  border-radius: 7px;
}

.manager-list-wrap {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.manager-list-wrap h3 {
  margin: 0 0 17px;
}

.manager-list {
  display: grid;
  gap: 10px;
}

.manager-item {
  display: grid;
  padding: 15px;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--paper);
  border-radius: 7px;
}

.manager-item strong,
.manager-item small {
  display: block;
}

.manager-item small {
  margin-top: 3px;
  color: var(--muted);
}

.manager-item-actions {
  display: flex;
  gap: 8px;
}

.storage-warning {
  margin: 25px 0 0;
  padding: 13px 15px;
  color: #76541c;
  background: var(--gold-100);
  border-radius: 6px;
  font-size: 12px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 3000;
  max-width: min(380px, calc(100% - 48px));
  padding: 13px 18px;
  color: var(--white);
  background: var(--green-900);
  border-radius: 7px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* 平板 */
@media (max-width: 1050px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    padding: 18px 20px 25px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--green-950);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.16);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav > a {
    padding: 11px 0;
  }

  .site-nav .nav-cta {
    margin-top: 10px;
    padding: 11px 15px;
    text-align: center;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 0;
  }

  .process-list li:nth-child(3)::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 0.8fr);
  }
}

/* 手机与小平板 */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    padding-bottom: 62px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .header-inner {
    min-height: 70px;
  }

  .site-nav {
    top: 70px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-background {
    background-position: 62% center;
  }

  .hero-shade {
    background: rgba(5, 26, 20, 0.77);
  }

  .hero-content {
    padding-top: 65px;
    padding-bottom: 50px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-features {
    display: grid;
    margin-top: 45px;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-features li {
    min-width: 0;
    padding: 0 10px;
  }

  .hero-features strong {
    font-size: 15px;
  }

  .hero-features span {
    font-size: 10px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-grid > div {
    min-height: 95px;
    padding: 18px 13px;
  }

  .trust-grid span {
    font-size: 20px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 35px;
  }

  .service-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .split-layout,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .portrait-frame,
  .about-image {
    height: 480px;
  }

  .faq-intro {
    position: static;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .advantage-grid article {
    min-height: auto;
  }

  .advantage-icon {
    margin-bottom: 25px;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .process-list li:nth-child(3)::after {
    display: block;
  }

  .process-list li:nth-child(2n)::after {
    display: none;
  }

  .case-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 330px 270px 270px;
  }

  .case-gallery .case-large {
    grid-row: auto;
  }

  .article-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .article-toolbar select {
    width: 100%;
  }

  .about-data {
    grid-template-columns: 1fr;
  }

  .quote-form {
    padding: 24px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-contact-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1200;
    display: grid;
    height: 62px;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    box-shadow: 0 -7px 24px rgba(0, 0, 0, 0.12);
  }

  .mobile-contact-bar a {
    display: grid;
    place-items: center;
    color: var(--green-900);
    font-weight: 900;
  }

  .mobile-contact-bar .primary {
    color: var(--green-950);
    background: var(--gold-500);
  }

  .modal {
    padding: 10px;
  }

  .modal-panel {
    max-height: calc(100vh - 20px);
    padding: 28px 18px;
  }

  .viewer-image {
    width: calc(100% + 36px);
    height: 240px;
    margin: -28px -18px 25px;
  }

  .manager-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .manager-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .toast {
    right: 14px;
    bottom: 76px;
    left: 14px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero-actions .button {
    width: 100%;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .hero-features li {
    padding: 0 0 0 15px;
    border-left: 2px solid rgba(255, 255, 255, 0.25);
  }

  .hero-features li:first-child {
    padding-left: 15px;
    border-left: 2px solid rgba(255, 255, 255, 0.25);
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li::after {
    display: none !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}