/* =========================================================
   渲彩装饰品牌官网
   01. 设计变量与基础样式
   02. 通用组件与动效
   03. 顶部导航
   04. Hero 首屏
   05. 关于我们
   06. 核心服务
   07. 装修案例与灯箱
   08. 服务流程
   09. 为什么选择我们
   10. 客户评价
   11. 联系我们
   12. 页脚
   13. 响应式适配
   ========================================================= */

/* =========================================================
   01. 设计变量与基础样式
   ========================================================= */
:root {
  --ink: #141414;
  --ochre: #D2632C;
  --warm-white: #FAF7F2;
  --body-gray: #3A3A3A;
  --line: #E5DED4;
  --white: #FFFFFF;
  --muted: #766F67;
  --dark-soft: #262422;
  --calligraphy: "Ma Shan Zheng", "STKaiti", "KaiTi", serif;
  --sans: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --container: 1240px;
  --header-height: 86px;
  --ease: cubic-bezier(0.22, 0.72, 0.2, 1);
  --shadow-soft: 0 18px 50px rgba(35, 27, 20, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--warm-white);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

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

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

::selection {
  color: var(--white);
  background: var(--ochre);
}

:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 80px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

section {
  scroll-margin-top: var(--header-height);
}

/* =========================================================
   02. 通用组件与动效
   ========================================================= */
.section {
  position: relative;
  padding: 132px 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  gap: 60px;
  margin-bottom: 62px;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--ochre);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section-eyebrow span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.section-title {
  color: var(--ink);
  font-family: var(--calligraphy);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.18;
}

.section-intro {
  max-width: 340px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 28px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    color 0.3s ease-out,
    background-color 0.3s ease-out,
    border-color 0.3s ease-out;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--white);
  background: var(--ochre);
}

.button-primary:hover {
  box-shadow: 0 12px 26px rgba(210, 99, 44, 0.28);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.button-outline:hover {
  color: var(--ink);
  border-color: var(--white);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.button-dark {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.button-dark:hover {
  color: var(--white);
  border-color: var(--ochre);
  background: var(--ochre);
  box-shadow: 0 12px 26px rgba(210, 99, 44, 0.2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  transition: color 0.3s ease-out, gap 0.3s var(--ease);
}

.text-link:hover {
  gap: 18px;
  color: var(--ochre);
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   03. 顶部导航
   ========================================================= */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--white);
  background: transparent;
  transition:
    height 0.3s var(--ease),
    color 0.3s ease-out,
    background-color 0.3s ease-out,
    box-shadow 0.3s ease-out,
    backdrop-filter 0.3s ease-out;
}

.site-header.is-scrolled {
  height: 72px;
  color: var(--ink);
  background: rgba(250, 247, 242, 0.92);
  box-shadow: 0 1px 16px rgba(61, 48, 36, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  position: relative;
  z-index: 1002;
  display: inline-flex;
  align-items: center;
}

.brand-paper {
  display: block;
  padding: 7px 12px;
  background: rgba(250, 247, 242, 0.96);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: padding 0.3s var(--ease), box-shadow 0.3s ease-out;
}

.brand-paper img {
  width: 126px;
  height: auto;
}

.site-header.is-scrolled .brand-paper {
  padding: 5px 9px;
  box-shadow: none;
}

.site-header.is-scrolled .brand-paper img {
  width: 112px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 34px);
}

.nav-link {
  position: relative;
  display: block;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--ochre);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover::after,
.nav-link[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  position: relative;
  z-index: 1002;
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 8px;
  border: 0;
  background: transparent;
}

.nav-toggle-line {
  display: block;
  width: 26px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s ease-out;
}

/* =========================================================
   04. Hero 首屏
   ========================================================= */
.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-scale 1.6s var(--ease) both;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.7) 0%, rgba(20, 20, 20, 0.44) 58%, rgba(20, 20, 20, 0.3) 100%),
    rgba(20, 20, 20, 0.18);
}

@keyframes hero-scale {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1);
  }
}

.hero-content {
  padding-top: calc(var(--header-height) + 20px);
  padding-bottom: 80px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 23px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3em;
}

.hero-eyebrow::before {
  width: 46px;
  height: 1px;
  background: var(--ochre);
  content: "";
}

.hero-title {
  max-width: 800px;
  font-family: var(--calligraphy);
  font-size: clamp(76px, 11vw, 156px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.16);
}

.hero-en {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 400;
  letter-spacing: 0.42em;
}

.hero-slogan {
  margin-top: 27px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  letter-spacing: 0.16em;
  line-height: 1.7;
}

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

.hero-actions .button {
  min-width: 178px;
}

.hero-meta {
  position: absolute;
  right: max(40px, calc((100vw - var(--container)) / 2));
  bottom: 38px;
  left: max(40px, calc((100vw - var(--container)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.hero-side-note {
  position: absolute;
  top: 50%;
  right: 34px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 9px;
  letter-spacing: 0.26em;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.scroll-hint {
  position: absolute;
  right: 33%;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 8px;
  letter-spacing: 0.22em;
  transition: color 0.3s ease-out;
}

.scroll-hint svg {
  animation: scroll-down 1.8s ease-in-out infinite;
}

.scroll-hint:hover {
  color: var(--white);
}

@keyframes scroll-down {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* =========================================================
   05. 关于我们
   ========================================================= */
.about {
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49.95%, rgba(20, 20, 20, 0.04) 50%, transparent 50.05%),
    var(--warm-white);
}

.about-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
  gap: clamp(80px, 11vw, 150px);
}

.about-copy {
  max-width: 600px;
}

.about-lead {
  margin-top: 32px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
}

.about-text {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
}

.about-stats {
  display: grid;
  margin: 46px 0 40px;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  padding: 0 25px;
  border-left: 1px solid var(--line);
}

.stat-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat-number {
  display: block;
  color: var(--ochre);
  font-family: var(--calligraphy);
  font-size: clamp(42px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.15;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  white-space: nowrap;
}

.about-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 470px);
  padding: 18px 18px 0 0;
}

.about-visual::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 70px;
  left: 18px;
  border: 1px solid var(--ochre);
  content: "";
}

.about-image-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 0.84;
  background: #C7BAAB;
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.about-visual:hover .about-image-frame img {
  transform: scale(1.025);
}

.about-visual figcaption {
  position: absolute;
  z-index: 2;
  right: -24px;
  bottom: 0;
  display: flex;
  width: 250px;
  align-items: center;
  gap: 15px;
  padding: 22px;
  color: var(--body-gray);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.7;
}

.caption-index {
  color: var(--ochre);
  font-family: var(--calligraphy);
  font-size: 34px;
  line-height: 1;
}

.vertical-note {
  position: absolute;
  top: 70px;
  left: -33px;
  color: var(--muted);
  font-family: var(--calligraphy);
  font-size: 17px;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

/* =========================================================
   06. 核心服务
   ========================================================= */
.services {
  background: var(--white);
}

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

.service-card {
  position: relative;
  min-height: 390px;
  padding: 40px 30px 36px;
  border: 1px solid var(--line);
  border-top: 0;
  border-left: 0;
  background: var(--white);
  transition:
    transform 0.3s ease-out,
    border-color 0.3s ease-out,
    box-shadow 0.3s ease-out;
}

.service-card:hover {
  z-index: 2;
  border-color: var(--ochre);
  box-shadow: 0 22px 45px rgba(51, 39, 29, 0.09);
  transform: translateY(-8px);
}

.card-index {
  position: absolute;
  top: 27px;
  right: 25px;
  color: #C9C0B5;
  font-family: var(--calligraphy);
  font-size: 23px;
}

.service-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: var(--ink);
  transition: color 0.3s ease-out, transform 0.3s var(--ease);
}

.service-icon svg {
  width: 48px;
  height: 48px;
}

.service-card:hover .service-icon {
  color: var(--ochre);
  transform: translateY(-3px);
}

.service-card h3 {
  margin-top: 29px;
  font-family: var(--calligraphy);
  font-size: 29px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.service-card ul {
  margin: 24px 0 31px;
}

.service-card li {
  position: relative;
  padding: 7px 0 7px 15px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.65;
}

.service-card li::before {
  position: absolute;
  top: 17px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ochre);
  content: "";
}

.service-card .text-link {
  font-size: 12px;
}

/* =========================================================
   07. 装修案例与灯箱
   ========================================================= */
.cases {
  background: #F3EEE7;
}

.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -20px 0 42px;
}

.filter-button {
  padding: 8px 19px;
  border: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition:
    color 0.3s ease-out,
    background-color 0.3s ease-out,
    border-color 0.3s ease-out;
}

.filter-button:hover {
  color: var(--ochre);
}

.filter-button.is-active {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.case-grid {
  display: grid;
  overflow: hidden;
  gap: 34px 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card {
  min-width: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

.case-card.is-filtering-out {
  opacity: 0;
  transform: translateY(12px);
}

.case-card.is-hidden {
  display: none;
}

.case-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #D4C8BB;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.case-view {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  color: var(--white);
  background: rgba(20, 20, 20, 0.72);
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease-out, transform 0.3s var(--ease);
}

.case-card:hover .case-image img {
  filter: brightness(0.83);
  transform: scale(1.035);
}

.case-card:hover .case-view {
  opacity: 1;
  transform: translateY(0);
}

.case-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding-top: 17px;
}

.case-caption strong {
  display: block;
  font-family: var(--calligraphy);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.4;
  transition: color 0.3s ease-out;
}

.case-caption small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.case-area {
  flex: none;
  padding-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.case-card:hover .case-caption strong {
  color: var(--ochre);
}

.lightbox {
  width: min(1180px, calc(100% - 64px));
  max-width: none;
  max-height: calc(100vh - 64px);
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(15, 14, 13, 0.88);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.lightbox[open] {
  animation: lightbox-in 0.35s var(--ease) both;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lightbox-shell {
  position: relative;
  display: grid;
  overflow: hidden;
  max-height: calc(100vh - 64px);
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
}

.lightbox-media {
  min-height: 580px;
  background: #C8BBB0;
}

.lightbox-media img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 64px);
  object-fit: cover;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 48px;
}

.lightbox-kicker {
  color: var(--ochre);
  font-size: 9px;
  letter-spacing: 0.24em;
}

.lightbox-content h2 {
  margin-top: 13px;
  font-family: var(--calligraphy);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.25;
}

.lightbox-meta {
  display: grid;
  margin-top: 30px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr 1fr;
}

.lightbox-meta div + div {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.lightbox-meta dt {
  color: var(--muted);
  font-size: 10px;
}

.lightbox-meta dd {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 500;
}

.lightbox-description {
  margin-top: 27px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 2;
}

.lightbox-count {
  margin-top: 35px;
  color: #B7ADA2;
  font-family: var(--calligraphy);
  font-size: 22px;
  letter-spacing: 0.08em;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(20, 20, 20, 0.22);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease-out, border-color 0.3s ease-out, background-color 0.3s ease-out;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  color: var(--white);
  border-color: var(--ochre);
  background: var(--ochre);
}

.lightbox-close {
  top: -22px;
  right: -22px;
}

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: calc(32% + 20px);
}

/* =========================================================
   08. 服务流程
   ========================================================= */
.process {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 16%, rgba(210, 99, 44, 0.1), transparent 26%),
    var(--ink);
}

.process::before {
  position: absolute;
  top: 0;
  right: 9%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.06);
  content: "";
}

.process-heading {
  max-width: 620px;
  margin: 0 auto 76px;
  text-align: center;
}

.process-heading .section-eyebrow {
  justify-content: center;
}

.process-heading .section-title {
  color: var(--white);
}

.process-heading > p:last-child {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  font-weight: 300;
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.process-list::before {
  position: absolute;
  top: 49px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  content: "";
}

.process-step {
  position: relative;
  padding: 0 18px;
  text-align: center;
}

.step-number {
  display: block;
  margin-bottom: 14px;
  color: var(--ochre);
  font-family: var(--calligraphy);
  font-size: 32px;
  line-height: 1;
}

.step-dot {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  margin: 12px auto 33px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--ochre);
  box-shadow: 0 0 0 6px rgba(210, 99, 44, 0.1);
}

.process-step h3 {
  font-family: var(--calligraphy);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.process-step p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.8;
}

/* =========================================================
   09. 为什么选择我们
   ========================================================= */
.why-us {
  background: var(--warm-white);
}

.why-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(70px, 9vw, 130px);
}

.why-intro {
  position: relative;
  padding: 30px 0;
}

.why-intro > p:nth-of-type(2) {
  max-width: 440px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
}

.why-intro .button {
  margin-top: 34px;
}

.why-mark {
  position: absolute;
  z-index: -1;
  right: -10px;
  bottom: -80px;
  color: rgba(210, 99, 44, 0.06);
  font-family: var(--calligraphy);
  font-size: 260px;
  line-height: 1;
}

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

.advantage-item {
  position: relative;
  min-height: 300px;
  padding: 37px 33px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
  transition: background-color 0.3s ease-out, transform 0.3s ease-out;
}

.advantage-item:hover {
  z-index: 1;
  background: var(--white);
  transform: translateY(-4px);
}

.advantage-icon {
  color: var(--ochre);
}

.advantage-icon svg {
  width: 43px;
  height: 43px;
}

.advantage-index {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #C5BCB1;
  font-family: var(--calligraphy);
  font-size: 19px;
}

.advantage-item h3 {
  margin-top: 25px;
  font-family: var(--calligraphy);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.advantage-item p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.8;
}

/* =========================================================
   10. 客户评价
   ========================================================= */
.testimonials {
  background: var(--white);
}

.testimonials-heading {
  margin: 0 auto 61px;
  text-align: center;
}

.testimonials-heading .section-eyebrow {
  justify-content: center;
}

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

.testimonial-card {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  justify-content: space-between;
  padding: 35px 32px 30px;
  border: 1px solid var(--line);
  background: var(--warm-white);
  transition: border-color 0.3s ease-out, transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.testimonial-card:hover {
  border-color: rgba(210, 99, 44, 0.55);
  box-shadow: var(--shadow-soft);
  transform: translateY(-5px);
}

.rating {
  display: flex;
  gap: 3px;
  color: var(--ochre);
}

.rating svg {
  width: 14px;
  height: 14px;
}

.testimonial-card blockquote {
  margin: 28px 0 36px;
  color: var(--body-gray);
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 13px;
}

.avatar {
  display: grid;
  width: 45px;
  height: 45px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-family: var(--calligraphy);
  font-size: 20px;
}

.avatar-one {
  background: #9B795F;
}

.avatar-two {
  background: #6F766A;
}

.avatar-three {
  background: #A35F42;
}

.testimonial-card figcaption strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}

.testimonial-card figcaption small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

/* =========================================================
   11. 联系我们
   ========================================================= */
.contact {
  background:
    linear-gradient(90deg, rgba(210, 99, 44, 0.03), transparent 38%),
    #F3EEE7;
}

.contact-layout {
  display: grid;
  gap: clamp(55px, 8vw, 100px);
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
}

.contact-list {
  display: grid;
  gap: 20px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 17px;
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ochre);
  background: rgba(255, 255, 255, 0.5);
}

.contact-icon svg {
  width: 21px;
  height: 21px;
}

.contact-list small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.contact-list strong {
  display: block;
  margin-top: 1px;
  color: var(--body-gray);
  font-size: 13px;
  font-weight: 400;
}

.map-placeholder {
  position: relative;
  height: 250px;
  margin-top: 31px;
  overflow: hidden;
  background: #DED8D0;
}

.map-placeholder svg {
  width: 100%;
  height: 100%;
}

.map-placeholder span {
  position: absolute;
  bottom: 14px;
  left: 16px;
  color: #766F67;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.form-wrap {
  padding: 42px 44px 34px;
  background: var(--white);
  box-shadow: 0 22px 60px rgba(60, 46, 34, 0.07);
}

.contact-form {
  display: grid;
  gap: 22px;
}

.form-row {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

.form-field label {
  display: block;
  margin-bottom: 9px;
  color: var(--body-gray);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.form-field label span {
  color: var(--ochre);
}

.form-field label .optional {
  color: var(--muted);
  font-weight: 300;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: var(--warm-white);
  font-size: 12px;
  font-weight: 300;
  transition: border-color 0.3s ease-out, background-color 0.3s ease-out;
}

.form-field input,
.form-field select {
  height: 50px;
  padding: 0 15px;
}

.form-field textarea {
  min-height: 128px;
  padding: 13px 15px;
  line-height: 1.7;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #A69D93;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ochre);
  background: var(--white);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
  border-color: #B94235;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  padding-right: 40px;
  appearance: none;
}

.select-wrap svg {
  position: absolute;
  top: 50%;
  right: 15px;
  pointer-events: none;
  transform: translateY(-50%);
}

.form-error {
  min-height: 17px;
  margin-top: 4px;
  color: #B94235;
  font-size: 10px;
  line-height: 1.6;
}

.form-submit {
  width: 100%;
  margin-top: 3px;
  border: 0;
}

.form-submit.is-success {
  background: #3D6A52;
}

.form-note {
  color: #9C9389;
  font-size: 9px;
  line-height: 1.6;
  text-align: center;
}

.form-success {
  display: none;
  padding: 10px 14px;
  color: #315B46;
  background: #EDF5F0;
  font-size: 11px;
  text-align: center;
}

.form-success.is-visible {
  display: block;
}

/* =========================================================
   12. 页脚
   ========================================================= */
.site-footer {
  padding-top: 78px;
  color: rgba(255, 255, 255, 0.64);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  padding-bottom: 64px;
  grid-template-columns: 1.35fr 0.65fr 1.15fr 0.65fr;
  gap: 60px;
}

.footer-brand img {
  width: 142px;
  height: auto;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 22px;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.9;
}

.footer-brand span {
  display: block;
  margin-top: 23px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 8px;
  letter-spacing: 0.24em;
}

.footer-nav h2,
.footer-contact h2 {
  margin-bottom: 20px;
  color: var(--white);
  font-family: var(--calligraphy);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.footer-nav li + li {
  margin-top: 8px;
}

.footer-nav a {
  font-size: 11px;
  transition: color 0.3s ease-out;
}

.footer-nav a:hover {
  color: var(--ochre);
}

.footer-contact p {
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.8;
}

.footer-qr {
  display: flex;
  align-items: flex-end;
  gap: 13px;
}

.qr-placeholder {
  width: 92px;
  height: 92px;
  padding: 4px;
  background: var(--warm-white);
}

.footer-qr p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease-out;
}

.footer-bottom a:hover {
  color: var(--ochre);
}

/* =========================================================
   13. 响应式适配
   ========================================================= */
@media (max-width: 1199px) {
  :root {
    --container: 1040px;
  }

  .container {
    width: min(calc(100% - 56px), var(--container));
  }

  .nav-list {
    gap: 18px;
  }

  .nav-link {
    font-size: 12px;
  }

  .about-grid {
    gap: 70px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  }

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

  .service-card {
    min-height: 345px;
  }

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

  .lightbox {
    width: calc(100% - 80px);
  }

  .lightbox-content {
    padding: 45px 35px;
  }

  .lightbox-next {
    right: calc(35% + 14px);
  }

  .why-layout {
    gap: 60px;
    grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  }

  .advantage-item {
    min-height: 285px;
    padding: 32px 28px;
  }

  .testimonial-card {
    padding: 30px 26px;
  }

  .contact-layout {
    gap: 50px;
  }

  .form-wrap {
    padding: 35px;
  }

  .footer-grid {
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .site-header {
    height: 76px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    place-items: center;
    padding: 100px 32px 40px;
    color: var(--ink);
    background: rgba(250, 247, 242, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.35s ease-out, transform 0.35s var(--ease);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-link {
    padding: 9px 12px;
    font-family: var(--calligraphy);
    font-size: 28px;
    letter-spacing: 0.08em;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav.is-open .nav-toggle {
    color: var(--ink);
  }

  .site-header:has(.site-nav.is-open) {
    color: var(--ink);
    background: transparent;
    box-shadow: none;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero-title {
    font-size: clamp(76px, 14vw, 120px);
  }

  .hero-side-note {
    display: none;
  }

  .scroll-hint {
    right: 20%;
  }

  .section {
    padding: 105px 0;
  }

  .section-heading-row {
    gap: 35px;
  }

  .about-grid {
    align-items: center;
    grid-template-columns: 1fr;
  }

  .about-copy {
    max-width: 680px;
  }

  .about-visual {
    width: min(86%, 500px);
    justify-self: center;
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 54px;
  }

  .process-list::before {
    display: none;
  }

  .step-dot {
    margin-bottom: 18px;
  }

  .why-layout {
    grid-template-columns: 1fr;
  }

  .why-intro {
    max-width: 660px;
  }

  .why-mark {
    right: 10%;
    bottom: -40px;
    font-size: 220px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-height: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info {
    display: grid;
    align-items: start;
    gap: 35px;
    grid-template-columns: 1fr 1fr;
  }

  .map-placeholder {
    height: 100%;
    min-height: 220px;
    margin-top: 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.6fr 1fr;
  }

  .footer-qr {
    display: none;
  }

  .lightbox-shell {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .lightbox-media {
    min-height: 470px;
  }

  .lightbox-next {
    right: calc(40% + 12px);
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .brand-paper {
    padding: 5px 9px;
  }

  .brand-paper img,
  .site-header.is-scrolled .brand-paper img {
    width: 106px;
  }

  .hero {
    min-height: 720px;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(20, 20, 20, 0.32) 0%, rgba(20, 20, 20, 0.5) 45%, rgba(20, 20, 20, 0.82) 100%),
      rgba(20, 20, 20, 0.12);
  }

  .hero-content {
    padding-top: 150px;
    padding-bottom: 125px;
  }

  .hero-eyebrow {
    margin-bottom: 17px;
    font-size: 10px;
  }

  .hero-title {
    font-size: clamp(66px, 21vw, 100px);
  }

  .hero-en {
    margin-top: 14px;
    font-size: 9px;
    letter-spacing: 0.28em;
  }

  .hero-slogan {
    margin-top: 20px;
    font-size: 16px;
    letter-spacing: 0.1em;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 30px;
  }

  .hero-actions .button {
    min-width: 0;
    flex: 1 1 150px;
    padding-inline: 18px;
    font-size: 12px;
  }

  .hero-meta {
    right: 18px;
    bottom: 24px;
    left: 18px;
    font-size: 8px;
  }

  .hero-meta span:last-child,
  .scroll-hint {
    display: none;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading-row {
    display: block;
    margin-bottom: 42px;
  }

  .section-title {
    font-size: clamp(38px, 11vw, 54px);
  }

  .section-intro {
    max-width: 100%;
    margin-top: 18px;
    padding-bottom: 0;
    font-size: 12px;
  }

  .section-eyebrow {
    margin-bottom: 13px;
    font-size: 9px;
  }

  .section-eyebrow span {
    font-size: 10px;
  }

  .about {
    background: var(--warm-white);
  }

  .about-grid {
    gap: 54px;
  }

  .about-lead {
    margin-top: 25px;
    font-size: 14px;
  }

  .about-text {
    font-size: 12px;
  }

  .about-stats {
    margin: 35px 0;
  }

  .stat-item {
    padding: 0 12px;
  }

  .stat-number {
    font-size: 40px;
  }

  .stat-label {
    font-size: 9px;
    white-space: normal;
  }

  .about-visual {
    width: calc(100% - 20px);
  }

  .about-visual figcaption {
    right: -10px;
    width: 216px;
    padding: 17px;
    font-size: 9px;
  }

  .caption-index {
    font-size: 28px;
  }

  .vertical-note {
    display: none;
  }

  .service-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 32px 26px;
  }

  .service-card h3 {
    font-size: 27px;
  }

  .case-filters {
    gap: 5px;
    margin: -12px 0 30px;
  }

  .filter-button {
    padding: 7px 13px;
    font-size: 11px;
  }

  .case-grid {
    gap: 30px;
  }

  .case-view {
    display: none;
  }

  .case-caption strong {
    font-size: 22px;
  }

  .process-heading {
    margin-bottom: 48px;
    text-align: left;
  }

  .process-heading .section-eyebrow {
    justify-content: flex-start;
  }

  .process-list {
    display: block;
    padding-left: 36px;
  }

  .process-list::before {
    display: block;
    top: 14px;
    right: auto;
    bottom: 20px;
    left: 20px;
    width: 1px;
    height: auto;
  }

  .process-step {
    position: relative;
    padding: 0 0 43px;
    text-align: left;
  }

  .step-number {
    position: absolute;
    top: 0;
    left: -30px;
    margin: 0;
    font-size: 24px;
    transform: translateX(-50%);
  }

  .step-dot {
    position: absolute;
    top: 1px;
    left: -16px;
    width: 9px;
    height: 9px;
    margin: 0;
    border-color: var(--ink);
    box-shadow: 0 0 0 5px rgba(210, 99, 44, 0.1);
  }

  .process-step h3 {
    padding-left: 12px;
    font-size: 24px;
  }

  .process-step p {
    margin-top: 7px;
    padding-left: 12px;
    font-size: 10px;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .advantage-item {
    min-height: 0;
  }

  .why-mark {
    display: none;
  }

  .testimonials-heading {
    text-align: left;
  }

  .testimonials-heading .section-eyebrow {
    justify-content: flex-start;
  }

  .testimonial-card {
    padding: 28px 24px;
  }

  .contact-info {
    display: block;
  }

  .map-placeholder {
    height: 220px;
    margin-top: 28px;
  }

  .form-wrap {
    padding: 28px 20px 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-field input,
  .form-field select {
    height: 48px;
  }

  .contact-form {
    gap: 17px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
    line-height: 1.6;
  }

  .lightbox {
    width: calc(100% - 26px);
    max-height: calc(100vh - 28px);
  }

  .lightbox-shell {
    display: block;
    max-height: calc(100vh - 28px);
    overflow-y: auto;
  }

  .lightbox-media {
    min-height: 0;
    height: 42vh;
  }

  .lightbox-media img {
    max-height: none;
  }

  .lightbox-content {
    padding: 29px 26px 34px;
  }

  .lightbox-content h2 {
    font-size: 37px;
  }

  .lightbox-meta {
    margin-top: 22px;
    padding: 16px 0;
  }

  .lightbox-description {
    margin-top: 20px;
    font-size: 12px;
  }

  .lightbox-count {
    margin-top: 22px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }

  .lightbox-arrow {
    top: calc(21vh - 23px);
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 680px;
  }

  .hero-eyebrow::before {
    width: 28px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
    flex: none;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-item,
  .stat-item:first-child {
    display: flex;
    align-items: baseline;
    gap: 15px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .stat-number {
    min-width: 85px;
  }

  .stat-label {
    font-size: 10px;
  }

  .about-visual figcaption {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 20px);
    margin: -25px 0 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
