:root {
  --bg: #eef7f1;
  --bg-soft: #f7fcf9;
  --card: #ffffff;
  --text: #153d2e;
  --muted: #5f7e70;
  --line: #d5e8dc;
  --primary: #1e9f69;
  --primary-dark: #13724a;
  --hero-a: #0f5a3f;
  --hero-b: #2ebc87;
  --shadow: 0 14px 30px rgba(22, 98, 65, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(1100px 450px at -10% -10%, #f5fcf7 0%, transparent 62%),
    radial-gradient(920px 380px at 120% -20%, #edf9f2 0%, transparent 58%),
    linear-gradient(180deg, #f0f8f3 0%, var(--bg) 100%);
  color: var(--text);
}

a { color: inherit; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(244, 251, 246, 0.9);
  border-bottom: 1px solid rgba(179, 214, 194, 0.7);
}

.nav-inner {
  width: min(1200px, 94%);
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  text-decoration: none;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: .4px;
  color: #14533b;
}

.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.nav-links a,
.nav-links .nav-drop-trigger {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: #2f604c;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 8px 12px;
  transition: .2s ease;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links .nav-drop-trigger:hover {
  background: #edf8f1;
  border-color: #cbe5d6;
  color: #1d8c5f;
}

.nav-links .nav-btn {
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.nav-dropdown {
  position: relative;
}

.nav-links .nav-drop-trigger::after {
  content: "▾";
  margin-left: 6px;
  font-size: 11px;
  color: #6a8778;
}
.nav-links .nav-drop-trigger {
  cursor: pointer;
}

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #ffffff;
  border: 1px solid #cde3d5;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(22, 98, 65, 0.18);
  padding: 6px;
  display: none;
  z-index: 30;
}

.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown:focus-within .nav-drop-menu,
.nav-dropdown.open .nav-drop-menu {
  display: grid;
  gap: 4px;
}

.nav-drop-menu a {
  padding: 12px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  white-space: nowrap;
  font-size: 15px;
}

.nav-dropdown.company-intro .nav-drop-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: 74px;
  min-width: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  box-shadow: 0 10px 18px rgba(26, 82, 57, 0.12);
  padding: 0 26px;
  height: 74px;
  display: none;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #f6f8fa;
}

.nav-dropdown.company-intro .nav-drop-menu a {
  border-radius: 0;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 12px 10px 10px;
  color: #66717a;
  font-size: 20px;
  line-height: 1;
}

.nav-dropdown.company-intro .nav-drop-menu a:hover {
  color: #1e8a5d;
  background: transparent;
  border-color: #1e8a5d;
}

.nav-dropdown.company-intro:hover .nav-drop-menu,
.nav-dropdown.company-intro:focus-within .nav-drop-menu,
.nav-dropdown.company-intro.open .nav-drop-menu {
  display: grid;
}

@media (max-width: 900px) {
  .nav-dropdown.company-intro .nav-drop-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: auto;
    right: 0;
    height: auto;
    border-radius: 12px;
    border: 1px solid #cde3d5;
    padding: 6px;
    box-shadow: 0 12px 24px rgba(22, 98, 65, 0.18);
    grid-auto-flow: row;
    grid-auto-columns: 1fr;
    gap: 4px;
    background: #fff;
  }
  .nav-dropdown.company-intro .nav-drop-menu a {
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 12px 12px;
    font-size: 15px;
  }
}

.wrap {
  width: min(1200px, 94%);
  margin: 0 auto;
}

.top-slider-wrap {
  margin: 16px auto 14px;
}

.top-slider {
  min-height: 360px;
  border-radius: 18px;
  border: 1px solid #c6dfd1;
  box-shadow: var(--shadow);
  background: #e8f7ef;
}

.top-slider .slide {
  position: relative;
  min-height: 360px;
  padding: 0;
}

.top-slider-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.top-slider .slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(13, 47, 33, 0.62) 0%, rgba(15, 87, 59, 0.52) 55%, rgba(19, 122, 79, 0.3) 100%);
}

.top-slider-content {
  position: relative;
  z-index: 2;
  padding: 44px 34px;
  color: #fff;
  max-width: 760px;
}

.top-slider-content h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
}

.top-slider-content p {
  margin: 12px 0 0;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

.top-slider .slider-dots {
  bottom: 14px;
}

.hero {
  margin: 18px auto 14px;
  border: 1px solid #c6dfd1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(145deg, var(--hero-a) 0%, #1a8f62 44%, var(--hero-b) 100%);
  color: #fff;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -170px;
  top: -180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero-body {
  position: relative;
  z-index: 2;
  padding: 46px 34px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.2;
  letter-spacing: .8px;
}

.hero p {
  margin: 14px 0 0;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.75;
}

.section {
  margin: 14px auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(26, 82, 57, 0.08);
}

.section-body {
  padding: 24px 20px;
}

.section-title {
  margin: 0;
  font-size: 28px;
  color: #1b6a4a;
}

.section-sub {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.grid-2,
.grid-3,
.grid-4 {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  padding: 14px;
}

.card h3 {
  margin: 0;
  font-size: 18px;
  color: #1f684b;
}

.card p {
  margin: 8px 0 0;
  color: #567262;
  line-height: 1.7;
  font-size: 14px;
}

.list,
.list-check {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #4d6758;
  line-height: 1.8;
  font-size: 14px;
}

.list-check {
  list-style: none;
  padding-left: 0;
}

.list-check li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #178d5e;
  font-weight: 800;
}

.actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #b8ddc9;
  color: #1d7f56;
  background: #f3fbf6;
}

.btn.primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
}

.slider {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f5fbf7;
  min-height: 240px;
}

.slide {
  display: none;
  padding: 18px;
  min-height: 240px;
}

.slide.active {
  display: block;
  animation: fade .28s ease;
}

.slide h4 {
  margin: 0;
  font-size: 22px;
  color: #1f704e;
}

.slide p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: #557462;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(24, 121, 82, 0.28);
  cursor: pointer;
}

.dot.active {
  background: #1c905f;
}

.footer {
  margin-top: 22px;
  padding: 16px 18px 18px;
  text-align: center;
  color: #5b786a;
  line-height: 1.7;
  font-size: 13px;
  border: 1px solid #cfe3d7;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fcf9 0%, #f0f8f3 100%);
  box-shadow: 0 10px 24px rgba(18, 90, 60, 0.08);
}

.footer > div:first-child {
  color: #244f3b;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.footer .footer-provider {
  margin-bottom: 8px;
  color: #4d6f60;
  font-size: 12px;
  font-weight: 700;
}

.footer > div:nth-child(2) {
  margin-top: 8px;
}

.footer .footer-record {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #bedccc;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 84, 56, 0.08);
}

.footer .footer-support {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer .footer-support span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #c7dece;
  background: #f5fbf7;
  color: #3f6655;
  font-size: 12px;
  font-weight: 700;
}

.footer a {
  color: #1b7d53;
  text-decoration: none;
  font-weight: 800;
}

.footer a:hover {
  text-decoration: underline;
}

.notice {
  border: 1px solid #c4dfcf;
  border-radius: 12px;
  background: #f4fbf6;
  padding: 12px;
  color: #4f695a;
  font-size: 14px;
  line-height: 1.7;
}

.page-wrap {
  width: min(1200px, 94%);
  margin: 16px auto 28px;
}

.page-stack {
  display: grid;
  gap: 16px;
}

.query-workbench {
  display: grid;
  gap: 16px;
}

.query-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.72fr);
  gap: 16px;
  align-items: start;
}

.query-panel {
  border: 1px solid #d1e4d8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(19, 86, 59, 0.08);
  padding: 18px;
}

.query-panel-head {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.query-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  color: #1a6446;
}

.query-sub {
  margin: 0;
  color: #607c6f;
  font-size: 14px;
  line-height: 1.8;
}

.query-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.query-input {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  border: 1px solid #c7dfd0;
  background: #fff;
  color: #204635;
  font-size: 16px;
  padding: 0 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.query-input:focus {
  border-color: #71bb95;
  box-shadow: 0 0 0 4px rgba(30, 159, 105, 0.12);
  background: #fcfffd;
}

.query-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.query-upload-btn {
  position: relative;
  overflow: hidden;
}

.scan-box {
  margin-top: 16px;
  border: 1px dashed #c6dfd1;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfefd 0%, #f5fbf7 100%);
  padding: 14px;
  display: none;
}

.scan-box.show {
  display: block;
}

.scan-video {
  width: min(520px, 100%);
  border-radius: 14px;
  border: 1px solid #bedbc9;
  background: #0f3325;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.scan-tip {
  margin-top: 10px;
  color: #5b786a;
  font-size: 13px;
  line-height: 1.7;
}

.query-result {
  border: 1px solid #d7e8de;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfefd 0%, #f4faf6 100%);
  padding: 18px;
  min-height: 168px;
}

.query-result.ok {
  border-color: #bfe2cf;
  background: linear-gradient(180deg, #fbfffc 0%, #f1fbf5 100%);
}

.query-result.err {
  border-color: #efc5c5;
  background: linear-gradient(180deg, #fffdfd 0%, #fff5f5 100%);
}

.query-result-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 16px;
  align-items: start;
}

.query-status-card,
.query-product-card,
.query-guide-card {
  border: 1px solid #d9e9df;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.query-status-card {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.query-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.query-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.query-status-badge.pending {
  background: #f1f7f3;
  border: 1px solid #d5e6dc;
  color: #456755;
}

.query-status-badge.ok {
  background: rgba(30, 159, 105, 0.12);
  border: 1px solid rgba(30, 159, 105, 0.22);
  color: #17764f;
}

.query-status-badge.err {
  background: rgba(201, 68, 68, 0.1);
  border: 1px solid rgba(201, 68, 68, 0.16);
  color: #a13d3d;
}

.query-status-code {
  color: #587567;
  font-size: 13px;
  line-height: 1.6;
}

.query-status-title {
  margin: 0;
  color: #1c523b;
  font-size: 24px;
  line-height: 1.35;
}

.query-status-copy {
  margin: 0;
  color: #638071;
  font-size: 14px;
  line-height: 1.8;
}

.query-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.query-detail-item {
  min-height: 82px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #deece3;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfa 100%);
  display: grid;
  gap: 6px;
}

.query-detail-item .label {
  color: #729180;
  font-size: 12px;
  line-height: 1.4;
}

.query-detail-item strong,
.query-detail-item a {
  color: #204f3b;
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
  word-break: break-word;
}

.query-detail-item a:hover {
  text-decoration: underline;
}

.query-detail-item.full {
  grid-column: 1 / -1;
}

.query-product-card {
  overflow: hidden;
}

.query-product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.38) 0%, transparent 24%),
    linear-gradient(135deg, #eef8f2 0%, #d7ebdf 52%, #c0dfce 100%);
}

.query-product-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.query-product-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #1a7d54;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.query-product-body {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.query-product-tags,
.query-guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.query-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #d1e6d9;
  background: #f5fbf7;
  color: #2d6b4f;
  font-size: 12px;
  font-weight: 700;
}

.query-product-name {
  margin: 0;
  color: #184b36;
  font-size: 24px;
  line-height: 1.35;
}

.query-product-desc {
  margin: 0;
  color: #607b6d;
  font-size: 14px;
  line-height: 1.8;
}

.query-product-meta,
.query-product-store {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #688273;
  font-size: 13px;
  line-height: 1.7;
}

.query-product-meta span,
.query-product-store span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f5faf7;
  border: 1px solid #dae8e0;
}

.query-price-row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.query-price-row strong {
  color: #156e48;
  font-size: 28px;
  line-height: 1;
}

.query-price-row del {
  color: #8a9b92;
  font-size: 14px;
}

.query-price-note {
  color: #698375;
  font-size: 13px;
  line-height: 1.7;
}

.query-qr-box {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #dcebe2;
  background: linear-gradient(180deg, #fbfefd 0%, #f5fbf7 100%);
  display: grid;
  gap: 10px;
  justify-items: start;
}

.query-qr-box h4 {
  margin: 0;
  color: #22563f;
  font-size: 16px;
  line-height: 1.4;
}

.query-qr-box p {
  margin: 0;
  color: #698173;
  font-size: 13px;
  line-height: 1.7;
}

.result-qr {
  width: 124px;
  height: 124px;
  border: 1px solid #c9dfd0;
  border-radius: 12px;
  background: #fff;
  object-fit: cover;
}

.query-guide-card {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.query-guide-card h3 {
  margin: 0;
  color: #1b5f43;
  font-size: 22px;
  line-height: 1.3;
}

.query-guide-card p {
  margin: 0;
  color: #668174;
  font-size: 14px;
  line-height: 1.8;
}

.query-guide-list {
  margin: 0;
  padding-left: 18px;
  color: #4f695a;
  font-size: 14px;
  line-height: 1.85;
}

.query-guide-list li + li {
  margin-top: 6px;
}

.content-hero-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #d6e5df;
}

.content-hero {
  min-height: 420px;
  padding: 128px 0 72px;
  background:
    linear-gradient(180deg, rgba(12, 56, 39, .34) 0%, rgba(12, 69, 47, .48) 100%),
    linear-gradient(90deg, rgba(17, 83, 57, .42) 0%, rgba(17, 83, 57, .16) 42%, rgba(17, 83, 57, .52) 100%),
    var(--content-hero-image, linear-gradient(120deg, #0f5a3f 0%, #2ebc87 100%));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.content-hero-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  color: #f7fbff;
}

.content-hero-title {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 52px);
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.15;
  text-shadow: 0 10px 26px rgba(6, 25, 45, .4);
}

.content-hero-sub {
  margin: 14px 0 0;
  max-width: 780px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(240, 248, 255, .92);
  text-shadow: 0 6px 18px rgba(10, 28, 46, .32);
}

.content-tabs-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #f5fbf7;
  border-bottom: 1px solid #d3e6da;
  position: sticky;
  top: 74px;
  z-index: 15;
}

.content-tabs {
  width: min(1200px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow-x: auto;
  padding: 0 2px;
  scrollbar-width: thin;
}

.content-tab {
  flex: 0 0 auto;
  height: 56px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  color: #557365;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  border-bottom: 3px solid transparent;
  transition: color .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.content-tab:hover,
.content-tab.active {
  color: #1e8a5d;
  border-bottom-color: #1e8a5d;
  box-shadow: inset 0 -1px 0 rgba(30, 138, 93, 0.14);
}

.content-main {
  width: min(1200px, 94%);
  margin: 0 auto;
  padding: 42px 0 60px;
  display: grid;
  gap: 26px;
}

.content-block {
  background: #fff;
  border: 1px solid #d7e9de;
  border-radius: 18px;
  padding: 34px 28px;
  box-shadow: 0 12px 30px rgba(20, 86, 59, .08);
  scroll-margin-top: 154px;
}

.content-block h2 {
  margin: 0;
  text-align: center;
  color: #1f5f43;
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .5px;
}

.content-block > p,
.content-lead {
  margin: 20px auto 0;
  max-width: 920px;
  color: #4f7062;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 400;
  text-align: center;
}

.content-grid-2,
.content-grid-3,
.content-grid-aside {
  margin-top: 24px;
  display: grid;
  gap: 20px;
}

.content-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-grid-aside {
  grid-template-columns: minmax(0, 1.32fr) minmax(280px, .88fr);
}

.content-note-card {
  border: 1px solid #d7e8de;
  border-radius: 16px;
  background: #f7fcf9;
  padding: 22px 18px;
}

.content-note-card h3 {
  margin: 0;
  color: #1f5f43;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
}

.content-note-card p {
  margin: 14px 0 0;
  color: #5a7669;
  font-size: 15px;
  line-height: 1.85;
}

.content-chip-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.content-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #d1e6d9;
  background: #f5fbf7;
  color: #2d6b4f;
  font-size: 13px;
  font-weight: 600;
}

.content-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.content-list li {
  color: #4f7062;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  padding-left: 18px;
  position: relative;
}

.content-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #79b096;
  position: absolute;
  left: 0;
  top: .85em;
}

.content-card-grid {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.content-card-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card-grid .card h3 {
  font-weight: 500;
}

.content-card-grid .card p,
.content-card-grid .card li {
  font-size: 14px;
  line-height: 1.8;
}

.content-actions-center {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr; }
  .query-layout,
  .query-result-shell {
    grid-template-columns: 1fr;
  }
  .content-grid-3,
  .content-grid-2,
  .content-grid-aside,
  .content-card-grid.cols-3,
  .content-card-grid.cols-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-inner { padding: 8px 0; align-items: flex-start; }
  .logo { font-size: 20px; }
  .top-slider,
  .top-slider .slide { min-height: 280px; }
  .top-slider-content { padding: 24px 16px; }
  .hero-body { padding: 30px 18px; }
  .section-body { padding: 16px 14px; }
  .section-title { font-size: 22px; }
  .slide { min-height: 230px; }
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .footer {
    padding: 14px 12px 16px;
    border-radius: 14px;
  }
  .footer > div:first-child {
    font-size: 12px;
    line-height: 1.7;
  }
  .footer .footer-provider {
    font-size: 11px;
    line-height: 1.6;
  }
  .footer .footer-record {
    height: 28px;
    padding: 0 10px;
  }
  .page-wrap {
    width: min(94%, 100%);
    margin: 12px auto 24px;
  }
  .query-panel,
  .query-guide-card,
  .query-result {
    padding: 14px;
    border-radius: 16px;
  }
  .query-title {
    font-size: 24px;
  }
  .query-form {
    grid-template-columns: 1fr;
  }
  .query-actions {
    flex-direction: column;
  }
  .query-actions .btn {
    width: 100%;
  }
  .query-detail-grid {
    grid-template-columns: 1fr;
  }
  .query-product-name {
    font-size: 22px;
  }
  .query-price-row strong {
    font-size: 24px;
  }
  .content-hero {
    min-height: 300px;
    padding: 96px 0 56px;
  }
  .content-hero-title {
    font-size: clamp(28px, 7vw, 40px);
  }
  .content-hero-sub {
    font-size: 14px;
    line-height: 1.7;
  }
  .content-tabs-wrap {
    top: 64px;
  }
  .content-tab {
    font-size: 13px;
    height: 48px;
    padding: 0 11px;
  }
  .content-main {
    padding-top: 26px;
    gap: 20px;
  }
  .content-block {
    padding: 22px 16px;
    scroll-margin-top: 128px;
  }
  .content-block h2 {
    font-size: 24px;
  }
  .content-block > p,
  .content-lead,
  .content-list li,
  .content-note-card p {
    font-size: 14px;
    line-height: 1.8;
  }
}
