:root {
  --green: #1f3028;
  --green-soft: #31463a;
  --gold: #b8915d;
  --gold-light: #d7bd95;
  --paper: #f5f1e9;
  --paper-dark: #e9e2d7;
  --white: #ffffff;
  --ink: #1d211e;
  --muted: #6e716d;
  --line: rgba(29, 33, 30, 0.14);
  --shadow: 0 24px 80px rgba(21, 26, 22, 0.15);
  --container: 1240px;
  --radius: 4px;
  --transition: 0.35s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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;
  overflow-x: hidden;
}

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 {
  color: inherit;
}

section {
  scroll-margin-top: 80px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green);
}

.skip-link:focus {
  top: 16px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.eyebrow.light {
  color: var(--gold-light);
}

.section {
  padding: 112px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 54px;
}

.section-heading.compact {
  margin-bottom: 48px;
}

.section-heading h2,
.about-copy h2,
.advantage-content h2,
.faq-intro h2,
.contact-copy h2 {
  max-width: 800px;
  margin: 0;
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.section-heading > p,
.section-heading > div + p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--green);
  background: var(--gold-light);
}

.button-primary:hover {
  background: var(--white);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.button-ghost:hover {
  color: var(--ink);
  background: var(--white);
}

.button-dark {
  color: var(--white);
  background: var(--green);
}

.button-dark:hover {
  background: var(--gold);
}

.button-outline-dark {
  border-color: var(--ink);
  background: transparent;
}

.button-block {
  width: 100%;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition:
    color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(20, 25, 21, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 48px), 1400px);
  height: 82px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--green);
  background: var(--gold-light);
  font-family: "Songti SC", "SimSun", serif;
  font-size: 22px;
  font-weight: 700;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 18px;
  letter-spacing: 0.12em;
}

.brand-text small {
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: 0.18em;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  font-size: 14px;
}

.site-nav > a:not(.nav-phone)::after {
  position: absolute;
  right: 50%;
  bottom: -8px;
  left: 50%;
  height: 1px;
  content: "";
  background: var(--gold);
  transition:
    right var(--transition),
    left var(--transition);
}

.site-nav > a:not(.nav-phone):hover::after {
  right: 0;
  left: 0;
}

.nav-phone {
  padding: 10px 17px;
  color: var(--green);
  background: var(--gold-light);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
  transition: var(--transition);
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  min-height: 790px;
  height: 100vh;
  align-items: center;
  color: var(--white);
  background: var(--green);
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  animation: heroZoom 16s ease-out both;
}

@keyframes heroZoom {
  from {
    transform: scale(1.06);
  }

  to {
    transform: scale(1);
  }
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 18, 14, 0.9) 0%, rgba(12, 18, 14, 0.54) 48%, rgba(12, 18, 14, 0.14) 100%),
    linear-gradient(0deg, rgba(10, 14, 11, 0.66) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 85px;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: clamp(55px, 7.5vw, 108px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.hero h1 span {
  color: var(--gold-light);
}

.hero-description {
  max-width: 610px;
  margin: 28px 0 36px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

.hero-points {
  display: flex;
  max-width: 900px;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  min-width: 145px;
  padding: 0 28px;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-points li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-points strong {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}

.hero-points span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.hero-scroll {
  position: absolute;
  right: 46px;
  bottom: 45px;
  z-index: 3;
  width: 24px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 30px;
}

.hero-scroll span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 3px;
  height: 8px;
  border-radius: 5px;
  background: var(--white);
  transform: translateX(-50%);
  animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 18px);
  }
}

/* Services */

.services {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 390px;
  padding: 38px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  transition:
    color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.service-card:hover,
.service-card.featured {
  color: var(--white);
  background: var(--green);
  transform: translateY(-8px);
}

.service-number {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 13px;
}

.service-icon {
  margin: 38px 0 22px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 46px;
  line-height: 1;
}

.service-card h3 {
  margin: 0 0 14px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 25px;
}

.service-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.service-card:hover p,
.service-card.featured p {
  color: rgba(255, 255, 255, 0.68);
}

.service-card ul {
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 13px;
}

.service-card:hover ul,
.service-card.featured ul {
  border-color: rgba(255, 255, 255, 0.16);
}

.service-card li {
  margin: 7px 0;
}

/* Statement */

.statement {
  padding: 80px 0;
  color: var(--white);
  background: var(--green);
  text-align: center;
}

.statement p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  letter-spacing: 0.14em;
}

.statement h2 {
  margin: 20px 0;
  color: var(--gold-light);
  font-family: "Songti SC", "SimSun", serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
}

.statement-line {
  width: 1px;
  height: 42px;
  margin: 24px auto;
  background: var(--gold);
}

/* Advantages */

.advantage-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 92px;
  align-items: center;
}

.advantage-image-wrap {
  position: relative;
}

.advantage-image-wrap > img {
  width: 100%;
  height: 720px;
  object-fit: cover;
}

.experience-card {
  position: absolute;
  right: -45px;
  bottom: 45px;
  display: flex;
  width: 190px;
  height: 170px;
  padding: 28px;
  flex-direction: column;
  justify-content: center;
  color: var(--green);
  background: var(--gold-light);
}

.experience-card strong {
  font-family: Georgia, serif;
  font-size: 54px;
  font-weight: 400;
  line-height: 1;
}

.experience-card span {
  margin-top: 12px;
  font-size: 13px;
}

.advantage-content h2 {
  margin-bottom: 40px;
}

.advantage-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.advantage-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.advantage-list article > span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 13px;
}

.advantage-list h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.advantage-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Cases */

.cases {
  color: var(--white);
  background: #161b18;
}

.cases .section-heading > p {
  color: rgba(255, 255, 255, 0.58);
}

.case-filters {
  display: flex;
  gap: 28px;
  margin-bottom: 34px;
}

.filter-button {
  padding: 0 0 8px;
  color: rgba(255, 255, 255, 0.52);
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}

.filter-button:hover,
.filter-button.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.case-card {
  min-width: 0;
}

.case-card.hidden {
  display: none;
}

.case-card.case-wide {
  grid-column: span 2;
}

.case-open {
  position: relative;
  display: block;
  width: 100%;
  height: 470px;
  padding: 0;
  color: var(--white);
  border: 0;
  background: #222;
  cursor: zoom-in;
  overflow: hidden;
  text-align: left;
}

.case-wide .case-open {
  height: 650px;
}

.case-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s ease,
    filter 0.7s ease;
}

.case-open::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(8, 11, 9, 0.8), transparent 52%);
}

.case-open:hover img {
  filter: brightness(0.85);
  transform: scale(1.035);
}

.case-info {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.case-info small {
  margin-bottom: 7px;
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.17em;
}

.case-info strong {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 25px;
  font-weight: 500;
}

/* Materials */

.materials {
  background: var(--paper);
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.material-grid article {
  min-height: 220px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    color var(--transition),
    background var(--transition);
}

.material-grid article:hover {
  color: var(--white);
  background: var(--green);
}

.material-grid span {
  color: var(--gold);
  font-size: 12px;
}

.material-grid h3 {
  margin: 32px 0 8px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 22px;
}

.material-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.material-grid article:hover p {
  color: rgba(255, 255, 255, 0.64);
}

/* About */

.about {
  padding-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 90px;
  align-items: center;
}

.about-copy {
  padding-bottom: 112px;
}

.about-copy h2 {
  margin-bottom: 36px;
}

.about-copy p {
  color: var(--muted);
  font-size: 15px;
}

.about-copy .about-lead {
  color: var(--ink);
  font-family: "Songti SC", "SimSun", serif;
  font-size: 22px;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  padding-bottom: 4px;
  gap: 16px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.about-visual {
  position: relative;
  align-self: stretch;
  min-height: 720px;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: 46px;
  left: -52px;
  display: flex;
  width: 145px;
  height: 145px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--white);
  background: var(--green);
}

.about-badge strong {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
}

.about-badge span {
  margin-top: 8px;
  font-size: 12px;
}

/* Process */

.process {
  background: var(--paper);
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
  counter-reset: none;
}

.process-list li {
  position: relative;
  min-height: 185px;
  padding: 26px 20px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.process-list li:first-child {
  border-left: 1px solid var(--line);
}

.process-list span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 13px;
}

.process-list h3 {
  margin: 45px 0 8px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 19px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

/* Articles */

.article-heading-actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 20px;
}

.article-heading-actions p {
  margin: 0;
  color: var(--muted);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--white);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.article-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.article-card-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: var(--paper);
}

.article-card-body {
  padding: 26px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 11px;
}

.article-category {
  color: var(--gold);
  font-weight: 700;
}

.article-card h3 {
  margin: 0 0 12px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 22px;
  line-height: 1.4;
}

.article-card p {
  display: -webkit-box;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.read-article {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.article-empty {
  padding: 70px 20px;
  border: 1px dashed var(--line);
  background: var(--paper);
  text-align: center;
}

.article-empty h3 {
  margin: 0 0 8px;
}

.article-empty p {
  margin: 0;
  color: var(--muted);
}

.storage-notice {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* FAQ */

.faq {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 100px;
}

.faq-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-intro p:not(.eyebrow) {
  margin: 24px 0 30px;
  color: var(--muted);
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item > button {
  display: flex;
  width: 100%;
  padding: 27px 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.faq-item > button span {
  font-size: 17px;
  font-weight: 700;
}

.faq-item > button i {
  color: var(--gold);
  font-size: 25px;
  font-style: normal;
  font-weight: 300;
  transition: transform var(--transition);
}

.faq-item.active > button i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  padding-right: 50px;
  color: var(--muted);
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 0 28px;
}

/* Contact */

.contact-section {
  padding: 110px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(20, 31, 25, 0.98), rgba(20, 31, 25, 0.88)),
    url("206d234872a41d686daed1d98703efda.jpg") center / cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 100px;
  align-items: center;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 24px 0 42px;
  color: rgba(255, 255, 255, 0.68);
}

.contact-details {
  display: grid;
  gap: 22px;
}

.contact-details a,
.contact-details > div {
  display: flex;
  padding-top: 20px;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-details small {
  color: var(--gold-light);
  font-size: 11px;
}

.contact-details strong {
  margin-top: 5px;
  font-size: 16px;
}

.consultation-form {
  padding: 42px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.consultation-form h3 {
  margin: 0 0 28px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 27px;
}

.consultation-form label,
.editor-panel label {
  display: block;
  margin-bottom: 18px;
}

.consultation-form label > span,
.editor-panel label > span {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea,
.editor-panel input,
.editor-panel select,
.editor-panel textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: var(--white);
  resize: vertical;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus,
.editor-panel input:focus,
.editor-panel select:focus,
.editor-panel textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 145, 93, 0.12);
}

.form-tip {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

/* Footer */

.site-footer {
  padding: 75px 0 0;
  color: rgba(255, 255, 255, 0.72);
  background: #101411;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 70px;
  padding-bottom: 60px;
}

.brand-light {
  color: var(--white);
}

.footer-brand p {
  margin: 24px 0 0;
  font-size: 13px;
}

.footer-grid h3 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: 14px;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-grid a,
.footer-grid p {
  margin: 0;
  font-size: 12px;
}

.footer-grid a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  padding: 22px 0;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 22px;
}

.floating-phone {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 800;
  display: flex;
  min-width: 122px;
  height: 50px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--green);
  background: var(--gold-light);
  box-shadow: 0 12px 35px rgba(14, 20, 16, 0.25);
  font-size: 13px;
  transition: transform var(--transition);
}

.floating-phone:hover {
  transform: translateY(-4px);
}

/* Modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  padding: 30px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 9, 0.82);
  backdrop-filter: blur(7px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 5;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--white);
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.dark-close {
  color: var(--ink);
  background: var(--paper);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  width: min(1200px, 94vw);
  max-height: 90vh;
}

.lightbox-content img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox-content p {
  margin: 12px 0 0;
  color: var(--white);
  text-align: center;
}

.editor-panel {
  position: relative;
  z-index: 2;
  width: min(760px, 96vw);
  max-height: 92vh;
  padding: 46px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow-y: auto;
}

.editor-heading {
  margin-bottom: 30px;
}

.editor-heading h2 {
  margin: 0 0 8px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 34px;
}

.editor-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.editor-panel label small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.article-detail {
  position: relative;
  z-index: 2;
  width: min(850px, 96vw);
  max-height: 92vh;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow-y: auto;
}

.article-detail > img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  background: var(--paper);
}

.article-detail-body {
  padding: 45px 55px 55px;
}

.article-detail-body > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.article-detail-body h2 {
  margin: 12px 0 8px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 38px;
  line-height: 1.35;
}

.article-detail-body time {
  color: var(--muted);
  font-size: 12px;
}

#detailContent {
  margin-top: 30px;
  color: #434743;
  line-height: 2;
  white-space: pre-wrap;
}

.delete-article {
  margin-top: 38px;
  padding: 8px 0;
  color: #a24242;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.toast {
  position: fixed;
  right: 28px;
  bottom: 90px;
  z-index: 3000;
  max-width: 360px;
  padding: 14px 20px;
  color: var(--white);
  background: var(--green);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1100px) {
  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantage-layout,
  .about-grid {
    gap: 60px;
  }

  .experience-card {
    right: -20px;
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-list li:nth-child(4) {
    border-left: 1px solid var(--line);
  }

  .contact-grid {
    gap: 60px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 85px 0;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 82px;
    right: 0;
    left: 0;
    display: flex;
    padding: 25px 24px 35px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(20, 25, 21, 0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition: var(--transition);
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .site-nav > a::after {
    display: none;
  }

  .nav-phone {
    margin-top: 15px;
    padding: 13px 18px !important;
    text-align: center;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: 760px;
  }

  .hero-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 0;
  }

  .hero-points li {
    min-width: 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .advantage-layout,
  .about-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .advantage-image-wrap > img {
    height: 650px;
  }

  .experience-card {
    right: 20px;
  }

  .about-copy {
    padding-bottom: 0;
  }

  .about-visual {
    min-height: 620px;
  }

  .about-badge {
    left: 20px;
  }

  .material-grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-layout {
    gap: 55px;
  }

  .faq-intro {
    position: static;
  }

  .contact-grid {
    gap: 50px;
  }

  .consultation-form {
    max-width: 600px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .container,
  .header-inner {
    width: min(calc(100% - 30px), var(--container));
  }

  .header-inner {
    height: 70px;
  }

  .site-nav {
    top: 70px;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    min-height: 760px;
    height: auto;
    padding: 120px 0 55px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 18, 14, 0.89), rgba(12, 18, 14, 0.46)),
      linear-gradient(0deg, rgba(10, 14, 11, 0.8), transparent);
  }

  .hero-content {
    padding-top: 0;
  }

  .hero h1 {
    font-size: 49px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-points {
    margin-top: 48px;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-points li {
    padding: 0 15px;
  }

  .hero-points li:first-child {
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
  }

  .hero-scroll {
    display: none;
  }

  .section-heading h2,
  .about-copy h2,
  .advantage-content h2,
  .faq-intro h2,
  .contact-copy h2 {
    font-size: 36px;
  }

  .service-grid,
  .material-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 350px;
  }

  .statement {
    padding: 62px 0;
  }

  .statement h2 {
    font-size: 31px;
  }

  .advantage-image-wrap > img {
    height: 500px;
  }

  .experience-card {
    right: 15px;
    bottom: 15px;
    width: 145px;
    height: 130px;
  }

  .experience-card strong {
    font-size: 42px;
  }

  .case-filters {
    gap: 12px;
    overflow-x: auto;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card.case-wide {
    grid-column: auto;
  }

  .case-open,
  .case-wide .case-open {
    height: 380px;
  }

  .about-visual {
    min-height: 500px;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list li:nth-child(3),
  .process-list li:nth-child(5) {
    border-left: 1px solid var(--line);
  }

  .process-list li:nth-child(4) {
    border-left: 0;
  }

  .article-heading-actions {
    align-items: flex-start;
  }

  .faq-item > button span {
    font-size: 15px;
  }

  .contact-section {
    padding: 70px 0;
  }

  .consultation-form {
    padding: 28px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .floating-phone {
    right: 14px;
    bottom: 14px;
    min-width: 48px;
    width: 48px;
    padding: 0;
    border-radius: 50%;
  }

  .floating-phone strong {
    display: none;
  }

  .modal {
    padding: 12px;
  }

  .editor-panel {
    padding: 42px 20px 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article-detail > img {
    height: 230px;
  }

  .article-detail-body {
    padding: 30px 22px 40px;
  }

  .article-detail-body h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}