/* ============================================================
   各页面专属样式
   ============================================================ */

/* ============ 首页 Hero ============ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--bee-black);
  overflow: hidden;
  color: var(--white);
}

/* Hero 背景：蜂巢六边形纹理(纯CSS) */
.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  background-color: var(--bee-black);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 193, 7, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 140, 0, 0.10) 0%, transparent 40%);
}

.hero__pattern::before {
  content: "";
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'><g fill='none' stroke='%23FFC107' stroke-width='1' opacity='0.18'><polygon points='28,2 54,17 54,47 28,62 2,47 2,17'/><polygon points='28,52 54,67 54,97 28,112 2,97 2,67'/></g></svg>");
  background-size: 56px 100px;
  animation: hexFloat 40s linear infinite;
}

@keyframes hexFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-100px); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-7);
  align-items: center;
  width: 100%;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  letter-spacing: 0.3em;
  color: var(--bee-yellow);
  font-size: 1rem;
  margin-bottom: var(--space-4);
}

.hero__eyebrow::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--bee-yellow);
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: var(--space-4);
}

.hero__title em {
  font-style: normal;
  color: var(--bee-yellow);
  position: relative;
}

.hero__desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin-bottom: var(--space-5);
}

.hero__cta {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Hero 右侧产品视觉占位 */
.hero__visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  justify-self: end;
}

.hero__visual .hex-frame {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bee-yellow), var(--bee-honey));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: grid;
  place-items: center;
}

.hero__visual .hex-inner {
  width: 92%;
  height: 92%;
  background: var(--bee-black);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: grid;
  place-items: center;
  font-size: 6rem;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--bee-yellow), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50% { transform: scaleY(1); }
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
}

/* ============ 首页：品牌理念 ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}

.split--reverse .split__media { order: 2; }

.split__media {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-200);
}

.split__media img { width: 100%; height: 100%; object-fit: cover; }

.split__media .badge {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  background: var(--bee-yellow);
  color: var(--bee-black);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  font-weight: 800;
}

.split__content h2 { margin-bottom: var(--space-4); }
.split__content p { margin-bottom: var(--space-3); }

.value-list { margin-top: var(--space-4); }
.value-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: var(--space-3);
  font-weight: 500;
  color: var(--text);
}
.value-list li::before {
  content: "✓";
  color: var(--bee-black);
  background: var(--bee-yellow);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ============ 首页：CTA 横幅 ============ */
.cta-banner {
  position: relative;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(232, 184, 74, 0.22) 0%, transparent 55%),
    linear-gradient(135deg, #0A0A0A 0%, #1A1610 48%, #0F0D0A 100%);
  color: var(--white);
  text-align: center;
  padding: calc(var(--space-8) + 12px) 0;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'><g fill='none' stroke='%23E8B84A' stroke-width='1' opacity='0.07'><polygon points='28,2 54,17 54,47 28,62 2,47 2,17'/><polygon points='28,52 54,67 54,97 28,112 2,97 2,67'/></g></svg>");
  background-size: 56px 100px;
  opacity: 0.9;
}

.cta-banner::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--bee-yellow), transparent);
  transform: translateX(-50%);
}

.cta-banner__inner { position: relative; z-index: 2; }

.cta-banner__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  color: var(--bee-yellow-soft);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: var(--space-3);
  letter-spacing: 0.18em;
  font-weight: 400;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.62);
  max-width: 560px;
  margin: 0 auto var(--space-5);
  font-weight: 400;
  line-height: 1.8;
}

.cta-banner .btn--dark {
  background: var(--bee-yellow);
  color: var(--bee-black);
  border: none;
}

.cta-banner .btn--dark:hover {
  background: #fff;
  color: var(--bee-black);
}

/* ============ 产品详情页 ============ */
.product-hero {
  padding: var(--space-7) 0 var(--space-8);
  background: var(--white);
}

.product-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: start;
}

.product-hero__info .eyebrow {
  margin-bottom: var(--space-2);
}

.product-hero__info h1 {
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-3);
}

.product-gallery__main {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #111;
  border: none;
  margin-bottom: var(--space-3);
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}

.product-gallery__thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #111 center / cover no-repeat;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.72rem;
  color: #fff;
  display: grid;
  place-items: end center;
  padding-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  transition: border-color var(--t-fast);
  position: relative;
}

.product-gallery__thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
  border-color: var(--bee-yellow);
}

.product-info__cat {
  margin-bottom: var(--space-2);
}

.product-info__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}

.product-info__desc {
  font-size: 1.05rem;
  margin-bottom: var(--space-4);
}

.product-features {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.product-features li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 500;
}
.product-features li::before {
  content: "◆";
  color: var(--bee-yellow);
}

.product-info__cta { display: flex; gap: var(--space-3); flex-wrap: wrap; }

@media (max-width: 880px) {
  .product-hero__grid { grid-template-columns: 1fr; }
}

/* 规格表 */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec-table th,
.spec-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: none; }

.spec-table th {
  background: var(--gray-100);
  width: 220px;
  font-weight: 700;
  color: var(--bee-black);
}

.spec-table td { color: var(--text-light); }

/* 应用场景图墙 */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.scenario-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #111;
}

.scenario-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.scenario-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .scenario-grid { grid-template-columns: 1fr 1fr; }
}

/* 相关产品推荐 —— 保持竖构图与首页一致 */
.related .product-card__media { aspect-ratio: 4 / 5; }

/* ============ 内页统一深色页头 ============ */
.page-hero,
.about-hero {
  background: var(--surface-dark);
  color: var(--white);
  padding: clamp(64px, 10vw, 100px) 0 clamp(40px, 6vw, 64px);
  position: relative;
  overflow: hidden;
}

.page-hero__pattern,
.about-hero__pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(232, 184, 74, 0.12) 0%, transparent 55%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'><g fill='none' stroke='%23E8B84A' stroke-width='1' opacity='0.10'><polygon points='28,2 54,17 54,47 28,62 2,47 2,17'/><polygon points='28,52 54,67 54,97 28,112 2,97 2,67'/></g></svg>");
  background-size: auto, 56px 100px;
  pointer-events: none;
}

.page-hero__inner,
.about-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.page-hero h1,
.about-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-3);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.page-hero .section-sub,
.page-hero__sub,
.about-hero .section-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 640px;
  margin-top: var(--space-3);
}

/* eyebrow 深色态已在 base.css .eyebrow--on-dark 统一 */

.page-hero--compact {
  padding: clamp(48px, 8vw, 72px) 0 clamp(32px, 5vw, 48px);
}

.page-hero--compact .page-hero__inner {
  max-width: none;
}

.page-hero .breadcrumb,
.page-hero .breadcrumb--dark {
  background: transparent;
  border: none;
  padding: 0 0 var(--space-4);
  margin: 0;
}

.page-hero .breadcrumb ol {
  padding: 0;
}

.page-hero--left .page-hero__inner {
  max-width: none;
}

/* ============ 关于我们页 ============ */

/* 时间线 */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-6);
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--bee-yellow);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--bee-yellow);
}

.timeline__year {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--bee-honey);
  letter-spacing: 0.05em;
}

.timeline__title {
  font-size: 1.15rem;
  margin: 4px 0 8px;
}

/* 企业文化三栏 */
.culture-grid { gap: var(--space-5); }
.culture-card {
  background: var(--bg-soft);
  border-radius: var(--radius-card);
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-top: 3px solid var(--bee-yellow);
  height: 100%;
  transition: transform var(--t), box-shadow var(--t);
}

.culture-card:hover {
  transform: translateY(var(--hover-lift));
  box-shadow: var(--hover-shadow);
}
.culture-card h3 { margin-bottom: var(--space-2); }
.culture-card .ic { font-size: 2rem; margin-bottom: var(--space-3); }

/* 资质证书网格 */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.cert-item {
  margin: 0;
  aspect-ratio: 3 / 4;
  background: #111;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t-fast), transform var(--t-fast);
}

.cert-item img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  min-height: 0;
}

.cert-item figcaption {
  padding: 12px 10px;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: var(--white);
  border-top: 1px solid var(--border);
}

.cert-item:hover {
  border-color: var(--bee-yellow);
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ 联系我们页 ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-7);
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  align-items: flex-start;
}

.contact-info__icon {
  width: 52px;
  height: 52px;
  background: var(--bee-yellow);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info__item h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info__item p { font-size: 0.95rem; margin: 0; }

.contact-map {
  margin-top: var(--space-6);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  background: var(--surface-dark) url("../img/contact-map.jpg") center / cover no-repeat;
  text-align: center;
  padding: var(--space-4);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}

.contact-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.62) 100%);
  pointer-events: none;
}

.contact-map > * {
  position: relative;
  z-index: 1;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
