/* 卓居防伪查询 - 共用样式 */
:root {
  --fw-orange: #ff6537;
  --fw-black: #000000;
  --fw-gray: #6d6d6d;
  --fw-placeholder: #bbbbbb;
  --fw-border: #e5e5e5;
  --fw-bg: #f5f5f5;
  --fw-white: #ffffff;
  --fw-footer-bg: #1a1a1a;
  --fw-footer-muted: #d3d3d3;
  --fw-content: 1280px;
  --fw-header-max: 1188px;
  --fw-nav-underline: #fbcd57;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family:
    "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", Arial,
    sans-serif;
  color: var(--fw-black);
  background: var(--fw-white);
  line-height: 1.6;
  min-width: 320px;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul {
  list-style: none;
}

.fw-container {
  width: 100%;
  max-width: var(--fw-content);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Header（严格对齐 cnzhuoju.com 顶栏） ========== */
.fw-header {
  position: relative;
  z-index: 100;
  width: 100%;
  background: var(--fw-white);
}

.fw-header__inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--fw-header-max);
  margin: 0 auto;
  /* 原站 grid cell: margin-top/bottom 0.5rem */
  padding: 0.5rem 0;
  box-sizing: border-box;
}

.fw-logo-col {
  /* 原站 ≥769px: width ≈ 14.99% */
  width: 15%;
  flex-shrink: 0;
}

.fw-logo {
  display: block;
  /* 原站 #w_fimg-1569392445072 */
  width: 147px;
  max-width: 100%;
  min-height: 46px;
  margin-top: 4px;
}

.fw-logo img {
  display: block;
  width: 147px;
  max-width: 100%;
  height: auto;
  min-height: 46px;
  object-fit: contain;
  object-position: left center;
}

.fw-nav-col {
  /* 原站 ≥769px: width ≈ 84% + margin-left 1% */
  flex: 1;
  width: 84%;
  margin-left: 1%;
  position: relative;
  min-height: 50px;
}

.fw-nav-col::after {
  content: "";
  display: table;
  clear: both;
}

.fw-nav {
  /* 原站 .header .nav + .container margin-top:6px + float right */
  float: right;
  display: block;
  height: 50px;
  line-height: 50px;
  margin-top: 6px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.fw-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0;
}

.fw-nav__list::after {
  content: "";
  display: table;
  clear: both;
}

.fw-nav__list > li {
  float: left;
  position: relative;
  display: block;
}

.fw-nav__list > li::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--fw-nav-underline);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: all 0.5s ease 0s;
}

.fw-nav__list > li:hover::after,
.fw-nav__list > li.is-active::after {
  width: 100%;
}

.fw-nav__list > li > a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  text-decoration: none;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.fw-nav__list > li:hover > a {
  color: #000;
}

.fw-nav__list > li.is-active > a {
  color: orangered;
}

.fw-nav-toggle {
  display: none;
  float: right;
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  padding: 4px 10px;
  margin: 4px 12px 0 0;
  box-sizing: border-box;
}

.fw-nav-toggle span,
.fw-nav-toggle span::before,
.fw-nav-toggle span::after {
  display: block;
  width: 22px;
  height: 1px;
  background: #333;
  transition: 0.3s;
}

.fw-nav-toggle span {
  position: relative;
  /* margin: 18px auto 0; */
}

.fw-nav-toggle span::before,
.fw-nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
}

.fw-nav-toggle span::before {
  top: -8px;
}

.fw-nav-toggle span::after {
  top: 8px;
}

/* Mobile nav drawer */
.fw-mnav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s,
    visibility 0.25s;
}

.fw-mnav.is-open {
  opacity: 1;
  visibility: visible;
}

.fw-mnav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: var(--fw-white);
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}

.fw-mnav.is-open .fw-mnav__panel {
  transform: translateX(0);
}

.fw-mnav__close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.fw-mnav__close button {
  border: none;
  background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  padding: 4px 8px;
}

.fw-mnav__list a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding: 0 8px;
  font-size: 14px;
  border-bottom: 1px solid #f5f5f5;
  color: #333;
}

.fw-mnav__list a:hover {
  color: orangered;
}

/* ========== Hero ========== */
.fw-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0d1b2a;
}

.fw-hero--entry {
  height: 550px;
}

.fw-hero--result {
  height: 400px;
}

.fw-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.fw-hero__title {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: max(20px, calc((100% - var(--fw-content)) / 2 + 80px));
  padding-bottom: 40px;
  color: var(--fw-white);
}

.fw-hero__title h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.fw-hero__title p {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}

/* ========== Query form ========== */
.fw-query {
  background: var(--fw-white);
  padding: 40px 0 48px;
}

.fw-query__box {
  border: 1px solid var(--fw-border);
  background: var(--fw-white);
  padding: 40px 48px;
}

.fw-query__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.fw-query__label {
  font-size: 36px;
  font-weight: 700;
  color: var(--fw-black);
  white-space: nowrap;
}

.fw-query__input {
  width: 496px;
  max-width: 100%;
  height: 50px;
  border: 1px solid #ddd;
  padding: 0 16px;
  font-size: 18px;
  font-family: inherit;
  color: var(--fw-black);
  background: var(--fw-white);
  outline: none;
  transition: border-color 0.2s;
}

.fw-query__input::placeholder {
  color: var(--fw-placeholder);
  font-size: 18px;
}

.fw-query__input:focus {
  border-color: var(--fw-orange);
}

.fw-query__btn {
  width: 200px;
  height: 50px;
  border: none;
  background: var(--fw-orange);
  color: var(--fw-white);
  font-size: 18px;
  font-family: inherit;
  cursor: pointer;
  border-radius: 4px;
  transition:
    opacity 0.2s,
    background 0.2s;
}

.fw-query__btn:hover {
  opacity: 0.92;
}

.fw-query__error {
  display: none;
  text-align: center;
  color: #e00810;
  font-size: 14px;
  margin-top: 12px;
}

.fw-query__error.is-show {
  display: block;
}

/* ========== How to obtain ========== */
.fw-how {
  padding: 40px 0 60px;
  background: var(--fw-white);
}

.fw-how__grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.fw-how__left {
  flex: 1;
  max-width: 620px;
  padding-top: 40px;
}

.fw-how__en {
  font-size: 36px;
  font-weight: 700;
  color: var(--fw-orange);
  letter-spacing: 0.5px;
  line-height: 1.35;
  text-transform: uppercase;
}

.fw-how__zh {
  margin-top: 12px;
  font-size: 44px;
  font-weight: 700;
  color: var(--fw-orange);
  line-height: 1.3;
}

.fw-risk {
  margin-top: 36px;
  width: 536px;
  max-width: 100%;
  min-height: 198px;
  background: var(--fw-orange);
  border-radius: 6px;
  padding: 28px 32px;
  color: var(--fw-white);
}

.fw-risk__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.fw-risk__body {
  font-size: 20px;
  line-height: 1.7;
  color: var(--fw-white);
}

.fw-how__cert {
  flex-shrink: 0;
  width: 360px;
  max-width: 100%;
}

.fw-how__cert img {
  width: 360px;
  max-width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ========== Tips ========== */
.fw-tips {
  padding: 50px 0 80px;
  background: var(--fw-white);
}

.fw-tips__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
}

.fw-tips__title span {
  font-size: 30px;
  font-weight: 700;
  color: var(--fw-orange);
  white-space: nowrap;
}

.fw-tips__title::before,
.fw-tips__title::after {
  content: "";
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: #ddd;
}

.fw-tips__list {
  max-width: 900px;
  /* margin: 0 auto; */
}

.fw-tips__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 36px;
}

.fw-tips__item:last-child {
  margin-bottom: 0;
}

.fw-tips__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.fw-tips__icon img {
  width: 28px;
  height: 28px;
  display: block;
}

.fw-tips__content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--fw-black);
  margin-bottom: 8px;
  line-height: 1.4;
}

.fw-tips__content p {
  font-size: 20px;
  color: var(--fw-gray);
  line-height: 1.7;
}

/* ========== Result page ========== */
.fw-result-wrap {
  /* background: var(--fw-bg); */
  padding: 0 0 80px;
  margin-top: -80px;
  position: relative;
  z-index: 3;
}

.fw-result-card {
  max-width: 900px;
  margin: -5% auto;
  background: var(--fw-white);
  border-top: 4px solid var(--fw-orange);
  padding: 48px 56px 56px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.fw-result-card__title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: var(--fw-black);
}

.fw-result-card__line {
  width: 48px;
  height: 4px;
  background: var(--fw-orange);
  margin: 16px auto 28px;
}

.fw-result-card__status {
  text-align: center;
  font-size: 16px;
  color: var(--fw-black);
  margin-bottom: 8px;
}

.fw-result-card__count {
  text-align: center;
  margin: 12px 0 4px;
}

.fw-result-card__count .num {
  font-size: 60px;
  font-weight: 700;
  color: var(--fw-orange);
  line-height: 1;
}

.fw-result-card__count .unit {
  font-size: 28px;
  font-weight: 700;
  color: var(--fw-orange);
  margin-left: 4px;
}

.fw-result-card__note {
  text-align: center;
  font-size: 14px;
  color: var(--fw-gray);
  margin-bottom: 20px;
}

.fw-result-card__time {
  text-align: center;
  font-size: 16px;
  color: var(--fw-black);
  padding-bottom: 28px;
  border-bottom: 1px solid #eee;
  margin-bottom: 0;
}

.fw-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
  border: 1px solid #ddd;
}

.fw-info-table th {
  background: #fafafa;
  font-size: 18px;
  font-weight: 700;
  color: var(--fw-black);
  text-align: center;
  padding: 14px 16px;
  border-bottom: 1px solid #ddd;
}

.fw-info-table td {
  font-size: 18px;
  padding: 14px 20px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.fw-info-table tr:last-child td {
  border-bottom: none;
}

.fw-info-table tr:nth-child(even) td {
  background: #fafafa;
}

.fw-info-table .label {
  width: 28%;
  color: var(--fw-gray);
  text-align: center;
  border-right: 1px solid #eee;
}

.fw-info-table .value {
  color: var(--fw-black);
  text-align: left;
  padding-left: 40px;
}

.fw-result-card__disclaimer {
  text-align: center;
  font-size: 16px;
  color: var(--fw-gray);
  margin: 36px 0 24px;
  line-height: 1.6;
}

.fw-hotline-btn {
  display: block;
  width: 253px;
  height: 50px;
  margin: 0 auto;
  line-height: 50px;
  text-align: center;
  background: var(--fw-orange);
  color: var(--fw-white) !important;
  font-size: 16px;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.fw-hotline-btn:hover {
  opacity: 0.92;
}

/* ========== Footer ========== */
.fw-footer {
  background: var(--fw-footer-bg);
  color: var(--fw-footer-muted);
  padding: 48px 0 0;
}

.fw-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
}

.fw-footer__col h4 {
  font-size: 18px;
  color: var(--fw-white);
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.fw-footer__col h5 {
  font-size: 14px;
  color: var(--fw-white);
  font-weight: 400;
  margin-bottom: 12px;
}

.fw-footer__divider {
  width: 40px;
  height: 2px;
  background: var(--fw-orange);
  margin-bottom: 16px;
}

.fw-footer__col p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--fw-footer-muted);
}

.fw-footer__col a {
  color: var(--fw-footer-muted);
}

.fw-footer__col a:hover {
  color: var(--fw-orange);
}

.fw-footer__copy {
  border-top: 1px solid #333;
  text-align: center;
  padding: 16px 20px;
  font-size: 12px;
  color: var(--fw-footer-muted);
}

.fw-footer__copy a {
  color: var(--fw-footer-muted);
}

/* ========== Responsive ========== */
@media (max-width: 1199px) {
  .fw-nav__list > li > a {
    padding: 0 12px;
  }

  .fw-hero__title {
    padding-left: 40px;
  }

  .fw-hero__title h1 {
    font-size: 44px;
  }

  .fw-hero__title p {
    font-size: 22px;
  }

  .fw-how__en {
    font-size: 24px;
  }

  .fw-how__zh {
    font-size: 36px;
  }

  .fw-risk {
    width: 100%;
  }

  .fw-risk__body {
    font-size: 16px;
  }

  .fw-tips__content p {
    font-size: 16px;
  }

  .fw-result-card {
    margin-left: 20px;
    margin-right: 20px;
    padding: 40px 32px 48px;
  }
}

/* 原站：769–1024 导航 padding 收紧；≤768 显示汉堡 */
@media (max-width: 1024px) and (min-width: 769px) {
  .fw-nav__list > li > a {
    padding: 0 12px;
  }

  .fw-logo-col {
    width: 19%;
  }
}

@media (max-width: 768px) {
  .fw-header__inner {
    padding: 8px 0;
    justify-content: space-between;
  }

  .fw-logo-col {
    width: auto;
    margin-left: 12px;
  }

  .fw-logo,
  .fw-logo img {
    width: 120px;
    min-height: 0;
    margin-top: 0;
  }

  .fw-nav-col {
    width: auto;
    flex: 0 0 auto;
    margin-left: 0;
    min-height: 0;
  }

  .fw-nav {
    display: none;
    float: none;
    margin-top: 0;
  }

  .fw-nav-toggle {
    display: inline-block;
  }

  .fw-how__grid {
    flex-direction: column;
    align-items: center;
  }

  .fw-how__left {
    max-width: 100%;
    padding-top: 0;
    text-align: left;
    width: 100%;
  }

  .fw-hero--entry {
    height: 360px;
  }

  .fw-hero--result {
    height: 260px;
  }

  .fw-result-wrap {
    margin-top: -40px;
  }

  .fw-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .fw-logo-col {
    margin-left: 12px;
  }

  .fw-logo,
  .fw-logo img {
    width: 110px;
  }

  .fw-hero--entry {
    height: 260px;
  }

  .fw-hero--result {
    height: 180px;
  }

  .fw-hero__title {
    padding-left: 20px;
    padding-bottom: 24px;
  }

  .fw-hero__title h1 {
    font-size: 32px;
    letter-spacing: 2px;
  }

  .fw-hero__title p {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .fw-query {
    padding: 32px 0 24px;
  }

  .fw-query__row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .fw-query__label {
    font-size: 24px;
    text-align: center;
  }

  .fw-query__input {
    width: 100%;
  }

  .fw-query__btn {
    width: 100%;
  }

  .fw-how {
    padding: 24px 0 40px;
  }

  .fw-query__box {
    padding: 24px 16px;
  }

  .fw-how__en {
    font-size: 16px;
  }

  .fw-how__zh {
    font-size: 28px;
  }

  .fw-risk {
    padding: 20px;
    min-height: auto;
  }

  .fw-risk__title {
    font-size: 18px;
  }

  .fw-risk__body {
    font-size: 15px;
  }

  .fw-how__cert {
    width: 280px;
  }

  .fw-tips {
    padding: 32px 0 48px;
  }

  .fw-tips__title {
    gap: 12px;
    margin-bottom: 32px;
  }

  .fw-tips__title span {
    font-size: 22px;
  }

  .fw-tips__title::before,
  .fw-tips__title::after {
    max-width: 60px;
  }

  .fw-tips__item {
    margin-bottom: 28px;
  }

  .fw-tips__content h3 {
    font-size: 18px;
  }

  .fw-tips__content p {
    font-size: 14px;
  }

  .fw-result-wrap {
    margin-top: -30px;
    padding-bottom: 48px;
  }

  .fw-result-card {
    margin-left: 12px;
    margin-right: 12px;
    padding: 28px 16px 36px;
  }

  .fw-result-card__title {
    font-size: 24px;
  }

  .fw-result-card__count .num {
    font-size: 48px;
  }

  .fw-result-card__count .unit {
    font-size: 22px;
  }

  .fw-info-table,
  .fw-info-table tbody,
  .fw-info-table tr,
  .fw-info-table td {
    display: block;
    width: 100%;
  }

  .fw-info-table thead {
    display: block;
  }

  .fw-info-table th {
    display: block;
    width: 100%;
  }

  .fw-info-table .label {
    width: 100%;
    border-right: none;
    border-bottom: none;
    padding-bottom: 4px;
    text-align: left;
    font-size: 14px;
    background: transparent !important;
  }

  .fw-info-table .value {
    padding: 0 16px 14px;
    font-size: 16px;
    border-bottom: 1px solid #eee;
  }

  .fw-info-table tr {
    border-bottom: none;
  }

  .fw-info-table tr:nth-child(even) td.label,
  .fw-info-table tr:nth-child(even) td.value {
    background: #fafafa;
  }

  .fw-result-card__disclaimer {
    font-size: 14px;
    margin: 28px 0 20px;
    padding: 0 4px;
  }

  .fw-hotline-btn {
    width: 100%;
    max-width: 280px;
  }

  .fw-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
