:root {
  --ink: #14222d;
  --muted: #5c6974;
  --blue: #123b6d;
  --blue-2: #0c294a;
  --teal: #008f9c;
  --green: #4e8b59;
  --gold: #b98335;
  --red: #a94b4b;
  --paper: #f7f8f5;
  --mist: #edf6f4;
  --line: #d9e2e7;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(14, 34, 50, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(190px, 282px) 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(217, 226, 231, 0.9);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 218px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  color: #273945;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.language-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 118px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.lang-button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.lang-button.is-active {
  color: var(--white);
  background: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.9fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  min-height: min(700px, calc(100vh - 76px));
  padding: clamp(58px, 8vw, 96px) clamp(18px, 6vw, 86px);
  background:
    linear-gradient(135deg, #f6fbfb 0%, #ffffff 44%, #edf6f4 100%);
}

.hero-media {
  order: 2;
  min-width: 0;
}

.hero-media img {
  width: min(650px, 100%);
  margin-left: auto;
  filter: drop-shadow(0 24px 34px rgba(14, 34, 50, 0.17));
}

.hero-content {
  max-width: 760px;
}

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

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--blue-2);
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy,
.page-hero p,
.section-copy p,
.section-heading p:not(.eyebrow),
.verification-copy p {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 850;
}

.primary-action {
  color: var(--white);
  border: 0;
  background: var(--teal);
  cursor: pointer;
}

.secondary-action {
  color: var(--blue);
  border: 1px solid #b9cbd3;
  background: rgba(255, 255, 255, 0.66);
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.metric-band div {
  min-height: 126px;
  padding: 28px clamp(20px, 4vw, 56px);
  background: var(--white);
}

.metric-band strong {
  display: block;
  color: var(--blue);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.1;
}

.metric-band span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.section {
  padding: clamp(62px, 9vw, 108px) clamp(18px, 5vw, 72px);
}

.page-hero {
  padding: clamp(64px, 10vw, 118px) clamp(18px, 6vw, 86px);
  background:
    linear-gradient(135deg, rgba(237, 246, 244, 0.95), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 78% 20%, rgba(185, 131, 53, 0.18), transparent 34%);
}

.compact-hero {
  padding-bottom: clamp(46px, 7vw, 82px);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(38px, 6vw, 68px);
}

.page-hero p {
  max-width: 900px;
}

.section-heading,
.section-copy {
  max-width: 840px;
}

.section-heading {
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.section-copy h2,
.verification-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.split-section,
.contact-section,
.deliverables-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
  gap: clamp(30px, 7vw, 86px);
  align-items: start;
}

.proof-grid,
.values-panel,
.info-grid,
.standard-grid,
.sector-grid,
.service-grid {
  display: grid;
  gap: 18px;
}

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

.proof-grid article,
.service-card,
.info-grid article,
.standard-grid article,
.values-panel article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(14, 34, 50, 0.06);
}

.proof-grid article {
  min-height: 210px;
  padding: 26px;
}

.proof-grid span,
.block-heading span,
.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 850;
}

.proof-grid h3,
.service-card h3,
.info-grid h3,
.standard-grid h3,
.values-panel strong,
.contact-card h2 {
  margin: 18px 0 8px;
  color: var(--blue);
  font-size: 21px;
  line-height: 1.25;
}

.proof-grid p,
.service-card p,
.info-grid p,
.standard-grid p,
.values-panel span,
.contact-card address,
.contact-lines span {
  margin: 0;
  color: var(--muted);
}

.muted-section {
  background: var(--paper);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
}

.service-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  min-height: 270px;
  padding: 26px;
}

.service-code {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--mist);
  font-size: 13px;
  font-weight: 850;
}

.workflow-section {
  background: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}

.timeline li {
  min-height: 230px;
  padding: 26px;
  background: var(--white);
}

.timeline h3 {
  margin: 22px 0 8px;
  color: var(--blue);
  font-size: 20px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.service-suite {
  padding-top: clamp(52px, 8vw, 84px);
}

.service-block {
  max-width: 1180px;
  margin: 0 auto 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.service-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.block-heading {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}

.block-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(25px, 4vw, 36px);
}

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

.standard-grid article {
  min-height: 190px;
  padding: 22px;
}

.standard-grid strong {
  display: block;
  color: var(--blue);
  font-size: 20px;
}

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

.check-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 760;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 18px;
  width: 14px;
  height: 8px;
  border-bottom: 3px solid var(--green);
  border-left: 3px solid var(--green);
  transform: rotate(-45deg);
}

.verification-page {
  background: var(--white);
}

.verification-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.75fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
}

.search-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.search-panel label {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-weight: 850;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-row input,
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid #b8c8d0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.search-row input {
  min-height: 50px;
  padding: 0 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-row button {
  min-width: 96px;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.result-panel {
  max-width: 1180px;
  margin: 30px auto 0;
}

.result-card,
.empty-result {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.result-card header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  color: var(--white);
  background: var(--blue);
}

.result-card header h3 {
  margin: 0;
  font-size: 24px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #14321d;
  background: #d9f2df;
  font-weight: 850;
  white-space: nowrap;
}

.result-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 310px);
  gap: 24px;
  padding: 24px;
}

.certificate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.certificate-table tr:nth-child(odd) {
  background: #f5f8fa;
}

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

.certificate-table th {
  width: 30%;
  color: var(--blue);
  font-weight: 850;
}

.certificate-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 850;
}

.qr-card,
.permalink,
.result-note {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.qr-card span,
.permalink span,
.result-note span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.qr-card img {
  width: 168px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 4px;
  background: var(--white);
}

.qr-card a,
.permalink a {
  overflow-wrap: anywhere;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
}

.empty-result {
  padding: 26px;
  border-left: 5px solid var(--red);
  color: var(--ink);
  font-weight: 850;
}

.values-panel article {
  display: grid;
  gap: 6px;
  padding: 24px;
}

.values-panel strong {
  margin: 0;
}

.sector-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1080px;
  margin: 0 auto;
}

.sector-grid span {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue);
  font-weight: 850;
}

.credential-section {
  background: var(--white);
}

.contact-card {
  padding: 30px;
}

.contact-card h2 {
  margin-top: 0;
}

.contact-card address,
.site-footer address {
  font-style: normal;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-lines span {
  padding-left: 14px;
  border-left: 4px solid var(--teal);
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-weight: 850;
}

.inquiry-form input,
.inquiry-form select {
  min-height: 46px;
  padding: 0 12px;
}

.inquiry-form textarea {
  padding: 12px;
  resize: vertical;
}

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

.form-note {
  margin: 0;
  color: var(--muted);
  white-space: pre-wrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 30px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #101d28;
}

.site-footer img {
  width: 220px;
  margin-bottom: 12px;
  border-radius: 6px;
  background: var(--white);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .contact-section,
  .deliverables-section,
  .verification-layout,
  .result-body {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: 0;
  }

  .hero-media img {
    margin: 0 auto;
  }

  .service-grid.four,
  .standard-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .brand img {
    width: 196px;
  }

  .metric-band,
  .service-grid,
  .proof-grid,
  .info-grid,
  .sector-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand img {
    width: 168px;
  }

  .language-switch {
    min-width: 98px;
  }

  .hero,
  .page-hero,
  .section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .service-grid.four,
  .standard-grid,
  .timeline,
  .search-row,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .certificate-table th,
  .certificate-table td {
    display: block;
    width: 100%;
  }

  .certificate-table th {
    border-bottom: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
