:root {
  --ink: #102f33;
  --ink-deep: #092328;
  --ink-soft: #31565a;
  --paper: #f5f1e9;
  --paper-deep: #ebe4d7;
  --white: #fffdf9;
  --line: rgba(16, 47, 51, 0.2);
  --line-light: rgba(255, 253, 249, 0.22);
  --red: #b92c25;
  --red-deep: #8e211e;
  --gold: #b89456;
  --shadow: 0 22px 60px rgba(10, 31, 34, 0.12);
  --sans: "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--white);
  background: var(--red);
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-frame {
  min-height: 100vh;
  overflow: hidden;
}

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

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

.no-break {
  white-space: nowrap;
}

.utility-bar {
  color: rgba(255, 253, 249, 0.7);
  background: var(--ink-deep);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.utility-right a {
  color: var(--white);
}

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(245, 241, 233, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 16px;
}

.brand img {
  width: 274px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.brand-note {
  display: grid;
  gap: 5px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}

.brand-note strong {
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-note small {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 13px;
  white-space: nowrap;
}

.main-navigation > a {
  position: relative;
  padding: 12px 0;
}

.main-navigation > a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-navigation > a:hover,
.main-navigation > a.is-active {
  color: var(--ink);
}

.main-navigation > a:hover::after,
.main-navigation > a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-navigation .nav-query-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 17px;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
}

.main-navigation .nav-query-link::after {
  display: none;
}

.main-navigation .nav-query-link:hover {
  color: var(--white);
  background: var(--red-deep);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 4px 0;
  background: currentColor;
}

.home-hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 32%, rgba(60, 121, 115, 0.28), transparent 26%),
    linear-gradient(125deg, var(--ink-deep) 0%, var(--ink) 56%, #1b494b 100%);
}

.home-hero::before {
  position: absolute;
  top: 0;
  right: 4%;
  width: 38vw;
  height: 100%;
  border-right: 1px solid rgba(255, 253, 249, 0.08);
  border-left: 1px solid rgba(255, 253, 249, 0.08);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 82px;
  min-height: 650px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.hero-grid > * {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section-kicker .kicker-line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

.home-hero .section-kicker,
.services-section .section-kicker,
.contact-section .section-kicker,
.query-callout .section-kicker {
  color: #e7b6a9;
}

.hero-copy h1,
.callout-grid h2,
.credentials-copy h2,
.about-content h2,
.section-head-row h2,
.section-head-light h2,
.contact-grid h2,
.page-intro h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.14;
}

.hero-copy h1 {
  max-width: 650px;
  font-size: clamp(44px, 4.6vw, 70px);
}

.hero-copy h1 em {
  white-space: nowrap;
}

.hero-copy h1 em,
.callout-grid h2 em,
.credentials-copy h2 em,
.about-content h2 em,
.page-intro h1 em {
  color: #eab7aa;
  font-style: normal;
}

.hero-lead {
  max-width: 530px;
  margin: 28px 0 0;
  color: rgba(255, 253, 249, 0.76);
  font-size: 16px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-red {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.button-red:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 253, 249, 0.34);
}

.button-ghost:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button-light {
  color: var(--red-deep);
  background: var(--white);
  border-color: var(--white);
}

.button-light:hover {
  color: var(--ink);
  background: #f7e6df;
  border-color: #f7e6df;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 66px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}

.hero-proof div {
  display: grid;
  gap: 5px;
}

.hero-proof strong {
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
}

.hero-proof span {
  color: rgba(255, 253, 249, 0.5);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.hero-visual {
  position: relative;
  min-height: 555px;
}

.hero-image-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 590px);
  height: 510px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 249, 0.24);
  box-shadow: 22px 24px 0 rgba(185, 44, 37, 0.16);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.04);
}

.hero-image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 35, 40, 0.12), rgba(9, 35, 40, 0.62));
}

.hero-image-label {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: grid;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 253, 249, 0.6);
}

.hero-image-label span,
.hero-image-label strong {
  color: var(--white);
}

.hero-image-label span {
  font-size: 10px;
  letter-spacing: 0.15em;
}

.hero-image-label strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
}

.hero-vertical-note {
  position: absolute;
  top: 20px;
  right: -33px;
  color: rgba(255, 253, 249, 0.44);
  font-size: 9px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.hero-bottomline {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  color: rgba(255, 253, 249, 0.55);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.hero-bottomline-rule {
  width: 46px;
  height: 1px;
  background: rgba(255, 253, 249, 0.25);
}

.trust-band {
  color: var(--white);
  background: var(--red);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 18px 28px;
  border-right: 1px solid rgba(255, 253, 249, 0.25);
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-number {
  color: rgba(255, 253, 249, 0.54);
  font-family: var(--serif);
  font-size: 19px;
}

.trust-item div {
  display: grid;
  gap: 4px;
}

.trust-item strong {
  font-size: 14px;
  font-weight: 600;
}

.trust-item small {
  color: rgba(255, 253, 249, 0.7);
  font-size: 11px;
}

.content-section {
  padding: 120px 0;
}

.about-section,
.credentials-section,
.news-section {
  background: var(--paper);
}

.section-grid {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  column-gap: 32px;
  row-gap: 56px;
}

.section-index {
  padding-top: 7px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

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

.about-content h2,
.credentials-copy h2,
.section-head-row h2,
.section-head-light h2,
.contact-grid h2 {
  font-size: clamp(34px, 4.1vw, 58px);
}

.about-content h2,
.credentials-copy h2,
.section-head-row h2,
.contact-grid h2 {
  color: var(--ink);
}

.about-content h2 em,
.credentials-copy h2 em {
  color: var(--red);
}

.section-paragraph {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.text-link span,
.service-card-body a span,
.news-card a span {
  transition: transform 160ms ease;
}

.text-link:hover span,
.service-card-body a:hover span,
.news-card a:hover span {
  transform: translate(3px, -3px);
}

.about-sidecard {
  margin-top: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-image-frame {
  display: grid;
  place-items: center;
  height: 210px;
  overflow: hidden;
  background: #edf2f2;
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-sidecard-caption {
  display: grid;
  gap: 5px;
  padding: 18px;
}

.about-sidecard-caption span,
.document-label {
  color: var(--red);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.about-sidecard-caption strong {
  font-size: 13px;
}

.stat-row {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 720px;
  border-top: 1px solid var(--line);
}

.stat-row div {
  display: grid;
  gap: 5px;
  padding: 20px 20px 0 0;
  border-right: 1px solid var(--line);
}

.stat-row div:not(:first-child) {
  padding-left: 20px;
}

.stat-row div:last-child {
  border-right: 0;
}

.stat-row strong {
  color: var(--red);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}

.stat-row span {
  color: var(--ink-soft);
  font-size: 11px;
}

.services-section {
  color: var(--white);
  background: var(--ink);
}

.section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-head-row > p {
  max-width: 390px;
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.section-head-light h2 {
  color: var(--white);
}

.section-head-light h2 em {
  color: #e5b6aa;
}

.section-head-light > p {
  color: rgba(255, 253, 249, 0.63);
}

.service-cards {
  display: grid;
  grid-template-columns: 1.22fr 1fr 1fr;
  gap: 16px;
  margin-top: 54px;
}

.service-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  background: #173b3e;
  border: 1px solid rgba(255, 253, 249, 0.18);
}

.service-card-image {
  height: 196px;
  overflow: hidden;
  background: #d9e0dd;
}

.service-card-large .service-card-image {
  height: 240px;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.service-card:first-child .service-card-image img {
  object-position: center;
}

.service-card:hover .service-card-image img {
  transform: scale(1.04);
}

.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px 24px 22px;
}

.service-card-body > span {
  color: #a5c1bf;
  font-size: 9px;
  letter-spacing: 0.15em;
}

.service-card-body h3 {
  margin: 16px 0 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.35;
}

.service-card-body p {
  margin: 14px 0 0;
  color: rgba(255, 253, 249, 0.67);
  font-size: 13px;
  line-height: 1.9;
}

.service-card-body a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  color: #f1c2b5;
  font-size: 12px;
  font-weight: 700;
}

.service-footnote {
  display: flex;
  gap: 0;
  margin-top: 28px;
  color: rgba(255, 253, 249, 0.56);
  font-size: 11px;
}

.service-footnote span {
  padding: 0 22px;
  border-left: 1px solid rgba(255, 253, 249, 0.25);
}

.service-footnote span:first-child {
  padding-left: 0;
  border-left: 0;
}

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

.credential-list {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.credential-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 22px;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 160ms ease, color 160ms ease;
}

.credential-list a:hover {
  padding-right: 10px;
  padding-left: 10px;
  color: var(--red);
}

.credential-list a > span {
  grid-row: 1 / span 2;
  color: var(--red);
  font-family: var(--serif);
  font-size: 15px;
}

.credential-list strong {
  font-size: 14px;
  font-weight: 700;
}

.credential-list small {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 11px;
}

.credential-list b {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 16px;
  font-weight: 400;
}

.credential-document {
  position: relative;
  padding: 30px 30px 20px;
  background: #ddd6c9;
  box-shadow: 18px 18px 0 rgba(185, 44, 37, 0.12);
}

.credential-document::before {
  position: absolute;
  top: 14px;
  right: 14px;
  bottom: 14px;
  left: 14px;
  border: 1px solid rgba(16, 47, 51, 0.18);
  content: "";
  pointer-events: none;
}

.credential-document img {
  position: relative;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.82) contrast(0.96);
}

.document-label {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: var(--red-deep);
}

.document-caption {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  color: var(--ink);
  font-size: 11px;
}

.document-caption strong {
  font-weight: 700;
}

.query-callout {
  color: var(--white);
  background: var(--red-deep);
}

.callout-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 120px;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 90px;
}

.callout-grid h2 {
  font-size: clamp(38px, 4.8vw, 64px);
}

.callout-grid h2 em {
  color: #ffd1c4;
}

.callout-copy {
  max-width: 520px;
  justify-self: end;
}

.callout-copy p {
  margin: 0 0 26px;
  color: rgba(255, 253, 249, 0.77);
  font-size: 15px;
  line-height: 2;
}

.home-query-form {
  margin-top: 26px;
}

.home-query-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(130px, 0.65fr);
  gap: 10px;
}

.home-query-fields label {
  display: grid;
  gap: 7px;
  color: rgba(255, 253, 249, 0.82);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.home-query-fields input {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  color: var(--white);
  background: rgba(255, 253, 249, 0.09);
  border: 1px solid rgba(255, 253, 249, 0.35);
  border-radius: 0;
  outline: 0;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.home-query-fields input:focus {
  background: rgba(255, 253, 249, 0.15);
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 253, 249, 0.12);
}

.home-query-fields input::placeholder {
  color: rgba(255, 253, 249, 0.54);
}

.home-query-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
}

.callout-secondary-link {
  color: rgba(255, 253, 249, 0.76);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.callout-secondary-link:hover {
  color: var(--white);
}

.home-query-message {
  min-height: 18px;
  margin: 12px 0 0;
  color: rgba(255, 253, 249, 0.78);
  font-size: 11px;
}

.home-query-message.is-error {
  color: #ffd1c4;
}

.news-section {
  padding-bottom: 130px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
  margin-top: 52px;
}

.news-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 28px 24px 22px;
  background: var(--white);
  border-top: 2px solid var(--ink);
  box-shadow: 0 10px 30px rgba(16, 47, 51, 0.05);
}

.news-card-feature {
  color: var(--white);
  background: var(--ink);
  border-top-color: var(--red);
}

.news-card > span {
  color: var(--red);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.news-card-feature > span {
  color: #efbcb0;
}

.news-card h3 {
  margin: 21px 0 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.35;
}

.news-card p {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.news-card-feature p {
  color: rgba(255, 253, 249, 0.67);
}

.news-card a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.news-card-feature a {
  color: #efbcb0;
}

.contact-section {
  color: var(--white);
  background: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 120px;
  gap: 55px;
  align-items: center;
  padding-top: 82px;
  padding-bottom: 82px;
}

.contact-grid h2 {
  color: var(--white);
  font-size: clamp(32px, 3.6vw, 50px);
}

.contact-grid > div:first-child > p:not(.section-kicker) {
  max-width: 440px;
  margin: 24px 0 0;
  color: rgba(255, 253, 249, 0.62);
  font-size: 14px;
  line-height: 1.9;
}

.contact-details {
  display: grid;
  gap: 17px;
}

.contact-details div {
  display: grid;
  gap: 5px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 253, 249, 0.18);
}

.contact-details span {
  color: #e7b6a9;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.contact-details strong,
.contact-details a {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.contact-details a {
  font-size: 22px;
  font-family: var(--serif);
}

.contact-qr {
  width: 102px;
  padding: 8px;
  background: var(--white);
}

.site-footer {
  color: rgba(255, 253, 249, 0.63);
  background: var(--ink-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 45px;
  align-items: center;
  min-height: 146px;
}

.footer-brand img {
  width: min(360px, 100%);
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.82;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 19px;
  color: rgba(255, 253, 249, 0.82);
  font-size: 11px;
}

.footer-links a:hover {
  color: #efbcb0;
}

.footer-meta {
  display: grid;
  gap: 7px;
  justify-items: end;
  font-size: 10px;
  line-height: 1.7;
  text-align: right;
}

/* 查询页与结果页共用的页头 */
.inner-page .site-header {
  background: var(--paper);
}

.page-intro {
  color: var(--white);
  background: var(--ink);
}

.page-intro .container {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 80px;
  align-items: end;
  min-height: 300px;
  padding-top: 54px;
  padding-bottom: 58px;
}

.page-intro h1 {
  max-width: 570px;
  font-size: clamp(42px, 5vw, 72px);
}

.page-intro h1 em {
  color: #eab7aa;
}

.page-intro-copy {
  max-width: 420px;
  margin: 0 0 6px;
  color: rgba(255, 253, 249, 0.68);
  font-size: 14px;
  line-height: 1.95;
}

.page-intro .section-kicker {
  color: #e7b6a9;
}

.query-main,
.result-main-page {
  min-height: calc(100vh - 450px);
  background: var(--paper);
}

.query-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  gap: 22px;
  padding-top: 76px;
  padding-bottom: 100px;
}

.query-card,
.query-guide-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.query-card {
  padding: 42px 46px 36px;
}

.query-card h2,
.query-guide-card h2,
.result-heading h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.query-card > p,
.query-guide-card > p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
}

.query-form {
  margin-top: 32px;
}

.form-field {
  margin-top: 22px;
}

.form-field:first-child {
  margin-top: 0;
}

.form-field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 700;
}

.form-field label small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field input {
  width: 100%;
  height: 53px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  font-size: 15px;
  letter-spacing: 0.06em;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(185, 44, 37, 0.11);
}

.form-field input.has-error {
  border-color: var(--red);
}

.form-field input::placeholder {
  color: rgba(49, 86, 90, 0.64);
}

.field-hint,
.field-error {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.field-error {
  min-height: 17px;
  color: var(--red);
}

.query-submit {
  width: 100%;
  margin-top: 7px;
}

.query-submit[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.demo-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
}

.text-button {
  padding: 0;
  color: var(--red);
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 700;
}

.query-message {
  min-height: 20px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.query-message.is-error {
  color: var(--red);
}

.query-guide-card {
  padding: 34px 34px 26px;
  box-shadow: none;
}

.guide-steps {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.guide-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.guide-step > span {
  color: var(--red);
  font-family: var(--serif);
  font-size: 16px;
}

.guide-step strong {
  display: block;
  font-size: 13px;
}

.guide-step p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.guide-sample {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.guide-sample img {
  width: 112px;
  height: 82px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
}

.guide-sample div {
  display: grid;
  gap: 6px;
}

.guide-sample strong {
  font-size: 12px;
}

.guide-sample span {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.6;
}

.query-notice {
  margin-top: 24px;
  padding: 17px;
  color: var(--ink-soft);
  background: var(--paper-deep);
  border-left: 2px solid var(--red);
  font-size: 11px;
  line-height: 1.8;
}

.result-main-page {
  padding: 46px 0 90px;
}

.result-shell {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.result-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.result-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 12px;
}

.result-back:hover {
  color: var(--red);
}

.result-actions {
  display: flex;
  gap: 9px;
}

.small-button {
  min-height: 44px;
  padding: 0 13px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  font-size: 11px;
}

.small-button:hover {
  color: var(--red);
  border-color: var(--red);
}

.result-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.result-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 26px 32px 22px;
}

.result-logo {
  width: 250px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

.result-top-marks {
  display: flex;
  align-items: center;
  gap: 7px;
}

.result-marks-note {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.result-mark {
  display: grid;
  place-items: center;
  min-width: 47px;
  height: 34px;
  padding: 0 7px;
  color: var(--ink);
  border: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.result-mark-cma {
  color: var(--red);
  border-color: var(--red);
  border-radius: 50%;
}

.result-mark-blue {
  color: #24619a;
  border-color: #24619a;
  border-radius: 50%;
}

.result-mark-red {
  color: var(--red);
  border-color: var(--red);
  font-size: 18px;
  line-height: 1;
}

.result-query-banner {
  padding: 17px 20px;
  color: var(--white);
  background: var(--ink-deep);
  font-size: 15px;
  line-height: 1.6;
}

.result-query-banner strong {
  color: #f7c5b7;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.result-photo-wrap {
  padding: 9px;
  background: var(--paper-deep);
}

.result-photo-wrap img {
  width: 100%;
  height: min(68vw, 660px);
  min-height: 350px;
  object-fit: cover;
  object-position: center;
  background: #ae0d0d;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #1b2c2f;
  background: #d7d7d7;
  font-size: 14px;
}

.result-table th,
.result-table td {
  padding: 12px 16px;
  border: 1px solid #4b7979;
  vertical-align: middle;
}

.result-table th {
  width: 32%;
  color: #253c3f;
  font-weight: 400;
  line-height: 1.55;
  text-align: right;
}

.result-table td {
  color: #202c2e;
  text-align: center;
}

.result-table th span {
  display: block;
  font-size: 13px;
}

.result-table td strong {
  font-weight: 500;
}

.result-notes {
  padding: 27px 32px 34px;
  color: #30383a;
  background: var(--white);
  font-size: 13px;
  line-height: 2.08;
}

.result-notes p {
  margin: 0 0 10px;
}

.result-notes p:last-child {
  margin-bottom: 0;
}

.result-notes .result-note-warning {
  color: var(--red-deep);
}

.result-footer-line {
  display: flex;
  justify-content: center;
  padding: 0 32px 25px;
  color: #24727c;
  font-size: 11px;
}

.result-error-card {
  padding: 60px 40px;
  text-align: center;
}

.result-error-card h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
}

.result-error-card p {
  margin: 14px 0 25px;
  color: var(--ink-soft);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .container {
    width: min(100% - 48px, 1100px);
  }

  .brand-note {
    display: none;
  }

  .main-navigation {
    gap: 16px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
    gap: 48px;
  }

  .hero-image-wrap {
    width: min(100%, 520px);
  }

  .hero-vertical-note {
    right: -23px;
  }

  .about-content {
    gap: 40px;
  }

  .credentials-grid {
    gap: 55px;
  }
}

@media (max-width: 900px) {
  .utility-right {
    gap: 12px;
  }

  .nav-inner {
    min-height: 84px;
  }

  .brand img {
    width: 245px;
    max-height: 52px;
  }

  .menu-toggle {
    display: block;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    right: 24px;
    left: 24px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation > a {
    padding: 13px 12px;
  }

  .main-navigation .nav-query-link {
    justify-content: space-between;
    margin-top: 5px;
  }

  .main-navigation > a::after {
    right: 12px;
    left: 12px;
    bottom: 5px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 62px;
    padding-bottom: 54px;
  }

  .hero-copy h1 {
    max-width: 660px;
  }

  .hero-visual {
    min-height: 450px;
  }

  .hero-image-wrap {
    position: relative;
    width: calc(100% - 34px);
    height: 420px;
    margin-left: 34px;
  }

  .hero-vertical-note {
    top: 23px;
    right: -5px;
  }

  .about-content,
  .credentials-grid,
  .page-intro .container,
  .query-layout {
    grid-template-columns: 1fr;
  }

  .about-content {
    gap: 40px;
  }

  .about-sidecard {
    max-width: 390px;
    margin-top: 0;
  }

  .section-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .section-index {
    padding-top: 0;
  }

  .stat-row {
    grid-column: 1;
  }

  .service-cards,
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card-large {
    grid-column: 1 / -1;
  }

  .service-card-large .service-card-image {
    height: 260px;
  }

  .credentials-grid {
    gap: 48px;
  }

  .credential-document {
    max-width: 500px;
  }

  .callout-grid {
    gap: 45px;
  }

  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-qr {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: end;
  }

  .footer-meta {
    grid-column: 1 / -1;
    justify-items: start;
    text-align: left;
  }

  .page-intro .container {
    gap: 24px;
    min-height: auto;
  }

  .page-intro-copy {
    max-width: 520px;
  }
}

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

  .utility-inner {
    min-height: 30px;
  }

  .utility-inner > span:first-child {
    max-width: 46%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .utility-right {
    font-size: 10px;
  }

  .utility-right > :first-child {
    display: none;
  }

  .nav-inner {
    min-height: 72px;
  }

  .brand img {
    width: min(220px, 70vw);
    max-height: 46px;
  }

  .main-navigation {
    right: 18px;
    left: 18px;
  }

  .hero-grid {
    gap: 42px;
    padding-top: 48px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 10vw, 48px);
  }

  .hero-copy h1 em {
    white-space: normal;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    gap: 17px 26px;
    margin-top: 42px;
  }

  .hero-proof strong {
    font-size: 14px;
  }

  .hero-visual {
    min-height: 355px;
  }

  .hero-image-wrap {
    width: calc(100% - 21px);
    height: 325px;
    margin-left: 21px;
    box-shadow: 13px 14px 0 rgba(185, 44, 37, 0.16);
  }

  .hero-image-label {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .hero-image-label strong {
    font-size: 19px;
  }

  .hero-vertical-note {
    top: 10px;
    right: -2px;
    font-size: 8px;
  }

  .hero-bottomline {
    gap: 8px;
    padding-bottom: 15px;
    font-size: 8px;
  }

  .hero-bottomline-rule {
    width: 16px;
  }

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

  .trust-item,
  .trust-item:first-child {
    min-height: 72px;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 253, 249, 0.25);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .content-section {
    padding: 76px 0;
  }

  .about-content h2,
  .credentials-copy h2,
  .section-head-row h2,
  .section-head-light h2,
  .contact-grid h2 {
    font-size: 37px;
  }

  .section-paragraph {
    font-size: 14px;
    line-height: 1.9;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .stat-row div,
  .stat-row div:not(:first-child) {
    grid-template-columns: 75px 1fr;
    align-items: baseline;
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-row div:last-child {
    border-bottom: 0;
  }

  .stat-row strong {
    font-size: 24px;
  }

  .section-head-row {
    display: block;
  }

  .section-head-row > p {
    margin-top: 18px;
  }

  .service-cards,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .service-card-large {
    grid-column: auto;
  }

  .service-card,
  .service-card-large .service-card-image {
    min-height: 0;
  }

  .service-card-image,
  .service-card-large .service-card-image {
    height: 205px;
  }

  .service-footnote {
    display: grid;
    gap: 10px;
  }

  .service-footnote span,
  .service-footnote span:first-child {
    padding: 0 0 0 12px;
    border-left: 1px solid rgba(255, 253, 249, 0.25);
  }

  .credential-document {
    padding: 20px 20px 16px;
  }

  .credential-document img {
    height: 370px;
  }

  .callout-grid {
    display: block;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .callout-copy {
    margin-top: 27px;
  }

  .home-query-fields {
    grid-template-columns: 1fr;
  }

  .home-query-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .callout-secondary-link {
    align-self: flex-start;
  }

  .news-card {
    min-height: 220px;
  }

  .contact-grid {
    display: block;
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .contact-details {
    margin-top: 32px;
  }

  .contact-qr {
    display: none;
  }

  .footer-grid {
    display: block;
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .footer-brand img {
    width: min(300px, 100%);
  }

  .footer-links {
    margin-top: 24px;
  }

  .footer-meta {
    margin-top: 22px;
  }

  .page-intro .container {
    padding-top: 44px;
    padding-bottom: 45px;
  }

  .page-intro h1 {
    font-size: 45px;
  }

  .page-intro-copy {
    font-size: 13px;
  }

  .query-layout {
    gap: 16px;
    padding-top: 42px;
    padding-bottom: 65px;
  }

  .query-card {
    padding: 29px 22px 25px;
  }

  .query-card h2,
  .query-guide-card h2 {
    font-size: 29px;
  }

  .demo-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .query-guide-card {
    padding: 27px 22px 22px;
  }

  .result-main-page {
    padding: 26px 0 60px;
  }

  .result-shell {
    width: calc(100% - 24px);
  }

  .result-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .result-card-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    padding: 20px 15px 17px;
  }

  .result-logo {
    width: min(270px, 100%);
  }

  .result-top-marks {
    align-self: flex-end;
  }

  .result-query-banner {
    padding: 13px 12px;
    font-size: 13px;
  }

  .result-photo-wrap {
    padding: 6px;
  }

  .result-photo-wrap img {
    height: 74vw;
    min-height: 255px;
  }

  .result-table {
    font-size: 12px;
  }

  .result-table th,
  .result-table td {
    padding: 10px 7px;
  }

  .result-table th {
    width: 36%;
  }

  .result-table th span {
    font-size: 11px;
  }

  .result-notes {
    padding: 20px 15px 25px;
    font-size: 12px;
    line-height: 1.95;
  }

  .result-footer-line {
    padding-right: 15px;
    padding-left: 15px;
    font-size: 10px;
    text-align: center;
  }
}

@media print {
  .utility-bar,
  .site-header,
  .result-toolbar,
  .result-actions,
  .site-footer {
    display: none !important;
  }

  body,
  .result-main-page {
    background: #fff;
  }

  .result-main-page {
    padding: 0;
  }

  .result-shell {
    width: 100%;
  }

  .result-card {
    border: 0;
    box-shadow: none;
  }
}
