html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  color: #1f2937;
  background: #f7f9fb;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.site-navbar {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.navbar-brand {
  color: #0f3d5e;
}

.nav-link {
  font-weight: 500;
}

.site-hero .carousel-item {
  height: clamp(420px, 60vw, 680px);
  background: #0f2433;
}

.site-hero img {
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
}

.site-hero .carousel-caption {
  right: auto;
  bottom: 18%;
  left: 8%;
  max-width: 720px;
}

.site-hero h1,
.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

.site-hero .carousel-caption p {
  font-size: 1.15rem;
}

.hero-kicker,
.section-kicker {
  color: #0e7490;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-hero .hero-kicker {
  color: #9be7ff;
}

.section-block {
  padding: 72px 0;
  background: #ffffff;
}

.section-muted {
  background: #edf3f7;
}

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

.section-heading h2 {
  margin-bottom: 12px;
  color: #12263a;
  font-weight: 700;
}

.section-heading p:last-child {
  color: #5f6f7e;
}

.advantage-item,
.value-card,
.about-panel,
.product-card {
  border: 1px solid #dfe8ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 35, 55, 0.06);
}

.advantage-item {
  height: 100%;
  padding: 32px 24px;
}

.advantage-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #ffffff;
  background: #0e7490;
  font-weight: 700;
}

.advantage-item p,
.value-card p,
.product-card p,
.about-panel li,
.section-block p {
  color: #5f6f7e;
  line-height: 1.8;
}

.product-section {
  background: #f7f9fb;
}

.product-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15, 35, 55, 0.12);
}

.product-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.product-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card-body {
  padding: 24px;
}

.product-card h3 {
  color: #12263a;
  font-weight: 700;
}

.product-preview .modal-body {
  padding: 0;
}

.product-preview img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
}

.page-hero {
  padding: 88px 0;
  background: linear-gradient(135deg, #eef6f8 0%, #ffffff 58%, #f5f1e8 100%);
}

.about-page-hero {
  padding: 92px 0;
  background: linear-gradient(135deg, #f8f1f3 0%, #ffffff 54%, #eef6f8 100%);
}

.about-page-hero h1 {
  color: #12263a;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
}

.page-hero .lead {
  color: #4e6373;
  line-height: 1.8;
}

.about-page-hero .lead {
  color: #4e6373;
  line-height: 1.9;
}

.about-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.about-hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid #d9c2c9;
  border-radius: 999px;
  color: #77485d;
  background: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.about-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(15, 35, 55, 0.16);
}

.about-panel,
.value-card {
  height: 100%;
  padding: 30px;
}

.about-panel li {
  padding: 10px 0;
  border-bottom: 1px solid #e6edf2;
}

.about-panel li:last-child {
  border-bottom: 0;
}

.about-feature-panel p {
  color: #5f6f7e;
  line-height: 1.8;
}

.about-profile-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 241, 243, 0.92) 52%, rgba(238, 246, 248, 0.92) 100%);
}

.about-facts {
  margin: 24px 0 0;
}

.about-facts dt {
  color: #12263a;
  font-weight: 700;
}

.about-facts dd {
  margin-bottom: 14px;
  color: #5f6f7e;
}

.category-summary {
  height: 100%;
  padding: 28px;
  border: 1px solid #dfe8ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 35, 55, 0.06);
}

.category-summary h3 {
  color: #12263a;
  font-weight: 700;
}

.category-summary p {
  color: #5f6f7e;
  line-height: 1.8;
}

.about-decor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 56px;
}

.about-decor-item {
  min-height: 168px;
  padding: 26px;
  border: 1px solid #e1d9de;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 30px rgba(43, 36, 52, 0.06);
}

.about-decor-item span {
  display: inline-flex;
  margin-bottom: 18px;
  color: #9f6b7f;
  font-weight: 700;
}

.about-decor-item h2 {
  color: #12263a;
  font-weight: 700;
}

.about-decor-item p {
  margin-bottom: 0;
  color: #5f6f7e;
  line-height: 1.8;
}

.about-cta {
  padding: 58px 0;
  color: #ffffff;
  background: #5b3f52;
}

.about-cta-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.about-cta .section-kicker,
.about-cta p {
  color: #f3dfe7;
}

.site-footer {
  padding: 48px 0 24px;
  color: #dbe8ee;
  background: #123044;
}

.site-footer h2,
.site-footer dt {
  color: #ffffff;
}

.site-footer p,
.site-footer dd {
  color: #c7d4dc;
}

.footer-info dd {
  margin-bottom: 10px;
}

.footer-contact-link {
  color: #a7e7ff;
  text-decoration: none;
}

.footer-contact-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #a9bac5;
  font-size: 0.92rem;
}

.footer-records {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-record-link {
  color: inherit;
  text-decoration: none;
}

.footer-record-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .site-hero .carousel-item {
    height: 500px;
  }

  .site-hero .carousel-caption {
    right: 7%;
    bottom: 14%;
    left: 7%;
  }

  .site-hero .carousel-caption p {
    font-size: 1rem;
  }

  .section-block,
  .page-hero,
  .about-page-hero {
    padding: 52px 0;
  }

  .about-decor-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .about-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
