:root {
  --brand: #0A2B3E;
  --brand-deep: #061B28;
  --brand-light: #1A4560;
  --ink: #1A1A1A;
  --muted: #6B7280;
  --line: #E5E7EB;
  --soft: #F8FAFC;
  --accent: #D4AF37;
  --accent-light: #F0D870;
  --green: #059669;
  --green-light: #D1FAE5;
  --red: #DC2626;
  --red-light: #FEE2E2;
}

/* ============ Base ============ */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

main {
  flex: 1 0 auto;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ============ Navbar ============ */
.navbar {
  background: var(--brand) !important;
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.navbar .navbar-brand,
.navbar .nav-link {
  color: #fff !important;
}

.navbar .navbar-brand {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-icon {
  color: var(--accent);
}

.navbar .nav-link:hover,
.navbar .navbar-brand:hover {
  color: var(--accent) !important;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.36);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.navbar .btn-outline-success,
.navbar .btn-outline-secondary {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.72);
  --bs-btn-hover-bg: var(--accent);
  --bs-btn-hover-border-color: var(--accent);
  --bs-btn-hover-color: var(--ink);
}

.nav-user-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
}

/* ============ Bootstrap Overrides ============ */
.text-success { color: var(--brand) !important; }

.btn-success {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-light);
  --bs-btn-hover-border-color: var(--brand-light);
  --bs-btn-active-bg: var(--brand-deep);
  --bs-btn-active-border-color: var(--brand-deep);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
}

.btn-outline-success {
  --bs-btn-color: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand);
  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--brand-deep);
  --bs-btn-active-border-color: var(--brand-deep);
}

.page-link { color: var(--brand); }
.active > .page-link, .page-link.active {
  background-color: var(--brand);
  border-color: var(--brand);
}

/* ============ Hero Section ============ */
.hero-section {
  padding: 72px 0 56px;
  background:
    linear-gradient(160deg, rgba(10, 43, 62, 0.06) 0%, rgba(212, 175, 55, 0.1) 50%, rgba(10, 43, 62, 0.04) 100%),
    linear-gradient(180deg, #fff 0%, var(--soft) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 850;
  line-height: 1.25;
  color: var(--brand);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s ease;
  min-width: 280px;
  text-align: left;
  border: 2.5px solid transparent;
}

.hero-cta-primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.32);
}

.hero-cta-primary:hover {
  background: #fff;
  color: var(--brand);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.42);
  transform: translateY(-3px);
}

.hero-cta-outline {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 10px 28px rgba(10, 43, 62, 0.1);
}

.hero-cta-outline:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 16px 36px rgba(10, 43, 62, 0.2);
  transform: translateY(-3px);
}

.hero-cta-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.25);
}

.hero-cta-outline .hero-cta-icon {
  background: rgba(10, 43, 62, 0.06);
}

.hero-cta-primary:hover .hero-cta-icon {
  background: rgba(212, 175, 55, 0.18);
}

.hero-cta-outline:hover .hero-cta-icon {
  background: rgba(255, 255, 255, 0.15);
}

.hero-cta-body {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hero-cta-label {
  font-size: 1.15rem;
  font-weight: 750;
}

.hero-cta-sub {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.72;
  margin-top: 3px;
}

/* ============ Category Grid ============ */
.category-section {
  padding: 52px 0 40px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  transition: all 0.22s ease;
}

.category-card:hover {
  color: var(--ink);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.15);
  transform: translateY(-3px);
}

.category-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  color: var(--brand);
  background: linear-gradient(135deg, rgba(10, 43, 62, 0.06), rgba(212, 175, 55, 0.12));
  border-radius: 14px;
  padding: 10px;
  transition: all 0.22s ease;
}

.category-card:hover .category-icon {
  color: var(--accent);
  background: linear-gradient(135deg, rgba(10, 43, 62, 0.12), rgba(212, 175, 55, 0.22));
}

.category-icon svg {
  width: 100%;
  height: 100%;
}

.category-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 4px;
}

.category-desc {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ============ Trust Section ============ */
.trust-section {
  padding: 44px 0 48px;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.trust-item {
  text-align: center;
  padding: 28px 20px;
}

.trust-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  color: var(--green);
  background: var(--green-light);
  border-radius: 50%;
  padding: 11px;
}

.trust-icon svg {
  width: 100%;
  height: 100%;
}

.trust-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ============ Section Headings ============ */
.page-header {
  padding: 40px 0;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  font-weight: 750;
  margin-bottom: 6px;
}

.page-header p {
  color: var(--muted);
  margin-bottom: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: 1.55rem;
  font-weight: 750;
  margin: 0 0 4px;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
  font-size: 0.92rem;
}

/* ============ Cards ============ */
.lead-card,
.article-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lead-card {
  padding: 20px;
}

.lead-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
  background: var(--soft);
}

.lead-card-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  margin-bottom: 14px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lead-card-placeholder svg {
  width: 48px;
  height: 48px;
}

.lead-detail-image {
  width: min(100%, 560px);
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
}

/* Next-lead navigation bar */
.next-lead-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  background: linear-gradient(135deg, #FFFDF5, #FFF9E6);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.next-lead-bar:hover {
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 4px 16px rgba(10, 43, 62, 0.06);
}
.next-lead-label {
  font-weight: 600;
  color: #6B7280;
  white-space: nowrap;
}
.next-lead-link {
  flex: 1;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.next-lead-link:hover {
  color: var(--gold, #D4AF37);
}
.next-lead-arrow {
  font-size: 1.2rem;
  color: var(--gold, #D4AF37);
  font-weight: 700;
}

.lead-card:hover,
.article-card:hover {
  color: var(--ink);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 14px 32px rgba(10, 43, 62, 0.1);
  transform: translateY(-2px);
}

.lead-card h3,
.article-card h2,
.article-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
}

.article-card img,
.article-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--soft);
}

.article-card-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-card-placeholder svg {
  width: 40px;
  height: 40px;
}

.article-card p {
  color: var(--muted);
}

.article-band {
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.category-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  background: rgba(212, 175, 55, 0.16);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
}

/* ============ Filter Bar ============ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

/* ============ Panels ============ */
.content-panel,
.contact-panel,
.metric-card,
.login-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(10, 43, 62, 0.04);
}

.content-panel,
.contact-panel {
  padding: 24px;
}

.contact-panel {
  position: sticky;
  top: 86px;
}

.detail-list dt {
  color: var(--muted);
}

.pre-line {
  white-space: pre-line;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 32px 28px;
  color: var(--muted);
  background: #fff;
  text-align: center;
}

.empty-state a {
  font-weight: 600;
}

/* ============ Article Content ============ */
.article-content {
  max-width: 860px;
}

.article-content h2,
.article-content h3 {
  margin-top: 1.5em;
  font-weight: 750;
}

.article-content p,
.article-content li {
  line-height: 1.85;
}

.article-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--soft);
}

/* ============ Admin ============ */
.admin-login-wrap {
  min-height: calc(100vh - 140px);
  display: grid;
  place-items: center;
  padding: 48px 16px;
  background: var(--soft);
}

.login-card {
  width: min(420px, 100%);
  padding: 28px;
}

.metric-card {
  padding: 20px;
}

.metric-card span {
  color: var(--muted);
}

.metric-card strong {
  display: block;
  font-size: 2rem;
  margin-top: 8px;
  color: var(--brand-deep);
}

.markdown-editor {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.shelf-life-unit {
  max-width: 96px;
}

/* ============ Service Contact Panel ============ */
.service-contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 2px solid var(--accent);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(10, 43, 62, 0.96), rgba(10, 43, 62, 0.88));
  color: #fff;
}

.service-contact-panel h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 800;
}

.service-contact-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.service-contact-panel strong {
  color: var(--accent);
  font-size: 1.2em;
}

.service-contact-panel img {
  width: 148px;
  height: 148px;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: 8px;
  background: #fff;
}

.submit-layout .service-contact-panel {
  position: sticky;
  top: 86px;
  flex-direction: column;
  align-items: flex-start;
}

.submit-layout .service-contact-panel img {
  width: min(100%, 220px);
  height: auto;
  aspect-ratio: 1 / 1;
  align-self: center;
}

/* ============ Floating Contact ============ */
.floating-contact {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 1040;
  transform: translateY(-50%);
  outline: none;
}

.floating-contact-tab {
  min-width: 48px;
  padding: 14px 10px;
  border-radius: 8px 0 0 8px;
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(10, 43, 62, 0.18);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  writing-mode: vertical-rl;
  letter-spacing: 0;
}

.floating-contact-panel {
  position: absolute;
  right: 48px;
  top: 50%;
  width: 230px;
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(10, 43, 62, 0.2);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translate(12px, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-contact:hover .floating-contact-panel,
.floating-contact:focus-within .floating-contact-panel,
.floating-contact:focus .floating-contact-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.floating-contact-panel h2 {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 1.1rem;
  font-weight: 800;
}

.floating-contact-panel p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.floating-contact-panel strong {
  color: var(--brand);
}

.floating-contact-panel img {
  display: block;
  width: 150px;
  height: 150px;
  margin: 12px auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.floating-contact-panel .phone-img {
  display: inline-block;
  width: auto;
  height: 22px;
  margin: 0;
  border: none;
  border-radius: 0;
  object-fit: contain;
  vertical-align: middle;
}

.contact-phone-line {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-phone-line span {
  vertical-align: middle;
}

.phone-img {
  vertical-align: middle;
}

/* 防止浮动面板撑开超出 */
.floating-contact-panel .contact-phone-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}}

/* ============ Back to Top ============ */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 28px;
  z-index: 1030;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 6px 20px rgba(10, 43, 62, 0.12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.28);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* ============ Footer ============ */
.site-footer {
  margin-top: auto !important;
  background: var(--brand);
  color: rgba(255, 255, 255, 0.72);
  padding: 28px 0;
}

.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.52);
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
}

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

.footer-divider {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.25);
}

/* ============ Article Row (Left Image Right Text) ============ */
.article-list-horizontal {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-row {
  display: flex;
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.22s ease;
}

.article-row:hover {
  color: var(--ink);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 8px 24px rgba(10, 43, 62, 0.08);
  transform: translateY(-2px);
}

.article-row-image {
  flex-shrink: 0;
  width: 200px;
  height: 130px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
}

.article-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-row-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
}

.article-row-placeholder svg {
  width: 36px;
  height: 36px;
}

.article-row-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-row-body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--brand);
}

.article-row-body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 8px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-row-date {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ============ Recycle Page ============ */
.recycle-intro {
  border-left: 4px solid var(--accent);
}

.recycle-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
  color: var(--ink);
}

.recycle-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recycle-step {
  display: flex;
  gap: 20px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: all 0.22s ease;
}

.recycle-step:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.1);
}

.recycle-step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recycle-step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--brand);
}

.recycle-step-content p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.recycle-advantages {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.recycle-adv-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.6;
}

.recycle-adv-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.recycle-cta-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 4px;
}

.recycle-contact-info {
  font-size: 0.95rem;
  color: var(--muted);
}

.recycle-contact-info strong {
  color: var(--brand);
}

.recycle-contact-info .phone-img {
  display: inline-block;
  width: auto;
  height: 22px;
  margin: 0;
  border: none;
  border-radius: 0;
  object-fit: contain;
  vertical-align: middle;
}

/* ============ Location Autocomplete ============ */
.location-autocomplete-input {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
}

.location-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  z-index: 1050;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-top: 2px;
}

.location-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.93rem;
  color: var(--ink);
  transition: background 0.15s;
  border-bottom: 1px solid #f3f4f6;
}

.location-dropdown-item:last-child {
  border-bottom: none;
}

.location-dropdown-item:hover,
.location-dropdown-item.active {
  background: #f0f7ff;
  color: var(--brand);
}

.location-dropdown-province {
  font-size: 0.78rem;
  color: var(--muted);
  flex-shrink: 0;
  margin-left: 12px;
}

.location-dropdown-item.active .location-dropdown-province {
  color: var(--brand-light);
}

.location-dropdown-hint {
  padding: 7px 14px;
  font-size: 0.78rem;
  color: var(--muted);
  background: #f9fafb;
  border-bottom: 1px solid var(--line);
  line-height: 1.4;
}

.location-dropdown-empty {
  padding: 14px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.location-dropdown-empty strong {
  color: var(--ink);
}

.location-match {
  background: #fef3c7;
  color: var(--brand);
  padding: 1px 2px;
  border-radius: 2px;
  font-weight: 600;
}

/* ============ Responsive ============ */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 52px 0 40px;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-cta {
    min-width: 240px;
  }

  .category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .category-card {
    padding: 18px 10px 14px;
  }

  .category-icon {
    width: 44px;
    height: 44px;
    padding: 8px;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 40px 0 36px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .hero-cta {
    min-width: 0;
    width: 100%;
    padding: 20px 24px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 360px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .contact-panel {
    position: static;
  }

  .service-contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .submit-layout .service-contact-panel {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .floating-contact {
    right: 10px;
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .floating-contact-tab {
    min-width: 0;
    padding: 10px 12px;
    border-radius: 8px;
    writing-mode: horizontal-tb;
  }

  .floating-contact-panel {
    right: 0;
    top: auto;
    bottom: 48px;
    width: min(230px, calc(100vw - 24px));
    transform: translateY(8px);
  }

  .floating-contact:hover .floating-contact-panel,
  .floating-contact:focus-within .floating-contact-panel,
  .floating-contact:focus .floating-contact-panel {
    transform: translateY(0);
  }

  .back-to-top {
    right: 14px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }

  .site-footer {
    padding: 32px 0 0;
  }

  .article-row {
    flex-direction: column;
    gap: 14px;
  }

  .article-row-image {
    width: 100%;
    height: 180px;
  }

  .recycle-step {
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
  }

  .recycle-step-num {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 1.2rem;
  }
}

/* ============ Contact Banner (Submit Page) ============ */
.contact-banner {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  padding: 20px 0;
  border-bottom: 3px solid var(--accent, #d4af37);
}

.contact-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-banner-text h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent, #d4af37);
  margin: 0 0 6px;
}

.contact-banner-text .contact-phone {
  font-size: 1.05rem;
  color: #fff;
  margin: 0;
}

.contact-banner-text .contact-phone strong {
  color: var(--accent, #d4af37);
  letter-spacing: 0.5px;
}

.contact-banner-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.contact-banner-qr img {
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: #fff;
  padding: 4px;
}

.contact-banner-qr .qr-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 767.98px) {
  .contact-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .contact-banner-text h2 {
    font-size: 1rem;
  }

  .contact-banner-text .contact-phone {
    font-size: 0.95rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.3rem;
  }

  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 28px;
  }

  .hero-cta-label {
    font-size: 1rem;
  }

  .hero-cta {
    padding: 16px 20px;
    gap: 12px;
  }

  .hero-cta-icon {
    width: 40px;
    height: 40px;
  }

  .hero-cta-icon svg {
    width: 22px;
    height: 22px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .category-card {
    padding: 16px 8px 12px;
  }

  .category-name {
    font-size: 0.9rem;
  }

  .category-desc {
    font-size: 0.72rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============ Favorite Button ============ */
.favorite-toggle-form button {
  font-weight: 600;
  transition: all 0.2s;
}
.favorite-toggle-form .favorite-active {
  color: #fff;
}

/* ============ Quick Links Row (Contact Page) ============ */
.quick-links-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.quick-links-row .btn {
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  text-align: center;
}

@media (max-width: 767.98px) {
  .quick-links-row {
    flex-direction: column;
    align-items: stretch;
  }
  .quick-links-row .btn {
    max-width: none;
  }
}

/* ============ Cover Image Upload ============ */
.cover-upload-area {
  max-width: 500px;
}

.upload-zone {
  border: 2px dashed var(--line);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  background: var(--soft);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-zone.drag-over {
  border-color: var(--accent);
  background: rgba(212, 175, 55, 0.06);
}

.upload-placeholder {
  cursor: pointer;
  color: var(--muted);
}

.upload-placeholder svg {
  color: var(--muted);
  transition: color 0.2s;
}

.upload-placeholder:hover svg {
  color: var(--brand);
}

.upload-placeholder p {
  color: var(--ink);
  font-size: 0.95rem;
}

.upload-placeholder small {
  font-size: 0.78rem;
}

.upload-preview {
  width: 100%;
}

.upload-preview img {
  max-width: 100%;
  max-height: 220px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

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


