/* 设计基准宽度 1534px（Figma 画板），配色与字号来自 get_design_context */

:root {
  --color-bg: #ffffff;
  --color-muted-bg: #f9fafb;
  --color-section-gray: #f3f4f6;
  --color-text: #1a1a1a;
  --color-body: #4a5565;
  --color-nav: #364153;
  --color-gold: #cfb53b;
  --color-stat-unit: #6a7282;
  --color-case-sub: #d1d5dc;
  --color-footer-rule: #d1d5dc;
  --color-footer-meta: #6a7282;
  --color-border-header: #e5e7eb;
  --design-max: 1534px;
  --pad-x: clamp(16px, 4.2vw, 159px);
  /* 侧栏式主导航与 JS 中 matchMedia 保持一致 */
  --nav-drawer-max: 1024px;
  --font: "Noto Sans SC", system-ui, sans-serif;
  --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-btn: 0 4px 6px 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  --shadow-about-img: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --gradient-gold: linear-gradient(
    180deg,
    rgb(249, 242, 146) 0%,
    rgb(246, 237, 140) 7.1429%,
    rgb(244, 232, 134) 14.286%,
    rgb(241, 227, 128) 21.429%,
    rgb(239, 223, 122) 28.571%,
    rgb(236, 218, 116) 35.714%,
    rgb(233, 213, 110) 42.857%,
    rgb(231, 208, 104) 50%,
    rgb(228, 203, 97) 57.143%,
    rgb(225, 199, 91) 64.286%,
    rgb(223, 194, 84) 71.429%,
    rgb(220, 189, 77) 78.571%,
    rgb(217, 184, 70) 85.714%,
    rgb(215, 180, 63) 92.857%,
    rgb(212, 175, 55) 100%
  );
  --gradient-product-overlay: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  --gradient-case-overlay: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-body);
  background: var(--color-bg);
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#home,
#about,
#products,
#custom,
#cases,
#contact,
#product-crystal,
#product-modern,
#product-custom,
#product-wall {
  scroll-margin-top: 81px;
}

.page {
  margin: 0 auto;
  padding-top: 81px;
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: 100%;
  height: 81px;
  padding: 0 var(--pad-x) 1px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--color-border-header);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: clamp(12px, 2vw, 32px);
  min-width: 0;
  width: 100%;
  max-width: var(--design-max);
  margin-inline: auto;
}

/* Figma 1:258 / 1:259：265.344×48，Header 资源 object-cover */
.nav-logo {
  flex-shrink: 0;
  display: block;
  width: 265px;
  height: 48px;
  max-width: min(265px, 52vw);
}

.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--color-border-header);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.site-header.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-end;
  gap: clamp(14px, 1.35vw, 32px);
  min-width: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 80px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--color-nav);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover:not(.nav-link--active) {
  color: var(--color-text);
}

.nav-link:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.nav-link--active {
  color: var(--color-gold);
}

/* Figma 1:263：2px 金色下划线，与 80px 导航条底对齐 */
.nav-link--active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--color-gold);
}

/* 主导航二级分类：Products 系列 */
.nav-item--has-sub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.nav-item__header {
  display: flex;
  align-items: stretch;
  min-height: 80px;
}

.nav-item__header .nav-link--parent {
  flex: 1;
  min-width: 0;
}

.nav-submenu-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  margin: 0 0 0 -8px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-nav);
  transition: color 0.2s ease, transform 0.25s ease;
}

.nav-submenu-toggle:hover {
  color: var(--color-text);
}

.nav-submenu-toggle:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-submenu-toggle__icon {
  display: block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform 0.25s ease;
}

.nav-item--has-sub.is-submenu-open .nav-submenu-toggle__icon {
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--color-border-header);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 220;
}

.nav-item--has-sub:hover .nav-submenu,
.nav-item--has-sub:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-sublink {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--color-nav);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-sublink:hover {
  background: #f3f4f6;
  color: var(--color-text);
}

.nav-sublink:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: -2px;
}

.nav-sublink--active {
  color: var(--color-gold);
  font-weight: 500;
  background: rgba(180, 140, 70, 0.06);
}

@media (max-width: 1320px) and (min-width: 1025px) {
  .nav-link {
    font-size: clamp(12px, 1.05vw, 14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-menu,
  .nav-submenu,
  .nav-toggle-bar,
  .nav-submenu-toggle__icon {
    transition: none;
  }
}

/* —— Hero —— Figma 1:196 / 1:197：952×1534 主图；1:198–1:199 标题 72px 顶距 385px —— */
.hero {
  position: relative;
  width: 100%;
  height: 952px;
  overflow: hidden;
}

.hero-swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  height: 100%;
}

.hero-swiper .swiper-slide {
  position: relative;
}

.hero__slide-media {
  position: absolute;
  inset: 0;
}

.hero__slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  display: block;
}

.hero-swiper .swiper-pagination {
  bottom: 22px;
  z-index: 2;
}

.hero-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: #fff;
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: #fff;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
  font-size: 1.35rem;
}

.hero-swiper--single .swiper-pagination,
.hero-swiper--single .swiper-button-prev,
.hero-swiper--single .swiper-button-next {
  display: none !important;
}

.hero__slide-caption {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 385px;
  transform: translateX(-50%);
  box-sizing: border-box;
  width: min(864px, calc(100% - 40px));
  padding: 0 16px;
  text-align: center;
  pointer-events: none;
}

.hero__slide-caption .hero__title {
  margin: 0;
  font-family: var(--font);
  font-size: 72px;
  font-weight: 500;
  line-height: 1.12;
  color: #fff;
  letter-spacing: 0;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.hero__subtitle {
  margin: 16px 0 0;
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  white-space: normal;
  text-wrap: balance;
}

@media (max-width: 1100px) {
  .hero__slide-caption .hero__title {
    font-size: clamp(40px, 6.5vw, 72px);
    line-height: 1.05;
    white-space: normal;
    text-wrap: balance;
  }
}

@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: min(85vh, 620px);
    max-height: 92vh;
    aspect-ratio: 1534 / 952;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px var(--pad-x);
  }

  .hero-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero__slide-caption {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 28ch;
    padding: 0;
  }

  .hero__slide-caption .hero__title {
    font-size: clamp(26px, 7.5vw, 48px);
    line-height: 1.12;
    white-space: normal;
  }

  .hero__subtitle {
    font-size: clamp(0.9rem, 3.2vw, 1.05rem);
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .hero {
    aspect-ratio: unset;
    min-height: 380px;
    padding: 56px 16px;
  }
}

/* —— Sections shared —— */
.section {
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section__head {
  text-align: center;
  margin-bottom: 48px;
}

.section__title {
  margin: 0 0 16px;
  font-size: clamp(28px, 2.8vw, 36px);
  font-weight: 500;
  line-height: 40px;
  color: var(--color-text);
}

.section__subtitle {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 28px;
  color: var(--color-body);
}

/* Featured — Figma 1:5：#f9fafb、标题区 84px/间距 16、网格 1216×286、卡片圆角 10 */
.section--featured {
  background: #f9fafb;
  padding-top: 69px;
  padding-bottom: 65px;
}

.section__head--featured {
  margin-bottom: 62px;
}

.section--featured .section__title {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 500;
  line-height: 40px;
  color: var(--color-text);
}

.section--featured .section__subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-body);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1216px;
  margin: 0 auto 47px;
}

.product-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  aspect-ratio: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 24px -6px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .product-card {
    transition: none;
  }

  .product-card:hover {
    transform: none;
  }
}

.product-card__media {
  position: absolute;
  inset: 0;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  background: var(--gradient-product-overlay);
  pointer-events: none;
}

/* Figma 1:16：底部文案区 min-height 100px，内边距 24，标签与标题 gap 4px */
.product-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  min-height: 100px;
  width: 100%;
  box-sizing: border-box;
  padding: 24px 24px 20px;
}

.product-card__tag {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--color-gold);
}

.product-card__name {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: #fff;
  white-space: nowrap;
}

.section--featured__cta {
  text-align: center;
}

/* Gold buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 10px;
  background: var(--gradient-gold);
  box-shadow: var(--shadow-btn);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #000;
  margin: 0 auto;
}

.btn-gold--wide {
  min-width: min(100%, 238.72px);
  padding-left: 28px;
  padding-right: 28px;
}

.btn-gold--narrow {
  min-width: min(100%, 144px);
  padding-right: 40px;
  justify-content: flex-start;
}

.btn-gold--inquiry {
  border-radius: 4px;
  padding: 16px 40px;
  min-height: 56px;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-gold__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.section--featured .btn-gold {
  display: inline-flex;
}

.btn-gold:hover {
  filter: brightness(1.04);
}

.btn-gold:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* About — Figma 1:52 + 画稿：双列各最大 584、间距 48、整体居中；图圆角 12、统计字偏粗 */
.section--about {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 584px));
  justify-content: center;
  gap: 48px 48px;
  align-items: start;
  padding-top: 80px;
  padding-bottom: 80px;
  background: #fff;
}

.about__text {
  width: 100%;
  min-width: 0;
}

.about__title {
  margin: 0 0 24px;
  font-size: 36px;
  font-weight: 500;
  line-height: 40px;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--color-body);
}

.about__lead {
  margin: 0;
  max-width: 100%;
}

.about__block {
  margin: 0;
}

.about__block-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  color: var(--color-text);
}

.about__block-text {
  margin: 10px 0 0;
  max-width: 100%;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--color-body);
}

.about__closing {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
}

.about__closing-brand {
  font-weight: 700;
  color: var(--color-text);
}

.about__closing-tagline {
  font-weight: 400;
  color: var(--color-body);
}

.about__cta-line {
  margin: 0;
  color: var(--color-gold);
}

.btn-gold--about {
  margin: 28px auto 0 0;
  box-sizing: border-box;
  width: 143.094px;
  min-width: 143.094px;
  max-width: 100%;
  min-height: 56px;
  padding: 15px;
  justify-content: flex-start;
}

.about__visual {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  min-width: 0;
}

.about__photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 20px 40px -12px rgba(0, 0, 0, 0.22),
    0 8px 16px -8px rgba(0, 0, 0, 0.12);
  width: 100%;
}

.about__photo img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.about__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  width: 100%;
  text-align: center;
}

.about__stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1 1 158px;
  min-width: 140px;
}

.stat__num {
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.stat__value {
  font-size: 48px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 48px;
  letter-spacing: -0.02em;
}

.stat__unit {
  font-size: 24px;
  line-height: 32px;
  color: var(--color-stat-unit);
  margin-left: 2px;
}

.stat__label {
  margin: 0;
  width: 100%;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-body);
}

/* Stay connected — Figma 1:200：高 264、遮罩 50%、内区 1216×136、顶底 64；标题 48/48、说明 #e5e7eb；Inquiry 圆角 4、宽 133.438 */
.section--stay {
  position: relative;
  height: 264px;
  min-height: 264px;
  overflow: hidden;
}

.stay__bg {
  position: absolute;
  inset: 0;
}

.stay__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.stay__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.stay__inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  max-width: 1216px;
  height: 100%;
  margin: 0 auto;
  padding: 64px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: nowrap;
}

.stay__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 564.641px;
  min-width: 0;
}

.stay__title {
  margin: 0;
  font-size: 48px;
  font-weight: 500;
  line-height: 48px;
  color: #fff;
}

.stay__title-line {
  display: block;
}

.stay__desc {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #e5e7eb;
  max-width: 100%;
}

.section--stay .btn-gold--inquiry {
  flex-shrink: 0;
  margin: 0;
  box-sizing: border-box;
  width: 133.438px;
  min-width: 133.438px;
  max-width: 100%;
  padding: 16px 40px;
  justify-content: center;
}

/* Cases — Figma 1:95：#f9fafb、标题区顶 68 / 与网格间距 66、3×3 gap 32、卡片 384×288 */
.section--cases {
  background: #f9fafb;
  padding-top: 68px;
  padding-bottom: 100px;
}

.section__head--cases {
  margin-bottom: 66px;
}

.section--cases .section__title {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 500;
  line-height: 40px;
  color: var(--color-text);
}

.section--cases .section__subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-body);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1216px;
  margin: 0 auto 50px;
}

.case-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  aspect-ratio: 384 / 288;
  min-height: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 24px -6px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
}

.case-card__media {
  position: absolute;
  inset: 0;
  background: #f3f4f6;
}

.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.case-card__media--contain img {
  object-fit: contain;
}

.case-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  padding: 0;
  background: var(--gradient-case-overlay);
  pointer-events: none;
}

/* Figma 1:106 / 1:115：底部文案区 min-height 176，内边距 32，标题与描述 gap 8 */
.case-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  min-height: 176px;
  padding: 32px;
}

.case-card--compact .case-card__copy {
  min-height: 144px;
}

.case-card__copy h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: #fff;
  max-width: 100%;
}

.case-card--compact .case-card__copy h3 {
  white-space: nowrap;
}

.case-card__copy p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--color-case-sub);
  max-width: 100%;
}

.section--cases__cta {
  text-align: center;
}

.section--cases .btn-gold {
  display: inline-flex;
}

.btn-gold--cases {
  min-width: min(100%, 215.11px);
  width: 215.11px;
  max-width: 100%;
  padding-left: 28px;
  padding-right: 32px;
  margin: 0 auto;
  justify-content: center;
  box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
  .case-card {
    transition: none;
  }

  .case-card:hover {
    transform: none;
  }
}

/* Customize — Figma 1:187：#f3f4f6；标题 36px/40 与副文间距 34；副文 20/28 max 837；距按钮 67；按钮 238.703×56 圆角 10 */
.section--customize {
  background: #f3f4f6;
  text-align: center;
  padding-top: 46px;
  padding-bottom: 84px;
}

.customize__title {
  margin: 0 auto 34px;
  max-width: 864px;
  font-size: 36px;
  font-weight: 500;
  line-height: 40px;
  color: var(--color-text);
}

.customize__desc {
  margin: 0 auto 67px;
  max-width: 837px;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-body);
}

.section--customize__cta {
  text-align: center;
}

.btn-gold--customize {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  width: 238.703px;
  min-width: 238.703px;
  max-width: 100%;
  min-height: 56px;
  padding: 15px 28px 15px 24px;
  border-radius: 10px;
  margin: 0;
}

/* Footer — Figma 1:212：#f3f4f6、主区与版权 gap 48、pt 48、px 32；主栅格 592 + 280 + 280，版心 max 1235 */
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 48px;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  background: #f3f4f6;
  padding: 48px clamp(20px, 4vw, 32px) 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px) minmax(0, 280px);
  grid-template-areas: "brand links contact";
  align-items: start;
  column-gap: clamp(22px, 3.5vw, 61px);
  row-gap: 36px;
  width: 100%;
  max-width: 1235px;
  margin: 0 auto;
  min-width: 0;
}

.footer__brand {
  grid-area: brand;
  max-width: 592px;
  min-width: 0;
}

.footer__links {
  grid-area: links;
  width: 100%;
  max-width: 280px;
  min-width: 0;
}

.footer__contact {
  grid-area: contact;
  width: 100%;
  max-width: 280px;
  min-width: 0;
}

.footer__brand-link {
  display: inline-block;
  text-decoration: none;
}

.footer__brand-link:hover {
  opacity: 0.9;
}

.footer__brand img {
  display: block;
  width: 221.125px;
  max-width: 100%;
  height: 40px;
  margin: 0 0 16px;
  object-fit: cover;
  object-position: left center;
}

.footer__brand p {
  margin: 0;
  max-width: 554px;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-body);
}

.footer__links h3,
.footer__contact h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--color-gold);
}

.footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links li {
  min-height: 24px;
}

.footer__links a {
  display: inline-block;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-body);
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--color-text);
}

.footer__contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-body);
}

.footer__contact li.footer__address {
  align-items: flex-start;
}

.footer__contact li img {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 0;
}

.footer__contact li.footer__address img {
  margin-top: 4px;
}

.footer__contact li span {
  min-width: 0;
}

.footer__contact li.footer__address span {
  word-break: break-word;
}

.footer__copy {
  box-sizing: border-box;
  width: 100%;
  max-width: 1235px;
  margin-inline: auto;
  border-top: 1px solid var(--color-footer-rule);
  padding: 33px 0 40px;
  text-align: center;
}

.footer__copy p {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-footer-meta);
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section--featured .section__title {
    font-size: clamp(28px, 4vw, 36px);
  }

  .section--featured .section__subtitle {
    font-size: clamp(16px, 1.6vw, 18px);
  }

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

  .section__head--cases {
    margin-bottom: 48px;
  }

  .section--cases .section__title {
    font-size: clamp(28px, 4vw, 36px);
  }

  .section--cases .section__subtitle {
    font-size: clamp(16px, 1.6vw, 18px);
  }

  .case-card--compact .case-card__copy h3 {
    white-space: normal;
  }

  .customize__title {
    font-size: clamp(28px, 4vw, 36px);
  }

  .customize__desc {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 48px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "brand brand"
      "links contact";
    column-gap: 32px;
    row-gap: 36px;
    max-width: none;
  }

  .footer__brand {
    max-width: none;
  }

  .footer__links,
  .footer__contact {
    max-width: none;
  }

  .footer__copy {
    max-width: none;
  }
}

@media (max-width: 1100px) {
  .about__title {
    font-size: clamp(28px, 3.2vw, 36px);
  }

  .stat__value {
    font-size: clamp(36px, 5vw, 48px);
    line-height: 1.05;
  }
}

@media (max-width: 900px) {
  .section--stay {
    height: auto;
    min-height: 264px;
  }

  .stay__inner {
    height: auto;
    padding: 56px 0;
    flex-wrap: wrap;
    row-gap: 24px;
  }

  .section--about {
    grid-template-columns: 1fr;
  }

  .about__text {
    max-width: none;
  }

  .about__visual {
    max-width: none;
  }

  .about__stats {
    justify-content: space-around;
  }

  .about__photo img {
    height: auto;
    min-height: 280px;
    aspect-ratio: 584 / 480;
  }
}

/* ≤1024px：抽屉导航，避免横向一排英文链接触顶溢出、换行与顶栏重叠 */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
    flex-shrink: 0;
  }

  /* 不用 bottom:0 撑满屏，避免与 max-height 夹击导致高度算错；高度随内容增长，至多用满视口并可滚动 */
  .nav-menu {
    position: fixed;
    top: 81px;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    box-sizing: border-box;
    max-height: 0;
    min-height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding-inline: max(var(--pad-x), env(safe-area-inset-left, 0px))
      max(var(--pad-x), env(safe-area-inset-right, 0px));
    padding-block: 0;
    background: rgba(255, 255, 255, 0.98);
    transition: max-height 0.35s ease;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .site-header.is-open .nav-menu {
    max-height: calc(100vh - 81px);
    max-height: calc(100dvh - 81px);
    max-height: calc(100svh - 81px);
    padding-top: max(16px, env(safe-area-inset-top, 0px));
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 0;
  }

  .nav-item__header {
    min-height: 0;
    align-items: center;
    border-bottom: 1px solid var(--color-border-header);
  }

  .nav-item__header .nav-link--parent {
    flex: 1;
    min-width: 0;
    padding: 14px 0;
    min-height: 48px;
    border-bottom: none;
  }

  .nav-submenu-toggle {
    display: flex;
    align-self: stretch;
    width: 48px;
    min-width: 48px;
    margin: 0;
  }

  .nav-item--has-sub:hover .nav-submenu,
  .nav-item--has-sub:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-submenu {
    position: static;
    transform: none;
    left: auto;
    min-width: 0;
    width: 100%;
    padding: 0 0 4px;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
    pointer-events: none;
    min-height: 0;
  }

  .nav-item--has-sub.is-submenu-open .nav-submenu {
    max-height: min(70vh, 28rem);
    max-height: min(70dvh, 28rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
    padding-bottom: 8px;
  }

  .nav-sublink {
    padding: 12px 12px 12px 16px;
    border-radius: 6px;
    min-height: 48px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
  }

  .nav-link {
    min-height: 48px;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border-header);
    box-sizing: border-box;
  }

  .nav-menu .nav-item__header .nav-link--parent {
    border-bottom: none;
  }

  .nav-link--active::after {
    left: 0;
    bottom: 12px;
    width: fit-content;
    min-width: 2.5rem;
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }

  .section__head--featured {
    margin-bottom: 48px;
  }

  .product-card {
    max-height: none;
    aspect-ratio: 1;
  }

  .product-card__name {
    white-space: normal;
    text-wrap: balance;
  }

  .cases-grid {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }

  .case-card__copy {
    min-height: 0;
    padding: 24px;
  }

  .case-card--compact .case-card__copy {
    min-height: 0;
  }

  .case-card__copy h3 {
    font-size: clamp(18px, 4.5vw, 24px);
    line-height: 1.25;
  }

  .btn-gold--cases {
    width: auto;
    min-width: 0;
    padding-left: 24px;
    padding-right: 28px;
  }

  .section--customize {
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .customize__title {
    margin-bottom: 24px;
  }

  .customize__desc {
    margin-bottom: 40px;
  }

  .btn-gold--customize {
    width: auto;
    min-width: 0;
    max-width: min(100%, 320px);
    padding-left: 20px;
    padding-right: 24px;
  }

  .section--stay {
    height: auto;
    min-height: 264px;
  }

  .stay__inner {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 48px 0;
    flex-wrap: wrap;
  }

  .stay__title {
    font-size: clamp(32px, 9vw, 48px);
    line-height: 1.1;
  }

  .stay__title-line + .stay__title-line {
    margin-top: 0.15em;
  }

  .section--stay .btn-gold--inquiry {
    width: auto;
    min-width: min(133.438px, 100%);
  }

  .about__stats {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 20px;
  }

  .about__stats .stat {
    align-items: flex-start;
    flex: none;
    min-width: 0;
  }

  .btn-gold--about {
    width: 100%;
    min-width: 0;
    max-width: 280px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "links"
      "contact";
    row-gap: 32px;
  }

  .footer__links,
  .footer__contact {
    max-width: none;
  }

  .site-footer {
    gap: 40px;
    padding-top: 40px;
  }

  .footer__copy {
    padding: 28px 0 32px;
  }
}
