/* ===========================================================
   51.CA / 加国无忧  —  About site clone
   Shared stylesheet
   =========================================================== */

:root {
  --brand:        #15a86d;   /* 51.ca teal-green */
  --brand-dark:   #0f8a58;
  --brand-soft:   #e8f6ef;
  --ink:          #1f2937;
  --ink-soft:     #4b5563;
  --muted:        #8a93a0;
  --line:         #e8eaed;
  --bg:           #ffffff;
  --bg-alt:       #f6f8f9;
  --footer-bg:    #2b2f33;
  --footer-ink:   #b7bcc2;
  --footer-line:  #3c4147;
  --maxw:         1160px;
  --nav-h:        66px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
               "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== Top navigation ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .5px;
}
.brand img { height: 30px; width: auto; }
.brand .logo-text {
  font-size: 22px;
  color: var(--brand);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.brand .logo-text b { font-weight: 900; }
.brand .logo-text span { font-size: 13px; color: var(--ink-soft); font-weight: 600; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-menu a:hover { color: var(--brand); background: var(--brand-soft); }
.nav-menu a.active { color: var(--brand); font-weight: 700; }

.nav-toggle { display: none; }

/* ===================== Sub / anchor nav ===================== */
.subnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.subnav .container {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.subnav a {
  padding: 14px 18px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.subnav a:hover { color: var(--brand); }
.subnav a.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }

/* ===================== Floating section rail ===================== */
.section-rail {
  position: fixed;
  right: 26px; top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex; flex-direction: column;
  gap: 18px;
  align-items: flex-end;
}
.section-rail a {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted);
  cursor: pointer;
}
.section-rail .rail-label {
  font-size: 13px; font-weight: 600; letter-spacing: .5px;
  opacity: 0; transform: translateX(6px);
  transition: opacity .2s, transform .2s, color .2s;
  white-space: nowrap;
}
.section-rail .rail-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line);
  border: 2px solid transparent;
  box-shadow: 0 0 0 4px transparent;
  transition: background .2s, transform .2s, box-shadow .2s;
  flex: none;
}
.section-rail a:hover .rail-label { opacity: 1; transform: translateX(0); color: var(--ink-soft); }
.section-rail a:hover .rail-dot { background: var(--brand); transform: scale(1.1); }
.section-rail a.active .rail-dot {
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(21,168,109,.16);
}
.section-rail a.active .rail-label { opacity: 1; transform: translateX(0); color: var(--brand); }
@media (max-width: 1040px) { .section-rail { display: none; } }

/* ===================== Page tabs (segmented) ===================== */
.page-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin: 0 auto 8px;
  position: relative;
  left: 50%; transform: translateX(-50%);
}
.page-tabs a {
  padding: 9px 26px;
  font-size: 15px; font-weight: 600;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: background .15s, color .15s;
}
.page-tabs a:hover { color: var(--brand); }
.page-tabs a.active { background: var(--brand); color: #fff; }

/* ===================== Legal page header ===================== */
.legal-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.legal-side {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-side .ls-cap {
  font-size: 12.5px;
  letter-spacing: 2px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 10px;
  padding-left: 17px;
}
.legal-side a {
  padding: 9px 14px;
  font-size: 15px;
  color: var(--ink-soft);
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  transition: color .15s, background .15s, border-color .15s;
}
.legal-side a:hover { color: var(--brand); background: var(--brand-soft); }
.legal-side a.active {
  color: var(--brand);
  font-weight: 700;
  background: var(--brand-soft);
  border-left-color: var(--brand);
}
.legal-main { min-width: 0; }
.legal-main .legal-wrap { margin: 0; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-side { position: static; flex-direction: row; align-items: center; gap: 8px; }
  .legal-side .ls-cap { display: none; }
  .legal-side a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 20px;
    font-size: 14px;
  }
  .legal-side a.active {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
  }
}
.legal-head {
  max-width: 860px;
  margin: 0 0 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.legal-head .lh-title h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0 0 12px;
}
.legal-head .lh-title .rule {
  width: 46px; height: 3px;
  background: var(--brand);
  border-radius: 3px;
}
.legal-head .lh-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 2px;
}
.legal-head .page-tabs {
  left: auto;
  transform: none;
  margin: 0;
}
.lang-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.lang-mini a {
  color: var(--muted);
  font-weight: 600;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}
.lang-mini a:hover { color: var(--brand); }
.lang-mini a.on { color: var(--brand); border-bottom-color: var(--brand); }
.lang-mini .sep { width: 1px; height: 14px; background: var(--line); }

/* ===================== Section scaffolding ===================== */
.section { padding: 76px 0; scroll-margin-top: calc(var(--nav-h) + 24px); }
.section--alt { background: var(--bg-alt); }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: 1px;
}
.section-head .rule {
  width: 46px; height: 3px;
  background: var(--brand);
  margin: 0 auto;
  border-radius: 3px;
}
.section-head p { color: var(--muted); margin: 14px 0 0; font-size: 15px; }

/* ===================== Hero (home) ===================== */
.hero {
  background: linear-gradient(160deg, #0f8a58 0%, #15a86d 55%, #1bbf7c 100%);
  color: #fff;
}
.hero .container {
  padding-top: 70px; padding-bottom: 70px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: 40px; line-height: 1.3; margin: 0 0 18px; font-weight: 800; }
.hero p { font-size: 17px; color: rgba(255,255,255,.92); margin: 0 0 12px; }
.hero .hero-stats {
  display: flex; gap: 36px; margin-top: 30px;
}

/* centered text-only hero variant */
.hero--center .container {
  grid-template-columns: 1fr;
  text-align: center;
  padding-top: 84px; padding-bottom: 84px;
}
.hero--center .hero-copy { max-width: 800px; margin: 0 auto; }
.hero--center .hero-stats { justify-content: center; gap: 56px; }

/* full-bleed image hero (light geometric background) */
.hero--image {
  position: relative;
  min-height: 440px;
  display: flex;
  overflow: hidden;
  background: #fff;
}
.hero--image .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero--image .hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
}
.hero--image .container {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  padding-top: 56px; padding-bottom: 56px;
  max-width: var(--maxw);
}
.hero-lockup { max-width: 760px; }
.hero-kicker {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: 4px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.hero-kicker .k-line { width: 38px; height: 1px; background: var(--ink-soft); opacity: .45; }
.hero-title {
  margin: 0;
  font-size: 60px; line-height: 1.18; font-weight: 800;
  color: var(--ink);
  letter-spacing: 4px;
}
.hero-brand {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 22px;
  font-size: 20px; font-weight: 700; letter-spacing: 6px;
  color: var(--ink-soft);
}
.hero-brand .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-soft); opacity: .6; }

/* about-us banner (in-section, if used) */
.about-banner {
  margin: 0 0 40px;
  border-radius: 14px;
  overflow: hidden;
}
.about-banner img { width: 100%; height: auto; display: block; }
.hero .hero-stats .num { font-size: 30px; font-weight: 800; }
.hero .hero-stats .lbl { font-size: 13px; color: rgba(255,255,255,.8); }
.hero-img {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  border: 4px solid rgba(255,255,255,.18);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===================== About prose ===================== */
.prose { max-width: 820px; margin: 0 auto; }
.prose p { margin: 0 0 20px; color: var(--ink-soft); font-size: 16.5px; }
.prose a { color: var(--brand); }
.prose a:hover { text-decoration: underline; }

/* ===================== Timeline (大事记) ===================== */
.timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 120px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.tl-item {
  position: relative;
  padding: 0 0 38px 160px;
}
.tl-item .year {
  position: absolute;
  left: 0; top: 0;
  width: 96px;
  text-align: right;
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
}
.tl-item .dot {
  position: absolute;
  left: 114px; top: 7px;
  width: 14px; height: 14px;
  background: #fff;
  border: 3px solid var(--brand);
  border-radius: 50%;
  z-index: 1;
}
.tl-entry { margin-bottom: 16px; }
.tl-entry:last-child { margin-bottom: 0; }
.tl-entry .when {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  padding: 1px 9px;
  border-radius: 20px;
  margin-right: 8px;
  vertical-align: middle;
}
.tl-entry .ttl { font-weight: 700; font-size: 16.5px; }
.tl-entry .desc { color: var(--ink-soft); font-size: 15px; margin-top: 4px; }

/* ===================== Product grid ===================== */
.product-block { margin-bottom: 46px; }
.product-block:last-child { margin-bottom: 0; }
.product-block > h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 20px;
  padding-left: 12px;
  border-left: 4px solid var(--brand);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(21,168,109,.12);
  border-color: var(--brand);
}
.product-card .name {
  font-size: 17px; font-weight: 800; margin-bottom: 6px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.product-card .name::after {
  content: "";
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2315a86d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
  transition: background-color .18s, transform .18s;
}
.product-card:hover .name::after {
  background-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
  transform: translateX(3px);
}
.product-card .blurb { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ===================== WeChat / QR cards ===================== */
.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 880px;
  gap: 20px;
  margin-top: 8px;
}
.qr-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 16px;
}
.qr-card img { width: 130px; height: 130px; margin: 0 auto 14px; border-radius: 6px; }
.qr-card .name { font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.qr-card .blurb { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* ===================== Culture: vision/values ===================== */
.vmv-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 920px;
  margin: 0 auto 56px;
}
.vmv-item {
  text-align: center;
  padding: 10px 40px;
}
.vmv-item + .vmv-item { border-left: 1px solid var(--line); }
.vmv-item .k {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 14px;
}
.vmv-item .v {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.65;
}

.values-strip {
  max-width: 1060px;
  margin: 0 auto;
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 36px 40px;
  text-align: center;
}
.values-strip .vs-cap {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 26px;
}
.values-strip .vs-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.vs-item { padding: 0 22px; }
.vs-item + .vs-item { border-left: 1px solid var(--line); }
.vs-item .vt {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}
.vs-item .vd {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ===================== Events gallery ===================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.event-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.event-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.10); }
.event-card .thumb { aspect-ratio: 16/10; background: var(--bg-alt); overflow: hidden; }
.event-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.event-card .meta { padding: 16px 18px; }
.event-card .meta .t { font-weight: 700; font-size: 15px; line-height: 1.5; }
.event-card .meta .d { font-size: 13px; color: var(--muted); margin-top: 6px; }
.section-note { max-width: 820px; margin: 36px auto 0; color: var(--ink-soft); font-size: 15px; text-align: center; }

/* ===================== Lightbox ===================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17, 22, 27, .88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s, visibility .22s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox .lb-figure {
  margin: 0;
  max-width: min(1100px, 90vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(.96);
  transition: transform .22s;
}
.lightbox.open .lb-figure { transform: scale(1); }
.lightbox img {
  max-width: 100%;
  max-height: calc(88vh - 50px);
  width: auto; height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  cursor: default;
}
.lightbox .lb-cap {
  color: rgba(255,255,255,.85);
  font-size: 14px;
  text-align: center;
}
.lightbox .lb-close {
  position: absolute;
  top: 22px; right: 30px;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s;
}
.lightbox .lb-close:hover { background: rgba(255,255,255,.24); }

/* ===================== Mediakit ===================== */
.mk-hero {
  position: relative;
  background: linear-gradient(135deg, #11a05e 0%, #15a86d 60%, #18b271 100%);
  border-radius: 16px;
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  overflow: hidden;
  color: #fff;
}
.mk-facets {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 52%;
  background: url("../assets/mk-facets.png") left center / cover no-repeat;
  pointer-events: none;
}
.mk-copy { position: relative; padding-left: 32px; min-width: 0; text-shadow: 0 2px 14px rgba(10, 90, 55, .35); }
.mk-kicker { font-size: 20px; letter-spacing: 6px; color: rgba(255,255,255,.92); margin-bottom: 8px; }
.mk-title {
  margin: 0 0 10px;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 8px;
  line-height: 1.25;
  white-space: nowrap;
  text-shadow: 0 3px 18px rgba(10, 90, 55, .45), 0 1px 3px rgba(10, 90, 55, .3);
}
.mk-comma { letter-spacing: 14px; }
.mk-sub { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.85); letter-spacing: .5px; }
.mk-actions { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.mk-brandmark {
  font-size: 24px; font-weight: 900; letter-spacing: 1px;
  margin-right: 8px;
  font-style: italic;
}
.mk-brandmark b { font-weight: 900; }
.mk-pill {
  padding: 8px 26px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.45);
  color: #fff; font-size: 14px; font-weight: 600;
  transition: background .15s, color .15s;
}
.mk-pill:hover { background: #fff; color: var(--brand-dark); }
.mk-card {
  position: relative;
  flex: none;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  gap: 22px;
  box-shadow: 0 16px 40px rgba(0,0,0,.16);
}
.mk-group + .mk-group { margin-top: 16px; }
.mk-group h4 { margin: 0 0 6px; font-size: 14.5px; font-weight: 800; }
.mk-group p { margin: 2px 0; font-size: 13.5px; color: var(--ink-soft); }
.mk-group a { color: var(--brand); font-weight: 600; }
.mk-group a:hover { text-decoration: underline; }
.mk-card-qr { text-align: center; flex: none; }
.mk-card-qr img { width: 108px; height: 108px; margin: 0 auto 8px; }
.mk-card-qr .cap { font-size: 12px; color: var(--muted); line-height: 1.5; }
@media (max-width: 1180px) {
  .mk-title { font-size: 36px; letter-spacing: 5px; }
  .mk-copy { padding-left: 16px; }
}
@media (max-width: 1024px) {
  .mk-hero { flex-direction: column; align-items: stretch; padding: 40px 32px; }
  .mk-copy { padding-left: 0; }
  .mk-title { white-space: normal; }
  .mk-facets { display: none; }
  .mk-card { align-self: stretch; justify-content: space-between; }
}
@media (max-width: 560px) {
  .mk-card { flex-direction: column; align-items: stretch; }
  .mk-card-qr { padding-top: 4px; border-top: 1px dashed var(--line); }
  .mk-card-qr img { margin-top: 12px; }
}
.mediakit-hero img { width: 100%; border-radius: 14px; }
.lang-switch { display: flex; gap: 12px; justify-content: center; margin: 28px 0 40px; }
.lang-switch a {
  padding: 9px 26px; border: 1px solid var(--brand); border-radius: 30px;
  color: var(--brand); font-weight: 600; font-size: 15px; transition: all .15s;
}
.lang-switch a:hover { background: var(--brand); color: #fff; }
.lang-switch a.on { background: var(--brand); color: #fff; }

.contact-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto 44px;
}
.contact-box {
  border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; background: #fff;
}
.contact-box h4 { margin: 0 0 12px; font-size: 16px; }
.contact-box p { margin: 4px 0; color: var(--ink-soft); font-size: 15px; }
.contact-box a { color: var(--brand); }

.price-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; max-width: 900px; margin: 0 auto;
}
.price-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 26px 20px; text-align: center;
  transition: transform .15s, box-shadow .15s, border-color .15s; background:#fff;
}
.price-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(21,168,109,.12); border-color: var(--brand); }
.price-card .pi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  margin-bottom: 16px;
}
.price-card .pi svg { width: 30px; height: 30px; }
.price-card .pt { font-size: 17px; font-weight: 800; margin-bottom: 14px; }
.price-card .pl {
  display: inline-block;
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
  padding: 5px 18px;
  border: 1.5px solid var(--brand);
  border-radius: 999px;
  transition: background .15s, color .15s;
}
.price-card:hover .pl { background: var(--brand); color: #fff; }

.qr-inline { text-align:center; margin: 20px auto; }
.qr-inline img { width: 150px; height: 150px; margin: 0 auto 10px; }
.qr-inline .cap { font-size: 13px; color: var(--muted); }

/* ===================== Contact ===================== */
.contact-wrap { max-width: 900px; margin: 0 auto; }
.contact-lead {
  background: var(--brand-soft);
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 40px;
}
.contact-lead h4 { margin: 0 0 10px; font-size: 17px; }
.contact-lead p { margin: 6px 0; color: var(--ink-soft); }
.contact-detail-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start;
}
.addr-block .addr { font-size: 17px; line-height: 1.9; font-weight: 600; }
.addr-block .floor { color: var(--muted); font-size: 14px; }
.addr-block .map-link { display:inline-block; margin-top: 12px; color: var(--brand); font-weight: 600; }
.tel-list { margin-top: 26px; }
.tel-list .row { display:flex; justify-content:space-between; max-width: 360px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.tel-list .row .k { color: var(--muted); }
.tel-list .row .v { font-weight: 600; }
.email-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin-top: 18px; max-width: 520px; }
.email-grid .row { display:flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.email-grid .row .k { color: var(--muted); }
.email-grid .row .v { color: var(--brand); font-weight: 600; }
.hours-box { margin-top: 24px; padding: 18px 22px; background: var(--bg-alt); border-radius: 12px; }
.hours-box .note { color: #c0392b; font-weight: 600; margin-top: 6px; }
.service-qr { text-align:center; }
.service-qr img { width: 170px; height: 170px; margin: 0 auto 10px; border: 1px solid var(--line); border-radius: 10px; }
.service-qr .cap { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ===================== Contact: map + info cards ===================== */
.map-band {
  position: relative;
  margin-top: 28px;
}
.map-embed {
  display: block;
  position: relative;
  z-index: 0;
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-alt);
  filter: saturate(.85) contrast(.92) brightness(1.03);
}
.map-card { z-index: 10; }
.brand-pin { position: relative; }
.brand-pin .bp-dot {
  position: absolute; inset: 2px;
  background: var(--brand);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.brand-pin .bp-pulse {
  position: absolute; inset: -10px;
  border-radius: 50%;
  background: rgba(21,168,109,.25);
  animation: bp-pulse 2s ease-out infinite;
}
@keyframes bp-pulse {
  0% { transform: scale(.5); opacity: .9; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .brand-pin .bp-pulse { animation: none; opacity: .4; } }
.map-card {
  position: absolute;
  left: 28px; top: 28px;
  background: #fff;
  border-radius: 14px;
  padding: 24px 26px;
  max-width: 320px;
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}
.map-card .mc-kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: 2px;
  color: var(--brand); margin-bottom: 8px;
}
.map-card .mc-addr { font-size: 16px; font-weight: 700; line-height: 1.6; }
.map-card .mc-floor { font-size: 13px; color: var(--muted); margin-top: 4px; }
.map-card .mc-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 7px 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff; font-size: 13.5px; font-weight: 600;
  transition: background .15s;
}
.map-card .mc-btn:hover { background: var(--brand-dark); }

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
}
.info-card h4 {
  margin: 0 0 14px;
  font-size: 15.5px; font-weight: 800;
  padding-left: 10px;
  border-left: 3px solid var(--brand);
}
.info-card .row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.info-card .row:last-of-type { border-bottom: 0; }
.info-card .row .k { color: var(--muted); flex: none; }
.info-card .row .v { font-weight: 600; text-align: right; }
.info-card .row .v a { color: var(--brand); }
.info-card .row .v a:hover { text-decoration: underline; }
.info-card .ic-note { margin: 10px 0 0; font-size: 13px; color: #c0392b; font-weight: 600; }
/* —— 提示条 —— */
.notice-bar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 102, 0, .10);
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.notice-bar svg {
  width: 17px; height: 17px;
  flex: none;
  margin-top: 4px;
  color: #ff6600;
}
.notice-bar b { color: #e65c00; }

/* —— 通栏地图 —— */
.section--lead { padding-bottom: 44px; }
.section--cards { padding-top: 56px; }
.map-full { margin-top: 0; }
.map-full .map-embed {
  height: 340px;
  border-radius: 0;
}
.map-card-wrap {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--maxw);
  height: 100%;
  padding: 0 24px;
  pointer-events: none;
  z-index: 10;
}
.map-card-wrap .map-card {
  position: absolute;
  left: 24px; top: 40px;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .info-cards { grid-template-columns: 1fr; }
  .map-card-wrap { position: static; transform: none; padding: 0 24px; pointer-events: auto; }
  .map-card-wrap .map-card {
    position: relative;
    left: 0; top: 0;
    z-index: 10;
    margin: -56px 0 0;
    max-width: none;
  }
  .map-full .map-embed { height: 240px; border-radius: 0; }
}

/* ===================== Legal / privacy prose ===================== */
.legal-wrap { max-width: 860px; margin: 0 auto; }
.legal-wrap h3 { font-size: 21px; margin: 40px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.legal-wrap h4 { font-size: 17px; margin: 26px 0 10px; }
.legal-wrap p, .legal-wrap li { color: var(--ink-soft); font-size: 15.5px; }
.legal-wrap ol, .legal-wrap ul { padding-left: 22px; }
.legal-wrap li { margin: 6px 0; }

/* ===================== Footer ===================== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 56px 0 0;
  margin-top: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--footer-line);
}
.footer-col h5 { color: #fff; font-size: 15px; margin: 0 0 18px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 9px 0; }
.footer-col a { font-size: 14px; color: var(--footer-ink); transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-col .dl-link { display: inline-flex; align-items: center; gap: 7px; }
.footer-col .dl-link svg { width: 14px; height: 14px; flex: none; opacity: .85; }
.footer-col ul.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 72px));
  column-gap: 18px;
  row-gap: 9px;
}
.footer-col ul.two-col li { margin: 0; }

.foot-wechat { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-wechat .fw {
  text-align: center; font-size: 12px; color: var(--footer-ink);
}
.foot-wechat .fw img {
  width: 78px; height: 78px; background:#fff; padding: 4px; border-radius: 8px; margin: 0 auto 8px;
}
.foot-wechat .fw .wn { font-weight: 600; color: #e9ecef; }
.foot-wechat .fw .wid { color: var(--muted); font-size: 11px; }

.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom a { color: var(--footer-ink); }

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero--image { min-height: 260px; }
  .hero--image .container { padding-top: 36px; padding-bottom: 36px; }
  .hero--image h1 { font-size: 28px; }
  .hero-title { font-size: 38px; letter-spacing: 2px; }
  .hero-kicker { font-size: 12px; letter-spacing: 1.5px; gap: 8px; margin-bottom: 16px; }
  .hero-kicker .k-line { width: 24px; }
  .hero-brand { margin-top: 16px; }
  .product-grid, .qr-grid { grid-template-columns: repeat(2, 1fr); }
  .vs-row { grid-template-columns: 1fr !important; gap: 22px; }
  .vs-item + .vs-item { border-left: 0; padding-top: 22px; border-top: 1px solid var(--line); }
  .vmv-duo { grid-template-columns: 1fr; gap: 28px; }
  .vmv-item + .vmv-item { border-left: 0; padding-top: 28px; border-top: 1px solid var(--line); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2,1fr); }
  .contact-cols, .contact-detail-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 8px; }
  .tl-item { padding-left: 36px; }
  .tl-item .year { position: static; width: auto; text-align: left; margin-bottom: 8px; }
  .tl-item .dot { left: 2px; }

  .nav-menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .25s;
  }
  .nav-menu.open { max-height: 420px; }
  .nav-menu a { padding: 14px 24px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }
}

@media (max-width: 560px) {
  .product-grid, .qr-grid, .events-grid, .price-grid, .email-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .section { padding: 54px 0; }
  .hero--image { min-height: 220px; }
  .hero--image .container { padding-top: 28px; padding-bottom: 28px; }
  .hero-title { font-size: 32px; }
}

@media (max-width: 380px) {
  .hero-kicker { letter-spacing: .5px; gap: 6px; white-space: nowrap; }
  .hero-kicker .k-line { width: 16px; }
}
