/* ===== Base ===== */
:root {
  --blue: #4aa3d9;
  --blue-dark: #2f8fc7;
  --blue-side: #3b9ad0;
  --green: #43a06b;
  --green-dark: #368a5a;
  --nav-bg: #4ea8d8;
  --text: #2c333a;
  --muted: #7a848e;
  --line: #e6e6e6;
  --bg: #fff;
  --bg-alt: #f5f8fb;
  --footer-bg: #333c44;
  --max: 1140px;
  --radius: 8px;
  --shadow: 0 8px 24px rgba(28, 49, 68, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  color: var(--text);
  background: #eef3f7;
  line-height: 1.6;
  font-size: 14px;
}

main {
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

/* ===== Top util ===== */
.top-util {
  background: #fff;
  border-bottom: 1px solid #e7eef3;
}

.top-util-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-dot {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2f8fc7, #43a06b);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(47, 143, 199, 0.25);
}

.brand-mini strong {
  display: block;
  font-size: 16px;
  color: #243447;
  line-height: 1.2;
}

.brand-mini small {
  color: #8a949e;
  font-size: 12px;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: #66727d;
  font-size: 13px;
}

.top-links a:hover {
  color: var(--green-dark);
}

.top-links .link-strong {
  color: #fff;
  background: var(--green);
  padding: 6px 12px;
  border-radius: 16px;
}

.top-links .link-strong:hover {
  color: #fff;
  background: var(--green-dark);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 14px rgba(20, 40, 60, 0.08);
}

.nav-bar {
  background: linear-gradient(90deg, #3f9fd4, #4db3e0);
}

.nav-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}

.nav-item {
  color: #fff;
  padding: 14px 16px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  border-radius: 2px;
}

.nav-item:hover,
.nav-item.active {
  background: var(--green);
}

.nav-item.nav-settle {
  background: #2f8fc7;
}

.nav-item.nav-settle:hover,
.nav-item.nav-settle.active {
  background: #2478a8;
}

.nav-item.nav-mine {
  background: #e6a23c;
}

.nav-item.nav-mine:hover,
.nav-item.nav-mine.active {
  background: #cf8f2d;
}

.nav-item.nav-mall {
  background: #222;
}

.nav-item.nav-mall:hover {
  background: #000;
}

/* ===== Banner ===== */
.banner-slider {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #dfe8ee;
}

.banner-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.banner-slide.active {
  opacity: 1;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 230, 220, 0.35), rgba(40, 90, 70, 0.25));
}

.banner-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 64px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  color: #666;
  font-size: 32px;
  cursor: pointer;
  z-index: 2;
}

.banner-btn:hover {
  background: rgba(255, 255, 255, 0.6);
}

.banner-btn.prev {
  left: 0;
}

.banner-btn.next {
  right: 0;
}

.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.banner-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.banner-dots button.active {
  background: var(--green);
}

/* ===== Search ===== */
.search-section {
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 2px 10px rgba(20, 40, 60, 0.03);
}

.search-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  flex-wrap: wrap;
}

.hot-keywords {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hot-keywords .label {
  color: #555;
}

.hot-keywords a:hover {
  color: var(--green);
}

.search-form {
  display: flex;
  align-items: stretch;
}

.search-form input {
  width: 280px;
  max-width: 60vw;
  border: 1px solid #ddd;
  border-right: none;
  padding: 10px 12px;
  outline: none;
  border-radius: 4px 0 0 4px;
}

.search-form input:focus {
  border-color: var(--green);
}

.search-btn {
  width: 42px;
  border: none;
  border-radius: 0 4px 4px 0;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.search-btn:hover {
  background: var(--green-dark);
}

/* ===== Sections ===== */
.section {
  padding: 42px 0 28px;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  color: var(--green);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 2px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 2px;
}

.list-panel {
  display: grid;
  grid-template-columns: 56px 1fr;
  border: 1px solid #dce7ef;
  background: #fff;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.side-tab {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: linear-gradient(180deg, var(--blue-side), #2a7fb3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 4px;
  font-size: 15px;
  font-weight: 600;
}

.side-tab-green {
  background: linear-gradient(180deg, #4caf78, #2f8a57);
}

.list-main {
  min-width: 0;
}

.list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eef5fa;
  border-bottom: 1px solid #dce7ef;
  padding: 0 14px 0 0;
  height: 40px;
}

.list-head-green {
  background: #eef8f1;
  border-bottom-color: #d5eadc;
}

.list-tab {
  background: var(--blue);
  color: #fff;
  padding: 0 18px;
  height: 100%;
  display: inline-flex;
  align-items: center;
}

.list-head-green .list-tab {
  background: var(--green);
}

.more {
  color: var(--muted);
  font-size: 13px;
}

.more:hover {
  color: var(--green);
}

.list-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.list-item:last-child {
  border-bottom: none;
}

.thumb {
  overflow: hidden;
  border: 1px solid #eee;
  background: #f3f3f3;
  height: 96px;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.thumb:hover img {
  transform: scale(1.05);
}

.item-title {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 700;
}

.item-title a:hover {
  color: var(--green);
}

.item-desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ===== Service tabs & gallery ===== */
.service-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.service-tab {
  min-width: 140px;
  padding: 12px 28px;
  border: 1px solid #d0d7de;
  background: #f3f5f7;
  color: #333;
  cursor: pointer;
  border-radius: 2px;
  font-size: 16px;
}

.service-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.service-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 8px;
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  overflow: hidden;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: #eee;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  background: rgba(50, 50, 50, 0.65);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
}

.gallery-btn {
  border: none;
  background: transparent;
  color: #bbb;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  height: 80px;
}

.gallery-btn:hover {
  color: #888;
}

/* ===== Exhibit ===== */
.exhibit-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

.exhibit-feature {
  border: 1px solid var(--line);
  background: #fff;
  padding-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-cover {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #ddd;
}

.feature-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.date-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 8px 0 6px;
  line-height: 1.2;
}

.date-badge strong {
  display: block;
  font-size: 22px;
}

.date-badge span {
  font-size: 11px;
}

.exhibit-feature h3 {
  font-size: 16px;
  padding: 14px 14px 8px;
  line-height: 1.45;
}

.exhibit-feature .meta,
.exhibit-feature .desc {
  padding: 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.exhibit-feature .desc {
  margin: 8px 0 14px;
}

.btn-outline {
  display: inline-block;
  margin-left: 14px;
  padding: 6px 16px;
  border: 1px solid #ccc;
  color: #666;
  font-size: 13px;
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.exhibit-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.exhibit-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
}

.exhibit-row:last-child {
  border-bottom: none;
}

.date-col {
  text-align: center;
  color: #999;
  padding-top: 2px;
}

.date-col strong {
  display: block;
  font-size: 28px;
  color: #888;
  line-height: 1;
  font-weight: 600;
}

.date-col span {
  font-size: 12px;
}

.row-body h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.row-body h3 a:hover {
  color: var(--green);
}

.row-body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ===== Settle / Onboarding ===== */
.settle-section {
  background: linear-gradient(180deg, #f3f8fc 0%, #fff 40%);
}

.settle-lead {
  text-align: center;
  max-width: 820px;
  margin: -8px auto 28px;
  color: #555;
  font-size: 14px;
  line-height: 1.8;
}

.settle-lead strong {
  color: var(--blue-dark);
}

.settle-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.settle-card {
  background: #fff;
  border: 1px solid #dce7ef;
  padding: 22px 20px 20px;
  min-height: 220px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.settle-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(28, 49, 68, 0.1);
}

.settle-card h3 {
  font-size: 20px;
  margin: 8px 0 10px;
  color: #222;
}

.settle-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.settle-card ul {
  padding-left: 18px;
  color: #555;
  font-size: 13px;
}

.settle-card li {
  margin-bottom: 6px;
}

.settle-card-tag {
  display: inline-block;
  background: #e8f4fb;
  color: var(--blue-dark);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 2px;
}

.settle-card-accent {
  border-color: #b9e0c8;
  background: linear-gradient(180deg, #f4fbf7, #fff);
}

.settle-card-accent .settle-card-tag {
  background: #e5f6ec;
  color: var(--green-dark);
}

.btn-settle-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--green-dark);
  font-weight: 600;
}

.btn-settle-link:hover {
  color: var(--green);
}

.settle-sub-title {
  text-align: center;
  font-size: 18px;
  margin-bottom: 18px;
  color: #333;
}

.step-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.step-list li {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 14px;
  text-align: center;
}

.step-list span {
  display: block;
  color: var(--blue);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}

.step-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.step-list p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.settle-apply-box {
  border: 1px solid #d5e6f2;
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.settle-apply-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.settle-apply-head h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.settle-apply-head p {
  color: var(--muted);
  font-size: 13px;
}

.settle-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.settle-form input,
.settle-form select,
.settle-form textarea {
  width: 100%;
  border: 1px solid #ccd7e0;
  padding: 10px 12px;
  outline: none;
  background: #fff;
  color: #333;
}

.settle-form input:focus,
.settle-form select:focus,
.settle-form textarea:focus {
  border-color: var(--blue);
}

.settle-form textarea {
  resize: vertical;
  min-height: 84px;
  margin-bottom: 12px;
}

.settle-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #666;
  font-size: 13px;
  margin-bottom: 16px;
}

.settle-agree input {
  margin-top: 3px;
}

.settle-agree a {
  color: var(--blue-dark);
}

.settle-form .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-outline-dark {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid #999;
  color: #555;
  background: #fff;
}

.btn-outline-dark:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.settle-note {
  margin-top: 18px;
  padding: 14px 16px;
  background: #f7fafc;
  border-left: 3px solid var(--blue);
  color: #666;
  font-size: 13px;
  line-height: 1.7;
}

/* ===== Mall strip ===== */
.mall-strip {
  background: linear-gradient(90deg, #2f8fc7, #43a06b);
  color: #fff;
  padding: 28px 0;
}

.mall-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.mall-inner h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.mall-inner p {
  opacity: 0.92;
}

.mall-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-mall {
  background: #222;
  color: #fff;
  padding: 12px 22px;
  white-space: nowrap;
}

.btn-mall-light {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-mall-light:hover {
  background: rgba(255, 255, 255, 0.28);
}

.btn-mall:hover {
  background: #000;
}

/* ===== Footer panel ===== */
.footer-panel {
  background: var(--footer-bg);
  color: #e8e8e8;
}

.green-bar {
  height: 6px;
  background: var(--green);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.9fr;
  gap: 0;
  padding: 36px 0 40px;
}

.footer-col {
  padding: 0 24px;
}

.footer-col + .footer-col {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: 600;
}

.contact-col p {
  margin-bottom: 10px;
  color: #cfd3d6;
  font-size: 13px;
}

.publish-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.publish-form input,
.publish-form select,
.publish-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 10px 12px;
  outline: none;
}

.publish-form input::placeholder,
.publish-form textarea::placeholder {
  color: #9aa1a7;
}

.publish-form select {
  color: #cfd3d6;
}

.publish-form select option {
  color: #333;
}

.publish-form textarea {
  resize: vertical;
  min-height: 96px;
  margin-bottom: 12px;
}

.publish-form input:focus,
.publish-form select:focus,
.publish-form textarea:focus {
  border-color: var(--green);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.btn-submit {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 10px 28px;
  cursor: pointer;
}

.btn-submit:hover {
  background: var(--green-dark);
}

.links-col ul {
  list-style: none;
}

.links-col li {
  margin-bottom: 12px;
}

.links-col a {
  color: #d7dbde;
}

.links-col a:hover {
  color: #fff;
}

/* ===== Site footer / ICP ===== */
.site-footer {
  background: #262d33;
  color: #aeb4b9;
  text-align: center;
  padding: 18px 0 22px;
  font-size: 13px;
}

.site-footer p + p {
  margin-top: 6px;
}

.site-footer a {
  color: #c5ccd1;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .copy {
  font-size: 12px;
  color: #8b9298;
}

/* ===== Float tools ===== */
.float-tools {
  position: fixed;
  right: 16px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 90;
}

.float-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: #777;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.float-btn:hover {
  color: var(--green);
  border-color: var(--green);
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(40, 45, 50, 0.92);
  color: #fff;
  padding: 12px 20px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== Inner pages ===== */
.page-body {
  background: var(--bg-alt);
  min-height: 60vh;
}

.page-card {
  background: #fff;
  border: 1px solid var(--line);
  margin: 32px auto;
  padding: 32px 36px;
  max-width: 900px;
}

.page-card h1 {
  font-size: 24px;
  color: var(--green);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.page-card h2 {
  font-size: 16px;
  margin: 20px 0 10px;
}

.page-card p,
.page-card li {
  color: #555;
  line-height: 1.8;
  margin-bottom: 10px;
}

.page-card ul {
  padding-left: 20px;
}

.back-home {
  display: inline-block;
  margin-top: 20px;
  color: var(--blue-dark);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .banner-slider {
    height: 220px;
  }

  .settle-products {
    grid-template-columns: 1fr;
  }

  .step-list {
    grid-template-columns: 1fr 1fr;
  }

  .list-panel {
    grid-template-columns: 1fr;
  }

  .side-tab {
    writing-mode: horizontal-tb;
    padding: 10px;
    letter-spacing: 2px;
  }

  .list-item {
    grid-template-columns: 110px 1fr;
  }

  .gallery-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .exhibit-layout {
    grid-template-columns: 1fr;
  }

  .settle-form .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col + .footer-col {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
  }

  .nav-item {
    padding: 12px 12px;
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .top-util-inner {
    align-items: flex-start;
  }

  .step-list {
    grid-template-columns: 1fr;
  }

  .search-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .search-form input {
    width: 100%;
    max-width: none;
  }

  .list-item {
    grid-template-columns: 1fr;
  }

  .thumb {
    height: 160px;
  }

  .gallery-track {
    grid-template-columns: 1fr;
  }

  .publish-form .form-row {
    grid-template-columns: 1fr;
  }

  .service-tab {
    min-width: 0;
    flex: 1;
    padding: 10px 12px;
  }
}
