:root {
  --bg: #faf7f2;
  --bg-alt: #f2ece2;
  --ink: #2b2622;
  --ink-soft: #6b6259;
  --line: #e6ddd0;
  --brand: #8a6a3a;
  --brand-deep: #5c4423;
  --accent: #1f3b2c;
  --accent-soft: #eef2ec;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(43, 38, 34, 0.08);
  --shadow-lg: 0 20px 50px rgba(43, 38, 34, 0.14);
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100vw;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: var(--brand-deep);
}
.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.brand .mark svg { width: 20px; height: 20px; }
.brand .sub { font-size: 12px; font-weight: 400; color: var(--ink-soft); display: block; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
nav.main-nav a {
  font-size: 15px;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
nav.main-nav a.active,
nav.main-nav a:hover { color: var(--brand-deep); }
nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.nav-drop { position: relative; }
.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--ink);
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 6px 0;
}
.nav-drop-toggle .caret { width: 14px; height: 14px; transition: transform 0.2s ease; }
.nav-drop:hover .nav-drop-toggle,
.nav-drop-toggle:hover,
.nav-drop.open .nav-drop-toggle,
.nav-drop-toggle.active { color: var(--brand-deep); }
.nav-drop-toggle.active::after {
  content: "";
  position: absolute;
  left: 0; right: 20px; bottom: -2px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.nav-drop.open .nav-drop-toggle .caret,
.nav-drop:hover .nav-drop-toggle .caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -14px;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 50;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop.open .nav-drop-menu { display: flex; }
.nav-drop-menu a {
  padding: 10px 14px !important;
  border-radius: 8px;
  font-size: 14px !important;
}
.nav-drop-menu a:hover { background: var(--accent-soft); color: var(--brand-deep); }
.nav-drop-menu a.active { color: var(--brand-deep); background: var(--accent-soft); }
.nav-drop-menu a.active::after { display: none; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tel-quick {
  font-size: 14px;
  color: var(--brand-deep);
  font-weight: 600;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(138, 106, 58, 0.28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(138, 106, 58, 0.34); }
.btn-ghost {
  background: transparent;
  border-color: var(--brand-deep);
  color: var(--brand-deep);
}
.btn-ghost:hover { background: var(--brand-deep); color: #fff; }
.btn-block { width: 100%; }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(138, 106, 58, 0.16), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(31, 59, 44, 0.10), transparent 60%),
    var(--bg);
  padding: 76px 0 60px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 42px;
  line-height: 1.32;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.hero h1 .accent { color: var(--brand-deep); }
.hero p.lead {
  font-size: 16.5px;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 30px;
}
.hero-stats .stat b {
  display: block;
  font-size: 24px;
  color: var(--brand-deep);
  font-weight: 800;
}
.hero-stats .stat span {
  font-size: 13px;
  color: var(--ink-soft);
}
.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #2a3d2f 0%, #1f3b2c 55%, #16281f 100%);
  box-shadow: var(--shadow-lg);
}
.hero-visual svg { width: 100%; height: 100%; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: 0.5px;
}
.section-head p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 18px; margin: 0 0 10px; font-weight: 700; }
.card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.card a.more { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--brand-deep); }

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  counter-reset: step;
}
.process.process-4 { grid-template-columns: repeat(4, 1fr); }
.process.process-5 { grid-template-columns: repeat(5, 1fr); }
.process .step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 18px 20px;
  text-align: center;
}
.process .step .num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--brand-deep);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin: 0 auto 14px;
  font-size: 14px;
}
.process .step h4 { font-size: 14.5px; margin: 0 0 6px; font-weight: 700; }
.process .step p { font-size: 12.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Fabric / material strip ---------- */
.strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.swatch {
  flex: 0 0 auto;
  width: 150px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.swatch .fill { height: 96px; }
.swatch .label { padding: 10px 12px; font-size: 13px; font-weight: 600; }

/* ---------- Split / feature rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .visual { order: 2; }
.split .visual {
  border-radius: 20px;
  aspect-ratio: 5/4;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split ul.feature-list { list-style: none; margin: 22px 0 0; padding: 0; }
.split ul.feature-list li {
  display: flex; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.split ul.feature-list li:last-child { border-bottom: none; }
.split ul.feature-list li .dot {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.split ul.feature-list li .dot svg { width: 12px; height: 12px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #1f3b2c 0%, #16281f 100%);
  color: #fff;
  border-radius: 24px;
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: 26px; margin: 0 0 8px; font-weight: 800; }
.cta-band p { margin: 0; color: rgba(255,255,255,0.78); font-size: 14.5px; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--brand-deep);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .body { padding: 0 22px 20px; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 18px 0 0;
}
.breadcrumb a:hover { color: var(--brand-deep); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 40px 0 56px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: 32px; margin: 10px 0 12px; font-weight: 800; }
.page-hero p { color: var(--ink-soft); max-width: 640px; font-size: 15px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row .icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-soft); color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center;
}
.info-row .icon svg { width: 20px; height: 20px; }
.info-row b { display: block; font-size: 14px; }
.info-row span { font-size: 13.5px; color: var(--ink-soft); }

form.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.field label .req { color: #b5482f; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  background: var(--bg);
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(138,106,58,0.14);
}
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }
#formMsg { font-size: 13.5px; margin-top: 12px; padding: 10px 14px; border-radius: 8px; display: none; }
#formMsg.ok { display: block; background: #eef4ee; color: #1f3b2c; }
#formMsg.err { display: block; background: #fdecec; color: #a3352a; }

.map-block {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/7;
  margin-top: 40px;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: #1c1712;
  color: rgba(255,255,255,0.7);
  padding: 56px 0 26px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 14px; }
.footer-grid h5 { color: #fff; font-size: 14px; margin: 0 0 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 13.5px; }
.footer-grid li a:hover { color: #fff; }
.footer-bottom {
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
}

/* ---------- Cases scenario tags ---------- */
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }
.tag {
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--brand-deep);
  border: 1px solid var(--line);
}

/* ---------- Photos ---------- */
.photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-alt);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92);
}
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(138, 106, 58, 0.16), rgba(31, 59, 44, 0.14));
  mix-blend-mode: multiply;
  pointer-events: none;
}
.photo-frame figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  font-size: 12.5px;
  color: #fff;
  background: linear-gradient(0deg, rgba(15,20,15,0.72), transparent);
}
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.photo-gallery .photo-frame { aspect-ratio: 4 / 3; border-radius: 14px; }
.card-photo {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  margin: -30px -26px 20px;
  width: calc(100% + 52px);
}
.card-photo img { border-radius: 12px 12px 0 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
  .process, .process.process-4, .process.process-5 { grid-template-columns: repeat(3, 1fr); }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .visual { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  nav.main-nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100vh;
    padding-top: 72px;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 26px;
    gap: 4px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
    overflow-y: auto;
    z-index: 90;
  }
  nav.main-nav.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.25s ease;
  }
  nav.main-nav > a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-drop { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-drop-toggle { width: 100%; justify-content: space-between; padding: 14px 0; }
  .nav-drop-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 14px;
    min-width: 0;
  }
  .nav-drop.open .nav-drop-menu { display: flex; }
  .nav-drop-menu a { padding: 10px 0 !important; }
  .nav-cta-mobile { display: flex; width: 100%; margin-top: 18px; }
  .header-cta .tel-quick { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 30px; }
}
@media (max-width: 460px) {
  .brand .sub { display: none; }
  .header-cta .btn-primary { display: none; }
}
@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .photo-gallery { grid-template-columns: 1fr; }
  .process, .process.process-4, .process.process-5 { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  section { padding: 56px 0; }
  .hero { padding: 48px 0 40px; }
}
