:root {
  font-family:
    "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Inter, system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #211d18;
  background: #f4f1ec;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 241, 236, 0.94)),
    #f4f1ec;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px 52px;
  border-bottom: 1px solid rgba(33, 29, 24, 0.12);
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #211d18;
  cursor: pointer;
  text-align: left;
}

.brand-mark,
.logo-stone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f8f3ea;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(145deg, #564536, #191714);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.08), 0 10px 26px rgba(34, 28, 22, 0.2);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  color: #74695f;
  font-size: 12px;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.top-nav button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(33, 29, 24, 0.13);
  border-radius: 6px;
  background: #fffdfa;
  color: #3b342d;
  cursor: pointer;
}

.top-nav button.active {
  color: #fffaf2;
  border-color: #352c24;
  background: #352c24;
}

.page-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 30px 80px;
}

.home-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 42px;
  align-items: center;
}

.section-kicker {
  display: inline-block;
  color: #8a5e35;
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 720px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-copy p,
.section-heading p,
.operation-note p,
.contact-footer p {
  max-width: 760px;
  color: #655a50;
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions button {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid #352c24;
  border-radius: 6px;
  color: #fffaf2;
  background: #352c24;
  cursor: pointer;
}

.hero-actions .quiet {
  color: #352c24;
  background: transparent;
}

.hero-visual {
  border: 1px solid rgba(33, 29, 24, 0.14);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 20px 60px rgba(40, 32, 24, 0.12);
}

.logo-showcase {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 46px 30px 34px;
  border-bottom: 1px solid rgba(33, 29, 24, 0.11);
}

.logo-stone {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 900;
}

.logo-showcase strong {
  margin-top: 8px;
  font-size: 31px;
}

.logo-showcase small {
  color: #786d62;
}

.material-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 22px;
}

.stone-chip {
  min-height: 86px;
  border-radius: 8px;
  border: 1px solid rgba(33, 29, 24, 0.10);
}

.amethyst {
  background: linear-gradient(135deg, #6f587e, #d9c7df 58%, #f5eef6);
}

.quartz {
  background: linear-gradient(135deg, #f5f0e7, #c8bcae 52%, #ffffff);
}

.jade {
  background: linear-gradient(135deg, #426e5b, #9eb8a1 55%, #f4f1e8);
}

.obsidian {
  background: linear-gradient(135deg, #111111, #514c48 58%, #201d1b);
}

.home-grid,
.product-grid,
.account-layout,
.contact-grid {
  display: grid;
  gap: 18px;
}

.home-grid {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-grid article,
.product-card,
.account-card,
.contact-card,
.operation-note,
.schedule-table,
.contact-footer {
  border: 1px solid rgba(33, 29, 24, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
}

.home-grid article,
.account-card,
.contact-card,
.operation-note,
.contact-footer {
  padding: 24px;
}

.home-grid span,
.product-card span,
.account-card span,
.contact-card span {
  color: #8a5e35;
  font-size: 13px;
  font-weight: 800;
}

.home-grid p,
.product-card p,
.account-card p,
.contact-card p {
  margin-bottom: 0;
  color: #675d53;
  line-height: 1.75;
}

.section-heading {
  margin-bottom: 28px;
}

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

.product-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 16px;
}

.product-photo {
  min-height: 152px;
  border-radius: 6px;
  border: 1px solid rgba(33, 29, 24, 0.10);
  background: linear-gradient(145deg, #d8c9b5, #fffaf0);
}

.photo-手链 {
  background: linear-gradient(135deg, #b28a72, #f4d0b9 45%, #6d3e37);
}

.photo-项链 {
  background: linear-gradient(135deg, #7a8790, #d7e2df 50%, #8fb0ac);
}

.photo-戒指 {
  background: linear-gradient(135deg, #b58f51, #f5e1ad 55%, #5a3b23);
}

.photo-原石 {
  background: linear-gradient(135deg, #4e4a43, #b9a98d 48%, #e7dccd);
}

.photo-吊件 {
  background: linear-gradient(135deg, #3c6c60, #d7e3d5 52%, #7c4f37);
}

.photo-球 {
  background: radial-gradient(circle at 42% 38%, #fff7ef, #c6b39d 42%, #675b51 76%);
}

.photo-柱子 {
  background: linear-gradient(90deg, #856841, #d2b987 35%, #f5e9c8 50%, #7f683f);
}

.product-card h2 {
  margin-top: 6px;
}

.account-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-card strong,
.contact-card strong {
  display: block;
  margin: 10px 0;
  font-size: 24px;
}

.operation-note {
  margin-top: 18px;
}

.schedule-table {
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr 1.7fr;
  gap: 16px;
  padding: 18px 20px;
  border-top: 1px solid rgba(33, 29, 24, 0.10);
  color: #53483f;
}

.table-row:first-child {
  border-top: 0;
}

.table-head {
  color: #fffaf2;
  font-weight: 800;
  background: #352c24;
}

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

.contact-footer {
  margin-top: 18px;
}

.data-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(33, 29, 24, 0.14);
  border-radius: 8px;
  background: #fffdf8;
}

.data-form h2,
.data-form .wide,
.data-form button {
  grid-column: 1 / -1;
}

.data-form h2 {
  margin-bottom: 0;
}

.data-form label {
  display: grid;
  gap: 8px;
  color: #4a4037;
  font-size: 14px;
  font-weight: 800;
}

.data-form input,
.data-form textarea {
  width: 100%;
  border: 1px solid rgba(33, 29, 24, 0.18);
  border-radius: 6px;
  background: #fbf8f1;
  color: #211d18;
  font: inherit;
}

.data-form input {
  min-height: 42px;
  padding: 0 12px;
}

.data-form textarea {
  min-height: 92px;
  padding: 12px;
  resize: vertical;
}

.data-form button {
  justify-self: start;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #352c24;
  border-radius: 6px;
  color: #fffaf2;
  background: #352c24;
  cursor: pointer;
}

.data-form button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.form-message {
  position: sticky;
  top: 78px;
  z-index: 9;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 30px;
  font-weight: 800;
}

.form-message.success {
  color: #24533f;
  background: #eaf4ee;
}

.form-message.error {
  color: #8a2f2f;
  background: #f8e8e4;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 22px;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .home-section,
  .product-grid,
  .account-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 560px) {
  .page-section {
    padding: 36px 16px 56px;
  }

  .top-nav button {
    flex: 1 1 calc(50% - 8px);
  }

  .product-card {
    grid-template-columns: 1fr;
  }

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