/* Global */
:root {
  --brand: #1f6feb;
  --brand-2: #0b3a84;
  --muted: #f3f6fb;
  --text: #0f172a;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  --radius: 16px;
}

html,
body {
  height: 100%;
}

body {
  color: var(--text);
  background: #fff;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 9999;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 30%, #63a7ff, var(--brand));
  box-shadow: 0 8px 20px rgba(31, 111, 235, 0.25);
}

.nav-search .input-group-text {
  border-right: 0;
}
.nav-search input {
  border-left: 0;
}

/* Navbar height */
.navbar {
  padding-top: 14px;
  padding-bottom: 14px;
}
.navbar .navbar-brand {
  padding-top: 2px;
  padding-bottom: 2px;
}
.navbar .nav-link {
  padding-top: 10px;
  padding-bottom: 10px;
}
.nav-search .input-group-text,
.nav-search .form-control {
  padding-top: 10px;
  padding-bottom: 10px;
}

.section {
  padding: 56px 0;
}
.section-muted {
  background: var(--muted);
}

/* Home: company intro (video + text) */
.company-intro .intro-kicker {
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 22px;
  margin-bottom: 14px;
}
.company-intro .intro-title {
  font-weight: 900;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.company-intro .intro-desc {
  color: rgba(15, 23, 42, 0.72);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 58ch;
}

.hero {
  position: relative;
  padding: 44px 0 56px;
}

/* Home hero banner：背景轮播 + 渐变遮罩 + 文案层 */
.hero-banner {
  padding: 56px 0;
  min-height: clamp(320px, 42vw, 520px);
  display: grid;
  align-items: center;
}
.z-hero {
  z-index: 2;
}
.hero-banner-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-banner-carousel .carousel-inner,
.hero-banner-carousel .carousel-item {
  min-height: clamp(320px, 42vw, 520px);
  height: 100%;
}
/* 勿为 .carousel-item 写 transform 过渡，会覆盖 Bootstrap .carousel-fade，导致轮播异常 */
.hero-banner-slide {
  min-height: clamp(320px, 42vw, 520px);
  height: 100%;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.92) 52%, rgba(255, 255, 255, 0.0) 72%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.18), rgba(11, 58, 132, 0.06));
}
.hero-banner-indicators {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  margin: 0;
  z-index: 3;
  justify-content: center;
  gap: 8px;
}
.hero-banner-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  margin: 0;
  background: rgba(15, 23, 42, 0.22);
  opacity: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-banner-indicators [data-bs-target].active {
  background: var(--brand);
  transform: scale(1.25);
}
.hero-banner-content {
  max-width: 620px;
  padding: 8px 0;
}
.hero-banner .eyebrow {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.hero-btn-ghost {
  border-color: rgba(15, 23, 42, 0.15) !important;
  color: rgba(15, 23, 42, 0.8) !important;
  background: rgba(255, 255, 255, 0.75) !important;
}
.hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.92) !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 111, 235, 0.08);
  color: var(--brand-2);
  font-weight: 600;
  font-size: 13px;
}
.eyebrow .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
}

.hero-media {
  border-radius: calc(var(--radius) + 8px);
  background: #fff;
  overflow: hidden;
}
.hero-media-inner {
  position: relative;
  min-height: 320px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(31, 111, 235, 0.08), rgba(31, 111, 235, 0.03));
}
.hero-phone {
  width: min(320px, 100%);
  height: 320px;
  margin-left: auto;
  border-radius: 28px;
  background: linear-gradient(180deg, #0b1220 0%, #202a44 100%);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-phone::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 20% 20%, rgba(99, 167, 255, 0.5), transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(31, 111, 235, 0.35), transparent 55%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.15), transparent 60%);
  transform: rotate(10deg);
}
.hero-badge {
  position: absolute;
  left: 26px;
  bottom: 26px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  max-width: 240px;
}

.hero-strip {
  margin-top: 18px;
}

.strip-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.strip-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(31, 111, 235, 0.1);
  color: var(--brand-2);
  font-weight: 700;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}
.chip:hover {
  border-color: rgba(31, 111, 235, 0.4);
  background: rgba(31, 111, 235, 0.08);
}

.product-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 111, 235, 0.35);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
}
.product-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.16), rgba(31, 111, 235, 0.04));
}
.product-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-body {
  padding: 12px 12px 14px;
}
.product-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.pill {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.8);
}
.badge-soft {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-weight: 700;
  font-size: 12px;
  color: var(--brand-2);
}

/* Home: Popular Models cards (match design screenshot) */
.popular-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  height: 100%;
}
.popular-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 111, 235, 0.28);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}
.popular-media {
  padding: 16px 16px 6px;
}
.popular-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  background: #f3f6fb;
}
.popular-title {
  padding: 10px 16px 16px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
  color: rgba(15, 23, 42, 0.92);
  text-align: center;
}

.feature-card {
  padding: 14px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  height: 100%;
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(31, 111, 235, 0.1);
  margin-bottom: 10px;
}

.card-soft {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

/* Home: FAQ + Message (match screenshot) */
.faq-message {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1200px 560px at 15% 0%, rgba(99, 167, 255, 0.28), transparent 55%),
    radial-gradient(900px 520px at 80% 30%, rgba(31, 111, 235, 0.22), transparent 60%),
    linear-gradient(135deg, #0c3f93 0%, #0a2f6f 55%, #083064 100%);
  overflow: hidden;
}
.faq-message::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.0)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 2px, rgba(255, 255, 255, 0.0) 2px 14px);
  opacity: 0.35;
  pointer-events: none;
}
.faq-message .container {
  position: relative;
  z-index: 1;
}
.faq-message .h4 {
  color: #fff;
}

.faq-accordion.accordion {
  --bs-accordion-border-width: 0;
  --bs-accordion-bg: transparent;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-color: rgba(255, 255, 255, 0.92);
  --bs-accordion-active-color: #fff;
}
.faq-accordion .accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.faq-accordion .accordion-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.faq-accordion .accordion-button {
  background: transparent;
  padding: 16px 10px;
  font-weight: 700;
  letter-spacing: 0.1px;
}
.faq-accordion .accordion-button::after {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.faq-accordion .accordion-button:not(.collapsed) {
  box-shadow: none;
}
.faq-q {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: baseline;
  width: 100%;
}
.faq-no {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}
.faq-text {
  color: rgba(255, 255, 255, 0.92);
}
.faq-accordion .accordion-body {
  background: rgba(255, 255, 255, 0.94);
  color: rgba(15, 23, 42, 0.78);
  border-radius: 4px;
  padding: 14px 16px;
  margin: 0 10px 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}
.faq-accordion .accordion-body strong {
  color: rgba(15, 23, 42, 0.9);
}

.faq-message .card-soft {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.08);
}
.faq-message .card-soft .card-body {
  padding: 22px;
}
.message-form .form-label {
  color: rgba(15, 23, 42, 0.82);
  font-weight: 700;
  font-size: 13px;
}
.message-form .form-control {
  border-radius: 3px;
  border-color: rgba(15, 23, 42, 0.15);
  padding-top: 10px;
  padding-bottom: 10px;
}
.message-form .form-control:focus {
  border-color: rgba(31, 111, 235, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(31, 111, 235, 0.18);
}
.captcha-mock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #f4f7fb;
  border-radius: 3px;
  padding: 12px 12px;
}
.captcha-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(15, 23, 42, 0.82);
  font-weight: 700;
  user-select: none;
}
.captcha-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}
.captcha-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(15, 23, 42, 0.65);
}
.captcha-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 35% 35%, rgba(99, 167, 255, 0.95), rgba(31, 111, 235, 0.9)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}
.captcha-text .small {
  font-size: 11px;
  color: rgba(15, 23, 42, 0.55);
}
.btn-submit {
  padding-top: 12px;
  padding-bottom: 12px;
  font-weight: 700;
}

.footer {
  padding: 46px 0 26px;
  background: #f7f9fc;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.footer-title {
  font-weight: 800;
  margin-bottom: 10px;
}
.footer-link {
  color: rgba(15, 23, 42, 0.75);
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
}
.footer-link:hover {
  color: var(--brand-2);
}
.footer-bottom {
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 14px;
}

/* Page heroes / filters */
.page-hero {
  padding: 34px 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), transparent 60%), radial-gradient(circle at 70% 20%, rgba(31, 111, 235, 0.18), transparent 50%);
}
.category-hero-section {
  padding: 0;
  margin: 0;
}
.category-hero {
  position: relative;
  border-radius: calc(var(--radius) + 10px);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
  background: #fff;
}
.category-hero-img {
  width: 100%;
  height: clamp(180px, 22vw, 320px);
  object-fit: cover;
  object-position: center;
  display: block;
}
.category-hero--full {
  border-radius: 0;
  border: 0;
  box-shadow: none;
}
.category-hero-img--full {
  height: clamp(220px, 26vw, 380px);
}
.category-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.0) 0%, rgba(15, 23, 42, 0.08) 70%, rgba(15, 23, 42, 0.16) 100%),
    radial-gradient(600px 240px at 20% 0%, rgba(31, 111, 235, 0.22), transparent 60%);
  pointer-events: none;
}
.page-hero-card {
  padding: 18px 18px;
  border-radius: calc(var(--radius) + 6px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
.page-hero-media {
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.18), rgba(31, 111, 235, 0.04));
  min-height: 200px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.page-hero-phone {
  width: min(260px, 78%);
  height: 200px;
  border-radius: 26px;
  background: linear-gradient(180deg, #0b1220 0%, #202a44 100%);
  box-shadow: var(--shadow);
  transform: rotate(-8deg);
}
.filters {
  position: sticky;
  top: 86px;
}
.filter-title {
  font-weight: 800;
  font-size: 13px;
  margin: 10px 0 8px;
  color: rgba(15, 23, 42, 0.8);
}
.filter-list {
  display: grid;
  gap: 8px;
}

/* Products sidebar: multi-level category tree */
.filter-nav-tree.filter-list {
  display: block;
}
.filter-nav-root {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.filter-nav-item {
  margin: 0;
}
.filter-nav-group {
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.filter-nav-link {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: rgba(15, 23, 42, 0.78);
  text-decoration: none;
  transition: background 0.12s ease, color 0.12s ease;
}
.filter-nav-link:hover {
  background: rgba(31, 111, 235, 0.08);
  color: var(--brand-2);
}
.filter-nav-link.is-active {
  background: rgba(31, 111, 235, 0.12);
  color: var(--brand);
  font-weight: 600;
}
.filter-nav-link--parent {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.88);
  border-radius: 0.5rem 0.5rem 0 0;
}
.filter-nav-link--parent:hover .filter-nav-chevron {
  color: var(--brand);
}
.filter-nav-chevron {
  flex-shrink: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.45;
  margin-top: -0.1rem;
}
.filter-nav-label {
  flex: 1;
  min-width: 0;
}
.filter-nav-sub {
  margin: 0;
  padding: 0.35rem 0.5rem 0.5rem 1.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.filter-nav-sub li {
  margin: 0.2rem 0;
}
.filter-nav-link--child {
  padding: 0.35rem 0.5rem;
  font-weight: 500;
  border-left: 2px solid rgba(31, 111, 235, 0.2);
  margin-left: 0.15rem;
  border-radius: 0 0.25rem 0.25rem 0;
}
.filter-nav-link--child:hover,
.filter-nav-link--child.is-active {
  border-left-color: var(--brand);
}
.promo-panel {
  min-height: 220px;
  border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.2), rgba(31, 111, 235, 0.04));
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 18px;
  display: grid;
  align-content: end;
}
.promo-title {
  font-weight: 900;
  font-size: 20px;
}
.mini-card {
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  padding: 14px;
  height: 100%;
}

/* Detail page */
.detail-main-photo.ratio {
  width: 100%;
  aspect-ratio: 1 / 1;
}
.detail-main-photo [data-gallery-main] {
  object-fit: cover;
  object-position: center;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.16), rgba(31, 111, 235, 0.04));
  position: relative;
  overflow: hidden;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}
.thumb::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 12px;
  opacity: 0.92;
}
.thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 111, 235, 0.45);
}
.thumb.is-active {
  border-color: rgba(31, 111, 235, 0.7);
  box-shadow: 0 10px 22px rgba(31, 111, 235, 0.16);
}

.hscroll {
  position: relative;
}
.hscroll-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.hscroll-item {
  scroll-snap-align: start;
  min-width: 220px;
}
.hscroll-controls {
  display: flex;
  margin-top: 10px;
  gap: 8px;
  justify-content: flex-end;
}

/* About page */
.about-hero {
  padding: 22px 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.2)),
    radial-gradient(circle at 20% 20%, rgba(31, 111, 235, 0.5), transparent 55%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.25), transparent);
}
.about-hero-inner {
  border-radius: calc(var(--radius) + 14px);
  min-height: 180px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(86px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.gallery-item {
  height: 62px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.18), rgba(31, 111, 235, 0.04));
}
.about-photo-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.about-photo {
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  overflow: hidden;
  min-height: 150px;
  position: relative;
}
.about-photo.big {
  grid-row: span 2;
  min-height: 312px;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-photo-small {
  min-height: 110px;
}
.about-photo-big {
  min-height: 312px;
}

.about-photo-grid-single {
  grid-template-columns: 1fr;
  grid-template-rows: auto;
}
.about-photo-single {
  position: relative;
  border-radius: calc(var(--radius) + 10px);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
  background-color: #fff;
  background-image: var(--about-photo);
  background-size: cover;
  background-position: center;
  height: clamp(260px, 34vw, 420px);
}
.about-photo-single::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: clamp(120px, 22%, 200px);
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  border: 10px solid #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
  background-image: var(--about-photo);
  background-size: cover;
  background-position: 20% 20%;
}

.about-history-panel {
  position: relative;
  padding: 10px 0 10px;
}
.about-history-panel::before {
  content: "";
  position: absolute;
  inset: -14px -14px -14px -14px;
  border-radius: calc(var(--radius) + 10px);
  background:
    radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.12) 1px, transparent 1.6px) 0 0 / 12px 12px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92));
  opacity: 0.65;
  pointer-events: none;
}
.about-history-panel > * {
  position: relative;
}
.timeline-card {
  height: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  padding: 14px;
}
.timeline-year {
  display: inline-block;
  font-weight: 900;
  color: var(--brand-2);
  background: rgba(31, 111, 235, 0.08);
  border: 1px solid rgba(31, 111, 235, 0.18);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  font-size: 12px;
}
.adv-card {
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  padding: 12px;
}
.adv-photo {
  height: 130px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.2), rgba(31, 111, 235, 0.04));
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.team-photo {
  height: 150px;
  border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.06), rgba(31, 111, 235, 0.12));
  border: 1px solid rgba(15, 23, 42, 0.08);
}

/* Contact page */
.contact-hero {
  padding: 26px 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.2)),
    radial-gradient(circle at 60% 10%, rgba(31, 111, 235, 0.5), transparent 55%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.25), transparent);
}
.contact-hero-inner {
  min-height: 160px;
  display: grid;
  align-content: center;
}
.contact-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  padding: 14px;
  height: 100%;
}
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(31, 111, 235, 0.1);
}

/* PbootCMS page bar 美化 */
nav[aria-label="pagination"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.page-status,
.page-index,
.page-pre,
.page-numbar,
.page-next,
.page-last {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
}

.page-status {
  margin-right: 0.5rem;
  color: #6c757d;
}

.page-index a,
.page-pre a,
.page-next a,
.page-last a,
.page-numbar .page-num {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #dee2e6;
  background-color: #fff;
  color: #0d6efd;
  text-decoration: none;
  margin: 0 2px;
  line-height: 1.2;
  transition: all 0.15s ease-in-out;
}

.page-index a:hover,
.page-pre a:hover,
.page-next a:hover,
.page-last a:hover,
.page-numbar .page-num:hover {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

.page-numbar .page-num-current {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

.page-pre a[href="javascript:;"],
.page-next a[href="javascript:;"] {
  cursor: not-allowed;
  color: #adb5bd;
  border-color: #e9ecef;
  background-color: #f8f9fa;
}

/* Contact 页 FAQ（浅色背景）文字改黑 */
#quote .faq-accordion.accordion {
  --bs-accordion-btn-color: rgba(15, 23, 42, 0.9);
  --bs-accordion-active-color: rgba(15, 23, 42, 0.95);
}

#quote .faq-accordion .accordion-item {
  border-bottom-color: rgba(15, 23, 42, 0.12);
}

#quote .faq-accordion .accordion-item:first-child {
  border-top-color: rgba(15, 23, 42, 0.12);
}

#quote .faq-accordion .accordion-button::after {
  filter: none;
  opacity: 0.6;
}

#quote .faq-accordion .faq-no,
#quote .faq-accordion .faq-text {
  color: rgba(15, 23, 42, 0.92);
}

@media (max-width: 576px) {
  .page-status {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .section {
    padding: 42px 0;
  }
  .filters {
    position: static;
    top: auto;
  }
  .hero-banner-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.86) 48%, rgba(255, 255, 255, 0.0) 78%),
      linear-gradient(135deg, rgba(31, 111, 235, 0.18), rgba(11, 58, 132, 0.06));
  }
  .hero-banner-slide {
    background-position: center;
  }
  .about-photo-grid {
    grid-template-columns: 1fr;
  }
  .about-photo.big {
    grid-row: auto;
    min-height: 220px;
  }
}

