:root {
  --navy: #062b5f;
  --navy-2: #0b3a78;
  --teal: #0f98a8;
  --gold: #d99008;
  --text: #2b3440;
  --muted: #667085;
  --line: #d8e0ea;
  --soft: #f6f8fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 10px 6vw;
  border-bottom: 1px solid rgba(216, 224, 234, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  width: 280px;
  min-width: 220px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 22px;
  color: #344054;
  font-size: 15px;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--teal);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  color: var(--teal);
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url("./assets/hero-professional-training.png");
  background-image: image-set(
    url("./assets/hero-professional-training.webp") type("image/webp") 1x,
    url("./assets/hero-professional-training.png") type("image/png") 1x
  );
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 38%, rgba(255, 255, 255, 0.56) 64%, rgba(255, 255, 255, 0.2) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(760px, 88vw);
  margin-left: 6vw;
  padding: 64px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 64px;
  line-height: 1.08;
  font-weight: 800;
}

.hero-subtitle {
  margin-bottom: 18px;
  color: #172033;
  font-size: 28px;
  font-weight: 700;
}

.hero-copy {
  max-width: 720px;
  color: #344054;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 124px;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-secondary {
  border: 1px solid var(--teal);
  color: var(--teal);
  background: var(--white);
}

.text-link {
  color: var(--teal);
  font-weight: 700;
}

.hero-contact {
  color: #172033;
  font-size: 17px;
}

.focus-services {
  padding: 0 6vw;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

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

.focus-service-link {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 24px 28px;
  color: var(--text);
  border-left: 1px solid var(--line);
}

.focus-service-link:last-child {
  border-right: 1px solid var(--line);
}

.focus-service-link strong {
  color: var(--navy);
  font-size: 19px;
}

.focus-service-link span {
  color: var(--text-muted);
  font-size: 15px;
}

.focus-service-link:hover strong {
  color: var(--teal);
}

.section {
  padding: 78px 6vw;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-band,
.choice-section,
.contact-section {
  background: var(--soft);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 64px;
  align-items: start;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 26px;
}

h2 {
  color: var(--navy);
  font-size: 34px;
  line-height: 1.25;
}

h3 {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.3;
}

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

.secondary-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
}

.secondary-projects a {
  color: var(--primary);
  font-weight: 700;
}

.project-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.project-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 4px 9px;
  border-radius: 6px;
  background: #e8f6f8;
  color: var(--teal);
  font-weight: 800;
}

.project-card:nth-child(3) .project-code,
.project-card:nth-child(5) .project-code {
  background: #edf3fb;
  color: var(--navy);
}

.project-card:nth-child(4) .project-code {
  background: #fff6e3;
  color: var(--gold);
}

.card-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--teal);
  font-weight: 700;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.article-card time {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.article-card h3 {
  margin-bottom: 12px;
}

.decision-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.decision-row {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1.25fr;
}

.decision-row > div {
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

.decision-row > div + div {
  border-left: 1px solid var(--line);
}

.decision-head {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

.decision-head > div {
  border-top: 0;
}

.enterprise {
  background: #ffffff;
}

.plain-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding-left: 18px;
  border-left: 4px solid var(--teal);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: 52px;
  align-items: start;
}

.contact-box {
  display: grid;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-style: normal;
}

.contact-box a {
  color: var(--teal);
  font-weight: 700;
}

.page-hero {
  padding: 88px 6vw 64px;
  background: linear-gradient(135deg, #f7fbff 0%, #ffffff 56%, #eef8fa 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.breadcrumb {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
}

.page-title {
  max-width: 880px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 46px;
  line-height: 1.18;
  font-weight: 800;
}

.page-summary {
  max-width: 880px;
  color: #344054;
  font-size: 18px;
}

.content-wrap {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.article-content {
  display: grid;
  min-width: 0;
  gap: 22px;
}

.article-content figure {
  margin: 20px 0;
}

.article-content figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.article-content figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.content-card,
.side-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.content-card h2,
.side-card h2,
.side-card h3 {
  margin-bottom: 14px;
  font-size: 26px;
}

.content-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.content-card p:last-child,
.side-card p:last-child {
  margin-bottom: 0;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.content-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}

.content-table th,
.content-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.content-table th {
  color: var(--navy);
  background: #f6f8fb;
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.answer-box {
  border-left: 5px solid var(--teal);
  background: #f1fbfc;
}

.warning-box {
  border-left: 5px solid var(--gold);
  background: #fff9ec;
}

.consult-cta {
  border-left: 5px solid var(--navy);
  background: #f4f8fc;
}

.consult-cta .page-actions {
  margin-top: 18px;
}

.info-list,
.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li,
.check-list li {
  padding-left: 18px;
  border-left: 4px solid var(--teal);
}

.meta-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-list strong {
  color: var(--navy);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.cta-band {
  background: var(--navy);
  color: var(--white);
}

.cta-band h2 {
  color: var(--white);
}

.cta-band .section-kicker {
  color: #8de0e8;
}

.cta-band .btn-secondary {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.quick-links {
  display: grid;
  gap: 10px;
}

.quick-links a {
  color: var(--teal);
  font-weight: 700;
}

.qr-card {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.qr-card img {
  display: block;
  width: min(260px, 100%);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.qr-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.license-image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.site-footer {
  display: grid;
  grid-template-columns: 0.6fr 1fr 0.35fr;
  gap: 28px;
  padding: 34px 6vw;
  background: #061f45;
  color: #dbe7f5;
  font-size: 14px;
}

.footer-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.article-topic-grid {
  margin-bottom: 52px;
}

.article-list-heading {
  scroll-margin-top: 100px;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 1040px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .focus-services {
    padding: 0 4vw;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .two-column,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    padding: 10px 20px;
    justify-content: center;
    gap: 10px;
  }

  .brand {
    width: 190px;
    min-width: 0;
  }

  .header-phone {
    margin-left: 0;
    min-height: 38px;
    padding: 7px 12px;
    font-size: 14px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    width: 100%;
    overflow: visible;
    font-size: 13px;
    text-align: center;
    white-space: normal;
  }

  .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 42px;
    padding: 4px 2px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: 590px;
    background-position: 62% center;
  }

  .hero-overlay {
    background: rgba(255, 255, 255, 0.9);
  }

  .hero-inner {
    width: auto;
    margin: 0;
    padding: 46px 22px;
  }

  h1 {
    font-size: 46px;
  }

  .page-hero {
    padding: 58px 22px 44px;
  }

  .page-title {
    font-size: 36px;
  }

  .page-summary {
    font-size: 16px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .section {
    padding: 58px 22px;
  }

  h2 {
    font-size: 28px;
  }

  .project-grid,
  .focus-service-grid,
  .decision-row {
    grid-template-columns: 1fr;
  }

  .focus-services {
    padding: 0 22px;
  }

  .focus-service-link {
    min-height: auto;
    padding: 20px 4px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .focus-service-link:last-child {
    border-right: 0;
    border-bottom: 0;
  }

  .project-card {
    min-height: auto;
  }

  .decision-row > div + div {
    border-left: 0;
  }

  .decision-row > div {
    padding: 14px 16px;
  }
}
.site-relationship-note {
  flex-basis: 100%;
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.875rem;
  line-height: 1.65;
}
