:root {
  --primary: #A85F6B;
  --primary-dark: #7E424C;
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --line: #e5e7eb;
  --bg-alt: #f9f6f5;
  --max-width: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: block;
  height: 44px;
  width: auto;
}

.brand-name {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 1px;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
}

.brand-sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.site-nav a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-toggle,
.nav-toggle-label { display: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(rgba(126, 66, 76, 0.55), rgba(126, 66, 76, 0.22) 45%, rgba(52, 40, 45, 0.6)),
    url("images/hero.jpg") center 68% / cover no-repeat,
    var(--primary-dark);
  color: #fff;
  text-align: center;
  padding: 120px 0 128px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(26px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.hero-tagline {
  font-size: clamp(16px, 2.2vw, 20px);
  opacity: 0.92;
  margin-top: 16px;
}

.btn {
  display: inline-block;
  margin-top: 36px;
  padding: 13px 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: background 0.15s, color 0.15s;
}

.btn:hover {
  background: #fff;
  color: var(--primary);
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }

.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--primary);
  margin-top: 12px;
  border-radius: 2px;
}

/* ---------- About ---------- */
.about-layout {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.about-grid {
  max-width: 560px;
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.about-grid .lead {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 16px;
}

.about-grid p:last-child { color: var(--ink-soft); }

/* ---------- Stats ---------- */
.stats {
  list-style: none;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats li {
  text-align: center;
  padding: 26px 12px;
}

.stats li + li { border-left: 1px solid var(--line); }

.stat-num {
  display: block;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ink-soft);
}

/* ---------- Products ---------- */
.product-grid {
  list-style: none;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 24px 28px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 95, 107, 0.4);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
}

.product-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Contact ---------- */
.contact-grid {
  list-style: none;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-grid li {
  border: 1px solid var(--line);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 8px 8px;
  padding: 26px 24px;
}

.contact-icon {
  width: 26px;
  height: 26px;
  color: var(--primary);
  margin-bottom: 12px;
}

.contact-grid h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.contact-grid p { color: var(--ink); font-size: 15.5px; }

.contact-grid a {
  color: var(--primary);
  text-decoration: none;
  word-break: break-all;
}

.contact-grid a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: #23272b;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 28px 0;
  font-size: 14px;
}

.footer-icp {
  margin-top: 8px;
  font-size: 13px;
}

.footer-icp a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.footer-icp a:hover {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-photo { max-width: 560px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero { padding: 88px 0 96px; }
  .section { padding: 56px 0; }

  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
  }

  .nav-toggle-label span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 1px;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    display: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  }

  .site-nav a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle:checked ~ .site-nav { display: flex; }

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