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

:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --surface-soft: #f1ece4;
  --line: #ddd4c7;
  --text: #2f2a24;
  --muted: #6d655d;
  --accent: #9e6f3f;
  --accent-dark: #6f4e2e;
  --shadow: 0 20px 50px rgba(57, 42, 24, 0.12);
  --radius: 18px;
}

body {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ty {
  width: 100%;
}

.center {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.clear::after {
  content: "";
  display: block;
  clear: both;
}

.topbar {
  padding: 22px 0 14px;
}

.topbar .bt {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  color: var(--accent-dark);
  letter-spacing: 1px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(247, 245, 241, 0.9);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.header ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 12px 0;
}

.header li {
  position: relative;
}

.header li > a {
  display: block;
  padding: 8px 10px;
  font-size: 15px;
  color: var(--text);
  border-radius: 999px;
}

.header li:hover > a,
.header li.hover > a {
  color: var(--accent-dark);
  background: rgba(158, 111, 63, 0.08);
}

.znav {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 180px;
  display: none;
  padding-top: 8px;
}

.znav .center {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
}

.znav a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
}

.znav a:hover,
.znav a.hover {
  color: var(--accent-dark);
  background: var(--surface-soft);
}

.header li:hover .znav,
.header li.hover .znav {
  display: block;
}

.tybg {
  padding: 110px 0 150px;
  text-align: center;
  background-image:
    linear-gradient(rgba(31, 23, 16, 0.48), rgba(31, 23, 16, 0.32)),
    url("../image/index.jpg");
  background-size: cover;
  background-position: center;
}

.tybg dt {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.2;
  color: #fff;
  font-weight: 700;
}

.tybg dd {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.8;
}

.bt {
  margin-bottom: 24px;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.3;
  text-align: center;
  color: var(--text);
}

.tupad {
  padding-top: 24px;
}

.tymag,
.panel {
  margin: 56px 0;
  padding: 38px;
  background: var(--surface);
  border: 1px solid rgba(221, 212, 199, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tywb {
  color: var(--muted);
  font-size: 16px;
}

.tywb p + p {
  margin-top: 14px;
}

.tywb strong {
  color: var(--text);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.info-card {
  padding: 18px 20px;
  background: var(--surface-soft);
  border-radius: 16px;
  border: 1px solid var(--line);
}

.info-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
  color: var(--accent-dark);
}

.new {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0 0 32px;
}

.a3 {
  display: block;
  overflow: hidden;
  height: 100%;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(221, 212, 199, 0.7);
}

.a3:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(57, 42, 24, 0.18);
}

.pic {
  padding-bottom: 58%;
  background-image:
    linear-gradient(rgba(158, 111, 63, 0.12), rgba(158, 111, 63, 0.18)),
    url("../image/index.jpg");
  background-position: center;
  background-size: cover;
}

.a3 h1 {
  padding: 22px 22px 10px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 600;
}

.a3 .wb {
  padding: 0 22px 24px;
  color: var(--muted);
  font-size: 14px;
}

.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 0 50px;
  color: var(--muted);
}

.pager span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  font-size: 13px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.contact-visual {
  min-height: 360px;
  border-radius: var(--radius);
  background-image:
    linear-gradient(rgba(31, 23, 16, 0.1), rgba(31, 23, 16, 0.2)),
    url("../image/index.jpg");
  background-position: center;
  background-size: cover;
}

.contact-card {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 18px;
}

.contact-list li {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 16px;
}

.contact-list strong {
  color: var(--text);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.form-grid textarea {
  min-height: 160px;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  min-height: 48px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

.biz-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.biz-list li {
  padding: 18px;
  background: var(--surface-soft);
  border-radius: 16px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.biz-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 16px;
}

.foot {
  padding: 26px 0 42px;
  line-height: 1.9;
  font-size: 13px;
  text-align: center;
  color: var(--muted);
}

.foot a {
  color: var(--accent-dark);
}

.detail-wrap {
  margin: 56px 0;
  padding: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-head {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
  text-align: center;
}

.detail-head h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.3;
  color: var(--text);
}

.detail-head p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.detail-cover {
  margin-bottom: 26px;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  background-image:
    linear-gradient(rgba(31, 23, 16, 0.16), rgba(31, 23, 16, 0.24)),
    url("../image/index.jpg");
  background-size: cover;
  background-position: center;
}

.detail-body p + p {
  margin-top: 16px;
}

.fy {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}

.fy a,
.fgo a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

.fy a:hover,
.fgo a:hover {
  color: var(--accent-dark);
}

.fgo {
  margin-top: 16px;
}

@media (max-width: 960px) {
  .new,
  .contact-layout,
  .biz-list,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .tymag,
  .panel,
  .contact-card,
  .detail-wrap {
    padding: 26px 20px;
  }

  .tybg {
    padding: 80px 0 110px;
  }
}

@media (max-width: 640px) {
  .center {
    width: min(100% - 20px, 1180px);
  }

  .header ul {
    gap: 4px 8px;
  }

  .header li > a {
    padding: 7px 8px;
    font-size: 14px;
  }

  .topbar {
    padding: 18px 0 10px;
  }

  .tywb {
    font-size: 15px;
  }
}
