:root {
  --bg: #f6f8fb;
  --panel: #ffffff;
  --ink: #152033;
  --muted: #607089;
  --line: #dbe4f0;
  --brand: #1f58a8;
  --brand-dark: #123e78;
  --accent: #f2a51a;
  --soft: #eef5ff;
  --warn: #fff7df;
  --dark: #15396d;
  --dark-2: #1e4a86;
  --shadow: 0 18px 42px rgba(16, 49, 96, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.65;
}

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

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

.topbar {
  background: #f4f7fb;
  color: #52647d;
  border-bottom: 1px solid #e3ebf5;
  font-size: 13px;
}

.topbar-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 38px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar a {
  color: var(--brand);
}

.topbar strong {
  color: var(--brand);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 228px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.brand-fallback {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  font-size: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #2c3a40;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--soft);
  color: var(--brand-dark);
}

.hero {
  background: linear-gradient(90deg, rgba(17, 54, 104, 0.95), rgba(31, 88, 168, 0.78)), url("../images/apf-cabinet.jpg") center/cover;
  color: #ffffff;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 42px;
  align-items: center;
  padding: 76px 0 52px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
}

.button.primary {
  background: var(--accent);
  color: #102b52;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.button.light {
  border-color: var(--line);
  background: var(--panel);
  color: var(--brand);
}

.button.blue {
  background: var(--brand);
  color: #ffffff;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 22px;
}

.hero-panel h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

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

.status-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
}

.badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 28px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.badge.warn {
  background: var(--warn);
  color: #805611;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: #ffffff;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

h2,
h3,
h4 {
  margin-top: 0;
  line-height: 1.25;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 38px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0 0 14px;
}

.lead {
  color: var(--muted);
  font-size: 17px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 1px 0 rgba(13, 95, 112, 0.04);
}

.card:hover {
  border-color: rgba(31, 88, 168, 0.34);
  box-shadow: var(--shadow);
}

.feature-band {
  background: #123e78;
  color: #ffffff;
  padding: 34px 0;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.feature-item {
  background: #1c5295;
  padding: 22px;
}

.feature-item strong {
  display: block;
  color: var(--accent);
  font-size: 22px;
}

.product-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.category-panel {
  background: var(--brand-dark);
  color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.category-panel h3 {
  margin: 0;
  padding: 18px 20px;
  background: #0d315f;
  font-size: 20px;
}

.category-panel a {
  display: block;
  padding: 13px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.category-panel a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.solution-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.solution-tile {
  min-height: 160px;
  padding: 22px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.solution-tile strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 20px;
}

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

.news-list a {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.news-list time {
  color: var(--brand);
  font-weight: 700;
}

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

.category-list a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: #333333;
}

.category-list a::after {
  content: ">";
  color: var(--brand);
}

.media-card {
  overflow: hidden;
  padding: 0;
}

.media-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #e5edf0;
}

.media-card .card-body {
  padding: 20px;
}

.note {
  border-left: 4px solid var(--accent);
  background: var(--warn);
  padding: 16px 18px;
  color: #543c0c;
}

.asset-note {
  border-left: 0;
  background: linear-gradient(180deg, #f9fbfe 0%, #f3f7fc 100%);
  border: 1px solid #d8e3ee;
  border-radius: 10px;
  padding: 24px;
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(16, 49, 96, 0.05);
}

.asset-note strong {
  display: block;
  margin-bottom: 10px;
  color: #17345d;
  font-size: 18px;
}

.asset-note a {
  color: var(--brand-dark);
  font-weight: 700;
}

.asset-note img {
  display: block;
  width: 100%;
  margin-top: 14px;
  border-radius: 8px;
  border: 1px solid #d8e3ee;
  background: #ffffff;
}

.asset-actions {
  margin: 16px 0 0;
}

.asset-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.asset-meta {
  margin: 0 0 16px;
  color: #3d536d;
  font-size: 14px;
  line-height: 1.7;
}

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

.fact-list li {
  padding-left: 18px;
  position: relative;
}

.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

.page-hero {
  background: #123e78;
  color: #ffffff;
}

.page-hero .container {
  padding: 56px 0 40px;
}

.page-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.page-hero h1 {
  max-width: 980px;
  color: #ffffff;
}

.breadcrumb {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 34px;
  align-items: start;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid #d7e1ec;
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 14px 32px rgba(16, 49, 96, 0.06);
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e4ebf3;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 34%;
  color: #244264;
  background: #eef4fb;
  font-weight: 700;
}

.spec-table td {
  color: #223247;
  background: #ffffff;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.split > div > h2 {
  margin-bottom: 16px;
  color: #183455;
}

.split > div > .eyebrow {
  margin-bottom: 10px;
}

.certificate-detail-page {
  background: linear-gradient(180deg, #f4f8fc 0%, #f7fafe 260px, #eef3f8 100%);
}

.certificate-detail-page .section {
  padding: 34px 0;
}

.certificate-detail-page .section.alt {
  background: transparent;
}

.certificate-detail-page .card {
  border: 1px solid #d6e1ee;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(16, 49, 96, 0.05);
  padding: 24px;
}

.certificate-detail-page .card h3 {
  color: #183455;
  margin-bottom: 14px;
}

.certificate-detail-page .card p {
  color: #203247;
  line-height: 1.78;
}

.certificate-detail-page .button-row {
  margin-top: 16px;
}

.certificate-detail-page .button.light {
  background: #f7fbff;
}

.certificate-detail-page .note {
  border-left: 0;
  background: #f6f9fd;
  border: 1px solid #d8e3ee;
  border-radius: 10px;
  color: #29405b;
}

.certificate-detail-page .note strong {
  color: #183455;
}

.certificate-detail-page .split {
  gap: 28px;
  align-items: start;
}

.certificate-detail-page .split > div:last-child {
  min-width: 0;
}

.certificate-detail-page .asset-note {
  position: sticky;
  top: 96px;
}

.certificate-detail-page .spec-table {
  table-layout: fixed;
}

.certificate-detail-page .spec-table th {
  width: 31%;
}

.certificate-detail-page .button-row {
  gap: 10px;
}

.site-footer {
  background: linear-gradient(180deg, #143d73 0%, #0f2f59 100%);
  color: #ffffff;
  padding: 46px 0 24px;
  font-size: 14px;
  line-height: 1.7;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.05fr;
  gap: 30px;
  align-items: start;
}

.footer-column {
  min-height: 158px;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-column h3,
.footer-contact-card h3 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.footer-column h3::after,
.footer-contact-card h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 11px;
  background: rgba(255, 255, 255, 0.28);
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li + li {
  margin-top: 8px;
}

.footer-column a,
.footer-bottom a {
  color: #c9c9c9;
}

.footer-column a {
  font-size: 14px;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: #ffffff;
}

.footer-hotline {
  padding-left: 8px;
}

.footer-hotline .label {
  margin: 0 0 8px;
  color: #aeb4bd;
  font-size: 14px;
}

.footer-hotline strong {
  display: block;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 500;
}

.footer-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: min(100%, 260px);
  min-height: 46px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #102b52;
  font-size: 15px;
  font-weight: 700;
}

.footer-cta:hover {
  background: #ffb52a;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.footer-bottom-grid {
  display: grid;
  grid-template-columns: 1.12fr 1.18fr 0.86fr;
  gap: 28px;
  align-items: start;
}

.footer-contact-card,
.footer-address-card,
.footer-qr-group {
  min-height: 132px;
}

.footer-contact-card,
.footer-address-card {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-contact-card p,
.footer-address-card p {
  margin-bottom: 7px;
  color: #eeeeee;
  font-size: 14px;
}

.footer-address-card strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
}

.footer-qr-group {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-qr img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  background: #ffffff;
}

.footer-qr span {
  display: block;
  margin-top: 9px;
  color: #ffffff;
  font-size: 13px;
  text-align: center;
}

.footer-legal {
  margin-top: 22px;
  color: #8d8d8d;
  font-size: 12px;
}

.placeholder {
  border: 1px dashed #aebdc4;
  background: #fbfcfc;
  color: var(--muted);
}

.legacy-home {
  background: #ffffff;
  color: #333333;
  min-width: 1200px;
}

.certificate-index-page {
  background:
    linear-gradient(180deg, #f4f7fb 0%, #f8fafc 160px, #eef3f8 100%);
}

.certificate-index-page .page-hero {
  background: linear-gradient(180deg, #143d73 0%, #103660 100%);
}

.certificate-index-page .page-hero .container {
  padding: 58px 0 40px;
}

.certificate-index-page .section {
  padding: 24px 0;
}

.certificate-index-page .section.alt {
  background: transparent;
}

.certificate-index-page .section > .container {
  position: relative;
}

.certificate-index-page .section > .container::before {
  content: "";
  position: absolute;
  inset: -2px -8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(187, 204, 224, 0.34);
  z-index: 0;
}

.certificate-index-page .section:nth-of-type(odd) > .container::before {
  background: rgba(244, 248, 252, 0.94);
}

.certificate-index-page .section .section-head,
.certificate-index-page .section .grid,
.certificate-index-page .section .note {
  position: relative;
  z-index: 1;
}

.certificate-index-page .section-head {
  margin-bottom: 18px;
}

.certificate-index-page .section-head h2 {
  margin-bottom: 0;
}

.certificate-index-page .grid.three {
  align-items: stretch;
  gap: 18px;
}

.certificate-index-page .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #fbfdff 100%);
  border: 1px solid #d6e1ee;
  padding: 22px 22px 20px;
  box-shadow: 0 12px 32px rgba(16, 49, 96, 0.06);
}

.certificate-index-page .card h3 {
  margin: 10px 0 14px;
  font-size: 20px;
  line-height: 1.38;
}

.certificate-index-page .card p {
  flex: 1 1 auto;
  margin-bottom: 16px;
  color: #34465c;
  font-size: 15px;
  line-height: 1.7;
}

.certificate-index-page .card:hover {
  border-color: rgba(31, 88, 168, 0.42);
  box-shadow: 0 18px 42px rgba(16, 49, 96, 0.11);
}

.certificate-index-page .badge {
  display: inline-flex;
  align-self: flex-start;
  justify-content: flex-start;
  width: fit-content;
  max-width: 78%;
  min-height: 24px;
  padding: 4px 10px;
  background: #edf3fb;
  border: 1px solid #d7e3f0;
  color: #214a83;
  font-size: 12px;
  line-height: 1.2;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.certificate-index-page .button.light {
  background: #f7fbff;
  margin-top: auto;
  align-self: flex-start;
}

.certificate-index-page .note {
  background: rgba(244, 248, 252, 0.92);
  border: 1px solid #d8e3ee;
  padding: 16px 18px;
}

.legacy-topline {
  background: #2d2d2d;
  color: #cfcfcf;
  font-size: 13px;
}

.legacy-topline .container,
.legacy-header .container,
.legacy-service .container,
.legacy-section .container,
.legacy-news .container {
  width: 1180px;
}

.legacy-topline .container {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legacy-topline strong {
  color: #ffffff;
}

.legacy-header {
  background: #ffffff;
}

.legacy-header .container {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.legacy-logo img {
  width: 255px;
  height: 44px;
  object-fit: contain;
}

.legacy-nav {
  display: flex;
  gap: clamp(14px, 1.6vw, 28px);
  align-items: center;
  font-size: 14px;
  white-space: nowrap;
}

.legacy-nav a {
  color: #2c3848;
  flex: 0 0 auto;
}

.legacy-nav a:hover,
.legacy-nav a.active {
  color: #005fb8;
}

.legacy-banner {
  overflow: hidden;
  background: #0e5ea8;
  min-width: 1200px;
}

.legacy-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.legacy-service {
  background: #f0f0f0;
}

.legacy-service .container {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legacy-service b {
  display: block;
  color: #005aa9;
  font-size: 18px;
}

.legacy-service span {
  color: #666666;
  font-size: 13px;
}

.legacy-service .phones {
  color: #005aa9;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

.legacy-title {
  text-align: center;
  margin-bottom: 34px;
}

.legacy-title h2 {
  margin: 0;
  color: #0f66b8;
  font-size: 30px;
  font-weight: 700;
}

.legacy-title h2 span {
  color: #009c72;
}

.legacy-title p {
  margin: 8px 0 0;
  color: #777777;
  font-size: 13px;
}

.legacy-section {
  padding: 60px 0;
}

.legacy-reasons {
  min-height: 496px;
  padding: 52px 0 58px;
  background: url("https://www.cookekolb.com/template/pc/skin/image/ys_bg.jpg") center top / cover no-repeat;
}

.reason-card {
  width: min(650px, 100%);
  padding: 44px 54px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
}

.reason-item {
  text-align: center;
  font-size: 13px;
  color: #606a74;
}

.reason-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #0aa575;
  color: #ffffff;
  font-style: normal;
  font-weight: 700;
}

.legacy-scope {
  background: #ffffff;
}

.scope-tabs {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.scope-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  background: #f1f3f5;
}

.scope-label {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #005fb8;
  color: #ffffff;
  font-weight: 700;
}

.scope-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  padding: 12px 22px;
  font-size: 13px;
}

.scope-links a {
  color: #555555;
}

.scope-main {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 24px;
}

.scope-video {
  aspect-ratio: 739 / 470;
  background: #263238;
}

.scope-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.scope-intro {
  padding: 34px;
  background: #f5f5f5;
}

.scope-intro h3 {
  color: #005fb8;
  font-size: 22px;
}

.scope-intro p {
  color: #5d6772;
  font-size: 14px;
}

.legacy-pill-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.legacy-pill-actions a {
  min-width: 112px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #079b62;
  color: #ffffff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.legacy-pill-actions a.secondary {
  background: #005fb8;
}

.legacy-products {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 38px;
}

.legacy-product {
  position: relative;
  min-height: 250px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  text-align: center;
}

.legacy-product img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}

.legacy-product p {
  margin: 10px 0 0;
  color: #333333;
}

.legacy-strength {
  padding: 54px 0;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.strength-item {
  text-align: center;
  color: #606a74;
  font-size: 13px;
}

.strength-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #005fb8;
}

.strength-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.strength-item h3 {
  margin-bottom: 8px;
  color: #005fb8;
  font-size: 18px;
}

.legacy-cases {
  background: #f3f4f5;
}

.case-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 28px;
}

.case-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #ffffff;
}

.case-cats a {
  min-height: 58px;
  padding: 12px;
  border: 1px solid #eeeeee;
  color: #3c4a5a;
  font-size: 13px;
}

.case-cats a.active {
  background: #005fb8;
  color: #ffffff;
}

.case-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding: 28px;
  background: #ffffff;
}

.case-feature img {
  width: 100%;
  aspect-ratio: 420 / 280;
  height: auto;
  object-fit: contain;
  background: #f3f4f5;
}

.case-feature h3 {
  color: #005fb8;
  font-size: 24px;
}

.case-feature p {
  color: #4a5360;
}

.legacy-news {
  padding: 62px 0;
  background: #ffffff;
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.news-tabs {
  display: flex;
  gap: 1px;
  margin-bottom: 24px;
}

.news-tabs span {
  min-width: 150px;
  padding: 14px 20px;
  background: #f3f4f5;
  text-align: center;
  color: #4a5360;
}

.news-tabs span.active {
  background: #005fb8;
  color: #ffffff;
}

.news-feature {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.news-feature img {
  width: 180px;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: contain;
  background: #f5f6f7;
}

.news-feature h3,
.faq-list h3 {
  color: #1f2c3a;
  font-size: 16px;
}

.legacy-news-list {
  display: grid;
  gap: 14px;
}

.legacy-news-list a {
  display: grid;
  grid-template-columns: 70px 1fr 24px;
  gap: 14px;
  align-items: center;
  padding-bottom: 13px;
  border-bottom: 1px solid #eeeeee;
  color: #4a5360;
  font-size: 14px;
}

.legacy-news-list time {
  color: #8a96a3;
}

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

.faq-list article {
  padding-bottom: 18px;
  border-bottom: 1px solid #eeeeee;
}

.faq-list p {
  color: #687380;
  font-size: 14px;
}

@media (max-width: 860px) {
  .nav {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 102px;
    left: 0;
    right: 0;
    padding: 12px 16px 18px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner,
  .split,
  .grid.two,
  .grid.three,
  .product-layout,
  .solution-row,
  .feature-strip,
  .footer-top,
  .footer-bottom-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-column,
  .footer-contact-card,
  .footer-address-card,
  .footer-qr-group {
    min-height: auto;
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
    border-right: 0;
  }

  .footer-qr-group {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-hotline strong {
    font-size: 30px;
  }

  .footer-cta {
    width: min(100%, 240px);
  }

  .hero-inner {
    min-height: auto;
    padding: 54px 0 42px;
  }

  .section-head {
    display: block;
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 0;
  }

  .brand {
    min-width: 190px;
  }

  .brand img {
    width: 190px;
    height: 46px;
  }

  .news-list a {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .nav-links.open {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .section {
    padding: 52px 0;
  }

  .media-card img {
    height: 190px;
  }

  .footer-hotline strong {
    font-size: 26px;
  }

  .footer-qr img {
    width: 96px;
    height: 96px;
  }

  .footer-qr span {
    font-size: 12px;
  }
}

@media (max-width: 860px) {
  .legacy-home .legacy-topline .container,
  .legacy-home .legacy-header .container,
  .legacy-home .legacy-service .container {
    align-items: center;
    flex-direction: row;
    padding: 0;
  }

  .legacy-home .legacy-nav {
    flex-wrap: nowrap;
  }

  .legacy-home .scope-main {
    grid-template-columns: 1.45fr 0.95fr;
  }

  .legacy-home .legacy-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .legacy-home .strength-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .legacy-home .case-layout {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .legacy-home .case-feature {
    grid-template-columns: 1fr 1fr;
  }

  .legacy-home .news-layout {
    grid-template-columns: 1fr 1fr;
  }

  .legacy-home .news-feature {
    grid-template-columns: 180px 1fr;
  }

  .legacy-home .footer-top {
    grid-template-columns: 1fr 1fr 1fr 1.05fr;
  }

  .legacy-home .footer-bottom-grid {
    grid-template-columns: 1.12fr 1.18fr 0.86fr;
  }
}
