:root {
  --navy: #07172d;
  --navy-2: #0b2b57;
  --blue: #134a8e;
  --yellow: #ffb71b;
  --yellow-2: #ffd35c;
  --white: #ffffff;
  --text: #10243f;
  --muted: #657285;
  --border: #dbe3ef;
  --shadow: 0 14px 35px rgba(7, 23, 45, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 183, 27, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  min-height: 100vh;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #06142a 0%, #08264e 55%, #06142a 100%);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(5, 18, 38, 0.25);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 9px;
  background: linear-gradient(90deg, var(--yellow), #ffe08a, var(--yellow));
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  text-decoration: none;
  color: var(--white);
}

.brand-logo {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.brand-title {
  display: block;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.brand-subtitle {
  display: block;
  margin-top: 4px;
  font-size: clamp(14px, 1.4vw, 18px);
  color: var(--yellow);
  font-weight: 600;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 183, 27, 0.16);
  color: var(--yellow);
}

.nav-icon {
  font-size: 18px;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 38px 24px 70px;
}

.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 8px auto 28px;
}

.partner-logo-box {
  height: 112px;
  min-width: 210px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid rgba(219, 227, 239, 0.9);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo-box.bj {
  width: 390px;
}

.partner-logo-box.chubb {
  width: 178px;
  background: #ffb71b;
}

.partner-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 22px;
}

.promo-card {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid #204489;
  border-radius: 14px;
}

.promo-card img {
  width: 100%;
  height: auto;
}

.documents-card {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  background: #f6f9fc;
}

.documents-card img {
  width: 100%;
  height: auto;
}

.qr-section {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px 26px 32px;
  text-align: center;
}

.section-title {
  margin: 0 0 8px;
  color: var(--navy-2);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.16;
}

.section-desc {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 17px;
}

.select-row {
  display: flex;
  justify-content: center;
}

.select-box {
  width: min(100%, 420px);
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.25L7 7.25L13 1.25' stroke='%2310243F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1.5px solid #8fb2e5;
  border-radius: 10px;
  padding: 14px 48px 14px 16px;
  color: var(--text);
  font-size: 17px;
  outline: none;
  transition: 0.18s ease;
}

.select-box:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(19, 74, 142, 0.12);
}

.qr-display {
  max-width: 560px;
  min-height: 260px;
  margin: 24px auto 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.qr-label {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
  font-weight: 700;
}

.qr-image {
  width: 230px;
  height: 230px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid #eef2f7;
  padding: 10px;
  background: white;
}

.qr-image.is-hidden {
  display: none;
}

.placeholder-icon {
  width: 100px;
  height: 100px;
  opacity: 0.28;
}

.placeholder-icon.is-hidden {
  display: none;
}

.content-page {
  padding-top: 34px;
}

.page-heading {
  text-align: center;
  margin-bottom: 26px;
}

.page-heading h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--navy-2);
}

.page-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.image-viewer {
  max-width: 930px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.image-viewer img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #edf1f7;
}

.contact-viewer {
  max-width: 820px;
}

.site-footer {
  border-top: 1px solid rgba(219, 227, 239, 0.9);
  background: #ffffff;
  color: var(--muted);
  text-align: center;
  padding: 22px 16px;
  font-size: 14px;
}

@media (max-width: 860px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    min-width: auto;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-link {
    padding: 10px 12px;
    font-size: 15px;
  }

  .partner-logo-box,
  .partner-logo-box.bj,
  .partner-logo-box.chubb {
    width: min(100%, 380px);
  }
}

@media (max-width: 520px) {
  .page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .main-nav {
    gap: 4px;
  }

  .nav-link {
    width: calc(50% - 4px);
    justify-content: center;
    border-radius: 12px;
  }

  .partner-logo-box {
    height: 92px;
  }

  .qr-section {
    padding: 24px 14px;
  }

  .qr-display {
    min-height: 230px;
    padding: 16px;
  }

  .qr-image {
    width: 190px;
    height: 190px;
  }
}
