/* ==========================================================================
   加鼎集团 Can-Leading — site styles
   ========================================================================== */
:root {
  --brand: #ea0020;
  --brand-dark: #b8001a;
  --ink: #1a1f2e;
  --ink-soft: #4a5163;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-dark: #12172a;
  --radius: 12px;
  --wrap: 1160px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);
  --font: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "微软雅黑", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.3; color: var(--ink); font-weight: 700; }

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

.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow {
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 10px;
}
.section-head h2 { font-size: clamp(24px, 3.2vw, 32px); margin: 0 0 12px; }
.section-head p { color: var(--ink-soft); margin: 0; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--outline { border-color: var(--brand); color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }

/* WhatsApp icon — inherits currentColor via mask */
:root {
  --wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.149-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.611-.916-2.207-.242-.579-.487-.5-.669-.51l-.57-.01c-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.71.306 1.263.489 1.694.625.712.227 1.36.195 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347M12.05 21.785h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.411'/%3E%3C/svg%3E");
}
.ico-wa {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.24em;
  background-color: currentColor;
  -webkit-mask: var(--wa-icon) center / contain no-repeat;
          mask: var(--wa-icon) center / contain no-repeat;
}
.header-cta .ico-wa { width: 26px; height: 26px; vertical-align: middle; }
.btn .ico-wa { margin-right: 6px; }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.brand:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--brand); text-decoration: none; }
.nav a.is-active { color: var(--brand); border-bottom-color: var(--brand); }

.header-cta {
  display: flex;
  align-items: center;
  color: var(--brand);
  line-height: 0;
}
.header-cta:hover { color: var(--brand-dark); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  flex: none;
}
.ico-menu { position: relative; display: block; width: 22px; height: 2px; }
.ico-menu, .ico-menu::before, .ico-menu::after {
  background: currentColor;
  border-radius: 2px;
}
.ico-menu::before, .ico-menu::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
}
.ico-menu::before { top: -7px; }
.ico-menu::after { top: 7px; }

/* Hero ---------------------------------------------------------------- */
.hero {
  background:
    linear-gradient(180deg, rgba(18, 23, 42, .78), rgba(18, 23, 42, .88)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 39h40M39 0v40' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E"),
    radial-gradient(1200px 600px at 15% 0%, #24314f 0%, #12172a 60%);
  color: #fff;
  padding: 96px 0 104px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(28px, 4.6vw, 46px);
  margin: 0 0 8px;
  letter-spacing: .01em;
}
.hero .hero-en {
  color: rgba(255, 255, 255, .7);
  font-size: clamp(13px, 1.6vw, 17px);
  letter-spacing: .06em;
  margin: 0 0 24px;
}
.hero p.lead {
  color: rgba(255, 255, 255, .85);
  font-size: 17px;
  max-width: 640px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.page-hero {
  background: radial-gradient(1000px 500px at 20% 0%, #24314f 0%, #12172a 65%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.8vw, 38px); margin: 0 0 10px; }
.page-hero p { color: rgba(255, 255, 255, .8); margin: 0 auto; max-width: 640px; }

/* Grids / cards ------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(16, 24, 40, .12); }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card .en { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.card p { margin: 8px 0 0; color: var(--ink-soft); font-size: 15px; }

/* Stats ------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats .num { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--brand); }
.stats .label { color: var(--ink-soft); font-size: 15px; margin-top: 4px; }

/* Program lists --------------------------------------------------- */
.region { margin-bottom: 40px; }
.region h3 {
  font-size: 20px;
  margin: 0 0 4px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.region h3 .en { color: var(--brand); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.region-line { height: 3px; width: 48px; background: var(--brand); border-radius: 3px; margin: 8px 0 20px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

/* Split content ------------------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split .kicker { color: var(--brand); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin: 0 0 10px; }
.split h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 16px; }
.split p { color: var(--ink-soft); margin: 0 0 14px; }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 24px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
}
.timeline .year { font-weight: 800; color: var(--ink); }
.timeline p { margin: 2px 0 0; color: var(--ink-soft); font-size: 15px; }

.qa { max-width: 820px; margin: 0 auto; }
.qa details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 20px;
  margin-bottom: 14px;
  background: var(--bg);
}
.qa summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--brand); font-weight: 800; }
.qa details[open] summary::after { content: "\2212"; }
.qa details p { margin: 0 0 16px; color: var(--ink-soft); }

/* CTA band ------------------------------------------------------ */
.cta-band {
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin: 0 0 10px; }
.cta-band p { color: rgba(255, 255, 255, .9); margin: 0 0 26px; }
.cta-band .btn--primary { background: #fff; color: var(--brand); }
.cta-band .btn--primary:hover { background: #f1f1f1; color: var(--brand); }

/* Contact ----------------------------------------------------- */
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.office { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.office h3 { margin: 0 0 8px; font-size: 17px; }
.office p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.office .tel { margin-top: 8px; font-weight: 700; color: var(--ink); }

.contact-lines { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-lines li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.contact-lines strong { display: inline-block; min-width: 160px; padding-right: 12px; color: var(--ink); }

/* Footer ---------------------------------------------------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .72);
  padding: 56px 0 28px;
  font-size: 14px;
}
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-top h4 { color: #fff; margin: 0 0 14px; font-size: 15px; }
.footer-top ul { list-style: none; padding: 0; margin: 0; }
.footer-top li { margin-bottom: 8px; }
.footer-brand img { height: 30px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .9; }
.footer-hotline { font-size: 20px; font-weight: 800; color: #fff; }
.footer-hotline a { color: #fff; }
.footer-hotline a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}
.footer-bottom a { color: rgba(255, 255, 255, .55); }
.footer-bottom .legal-name { margin: 6px 0 0; font-size: 11px; color: rgba(255, 255, 255, .3); }

/* Responsive ---------------------------------------------- */
@media (max-width: 960px) {
  .grid--3, .grid--4, .stats, .office-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { gap: 24px; }
}

@media (max-width: 720px) {
  .section { padding: 52px 0; }
  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .nav a.is-active { border-bottom-color: var(--line); background: var(--bg-soft); }
  .site-header .wrap { gap: 10px; justify-content: flex-start; flex-wrap: nowrap; }
  .nav-toggle { display: flex; order: 3; }
  .brand { order: 1; min-width: 0; }
  .brand img { height: 22px; }
  .header-cta { order: 2; margin-left: auto; flex: none; }
  .header-cta .ico-wa { width: 24px; height: 24px; }
  .grid--2, .grid--3, .grid--4, .stats, .office-grid { grid-template-columns: 1fr; }
}

/* Blog / 资讯 ---------------------------------------------------- */
.post-list { max-width: 820px; margin: 0 auto; display: grid; gap: 24px; }
.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(16, 24, 40, .12); }
.post-card h2 { font-size: 20px; margin: 6px 0 10px; }
.post-card h2 a { color: var(--ink); }
.post-card h2 a:hover { color: var(--brand); text-decoration: none; }
.post-card p { color: var(--ink-soft); margin: 0 0 10px; font-size: 15px; }
.post-date { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .06em; margin: 0; }
.post-more { font-weight: 700; font-size: 14px; }

/* Article ----------------------------------------------------- */
.breadcrumb { max-width: 760px; margin: 0 auto 18px; font-size: 13px; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); }
.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-size: clamp(24px, 3.4vw, 33px); margin: 6px 0 18px; }
.article h2 { font-size: 22px; margin: 40px 0 12px; }
.article h3 { font-size: 17px; margin: 26px 0 6px; }
.article p, .article li { color: var(--ink-soft); font-size: 16px; }
.article p.lead { font-size: 17px; color: var(--ink); }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article strong { color: var(--ink); }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14.5px; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article th { background: var(--bg-soft); color: var(--ink); }
.article .note {
  background: var(--bg-soft);
  border-left: 3px solid var(--brand);
  padding: 14px 18px;
  border-radius: 8px;
  margin: 22px 0;
  font-size: 14.5px;
}
.article-cta {
  margin: 44px 0 0;
  padding: 26px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.article-cta p { margin: 0 0 14px; color: var(--ink); }

@media (max-width: 720px) {
  .article table, .article thead, .article tbody, .article tr, .article th, .article td { display: block; }
  .article thead { display: none; }
  .article tr { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; padding: 6px 10px; }
  .article td { border: 0; padding: 6px 2px; }
}
