:root {
  --teal: #25c1ad;
  --blue: #1879bd;
  --ink: #1b2733;
  --muted: #626f7a;
  --line: #e7edf1;
  --page: #f5f5f5;
  --white: #ffffff;
  --footer: #030303;
  --shadow: 0 16px 42px rgba(23, 44, 66, 0.1);
  color: var(--ink);
  background: var(--page);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
}

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

button,
input,
textarea {
  font: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-seal {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 3px solid #1f86cb;
  border-radius: 50%;
  color: #1f86cb;
  font-weight: 900;
}

.logo-copy {
  display: grid;
  gap: 4px;
}

.logo-copy strong {
  color: #1f86cb;
  font-size: 25px;
  line-height: 1;
}

.logo-copy small {
  color: #1684b9;
  font-size: 13px;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-item > a {
  display: flex;
  height: 100%;
  min-width: 88px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #333;
  font-size: 15px;
  font-weight: 700;
}

.nav-item.active > a,
.nav-item:hover > a {
  color: var(--teal);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 174px;
  padding: 8px 0;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 18px;
  color: #46515d;
  font-size: 14px;
}

.nav-dropdown a:hover {
  color: var(--teal);
  background: #f4fbfa;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 24px;
  font-weight: 900;
  white-space: nowrap;
}

.home-hero {
  min-height: 610px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 57, 101, 0.84), rgba(5, 57, 101, 0.44) 54%, rgba(5, 57, 101, 0.12)),
    var(--hero-image) center / cover;
  color: var(--white);
}

.home-hero-inner {
  padding: 70px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.home-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 7vw, 76px);
  line-height: 1.08;
}

.hero-summary {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
}

.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.button.light {
  background: #eef7f6;
  color: #148a7a;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.home-band {
  background: var(--white);
  padding: 70px 0;
}

.home-about,
.split-layout,
.contact-layout,
.detail-layout,
.sample-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 48px;
}

.home-about {
  align-items: center;
}

.split-layout,
.contact-layout,
.detail-layout,
.sample-layout {
  align-items: start;
}

.split-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.certificate-query-panel {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.certificate-query-panel h3 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.3;
}

.certificate-query-panel > p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.certificate-query-panel .query-form {
  margin-top: 0;
}

.certificate-query-panel .form-message {
  margin-bottom: 12px;
}

.certificate-panel .certificate-query-panel {
  max-width: 780px;
  padding: 42px;
}

.home-about h2,
.section-title h2,
.content-card h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.22;
}

.home-about p,
.content-card p,
.article-body p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.home-about img,
.sample-layout img,
.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.qualification-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #fff;
}

.image-panel,
.qualification-card {
  overflow: hidden;
  margin: 0;
}

.image-placeholder {
  display: grid;
  min-height: 180px;
  place-items: center;
  padding: 24px;
  border: 1px dashed #b8d4e8;
  background: #f3f9fd;
  color: #5a7a94;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
  font-weight: 800;
}

.section {
  padding: 78px 0;
  background: var(--white);
}

.muted-section,
.inner-page {
  background: var(--page);
}

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

.section-title span,
.news-card span,
.list-card span,
.download-card span {
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.row-title {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

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

.service-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-card:hover {
  border-color: rgba(37, 193, 173, 0.5);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 4px;
  background: #e9f8f6;
  color: var(--teal);
  font-size: 22px;
}

.service-card small {
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
}

.service-card h3 {
  margin: 10px 0;
  font-size: 22px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.process-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 18px;
  border-left: 3px solid var(--teal);
  background: var(--white);
}

.process-list b {
  color: var(--teal);
  font-size: 22px;
}

.process-list h3 {
  margin-bottom: 6px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.category-panel {
  padding: 28px;
  background: #0d2f4a;
  color: var(--white);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span {
  padding: 9px 12px;
  border: 1px solid rgba(37, 193, 173, 0.36);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.category-panel .tag-cloud span {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

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

.news-card,
.list-card,
.download-card,
.empty-card,
.content-card {
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
}

.news-card {
  display: flex;
  min-height: 178px;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
}

.news-card-cover {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.news-card h3,
.list-card h2,
.download-card h2 {
  margin: 14px 0 18px;
  font-size: 22px;
  line-height: 1.48;
}

.list-card p {
  max-width: 780px;
  margin: -6px 0 16px;
  color: var(--muted);
  line-height: 1.75;
}

.news-card time,
.list-card time {
  color: var(--muted);
}

.page-hero {
  height: 320px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 103, 172, 0.7), rgba(18, 103, 172, 0.2)),
    var(--banner-image, none) center / cover;
  color: var(--white);
}

.page-hero--empty {
  background:
    linear-gradient(135deg, #1a7fc4 0%, #7ec8e8 55%, #c8e8f5 100%);
}

.page-hero h1 {
  margin-bottom: 8px;
  font-size: 46px;
  font-weight: 500;
}

.page-hero p {
  margin-bottom: 0;
  font-size: 18px;
  text-transform: uppercase;
}

.subnav {
  background: var(--white);
}

.subnav .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  justify-content: center;
}

.subnav button {
  position: relative;
  min-height: 76px;
  border: 0;
  background: transparent;
  color: #222;
  cursor: pointer;
  font-weight: 800;
}

.subnav button.active {
  color: var(--teal);
}

.subnav button.active::after {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 4px;
  background: var(--teal);
  content: "";
}

.inner-page {
  padding: 30px 0 64px;
}

.content-card {
  padding: 42px;
}

.article-body {
  max-width: 960px;
}

.article-body h2 {
  text-align: center;
}

.article-body h3 {
  margin: 28px 0 10px;
  font-size: 19px;
}

.article-body ul,
.check-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 22px;
  color: #24313e;
  line-height: 1.8;
}

.org-chart {
  text-align: center;
}

.org-node {
  padding: 18px;
  border: 1px solid #cce8e4;
  background: #f3fbfa;
  color: #167f72;
  font-weight: 900;
}

.org-node.main {
  width: min(320px, 100%);
  margin: 28px auto;
  background: var(--teal);
  color: var(--white);
}

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

.sample-layout {
  align-items: start;
}

.qualification-grid h2 {
  grid-column: 1 / -1;
}

.qualification-card {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  background: #f8fbfd;
}

.qualification-card .image-placeholder {
  aspect-ratio: 3 / 4;
  min-height: 0;
  border: 0;
  border-radius: 0;
  font-size: 28px;
  color: var(--blue);
}

.qualification-card figcaption {
  padding: 12px;
  background: var(--white);
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

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

.list-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.list-card-main {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 22px;
}

.list-card-cover {
  width: 148px;
  height: 96px;
  flex-shrink: 0;
  object-fit: cover;
}

.news-cover {
  width: 100%;
  max-height: 420px;
  margin: 0 0 28px;
  object-fit: cover;
}

.list-card:hover {
  border-color: rgba(37, 193, 173, 0.5);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.empty-card {
  display: grid;
  min-height: 220px;
  place-items: center;
  color: var(--muted);
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.download-card > svg {
  display: none;
}

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

.news-article h1 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.28;
}

.news-article time {
  display: block;
  margin-bottom: 26px;
  color: var(--muted);
}

.news-article .lead {
  margin-bottom: 30px;
  padding: 20px 22px;
  border-left: 4px solid var(--teal);
  background: #f3fbfa;
  color: #263442;
  font-size: 17px;
  line-height: 1.9;
}

.news-article .article-body {
  max-width: none;
}

.news-article .article-body p {
  margin-bottom: 18px;
  color: #2d3945;
  font-size: 17px;
  line-height: 2;
}

.keyword-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.keyword-strip span {
  padding: 8px 12px;
  background: #eef7f6;
  color: #138476;
  font-weight: 800;
}

.news-side {
  padding: 24px;
  background: var(--white);
}

.news-side h2 {
  margin-bottom: 18px;
  font-size: 22px;
}

.side-link {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.side-link span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.side-link strong {
  color: var(--ink);
  line-height: 1.55;
}

.side-link small {
  color: var(--muted);
}

.scope-products {
  margin-top: 24px;
}

.detail-layout {
  align-items: start;
}

.detail-layout .wide {
  grid-column: 1 / -1;
}

.detail-side {
  padding: 24px;
  background: #f3fbfa;
}

.detail-side span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
}

.detail-side strong {
  color: var(--teal);
  font-size: 26px;
}

.check-list {
  padding-left: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-list svg {
  color: var(--teal);
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #f3fbfa;
}

.contact-layout {
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 14px;
}

.contact-info a,
.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  color: #263442;
  font-weight: 800;
}

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

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: #263442;
  font-size: 14px;
  font-weight: 800;
}

.inquiry-form input,
.inquiry-form textarea,
.query-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 12px;
  outline: none;
}

.inquiry-form textarea {
  min-height: 118px;
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus,
.query-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(37, 193, 173, 0.12);
}

.full-field {
  grid-column: 1 / -1;
}

.form-message {
  margin: 0;
  color: #138476;
  font-weight: 800;
}

.certificate-panel {
  max-width: 780px;
}

.query-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 24px 0 16px;
}

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

.admin-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 250px minmax(0, 1fr);
  background: #f4f7f9;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: #0c2d45;
  color: var(--white);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.admin-sidebar a {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  border-radius: 4px;
}

.admin-sidebar a.active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.admin-sidebar a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.admin-main {
  padding: 34px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.admin-header h1 {
  margin-bottom: 10px;
  font-size: 38px;
}

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

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-status {
  margin: 0 0 18px;
  padding: 12px 14px;
  background: #eef7f6;
  color: #126f65;
  font-weight: 800;
}

.admin-status.error {
  background: #fff2f0;
  color: #b42318;
}

.admin-panel {
  margin-bottom: 20px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
}

.admin-panel h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

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

.admin-form-grid label,
.json-editor-grid label {
  display: grid;
  gap: 8px;
  color: #263442;
  font-size: 14px;
  font-weight: 900;
}

.admin-form-grid input,
.json-editor-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px;
  outline: none;
}

.admin-form-grid input:focus,
.json-editor-grid textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(37, 193, 173, 0.12);
}

.json-editor-grid textarea {
  min-height: 260px;
  resize: vertical;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.55;
}

.wide-field {
  grid-column: 1 / -1;
}

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

.admin-image-field {
  display: grid;
  gap: 10px;
}

.admin-field-label {
  color: #263442;
  font-size: 14px;
  font-weight: 900;
}

.admin-image-preview {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #f8fafb;
}

.admin-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-image-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.admin-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-image-url {
  width: 100%;
  border: 1px solid var(--line);
  padding: 10px 12px;
  outline: none;
}

.admin-image-url:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(37, 193, 173, 0.12);
}

.admin-inline-error {
  margin: 0;
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
}

.admin-stack {
  display: grid;
  gap: 28px;
}

.admin-list-block {
  display: grid;
  gap: 14px;
}

.admin-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-list-head h3 {
  margin: 0;
  font-size: 18px;
}

.admin-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.admin-list-row input,
.admin-form-grid textarea,
.admin-form-grid select,
.admin-card select {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px;
  outline: none;
}

.admin-list-row input:focus,
.admin-form-grid textarea:focus,
.admin-form-grid select:focus,
.admin-card select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(37, 193, 173, 0.12);
}

.admin-row-actions {
  display: flex;
  gap: 6px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.icon-button:hover:not(:disabled) {
  border-color: var(--teal);
  color: var(--teal);
}

.icon-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.icon-button.danger:hover:not(:disabled) {
  border-color: #f04438;
  color: #b42318;
}

.admin-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fbfdfe;
}

.admin-card.compact-card {
  gap: 12px;
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-form-grid.compact {
  gap: 12px;
}

.admin-form-grid textarea {
  min-height: 88px;
  resize: vertical;
}

.admin-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.admin-empty-hint {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) 150px;
  gap: 28px;
  padding: 58px 0 34px;
}

.footer-column h3 {
  margin-bottom: 18px;
  font-size: 18px;
}

.footer-column a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

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

.qr-placeholder {
  display: grid;
  width: 140px;
  height: 140px;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
  background: var(--white);
}

.footer-qr-image {
  width: 140px;
  height: 140px;
  object-fit: cover;
  background: var(--white);
}

.qr-placeholder span {
  background: #050505;
}

.qr-placeholder span:nth-child(2),
.qr-placeholder span:nth-child(4),
.qr-placeholder span:nth-child(9) {
  background: transparent;
  border: 6px solid #050505;
}

.qr-placeholder span:nth-child(5) {
  background: #25c1ad;
}

.footer-qrcode p {
  margin: 10px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

@media (max-width: 1060px) {
  .main-nav {
    display: none;
  }

  .header-inner {
    min-height: 78px;
  }

  .service-grid,
  .footer-grid,
  .admin-shell,
  .admin-form-grid,
  .admin-image-grid,
  .json-editor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .home-about,
  .split-layout,
  .contact-layout,
  .detail-layout,
  .sample-layout,
  .news-detail-layout {
    grid-template-columns: 1fr;
  }

  .list-card-main {
    flex-direction: column;
    align-items: stretch;
  }

  .list-card-cover {
    width: 100%;
    height: 160px;
  }

  .footer-qrcode {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 24px);
  }

  .logo-seal {
    width: 46px;
    height: 46px;
  }

  .logo-copy strong {
    font-size: 20px;
  }

  .logo-copy small {
    display: none;
  }

  .header-phone {
    font-size: 15px;
  }

  .home-hero {
    min-height: 520px;
  }

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

  .hero-summary {
    font-size: 17px;
  }

  .section,
  .home-band {
    padding: 54px 0;
  }

  .page-hero {
    height: 250px;
  }

  .subnav .container,
  .service-grid,
  .news-grid,
  .org-grid,
  .qualification-grid,
  .inquiry-form,
  .query-form,
  .footer-grid,
  .admin-form-grid,
  .admin-image-grid,
  .json-editor-grid {
    grid-template-columns: 1fr;
  }

  .content-card {
    padding: 24px 18px;
  }

  .admin-main {
    padding: 18px 12px;
  }

  .admin-header,
  .row-title,
  .cta-strip,
  .copyright {
    align-items: flex-start;
    flex-direction: column;
  }
}
