﻿:root {
  --ink: #151515;
  --muted: #6c6861;
  --line: #e6e1d9;
  --paper: #f6f3ee;
  --warm: #b48a5a;
  --dark: #24231f;
  --deep: #11110f;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  overflow-x: hidden;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid #e8cba7;
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 76px;
  padding: 0 52px;
  color: var(--white);
  background: rgba(14, 14, 12, 0.62);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, min-height 0.2s ease;
}

.is-loaded .site-header {
  animation: navDrop 0.7s ease both;
}

.site-header.is-scrolled {
  min-height: 66px;
  background: rgba(14, 14, 12, 0.94);
}

.brand img {
  display: block;
  width: 174px;
  height: 50px;
  object-fit: contain;
  object-position: center;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  font-size: 15px;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover,
.hotline:hover {
  color: #e8cba7;
}

.hotline {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  white-space: nowrap;
}

.hotline span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--deep);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.is-loaded .hero img {
  animation: heroDrift 16s ease-out both;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.22) 58%, rgba(0, 0, 0, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 31vh;
  color: var(--white);
}

.hero-content p {
  margin: 0 0 18px;
  font-size: 15px;
  letter-spacing: 7px;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.hero-content h1 {
  margin: 0 0 32px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.13;
  font-weight: 300;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  display: block;
  margin: -14px 0 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 24px;
  letter-spacing: 8px;
}

.hero-content a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  background: rgba(180, 138, 90, 0.9);
  font-size: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-content a:hover {
  background: #c49a68;
  transform: translateY(-2px);
}

.is-loaded .hero-content p,
.is-loaded .hero-content h1,
.is-loaded .hero-subtitle,
.is-loaded .hero-content a {
  animation: heroTextIn 0.86s ease both;
}

.is-loaded .hero-content h1 {
  animation-delay: 0.12s;
}

.is-loaded .hero-subtitle {
  animation-delay: 0.22s;
}

.is-loaded .hero-content a {
  animation-delay: 0.32s;
}

.section {
  padding: 96px max(32px, calc((100vw - 1180px) / 2));
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

.section-label {
  display: block;
  margin-bottom: 18px;
  color: var(--warm);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.18;
  font-weight: 400;
}

.section-kicker {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.intro-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.intro-copy p {
  margin: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 72px;
  background: var(--line);
}

.stats div {
  padding: 34px;
  background: #fffaf3;
}

.stats strong {
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 42px;
  font-weight: 300;
}

.stats span {
  color: var(--muted);
}

.brand-visual {
  margin: 72px 0 0;
  background: var(--dark);
  overflow: hidden;
}

.brand-visual img {
  display: block;
  width: 100%;
  height: auto;
}

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

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}

.section-head h2 {
  max-width: 760px;
}

.gallery-category {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: -14px 0 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.gallery-category-next {
  margin-top: 56px;
}

.gallery-category span {
  color: var(--warm);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.gallery-category h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.product-grid article {
  min-height: 238px;
  padding: 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.product-grid article:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(232, 203, 167, 0.32);
  transform: translateY(-3px);
}

.product-grid span {
  color: var(--warm);
  font-size: 13px;
  letter-spacing: 2px;
}

.product-grid h3 {
  margin: 42px 0 14px;
  font-size: 25px;
  font-weight: 400;
}

.product-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-auto-rows: 238px;
  gap: 18px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  min-height: 238px;
  padding: 0;
  color: var(--white);
  background: var(--deep);
  border: 0;
  cursor: pointer;
  text-align: left;
  isolation: isolate;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8));
  transition: background 0.28s ease;
}

.gallery-card::after {
  content: "+";
  position: absolute;
  right: 22px;
  bottom: 25px;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  opacity: 0;
  transform: translateY(8px) scale(0.94);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
}

.gallery-card:hover::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 22%, rgba(0, 0, 0, 0.86));
}

.gallery-card:hover::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-card span {
  position: absolute;
  left: 24px;
  bottom: 30px;
  z-index: 2;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  padding-bottom: 2px;
  transition: transform 0.24s ease;
}

.gallery-card:hover span {
  transform: translateY(-3px);
}

.gallery-feature {
  grid-row: span 2;
}

.gallery-grid-living {
  grid-template-columns: 1fr 1fr;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.lightbox.is-open {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: min(1280px, 96vw);
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  transform: scale(0.98);
  transition: transform 0.22s ease;
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(90deg);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.process-list li {
  min-height: 150px;
  padding: 26px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 18px;
  transition: background 0.24s ease, color 0.24s ease;
}

.process-list li:hover {
  background: rgba(255, 255, 255, 0.045);
  color: #f0d1aa;
}

.process-list span {
  display: block;
  margin-bottom: 46px;
  color: var(--warm);
  font-size: 13px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(620px, 1.15fr);
  gap: 64px;
  align-items: center;
  padding: 84px max(42px, calc((100vw - 1280px) / 2));
  color: var(--white);
  background: linear-gradient(135deg, #1b1a17, #3a352e);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 20%, rgba(240, 209, 170, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 42%);
}

.contact-panel > * {
  position: relative;
  z-index: 1;
}

.contact-panel p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.contact-info {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) auto;
  align-content: center;
  align-items: center;
  column-gap: 46px;
  row-gap: 22px;
}

.phone {
  grid-column: 1;
  margin-bottom: 0;
  color: #f0d1aa;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: 1px;
}

.address-list {
  display: grid;
  gap: 18px;
}

.contact-info p {
  margin: 0;
}

.contact-info strong {
  display: inline-block;
  min-width: 88px;
  color: var(--white);
  font-weight: 400;
}

.qr-card {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: 160px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--dark);
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.qr-card img {
  display: block;
  width: 100%;
  height: auto;
}

.qr-card span {
  display: block;
  margin-top: 8px;
  color: #6f6961;
  font-size: 13px;
  line-height: 1.35;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 28px 20px;
  color: rgba(255, 255, 255, 0.62);
  background: var(--deep);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0 22px;
  }

  .brand img {
    width: 142px;
    height: 42px;
  }

  .menu-toggle {
    display: grid;
    gap: 7px;
    width: 42px;
    height: 42px;
    place-content: center;
    color: var(--white);
    background: transparent;
    border: 0;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
  }

  .site-nav,
  .hotline {
    display: none;
  }

  .site-header.is-open .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px 22px 22px;
    background: rgba(14, 14, 12, 0.97);
  }

  .site-header.is-open .site-nav a {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero {
    min-height: 86svh;
  }

  .hero img {
    object-position: 58% center;
  }

  .hero-content {
    padding-top: 26vh;
  }

  .section {
    padding: 68px 22px;
  }

  .intro-grid,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .stats,
  .product-grid,
  .gallery-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 250px;
  }

  .gallery-feature {
    grid-row: span 1;
  }

  .section-head {
    display: block;
  }

  .contact-panel {
    margin-left: -22px;
    margin-right: -22px;
    padding: 48px 22px;
  }

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

  .phone,
  .address-list {
    grid-column: auto;
  }

  .qr-card {
    grid-column: auto;
    grid-row: auto;
    width: 136px;
  }

  .phone {
    font-size: 36px;
  }
}

@media (max-width: 560px) {
  .hero-content p {
    letter-spacing: 3px;
  }

  .hero-content a {
    width: 100%;
    justify-content: center;
    font-size: 16px;
  }

  .stats div,
  .product-grid article {
    padding: 26px 22px;
  }
}

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

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

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.035);
  }
  to {
    transform: scale(1);
  }
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
