/* CSS Document */
:root {
  --primary: #1e4c44;
  --primary-light: #2f6a61;
  --primary-deep: #173c36;
  --accent: #a67b52;
  --bg: #f7f4ee;
  --bg-soft: #f3efe6;
  --card: #ffffff;
  --text: #24312f;
  --text-light: #5f6764;
  --line: #e4ddd2;
  --shadow: 0 12px 34px rgba(30, 76, 68, .08);
  --shadow-hover: 0 18px 44px rgba(30, 76, 68, .13);
  --radius: 20px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(166,123,82,.06), transparent 32%),
    linear-gradient(180deg, #fbf9f4 0%, var(--bg) 100%);
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

.container {
  width: var(--container);
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.btn-primary,
.btn-secondary,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: .25s ease;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(30, 76, 68, .18);
}

.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-secondary,
.outline-btn {
  color: var(--primary);
  background: rgba(255,255,255,.65);
  border-color: rgba(30,76,68,.35);
}

.btn-secondary:hover,
.outline-btn:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: absolute;
  top: 22px;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: .3s ease;
}

.site-header.is-fixed {
  position: fixed;
  top: 0;
  animation: headerDown .3s ease;
}

@keyframes headerDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.header-wrap {
  width: var(--container);
  max-width: calc(100% - 40px);
  margin: 0 auto;
  min-height: 82px;
  padding: 12px 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(30,76,68,.1);
  box-shadow: 0 14px 32px rgba(31,77,69,.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  gap: 22px;
  transition: .3s ease;
}

.site-header.is-fixed .header-wrap {
  min-height: 68px;
  border-radius: 0 0 18px 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 28px rgba(30,76,68,.14);
}

.logo-box {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
}

.logo-large,
.logo-small {
  display: flex;
  align-items: center;
}

.logo-small {
  display: none;
}

.logo-large-svg img {
  height: 58px;
  width: auto;
}

.logo-small-svg img {
  height: 42px;
  width: auto;
}

.site-header.is-fixed .logo-large {
  display: none;
}

.site-header.is-fixed .logo-small {
  display: flex;
}

.main-nav {
  margin-left: auto;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav li {
  position: relative;
}

.main-nav li > a,
.main-nav li > button {
  height: 42px;
  padding: 0 15px;
  border: none;
  border-radius: 999px;
  background: none;
  color: #2c4e47;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: .25s ease;
}

.main-nav li > a:hover,
.main-nav li > button:hover {
  background: rgba(30,76,68,.07);
  color: var(--primary);
}

.main-nav li.active > a {
  color: var(--primary);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(30,76,68,.12);
  box-shadow: 0 6px 18px rgba(30,76,68,.07);
}

.nav-caret {
  margin-left: 7px;
  font-size: 10px;
  opacity: .7;
  transition: .25s ease;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 150px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(30,76,68,.1);
  box-shadow: 0 18px 38px rgba(30,76,68,.13);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .25s ease;
  z-index: 20;
}

.dropdown a {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #31544c;
  font-size: 14px;
  display: flex;
  align-items: center;
  transition: .25s ease;
}

.dropdown a:hover {
  background: rgba(30,76,68,.07);
  color: var(--primary);
  transform: translateX(3px);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: none;
  border-radius: 12px;
  background: rgba(30,76,68,.08);
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--primary);
  border-radius: 999px;
  transition: .25s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* ========== 移动端导航 ========== */
@media (max-width: 991px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    margin-left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .25s ease;
    pointer-events: none;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav > ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(30,76,68,.1);
    box-shadow: 0 18px 38px rgba(30,76,68,.13);
  }

  .main-nav li > a,
  .main-nav li > button {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    min-width: 100%;
    margin-top: 6px;
    padding: 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }
}
/* Inner banner */
.inn-banner {
  margin-top: 150px;
  min-height: 210px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 16%, rgba(255,255,255,.16), transparent 32%),
    linear-gradient(105deg, #123c35 0%, #1e4c44 48%, #2f6a61 100%);
}

.inn-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 43%, rgba(255,255,255,.08) 50%, transparent 58%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px, 44px 44px;
  opacity: .28;
}

.inn-banner .container {
  position: relative;
  z-index: 2;
}

.inn-banner .banner-text {
  padding: 46px 0;
}

.inn-banner h1 {
  margin: 0 0 16px;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 2px;
}

.inn-banner h1::after {
  content: "";
  display: block;
  width: 86px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(255,255,255,.88));
}

.inn-banner p {
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 14px;
}

.inn-banner a {
  color: #fff;
}

.inn-banner a:hover {
  color: #e4c395;
}

/* pagination */
.pagebar {
  margin-top: 30px;
  text-align: center;
}

.pagination {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pagination a,
.pagination span,
.pagination em,
.pagination strong {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-light);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .25s ease;
}

.pagination a:hover,
.pagination .current,
.pagination .active,
.pagination .on,
.pagination strong,
.pagination em {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}
.page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 13px;
  margin: 0 4px;
  border: 1px solid rgba(19, 82, 68, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  color: #304a44;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.pagination .page-num:hover {
  background: rgba(11, 90, 73, 0.08);
  border-color: rgba(11, 90, 73, 0.28);
  color: #0b5a49;
}
.pagination .page-num-current {
   background: var(--primary);
  border-color: rgba(11, 90, 73, 0.28);
  color: #fff;
  box-shadow: 0 8px 18px rgba(11, 90, 73, 0.18);
  cursor: default;
}
.page-num-current:hover {
  background: #0b5a49;
  border-color: #0b5a49;
  color: #fff;
}
/* Footer */
.footer {
  position: relative;
  padding: 78px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(198, 156, 109, 0.16), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(10, 92, 73, 0.16), transparent 30%),
    linear-gradient(180deg, #f8f3e9 0%, #edf5ef 100%);
  border-top: 1px solid rgba(11, 90, 73, 0.08);
}

/* footer 上方柔和过渡 */
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: -90px;
  width: 100%;
  height: 90px;
  background: linear-gradient(180deg, rgba(248, 244, 236, 0) 0%, #f8f3e9 100%);
  pointer-events: none;
}

/* 淡淡的中药纹理装饰感 */
.footer::after {
  content: "GUBEN";
  position: absolute;
  right: 7%;
  bottom: 48px;
  font-size: 92px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 10px;
  color: rgba(11, 90, 73, 0.035);
  pointer-events: none;
  user-select: none;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.75fr 1.15fr;
  gap: 58px;
  padding-bottom: 58px;
}

/* 每一列 */
.footer-grid > div {
  position: relative;
}

/* 标题 */
.footer h4 {
  position: relative;
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: #063f35;
}

/* 标题下面的小装饰线 */
.footer h4::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b5a49, #c69c6d);
}

/* 品牌介绍 */
.footer-brand{
	overflow: hidden;
}
.footer-brand p {
  max-width: 390px;
  margin: 0;
  color: #334b45;
  font-size: 15px;
  line-height: 2;
}
.footer-brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 220px;
  height: 140px;
  background: url("data:image/svg+xml,%3Csvg width='220' height='140' viewBox='0 0 220 140' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='1'%3E%3Cpath d='M28 116C48 95 68 78 92 66' stroke='%2387AFA0' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M48 102C45 86 50 73 64 62C68 74 64 90 48 102Z' stroke='%2387AFA0' stroke-width='1.5' fill='none'/%3E%3Cpath d='M72 84C71 68 78 55 95 46C97 61 90 76 72 84Z' stroke='%2387AFA0' stroke-width='1.5' fill='none'/%3E%3Cpath d='M93 68C95 52 105 40 123 34C122 50 113 63 93 68Z' stroke='%2387AFA0' stroke-width='1.5' fill='none'/%3E%3Cpath d='M108 113C126 98 147 88 173 83' stroke='%2387AFA0' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M134 97C132 84 137 74 149 67C152 79 148 91 134 97Z' stroke='%2387AFA0' stroke-width='1.5' fill='none'/%3E%3Cpath d='M158 87C158 75 164 66 176 60C178 72 173 82 158 87Z' stroke='%2387AFA0' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='186' cy='42' r='18' stroke='%2387AFA0' stroke-width='1.2'/%3E%3Ccircle cx='186' cy='42' r='7' stroke='%2387AFA0' stroke-width='1.2'/%3E%3Cpath d='M186 24V14M204 42H214M186 60V70M168 42H158' stroke='%2387AFA0' stroke-width='1.2' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") no-repeat left bottom;
  background-size: contain;
  opacity: 0.14;
  pointer-events: none;
}

/* 列表 */
.footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer li {
  margin-bottom: 10px;
}

/* 链接 */
.footer a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #243b36;
  font-size: 15px;
  line-height: 1.7;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer a::before {
  content: "";
  width: 0;
  height: 1px;
  margin-right: 0;
  background: #0b5a49;
  transition: width 0.25s ease, margin-right 0.25s ease;
}

.footer a:hover {
  color: #0b5a49;
  transform: translateX(2px);
}

.footer a:hover::before {
  width: 12px;
  margin-right: 7px;
}

/* 联系我们 */
.footer-contact p {
  margin: 0 0 13px;
  color: #243b36;
  font-size: 15px;
  line-height: 1.8;
}

.footer-contact span {
  color: #0b5a49;
  font-weight: 600;
}
.footer-contact img{
	width: 40%;
	display: inline-block;
}

/* 底部版权 */
.footer-bottom {
  position: relative;
  padding: 24px 0;
  border-top: 1px solid rgba(11, 90, 73, 0.12);
  color: #65766f;
  font-size: 14px;
  text-align: center;
  letter-spacing: 0.2px;
}

/* 底部分割线加一点渐变 */
.footer-bottom::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: 180px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #0b5a49, transparent);
}
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 36px;
  }

  .footer::after {
    font-size: 70px;
    right: 4%;
  }

  .footer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .footer {
    margin-top: 60px;
    padding-top: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 42px;
  }

  .footer h4 {
    margin-bottom: 18px;
  }

  .footer-brand p,
  .footer a,
  .footer-contact p {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 13px;
    line-height: 1.8;
  }

  .footer::after {
    display: none;
  }

  .footer-cta {
    margin: 58px 0 -28px;
  }

  .footer-cta-inner {
    padding: 28px 24px;
    border-radius: 20px;
  }

  .footer-cta h3 {
    font-size: 21px;
  }
}