@charset "utf-8";
/* ==========================================================
   XX - Foreign trade website
   Design system based on the reference site (forest green + gold)
   ========================================================== */

:root {
  --primary: #2d6a4f;
  --primary-dark: #1b4d3e;
  --primary-darker: #14392e;
  --accent: #e9b35f;
  --accent-dark: #d69a3c;
  --sage: #a3b18a;
  --bg: #fdfbf7;
  --muted: #f5f3ef;
  --card: #ffffff;
  --text: #636e72;
  --text-soft: #8b969a;
  --heading: #1b4d3e;
  --border: #e7e2d8;
  --border-strong: #d8d2c4;
  --shadow-sm: 0 2px 10px rgba(27, 77, 62, 0.06);
  --shadow-md: 0 8px 28px rgba(27, 77, 62, 0.1);
  --shadow-lg: 0 18px 48px rgba(27, 77, 62, 0.16);
  --radius: 14px;
  --radius-sm: 9px;
  --font: "Inter", "Segoe UI", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  color: var(--heading);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
}

h3 {
  font-size: 1.22rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section {
  padding: 88px 0;
}

.section--muted {
  background: var(--muted);
}

.section--white {
  background: var(--card);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head.center .eyebrow::before {
  display: none;
}

.section-head.center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.05rem;
}

.lead {
  font-size: 1.08rem;
}

.text-accent {
  color: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn--gold {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 6px 18px rgba(233, 179, 95, 0.4);
}

.btn--gold:hover {
  background: #f0bf72;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(233, 179, 95, 0.5);
}

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

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

.btn--outline {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn--outline-green {
  border: 2px solid var(--primary);
  color: var(--primary-dark);
}

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

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 18px rgba(20, 57, 46, 0.18);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 26px rgba(20, 57, 46, 0.32);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand__logo {
  width: 42px;
  height: 42px;
}

.brand__name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand__name span {
  color: var(--accent);
}

.brand__tag {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--accent);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-actions .btn {
  padding: 11px 22px;
  font-size: 0.88rem;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(20, 57, 46, 0.94) 0%,
    rgba(27, 77, 62, 0.82) 45%,
    rgba(45, 106, 79, 0.45) 100%
  );
}

.hero__inner {
  padding: 110px 0 120px;
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(233, 179, 95, 0.16);
  border: 1px solid rgba(233, 179, 95, 0.45);
  color: #f6d9a6;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 20px;
}

.hero h1 .hl {
  color: var(--accent);
}

.hero p {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin-bottom: 34px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 57, 46, 0.78);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 26px 0;
}

.hero-stat {
  text-align: center;
  padding: 0 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stat:first-child {
  border-left: none;
}

.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  color: var(--accent);
  font-weight: 800;
  line-height: 1.1;
}

.hero-stat span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.04em;
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  position: relative;
  /* 有配图时显示配图，没有配图时回退到品牌渐变 */
  background-color: var(--primary-darker);
  background-image: var(--ph-img, linear-gradient(110deg, var(--primary-darker), var(--primary) 55%, #3d8465));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 78px 0 66px;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
}

/* 带配图的页头：加深色遮罩保证文字清晰，并适当加高 */
.page-header--photo {
  padding: 96px 0 84px;
}

.page-header--photo::before {
  background-image: linear-gradient(
    100deg,
    rgba(18, 54, 42, 0.94) 0%,
    rgba(27, 77, 62, 0.85) 45%,
    rgba(45, 106, 79, 0.62) 100%
  );
  background-size: auto;
  opacity: 1;
}

.page-header--photo .breadcrumb,
.page-header--photo h1,
.page-header--photo p {
  text-shadow: 0 1px 14px rgba(11, 38, 29, 0.45);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .page-header {
    padding: 60px 0 52px;
  }
  .page-header--photo {
    padding: 68px 0 60px;
  }
}

.page-header h1 {
  color: #fff;
  margin: 8px 0 14px;
}

.page-header p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  opacity: 0.5;
}

.breadcrumb .current {
  color: var(--accent);
}

/* ---------- Category cards (home) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.cat-card__media {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cat-card:hover .cat-card__media img {
  transform: scale(1.07);
}

.cat-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 57, 46, 0.55));
}

.cat-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cat-card__body h3 {
  margin-bottom: 8px;
}

.cat-card__body p {
  font-size: 0.88rem;
  margin-bottom: 16px;
  flex: 1;
}

.cat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.cat-card__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s;
}

.cat-card__link:hover svg {
  transform: translateX(4px);
}

.cat-card__count {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

/* ---------- Feature cards (why choose) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.1), rgba(233, 179, 95, 0.14));
  margin-bottom: 18px;
}

.feature-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 9px;
}

.feature-card p {
  font-size: 0.88rem;
}

/* ---------- Split / about ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split__media {
  position: relative;
}

.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.split__media::before {
  content: "";
  position: absolute;
  inset: -18px auto auto -18px;
  width: 52%;
  height: 52%;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  z-index: -1;
}

.split__badge {
  position: absolute;
  bottom: -22px;
  right: -14px;
  background: var(--primary-dark);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-width: 240px;
}

.split__badge strong {
  display: block;
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1.2;
}

.split__badge span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.split__body h2 {
  margin-bottom: 18px;
}

.split__body p {
  margin-bottom: 16px;
}

.check-list {
  margin: 18px 0 26px;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
}

.check-list svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--primary);
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card__media {
  height: 190px;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.06);
}

.service-card__body {
  padding: 26px 26px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__body h3 {
  margin-bottom: 10px;
}

.service-card__body p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.service-card__list {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
  flex: 1;
}

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
}

.service-card__list svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 4px;
  color: var(--accent-dark);
}

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(110deg, var(--primary-darker), var(--primary));
  color: #fff;
}

.stats-band__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 58px 0;
}

.stat-block {
  text-align: center;
}

.stat-block strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.stat-block span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Quote section / CTA ---------- */
.quote-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.quote-form {
  padding: 48px;
}

.quote-form h2 {
  margin-bottom: 8px;
}

.quote-form > p {
  margin-bottom: 28px;
  font-size: 0.96rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--heading);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  background: var(--bg);
  color: var(--heading);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.13);
  background: #fff;
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.quote-form .btn {
  margin-top: 22px;
  width: 100%;
}

.form-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-soft);
  text-align: center;
}

.quote-side {
  background: linear-gradient(150deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.quote-side h3 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.quote-side p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.quote-support {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 20px;
}

.quote-support__icon {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-support__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary-dark);
}

.quote-support strong {
  display: block;
  font-size: 1.1rem;
  color: var(--accent);
}

.quote-support span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.quote-contacts {
  display: grid;
  gap: 14px;
}

.quote-contacts a,
.quote-contacts div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.quote-contacts a:hover {
  color: var(--accent);
}

.quote-contacts svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--accent);
}

.form-success {
  display: none;
  background: #eaf5ee;
  border: 1px solid #b9dcc7;
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.9rem;
  margin-top: 16px;
}

.form-success.show {
  display: block;
}

/* ---------- Partners ---------- */
.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px 44px;
}

.partner {
  font-size: 1.15rem;
  font-weight: 700;
  color: #a7aaa3;
  letter-spacing: 0.02em;
  opacity: 0.8;
  transition: opacity 0.25s, color 0.25s;
}

.partner:hover {
  opacity: 1;
  color: var(--primary);
}

/* ---------- Products page ---------- */
.products-layout {
  display: grid;
  grid-template-columns: 272px 1fr;
  gap: 36px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.filter-panel h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.filter-search {
  position: relative;
  margin: 16px 0 20px;
}

.filter-search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  stroke: var(--text-soft);
}

.filter-search input {
  width: 100%;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 11px 14px 11px 40px;
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
}

.filter-search input:focus {
  border-color: var(--primary);
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group__title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.filter-options {
  display: grid;
  gap: 4px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
}

.filter-option:hover {
  background: var(--muted);
  color: var(--primary-dark);
}

.filter-option.is-active {
  background: rgba(45, 106, 79, 0.1);
  color: var(--primary-dark);
  font-weight: 600;
}

.filter-option .count {
  margin-left: auto;
  font-size: 0.76rem;
  color: var(--text-soft);
  background: var(--muted);
  border-radius: 999px;
  padding: 1px 9px;
}

.product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.product-toolbar p {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.product-toolbar p strong {
  color: var(--primary-dark);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-card__media {
  position: relative;
  height: 168px;
  overflow: hidden;
  background: var(--muted);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.06);
}

.product-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(27, 77, 62, 0.9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  border-radius: 999px;
}

.product-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__body h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.product-card__spec {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.product-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.86rem;
}

.product-card__more svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s;
}

.product-card__more:hover svg {
  transform: translateX(4px);
}

.product-card__quote {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-dark);
  border: 1.5px solid var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.25s;
}

.product-card__quote:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-soft);
  background: var(--card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}

/* ---------- Product detail ---------- */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 52px;
  align-items: start;
}

.pd-media {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pd-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pd-media__cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(27, 77, 62, 0.92);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

.pd-info h1 {
  margin-bottom: 8px;
}

.pd-info .pd-sub {
  color: var(--text-soft);
  font-size: 0.96rem;
  margin-bottom: 20px;
}

.pd-summary {
  background: var(--muted);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.97rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 26px;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.spec-table th {
  width: 38%;
  font-weight: 600;
  color: var(--heading);
  background: var(--muted);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.pd-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.pd-block h2 {
  font-size: 1.25rem;
  margin: 26px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.pd-block p {
  font-size: 0.96rem;
  margin-bottom: 12px;
}

.app-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.app-tag {
  background: rgba(45, 106, 79, 0.09);
  color: var(--primary-dark);
  border: 1px solid rgba(45, 106, 79, 0.2);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
}

.highlight-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.highlight-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
}

.highlight-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--primary);
}

/* ---------- News ---------- */
.news-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 46px;
  transition: transform 0.3s;
}

.news-featured:hover {
  transform: translateY(-4px);
}

.news-featured__media {
  min-height: 300px;
  overflow: hidden;
}

.news-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-featured__body {
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.news-meta .cat {
  color: var(--accent-dark);
  background: rgba(233, 179, 95, 0.14);
  padding: 3px 11px;
  border-radius: 999px;
}

.news-featured__body h2 {
  margin-bottom: 12px;
}

.news-featured__body p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.read-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s;
}

.read-more:hover svg {
  transform: translateX(4px);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.news-card__media {
  height: 170px;
  overflow: hidden;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-card:hover .news-card__media img {
  transform: scale(1.06);
}

.news-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__body h3 {
  font-size: 1.02rem;
  margin-bottom: 9px;
  line-height: 1.4;
}

.news-card__body p {
  font-size: 0.88rem;
  flex: 1;
  margin-bottom: 14px;
}

/* ---------- Article page ---------- */
.article {
  max-width: 820px;
  margin: 0 auto;
}

.article__header {
  margin-bottom: 34px;
}

.article__header h1 {
  margin: 14px 0;
}

.article__lead {
  font-size: 1.1rem;
  color: var(--text);
  border-left: 4px solid var(--accent);
  padding-left: 18px;
}

.article__body p {
  margin-bottom: 20px;
  font-size: 1.01rem;
}

.article__body h2 {
  font-size: 1.4rem;
  margin: 34px 0 14px;
}

.article__body ul {
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
}

.article__body ul li {
  padding-left: 24px;
  position: relative;
}

.article__body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.article__end {
  margin-top: 36px;
  padding: 26px 30px;
  background: var(--muted);
  border-radius: var(--radius);
  font-size: 0.96rem;
}

.article__end strong {
  color: var(--primary-dark);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 18px;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 18px;
}

.contact-card__icon {
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 14px;
  background: rgba(45, 106, 79, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-card .hint {
  font-size: 0.76rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.contact-card p,
.contact-card a {
  font-size: 0.92rem;
  display: block;
  margin-bottom: 4px;
}

.contact-card a:hover {
  color: var(--primary);
}

.wechat-qr {
  width: 132px;
  height: 132px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 4px 0 8px;
}

.contact-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h2 {
  margin-bottom: 6px;
}

.contact-form-card > p {
  font-size: 0.94rem;
  margin-bottom: 26px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(110deg, var(--primary-darker), var(--primary) 60%, #3d8465);
  color: #fff;
  border-radius: 20px;
  padding: 54px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 34px solid rgba(233, 179, 95, 0.13);
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 8px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.86);
  margin-top: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.1fr;
  gap: 48px;
  padding: 64px 0 44px;
}

.footer-brand p {
  font-size: 0.92rem;
  margin: 18px 0 22px;
  max-width: 340px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s;
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.footer-social a:hover svg {
  fill: var(--primary-dark);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-col ul {
  display: grid;
  gap: 11px;
}

.footer-col a {
  font-size: 0.92rem;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact {
  display: grid;
  gap: 16px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--accent);
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s;
}

.wa-float:hover {
  transform: scale(1.08);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 62vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 80px 0;
}

.notfound h1 {
  font-size: 7rem;
  line-height: 1;
  color: var(--primary);
}

.notfound h2 {
  margin: 6px 0 12px;
}

.notfound p {
  margin-bottom: 26px;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .main-nav {
    gap: 18px;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 26px;
    gap: 4px;
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    box-shadow: 0 18px 34px rgba(20, 57, 46, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 99;
  }

  .main-nav.open {
    transform: none;
  }

  .main-nav a {
    padding: 13px 8px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a::after {
    display: none;
  }

  .header-actions .btn--quote {
    display: none;
  }

  .split,
  .quote-wrap,
  .contact-grid,
  .pd-layout {
    grid-template-columns: 1fr;
  }

  .split__media {
    margin-bottom: 30px;
  }

  .quote-side {
    padding: 38px;
  }

  .products-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

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

  .news-featured {
    grid-template-columns: 1fr;
  }

  .news-featured__media {
    min-height: 230px;
  }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .hero__stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }

  .hero-stat:nth-child(3) {
    border-left: none;
  }

  .hero {
    min-height: 560px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .cat-grid,
  .feature-grid,
  .product-grid,
  .news-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

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

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

  .quote-form,
  .quote-side,
  .contact-form-card,
  .cta-banner {
    padding: 30px 24px;
  }

  .split__badge {
    right: 10px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0 34px;
  }

  .highlight-list {
    grid-template-columns: 1fr;
  }

  .news-featured__body {
    padding: 26px 22px;
  }

  .hero__inner {
    padding: 90px 0 140px;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .pd-media {
    position: static;
  }

  .filter-options {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   PbootCMS additions
   ========================================================== */

/* Hero slide fade */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero__slide .hero__inner {
  position: relative;
  z-index: 1;
}

/* Pagination */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 42px 0 8px;
}

.pagination-wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1.5px solid var(--border-strong);
  background: var(--card);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.pagination-wrap a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pagination-wrap .page-num-current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
}

.pagination-wrap .page-num-current:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--primary-dark);
}

/* Product card description clamp */
.product-card__desc {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Filter options rendered as links */
.filter-option {
  text-decoration: none;
}

/* Form success message */
.form-success {
  display: none;
  background: #eaf5ee;
  border: 1px solid #b9dcc7;
  color: var(--primary-dark);
  border-radius: 9px;
  padding: 14px 18px;
  font-size: 0.9rem;
  margin-top: 16px;
}

.form-success.show {
  display: block;
}

/* Article body spacing inside product detail */
.pd-block .article__body p {
  margin-bottom: 16px;
}

/* 404 within CMS */
.notfound h1 {
  font-size: 6rem;
  color: var(--primary);
  line-height: 1;
}

/* Language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 36px;
  padding: 0 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
}

.lang-switch:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
}

@media (max-width: 920px) {
  .lang-switch {
    margin-left: auto;
  }
}
