/* =========================================================
   Inner pages — 关于我们 / 产品中心 / 加入我们
   Reuses tokens & component classes from style.css (same palette).
   ========================================================= */

/* Inner hero is shorter than the full-screen home hero */
.inner-page .hero {
  min-height: 400px;
}

.inner-page .hero-title {
  font-size: 2.8rem;
  animation: none;
  opacity: 1;
  transform: none;
}

.inner-page .hero-overline,
.inner-page .hero-desc,
.inner-page .hero-actions {
  animation: none;
  opacity: 1;
  transform: none;
}

/* Breadcrumb inside hero */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb .sep {
  opacity: 0.5;
}

.breadcrumb .current {
  color: #fff;
  font-weight: 600;
}

/* Offset anchors so the fixed header doesn't cover section titles */
section[id] {
  scroll-margin-top: 100px;
}

/* Section heading (overrides .home-floor-head for inner pages) */
.sec-head {
  margin-bottom: 48px;
}

.sec-head h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 14px;
}

.sec-head p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Lead paragraph */
.lead {
  font-size: 1.1rem;
  line-height: 1.95;
  color: var(--text-secondary);
  max-width: 880px;
}

/* In-page anchor sub-navigation (pill buttons) */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.subnav a {
  padding: 11px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.subnav a:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 18px rgba(22, 102, 201, 0.22);
  transform: translateY(-2px);
}

.subnav a.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

/* ===== 企业展示 gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.6s ease;
}

.gallery figure:hover img {
  transform: scale(1.06);
}

.gallery figcaption {
  padding: 13px 16px;
  background: #fff;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===== Lightbox (click gallery image to enlarge) ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
  padding: 40px;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  background: #fff;
}

.lightbox .lb-caption {
  margin-top: 18px;
  color: #fff;
  font-size: 0.98rem;
  letter-spacing: 0.05em;
}

.lightbox .lb-close {
  position: absolute;
  top: 22px;
  right: 30px;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}

/* ===== Product detail rows (alternating image/text) ===== */
.prod-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.prod-row:last-child {
  border-bottom: none;
}

.prod-row:nth-child(even) .prod-media {
  order: 2;
}

.prod-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.prod-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.prod-info .prod-index {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 10px;
}

.prod-info h2 {
  font-size: 2rem;
  margin-bottom: 6px;
}

.prod-info .prod-en {
  display: block;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.prod-info p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 18px;
}

.prod-spec {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin-top: 6px;
}

.prod-spec div {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.prod-spec div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

/* ===== Join us: talent cards & job list ===== */
.talent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.talent-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.talent-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.talent-card .t-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.talent-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.talent-card p {
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 0.95rem;
}

.job-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.job-item {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 0.8fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.job-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.job-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.job-meta,
.job-loc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.job-apply .btn {
  white-space: nowrap;
}

/* ===== Contact form ===== */
.contact-form {
  max-width: 760px;
  margin-top: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-sizing: border-box;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== News center list ===== */
.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  display: grid;
  grid-template-columns: 130px 1fr 240px 34px;
  align-items: center;
  gap: 28px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.news-item:hover {
  background: var(--bg-alt);
}

.news-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 150px;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.news-item:hover .news-thumb img {
  transform: scale(1.05);
}

.news-date {
  text-align: center;
  border-right: 1px solid var(--border);
  padding-right: 22px;
}

.news-date .d-day {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.05;
}

.news-date .d-rest {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.news-main .n-cat {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--accent-light);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.news-main .n-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  transition: color var(--transition);
}

.news-item:hover .n-title {
  color: var(--primary);
}

.news-main .n-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-arrow {
  justify-self: end;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform var(--transition), color var(--transition);
}

.news-item:hover .news-arrow {
  color: var(--primary);
  transform: translateX(4px);
}

/* ===== News detail page (two-column: article + related cards) ===== */
/* Light page background + white content panel for layered look */
.nd-section {
  background: #f4f6fa;
}

.nd-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 48px 56px;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
}

.news-detail {
  max-width: none;
  margin: 0;
  min-width: 0;
}

.nd-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 12px;
}

.nd-time {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

/* Sidebar — related news image cards */
.nd-side {
  border-left: 1px solid var(--border);
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.side-card {
  position: relative;
  display: block;
  height: 150px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.side-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.side-card:hover img {
  transform: scale(1.06);
}

.side-card .sc-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 16px 12px;
  background: linear-gradient(to top, rgba(10, 25, 50, 0.85) 0%, rgba(10, 25, 50, 0.35) 60%, transparent 100%);
  color: #fff;
  z-index: 1;
}

.side-card .sc-date {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3px;
}

.side-card .sc-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1024px) {
  .nd-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 28px 22px;
  }

  .nd-side {
    border-left: none;
    padding-left: 0;
  }
}

.nd-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.nd-meta .n-cat {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
}

.nd-date {
  color: var(--text-muted);
  font-size: 0.9rem;
}


.nd-back {
  text-align: center;
  margin-top: 48px;
}

/* ===== Certifications grid (4 per row) ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cert-grid figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  transition: box-shadow var(--transition), transform var(--transition);
}

.cert-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #f3f8fe;
  padding: 12px;
  transition: transform 0.6s ease;
}

.cert-grid figure:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.cert-grid figcaption {
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-align: center;
}

/* ===== Product card grid (simpler product layout) ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-thumb {
  height: 280px;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.06);
}

.pc-body {
  padding: 22px 24px 26px;
}

.pc-body h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.pc-body .prod-en {
  display: block;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pc-body p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.93rem;
}

.pc-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.pc-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
}

.product-card:hover .pc-more {
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prod-row {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 0;
  }

  .prod-row:nth-child(even) .prod-media {
    order: 0;
  }

  .prod-media img {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .inner-page .hero {
    min-height: 300px;
  }

  .inner-page .hero-title {
    font-size: 2rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-thumb {
    height: 240px;
  }

  .prod-info h2 {
    font-size: 1.6rem;
  }

  .subnav {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .talent-grid {
    grid-template-columns: 1fr;
  }

  .job-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px;
  }

  .job-apply {
    margin-top: 6px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 4px;
  }

  .news-date {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 12px;
    text-align: left;
  }

  .news-arrow {
    display: none;
  }

  .news-thumb {
    height: 180px;
    border-radius: 12px;
    grid-column: 1 / -1;
  }
}

/* ===== Homepage styles merged from home.css (2026-09-20) ===== */
/* =========================================================
   Home page — floor-style layout (reference: fengxiaquan.com)
   Tech-blue corporate theme. Loaded only on index.html.
   ========================================================= */

/* ---------- Wider homepage container ---------- */
.home-page .container {
  max-width: 1400px;
}

/* ---------- Eyebrow / Floor title ---------- */
.home-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.home-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 18px;
}

.home-title i {
  display: block;
  width: 54px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.home-title.center {
  justify-content: center;
}

.home-floor-head {
  margin-bottom: 48px;
}

.home-floor-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.home-floor-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.home-floor-head.flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 100%;
  margin-bottom: 40px;
}

.home-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  border: 1.5px solid rgba(22, 102, 201, 0.45);
  border-radius: 999px;
  padding: 10px 24px;
  white-space: nowrap;
  transition: all var(--transition);
}

.home-more .more-arrow {
  display: inline-block;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform var(--transition);
}

.home-more:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 102, 201, 0.3);
  transform: translateY(-2px);
}

.home-more:hover .more-arrow {
  transform: translateX(4px);
}

/* =========================================================
   Hero — full-screen banner carousel
   ========================================================= */
.home-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--bg-dark);
}

.home-hero-slides {
  position: absolute;
  inset: 0;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 6s ease;
  z-index: 0;
}

.home-hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(22, 102, 201, 0.72) 0%, rgba(15, 74, 147, 0.42) 45%, rgba(10, 25, 50, 0.38) 100%);
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.home-hero-content {
  max-width: 760px;
  color: #fff;
  padding: 0 8px;
  margin-left: 3%;
}

.home-hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 22px;
}

.home-hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.home-hero-desc {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 36px;
  max-width: 660px;
}

.home-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  background: transparent;
  transition: all var(--transition);
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--primary);
}

.home-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background var(--transition);
  backdrop-filter: blur(4px);
}

.home-hero-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}

.home-hero-arrow.prev {
  left: 28px;
}

.home-hero-arrow.next {
  right: 28px;
}

.home-hero-dots {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.home-hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.home-hero-dot.active {
  background: #fff;
  width: 32px;
  border-radius: 6px;
}

.home-hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.home-hero-scroll .scroll-txt {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.home-hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}

.home-hero-scroll .scroll-line::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #fff;
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: -40px; }
  100% { top: 40px; }
}

/* ===== Product detail content width (整体缩小 200px) ===== */
.pd-wrap {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Product detail section tab (详细介绍) ===== */
.sec-tab {
  display: flex;
  align-items: center;
  margin: 12px 0 34px;
  background: var(--primary);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(22, 102, 201, 0.18);
}

.sec-tab-label {
  flex-shrink: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 15px 28px;
}

/* ===== Product CTA band: photo background + blue overlay ===== */
.cta-band {
  position: relative;
  background-image: url('../images/t4.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 74, 147, 0.92), rgba(15, 74, 147, 0.82));
  z-index: 0;
}

/* =========================================================
   Company Profile floor
   ========================================================= */
.home-about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.home-about-text p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 18px;
}

.home-about-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 32px;
}

.home-about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.home-about-list svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.home-about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.home-about-media > img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.home-about-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(15, 74, 147, 0.92);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 10px 18px;
  border-radius: 6px;
  backdrop-filter: blur(2px);
}

/* ===== Stats band (company name + numbers) ===== */
.home-stats-band {
  background: var(--bg-alt);
  padding: 72px 0;
}

.hsb-head {
  text-align: center;
  margin-bottom: 44px;
}

.hsb-head h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.hsb-head span {
  font-size: 1rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.hsb-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.hsb-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 24px;
  text-align: center;
  transition: all var(--transition);
}

.hsb-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.hsb-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hsb-icon svg {
  width: 28px;
  height: 28px;
}

.hsb-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.hsb-num i {
  font-style: normal;
  font-size: 1.6rem;
}

.hsb-label {
  display: block;
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* =========================================================
   Product Center — horizontal carousel
   ========================================================= */
.home-products-track-wrap {
  position: relative;
}

.home-products-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 24px 16px;
  scrollbar-width: none;
}

.home-products-track::-webkit-scrollbar {
  display: none;
}

.home-product-card {
  position: relative;
  flex: 0 0 320px;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  color: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
}

.home-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 50, 0.88) 0%, rgba(15, 74, 147, 0.25) 55%, transparent 100%);
  transition: background var(--transition);
}

.home-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.home-product-card:hover::after {
  background: linear-gradient(to top, rgba(10, 25, 50, 0.92) 0%, rgba(15, 74, 147, 0.55) 60%, rgba(15, 74, 147, 0.2) 100%);
}

.home-product-card .pc-body {
  position: relative;
  z-index: 2;
  padding: 26px;
  width: 100%;
}

.home-product-card .pc-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.home-product-card .pc-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.home-product-card .pc-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
}

.home-product-card:hover .pc-desc {
  max-height: 80px;
  opacity: 1;
  margin-top: 4px;
}

.home-car-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: all var(--transition);
}

.home-car-arrow:hover {
  background: var(--primary);
  color: #fff;
}

.home-car-arrow.prev {
  left: 6px;
}

.home-car-arrow.next {
  right: 6px;
}

/* ===== Product quick-nav floor ===== */
.home-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-quick-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition);
}

.home-quick-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.hq-ico {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hq-text {
  flex: 1;
  min-width: 0;
}

.hq-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.hq-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.hq-en {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.hq-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 4px;
}

.hq-cas {
  font-size: 0.72rem;
  color: var(--primary);
  font-family: 'SF Mono', 'Monaco', 'Consolas', 'Roboto Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== Global market floor ===== */
.home-global-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-global-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
}

.home-global-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.hg-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hg-icon svg {
  width: 32px;
  height: 32px;
}

.home-global-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.home-global-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* =========================================================
   R&D strength — background switcher tabs
   (reference: demandpharma.com bottom section)
   ========================================================= */
.home-rd {
  position: relative;
  padding: 0;
  min-height: 720px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: #fff;
}

.home-rd-bg-wrap,
.home-rd-bg,
.home-rd-overlay {
  position: absolute;
  inset: 0;
}

.home-rd-bg {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease, transform 8s linear;
  transform: scale(1.02);
}

.home-rd-bg.active {
  opacity: 1;
  transform: scale(1);
}

.home-rd-overlay {
  background: linear-gradient(180deg, rgba(10, 25, 50, 0.68) 0%, rgba(10, 25, 50, 0.45) 45%, rgba(10, 25, 50, 0.72) 100%);
  z-index: 1;
}

.home-rd-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 110px 0 50px;
}

.home-rd-head {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.home-rd-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
}

.home-rd-eyebrow {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
}

.home-rd-desc {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
}

.home-rd-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 50px;
  width:1200px; margin:auto;
}

.home-rd-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-lg);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.home-rd-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 74, 147, 0.9) 0%, rgba(15, 74, 147, 0.65) 100%);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.home-rd-tab:hover,
.home-rd-tab.active {
  border-color: rgba(15, 74, 147, 0.8);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 50px rgba(15, 74, 147, 0.45), 0 0 0 1px rgba(15, 74, 147, 0.35);
}

.home-rd-tab:hover::before,
.home-rd-tab.active::before {
  opacity: 1;
  transform: translateY(0);
}

.home-rd-tab::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-light), #fff);
  transition: width 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
}

.home-rd-tab:hover::after,
.home-rd-tab.active::after {
  width: 100%;
}

.tab-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  color: rgba(255, 255, 255, 0.35);
  z-index: 2;
  transform: scale(1) rotate(0deg);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tab-icon svg {
  width: 100%;
  height: 100%;
}

.home-rd-tab:hover .tab-icon,
.home-rd-tab.active .tab-icon {
  color: rgba(255, 255, 255, 0.95);
  transform: scale(1.18) rotate(6deg);
}

.tab-no,
.tab-title,
.tab-en {
  position: relative;
  z-index: 2;
}

.tab-no {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.home-rd-tab:hover .tab-no,
.home-rd-tab.active .tab-no {
  color: rgba(255, 255, 255, 0.95);
}

.tab-title {
  font-size: 1.25rem;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.home-rd-tab:hover .tab-title,
.home-rd-tab.active .tab-title {
  transform: translateY(-2px);
}

.tab-en {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.3s ease;
}

.home-rd-tab:hover .tab-en,
.home-rd-tab.active .tab-en {
  color: rgba(255, 255, 255, 0.95);
}

/* =========================================================
   News floor — simple list layout
   ========================================================= */
.home-news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.home-news-item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.home-news-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.home-news-date {
  flex-shrink: 0;
  width: 84px;
  text-align: center;
  line-height: 1.1;
}

.home-news-date .d-day {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.home-news-date .d-rest {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.home-news-main {
  flex: 1;
  min-width: 0;
}

.home-news-item .n-cat {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: rgba(22, 102, 201, 0.08);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.home-news-item .n-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 6px;
  transition: color var(--transition);
}

.home-news-item:hover .n-title {
  color: var(--primary);
}

.home-news-item .n-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all var(--transition);
}

.home-news-item:hover .home-news-arrow {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateX(4px);
}

/* =========================================================
   Bottom CTA — help block
   ========================================================= */
.home-cta {
  position: relative;
  background-size: cover;
  background-position: center;
}

.home-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(22, 102, 201, 0.95), rgba(15, 74, 147, 0.82));
}

.home-cta-inner {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  color: #fff;
}

.home-cta-head {
  max-width: 560px;
  margin-bottom: 40px;
}

.home-cta-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.home-cta-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.home-cta-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
  margin-bottom: 22px;
}

.home-cta-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cta-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
}

.cta-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.cta-card-ico {
  width: 38px;
  height: 38px;
  color: #fff;
}

.cta-card-ico svg {
  width: 100%;
  height: 100%;
}

.cta-card-dt {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.cta-card-dd {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .home-about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hsb-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-global-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-rd-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-news-date {
    width: 74px;
  }

  .home-cta-cards {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px) {
  .home-hero {
    height: 88vh;
    min-height: 520px;
  }

  .home-hero-title {
    font-size: 2.1rem;
  }

  .home-hero-desc {
    font-size: 1rem;
  }

  .home-hero-arrow {
    display: none;
  }

  .home-hero-scroll {
    display: none;
  }

  .home-title {
    font-size: 1.6rem;
  }

  .hsb-grid,
  .home-quick-grid,
  .home-global-grid,
  .home-cta-cards {
    grid-template-columns: 1fr;
  }

  .home-more {
    padding: 8px 18px;
    font-size: 0.85rem;
  }

  .home-news-list {
    grid-template-columns: 1fr;
  }

  .home-news-arrow {
    display: none;
  }

  .home-news-item {
    gap: 18px;
    padding: 22px 20px;
  }

  .home-news-date {
    width: 62px;
  }

  .home-rd {
    min-height: auto;
  }

  .home-rd-inner {
    min-height: auto;
    padding: 90px 0 40px;
  }

  .home-rd-title {
    font-size: 1.8rem;
  }

  .home-rd-tabs {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .home-rd-tab {
    padding: 22px 20px;
  }

  .home-cta-head {
    margin-bottom: 28px;
  }

  .home-product-card {
    flex-basis: 78%;
  }

  .home-car-arrow {
    display: none;
  }

}

/* ===== Product detail hero (精修：图片小一点 + 内容更精致) ===== */
.pd-hero {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 56px;
  align-items: center;
}

.pd-hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f4f7fb;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.pd-hero-media img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.pd-hero-content {
  position: relative;
}

.pd-hero-content .overline {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.pd-hero-content h2 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 18px;
}

.pd-hero-content .pd-hero-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.9;
  max-width: 560px;
  padding-left: 18px;
  border-left: 3px solid var(--primary);
}

@media (max-width: 1024px) {
  .pd-hero {
    grid-template-columns: 340px 1fr;
    gap: 40px;
  }
  .pd-hero-media img {
    height: 260px;
  }
}

@media (max-width: 768px) {
  .pd-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pd-hero-media img {
    height: 220px;
  }
  .pd-hero-content h2 {
    font-size: 1.6rem;
  }
}
