:root {
  --ink: #0c0d0f;
  --muted: #a8aaad;
  --line: #e8e8e8;
  --panel: #f6f6f6;
  --green: #05a818;
  --green-dark: #078a18;
  --red: #ff1414;
  --max: 1500px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", Inter, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.page-kicker {
  margin: 0;
  padding: 60px 20px 44px;
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .01em;
}
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.hero {
  position: relative;
  width: min(calc(100% - 48px), var(--max));
  min-height: 625px;
  margin: 0 auto;
  overflow: hidden;
  background: #080808;
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.04) 45%, rgba(0,0,0,.12));
  pointer-events: none;
}
.hero-home::after { background: none; }
.hero-about { background-image: url("images/about-hero.webp"); }
.hero-contact { background-image: url("images/contact-hero.webp"); }
.hero-product {
  background-image: linear-gradient(90deg, rgba(30,15,7,.48), rgba(30,15,7,.08)), url("images/product-hero.webp");
  background-size: cover;
}

.site-header {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 54px 70px;
  color: white;
}
.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 27px;
  font-weight: 800;
  line-height: .72;
}
.brand svg { width: 38px; height: 38px; flex: 0 0 auto; }
.nav-wrap { display: flex; align-items: center; gap: 30px; }
.site-nav { display: flex; gap: 76px; align-items: center; }
.site-nav a {
  position: relative;
  color: white;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: white;
  transition: right .2s ease;
}
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.lang-toggle {
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  background: rgba(0,0,0,.16);
  color: white;
  padding: 7px 13px;
  cursor: pointer;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-height: 625px;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 145px 9% 80px;
  color: white;
  text-align: center;
}
.hero-copy h1 {
  max-width: 1120px;
  margin: 0 0 42px;
  font-size: clamp(42px, 5vw, 82px);
  line-height: 1.18;
  letter-spacing: .01em;
  white-space: pre-line;
}
.hero-copy p { max-width: 790px; margin: -20px 0 34px; font-size: 20px; color: rgba(255,255,255,.88); }
.btn-outline {
  display: inline-flex;
  min-width: 160px;
  justify-content: center;
  padding: 11px 25px;
  border: 2px solid white;
  border-radius: 8px;
  color: white;
  background: transparent;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}

.home-products { padding: 82px 0 60px; }
.product-section { margin-bottom: 118px; }
.section-heading { margin: 0 0 12px; font-size: clamp(34px, 3vw, 48px); line-height: 1.25; }
.section-subtitle { margin: 0 0 54px; color: var(--muted); font-size: clamp(18px, 2vw, 29px); }
.product-visual-link { display: block; text-decoration: none; }
.product-visual-link .banner {
  width: 100%;
  height: 190px;
  object-fit: cover;
  margin-bottom: 54px;
}
.swatch-sheet { width: 100%; height: auto; object-fit: contain; }
.product-visual-link:focus-visible { outline: 4px solid #2079f7; outline-offset: 6px; }
.product-visual-link:hover .swatch-sheet { filter: contrast(1.03); }
.product-visual-link .link-hint {
  display: block;
  margin-top: 15px;
  color: #737373;
  font-size: 14px;
  text-align: right;
}
.offer-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  margin-top: 42px;
}
.price { margin: 0; font-size: clamp(46px, 6vw, 84px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.price small { font-size: .48em; font-weight: 700; letter-spacing: -.02em; }
.actions { display: flex; gap: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 270px;
  min-height: 68px;
  padding: 15px 34px;
  border: 0;
  border-radius: 999px;
  color: white;
  text-decoration: none;
  cursor: pointer;
  font-size: 27px;
  font-weight: 700;
  transition: transform .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(.94); }
.btn-green { background: var(--green); }
.btn-red { background: var(--red); }

.content-section { padding: 100px 0; }
.content-section + .content-section { padding-top: 25px; }
.display-heading { margin: 0 0 55px; font-size: clamp(40px, 4vw, 62px); line-height: 1.25; }
.about-intro {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.about-intro h2 { margin: 0; font-size: 45px; }
.about-copy { max-width: 920px; font-size: 24px; line-height: 1.85; }
.about-copy p { margin: 0 0 30px; }
.wide-media { width: 100%; object-fit: cover; }
.rounded-panel { background: var(--panel); border-radius: 22px; overflow: hidden; }
.section-action-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  margin-top: 42px;
  font-size: 28px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 95px 50px;
  padding: 130px 70px 155px;
  text-align: center;
}
.service-item { display: grid; justify-items: center; gap: 30px; }
.service-icon {
  width: 105px;
  height: 105px;
  color: #060606;
}
.service-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.service-item h3 { margin: 0; font-size: 34px; font-weight: 500; }

.contact-heading { margin-bottom: 58px; }
.contact-heading h2 { margin: 0 0 6px; font-size: 52px; }
.contact-heading p { margin: 0; font-size: 27px; color: var(--muted); }
.contact-banner { width: 100%; height: 190px; object-fit: cover; margin-bottom: 95px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.contact-form { display: grid; gap: 26px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  min-height: 112px;
  padding: 25px 34px;
  border: 1px solid #bbb;
  border-radius: 8px;
  outline: none;
  background: white;
  font-size: 24px;
}
.field textarea { min-height: 165px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.contact-form .btn { margin-top: 15px; min-width: 330px; justify-self: start; }
.form-status { min-height: 24px; margin: 0; color: var(--green-dark); }
.contact-details { display: grid; gap: 75px; padding-top: 20px; }
.contact-detail { display: grid; grid-template-columns: 72px 1fr; gap: 28px; align-items: center; font-size: 25px; }
.contact-detail svg { width: 60px; height: 60px; fill: none; stroke: #000; stroke-width: 2.6; }
.contact-detail a { text-decoration: underline; text-underline-offset: 5px; }

.product-intro { padding-top: 95px; }
.product-config { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 70px; align-items: start; }
.product-card-image { border-radius: 8px; width: 100%; max-height: 700px; object-fit: cover; object-position: top; }
.product-picker h2 { margin: 0 0 8px; font-size: 46px; }
.eyebrow { color: #777; margin: 0 0 22px; }
.stone-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px 12px; margin: 22px 0 30px; }
.stone-option { border: 0; background: transparent; padding: 0; cursor: pointer; color: #333; }
.stone-chip {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  background:
    radial-gradient(circle at 20% 30%, var(--c2) 0 3%, transparent 4%),
    radial-gradient(circle at 70% 65%, var(--c3) 0 4%, transparent 5%),
    radial-gradient(circle at 45% 70%, rgba(255,255,255,.55) 0 2%, transparent 3%),
    repeating-radial-gradient(circle at 55% 50%, var(--c1) 0 2px, var(--c2) 2px 5px, var(--c3) 5px 7px);
  border: 3px solid transparent;
  transition: transform .18s ease, border-color .18s ease;
}
.stone-option:hover .stone-chip { transform: scale(1.04); }
.stone-option.selected .stone-chip { border-color: var(--green); box-shadow: 0 0 0 3px rgba(5,168,24,.18); }
.stone-option small { display: block; margin-top: 5px; font-size: 13px; }
.selection-line { margin: 16px 0 28px; color: #666; }
.selection-line strong { color: #111; }
.weight-options { display: flex; gap: 14px; margin-bottom: 34px; }
.weight-options button { border: 1px solid #ddd; background: white; border-radius: 6px; padding: 10px 24px; cursor: pointer; }
.weight-options button.active { border-color: var(--green); color: var(--green-dark); }
.product-picker .btn { width: 100%; border-radius: 8px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 50px; margin: 0; padding: 0; list-style: none; font-size: 19px; }
.spec-list strong { display: inline-block; min-width: 105px; }
.detail-section { padding: 70px 0 30px; }
.detail-section h2 { margin: 0 0 8px; font-size: 40px; }
.detail-section > .container > p { color: #777; margin: 0 0 38px; }
.feature-list { display: grid; gap: 18px; list-style: none; padding: 0; margin: 35px 0 55px; counter-reset: points; }
.feature-list li { counter-increment: points; display: flex; gap: 14px; align-items: start; }
.feature-list li::before { content: counter(points, decimal-leading-zero); color: white; background: #e71946; border-radius: 999px; padding: 4px 8px; font-weight: 700; }
.detail-media { width: 100%; border-radius: 18px; }

.site-footer { margin-top: 110px; background: #f4f4f4; }
.footer-grid {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 80px;
  padding: 72px 0 100px;
}
.footer-grid h3 { margin: 0 0 30px; font-size: 26px; }
.footer-links { display: grid; gap: 17px; justify-items: start; font-size: 20px; }
.footer-links a { text-underline-offset: 5px; }

.floating-contact {
  position: fixed;
  z-index: 20;
  right: 20px;
  top: 50%;
  transform: translateY(-25%);
  display: grid;
  gap: 10px;
}
.floating-contact a, .floating-contact button {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: white;
  box-shadow: 0 3px 18px rgba(0,0,0,.12);
  text-decoration: none;
  cursor: pointer;
  font-size: 25px;
}
.floating-contact .wa { color: #20c866; }
.floating-contact .mail { color: #f2a000; }
.floating-contact .wechat { color: #08b326; }
.toast {
  position: fixed;
  z-index: 30;
  right: 95px;
  top: 50%;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  background: #111;
  color: white;
  border-radius: 8px;
  padding: 10px 15px;
  transition: .2s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .page-kicker { padding: 30px 16px 25px; font-size: 24px; }
  .hero { width: 100%; min-height: 560px; }
  .site-header { padding: 30px 28px; }
  .site-nav { gap: 25px; }
  .nav-wrap { gap: 14px; }
  .hero-copy { min-height: 560px; }
  .offer-row { grid-template-columns: 1fr; }
  .actions { flex-wrap: wrap; }
  .btn { min-width: 210px; font-size: 22px; }
  .about-intro { grid-template-columns: 1fr; gap: 25px; }
  .about-copy { font-size: 20px; }
  .services-grid { gap: 70px 30px; padding-inline: 20px; }
  .service-item h3 { font-size: 24px; }
  .contact-layout, .product-config { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 30px), var(--max)); }
  .site-header { align-items: flex-start; padding: 22px 18px; }
  .brand { font-size: 19px; }
  .brand svg { width: 30px; height: 30px; }
  .site-nav { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .site-nav a { font-size: 13px; }
  .lang-toggle { padding: 5px 9px; font-size: 12px; }
  .hero, .hero-copy { min-height: 480px; }
  .hero-copy { padding-inline: 20px; }
  .hero-copy h1 { font-size: 37px; }
  .hero-copy p { font-size: 16px; }
  .home-products { padding-top: 55px; }
  .product-section { margin-bottom: 85px; }
  .section-subtitle { margin-bottom: 30px; font-size: 18px; }
  .product-visual-link .banner { height: 110px; margin-bottom: 25px; }
  .offer-row { margin-top: 26px; }
  .price { font-size: 55px; }
  .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .btn { min-width: 0; min-height: 54px; padding: 12px 18px; font-size: 18px; }
  .content-section { padding: 65px 0; }
  .display-heading { font-size: 36px; }
  .about-intro h2 { font-size: 35px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 60px 15px; padding: 80px 0 100px; }
  .service-icon { width: 75px; height: 75px; }
  .service-item h3 { font-size: 18px; }
  .contact-heading h2 { font-size: 40px; }
  .contact-heading p { font-size: 18px; }
  .contact-banner { height: 115px; margin-bottom: 55px; }
  .contact-layout { gap: 65px; }
  .field input, .field textarea { min-height: 82px; font-size: 19px; }
  .contact-detail { font-size: 18px; grid-template-columns: 50px 1fr; }
  .contact-detail svg { width: 44px; height: 44px; }
  .stone-grid { grid-template-columns: repeat(4, 1fr); }
  .spec-list { grid-template-columns: 1fr; }
  .detail-section h2 { font-size: 31px; }
  .footer-grid { width: min(calc(100% - 30px), var(--max)); grid-template-columns: 1fr; gap: 45px; padding-block: 55px 70px; }
  .floating-contact { right: 8px; top: auto; bottom: 16px; transform: none; display: flex; }
  .floating-contact a, .floating-contact button { width: 45px; height: 45px; font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
